aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/arm.h
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2016-06-30 10:46:51 +0100
committerMatthew Wahab <matthew.wahab@arm.com>2016-06-30 10:46:51 +0100
commit534dbe460e692a9befd9aca0eb0812db47459a30 (patch)
tree51f45a563997b8737893d1e7b65894338f84f7b3 /include/opcode/arm.h
parentc7be441465094e5ffce2f4205ea887676965d0be (diff)
downloadbinutils-534dbe460e692a9befd9aca0eb0812db47459a30.zip
binutils-534dbe460e692a9befd9aca0eb0812db47459a30.tar.gz
binutils-534dbe460e692a9befd9aca0eb0812db47459a30.tar.bz2
[ARM][GAS] ARMv8.2 should enable ARMv8.1 NEON instructions.
GAS fails to recognize march=armv8.2-a as a superset of march=armv8.1-a when assembling NEON instructions. The patch corrects this, making -march=armv8.2-a -mfpu=neon-fp-armv8 enable the NEON intructions introduced with ARMv8.1-A. 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.
Diffstat (limited to 'include/opcode/arm.h')
-rw-r--r--include/opcode/arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opcode/arm.h b/include/opcode/arm.h
index 24a66b8..60715cf 100644
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -266,7 +266,7 @@
#define ARM_ARCH_V8_1A ARM_FEATURE (ARM_AEXT_V8A, ARM_AEXT2_V8_1A, \
CRC_EXT_ARMV8 | FPU_NEON_EXT_RDMA)
#define ARM_ARCH_V8_2A ARM_FEATURE (ARM_AEXT_V8A, ARM_AEXT2_V8_2A, \
- CRC_EXT_ARMV8)
+ CRC_EXT_ARMV8 | FPU_NEON_EXT_RDMA)
#define ARM_ARCH_V8M_BASE ARM_FEATURE_CORE (ARM_AEXT_V8M_BASE, ARM_AEXT2_V8M)
#define ARM_ARCH_V8M_MAIN ARM_FEATURE_CORE (ARM_AEXT_V8M_MAIN, \
ARM_AEXT2_V8M_MAIN)