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 inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
visium
/
cstore_eq.c
blob
2bc132a36c256666c352f71f449ff801365f22b4
1
/* { dg-do compile } */
2
/* { dg-options "-O" } */
3
4
int
foo1
(
int
i
)
5
{
6
return
(
i
!=
0
);
7
}
8
9
int
foo2
(
int
i
)
10
{
11
return
(
i
==
0
);
12
}
13
14
int
foo3
(
int
a
,
int
b
)
15
{
16
return
a
!=
b
;
17
}
18
19
int
foo4
(
int
a
,
int
b
)
20
{
21
return
(
a
==
b
);
22
}
23
24
/* { dg-final { scan-assembler-times "adc.l" 2 } } */
25
/* { dg-final { scan-assembler-times "subc.l" 2 } } */