[PATCH] gas,mve: Fix encoding for vcvt[bt] single-half float conversion instructions

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Wed Jul 3 14:40:11 GMT 2024


On 27/06/2024 14:57, Andre Vieira (lists) wrote:
> Hi,
> 
> The encoding of vcvt[bt] was previously not taking into account that the Quad vector registers were meant to be encoded using their Q-register numbers rather than their D-register equivalent (multiply by 2).
> 
> This patch addresses by dividing the encoded value by 2, before inserting them into the instruction encoding.
> 
> Ran check-gas for arm-none-eabi and compared the encoding in the disassembly output with another arm binary decoder.
> 
> OK for trunk?
> 
> Kind regards,
> Andre Vieira

OK.

R.


More information about the Binutils mailing list