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