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
RISC-V: testsuite: Fix SELECT_VL SLP fallout.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr40835.c
blob
76ad509ebd2a721ee86be65f78707b6cd4fd3dd2
1
/* { dg-options "-mthumb -Os" } */
2
/* { dg-require-effective-target arm_thumb1_ok } */
3
/* { dg-final { scan-assembler-not "cmp" } } */
4
5
int
bar
();
6
void
goo
(
int
,
int
);
7
8
void
eq
()
9
{
10
int
v
=
bar
();
11
if
(
v
==
0
)
12
return
;
13
goo
(
1
,
v
);
14
}
15
16
void
ge
()
17
{
18
int
v
=
bar
();
19
if
(
v
>=
0
)
20
return
;
21
goo
(
1
,
v
);
22
}
23
24
void
gt
()
25
{
26
int
v
=
bar
();
27
if
(
v
>
0
)
28
return
;
29
goo
(
1
,
v
);
30
}
31
32
void
lt
()
33
{
34
int
v
=
bar
();
35
if
(
v
<
0
)
36
return
;
37
goo
(
1
,
v
);
38
}
39
40
void
le
()
41
{
42
int
v
=
bar
();
43
if
(
v
<=
0
)
44
return
;
45
goo
(
1
,
v
);
46
}
47
48
unsigned int
foo
();
49
50
void
leu
()
51
{
52
unsigned int
v
=
foo
();
53
if
(
v
<=
0
)
54
return
;
55
goo
(
1
,
v
);
56
}