(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
simd/
vqrdmulhs_lane_s32_indices_1.c
       1  /* { dg-do assemble } */
       2  /* { dg-options "-std=c99" } */
       3  #include <arm_neon.h>
       4  
       5  int
       6  main (int argc, char **argv)
       7  {
       8    uint64x1_t base_b = vcreate_u64 (0x5555666677778888ULL);
       9    int32_t int32_a = 0xdeadbeef;
      10    int32x2_t int32x2_b = vreinterpret_s32_u64 (base_b);
      11  
      12    /* { dg-error "lane -1 out of range 0 - 1" "" {target *-*-*} 0 } */
      13    vqrdmulhs_lane_s32 (int32_a, int32x2_b, -1);
      14    /* { dg-error "lane 2 out of range 0 - 1" "" {target *-*-*} 0 } */
      15    vqrdmulhs_lane_s32 (int32_a, int32x2_b, 2);
      16  }