[PATCH] arm: Fix MVE vmla encoding

Nick Clifton nickc@redhat.com
Tue Apr 23 17:04:11 GMT 2024


Hi Claudio,

> Is this Ok for master? I do not have commit rights, if OK, can someone commit on my behalf please?
> Tested on arm-none-eabi.

Patch approved and applied.  I did have to make one change however.
The patch, as it was, added a new failure to the gas testsuite
for PE based ARM targets (eg arm-wince-pe):

   gas/testsuite/gas/arm/mve-vmla.s:20: Error: unknown pseudo-op: `.inst'>, no expected output
   FAIL: MVE vmla instructions

The .inst pseudo-op is ELF specific, so that is why the failure was
happening.  I choose the simplest solution of adding:

   #target: [is_elf_format]

to the mve-vmla.d test control file.  But you might prefer to make a
more complete solution by moving the .inst directive out of the mve-vmla.s
source file and into its own file...

Cheers
   Nick



More information about the Binutils mailing list