]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/arm/mve/intrinsics/vldrhq_gather_shifted_offset_f16.c
1 /* { dg-do compile } */
2 /* { dg-additional-options "-march=armv8.1-m.main+mve.fp -mfloat-abi=hard -O2" } */
3 /* { dg-skip-if "Skip if not auto" {*-*-*} {"-mfpu=*"} {"-mfpu=auto"} } */
8 foo (float16_t
const * base
, uint16x8_t offset
)
10 return vldrhq_gather_shifted_offset_f16 (base
, offset
);
13 /* { dg-final { scan-assembler "vldrh.f16" } } */
16 foo1 (float16_t
const * base
, uint16x8_t offset
)
18 return vldrhq_gather_shifted_offset (base
, offset
);
21 /* { dg-final { scan-assembler "vldrh.f16" } } */