Sign in
chromium
/
native_client
/
nacl-toolchain
/
gdb-6.8
/
.
/
gcc
/
gcc
/
testsuite
/
gcc.target
/
i386
/
cmov3.c
blob: 34df0aab7e45d611e327caf89e987e7a60e5d43b [
file
] [
log
] [
blame
]
/* { 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
);
}