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
[ARM,AArch64][testsuite] AdvSIMD intrinsics tests cleanup: remove useless expected...
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
cmp-1.c
blob
4c082b484ab81e3a9d4f4bdeae6d1d075f29bb98
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
int
f
(
int
a
,
int
b
)
5
{
6
if
(
a
<
b
)
7
return
1
;
8
if
(
a
>
b
)
9
return
-
1
;
10
return
0
;
11
}
12
13
/* We should optimize away the second cmp. */
14
/* { dg-final { scan-assembler-times "cmp\tw" 1 } } */
15