[binutils-gdb] aarch64: Fix sme2p3 and f16f32dot feature dependencies
Alice Carlotti
acarlotti@sourceware.org
Sat Jan 24 07:18:19 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ec68fb7df99734f1791083f958215f02275a1487
commit ec68fb7df99734f1791083f958215f02275a1487
Author: Alice Carlotti <alice.carlotti@arm.com>
Date: Sat Jan 24 02:42:16 2026 +0000
aarch64: Fix sme2p3 and f16f32dot feature dependencies
These are changed to match the dependencies we agreed with LLVM.
Diff:
---
gas/config/tc-aarch64.c | 4 ++--
gas/doc/c-aarch64.texi | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index dd2652f4ff1..b56535755b1 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 7d379e92b88..8acf8c56dc6 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-cvs
mailing list