Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
cmov8.c
blob: 2d95c25da0f6edd3854fcd0a0b91e7eaed7ffb00 [
file
] [
log
] [
blame
]
/* PR target/36936 */
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2 -march=i686" } */
/* { dg-final { scan-assembler "cmov\[^8\]" } } */
int
foo
(
int
x
)
{
if
(
x
<
0
)
x
=
1
;
return
x
;
}