aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/fp16-compile-alt-12.c
blob: f7cb3f0455874ca1b2550511e09d44fe6344e890 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-require-effective-target arm_fp16_alternative_ok } */
/* { dg-add-options arm_fp16_alternative } */

float xx __attribute__((mode(HF))) = 0.0;

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