blob: c736e63a3ce226f9bcdcb1bf66240e58e74a743d (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
/* { dg-options "-mfp16-format=ieee" } */
/* Encoding taken from: http://en.wikipedia.org/wiki/Half_precision */
/* This number is too big and is represented as infinity. */
/* 0x7c00 = 31744 */
__fp16 xx = 131008.0;
/* { dg-final { scan-assembler "\t.size\txx, 2" } } */
/* { dg-final { scan-assembler "\t.short\t31744" } } */
|