This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH ARM]: Add command-line support for Cortex-A15 to gas
- From: Matthew Gretton-Dann <matthew dot gretton-dann at arm dot com>
- To: binutils at sourceware dot org
- Date: Thu, 09 Sep 2010 09:47:33 +0100
- Subject: [PATCH ARM]: Add command-line support for Cortex-A15 to gas
All,
The following patch adds command-line support for Cortex-A15 to gas.
Further patches to add support for new CPU features will be coming in
the future.
Proposed ChangeLog:
2010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
* doc/c-arm.texi: Document -mcpu=cortex-a15.
Thanks,
Matt
--
Matthew Gretton-Dann
Principal Engineer - PDSW Tools
ARM Ltd
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index b9d629b..1e55652 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -22301,6 +22301,8 @@ static const struct arm_cpu_option_table arm_cpus[] =
{"cortex-a9", ARM_ARCH_V7A, ARM_FEATURE (0, FPU_VFP_V3
| FPU_NEON_EXT_V1),
NULL},
+ {"cortex-a15", ARM_ARCH_V7A, FPU_ARCH_NEON_VFP_V4,
+ "Cortex-A15"},
{"cortex-r4", ARM_ARCH_V7R, FPU_NONE, NULL},
{"cortex-r4f", ARM_ARCH_V7R, FPU_ARCH_VFP_V3D16, NULL},
{"cortex-m4", ARM_ARCH_V7EM, FPU_NONE, NULL},
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index f6769a8..478ede3 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -115,6 +115,7 @@ recognized:
@code{cortex-a5},
@code{cortex-a8},
@code{cortex-a9},
+@code{cortex-a15},
@code{cortex-r4},
@code{cortex-r4f},
@code{cortex-m3},