This is the mail archive of the binutils-cvs@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]

[binutils-gdb] Append ".p2align 4" to some x86 directive tests


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d5b9a5a3012a5e4a39823cc51afc559c354d76f

commit 8d5b9a5a3012a5e4a39823cc51afc559c354d76f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu May 26 07:55:38 2016 -0700

    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.

Diff:
---
 gas/ChangeLog                              | 13 +++++++++++++
 gas/testsuite/gas/i386/avx512vl-2.l        |  1 +
 gas/testsuite/gas/i386/avx512vl-2.s        |  1 +
 gas/testsuite/gas/i386/noavx-1.l           |  1 +
 gas/testsuite/gas/i386/noavx-1.s           |  1 +
 gas/testsuite/gas/i386/nommx-1.l           |  1 +
 gas/testsuite/gas/i386/nommx-1.s           |  1 +
 gas/testsuite/gas/i386/nosse-1.l           |  1 +
 gas/testsuite/gas/i386/nosse-1.s           |  1 +
 gas/testsuite/gas/i386/x86-64-avx512vl-2.l |  1 +
 gas/testsuite/gas/i386/x86-64-avx512vl-2.s |  1 +
 11 files changed, 23 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index b21e332..78d548f 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 2f1f7b3..af7a941 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 6a24a1f..a98bd15 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 f4e2840..d19fe81 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 759b429..bb7813f 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 2b7a6ca..41f9879 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 f87edda..1040b53 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 486241b..2551174 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 27f2528..9ea228e 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 10833f6..8a07f6d 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 2b64c70..f7997bd 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


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