public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] aarch64: Enable Cortex-A720 CPU
@ 2023-08-16 13:09 Richard Ball
  0 siblings, 0 replies; only message in thread
From: Richard Ball @ 2023-08-16 13:09 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7d6a2e34ee8eb061cf73014efefefaa074b499db

commit 7d6a2e34ee8eb061cf73014efefefaa074b499db
Author: Richard Ball <richard.ball@arm.com>
Date:   Wed Aug 16 14:08:09 2023 +0100

    aarch64: Enable Cortex-A720 CPU
    
    This patch adds support for the Cortex-A720 CPU to binutils.
    
    bfd/ChangeLog:
    
            * cpu-aarch64.c: Add Cortex-A720.
    
    gas/ChangeLog:
    
            * NEWS: Update docs.
            * config/tc-aarch64.c: Add Cortex-A720.
            * doc/c-aarch64.texi: Update docs.
            * testsuite/gas/aarch64/cpu-cortex-a720.d: New test.

Diff:
---
 bfd/cpu-aarch64.c                           | 3 ++-
 gas/NEWS                                    | 2 ++
 gas/config/tc-aarch64.c                     | 5 +++++
 gas/doc/c-aarch64.texi                      | 1 +
 gas/testsuite/gas/aarch64/cpu-cortex-a720.d | 6 ++++++
 5 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/bfd/cpu-aarch64.c b/bfd/cpu-aarch64.c
index 75a0338b90c..df0d8c8c0dd 100644
--- a/bfd/cpu-aarch64.c
+++ b/bfd/cpu-aarch64.c
@@ -73,7 +73,8 @@ processors[] =
   { bfd_mach_aarch64,	  "cortex-a65"	    },
   { bfd_mach_aarch64,	  "cortex-a65ae"    },
   { bfd_mach_aarch64,	  "cortex-a76ae"    },
-  { bfd_mach_aarch64,	  "cortex-a77"	    }
+  { bfd_mach_aarch64,	  "cortex-a77"	    },
+  { bfd_mach_aarch64,	  "cortex-a720"	    }
 };
 
 static bool
diff --git a/gas/NEWS b/gas/NEWS
index 07ba7566105..41eb1ab89fe 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -12,6 +12,8 @@
 
 * Add support for Cortex-A520 for AArch64.
 
+* Add support for Cortex-A720 for AArch64.
+
 Changes in 2.41:
 
 * Add support for Intel FRED instructions.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index e692161105a..19fbc7c4646 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10237,6 +10237,11 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
                   | AARCH64_FEATURE_MEMTAG
                   | AARCH64_FEATURE_SVE2_BITPERM),
    "Cortex-A710"},
+  {"cortex-a720", AARCH64_FEATURE (AARCH64_ARCH_V9_2,
+                  AARCH64_FEATURE_MEMTAG
+		  | AARCH64_FEATURE_PROFILE
+                  | AARCH64_FEATURE_SVE2_BITPERM),
+   "Cortex-A720"},
   {"ares", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
 				  AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16
 				  | AARCH64_FEATURE_DOTPROD
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index ed6b46e0422..5e8ac0b4e7c 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -74,6 +74,7 @@ on the target processor.  The following processor names are recognized:
 @code{cortex-a510},
 @code{cortex-a520},
 @code{cortex-a710},
+@code{cortex-a720},
 @code{ares},
 @code{exynos-m1},
 @code{falkor},
diff --git a/gas/testsuite/gas/aarch64/cpu-cortex-a720.d b/gas/testsuite/gas/aarch64/cpu-cortex-a720.d
new file mode 100644
index 00000000000..c0b1f2b3375
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/cpu-cortex-a720.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a720 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a720
+# objdump: -d -mcortex-a720
+
+#...

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-16 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-16 13:09 [binutils-gdb] aarch64: Enable Cortex-A720 CPU Richard Ball

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).