blob: d668be3e9684307ed09af6d9787ef4214b7e8ad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <arm_neon.h>
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
/* { dg-xfail-if "" { arm-*-* } } */
uint32x2x4_t
f_vld4_lane_u32 (uint32_t * p, uint32x2x4_t v)
{
uint32x2x4_t res;
/* { dg-error "lane 2 out of range 0 - 1" "" { target *-*-* } 0 } */
res = vld4_lane_u32 (p, v, 2);
/* { dg-error "lane -1 out of range 0 - 1" "" { target *-*-* } 0 } */
res = vld4_lane_u32 (p, v, -1);
return res;
}
|