[ARM][GAS] ARMv8.2 should enable ARMv8.1 NEON instructions.
Matthew Wahab
matthew.wahab@foss.arm.com
Thu Jun 30 09:25:00 GMT 2016
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-GAS-ARMv8.2-should-enable-ARMv8.1-NEON-instructi.patch
Type: text/x-patch
Size: 5319 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160630/8af2b03f/attachment.bin>
More information about the Binutils
mailing list