| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-mfp16-format=ieee -std=gnu99" } */ |
| 3 |
|
| 4 |
#include <math.h> |
| 5 |
|
| 6 |
/* 0x7c00 = 31744 */ |
| 7 |
__fp16 xx = INFINITY; |
| 8 |
|
| 9 |
/* { dg-final { scan-assembler "\t.size\txx, 2" } } */ |
| 10 |
/* { dg-final { scan-assembler "\t.short\t31744" } } */ |