This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, AArch64] change gas arch option name 'armv8' to 'armv8-a'


Hi,

This patch updates the AArch64 gas -march option name from 'armv8' to 'armv8-a' to be in alignment with AArch64 gcc and 32-bit ARM binutils etc.

Is it OK to commit?

Thanks,
Yufeng



gas/

2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>

* config/tc-aarch64.c (aarch64_archs): Rename 'armv8' to 'armv8-a'.

gas/testsuite/

2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>

        * gas/aarch64/crypto.d (#as): Update.
        * gas/aarch64/int-insns.d (#as): Update.
        * gas/aarch64/legacy_reg_names.s (.arch): Update.
        * gas/aarch64/neon-not.s (.arch): Update.
        * gas/aarch64/neon-vfp-reglist-post.s (.arch): Update.
        * gas/aarch64/neon-vfp-reglist.s (.arch): Update.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 4333e8e..843923b 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -6971,7 +6971,7 @@ struct aarch64_arch_option_table
    recognized by GCC.  */
 static const struct aarch64_arch_option_table aarch64_archs[] = {
   {"all", AARCH64_ANY},
-  {"armv8", AARCH64_ARCH_V8},
+  {"armv8-a", AARCH64_ARCH_V8},
   {NULL, AARCH64_ARCH_NONE}
 };
 
diff --git a/gas/testsuite/gas/aarch64/crypto.d b/gas/testsuite/gas/aarch64/crypto.d
index 7e12b1a..6c12eec 100644
--- a/gas/testsuite/gas/aarch64/crypto.d
+++ b/gas/testsuite/gas/aarch64/crypto.d
@@ -1,5 +1,5 @@
 #objdump: -dr
-#as: -march=armv8+crypto
+#as: -march=armv8-a+crypto
 
 .*:     file format .*
 
diff --git a/gas/testsuite/gas/aarch64/int-insns.d b/gas/testsuite/gas/aarch64/int-insns.d
index d6ba840..cf939de 100644
--- a/gas/testsuite/gas/aarch64/int-insns.d
+++ b/gas/testsuite/gas/aarch64/int-insns.d
@@ -1,5 +1,5 @@
 #objdump: -dr
-#as: -march=armv8
+#as: -march=armv8-a
 
 .*:     file format .*
 
diff --git a/gas/testsuite/gas/aarch64/legacy_reg_names.s b/gas/testsuite/gas/aarch64/legacy_reg_names.s
index 9426e61..c20e019 100644
--- a/gas/testsuite/gas/aarch64/legacy_reg_names.s
+++ b/gas/testsuite/gas/aarch64/legacy_reg_names.s
@@ -1,6 +1,6 @@
 
 	.text
-	.arch armv8
+	.arch armv8-a
 
 	dup v0.b, v1.b[7] 
 	mov r0.w, r1.w
diff --git a/gas/testsuite/gas/aarch64/neon-not.s b/gas/testsuite/gas/aarch64/neon-not.s
index 50e62bc..d2cd77b 100644
--- a/gas/testsuite/gas/aarch64/neon-not.s
+++ b/gas/testsuite/gas/aarch64/neon-not.s
@@ -1,7 +1,7 @@
 
 
 	.text
-	.arch armv8
+	.arch armv8-a
 
 	.irp r, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
 	not v\r\().8b, v\r\().8b
diff --git a/gas/testsuite/gas/aarch64/neon-vfp-reglist-post.s b/gas/testsuite/gas/aarch64/neon-vfp-reglist-post.s
index 5c77548..eac021d 100644
--- a/gas/testsuite/gas/aarch64/neon-vfp-reglist-post.s
+++ b/gas/testsuite/gas/aarch64/neon-vfp-reglist-post.s
@@ -2,7 +2,7 @@
 	# ARMv8 tests to test neon register 
 	# lists syntax.
 	.text
-	.arch armv8
+	.arch armv8-a
 
 	# Post-index multiple elements
 
diff --git a/gas/testsuite/gas/aarch64/neon-vfp-reglist.s b/gas/testsuite/gas/aarch64/neon-vfp-reglist.s
index 00dbe61..3624571 100644
--- a/gas/testsuite/gas/aarch64/neon-vfp-reglist.s
+++ b/gas/testsuite/gas/aarch64/neon-vfp-reglist.s
@@ -20,7 +20,7 @@
 	.endm
 
 	.text
-	.arch armv8
+	.arch armv8-a
 
 	ldnstn_reg_list type="8B", inst="ld" index="" rep=""
 	ldnstn_reg_list type="8B", inst="st" index="" rep=""

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]