gcc/testsuite/gcc.target/arm/fp16-compile-ieee-9.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-mfp16-format=ieee" } */ |
| 3 | |
| 4 | /* Encoding taken from: http://en.wikipedia.org/wiki/Half_precision */ |
| 5 | /* This is the minimum denormalized value. */ |
| 6 | /* 0x0001 = 1 */ |
| 7 | __fp16 xx = 5.96046E-8; |
| 8 | |
| 9 | /* { dg-final { scan-assembler "\t.size\txx, 2" } } */ |
| 10 | /* { dg-final { scan-assembler "\t.short\t1" } } */ |