aboutsummaryrefslogtreecommitdiff
path: root/include/tcg
diff options
context:
space:
mode:
authorNazar Kazakov <nazar.kazakov@codethink.co.uk>2023-05-01 21:17:22 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-02 13:05:45 -0700
commitbef317d0c36d66cb44d14a0838d5abe7b26b0344 (patch)
tree4e5d746074d0d5fc04e0d9eaeece3c2d9ab7eeb7 /include/tcg
parent4221aa4a882403fc7d6d22ad6af9a58c8a5badf6 (diff)
downloadqemu-bef317d0c36d66cb44d14a0838d5abe7b26b0344.zip
qemu-bef317d0c36d66cb44d14a0838d5abe7b26b0344.tar.gz
qemu-bef317d0c36d66cb44d14a0838d5abe7b26b0344.tar.bz2
tcg: Add tcg_gen_gvec_rotrs
Add tcg expander and helper functions for rotate right vector with scalar operand. Signed-off-by: Nazar Kazakov <nazar.kazakov@codethink.co.uk> Message-Id: <20230428144757.57530-10-lawrence.hunter@codethink.co.uk> [rth: Split out of larger patch; mask rotation count.] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg')
-rw-r--r--include/tcg/tcg-op-gvec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tcg/tcg-op-gvec.h b/include/tcg/tcg-op-gvec.h
index 6d58683..a8183bf 100644
--- a/include/tcg/tcg-op-gvec.h
+++ b/include/tcg/tcg-op-gvec.h
@@ -371,6 +371,8 @@ void tcg_gen_gvec_sars(unsigned vece, uint32_t dofs, uint32_t aofs,
TCGv_i32 shift, uint32_t oprsz, uint32_t maxsz);
void tcg_gen_gvec_rotls(unsigned vece, uint32_t dofs, uint32_t aofs,
TCGv_i32 shift, uint32_t oprsz, uint32_t maxsz);
+void tcg_gen_gvec_rotrs(unsigned vece, uint32_t dofs, uint32_t aofs,
+ TCGv_i32 shift, uint32_t oprsz, uint32_t maxsz);
/*
* Perform vector shift by vector element, modulo the element size.