[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 54/55] target/arm: Add isar_feature_aa64_sme
From: |
Peter Maydell |
Subject: |
[PULL 54/55] target/arm: Add isar_feature_aa64_sme |
Date: |
Thu, 9 Jun 2022 10:05:36 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
This will be used for implementing FEAT_SME.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220607203306.657998-20-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target/arm/cpu.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index e45b5cb7fe1..2e6153c5409 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -4048,6 +4048,11 @@ static inline bool isar_feature_aa64_mte(const
ARMISARegisters *id)
return FIELD_EX64(id->id_aa64pfr1, ID_AA64PFR1, MTE) >= 2;
}
+static inline bool isar_feature_aa64_sme(const ARMISARegisters *id)
+{
+ return FIELD_EX64(id->id_aa64pfr1, ID_AA64PFR1, SME) != 0;
+}
+
static inline bool isar_feature_aa64_pmu_8_1(const ARMISARegisters *id)
{
return FIELD_EX64(id->id_aa64dfr0, ID_AA64DFR0, PMUVER) >= 4 &&
--
2.25.1
- [PULL 33/55] target/arm: Move arm_cpu_get_phys_page_attrs_debug to ptw.c, (continued)
- [PULL 33/55] target/arm: Move arm_cpu_get_phys_page_attrs_debug to ptw.c, Peter Maydell, 2022/06/09
- [PULL 26/55] target/arm: Move get_S1prot, get_S2prot to ptw.c, Peter Maydell, 2022/06/09
- [PULL 43/55] target/arm: Hoist arm_is_el2_enabled check in sve_exception_el, Peter Maydell, 2022/06/09
- [PULL 42/55] target/arm: Use el_is_in_host for sve_exception_el, Peter Maydell, 2022/06/09
- [PULL 44/55] target/arm: Do not use aarch64_sve_zcr_get_valid_len in reset, Peter Maydell, 2022/06/09
- [PULL 46/55] target/arm: Use uint32_t instead of bitmap for sve vq's, Peter Maydell, 2022/06/09
- [PULL 49/55] target/arm: Export sve contiguous ldst support functions, Peter Maydell, 2022/06/09
- [PULL 51/55] target/arm: Use expand_pred_b in mve_helper.c, Peter Maydell, 2022/06/09
- [PULL 53/55] target/arm: Export bfdotadd from vec_helper.c, Peter Maydell, 2022/06/09
- [PULL 55/55] target/arm: Add ID_AA64SMFR0_EL1, Peter Maydell, 2022/06/09
- [PULL 54/55] target/arm: Add isar_feature_aa64_sme,
Peter Maydell <=
- [PULL 39/55] target/arm: Remove fp checks from sve_exception_el, Peter Maydell, 2022/06/09
- [PULL 45/55] target/arm: Merge aarch64_sve_zcr_get_valid_len into caller, Peter Maydell, 2022/06/09
- [PULL 47/55] target/arm: Rename sve_zcr_len_for_el to sve_vqm1_for_el, Peter Maydell, 2022/06/09
- [PULL 48/55] target/arm: Split out load/store primitives to sve_ldst_internal.h, Peter Maydell, 2022/06/09
- [PULL 52/55] target/arm: Move expand_pred_h to vec_internal.h, Peter Maydell, 2022/06/09
- [PULL 40/55] target/arm: Add el_is_in_host, Peter Maydell, 2022/06/09
- [PULL 37/55] linux-user/aarch64: Introduce sve_vq, Peter Maydell, 2022/06/09
- [PULL 50/55] target/arm: Move expand_pred_b to vec_internal.h, Peter Maydell, 2022/06/09
- Re: [PULL 00/55] target-arm queue, Richard Henderson, 2022/06/09