diff options
author | Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> | 2020-10-02 20:44:13 +0100 |
---|---|---|
committer | Przemyslaw Wirkus <przemyslaw.wirkus@arm.com> | 2020-10-02 20:44:37 +0100 |
commit | 42c36b7366dcff8886d3c50ccf38b227ce4a4da2 (patch) | |
tree | 270df66cded051cb66a0b514f9ef2a6b43ae0cee | |
parent | 18b67edc2c66ae73e0c58a14a9edb9957587788a (diff) | |
download | gdb-42c36b7366dcff8886d3c50ccf38b227ce4a4da2.zip gdb-42c36b7366dcff8886d3c50ccf38b227ce4a4da2.tar.gz gdb-42c36b7366dcff8886d3c50ccf38b227ce4a4da2.tar.bz2 |
arm: add support for Cortex-A78 and Cortex-A78AE
bfd/ChangeLog:
2020-09-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
* cpu-arm.c: Add cortex-a78 and cortex-a78ae.
gas/ChangeLog:
2020-09-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
* config/tc-arm.c: Add cortex-a78 and cortex-a78ae cores.
* doc/c-arm.texi: Update docs.
* NEWS: Update news.
* testsuite/gas/arm/cpu-cortex-a78.d: New test.
* testsuite/gas/arm/cpu-cortex-a78ae.d: New test.
-rw-r--r-- | bfd/cpu-arm.c | 2 | ||||
-rw-r--r-- | gas/NEWS | 2 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 6 | ||||
-rw-r--r-- | gas/doc/c-arm.texi | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/cpu-cortex-a78.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/cpu-cortex-a78ae.d | 6 |
6 files changed, 24 insertions, 0 deletions
diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c index 8d6977a..76a8f9a 100644 --- a/bfd/cpu-arm.c +++ b/bfd/cpu-arm.c @@ -150,6 +150,8 @@ processors[] = { bfd_mach_arm_8, "cortex-a76" }, { bfd_mach_arm_8, "cortex-a76ae" }, { bfd_mach_arm_8, "cortex-a77" }, + { bfd_mach_arm_8, "cortex-a78" }, + { bfd_mach_arm_8, "cortex-a78ae" }, { bfd_mach_arm_6SM, "cortex-m0" }, { bfd_mach_arm_6SM, "cortex-m0plus" }, { bfd_mach_arm_6SM, "cortex-m1" }, @@ -1,4 +1,6 @@ -*- text -*- +* Add support for Cortex-A78 and Cortex-A78AE for ARM. + * Add support for Cortex-A78 and Cortex-A78AE for AArch64. * Add support for ETMv4 (Embedded Trace Macrocell) system registers for diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 7d154e7..d5a0811 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -31540,6 +31540,12 @@ static const struct arm_cpu_option_table arm_cpus[] = ARM_CPU_OPT ("cortex-a77", "Cortex-A77", ARM_ARCH_V8_2A, ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST), FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD), + ARM_CPU_OPT ("cortex-a78", "Cortex-A78", 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-a78ae", "Cortex-A78AE", ARM_ARCH_V8_2A, + ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST | ARM_EXT2_SB), + 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 f8ed8bb..a3d6a5d 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -131,6 +131,8 @@ recognized: @code{cortex-a76}, @code{cortex-a76ae}, @code{cortex-a77}, +@code{cortex-a78}, +@code{cortex-a78ae}, @code{ares}, @code{cortex-r4}, @code{cortex-r4f}, diff --git a/gas/testsuite/gas/arm/cpu-cortex-a78.d b/gas/testsuite/gas/arm/cpu-cortex-a78.d new file mode 100644 index 0000000..47b5442 --- /dev/null +++ b/gas/testsuite/gas/arm/cpu-cortex-a78.d @@ -0,0 +1,6 @@ +# name: Assemble and dump for cortex-a78 CPU +# source: nop-asm.s +# as: -mcpu=cortex-a78 +# objdump: -d -mcortex-a78 + +#... diff --git a/gas/testsuite/gas/arm/cpu-cortex-a78ae.d b/gas/testsuite/gas/arm/cpu-cortex-a78ae.d new file mode 100644 index 0000000..00a769e --- /dev/null +++ b/gas/testsuite/gas/arm/cpu-cortex-a78ae.d @@ -0,0 +1,6 @@ +# name: Assemble and dump for cortex-a78ae CPU +# source: nop-asm.s +# as: -mcpu=cortex-a78ae +# objdump: -d -mcortex-a78ae + +#... |