aboutsummaryrefslogtreecommitdiff
path: root/gas/cgen.c
diff options
context:
space:
mode:
authorMihail Ionescu <mihail.ionescu@arm.com>2019-10-31 11:22:58 +0000
committerNick Clifton <nickc@redhat.com>2019-10-31 11:22:58 +0000
commite20f9590e78473b3b944d606c28a519094eedea0 (patch)
tree8fea0061965fd8f3fd6f4f547e9a5f66a32e8606 /gas/cgen.c
parentc7e49b689b01e54020a945214e75d4d3f8b6a226 (diff)
downloadgdb-e20f9590e78473b3b944d606c28a519094eedea0.zip
gdb-e20f9590e78473b3b944d606c28a519094eedea0.tar.gz
gdb-e20f9590e78473b3b944d606c28a519094eedea0.tar.bz2
Add support for context sensitive '.arch_extension' to the ARM assembler.
If the extension is not found in the context sensitive table, the legacy tables are still checked as a fallback. This is particularly useful for Armv8.1-M as it enables the use of '.arch_extension' with the 'mve' and 'mve.fp' extensions which are not part of the legacy table. * config/tc-arm.c (selected_ctx_ext_table) New static variable. (arm_parse_arch): Set context sensitive extension table based on the chosen base architecture. (s_arm_arch_extension): Change to lookup extensions in the new context sensitive tables. * gas/testsuite/gas/arm/mve-ext.s: New. * gas/testsuite/gas/arm/mve-ext.d: New. * gas/testsuite/gas/arm/mvefp-ext.s: New. * gas/testsuite/gas/arm/mvefp-ext.d: New.
Diffstat (limited to 'gas/cgen.c')
0 files changed, 0 insertions, 0 deletions