summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/fp16-compile-ieee-10.c
blob: 51604374e365ef3d44c47dd21651465a6264d950 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-mfp16-format=ieee -std=gnu99" } */

#include <math.h>

/* 0x7e00 = 32256 */
__fp16 xx = NAN;

/* { dg-final { scan-assembler "\t.size\txx, 2" } } */
/* { dg-final { scan-assembler "\t.short\t32256" } } */