From 5d0ceda902915e3f0e21c39d142c92c4e97c3ebb Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 19 Apr 2020 19:47:59 -0700 Subject: tcg: Implement gvec support for rotate by vector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No host backend support yet, but the interfaces for rotlv and rotrv are in place. Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- v3: Drop the generic expansion from rot to shift; we can do better for each backend, and then this code becomes unused. --- tcg/ppc/tcg-target.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcg/ppc') diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index e57b891..7993422 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_rotv_vec 0 #define TCG_TARGET_HAS_shi_vec 0 #define TCG_TARGET_HAS_shs_vec 0 #define TCG_TARGET_HAS_shv_vec 1 -- cgit v1.1