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
[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
fcvt_uint_float_double2.c
blob
334aae8035fe8fc388889ebd6a3177934d0b43bd
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
double
5
foo
(
unsigned int
x
)
6
{
7
return
(
double
) (
float
) (
x
&
0x1ffffff
);
8
}
9
10
/* { dg-final { scan-assembler {\t[su]cvtf\ts[0-9]*, w[0-9]*} } } */
11
/* { dg-final { scan-assembler {\tfcvt\td0, s[0-9]*} } } */