☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
unsigned-float.c
☽
☼
gcc/testsuite/gcc.target/aarch64/unsigned-float.c
code
plain
raw
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" } } */