arm: add support for Cortex-A78 and Cortex-A78AE
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Fri, 2 Oct 2020 19:44:13 +0000 (20:44 +0100)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Fri, 2 Oct 2020 19:44:37 +0000 (20:44 +0100)
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.

bfd/cpu-arm.c
gas/NEWS
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/gas/arm/cpu-cortex-a78.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a78ae.d [new file with mode: 0644]

index 8d6977aee47fa11514298d43f027523e152dabbc..76a8f9a4a9a9f02365c4fb77806eca4c1dee379a 100644 (file)
@@ -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"       },
index 12f5f4baae7be46b92c43cfce64c502314367f0f..8394f7466ca25bcbd8c39d04604627f57bf73a5b 100644 (file)
--- 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
index 7d154e75929ceacfb242dfebc9a3e7a88943316f..d5a0811c4fdc72a1e5c5afe275a570e8e267f227 100644 (file)
@@ -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),
index f8ed8bb904e61b08e91d4ba6ed954c6ddb9370cf..a3d6a5d3af07a2c746e9e335320de508db44a11a 100644 (file)
@@ -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 (file)
index 0000000..47b5442
--- /dev/null
@@ -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 (file)
index 0000000..00a769e
--- /dev/null
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a78ae CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a78ae
+# objdump: -d -mcortex-a78ae
+
+#...