aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2024-01-12 01:41:26 +0000
committerNick Clifton <nickc@redhat.com>2024-01-12 13:46:35 +0000
commitc7c16ea5aed733477e6a7a32a1181b20bd4c42f5 (patch)
treeaecf8f899bdb53b31f9e48a7a4d66fa2b0984e46
parent79f1989e98bf1d47502dc133df639eddc6f640dd (diff)
downloadgdb-c7c16ea5aed733477e6a7a32a1181b20bd4c42f5.zip
gdb-c7c16ea5aed733477e6a7a32a1181b20bd4c42f5.tar.gz
gdb-c7c16ea5aed733477e6a7a32a1181b20bd4c42f5.tar.bz2
aarch64: Add +fcma alias for +compnum
-rw-r--r--gas/config/tc-aarch64.c2
-rw-r--r--gas/testsuite/gas/aarch64/advsimd-compnum.d1
2 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 94b35ec..6b11c4e 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10279,6 +10279,8 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
{"profile", AARCH64_FEATURE (PROFILE), AARCH64_NO_FEATURES},
{"sve", AARCH64_FEATURE (SVE), AARCH64_FEATURE (COMPNUM)},
{"tme", AARCH64_FEATURE (TME), AARCH64_NO_FEATURES},
+ {"fcma", AARCH64_FEATURE (COMPNUM),
+ AARCH64_FEATURES (2, F16, SIMD)},
{"compnum", AARCH64_FEATURE (COMPNUM),
AARCH64_FEATURES (2, F16, SIMD)},
{"rcpc", AARCH64_FEATURE (RCPC), AARCH64_NO_FEATURES},
diff --git a/gas/testsuite/gas/aarch64/advsimd-compnum.d b/gas/testsuite/gas/aarch64/advsimd-compnum.d
index 821508e..29e7f8a 100644
--- a/gas/testsuite/gas/aarch64/advsimd-compnum.d
+++ b/gas/testsuite/gas/aarch64/advsimd-compnum.d
@@ -1,4 +1,5 @@
#as: -march=armv8.2-a+compnum -I$srcdir/$subdir
+#as: -march=armv8.2-a+fcma -I$srcdir/$subdir
#objdump: -dr
.*: file format .*