aboutsummaryrefslogtreecommitdiff
path: root/tcg/i386/tcg-target.opc.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-12-18 10:48:43 -0800
committerRichard Henderson <richard.henderson@linaro.org>2022-03-04 08:50:41 -1000
commit965d5d0681a99540bf19f313a66ecb14cee2654a (patch)
treef8191543d3411c2d1c6adc686e065b1d5372143d /tcg/i386/tcg-target.opc.h
parent102cd35c01ddb4ed434becb323d54f07e9c3158b (diff)
downloadqemu-965d5d0681a99540bf19f313a66ecb14cee2654a.zip
qemu-965d5d0681a99540bf19f313a66ecb14cee2654a.tar.gz
qemu-965d5d0681a99540bf19f313a66ecb14cee2654a.tar.bz2
tcg/i386: Support avx512vbmi2 vector shift-double instructions
We will use VPSHLD, VPSHLDV and VPSHRDV for 16-bit rotates. Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/i386/tcg-target.opc.h')
-rw-r--r--tcg/i386/tcg-target.opc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/i386/tcg-target.opc.h b/tcg/i386/tcg-target.opc.h
index 1312941..b5f403e 100644
--- a/tcg/i386/tcg-target.opc.h
+++ b/tcg/i386/tcg-target.opc.h
@@ -33,3 +33,6 @@ DEF(x86_psrldq_vec, 1, 1, 1, IMPLVEC)
DEF(x86_vperm2i128_vec, 1, 2, 1, IMPLVEC)
DEF(x86_punpckl_vec, 1, 2, 0, IMPLVEC)
DEF(x86_punpckh_vec, 1, 2, 0, IMPLVEC)
+DEF(x86_vpshldi_vec, 1, 2, 1, IMPLVEC)
+DEF(x86_vpshldv_vec, 1, 3, 0, IMPLVEC)
+DEF(x86_vpshrdv_vec, 1, 3, 0, IMPLVEC)