Skip to content
Snippets Groups Projects
Commit cb46559c authored by Uros Bizjak's avatar Uros Bizjak
Browse files

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.
parent e1503b9a
No related branches found
No related tags found
No related merge requests found
/* 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" } } */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment