PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-ieee-2.c
blob35f2031c719891b24b41b2b4214c3ec04d135f65
1 /* { dg-do compile } */
2 /* { dg-options "-mfp16-format=ieee" } */
4 /* Encoding taken from: http://en.wikipedia.org/wiki/Half_precision */
5 /* 0x3c00 = 15360 */
6 __fp16 xx = 1.0;
8 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */
9 /* { dg-final { scan-assembler "\t.short\t15360" } } */