gcc/testsuite/gcc.target/arm/fp16-compile-alt-6.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target arm_fp16_alternative_ok } */ |
| 3 | /* { dg-add-options arm_fp16_alternative } */ |
| 4 | |
| 5 | /* This number is the maximum value representable in the alternative |
| 6 | encoding. */ |
| 7 | /* 0x7fff = 32767 */ |
| 8 | __fp16 xx = 131008.0; |
| 9 | |
| 10 | /* { dg-final { scan-assembler "\t.size\txx, 2" } } */ |
| 11 | /* { dg-final { scan-assembler "\t.short\t32767" } } */ |