testsuite: Compile gcc.target/i386/pr103861-3.c with -fno-vect-cost-model [PR103941]

2022-01-12  Uroš Bizjak  <ubizjak@gmail.com>

gcc/testsuite/ChangeLog:

	PR target/103941
	* gcc.target/i386/pr103861-3.c (dg-options): Add -fno-vect-cost-model.
This commit is contained in:
Uros Bizjak 2022-01-12 20:57:12 +01:00
parent e1503b9a3d
commit cb46559cea

View File

@ -1,6 +1,6 @@
/* PR target/103861 */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -msse4" } */
/* { dg-options "-O2 -ftree-vectorize -msse4 -fno-vect-cost-model" } */
char r[2], a[2], b[2];
unsigned char ur[2], ua[2], ub[2];
@ -63,4 +63,4 @@ void avgu (void)
ur[i] = (ua[i] + ub[i] + 1) >> 1;
}
/* { dg-final { scan-assembler "pavgb" { xfail *-*-* } } } */
/* { dg-final { scan-assembler "pavgb" } } */