summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-05-26 07:55:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-05-26 07:55:38 -0700
commit8d5b9a5a3012a5e4a39823cc51afc559c354d76f (patch)
treedd2e3d0ca834b2a005a965432fbcd2bc7867b9c7
parent81cead6f5e9b765788483ad66f490f7540264eba (diff)
downloadbinutils-gdb-8d5b9a5a3012a5e4a39823cc51afc559c354d76f.tar.gz
Append ".p2align 4" to some x86 directive tests
Append ".p2align 4" to some x86 directive tests for explicit paddings for section alignment to avoid implicit section alignment in assembler listings. * testsuite/gas/i386/avx512vl-2.l: Append "#pass". * testsuite/gas/i386/noavx-1.l: Likewise. * testsuite/gas/i386/nommx-1.l: Likewise. * testsuite/gas/i386/nosse-1.l: Likewise. * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise. * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4". * testsuite/gas/i386/noavx-1.s: Likewise. * testsuite/gas/i386/nommx-1.s: Likewise. * testsuite/gas/i386/nosse-1.s: Likewise. * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
-rw-r--r--gas/ChangeLog13
-rw-r--r--gas/testsuite/gas/i386/avx512vl-2.l1
-rw-r--r--gas/testsuite/gas/i386/avx512vl-2.s1
-rw-r--r--gas/testsuite/gas/i386/noavx-1.l1
-rw-r--r--gas/testsuite/gas/i386/noavx-1.s1
-rw-r--r--gas/testsuite/gas/i386/nommx-1.l1
-rw-r--r--gas/testsuite/gas/i386/nommx-1.s1
-rw-r--r--gas/testsuite/gas/i386/nosse-1.l1
-rw-r--r--gas/testsuite/gas/i386/nosse-1.s1
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx512vl-2.l1
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx512vl-2.s1
11 files changed, 23 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b21e332d80d..78d548faedc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,16 @@
+2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
+ * testsuite/gas/i386/noavx-1.l: Likewise.
+ * testsuite/gas/i386/nommx-1.l: Likewise.
+ * testsuite/gas/i386/nosse-1.l: Likewise.
+ * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
+ * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
+ * testsuite/gas/i386/noavx-1.s: Likewise.
+ * testsuite/gas/i386/nommx-1.s: Likewise.
+ * testsuite/gas/i386/nosse-1.s: Likewise.
+ * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
+
2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-metag.c (metag_handle_align): Make the type of noop
diff --git a/gas/testsuite/gas/i386/avx512vl-2.l b/gas/testsuite/gas/i386/avx512vl-2.l
index 2f1f7b37202..af7a9411ccf 100644
--- a/gas/testsuite/gas/i386/avx512vl-2.l
+++ b/gas/testsuite/gas/i386/avx512vl-2.l
@@ -25,3 +25,4 @@ GAS LISTING .*
[ ]*14[ ]+C4E8
[ ]*15[ ]+\?\?\?\? 62F27D48 vpconflictd %zmm0, %zmm5
[ ]*15[ ]+C4E8
+#pass
diff --git a/gas/testsuite/gas/i386/avx512vl-2.s b/gas/testsuite/gas/i386/avx512vl-2.s
index 6a24a1f1a0c..a98bd155928 100644
--- a/gas/testsuite/gas/i386/avx512vl-2.s
+++ b/gas/testsuite/gas/i386/avx512vl-2.s
@@ -13,3 +13,4 @@ _start:
vpconflictd %xmm0, %xmm5
vpconflictd %ymm0, %ymm5
vpconflictd %zmm0, %zmm5
+ .p2align 4
diff --git a/gas/testsuite/gas/i386/noavx-1.l b/gas/testsuite/gas/i386/noavx-1.l
index f4e2840a4fc..d19fe81b37d 100644
--- a/gas/testsuite/gas/i386/noavx-1.l
+++ b/gas/testsuite/gas/i386/noavx-1.l
@@ -11,3 +11,4 @@ GAS LISTING .*
[ ]*6[ ]+\?\?\?\? C5F877 vzeroupper
[ ]*7[ ]+\.arch \.noavx
[ ]*8[ ]+vzeroupper
+#pass
diff --git a/gas/testsuite/gas/i386/noavx-1.s b/gas/testsuite/gas/i386/noavx-1.s
index 759b429a241..bb7813fe356 100644
--- a/gas/testsuite/gas/i386/noavx-1.s
+++ b/gas/testsuite/gas/i386/noavx-1.s
@@ -6,3 +6,4 @@
vzeroupper
.arch .noavx
vzeroupper
+ .p2align 4
diff --git a/gas/testsuite/gas/i386/nommx-1.l b/gas/testsuite/gas/i386/nommx-1.l
index 2b7a6ca9b57..41f98799e1c 100644
--- a/gas/testsuite/gas/i386/nommx-1.l
+++ b/gas/testsuite/gas/i386/nommx-1.l
@@ -19,3 +19,4 @@ GAS LISTING .*
[ ]*12[ ]+\?\?\?\? 0F0FC1BB pswapd %mm1,%mm0
[ ]*13[ ]+\.arch \.nommx
[ ]*14[ ]+emms
+#pass
diff --git a/gas/testsuite/gas/i386/nommx-1.s b/gas/testsuite/gas/i386/nommx-1.s
index f87eddac6ef..1040b53ae8f 100644
--- a/gas/testsuite/gas/i386/nommx-1.s
+++ b/gas/testsuite/gas/i386/nommx-1.s
@@ -12,3 +12,4 @@
pswapd %mm1,%mm0
.arch .nommx
emms
+ .p2align 4
diff --git a/gas/testsuite/gas/i386/nosse-1.l b/gas/testsuite/gas/i386/nosse-1.l
index 486241b7a8e..2551174e0f8 100644
--- a/gas/testsuite/gas/i386/nosse-1.l
+++ b/gas/testsuite/gas/i386/nosse-1.l
@@ -11,3 +11,4 @@ GAS LISTING .*
[ ]*6[ ]+\?\?\?\? 0FAEE8 lfence
[ ]*7[ ]+\.arch \.nosse
[ ]*8[ ]+lfence
+#pass
diff --git a/gas/testsuite/gas/i386/nosse-1.s b/gas/testsuite/gas/i386/nosse-1.s
index 27f2528f45d..9ea228e5268 100644
--- a/gas/testsuite/gas/i386/nosse-1.s
+++ b/gas/testsuite/gas/i386/nosse-1.s
@@ -6,3 +6,4 @@
lfence
.arch .nosse
lfence
+ .p2align 4
diff --git a/gas/testsuite/gas/i386/x86-64-avx512vl-2.l b/gas/testsuite/gas/i386/x86-64-avx512vl-2.l
index 10833f615f8..8a07f6d2cec 100644
--- a/gas/testsuite/gas/i386/x86-64-avx512vl-2.l
+++ b/gas/testsuite/gas/i386/x86-64-avx512vl-2.l
@@ -25,3 +25,4 @@ GAS LISTING .*
[ ]*14[ ]+C4C8
[ ]*15[ ]+\?\?\?\? 62627D48 vpconflictd %zmm0, %zmm25
[ ]*15[ ]+C4C8
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-avx512vl-2.s b/gas/testsuite/gas/i386/x86-64-avx512vl-2.s
index 2b64c702bf3..f7997bd9637 100644
--- a/gas/testsuite/gas/i386/x86-64-avx512vl-2.s
+++ b/gas/testsuite/gas/i386/x86-64-avx512vl-2.s
@@ -13,3 +13,4 @@ _start:
vpconflictd %xmm0, %xmm25
vpconflictd %ymm0, %ymm25
vpconflictd %zmm0, %zmm25
+ .p2align 4