summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorJulia Suvorova2018-06-22 14:28:41 +0200
committerPeter Maydell2018-06-22 14:28:41 +0200
commitcc2ae7c9de14efd72c6205825eb7cd980ac09c11 (patch)
tree9877c84c79f2091a0a962c638bdb8499b666b666 /target/arm/cpu.h
parenthw/arm/mps2-tz.c: Instantiate MPCs (diff)
downloadqemu-cc2ae7c9de14efd72c6205825eb7cd980ac09c11.tar.gz
qemu-cc2ae7c9de14efd72c6205825eb7cd980ac09c11.tar.xz
qemu-cc2ae7c9de14efd72c6205825eb7cd980ac09c11.zip
target/arm: Introduce ARM_FEATURE_M_MAIN
This feature is intended to distinguish ARMv8-M variants: Baseline and Mainline. ARMv7-M compatibility requires the Main Extension. ARMv6-M compatibility is provided by all ARMv8-M implementations. Signed-off-by: Julia Suvorova <jusual@mail.ru> Message-id: 20180622080138.17702-2-jusual@mail.ru 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 8488273c5b..a4507a2d6f 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -1482,6 +1482,7 @@ enum arm_features {
ARM_FEATURE_V8_RDM, /* implements v8.1 simd round multiply */
ARM_FEATURE_V8_FP16, /* implements v8.2 half-precision float */
ARM_FEATURE_V8_FCMA, /* has complex number part of v8.3 extensions. */
+ ARM_FEATURE_M_MAIN, /* M profile Main Extension */
};
static inline int arm_feature(CPUARMState *env, int feature)