target/arm: Enable FEAT_SME_F8F32 for -cpu max
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260618041517.573469-11-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Richard Henderson committed
Jun 17, 2026 at 21:15 UTC
69f3323ef52a97c0a47e0970feaad0a97639a627
3 files changed
+3
docs/system/arm/emulation.rst
+1
@@ -169,6 +169,7 @@ the following architecture extensions:
169
- FEAT_SME_FA64 (Full A64 instruction set in Streaming SVE mode)
170
- FEAT_SME_F16F16 (Non-widening half-precision FP16 arithmetic for SME2)
171
- FEAT_SME_F64F64 (Double-precision floating-point outer product instructions)
172
+- FEAT_SME_F8F32 (SME2 ZA-targeting FP8 multiply-accumulate, dot product, and outer product to single-precision instructions)
173
- FEAT_SME_I16I64 (16-bit to 64-bit integer widening outer product instructions)
174
- FEAT_SME_LUTv2 (Lookup table instructions with 4-bit indices and 8-bit elements)
175
- FEAT_SSVE_AES (Streaming SVE Mode Advanced Encryption Standard and 128-bit polynomial multiply long instructions)
linux-user/aarch64/elfload.c
+1
@@ -235,6 +235,7 @@ abi_ulong get_elf_hwcap2(CPUState *cs)
235
GET_FEATURE_ID(aa64_ssve_f8fma, ARM_HWCAP2_A64_SME_SF8FMA);
236
GET_FEATURE_ID(aa64_ssve_f8dp4, ARM_HWCAP2_A64_SME_SF8DP4);
237
GET_FEATURE_ID(aa64_ssve_f8dp2, ARM_HWCAP2_A64_SME_SF8DP2);
238
+ GET_FEATURE_ID(aa64_sme_f8f32, ARM_HWCAP2_A64_SME_F8F32);
239
240
return hwcaps;
241
}
target/arm/tcg/cpu64.c
+1
@@ -1392,6 +1392,7 @@ void aarch64_max_tcg_initfn(Object *obj)
1392
t = FIELD_DP64(t, ID_AA64SMFR0, B16F32, 1); /* FEAT_SME */
1393
t = FIELD_DP64(t, ID_AA64SMFR0, F16F32, 1); /* FEAT_SME */
1394
t = FIELD_DP64(t, ID_AA64SMFR0, I8I32, 0xf); /* FEAT_SME */
1395
+ t = FIELD_DP64(t, ID_AA64SMFR0, F8F32, 1); /* FEAT_SME_F8F32 */
1396
t = FIELD_DP64(t, ID_AA64SMFR0, F16F16, 1); /* FEAT_SME_F16F16 */
1397
t = FIELD_DP64(t, ID_AA64SMFR0, B16B16, 1); /* FEAT_SME_B16B16 */
1398
t = FIELD_DP64(t, ID_AA64SMFR0, I16I32, 5); /* FEAT_SME2 */