aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vst3_lane_s16_indices_1.c
blob: 1d120a31aa0c3f97d6fcbebe0117b61baf59d8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <arm_neon.h>

/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "-fno-fat-lto-objects" } } */
/* { dg-xfail-if "" { arm-*-* } } */

void
f_vst3_lane_s16 (int16_t * p, int16x4x3_t v)
{
/* { dg-error "lane 4 out of range 0 - 3" "" { target *-*-* } 0 } */
  vst3_lane_s16 (p, v, 4);
/* { dg-error "lane -1 out of range 0 - 3" "" { target *-*-* } 0 } */
  vst3_lane_s16 (p, v, -1);
  return;
}