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.
This commit is contained in:
Cui,Lili 2022-06-10 15:31:21 +08:00 committed by liuhongt
parent fd1fcd4756
commit 033e5ee3c4
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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