diff options
author | Richard Henderson | 2020-02-16 22:42:32 +0100 |
---|---|---|
committer | Peter Maydell | 2020-02-21 17:07:02 +0100 |
commit | e7e96fc5ec8c79dc77fef522d5226ac09f684ba5 (patch) | |
tree | 8acd35fc9cdcdfe1fee540142353d840963b1081 /target/arm/helper-sve.h | |
parent | target/arm: Convert PMULL.64 to gvec (diff) | |
download | qemu-e7e96fc5ec8c79dc77fef522d5226ac09f684ba5.tar.gz qemu-e7e96fc5ec8c79dc77fef522d5226ac09f684ba5.tar.xz qemu-e7e96fc5ec8c79dc77fef522d5226ac09f684ba5.zip |
target/arm: Convert PMULL.8 to gvec
We still need two different helpers, since NEON and SVE2 get the
inputs from different locations within the source vector. However,
we can convert both to the same internal form for computation.
The sve2 helper is not used yet, but adding it with this patch
helps illustrate why the neon changes are helpful.
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200216214232.4230-5-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/helper-sve.h')
-rw-r--r-- | target/arm/helper-sve.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/helper-sve.h b/target/arm/helper-sve.h index 9e79182ab4..2f47279155 100644 --- a/target/arm/helper-sve.h +++ b/target/arm/helper-sve.h @@ -1574,3 +1574,5 @@ DEF_HELPER_FLAGS_6(sve_stdd_le_zd, TCG_CALL_NO_WG, void, env, ptr, ptr, ptr, tl, i32) DEF_HELPER_FLAGS_6(sve_stdd_be_zd, TCG_CALL_NO_WG, void, env, ptr, ptr, ptr, tl, i32) + +DEF_HELPER_FLAGS_4(sve2_pmull_h, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) |