OSDN Git Service

Merge basic-improvements-branch to trunk
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-cmov2.c
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=athlon" } */
3 /* { dg-final { scan-assembler "sbb" } } */
4
5 /* This conditional move is fastest to be done using sbb.  */
6 t(unsigned int a, unsigned int b)
7 {
8   return (a<=b?5:-5);
9 }