aarch64: Fix MOVPRFX markup for bf16 conversions
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 31 Jan 2020 08:03:56 +0000 (08:03 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 31 Jan 2020 13:22:46 +0000 (13:22 +0000)
commitc3036ed0633483325bf37e5cf70d44c7b66bfc61
tree7b044d63ba6107cadea6dbcacc0b7a1b01aed12e
parentfd9faca826e6ee9178cf0b1c2486e3c662d6375a
aarch64: Fix MOVPRFX markup for bf16 conversions

bfcvt converts a .S input to a .H output, so any predicated movprfx
needs to operate on .S rather than .H.  In common with SVE2 narrowing
top operations, bfcvtnt doesn't accept movprfx.

2020-01-31  Richard Sandiford  <richard.sandiford@arm.com>

opcodes/
* aarch64-tbl.h (aarch64_opcode): Set C_MAX_ELEM for SVE bfcvt.
Remove C_SCAN_MOVPRFX for SVE bfcvtnt.

gas/
* testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
.s for the movprfx.
* testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
* testsuite/gas/aarch64/sve-movprfx_28.d,
* testsuite/gas/aarch64/sve-movprfx_28.l,
* testsuite/gas/aarch64/sve-movprfx_28.s: New test.
gas/ChangeLog
gas/testsuite/gas/aarch64/sve-bfloat-movprfx.d
gas/testsuite/gas/aarch64/sve-bfloat-movprfx.s
gas/testsuite/gas/aarch64/sve-movprfx_28.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve-movprfx_28.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve-movprfx_28.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/aarch64-tbl.h