https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81058

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The following patch fixes the failures

--- ../_clean/gcc/testsuite/gcc.target/i386/avx512bw-vpmovswb-1.c      
2017-06-08 15:14:40.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/avx512bw-vpmovswb-1.c 2017-06-26
16:45:03.000000000 +0200
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target nonpic } } */
 /* { dg-options "-mavx512bw -mavx512vl -O2" } */
 /* { 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 } } */
--- ../_clean/gcc/testsuite/gcc.target/i386/avx512bw-vpmovuswb-1.c     
2017-06-08 15:14:40.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/avx512bw-vpmovuswb-1.c        2017-06-26
16:44:47.000000000 +0200
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target nonpic } } */
 /* { dg-options "-mavx512bw -mavx512vl -O2" } */
 /* { 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 } } */

Reply via email to