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

float xx __attribute__((mode(HF))) = 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" } } */