This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New GAS testsuite failures
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 26 May 2016 08:02:50 -0700
- Subject: Re: New GAS testsuite failures
- Authentication-results: sourceware.org; auth=none
- References: <87mvnddxjj dot fsf at redhat dot com>
On Thu, May 26, 2016 at 1:38 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi H.J.
>
> I am seeing some new gas testsuite failures today:
>
> Checking Binutils in: i586-aout ... GAS: 4 LD: 1 done
> GAS REGRESSION: i386 nommx-1
> GAS REGRESSION: i386 nosse-1
> GAS REGRESSION: i386 noavx-1
> GAS REGRESSION: i386 avx512vl-2
> Checking Binutils in: i686-pc-mingw32 ... GAS: 4 done
> GAS REGRESSION: i386 nommx-1
> GAS REGRESSION: i386 nosse-1
> GAS REGRESSION: i386 noavx-1
> GAS REGRESSION: i386 avx512vl-2
> Checking Binutils in: mingw32-pe ... GAS: 4 done
> GAS REGRESSION: i386 nommx-1
> GAS REGRESSION: i386 nosse-1
> GAS REGRESSION: i386 noavx-1
> GAS REGRESSION: i386 avx512vl-2
> Checking Binutils in: i386-coff ... GAS: 4 done
> GAS REGRESSION: i386 nommx-1
> GAS REGRESSION: i386 nosse-1
> GAS REGRESSION: i386 noavx-1
> GAS REGRESSION: i386 avx512vl-2
> Checking Binutils in: i386-pc-go32 ... GAS: 17 LD: 1 BIN: 1 done
> GAS REGRESSION: i386 nommx-1
> GAS REGRESSION: i386 nosse-1
> GAS REGRESSION: i386 noavx-1
> GAS REGRESSION: i386 avx512vl-2
> Checking Binutils in: i686-pc-cygwin ... GAS: 4 done
> GAS REGRESSION: i386 nommx-1
> GAS REGRESSION: i386 nosse-1
> GAS REGRESSION: i386 noavx-1
> GAS REGRESSION: i386 avx512vl-2
> CheckChecking Binutils in: x86_64-pc-cygwin ... GAS: 7 LD: 22 done
> GAS REGRESSION: i386 nommx-1
> GAS REGRESSION: i386 nosse-1
> GAS REGRESSION: i386 noavx-1
> GAS REGRESSION: i386 avx512vl-2
> GAS REGRESSION: i386 x86-64-avx512vl-2
>
> The first three failures appear to be because of unsupported
> instructions. For example:
>
> **** Error: `emms' is not supported on `generic32.mmx.3dnow.3dnowa.nommx'
> regexp_diff match failure
> regexp "^[ ]*14[ ]+emms$"
> line " 14 ???? 909090 emms"
> extra lines in dump.out starting with "^**** Error: `emms' is not supported on `generic32.mmx.3dnow.3dnowa.nommx'$"
> EOF from /work/sources/binutils/current/gas/testsuite/gas/i386/nommx-1.l
> FAIL: i386 nommx-1
>
> Similarly:
They are caused by implicit section alignment. I checked in this
patch to fix them.
Thanks.
--
H.J.
From 8d5b9a5a3012a5e4a39823cc51afc559c354d76f Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Thu, 26 May 2016 07:55:38 -0700
Subject: [PATCH] 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.
---
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
--
2.5.5