aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vld3_lane_f16_indices_1.c
blob: 21b7861ba7549ffb692effad2c4e5194c67f3a3c (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-excess-errors "" { xfail arm*-*-* } } */

float16x4x3_t
f_vld3_lane_f16 (float16_t * p, float16x4x3_t v)
{
  float16x4x3_t res;
  /* { dg-error "lane 4 out of range 0 - 3" "" { xfail arm*-*-* } 0 } */
  res = vld3_lane_f16 (p, v, 4);
  /* { dg-error "lane -1 out of range 0 - 3" "" { xfail arm*-*-* } 0 } */
  res = vld3_lane_f16 (p, v, -1);
  return res;
}