diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-06-09 15:43:23 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-06-09 16:06:11 +0100 |
commit | 4e624edaebec9312be7b63096bbe5b2fe76f3613 (patch) | |
tree | 46f663737544db98997baf773922c5dc4387e9fe /target-arm/helper.h | |
parent | 526d0096e56e82ffa5edb15bd75c5c093e61fa59 (diff) | |
download | hqemu-4e624edaebec9312be7b63096bbe5b2fe76f3613.zip hqemu-4e624edaebec9312be7b63096bbe5b2fe76f3613.tar.gz |
target-arm: add support for v8 VMULL.P64 instruction
Add support for the VMULL.P64 polynomial 64x64 to 128 bit multiplication
instruction in the A32/T32 instruction sets; this is part of the v8
Crypto Extensions.
To do this we have to move the neon_pmull_64_{lo,hi} helpers from
helper-a64.c into neon_helper.c so they can be used by the AArch32
translator.
Inspired-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1401386724-26529-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm/helper.h')
-rw-r--r-- | target-arm/helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-arm/helper.h b/target-arm/helper.h index 113b09d..0ef8fca 100644 --- a/target-arm/helper.h +++ b/target-arm/helper.h @@ -525,6 +525,9 @@ DEF_HELPER_FLAGS_3(crc32, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32) DEF_HELPER_FLAGS_3(crc32c, TCG_CALL_NO_RWG_SE, i32, i32, i32, i32) DEF_HELPER_2(dc_zva, void, env, i64) +DEF_HELPER_FLAGS_2(neon_pmull_64_lo, TCG_CALL_NO_RWG_SE, i64, i64, i64) +DEF_HELPER_FLAGS_2(neon_pmull_64_hi, TCG_CALL_NO_RWG_SE, i64, i64, i64) + #ifdef TARGET_AARCH64 #include "helper-a64.h" #endif |