]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
mve: Fix encoding for vcvt[bt] single-half float conversion instructions
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 4 Jul 2024 12:45:53 +0000 (13:45 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Thu, 4 Jul 2024 12:48:26 +0000 (13:48 +0100)
commit433e2bef4a9e2fcba9c4005db6fb692496c0b135
treec02a4bfd59931504b67c0b9e97d5ff0182204060
parent68e549ee5497d90a7921b4c676789b55f91ba08b
mve: Fix encoding for vcvt[bt] single-half float conversion instructions

The encoding was previously not taking into account that the Quad vector
registers were being encoded using their Q-register numbers rather than their
D-register equivalent (multiply by 2).

gas/

* config/tc-arm.c (do_neon_cvttb_1): Use Q-register vector number
rather than their D-register equivalent.

gas/testsuite/

* gas/arm/mve-vcvt-3.d: Correct expected values in test.
gas/config/tc-arm.c
gas/testsuite/gas/arm/mve-vcvt-3.d