public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3133] Adjust testcases to avoid new failures brought by r12-3108 when compiled w -march=cascadelake.
@ 2021-08-25  1:57 hongtao Liu
  0 siblings, 0 replies; only message in thread
From: hongtao Liu @ 2021-08-25  1:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4f5391dde1a83086b451f7534c815ab1267bb6bc

commit r12-3133-g4f5391dde1a83086b451f7534c815ab1267bb6bc
Author: liuhongt <hongtao.liu@intel.com>
Date:   Wed Aug 25 09:45:25 2021 +0800

    Adjust testcases to avoid new failures brought by r12-3108 when compiled w -march=cascadelake.
    
    gcc/testsuite/ChangeLog:
    
            PR target/101989
            * gcc.target/i386/avx2-shiftqihi-constant-1.c: Add -mno-avx512f.
            * gcc.target/i386/sse2-shiftqihi-constant-1.c: Add -mno-avx

Diff:
---
 gcc/testsuite/gcc.target/i386/avx2-shiftqihi-constant-1.c | 2 +-
 gcc/testsuite/gcc.target/i386/sse2-shiftqihi-constant-1.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/avx2-shiftqihi-constant-1.c b/gcc/testsuite/gcc.target/i386/avx2-shiftqihi-constant-1.c
index 72065039581..801f570decc 100644
--- a/gcc/testsuite/gcc.target/i386/avx2-shiftqihi-constant-1.c
+++ b/gcc/testsuite/gcc.target/i386/avx2-shiftqihi-constant-1.c
@@ -1,6 +1,6 @@
 /* PR target/95524 */
 /* { dg-do compile } */
-/* { dg-options "-O2 -mavx2" } */
+/* { dg-options "-O2 -mavx2 -mno-avx512f" } */
 /* { dg-final { scan-assembler-times "vpand\[^\n\]*%ymm" 3 } }  */
 typedef char v32qi  __attribute__ ((vector_size (32)));
 typedef unsigned char v32uqi  __attribute__ ((vector_size (32)));
diff --git a/gcc/testsuite/gcc.target/i386/sse2-shiftqihi-constant-1.c b/gcc/testsuite/gcc.target/i386/sse2-shiftqihi-constant-1.c
index f1c68cb2972..015450f8219 100644
--- a/gcc/testsuite/gcc.target/i386/sse2-shiftqihi-constant-1.c
+++ b/gcc/testsuite/gcc.target/i386/sse2-shiftqihi-constant-1.c
@@ -1,6 +1,6 @@
 /* PR target/95524 */
 /* { dg-do compile } */
-/* { dg-options "-O2 -msse2" } */
+/* { dg-options "-O2 -msse2 -mno-avx" } */
 /* { dg-final { scan-assembler-times "pand\[^\n\]*%xmm" 3 { xfail *-*-* } } } */
 typedef char v16qi  __attribute__ ((vector_size (16)));
 typedef unsigned char v16uqi  __attribute__ ((vector_size (16)));


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-25  1:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25  1:57 [gcc r12-3133] Adjust testcases to avoid new failures brought by r12-3108 when compiled w -march=cascadelake hongtao Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).