aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/big-endian-subreg.c
blob: 4b1ab122f349e61e296fe3f76030a7a258e55f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-require-effective-target arm_neon_ok } */
/* { dg-require-effective-target arm_hf_eabi } */
/* { dg-add-options arm_neon } */
/* { dg-additional-options "-mfp16-format=ieee -mfloat-abi=hard" } */

typedef __fp16 v4f16
  __attribute__ ((vector_size (8)));

v4f16 fn1 (v4f16 p)
{
  return p;
}