aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2020-11-16 20:26:29 +0000
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>2020-11-16 20:28:14 +0000
commit1bbda94fe0174714e296335e7cc744b5fb618525 (patch)
treefd0d2e635175fe874c31456517ffe5ec051470b6 /gas
parent119e99bb7f5059ed31e574f0ceda8fbe9951403b (diff)
downloadgdb-1bbda94fe0174714e296335e7cc744b5fb618525.zip
gdb-1bbda94fe0174714e296335e7cc744b5fb618525.tar.gz
gdb-1bbda94fe0174714e296335e7cc744b5fb618525.tar.bz2
arm: Add support for Cortex-A78C
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
Diffstat (limited to 'gas')
-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
4 files changed, 16 insertions, 0 deletions
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
+
+#...