From d3375ddde4011242ef576083459fc51d0ddc53c8 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Mon, 20 Mar 2017 10:03:15 +0000 Subject: [PATCH] [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. --- 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 + + * config/tc-arm.c (arm_fpus): Add neon-vfpv3 as an alias for neon. + 2017-03-16 Rinat Zelig * 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}, -- 2.7.4