diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-02-11 16:31:38 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-02-12 14:58:36 -0800 |
commit | 2445971604c1cfd3ec484457159f4ac300fb04d2 (patch) | |
tree | 3e03908a2614017605e0ae179ada5dd51eb1d395 /include/tcg | |
parent | e6cadf49c3d191f6984e56ec3bbeb0b103ca5bc2 (diff) | |
download | qemu-2445971604c1cfd3ec484457159f4ac300fb04d2.zip qemu-2445971604c1cfd3ec484457159f4ac300fb04d2.tar.gz qemu-2445971604c1cfd3ec484457159f4ac300fb04d2.tar.bz2 |
tcg: Add tcg_gen_gvec_5_ptr
Extend the vector generator infrastructure to handle
5 vector arguments.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg')
-rw-r--r-- | include/tcg/tcg-op-gvec.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/tcg/tcg-op-gvec.h b/include/tcg/tcg-op-gvec.h index 830d68f..74534e2 100644 --- a/include/tcg/tcg-op-gvec.h +++ b/include/tcg/tcg-op-gvec.h @@ -83,6 +83,13 @@ void tcg_gen_gvec_4_ptr(uint32_t dofs, uint32_t aofs, uint32_t bofs, uint32_t maxsz, int32_t data, gen_helper_gvec_4_ptr *fn); +typedef void gen_helper_gvec_5_ptr(TCGv_ptr, TCGv_ptr, TCGv_ptr, TCGv_ptr, + TCGv_ptr, TCGv_ptr, TCGv_i32); +void tcg_gen_gvec_5_ptr(uint32_t dofs, uint32_t aofs, uint32_t bofs, + uint32_t cofs, uint32_t eofs, TCGv_ptr ptr, + uint32_t oprsz, uint32_t maxsz, int32_t data, + gen_helper_gvec_5_ptr *fn); + /* Expand a gvec operation. Either inline or out-of-line depending on the actual vector size and the operations supported by the host. */ typedef struct { |