Enable gcc.dg/vect/vect-early-break_21.c on x86_64
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vld2q_lane_s32_indices_1.c
blobbfb4f0a653b775da636d5c520415fb44ce73a692
1 #include <arm_neon.h>
3 /* { dg-do compile } */
4 /* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
6 int32x4x2_t
7 f_vld2q_lane_s32 (int32_t * p, int32x4x2_t v)
9 int32x4x2_t res;
10 /* { dg-error "lane 4 out of range 0 - 3" "" { target *-*-* } 0 } */
11 res = vld2q_lane_s32 (p, v, 4);
12 /* { dg-error "lane -1 out of range 0 - 3" "" { target *-*-* } 0 } */
13 res = vld2q_lane_s32 (p, v, -1);
14 return res;