diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-04-19 10:13:33 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-22 15:09:43 -0400 |
commit | 904c5e19672778cc3349f4975437cfdf3371abb6 (patch) | |
tree | 53f00e0e9c424a9aced2c136997809f595b5d17c /tcg/i386/tcg-target.h | |
parent | 25c012b4009256505be3430480954a0233de343e (diff) | |
download | qemu-904c5e19672778cc3349f4975437cfdf3371abb6.zip qemu-904c5e19672778cc3349f4975437cfdf3371abb6.tar.gz qemu-904c5e19672778cc3349f4975437cfdf3371abb6.tar.bz2 |
tcg/i386: Support vector comparison select value
We already had backend support for this feature. Expand the new
cmpsel opcode using vpblendb. The combination allows us to avoid
an extra NOT for some comparison codes.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/i386/tcg-target.h')
-rw-r--r-- | tcg/i386/tcg-target.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 16a83a7..928e8b8 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -191,7 +191,7 @@ extern bool have_avx2; #define TCG_TARGET_HAS_sat_vec 1 #define TCG_TARGET_HAS_minmax_vec 1 #define TCG_TARGET_HAS_bitsel_vec 0 -#define TCG_TARGET_HAS_cmpsel_vec 0 +#define TCG_TARGET_HAS_cmpsel_vec -1 #define TCG_TARGET_deposit_i32_valid(ofs, len) \ (((ofs) == 0 && (len) == 8) || ((ofs) == 8 && (len) == 8) || \ |