diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-12-17 19:00:41 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-01-28 07:03:34 -0800 |
commit | 8ffafbcec275e61f6a1a17ac1d0bd918d5b23db3 (patch) | |
tree | 051b3914fdfc59e0e8f404fdeea2b42eb25e4dae /tcg/i386/tcg-target.h | |
parent | 44f1441dbe14e7174a707d7e7ecbc2c8e080bfda (diff) | |
download | qemu-8ffafbcec275e61f6a1a17ac1d0bd918d5b23db3.zip qemu-8ffafbcec275e61f6a1a17ac1d0bd918d5b23db3.tar.gz qemu-8ffafbcec275e61f6a1a17ac1d0bd918d5b23db3.tar.bz2 |
tcg/i386: Implement vector saturating arithmetic
Only MO_8 and MO_16 are implemented, since that's all the
instruction set provides.
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 7bd7eae..efbd5a6 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -185,7 +185,7 @@ extern bool have_avx2; #define TCG_TARGET_HAS_shv_vec 0 #define TCG_TARGET_HAS_cmp_vec 1 #define TCG_TARGET_HAS_mul_vec 1 -#define TCG_TARGET_HAS_sat_vec 0 +#define TCG_TARGET_HAS_sat_vec 1 #define TCG_TARGET_HAS_minmax_vec 0 #define TCG_TARGET_deposit_i32_valid(ofs, len) \ |