]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64] Add missing C_MAX_ELEM flags for SVE conversions
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 2 Jul 2019 10:03:27 +0000 (11:03 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 2 Jul 2019 10:03:27 +0000 (11:03 +0100)
commit989c1bd31c8136df39501481b5939c2b8e6b7a0b
tree9d842730a0941972d28e830f320147eb0f9bb211
parent8127c1fbe955b1dd2cd9e49dfc8b3a3bfab3cb68
[AArch64] Add missing C_MAX_ELEM flags for SVE conversions

SVE FCVTZS, FCVTZU, SCVTF and UCVTF need the same treatment as FCVT:
the register size used in a predicated MOVPRFX must be the wider of
the destination and source sizes.

Since I was adding a (supposedly) complete set of tests for converts,
it seemed more consistent to add a complete set of tests for shifts
as well, even though there's no bug to fix there.

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

opcodes/
* aarch64-tbl.h (aarch64_opcode_table): Add C_MAX_ELEM flags
to SVE fcvtzs, fcvtzu, scvtf and ucvtf entries.

gas/
* testsuite/gas/aarch64/sve-movprfx_26.s: Also test FCVTZS, FCVTZU,
SCVTF, UCVTF, LSR and ASR.
* testsuite/gas/aarch64/sve-movprfx_26.d: Update accordingly.
* testsuite/gas/aarch64/sve-movprfx_26.l: Likewise.
gas/ChangeLog
gas/testsuite/gas/aarch64/sve-movprfx_26.d
gas/testsuite/gas/aarch64/sve-movprfx_26.l
gas/testsuite/gas/aarch64/sve-movprfx_26.s
opcodes/ChangeLog
opcodes/aarch64-tbl.h