[committed 3/5] aarch64: Fix sme2p3 and f16f32dot feature dependencies
Alice Carlotti
alice.carlotti@arm.com
Sat Jan 24 07:24:11 GMT 2026
These are changed to match the dependencies we agreed with LLVM.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index dd2652f4ff1011c2f1cdbe6c51b3feca5c9c70a4..b56535755b143b9de48e1819c5ead006cb1b6d91 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -11036,8 +11036,8 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
{"mops-go", AARCH64_FEATURE (MOPS_GO),
AARCH64_FEATURES (2, MOPS, MEMTAG)},
{"sve2p3", AARCH64_FEATURE (SVE2p3), AARCH64_FEATURE (SVE2p2)},
- {"sme2p3", AARCH64_FEATURE (SME2p3), AARCH64_FEATURES (2, SME2p2, SME_LUTv2)},
- {"f16f32dot", AARCH64_FEATURE (F16F32DOT), AARCH64_FEATURE (SIMD)},
+ {"sme2p3", AARCH64_FEATURE (SME2p3), AARCH64_FEATURE (SME2p2)},
+ {"f16f32dot", AARCH64_FEATURE (F16F32DOT), AARCH64_FEATURES (2, SIMD, F16)},
{"f16f32mm", AARCH64_FEATURE (F16F32MM), AARCH64_FEATURES (2, SIMD, F16)},
{"f16mm", AARCH64_FEATURE (F16MM), AARCH64_FEATURES (2, SIMD, F16)},
{"sve-b16mm", AARCH64_FEATURE (SVE_B16MM), AARCH64_FEATURE (SVE)},
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 7d379e92b8816a2e6c259cd7e35a387b25976daf..8acf8c56dc63b5c57574418b98ddea2cfaa206a7 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -224,7 +224,7 @@ automatically cause those extensions to be disabled.
@tab Enable Armv8.2 16-bit floating-point multiplication variant support.
@item @code{fp16} @tab @code{fp}
@tab Enable Armv8.2 16-bit floating-point support.
-@item @code{f16f32dot} @tab @code{simd}
+@item @code{f16f32dot} @tab @code{simd}, @code{fp16}
@tab Enable Armv9.7 f16f32dot instructions.
@item @code{f16f32mm} @tab @code{simd}, @code{fp16}
@tab Enable Armv9.7 f16f32mm instructions.
More information about the Binutils
mailing list