arm: Add support for Cortex-A78C
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Mon, 16 Nov 2020 20:26:29 +0000 (20:26 +0000)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Mon, 16 Nov 2020 20:28:14 +0000 (20:28 +0000)
This patch adds support for -mcpu=cortex-a78c command line option.
For more information about this processor, see [0]:

[0] https://developer.arm.com/ip-products/processors/cortex-a/cortex-a78c

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

index 8e5822f5cd8afce19710f3c286e5e426764de215..a06d5a77b9f8e54e9781a8943e0de6e8251318ed 100644 (file)
@@ -1,3 +1,7 @@
+2020-11-16  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
+
+       * cpu-arm.c (processors): Add Cortex-A78C.
+
 2020-11-11  Tom Tromey  <tromey@adacore.com>
 
        * archive.c (getuid, getgid): Move...
index 76a8f9a4a9a9f02365c4fb77806eca4c1dee379a..73eef18c234bffdbca029d27770474925c01671a 100644 (file)
@@ -152,6 +152,7 @@ processors[] =
   { bfd_mach_arm_8,      "cortex-a77"      },
   { bfd_mach_arm_8,      "cortex-a78"      },
   { bfd_mach_arm_8,      "cortex-a78ae"    },
+  { bfd_mach_arm_8,      "cortex-a78c"     },
   { bfd_mach_arm_6SM,    "cortex-m0"       },
   { bfd_mach_arm_6SM,    "cortex-m0plus"   },
   { bfd_mach_arm_6SM,    "cortex-m1"       },
index f047e8d16ab0e5f523f42c34f8d9efbfbcac0971..369377660b19effaab222d539d5cee56b5bf60d2 100644 (file)
@@ -1,3 +1,9 @@
+2020-11-16  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Add Cortex-A78C.
+       * doc/c-arm.texi: Document -mcpu=cortex-a78c.
+       * testsuite/gas/arm/cpu-cortex-a78c.d: New test.
+
 2020-11-14  Borislav Petkov  <bp@suse.de>
 
        * testsuite/gas/i386/x86-64-segovr.d: Adjust regexes.
index b87b277df60b5e2180e819ee0a945194c580a793..841fcb1dfa8a18e0ecc2ff3f58da93a1bee13f69 100644 (file)
@@ -31554,6 +31554,9 @@ static const struct arm_cpu_option_table arm_cpus[] =
   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 ("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 ("ares",    "Ares",             ARM_ARCH_V8_2A,
               ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST),
               FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD),
index a3d6a5d3af07a2c746e9e335320de508db44a11a..faaa2ad2208380e703b8bd21fa5c16cccd969ccc 100644 (file)
@@ -133,6 +133,7 @@ recognized:
 @code{cortex-a77},
 @code{cortex-a78},
 @code{cortex-a78ae},
+@code{cortex-a78c},
 @code{ares},
 @code{cortex-r4},
 @code{cortex-r4f},
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a78c.d b/gas/testsuite/gas/arm/cpu-cortex-a78c.d
new file mode 100644 (file)
index 0000000..e1a90e4
--- /dev/null
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a78c CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a78c
+# objdump: -d -mcortex-a78c
+
+#...
This page took 0.039222 seconds and 4 git commands to generate.