repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
cmov2.c
blob
d5fa16b359a035e22c2f1c8d0479de2cd5b5ac35
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=k8" } */
3
/* { dg-final { scan-assembler "sbb" } } */
4
5
/* This conditional move is fastest to be done using sbb. */
6
int
7
t
(
unsigned int
a
,
unsigned int
b
)
8
{
9
return
(
a
<=
b
?
5
:-
5
);
10
}