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 normalized value. */ 6 /* 0x0400 = 1024 */ 7 __fp16 xx = 6.10352E-5; 8 9 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */ 10 /* { dg-final { scan-assembler "\t.short\t1024" } } */ 11