2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / fp16-compile-ieee-6.c
blobc736e63a3ce226f9bcdcb1bf66240e58e74a743d
1 /* { dg-do compile } */
2 /* { dg-options "-mfp16-format=ieee" } */
4 /* Encoding taken from: http://en.wikipedia.org/wiki/Half_precision */
5 /* This number is too big and is represented as infinity. */
6 /* 0x7c00 = 31744 */
7 __fp16 xx = 131008.0;
9 /* { dg-final { scan-assembler "\t.size\txx, 2" } } */
10 /* { dg-final { scan-assembler "\t.short\t31744" } } */