[AArch64] Rename +bitperm to +sve2-bitperm
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 19 Jul 2019 11:18:02 +0000 (12:18 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 19 Jul 2019 11:18:02 +0000 (12:18 +0100)
After some discussion, we've decided to rename the +bitperm feature
flag to +sve2-bitperm, so that it's consistent with the other SVE2
feature flags.  The associated internal macros already used
"SVE2_BITPERM", so only the feature flag itself needs to change.

2019-07-19  Richard Sandiford  <richard.sandiford@arm.com>

gas/
* doc/c-aarch64.texi: Remame the +bitperm extension to +sve2-bitperm.
* config/tc-aarch64.c (aarch64_features): Likewise.
* testsuite/gas/aarch64/illegal-sve2-aes.d: Update accordingly.
* testsuite/gas/aarch64/illegal-sve2-sha3.d: Likewise.
* testsuite/gas/aarch64/illegal-sve2-sm4.d: Likewise.
* testsuite/gas/aarch64/illegal-sve2.d: Likewise.
* testsuite/gas/aarch64/sve2.d: Likewise.

gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi
gas/testsuite/gas/aarch64/illegal-sve2-aes.d
gas/testsuite/gas/aarch64/illegal-sve2-sha3.d
gas/testsuite/gas/aarch64/illegal-sve2-sm4.d
gas/testsuite/gas/aarch64/illegal-sve2.d
gas/testsuite/gas/aarch64/sve2.d

index b445ba3f827cbf8ce8b848c77f3da84171f39e1a..fa190309b6bf06a70269b146e7122f554193698a 100644 (file)
@@ -1,3 +1,13 @@
+2019-07-19  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * doc/c-aarch64.texi: Remame the +bitperm extension to +sve2-bitperm.
+       * config/tc-aarch64.c (aarch64_features): Likewise.
+       * testsuite/gas/aarch64/illegal-sve2-aes.d: Update accordingly.
+       * testsuite/gas/aarch64/illegal-sve2-sha3.d: Likewise.
+       * testsuite/gas/aarch64/illegal-sve2-sm4.d: Likewise.
+       * testsuite/gas/aarch64/illegal-sve2.d: Likewise.
+       * testsuite/gas/aarch64/sve2.d: Likewise.
+
 2019-07-19  Alan Modra  <amodra@gmail.com>
 
        * config/tc-ppc.c (ppc_elf_suffix): Map "tls@pcrel", "got@tlsgd@pcrel",
index 47af14389ee54129bd05212c9119184b93fac1d4..4c19cd4a24a7459bd5b48493ea95f40c96a9a0fa 100644 (file)
@@ -8963,7 +8963,7 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
   {"sve2-sha3",                AARCH64_FEATURE (AARCH64_FEATURE_SVE2_SHA3, 0),
                        AARCH64_FEATURE (AARCH64_FEATURE_SVE2
                                         | AARCH64_FEATURE_SHA3, 0)},
-  {"bitperm",          AARCH64_FEATURE (AARCH64_FEATURE_SVE2_BITPERM, 0),
+  {"sve2-bitperm",     AARCH64_FEATURE (AARCH64_FEATURE_SVE2_BITPERM, 0),
                        AARCH64_FEATURE (AARCH64_FEATURE_SVE2, 0)},
   {NULL,               AARCH64_ARCH_NONE, AARCH64_ARCH_NONE},
 };
index 6844f5980214919bec6d1a37b76d0a69ebb12983..05e49ad6a8c0385bacb3df5d562f7863764fd768 100644 (file)
@@ -198,7 +198,7 @@ automatically cause those extensions to be disabled.
  @tab Enable Transactional Memory Extensions.
 @item @code{sve2} @tab ARMv8-A @tab No
  @tab Enable the SVE2 Extension.
-@item @code{bitperm} @tab ARMv8-A @tab No
+@item @code{sve2-bitperm} @tab ARMv8-A @tab No
  @tab Enable SVE2 BITPERM Extension.
 @item @code{sve2-sm4} @tab ARMv8-A @tab No
  @tab Enable SVE2 SM4 Extension.
index 926db22e4d2b38823d9f9d2328f1052f6397d05c..e4453f8261c59fa671eefe1259a5bca9ff1d8d1c 100644 (file)
@@ -1,5 +1,5 @@
 #name: Missing SVE2 AES argument
-#as: -march=armv8-a+sve2+sve2-sm4+sve2-sha3+bitperm
+#as: -march=armv8-a+sve2+sve2-sm4+sve2-sha3+sve2-bitperm
 #source: sve2.s
 #error: [^ :]+: Assembler messages:
 #error: [^ :]+:[0-9]+: Error: selected processor does not support `aesd z17\.b,z17\.b,z21\.b'
index 35b03826f6ea1ea60b348e68669bc8cc0a8bcf6d..5c1430c962664499a25b58e5e783343e3d380c98 100644 (file)
@@ -1,5 +1,5 @@
 #name: Missing SVE2 SHA3 argument
-#as: -march=armv8-a+sve2+sve2-sm4+sve2-aes+bitperm
+#as: -march=armv8-a+sve2+sve2-sm4+sve2-aes+sve2-bitperm
 #source: sve2.s
 #error: [^ :]+: Assembler messages:
 #error: [^ :]+:[0-9]+: Error: selected processor does not support `rax1 z17\.d,z21\.d,z27\.d'
index ee3734fdabee06078477ad00b78d2f9b870bc26c..7c3c1e53422309d5f61236a097a3185944971604 100644 (file)
@@ -1,5 +1,5 @@
 #name: Missing SVE2 SM4 argument
-#as: -march=armv8-a+sve2+sve2-sha3+sve2-aes+bitperm
+#as: -march=armv8-a+sve2+sve2-sha3+sve2-aes+sve2-bitperm
 #source: sve2.s
 #error: [^ :]+: Assembler messages:
 #error: [^ :]+:[0-9]+: Error: selected processor does not support `sm4e z17\.s,z17\.s,z21\.s'
index f1626ac9dde6dd39829b3cefb5eeff8978f0bf44..5d0fa5e764696410022a7ad6d51b9937b4091482 100644 (file)
@@ -1,4 +1,4 @@
 #name: Illegal SVE2
-#as: -march=armv8-a+sve2+sve2-aes+sve2-sm4+sve2-sha3+bitperm
+#as: -march=armv8-a+sve2+sve2-aes+sve2-sm4+sve2-sha3+sve2-bitperm
 #source: illegal-sve2.s
 #error_output: illegal-sve2.l
index 5324583020fda14912f799ac15a41ab5dfebc1ab..f8be1c57c3287dd84a12d9554d1fffa6260c14f5 100644 (file)
@@ -1,4 +1,4 @@
-#as: -march=armv8-a+sve2+sve2-aes+sve2-sm4+sve2-sha3+bitperm
+#as: -march=armv8-a+sve2+sve2-aes+sve2-sm4+sve2-sha3+sve2-bitperm
 #objdump: -dr
 
 [^:]+:     file format .*