[ARM][GAS] ARMv8.2 should enable ARMv8.1 NEON instructions.

Ramana Radhakrishnan ramana.gcc@googlemail.com
Thu Jun 30 09:29:00 GMT 2016


On Thu, Jun 30, 2016 at 10:25 AM, Matthew Wahab
<matthew.wahab@foss.arm.com> wrote:
> Hello,
>
> GAS fails to recognize march=armv8.2-a as a superset of march=armv8.1-a
> when assembling NEON instructions. This means that assembling something
> like
> ----
> vqrdmlah.s16 d0, d22, d22
> ----
> with -march=armv8.2-a -mfpu=neon-fp-armv8 will trigger the message
> ----
> Warning: this instruction implies use of ARMv8.1 AdvSIMD.
> ----
> There is no such warning when armv8.1-a is set.
>
> The patch corrects this, making -march=armv8.2-a -mfpu=neon-fp-armv8
> enable the NEON intructions introduced with ARMv8.1-A.
>
> Tested for arm-none-linux-gnueabihf with cross-compiled check-gas,
> check-binutils and check-ld.
>
> Ok for trunk?
> Matthew
>
> include/
> 2016-06-30  Matthew Wahab  <matthew.wahab@arm.com>
>
>         * opcode/arm.h (ARM_ARCH_V8_2a): Add FPU_NEON_EXT_RDMA to the set
>         of enabled FPU features.
>
> gas/
> 2016-06-30  Matthew Wahab  <matthew.wahab@arm.com>
>
>         * testsuite/gas/arm/armv8_2+rdma.d: New.


This is ok , thanks.

Ramana



More information about the Binutils mailing list