[GAS, ARM, 2/16] Add CLI extension support for Armv8.1-M Mainline
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 15 Apr 2019 10:00:21 +0000 (11:00 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 15 Apr 2019 10:00:21 +0000 (11:00 +0100)
commite0991585ade56ff86a382978bb3b0268d6e1f31c
tree40c28cb05c82665bb29c335fccb98a33f86f9869
parent031254f2111f945ce6a1b8827e1a58ed7141fefe
[GAS, ARM, 2/16] Add CLI extension support for Armv8.1-M Mainline

This patch implements the dsp, fp and fp.dp extensions for Armv8.1-M Mainline.

This patch also removes the fp-armv8 check from the half-precision move
instructions 'do_neon_movhf', as checking that the FP16 instructions extension
feature bit is enabled 'ARM_EXT2_FP16_INST' is enough.

gas/ChangeLog:
2019-04-15  Andre Vieira  <andre.simoesdiasvieira@arm.com>

* config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
(armv8_1m_main_ext_table): New extension table.
(arm_archs): Use the new extension table.
* doc/c-arm.texi: Add missing arch and document new extensions.
* testsuite/gas/arm/armv8.1-m.main-fp.d: New.
* testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
* testsuite/gas/arm/armv8.1-m.main-hp.d: New.
gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/gas/arm/armv8.1-m.main-fp-dp.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8.1-m.main-fp.d [new file with mode: 0644]
gas/testsuite/gas/arm/armv8.1-m.main-hp.d [new file with mode: 0644]