blob: cd6457f0d5f13fcd0bf5a54f0f22d3cbc26efc5a [file] [log] [blame]
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "sbb" } } */
/* This conditional move is fastest to be done using sbb. */
t(unsigned int a, unsigned int b)
{
return (a<=b?5:-5);
}