aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-05-06 19:09:12 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-05-06 19:09:12 -0700
commit57930ca905fa38203fb62d8786bab4fc6cf42a44 (patch)
treed289ec3e445c302f0b064847c8938f38e8de6b53 /gas
parent6ec91bb19f9b4dc97f11c695f193990732f70192 (diff)
downloadfsf-binutils-gdb-57930ca905fa38203fb62d8786bab4fc6cf42a44.zip
fsf-binutils-gdb-57930ca905fa38203fb62d8786bab4fc6cf42a44.tar.gz
fsf-binutils-gdb-57930ca905fa38203fb62d8786bab4fc6cf42a44.tar.bz2
i386: Append ".p2align 4,0" to gas tests
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog11
-rw-r--r--gas/testsuite/gas/i386/avx512f-plain.l2
-rw-r--r--gas/testsuite/gas/i386/avx512f-plain.s1
-rw-r--r--gas/testsuite/gas/i386/avx512vl-plain.l2
-rw-r--r--gas/testsuite/gas/i386/avx512vl-plain.s1
-rw-r--r--gas/testsuite/gas/i386/bnd.l2
-rw-r--r--gas/testsuite/gas/i386/bnd.s1
-rw-r--r--gas/testsuite/gas/i386/stN.l2
-rw-r--r--gas/testsuite/gas/i386/stN.s1
9 files changed, 23 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a46492b..dc1d25a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/testsuite/gas/i386/avx512f-plain.l b/gas/testsuite/gas/i386/avx512f-plain.l
index d910b76..3c7ce91 100644
--- a/gas/testsuite/gas/i386/avx512f-plain.l
+++ b/gas/testsuite/gas/i386/avx512f-plain.l
@@ -24,3 +24,5 @@ GAS LISTING .*
[ ]*15[ ]+\.arch \.vpclmulqdq
[ ]*16[ ]+\?\?\?\? 62F36D48[ ]+vpclmulqdq[ ]+\$0, %zmm1, %zmm2, %zmm3
[ ]*16[ ]+44D900
+[ ]*17[ ]+\?\?\?\? 00000000 \.p2align 4,0
+#...
diff --git a/gas/testsuite/gas/i386/avx512f-plain.s b/gas/testsuite/gas/i386/avx512f-plain.s
index d295d70..03a0ed7 100644
--- a/gas/testsuite/gas/i386/avx512f-plain.s
+++ b/gas/testsuite/gas/i386/avx512f-plain.s
@@ -14,3 +14,4 @@ _start:
.arch .vpclmulqdq
vpclmulqdq $0, %zmm1, %zmm2, %zmm3
+ .p2align 4,0
diff --git a/gas/testsuite/gas/i386/avx512vl-plain.l b/gas/testsuite/gas/i386/avx512vl-plain.l
index 447c615..c2dee22 100644
--- a/gas/testsuite/gas/i386/avx512vl-plain.l
+++ b/gas/testsuite/gas/i386/avx512vl-plain.l
@@ -24,3 +24,5 @@ GAS LISTING .*
[ ]*15[ ]+\.arch \.vpclmulqdq
[ ]*16[ ]+\?\?\?\? 62F36D28[ ]+\{evex\} vpclmulqdq[ ]+\$0, %ymm1, %ymm2, %ymm3
[ ]*16[ ]+44D900
+[ ]*17[ ]+\?\?\?\? 00000000 \.p2align 4,0
+#...
diff --git a/gas/testsuite/gas/i386/avx512vl-plain.s b/gas/testsuite/gas/i386/avx512vl-plain.s
index 711f13a..75e3561 100644
--- a/gas/testsuite/gas/i386/avx512vl-plain.s
+++ b/gas/testsuite/gas/i386/avx512vl-plain.s
@@ -14,3 +14,4 @@ _start:
.arch .vpclmulqdq
{evex} vpclmulqdq $0, %ymm1, %ymm2, %ymm3
+ .p2align 4,0
diff --git a/gas/testsuite/gas/i386/bnd.l b/gas/testsuite/gas/i386/bnd.l
index 4222896..c9377d8 100644
--- a/gas/testsuite/gas/i386/bnd.l
+++ b/gas/testsuite/gas/i386/bnd.l
@@ -10,3 +10,5 @@ GAS LISTING .*
[ ]*5[ ]+\?\?\?\? A1000000[ ]+mov eax, bnd0
[ ]*5[ ]+00
[ ]*6[ ]+bndmov bnd0, bnd0
+[ ]*7[ ]+\?\?\?\? 00000000 \.p2align 4,0
+#...
diff --git a/gas/testsuite/gas/i386/bnd.s b/gas/testsuite/gas/i386/bnd.s
index 9ca4ce7..e2c61bf 100644
--- a/gas/testsuite/gas/i386/bnd.s
+++ b/gas/testsuite/gas/i386/bnd.s
@@ -4,3 +4,4 @@
bnd:
mov eax, bnd0
bndmov bnd0, bnd0
+ .p2align 4,0
diff --git a/gas/testsuite/gas/i386/stN.l b/gas/testsuite/gas/i386/stN.l
index 5885686..8769004 100644
--- a/gas/testsuite/gas/i386/stN.l
+++ b/gas/testsuite/gas/i386/stN.l
@@ -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
+#...
diff --git a/gas/testsuite/gas/i386/stN.s b/gas/testsuite/gas/i386/stN.s
index 6a1512e..ef6177e 100644
--- a/gas/testsuite/gas/i386/stN.s
+++ b/gas/testsuite/gas/i386/stN.s
@@ -6,3 +6,4 @@ stN:
mov eax, st(7)
mov eax, st ( 7 )
mov eax, x(7)
+ .p2align 4,0