diff options
author | Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> | 2021-11-10 14:09:05 +0000 |
---|---|---|
committer | Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> | 2021-11-10 14:09:05 +0000 |
commit | 14f458590a51e9922c03bbb16f7e733db8015f98 (patch) | |
tree | f4a83290c61471bf5d9ae1e2bef7c26b4c633623 /gas | |
parent | b08625af20ade108868edd6f31d1cee68889a0df (diff) | |
download | fsf-binutils-gdb-14f458590a51e9922c03bbb16f7e733db8015f98.zip fsf-binutils-gdb-14f458590a51e9922c03bbb16f7e733db8015f98.tar.gz fsf-binutils-gdb-14f458590a51e9922c03bbb16f7e733db8015f98.tar.bz2 |
arm: enable Cortex-A710 CPU
This patch is adding support for Cortex-A710 CPU in Arm.
bfd/
* cpu-arm.c (processors): Add cortex-a710.
gas/
* NEWS: Update docs.
* config/tc-arm.c (arm_cpus): Add cortex-a710 to -mcpu.
* doc/c-arm.texi: Update docs.
* testsuite/gas/arm/cpu-cortex-a710.d: New test.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/NEWS | 2 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 5 | ||||
-rw-r--r-- | gas/doc/c-arm.texi | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/cpu-cortex-a710.d | 6 |
4 files changed, 14 insertions, 0 deletions
@@ -9,6 +9,8 @@ * Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64. +* Add support for Cortex-A710 for Arm. + * Outputs of .ds.x directive and .tfloat directive with hex input from x86 assembler have been reduced from 12 bytes to 10 bytes to match the output of .tfloat directive. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index d4c590a..fad1775 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -31640,6 +31640,11 @@ static const struct arm_cpu_option_table arm_cpus[] = ARM_CPU_OPT ("cortex-a78c", "Cortex-A78C", ARM_ARCH_V8_2A, ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST | ARM_EXT2_SB), FPU_ARCH_DOTPROD_NEON_VFP_ARMV8), + ARM_CPU_OPT ("cortex-a710", "Cortex-A710", ARM_ARCH_V9A, + ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST + | ARM_EXT2_BF16 + | ARM_EXT2_I8MM), + FPU_ARCH_DOTPROD_NEON_VFP_ARMV8), ARM_CPU_OPT ("ares", "Ares", ARM_ARCH_V8_2A, ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST), FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD), diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 4baa46d..4b5656e 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -134,6 +134,7 @@ recognized: @code{cortex-a78}, @code{cortex-a78ae}, @code{cortex-a78c}, +@code{cortex-a710}, @code{ares}, @code{cortex-r4}, @code{cortex-r4f}, diff --git a/gas/testsuite/gas/arm/cpu-cortex-a710.d b/gas/testsuite/gas/arm/cpu-cortex-a710.d new file mode 100644 index 0000000..ba88dbb --- /dev/null +++ b/gas/testsuite/gas/arm/cpu-cortex-a710.d @@ -0,0 +1,6 @@ +# name: Assemble and dump for cortex-a710 CPU +# source: nop-asm.s +# as: -mcpu=cortex-a710 +# objdump: -d -mcortex-a710 + +#... |