summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorRémi Denis-Courmont2021-01-08 10:08:16 +0100
committerPeter Maydell2021-01-12 11:03:04 +0100
commitc36c65ea3c35b309d524c05a1c05fdeabf83ddd5 (patch)
tree5bf1638946f5fac7c30bd0d90a129c7883ba71c4 /target/arm/cpu.h
parentMerge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2021-01-1... (diff)
downloadqemu-c36c65ea3c35b309d524c05a1c05fdeabf83ddd5.tar.gz
qemu-c36c65ea3c35b309d524c05a1c05fdeabf83ddd5.tar.xz
qemu-c36c65ea3c35b309d524c05a1c05fdeabf83ddd5.zip
target/arm: ARMv8.4-TTST extension
This adds for the Small Translation tables extension in AArch64 state. Signed-off-by: Rémi Denis-Courmont <remi.denis.courmont@huawei.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r--target/arm/cpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 7e6c881a7e..ad37ff61c6 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -3936,6 +3936,11 @@ static inline bool isar_feature_aa64_uao(const ARMISARegisters *id)
return FIELD_EX64(id->id_aa64mmfr2, ID_AA64MMFR2, UAO) != 0;
}
+static inline bool isar_feature_aa64_st(const ARMISARegisters *id)
+{
+ return FIELD_EX64(id->id_aa64mmfr2, ID_AA64MMFR2, ST) != 0;
+}
+
static inline bool isar_feature_aa64_bti(const ARMISARegisters *id)
{
return FIELD_EX64(id->id_aa64pfr1, ID_AA64PFR1, BT) != 0;