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

__fp16 xx = 0.0;

/* { dg-final { scan-assembler "\t.eabi_attribute 38, 1" } } */
/* { dg-final { scan-assembler "\t.size\txx, 2" } } */
/* { dg-final { scan-assembler "\t.space\t2" } } */