* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / cmov8.c
blob2d95c25da0f6edd3854fcd0a0b91e7eaed7ffb00
1 /* PR target/36936 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target ia32 } */
4 /* { dg-options "-O2 -march=i686" } */
5 /* { dg-final { scan-assembler "cmov\[^8\]" } } */
7 int
8 foo (int x)
10 if (x < 0)
11 x = 1;
12 return x;