From ea0d6bb94c47283ce54ad62485997e2aef296d43 Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Fri, 9 Jan 2015 20:00:14 +0000 Subject: This patch adds the necessary support to the assembler to allow wiring the X-Gene scheduling description up in the respective GCC backend. * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and X-Gene 2. * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2. --- gas/ChangeLog | 6 ++++++ gas/config/tc-arm.c | 5 +++++ gas/doc/c-arm.texi | 10 +++++++++- 3 files changed, 20 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index f46f547..b703835 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2015-01-09 Philipp Tomsich + + * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and + X-Gene 2. + * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2. + 2015-01-07 Jan Beulich * config/tc-arm.c (struct arm_option_extension_value_table): diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 6c01c21..37d2e3e 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -24463,6 +24463,11 @@ static const struct arm_cpu_option_table arm_cpus[] = ARM_CPU_OPT ("marvell-whitney", ARM_FEATURE (ARM_AEXT_V7A | ARM_EXT_MP | 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 } }; diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 16ba4f9..8252487 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -129,6 +129,10 @@ recognized: @code{cortex-m1}, @code{cortex-m0}, @code{cortex-m0plus}, +@code{marvell-pj4}, +@code{marvell-whitney}, +@code{xgene1}, +@code{xgene2}, @code{ep9312} (ARM920 with Cirrus Maverick coprocessor), @code{i80200} (Intel XScale processor) @code{iwmmxt} (Intel(r) XScale processor with Wireless MMX(tm) technology coprocessor) @@ -156,13 +160,16 @@ been added, again in ascending alphabetical order. For example, The following extensions are currently supported: +@code{crc} @code{crypto} (Cryptography Extensions for v8-A architecture, implies @code{fp+simd}), @code{fp} (Floating Point Extensions for v8-A architecture), @code{idiv} (Integer Divide Extensions for v7-A and v7-R architectures), @code{iwmmxt}, @code{iwmmxt2}, +@code{xscale}, @code{maverick}, -@code{mp} (Multiprocessing Extensions for v7-A and v7-R architectures), +@code{mp} (Multiprocessing Extensions for v7-A and v7-R +architectures), @code{os} (Operating System for v6M architecture), @code{sec} (Security Extensions for v6K and v7-A architectures), @code{simd} (Advanced SIMD Extensions for v8-A architecture, implies @code{fp}), @@ -207,6 +214,7 @@ names are recognized: @code{armv7e-m}, @code{armv8-a}, @code{iwmmxt} +@code{iwmmxt2} and @code{xscale}. If both @code{-mcpu} and -- cgit v1.1