]> xenbits.xensource.com Git - qemu-xen.git/commit
tcg: Do not recreate INDEX_op_neg_vec unless supported
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 20 Apr 2019 00:27:24 +0000 (00:27 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 May 2019 21:26:28 +0000 (14:26 -0700)
commitac383dde33405106469d04a78de1d76f1a730cb1
treecd5fe5a476b8d9a0e67a977acbdc98ebcde4e59d
parente1227bb6e59173117f094a6a13b998587b45c928
tcg: Do not recreate INDEX_op_neg_vec unless supported

Use tcg_can_emit_vec_op instead of just TCG_TARGET_HAS_neg_vec,
so that we check the type and vece for the actual operation.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/optimize.c