gas/config/tc-arm.c: Improve validation of NEON addressing modes.
authorWill Newton <willnewton@sourceware.org>
Fri, 23 Aug 2013 07:16:56 +0000 (07:16 +0000)
committerWill Newton <willnewton@sourceware.org>
Fri, 23 Aug 2013 07:16:56 +0000 (07:16 +0000)
commit4f2374c7fa5f1f91a59f11670d1c8c269624a15d
treea7788bcce7094bd1f5f87f43e2024809bc638887
parent1ed3ee940d6f75b32502801cd6a50322488ff277
gas/config/tc-arm.c: Improve validation of NEON addressing modes.

NEON vector load and store instructions do not accept immediates
or pre-indexed base plus offset addressing modes, so make sure that
the assembler enforces this.

gas/ChangeLog:

2013-08-23  Will Newton  <will.newton@linaro.org>

* config/tc-arm.c (do_neon_ldx_stx): Add extra constraints
for pre-indexed addressing modes.
* testsuite/gas/arm/neon-addressing-bad.l: Add test for
VLDn and VSTn instructions.
* testsuite/gas/arm/neon-addressing-bad.s: Likewise.

gas/testsuite/ChangeLog:

2013-08-23  Will Newton  <will.newton@linaro.org>

* testsuite/gas/arm/neon-addressing-bad.l: Add test for
VLDn and VSTn instructions.
* testsuite/gas/arm/neon-addressing-bad.s: Likewise.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/neon-addressing-bad.l
gas/testsuite/gas/arm/neon-addressing-bad.s