arm: PR gas/25472 Enable DSP instructions with +mve
commit9216914510c6139c171c604c1e04696264c022af
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 31 Jan 2020 17:09:27 +0000 (31 17:09 +0000)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 31 Jan 2020 17:11:45 +0000 (31 17:11 +0000)
tree76cbb478962b3eb6b1b3efda84d75d50dee3fddb
parentd26cc8a9d6ae9b0ffdb372bd65526cc3137747e5
arm: PR gas/25472 Enable DSP instructions with +mve

We noticed +mve was not enabling DSP instructions as it should, reported in PR
25472.
The MVE architecture extension for Armv8.1-M Mainline implies DSP extensions.
This patch reflects that in the '+mve' command line option.

gas/ChangeLog:
2020-01-31  Andre Vieira  <andre.simoesdiasvieira@arm.com>

PR gas/25472
* config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
(armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
+mve.
* testsuite/gas/arm/mve_dsp.d: New test.
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve_dsp.d [new file with mode: 0644]