public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1060] testsuite: Add -mtune=generic to dg-options for two testcases.
@ 2022-06-13  2:04 hongtao Liu
  0 siblings, 0 replies; only message in thread
From: hongtao Liu @ 2022-06-13  2:04 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:033e5ee3c4a2c841ff24e3bf3fc5324ea9cc373c

commit r13-1060-g033e5ee3c4a2c841ff24e3bf3fc5324ea9cc373c
Author: Cui,Lili <lili.cui@intel.com>
Date:   Fri Jun 10 15:31:21 2022 +0800

    testsuite: Add -mtune=generic to dg-options for two testcases.
    
    Use -mtune=generic to limit these two test cases. Because configuring them with
    -mtune=cascadelake or znver3 will vectorize them.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c: Add
            -mtune=generic to dg-options.
            * gcc.target/i386/pr84101.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c | 2 +-
 gcc/testsuite/gcc.target/i386/pr84101.c                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c
index 7637cdb4a97..d060135d877 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-additional-options "-msse -fdump-tree-slp2-details" } */
+/* { dg-additional-options "-msse -mtune=generic -fdump-tree-slp2-details" } */
 
 struct S { unsigned long a, b; } s;
 
diff --git a/gcc/testsuite/gcc.target/i386/pr84101.c b/gcc/testsuite/gcc.target/i386/pr84101.c
index cf144894f9b..2c5a97308ca 100644
--- a/gcc/testsuite/gcc.target/i386/pr84101.c
+++ b/gcc/testsuite/gcc.target/i386/pr84101.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -fdump-tree-slp2-details" } */
+/* { dg-options "-O3 -mtune=generic -fdump-tree-slp2-details" } */
 
 typedef struct uint64_pair uint64_pair_t ;
 struct uint64_pair


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

only message in thread, other threads:[~2022-06-13  2:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13  2:04 [gcc r13-1060] testsuite: Add -mtune=generic to dg-options for two testcases 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).