diff options
author | Srinath Parvathaneni <srinath.parvathaneni@arm.com> | 2022-11-14 13:55:51 +0000 |
---|---|---|
committer | Srinath Parvathaneni <srinath.parvathaneni@arm.com> | 2022-11-14 13:56:05 +0000 |
commit | cafdb713d837ce45cf6180966070fe77386f1d7d (patch) | |
tree | fbbd68904d9c6ed8b85a77ee96bdbc35ebd5b445 /gas | |
parent | 3cbf5fdfe4f56f6a85d0228ea679ef5581fba78e (diff) | |
download | gdb-cafdb713d837ce45cf6180966070fe77386f1d7d.zip gdb-cafdb713d837ce45cf6180966070fe77386f1d7d.tar.gz gdb-cafdb713d837ce45cf6180966070fe77386f1d7d.tar.bz2 |
arm: Add support for Cortex-X1C CPU.
This patch adds support for Cortex-X1C CPU in Arm.
bfd/ChangeLog:
2022-11-09 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
* cpu-arm.c (processors): Add Cortex-X1C CPU entry.
gas/ChangeLog:
2022-11-09 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
* NEWS: Update docs.
* config/tc-arm.c (arm_cpus): Add cortex-x1c to -mcpu.
* doc/c-arm.texi: Update docs.
* testsuite/gas/arm/cpu-cortex-x1c.d: New test.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/NEWS | 2 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 3 | ||||
-rw-r--r-- | gas/doc/c-arm.texi | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/cpu-cortex-x1c.d | 6 |
4 files changed, 12 insertions, 0 deletions
@@ -32,6 +32,8 @@ * Add support for the RISC-V Zawrs extension, version 1.0-rc4. +* Add support for Cortex-X1C for Arm. + Changes in 2.39: * Remove (rudimentary) support for the x86-64 sub-architectures Intel L1OM and diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 0f7d769..8864286 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -31746,6 +31746,9 @@ static const struct arm_cpu_option_table arm_cpus[] = ARM_CPU_OPT ("cortex-x1", "Cortex-X1", 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-x1c", "Cortex-X1C", ARM_ARCH_V8_2A, + ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST | ARM_EXT2_SB), + FPU_ARCH_DOTPROD_NEON_VFP_ARMV8), ARM_CPU_OPT ("exynos-m1", "Samsung Exynos M1", ARM_ARCH_V8A, ARM_FEATURE_CORE_HIGH (ARM_EXT2_CRC), FPU_ARCH_CRYPTO_NEON_VFP_ARMV8), diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 4016d3a..0605d32 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -153,6 +153,7 @@ recognized: @code{cortex-m0}, @code{cortex-m0plus}, @code{cortex-x1}, +@code{cortex-x1c}, @code{exynos-m1}, @code{marvell-pj4}, @code{marvell-whitney}, diff --git a/gas/testsuite/gas/arm/cpu-cortex-x1c.d b/gas/testsuite/gas/arm/cpu-cortex-x1c.d new file mode 100644 index 0000000..cf83de7 --- /dev/null +++ b/gas/testsuite/gas/arm/cpu-cortex-x1c.d @@ -0,0 +1,6 @@ +# name: Assemble and dump for cortex-x1c CPU +# source: nop-asm.s +# as: -mcpu=cortex-x1c +# objdump: -d -mcortex-x1c + +#... |