diff options
author | Cui,Lili <lili.cui@intel.com> | 2022-06-10 15:31:21 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2022-06-13 10:03:54 +0800 |
commit | 033e5ee3c4a2c841ff24e3bf3fc5324ea9cc373c (patch) | |
tree | 774aa84e8cf9def9e58f19d8901cd3cb8bfc50bf | |
parent | fd1fcd475695bebaff26742c8e99f866c0dce69d (diff) | |
download | gcc-033e5ee3c4a2c841ff24e3bf3fc5324ea9cc373c.zip gcc-033e5ee3c4a2c841ff24e3bf3fc5324ea9cc373c.tar.gz gcc-033e5ee3c4a2c841ff24e3bf3fc5324ea9cc373c.tar.bz2 |
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.
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c | 2 | ||||
-rw-r--r-- | 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 7637cdb..d060135 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 cf14489..2c5a973 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 |