aboutsummaryrefslogtreecommitdiff
path: root/include/tcg
diff options
context:
space:
mode:
authorNazar Kazakov <nazar.kazakov@codethink.co.uk>2023-04-28 15:47:47 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-02 13:05:45 -0700
commit4221aa4a882403fc7d6d22ad6af9a58c8a5badf6 (patch)
tree4ecfe32c9affe83555c1ada467232fd69a367e93 /include/tcg
parent31fe256d32d70c83232c68c6e2d136b533e1dda0 (diff)
downloadqemu-4221aa4a882403fc7d6d22ad6af9a58c8a5badf6.zip
qemu-4221aa4a882403fc7d6d22ad6af9a58c8a5badf6.tar.gz
qemu-4221aa4a882403fc7d6d22ad6af9a58c8a5badf6.tar.bz2
tcg: Add tcg_gen_gvec_andcs
Add tcg expander and helper functions for and-compliment 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.] 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 28cafbc..6d58683 100644
--- a/include/tcg/tcg-op-gvec.h
+++ b/include/tcg/tcg-op-gvec.h
@@ -330,6 +330,8 @@ void tcg_gen_gvec_ori(unsigned vece, uint32_t dofs, uint32_t aofs,
void tcg_gen_gvec_ands(unsigned vece, uint32_t dofs, uint32_t aofs,
TCGv_i64 c, uint32_t oprsz, uint32_t maxsz);
+void tcg_gen_gvec_andcs(unsigned vece, uint32_t dofs, uint32_t aofs,
+ TCGv_i64 c, uint32_t oprsz, uint32_t maxsz);
void tcg_gen_gvec_xors(unsigned vece, uint32_t dofs, uint32_t aofs,
TCGv_i64 c, uint32_t oprsz, uint32_t maxsz);
void tcg_gen_gvec_ors(unsigned vece, uint32_t dofs, uint32_t aofs,