Removes support in the ARM assembler for the unsigned variants of the VQ(R)DMLAH...
authorBarnaby Wilks <barnaby.wilks@arm.com>
Mon, 5 Aug 2019 11:43:38 +0000 (12:43 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 5 Aug 2019 11:43:38 +0000 (12:43 +0100)
commit23d188c74e7481bb0af3c42b84fc9cb0c94267e5
tree4d88f17e87bc76e01a6924381ac4d1bfb9db37c0
parenta80cf5d88e028fa6a72b37fe50795e70bb6e3559
Removes support in the ARM assembler for the unsigned variants of the VQ(R)DMLAH and VQ(R)DMLASH MVE instructions.

Previously GAS would accept .u32, .u16 and .u8 suffixes to the VQ(R)DMLAH and VQ(R)DMLASH
instructions, however the Armv8.1-M Mainline specification states that these functions only
have signed variations (.s32, .s16 and .s8 suffixes).
This is documented here:
https://static.docs.arm.com/ddi0553/bh/DDI0553B_h_armv8m_arm.pdf?_ga=2.143079093.1892401233.1563295591-999473562.1560847439#page=1183

gas * config/tc-arm.c (do_mve_vqdmlah): Use N_S_32 macro.
(do_neon_qrdmlah): Use N_S_32 macro.
* testsuite/gas/arm/mve-vqdmlah-bad.d: New test.
* testsuite/gas/arm/mve-vqdmlah-bad.l: New test.
* testsuite/gas/arm/mve-vqdmlah-bad.s: New test.
* testsuite/gas/arm/mve-vqdmlah.d: Remove unsigned instruction tests.
* testsuite/gas/arm/mve-vqdmlah.s: Remove unsigned instruction tests.
* testsuite/gas/arm/mve-vqdmlash-bad.d: New test.
* testsuite/gas/arm/mve-vqdmlash-bad.l: New test.
* testsuite/gas/arm/mve-vqdmlash-bad.s: New test.
* testsuite/gas/arm/mve-vqdmlash.d: Remove unsigned instruction tests.
* testsuite/gas/arm/mve-vqdmlash.s: Remove unsigned instruction tests.

opcodes * arm-dis.c: Only accept signed variants of VQ(R)DMLAH and VQ(R)DMLASH
instructions.
14 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve-vqdmlah-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vqdmlah-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vqdmlah-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vqdmlah.d
gas/testsuite/gas/arm/mve-vqdmlah.s
gas/testsuite/gas/arm/mve-vqdmlash-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vqdmlash-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vqdmlash-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/mve-vqdmlash.d
gas/testsuite/gas/arm/mve-vqdmlash.s
opcodes/ChangeLog
opcodes/arm-dis.c