2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-cmov2.c
blobcd6457f0d5f13fcd0bf5a54f0f22d3cbc26efc5a
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=k8" } */
3 /* { dg-final { scan-assembler "sbb" } } */
5 /* This conditional move is fastest to be done using sbb. */
6 t(unsigned int a, unsigned int b)
8 return (a<=b?5:-5);