summaryrefslogtreecommitdiffstats
path: root/tcg/i386/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2018-12-18 05:17:56 +0100
committerRichard Henderson2019-01-28 16:03:34 +0100
commitbc37faf4cb2baa77c44298c01558970b88d32808 (patch)
treefe806aa70ad039277ced22855fe70f45084597c3 /tcg/i386/tcg-target.h
parenttcg/i386: Implement vector saturating arithmetic (diff)
downloadqemu-bc37faf4cb2baa77c44298c01558970b88d32808.tar.gz
qemu-bc37faf4cb2baa77c44298c01558970b88d32808.tar.xz
qemu-bc37faf4cb2baa77c44298c01558970b88d32808.zip
tcg/i386: Implement vector minmax arithmetic
The avx instruction set does not directly provide MO_64. We can still implement 64-bit with comparison and vpblendvb. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/i386/tcg-target.h')
-rw-r--r--tcg/i386/tcg-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h
index efbd5a6fc9..7995fe3eab 100644
--- a/tcg/i386/tcg-target.h
+++ b/tcg/i386/tcg-target.h
@@ -186,7 +186,7 @@ extern bool have_avx2;
#define TCG_TARGET_HAS_cmp_vec 1
#define TCG_TARGET_HAS_mul_vec 1
#define TCG_TARGET_HAS_sat_vec 1
-#define TCG_TARGET_HAS_minmax_vec 0
+#define TCG_TARGET_HAS_minmax_vec 1
#define TCG_TARGET_deposit_i32_valid(ofs, len) \
(((ofs) == 0 && (len) == 8) || ((ofs) == 8 && (len) == 8) || \