This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Add support for the APM X-Gene 1 and APM X-Gene 2 for ARMv7.
- From: Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>
- To: binutils at sourceware dot org
- Cc: ramana dot radhakrishnan at arm dot com, marcus dot shawcroft at gmail dot com, ksankaran at apm dot com, Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>
- Date: Thu, 8 Jan 2015 22:44:20 +0100
- Subject: [PATCH] Add support for the APM X-Gene 1 and APM X-Gene 2 for ARMv7.
- Authentication-results: sourceware.org; auth=none
As discussed on GCC-patches, the APM X-Gene 1 and X-Gene 2 are capable of
the AArch32 feature-set defined in ARMv8. This adds the necessary support
to the assembler to allow wiring the X-Gene scheduling description up in
the respective GCC backend.
Tested with arm-eabi.
I'll send the related GCC changes up to GCC-patches in a bit, so please apply.
---
gas/ChangeLog | 5 +++++
gas/config/tc-arm.c | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f46f547..22c9e00 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -4,6 +4,11 @@
Split field "value" into fields "merge_value" and "clear_value".
(arm_extensions): Adjust initializer accordingly.
+2015-01-01 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
+
+ * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
+ X-Gene 2.
+
2015-01-01 Alan Modra <amodra@gmail.com>
* as.c (parse_args): Just print current year.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 6c01c21..4511228 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -24464,6 +24464,12 @@ static const struct arm_cpu_option_table arm_cpus[] =
| ARM_EXT_SEC, 0),
FPU_ARCH_NEON_VFP_V4, NULL),
+ /* APM X-Gene family. */
+ ARM_CPU_OPT ("xgene1", ARM_ARCH_V8A, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
+ "APM X-Gene 1"),
+ ARM_CPU_OPT ("xgene2", ARM_ARCH_V8A, FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
+ "APM X-Gene 2"),
+
{ NULL, 0, ARM_ARCH_NONE, ARM_ARCH_NONE, NULL }
};
#undef ARM_CPU_OPT
--
1.9.1