summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorArd Biesheuvel2018-02-09 11:40:28 +0100
committerPeter Maydell2018-02-09 11:40:28 +0100
commit80d6f4c6bbb718f343a832df8dee15329cc7686c (patch)
tree20dda9d0d9eb45fa549367323d231e13940d0b28 /target/arm/cpu.h
parenttarget/arm: implement SHA-3 instructions (diff)
downloadqemu-80d6f4c6bbb718f343a832df8dee15329cc7686c.tar.gz
qemu-80d6f4c6bbb718f343a832df8dee15329cc7686c.tar.xz
qemu-80d6f4c6bbb718f343a832df8dee15329cc7686c.zip
target/arm: implement SM3 instructions
This implements emulation of the new SM3 instructions that have been added as an optional extension to the ARMv8 Crypto Extensions in ARM v8.2. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Message-id: 20180207111729.15737-4-ard.biesheuvel@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r--target/arm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 86411320aa..f63b6e174a 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -1343,6 +1343,7 @@ enum arm_features {
ARM_FEATURE_SVE, /* has Scalable Vector Extension */
ARM_FEATURE_V8_SHA512, /* implements SHA512 part of v8 Crypto Extensions */
ARM_FEATURE_V8_SHA3, /* implements SHA3 part of v8 Crypto Extensions */
+ ARM_FEATURE_V8_SM3, /* implements SM3 part of v8 Crypto Extensions */
};
static inline int arm_feature(CPUARMState *env, int feature)