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