aboutsummaryrefslogtreecommitdiff
path: root/tcg/aarch64/tcg-target.opc.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-04-20 04:03:09 +0000
committerRichard Henderson <richard.henderson@linaro.org>2020-06-02 08:42:37 -0700
commit7cff8988fade36f20659aad80f2f763ff054ef48 (patch)
treee33d4d39b4af880915fcf6911d264e79082aaf83 /tcg/aarch64/tcg-target.opc.h
parent885b1706df6f0211a22e120fac910fb3abf3e733 (diff)
tcg/aarch64: Implement INDEX_op_rotl{i,v}_vec
For immediate rotate , we can implement this in two instructions, using SLI. For variable rotate, the oddness of aarch64 right-shift- as-negative-left-shift means a backend-specific expansion works best. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/aarch64/tcg-target.opc.h')
-rw-r--r--tcg/aarch64/tcg-target.opc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/aarch64/tcg-target.opc.h b/tcg/aarch64/tcg-target.opc.h
index 26bfd9c460..bce30accd9 100644
--- a/tcg/aarch64/tcg-target.opc.h
+++ b/tcg/aarch64/tcg-target.opc.h
@@ -12,3 +12,4 @@
*/
DEF(aa64_sshl_vec, 1, 2, 0, IMPLVEC)
+DEF(aa64_sli_vec, 1, 2, 1, IMPLVEC)