PR c++/11645
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-cmov3.c
blob6ef2675297d1ce33959896b25db3f83c113c02da
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=k8" } */
3 /* { dg-final { scan-assembler "cmov" } } */
5 /* This conditional move is fastest to be done using cmov. */
6 t(int a, int b)
8 return (a<=b?5:-5);