This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][GAS]Add support for -mcpu=marvell-whitney
- From: Xingxing Pan <xxingpan at marvell dot com>
- To: <binutils at sourceware dot org>, <jiong dot wang at arm dot com>, <terry dot guo at arm dot com>, <Richard dot Earnshaw at arm dot com>, <rearnsha at arm dot com>, <nickc at redhat dot com>, <xyqi at marvell dot com>, <lgao1 at marvell dot com>, <xxingpan at marvell dot com>
- Date: Thu, 18 Dec 2014 20:34:35 +0800
- Subject: [PATCH][GAS]Add support for -mcpu=marvell-whitney
- Authentication-results: sourceware.org; auth=none
Hi,
This patch add support for cpu marvell-whitney.
If it's OK, could someone help to commit it?
Thanks,
Xingxing
2014-12-18 Xingxing Pan <xxingpan@marvell.com>
* gas/config/tc-arm.c (arm_cpus): Add core marvell-whitney.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 412e8ab..cde67be 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -24460,6 +24460,9 @@ static const struct arm_cpu_option_table
arm_cpus[] =
/* Marvell processors. */
ARM_CPU_OPT ("marvell-pj4", ARM_FEATURE (ARM_AEXT_V7A |
ARM_EXT_MP | ARM_EXT_SEC, 0),
FPU_ARCH_VFP_V3D16, NULL),
+ ARM_CPU_OPT ("marvell-whitney", ARM_FEATURE (ARM_AEXT_V7A | ARM_EXT_MP
+ | ARM_EXT_SEC, 0),
+ FPU_ARCH_NEON_VFP_V4, NULL),
{ NULL, 0, ARM_ARCH_NONE, ARM_ARCH_NONE, NULL }
};