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