Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
i386-cmov3.c
blob: 6ef2675297d1ce33959896b25db3f83c113c02da [
file
] [
log
] [
blame
]
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "cmov" } } */
/* This conditional move is fastest to be done using cmov. */
t
(
int
a
,
int
b
)
{
return
(
a
<=
b
?
5
:-
5
);
}