diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c index 76a8f9a4a9a9f02365c4fb77806eca4c1dee379a..73eef18c234bffdbca029d27770474925c01671a 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/config/tc-arm.c b/gas/config/tc-arm.c index 71d826b05dab93a01ac4d7fd9634c3c11678a76c..e471e45f41e59e12ec5ed2ebb6b947e727ea4532 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 a3d6a5d3af07a2c746e9e335320de508db44a11a..faaa2ad2208380e703b8bd21fa5c16cccd969ccc 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 0000000000000000000000000000000000000000..e1a90e4d83e209675ca7ff52a242b090907a0738 --- /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 + +#...