mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:17 +00:00
target/arm: Enable FEAT_SME_MOP4 for -cpu max
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260702204314.79224-16-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
48d9d26fbc
commit
82d7e57204
@@ -175,6 +175,7 @@ the following architecture extensions:
|
||||
- FEAT_SME_F8F32 (SME2 ZA-targeting FP8 multiply-accumulate, dot product, and outer product to single-precision instructions)
|
||||
- FEAT_SME_I16I64 (16-bit to 64-bit integer widening outer product instructions)
|
||||
- FEAT_SME_LUTv2 (Lookup table instructions with 4-bit indices and 8-bit elements)
|
||||
- FEAT_SME_MOP4 (Quarter-tile outer product instructions)
|
||||
- FEAT_SSVE_AES (Streaming SVE Mode Advanced Encryption Standard and 128-bit polynomial multiply long instructions)
|
||||
- FEAT_SSVE_FEXPA (Streaming FEXPA instruction)
|
||||
- FEAT_SSVE_FP8DOT2 (SVE2 FP8 2-way dot product to half-precision instructions in Streaming SVE mode)
|
||||
|
||||
@@ -176,6 +176,7 @@ abi_ulong get_elf_hwcap(CPUState *cs)
|
||||
GET_FEATURE_ID(aa64_ssve_aes, ARM_HWCAP_A64_SME_AES);
|
||||
GET_FEATURE_ID(aa64_ssve_fexpa, ARM_HWCAP_A64_SME_SFEXPA);
|
||||
GET_FEATURE_ID(aa64_fprcvt, ARM_HWCAP_A64_FPRCVT);
|
||||
GET_FEATURE_ID(aa64_sme_mop4, ARM_HWCAP_A64_SME_SMOP4);
|
||||
|
||||
return hwcaps;
|
||||
}
|
||||
|
||||
@@ -1385,6 +1385,7 @@ void aarch64_max_tcg_initfn(Object *obj)
|
||||
|
||||
t = GET_IDREG(isar, ID_AA64SMFR0);
|
||||
t = FIELD_DP64(t, ID_AA64SMFR0, SFEXPA, 1); /* FEAT_SSVE_FEXPA */
|
||||
t = FIELD_DP64(t, ID_AA64SMFR0, SMOP4, 1); /* FEAT_SME_MOP4 */
|
||||
t = FIELD_DP64(t, ID_AA64SMFR0, AES, 1); /* FEAT_SSVE_AES */
|
||||
t = FIELD_DP64(t, ID_AA64SMFR0, SF8DP2, 1); /* FEAT_SSVE_FP8DOT2 */
|
||||
t = FIELD_DP64(t, ID_AA64SMFR0, SF8DP4, 1); /* FEAT_SSVE_FP8DOT4 */
|
||||
|
||||
Reference in New Issue
Block a user