This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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},

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]