Debian Codegraph @

gcc/testsuite/gcc.target/i386/cmov3.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=k8" } */
3 /* { dg-final { scan-assembler "cmov\[^3\]" } } */
4
5 /* This conditional move is fastest to be done using cmov. */
6 int
7 t(int a, int b)
8 {
9 return (a<=b?5:-5);
10 }