]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
darwin, testsuite, backport fixes for PR 81058
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 14 May 2019 17:41:36 +0000 (17:41 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 14 May 2019 17:41:36 +0000 (17:41 +0000)
2019-05-14  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-05-11  Iain Sandoe  <iain@sandoe.co.uk>

PR testsuite/81058
* gcc.target/i386/avx512bw-vpmovswb-1.c: Use regular data section
for variables on Darwin, rather than common.
* gcc.target/i386/avx512bw-vpmovuswb-1.c: Likewise.
* gcc.target/i386/avx512bw-vpmovwb-1.c: Likewise.

From-SVN: r271186

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512bw-vpmovswb-1.c
gcc/testsuite/gcc.target/i386/avx512bw-vpmovuswb-1.c
gcc/testsuite/gcc.target/i386/avx512bw-vpmovwb-1.c

index 0f6de9f41dc771a403e747afcfa6f42d9cee486c..3733de40a7d49b951b30f8865cfa0569c174e064 100644 (file)
@@ -1,3 +1,14 @@
+2019-05-14  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-05-11  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR testsuite/81058
+       * gcc.target/i386/avx512bw-vpmovswb-1.c: Use regular data section
+       for variables on Darwin, rather than common.
+       * gcc.target/i386/avx512bw-vpmovuswb-1.c: Likewise.
+       * gcc.target/i386/avx512bw-vpmovwb-1.c: Likewise.
+
 2019-05-14  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
index 6bb87d25f4deeb88c83208f430d9994d778755b0..9d470c62b9ededc0dd96f0d0d1f0656ce07683c8 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-mavx512bw -mavx512vl -O2" } */
+/* { dg-additional-options "-fno-common" { target *-*-darwin* } } */
 /* { dg-final { scan-assembler-times "vpmovswb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
 /* { dg-final { scan-assembler-times "vpmovswb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
 /* { dg-final { scan-assembler-times "vpmovswb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}{z}(?:\n|\[ \\t\]+#)" 1 } } */
index 7825e46a9441fa7ec60cb6c8534c864b5edfaf4e..da51198ffe13be61e0be2f0ac5a6c0dfd2699400 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-mavx512bw -mavx512vl -O2" } */
+/* { dg-additional-options "-fno-common" { target *-*-darwin* } } */
 /* { dg-final { scan-assembler-times "vpmovuswb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
 /* { dg-final { scan-assembler-times "vpmovuswb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
 /* { dg-final { scan-assembler-times "vpmovuswb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}{z}(?:\n|\[ \\t\]+#)" 1 } } */
index a1ad551392b4800bd9b5689062545eacf6dfb4ca..e67da87b33d29bbb21daafc1f543cf2b255ca4e4 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-mavx512bw -mavx512vl -O2" } */
+/* { dg-additional-options "-fno-common" { target *-*-darwin* } } */
 /* { dg-final { scan-assembler-times "vpmovwb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
 /* { dg-final { scan-assembler-times "vpmovwb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
 /* { dg-final { scan-assembler-times "vpmovwb\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}{z}(?:\n|\[ \\t\]+#)" 1 } } */