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
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
fcsel_1.c
blob
2704ee0ede77cbedb19a56ee5161fb314459be13
1
/* { dg-do compile } */
2
/* { dg-options " -O2 " } */
3
4
float
5
f_1
(
float
a
,
float
b
,
float
c
,
float
d
)
6
{
7
if
(
a
>
0.0
)
8
return
c
;
9
else
10
return
2.0
;
11
}
12
13
double
14
f_2
(
double
a
,
double
b
,
double
c
,
double
d
)
15
{
16
if
(
a
>
b
)
17
return
c
;
18
else
19
return
d
;
20
}
21
22
/* { dg-final { scan-assembler-times "\tfcsel" 2 } } */