aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/pr88850-2.c
blob: f33361ca11d5120726bef2eb8accee8a8b0e2aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR target/88850.  */
/* { dg-do compile } */
/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } {"-mfloat-abi=softfp" } } */
/* { dg-additional-options "-O2 -march=armv7-a -fdump-rtl-final" } */
/* { dg-add-options arm_neon_softfp_fp16 } */
/* { dg-require-effective-target arm_neon_softfp_fp16_ok } */

#include <arm_neon.h>

extern void c (int, float16x4_t);

void a (float16x4_t b)
{
  c (0, b);
}


/* Check that these 64-bit moves are done in SI.  */
/* { dg-final { scan-rtl-dump "_movsi_vfp" "final" } } */