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
/
unsigned-float.c
blob
c5ad6805d94cf079be437979e8171a7f01594e6a
1
/* { dg-do compile } */
2
/* { dg-options "-O1" } */
3
4
#include <stdint.h>
5
6
double
7
f1
(
uint16_t
x
)
8
{
9
return
(
double
)(
float
)
x
;
10
}
11
12
float
13
f2
(
uint16_t
x
)
14
{
15
return
(
float
)(
double
)
x
;
16
}
17
18
/* { dg-final { scan-assembler-not "fcvt" } } */