]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[AArch64] Add support for ARMv8.1 command line option
authorMatthew Wahab <matthew.wahab@arm.com>
Thu, 4 Jun 2015 10:14:07 +0000 (11:14 +0100)
committerJiong Wang <jiong.wang@arm.com>
Thu, 4 Jun 2015 10:14:07 +0000 (11:14 +0100)
gas/ChangeLog
gas/NEWS
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi
include/opcode/ChangeLog
include/opcode/aarch64.h

index 96c1b327b7342ac269e2576ba846822e9d0326cd..7424cf8a4209d9b6c0a7f7f0c342e1351b43db95 100644 (file)
@@ -1,3 +1,9 @@
+2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * NEWS: Mention ARMv8.1 support in the Aarch64 port.
+       * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
+       * doc/c-aarch64.texi (-march): Add "armv8.1-a".
+
 2015-06-04  Renlin Li  <renlin.li@arm.com>
 
        * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
index 02a434c3185d306298600794f5eae26e94ecd740..986325d0b7509c3fe03340749499a2effc6e753e 100644 (file)
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -2,6 +2,10 @@
 
 Changes in 2.26:
 
+* Support for the ARMv8.1 architecture has been added to the Aarch64 port.
+  Support for the individual ARMv8.1 Adv.SIMD, LOR and PAN architecture
+  extensions has also been added to the Aarch64 port.
+
 * Support for the ARMv8.1 architecture has been added to the ARM port.  Support
   for the individual ARMv8.1 Adv.SIMD and PAN architecture extensions has also
   been added to the ARM port.
index 26df2f24337e1b4bc16be35b643a5fa6c751740e..e95d5f6fe2075e59c425179aeee11e0e13736831 100644 (file)
@@ -7383,6 +7383,7 @@ struct aarch64_arch_option_table
 static const struct aarch64_arch_option_table aarch64_archs[] = {
   {"all", AARCH64_ANY},
   {"armv8-a", AARCH64_ARCH_V8},
+  {"armv8.1-a", AARCH64_ARCH_V8_1},
   {NULL, AARCH64_ARCH_NONE}
 };
 
index 43c1a3631e5ff515568850ab15f5f929cdc99d9f..0fe3a84f441e895ebadabcd6cd2b8446fb245b04 100644 (file)
@@ -81,7 +81,8 @@ extensions.
 This option specifies the target architecture.  The assembler will
 issue an error message if an attempt is made to assemble an
 instruction which will not execute on the target architecture.  The
-only value for @var{architecture} is @code{armv8-a}.
+following architecture names are recognized: @code{armv8-a} and
+@code{armv8.1-a}.
 
 If both @option{-mcpu} and @option{-march} are specified, the
 assembler will use the setting for @option{-mcpu}.  If neither are
index 8a57fac0f158600c4c420651267e93f38fa46b79..0caabd52afab4e1f78cabcb0fde4115f2f61c525 100644 (file)
@@ -1,3 +1,7 @@
+2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * aarch64.h (AARCH64_V8_1): New.
+
 2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
 
        * arm.h (FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_1): New.
index c47f9ddd8a6ea4ef66b1d35dff224a9cbae75095..dcf0fefd19e5e4922c006d8b1355aba459ade98d 100644 (file)
@@ -47,6 +47,15 @@ typedef uint32_t aarch64_insn;
 #define AARCH64_ARCH_V8                AARCH64_FEATURE (AARCH64_FEATURE_V8, \
                                                 AARCH64_FEATURE_FP  \
                                                 | AARCH64_FEATURE_SIMD)
+#define AARCH64_ARCH_V8_1      AARCH64_FEATURE (AARCH64_FEATURE_V8, \
+                                                AARCH64_FEATURE_FP  \
+                                                | AARCH64_FEATURE_SIMD \
+                                                | AARCH64_FEATURE_LSE  \
+                                                | AARCH64_FEATURE_PAN  \
+                                                | AARCH64_FEATURE_LOR  \
+                                                | AARCH64_FEATURE_RDMA)
+
+
 #define AARCH64_ARCH_NONE      AARCH64_FEATURE (0, 0)
 #define AARCH64_ANY            AARCH64_FEATURE (-1, 0) /* Any basic core.  */