Enable gcc.dg/vect/vect-early-break_21.c on x86_64
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vld2q_lane_f16_indices_1.c
blobce0569b8286732897fc45f0c5a2849bb378757f8
1 #include <arm_neon.h>
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
5 /* { dg-require-effective-target arm_neon_fp16_ok { target { arm*-*-* } } } */
7 float16x8x2_t
8 f_vld2q_lane_f16 (float16_t * p, float16x8x2_t v)
10 float16x8x2_t res;
11 /* { dg-error "lane 8 out of range 0 - 7" "" { target *-*-* } 0 } */
12 res = vld2q_lane_f16 (p, v, 8);
13 /* { dg-error "lane -1 out of range 0 - 7" "" { target *-*-* } 0 } */
14 res = vld2q_lane_f16 (p, v, -1);
15 return res;