This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] [arm] Add neon-vfp3 as an alias for neon to -mfpu.
- From: Richard Earnshaw <rearnsha at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 20 Mar 2017 10:04:17 -0000
- Subject: [binutils-gdb] [arm] Add neon-vfp3 as an alias for neon to -mfpu.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d3375ddde4011242ef576083459fc51d0ddc53c8
commit d3375ddde4011242ef576083459fc51d0ddc53c8
Author: Richard Earnshaw <Richard.Earnshaw@arm.com>
Date: Mon Mar 20 10:03:15 2017 +0000
[arm] Add neon-vfp3 as an alias for neon to -mfpu.
GCC recently added neon-vfpv3 as an alias for neon in -mfpu. This patch adds a similar alias in GAS.
* config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
Diff:
---
gas/ChangeLog | 4 ++++
gas/config/tc-arm.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cf51667..6d7c403 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2017-03-20 Richard Earnshaw <rearnsha@arm.com>
+
+ * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon.
+
2017-03-16 Rinat Zelig <rinat@mellanox.com>
* config/tc-arc.c (assemble_insn): Only handle ".t" and ".nt"
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index a433929..bb2985c 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -25798,6 +25798,7 @@ static const struct arm_option_fpu_value_table arm_fpus[] =
{"arm1136jf-s", FPU_ARCH_VFP_V2},
{"maverick", FPU_ARCH_MAVERICK},
{"neon", FPU_ARCH_VFP_V3_PLUS_NEON_V1},
+ {"neon-vfpv3", FPU_ARCH_VFP_V3_PLUS_NEON_V1},
{"neon-fp16", FPU_ARCH_NEON_FP16},
{"vfpv4", FPU_ARCH_VFP_V4},
{"vfpv4-d16", FPU_ARCH_VFP_V4D16},