From: Przemyslaw Wirkus Date: Fri, 2 Oct 2020 19:44:13 +0000 (+0100) Subject: arm: add support for Cortex-A78 and Cortex-A78AE X-Git-Tag: binutils-2_36~1039 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42c36b7366dcff8886d3c50ccf38b227ce4a4da2;p=thirdparty%2Fbinutils-gdb.git arm: add support for Cortex-A78 and Cortex-A78AE bfd/ChangeLog: 2020-09-30 Przemyslaw Wirkus * cpu-arm.c: Add cortex-a78 and cortex-a78ae. gas/ChangeLog: 2020-09-30 Przemyslaw Wirkus * 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. --- diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c index 8d6977aee47..76a8f9a4a9a 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" }, diff --git a/gas/NEWS b/gas/NEWS index 12f5f4baae7..8394f7466ca 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -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 7d154e75929..d5a0811c4fd 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 f8ed8bb904e..a3d6a5d3af0 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 00000000000..47b54425958 --- /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 00000000000..00a769e1220 --- /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 + +#...