]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
arm: PR gas/25472 Enable DSP instructions with +mve
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 31 Jan 2020 17:09:27 +0000 (17:09 +0000)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Fri, 31 Jan 2020 17:17:37 +0000 (17:17 +0000)
commit8d4447e5839ab174e86460e92b5e3adb34ba41f2
tree863315447b45e593f289373bfa97ce3bce087248
parent7e1a4f55c428855343d25b43c083922f37ba7a98
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>

Backport from mainline.
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/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve_dsp.d [new file with mode: 0644]