summary refs log tree commit diff stats
path: root/target/arm/cpu-features.h
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2025-07-01 15:08:27 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-07-01 15:08:27 +0100
commit29279773649a4757b2d7d9eddf98685068e11154 (patch)
tree7c844e9f72bab1aaafa3ec825d2309ddb1aa39ea /target/arm/cpu-features.h
parentdef3f1c1026af66d5672f10b3e6cbb87e4e20f73 (diff)
downloadfocaccia-qemu-29279773649a4757b2d7d9eddf98685068e11154.tar.gz
focaccia-qemu-29279773649a4757b2d7d9eddf98685068e11154.zip
arm/cpu: Store aa64smfr0 into the idregs array
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Sebastian Ott <sebott@redhat.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-id: 20250617153931.1330449-8-cohuck@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu-features.h')
-rw-r--r--target/arm/cpu-features.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/arm/cpu-features.h b/target/arm/cpu-features.h
index 9517e8a74c..051ed7b884 100644
--- a/target/arm/cpu-features.h
+++ b/target/arm/cpu-features.h
@@ -979,17 +979,17 @@ static inline bool isar_feature_aa64_sve_f64mm(const ARMISARegisters *id)
 
 static inline bool isar_feature_aa64_sme_f64f64(const ARMISARegisters *id)
 {
-    return FIELD_EX64(id->id_aa64smfr0, ID_AA64SMFR0, F64F64);
+    return FIELD_EX64_IDREG(id, ID_AA64SMFR0, F64F64);
 }
 
 static inline bool isar_feature_aa64_sme_i16i64(const ARMISARegisters *id)
 {
-    return FIELD_EX64(id->id_aa64smfr0, ID_AA64SMFR0, I16I64) == 0xf;
+    return FIELD_EX64_IDREG(id, ID_AA64SMFR0, I16I64) == 0xf;
 }
 
 static inline bool isar_feature_aa64_sme_fa64(const ARMISARegisters *id)
 {
-    return FIELD_EX64(id->id_aa64smfr0, ID_AA64SMFR0, FA64);
+    return FIELD_EX64_IDREG(id, ID_AA64SMFR0, FA64);
 }
 
 /*