i386: Append ".p2align 4,0" to gas tests
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 7 May 2018 02:09:12 +0000 (19:09 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 7 May 2018 02:09:12 +0000 (19:09 -0700)
Append ".p2align 4,0" to i386 assembler tests to support mingw targets.

* testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0".
* testsuite/gas/i386/avx512vl-plain.s: Likewise.
* testsuite/gas/i386/bnd.s: Likewise.
* testsuite/gas/i386/stN.s: Likewise.
* testsuite/gas/i386/avx512f-plain.l: Updated.
* testsuite/gas/i386/avx512vl-plain.l: Likewise.
* testsuite/gas/i386/bnd.l: Likewise.
* testsuite/gas/i386/stN.l: Likewise.

gas/ChangeLog
gas/testsuite/gas/i386/avx512f-plain.l
gas/testsuite/gas/i386/avx512f-plain.s
gas/testsuite/gas/i386/avx512vl-plain.l
gas/testsuite/gas/i386/avx512vl-plain.s
gas/testsuite/gas/i386/bnd.l
gas/testsuite/gas/i386/bnd.s
gas/testsuite/gas/i386/stN.l
gas/testsuite/gas/i386/stN.s

index a46492ba9ad0521e13920f4e9c28ab21adf08f13..dc1d25a0a621413c8fa38c90f37111abaec2f1a3 100644 (file)
@@ -1,3 +1,14 @@
+2018-05-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/avx512f-plain.s: Append ".p2align 4,0".
+       * testsuite/gas/i386/avx512vl-plain.s: Likewise.
+       * testsuite/gas/i386/bnd.s: Likewise.
+       * testsuite/gas/i386/stN.s: Likewise.
+       * testsuite/gas/i386/avx512f-plain.l: Updated.
+       * testsuite/gas/i386/avx512vl-plain.l: Likewise.
+       * testsuite/gas/i386/bnd.l: Likewise.
+       * testsuite/gas/i386/stN.l: Likewise.
+
 2018-05-04  Alan Modra  <amodra@gmail.com>
 
        * config/obj-evax.c (shorten_identifier): Use memcpy in place
index d910b762bf47dab5b5bccd2fff5567bdd86b639e..3c7ce91020d116e190adc94c123ad2b0cc8c0f71 100644 (file)
@@ -24,3 +24,5 @@ GAS LISTING .*
 [      ]*15[   ]+\.arch \.vpclmulqdq
 [      ]*16[   ]+\?\?\?\? 62F36D48[    ]+vpclmulqdq[   ]+\$0, %zmm1, %zmm2, %zmm3
 [      ]*16[   ]+44D900
+[      ]*17[   ]+\?\?\?\? 00000000             \.p2align 4,0
+#...
index d295d70f5bfe8d4e3bd963b0e476b1b38d6afa89..03a0ed7b8d9cb8dfce89a7806bb958dd75e443dc 100644 (file)
@@ -14,3 +14,4 @@ _start:
 
        .arch .vpclmulqdq
        vpclmulqdq      $0, %zmm1, %zmm2, %zmm3
+       .p2align 4,0
index 447c615c98df653f4edcab9659c5c88369aeea1f..c2dee22022ec1ff06c5362f9f358a7e729f4e102 100644 (file)
@@ -24,3 +24,5 @@ GAS LISTING .*
 [      ]*15[   ]+\.arch \.vpclmulqdq
 [      ]*16[   ]+\?\?\?\? 62F36D28[    ]+\{evex\} vpclmulqdq[  ]+\$0, %ymm1, %ymm2, %ymm3
 [      ]*16[   ]+44D900
+[      ]*17[   ]+\?\?\?\? 00000000             \.p2align 4,0
+#...
index 711f13a9ef0fcca4a004f847764ed3a7bc0fb0be..75e356158a749fb4af2f7e7738185771dc0a7936 100644 (file)
@@ -14,3 +14,4 @@ _start:
 
        .arch .vpclmulqdq
        {evex} vpclmulqdq       $0, %ymm1, %ymm2, %ymm3
+       .p2align 4,0
index 422289660dfa0afa2b1cca58d893c877c179512a..c9377d8c4b2a2d0c6fac2bad2fb2ea9476641239 100644 (file)
@@ -10,3 +10,5 @@ GAS LISTING .*
 [      ]*5[    ]+\?\?\?\? A1000000[    ]+mov   eax, bnd0
 [      ]*5[    ]+00
 [      ]*6[    ]+bndmov        bnd0, bnd0
+[      ]*7[    ]+\?\?\?\? 00000000             \.p2align 4,0
+#...
index 9ca4ce7322e841705270941892c5d528d6cd9e7b..e2c61bf4ed071c258f57d14f3dd93c5e8641ccdc 100644 (file)
@@ -4,3 +4,4 @@
 bnd:
        mov     eax, bnd0
        bndmov  bnd0, bnd0
+       .p2align 4,0
index 5885686e7e2b0821e86340339642347d57812026..8769004dc36f2155ff4a1ce83bb022396adb2038 100644 (file)
@@ -14,3 +14,5 @@ GAS LISTING .*
 [      ]*6[    ]+mov   eax, st\(7\)
 [      ]*7[    ]+mov   eax, st \( 7 \)
 [      ]*8[    ]+mov   eax, x\(7\)
+[      ]*9[    ]+\?\?\?\? 00000000             \.p2align 4,0
+#...
index 6a1512e526f8659e7ae1dbd1e8a73b330a1abb41..ef6177e8af155f560db698373290f8cda9b79309 100644 (file)
@@ -6,3 +6,4 @@ stN:
        mov     eax, st(7)
        mov     eax, st ( 7 )
        mov     eax, x(7)
+       .p2align 4,0