aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2024-01-12 01:43:47 +0000
committerNick Clifton <nickc@redhat.com>2024-01-12 13:46:35 +0000
commit5329ef9b8eb0ba610e2c9860db8ec0148e591c54 (patch)
tree6b95bd8feed2a934ae0c94f80b91753c81ac1673 /gas
parentce9fad9878a28db62e2ce7dabbf250f7513e594d (diff)
downloadgdb-5329ef9b8eb0ba610e2c9860db8ec0148e591c54.zip
gdb-5329ef9b8eb0ba610e2c9860db8ec0148e591c54.tar.gz
gdb-5329ef9b8eb0ba610e2c9860db8ec0148e591c54.tar.bz2
aarch64: Add +flagm2 flag for existing instructions
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-aarch64.c1
-rw-r--r--gas/testsuite/gas/aarch64/armv8_5-a-flagm2.d1
2 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 9df0e3b..63c649a 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10320,6 +10320,7 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
{"f64mm", AARCH64_FEATURE (F64MM), AARCH64_FEATURE (SVE)},
{"ls64", AARCH64_FEATURE (LS64), AARCH64_NO_FEATURES},
{"flagm", AARCH64_FEATURE (FLAGM), AARCH64_NO_FEATURES},
+ {"flagm2", AARCH64_FEATURE (FLAGMANIP), AARCH64_FEATURE (FLAGM)},
{"pauth", AARCH64_FEATURE (PAC), AARCH64_NO_FEATURES},
{"mops", AARCH64_FEATURE (MOPS), AARCH64_NO_FEATURES},
{"hbc", AARCH64_FEATURE (HBC), AARCH64_NO_FEATURES},
diff --git a/gas/testsuite/gas/aarch64/armv8_5-a-flagm2.d b/gas/testsuite/gas/aarch64/armv8_5-a-flagm2.d
index 83361e0..84144c0 100644
--- a/gas/testsuite/gas/aarch64/armv8_5-a-flagm2.d
+++ b/gas/testsuite/gas/aarch64/armv8_5-a-flagm2.d
@@ -1,4 +1,5 @@
#as: -march=armv8.5-a
+#as: -march=armv8-a+flagm2
# objdump: -d
.*: .*