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
2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
vselgtsf.c
blob
388e74c111443b8fc1ca81dabdf85857995d3fcd
1
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_v8_vfp_ok } */
3
/* { dg-options "-O2" } */
4
/* { dg-add-options arm_v8_vfp } */
5
6
float
7
foo
(
float
x
,
float
y
)
8
{
9
volatile
int
i
=
0
;
10
return
i
>
0
?
x
:
y
;
11
}
12
13
/* { dg-final { scan-assembler-times "vselgt.f32\ts\[0-9\]+" 1 } } */