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
testcase: Add testcase for PR 117330 [PR117330]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
fcvt_int_float_double4.c
blob
88a5242503e69e56383ae0ac91e679dc056ece5b
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
double
5
foo
(
int
x
)
6
{
7
return
(
double
) (
float
) ((
x
& -
16
) | (
int
)
0xfe00000
);
8
}
9
10
/* { dg-final { scan-assembler {\tscvtf\ts[0-9]*, w[0-9]*} } } */
11
/* { dg-final { scan-assembler {\tfcvt\td0, s[0-9]*} } } */