diff options
author | Richard Henderson | 2020-04-20 17:22:44 +0200 |
---|---|---|
committer | Richard Henderson | 2020-06-02 17:42:37 +0200 |
commit | 23850a74afb641102325b4b7f74071d929fc4594 (patch) | |
tree | eb46a0b212d8b2b74220bf427a8af78feb884c60 /tcg/ppc | |
parent | tcg: Remove expansion to shift by vector from do_shifts (diff) | |
download | qemu-23850a74afb641102325b4b7f74071d929fc4594.tar.gz qemu-23850a74afb641102325b4b7f74071d929fc4594.tar.xz qemu-23850a74afb641102325b4b7f74071d929fc4594.zip |
tcg: Implement gvec support for rotate by scalar
No host backend support yet, but the interfaces for rotls
are in place. Only implement left-rotate for now, as the
only known use of vector rotate by scalar is s390x, so any
right-rotate would be unused and untestable.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/ppc')
-rw-r--r-- | tcg/ppc/tcg-target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index 7993422526..4a17aebc5a 100644 --- a/tcg/ppc/tcg-target.h +++ b/tcg/ppc/tcg-target.h @@ -162,6 +162,7 @@ extern bool have_vsx; #define TCG_TARGET_HAS_neg_vec have_isa_3_00 #define TCG_TARGET_HAS_abs_vec 0 #define TCG_TARGET_HAS_roti_vec 0 +#define TCG_TARGET_HAS_rots_vec 0 #define TCG_TARGET_HAS_rotv_vec 0 #define TCG_TARGET_HAS_shi_vec 0 #define TCG_TARGET_HAS_shs_vec 0 |