diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-12-17 18:01:47 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-01-28 07:03:34 -0800 |
commit | 8afaf0506606f8003ef696df849c5a98637a7a83 (patch) | |
tree | 89779034a934a38716364a0a8d04e8ab66c584c0 /tcg/tcg.c | |
parent | 5d6acdd4a485f15b1081acc523b99c1f1a7c42ab (diff) | |
download | qemu-8afaf0506606f8003ef696df849c5a98637a7a83.zip |
tcg: Add opcodes for vector saturated arithmetic
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r-- | tcg/tcg.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1607,6 +1607,11 @@ bool tcg_op_supported(TCGOpcode op) case INDEX_op_shrv_vec: case INDEX_op_sarv_vec: return have_vec && TCG_TARGET_HAS_shv_vec; + case INDEX_op_ssadd_vec: + case INDEX_op_usadd_vec: + case INDEX_op_sssub_vec: + case INDEX_op_ussub_vec: + return have_vec && TCG_TARGET_HAS_sat_vec; default: tcg_debug_assert(op > INDEX_op_last_generic && op < NB_OPS); |