]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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>
Mon, 10 Feb 2020 12:18:01 +0000 (12:18 +0000)
commitac1d3fbd6e4aac6338e44ca4e000061f8cd61e66
tree2b463cfbc8bae77dcd6b9ec04c0b6e787f3bce6d
parentc21933880d51c3342e7775a54ee11a4934745e10
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-02-10  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