testsuite: Compile gcc.target/i386/pr103861-3.c with -fno-vect-cost-model [PR103941]
authorUros Bizjak <ubizjak@gmail.com>
Wed, 12 Jan 2022 19:57:12 +0000 (20:57 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 12 Jan 2022 19:57:12 +0000 (20:57 +0100)
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.

gcc/testsuite/gcc.target/i386/pr103861-3.c

index e5099ea..02f39a9 100644 (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" } } */