aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/cpu-arm.c1
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-arm.c3
-rw-r--r--gas/doc/c-arm.texi1
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a78c.d6
6 files changed, 21 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8e5822f..a06d5a7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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...
diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c
index 76a8f9a..73eef18 100644
--- a/bfd/cpu-arm.c
+++ b/bfd/cpu-arm.c
@@ -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" },
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f047e8d..3693776 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index b87b277..841fcb1 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index a3d6a5d..faaa2ad 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -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
index 0000000..e1a90e4
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a78c.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a78c CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a78c
+# objdump: -d -mcortex-a78c
+
+#...