target/arm: Enable FEAT_F8F32MM for -cpu max
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260609192110.752384-43-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Richard Henderson committed
Jun 9, 2026 at 12:21 UTC
97f97d15c756914152b7bff8ae7d5546f4df6ae9
3 files changed
+3
docs/system/arm/emulation.rst
+1
@@ -67,6 +67,7 @@ the following architecture extensions:
67
- FEAT_EPAC (Enhanced pointer authentication)
68
- FEAT_ETS2 (Enhanced Translation Synchronization)
69
- FEAT_EVT (Enhanced Virtualization Traps)
70
+- FEAT_F8F32MM (8-bit floating-point matrix multiply-accumulate to single-precision)
71
- FEAT_F32MM (Single-precision Matrix Multiplication)
72
- FEAT_F64MM (Double-precision Matrix Multiplication)
73
- FEAT_FAMINMAX (Floating-point maximum and minimum absolute value instructions)
linux-user/aarch64/elfload.c
+1
@@ -171,6 +171,7 @@ abi_ulong get_elf_hwcap(CPUState *cs)
171
GET_FEATURE_ID(aa64_rcpc_8_4, ARM_HWCAP_A64_ILRCPC);
172
GET_FEATURE_ID(aa64_gcs, ARM_HWCAP_A64_GCS);
173
GET_FEATURE_ID(aa64_cmpbr, ARM_HWCAP_A64_CMPBR);
174
+ GET_FEATURE_ID(aa64_f8mm8, ARM_HWCAP_A64_F8MM8);
175
176
return hwcaps;
177
}
target/arm/tcg/cpu64.c
+1
@@ -1404,6 +1404,7 @@ void aarch64_max_tcg_initfn(Object *obj)
1404
t = GET_IDREG(isar, ID_AA64FPFR0);
1405
t = FIELD_DP64(t, ID_AA64FPFR0, F8E5M2, 1); /* FEAT_FP8 */
1406
t = FIELD_DP64(t, ID_AA64FPFR0, F8E4M3, 1); /* FEAT_FP8 */
1407
+ t = FIELD_DP64(t, ID_AA64FPFR0, F8MM8, 1); /* FEAT_F8F32MM */
1408
t = FIELD_DP64(t, ID_AA64FPFR0, F8DP2, 1); /* FEAT_FP8DOT2 */
1409
t = FIELD_DP64(t, ID_AA64FPFR0, F8DP4, 1); /* FEAT_FP8DOT4 */
1410
t = FIELD_DP64(t, ID_AA64FPFR0, F8FMA, 1); /* FEAT_FP8FMA */