[AArch64] Fix bogus MOVPRFX warning for GPR form of CPY
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 2 Jul 2019 09:51:05 +0000 (10:51 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 2 Jul 2019 09:51:05 +0000 (10:51 +0100)
commit8941884429c305ad42a41f759a98c8cca4d4aacc
treec198a6e2bbe1d26851bc4716b68840793ef5359c
parent390b205f456be85e309570f1b6e9b75f27194de7
[AArch64] Fix bogus MOVPRFX warning for GPR form of CPY

One of the MOVPRFX tests has:

  output register of preceding `movprfx' used as input at operand 3 -- `cpy z1.d,p1/m,x1'

But X1 and Z1 are not the same register, so the instruction is
actually OK.

2019-07-02  Richard Sandiford  <richard.sandiford@arm.com>

opcodes/
* aarch64-opc.c (verify_constraints): Skip GPRs when scanning the
registers in an instruction prefixed by MOVPRFX.

gas/
* testsuite/gas/aarch64/sve-movprfx_25.s: Allow CPY Z1.D.P1/M,X1
to be prefixed by MOVPRFX.
* testsuite/gas/aarch64/sve-movprfx_25.d: Update accordingly.
* testsuite/gas/aarch64/sve-movprfx_25.l: Likewise.
gas/ChangeLog
gas/testsuite/gas/aarch64/sve-movprfx_25.d
gas/testsuite/gas/aarch64/sve-movprfx_25.l
gas/testsuite/gas/aarch64/sve-movprfx_25.s
opcodes/ChangeLog
opcodes/aarch64-opc.c
This page took 0.025335 seconds and 4 git commands to generate.