blob: d0675f1ce8a0b6a5dd0c110388d64d6eecfb33e2 [file] [log] [blame]
/* { dg-do assemble } */
/* { dg-options "-std=c99" } */
#include <arm_neon.h>
int
main (int argc, char **argv)
{
uint64x1_t base_b = vcreate_u64 (0x5555666677778888ULL);
uint64x1_t base_c = vcreate_u64 (0x9999aaaabbbbccccULL);
uint64x2_t baseq_b = vcombine_u64 (base_b, base_c);
uint64x1_t base_a = vcreate_u64 (0x1111222233334444ULL);
uint64x2_t baseq_c = vcombine_u64 (base_c, base_a);
uint64x2_t baseq_a = vcombine_u64 (base_a, base_b);
int16x8_t int16x8_b = vreinterpretq_s16_u64 (baseq_b);
int16x8_t int16x8_c = vreinterpretq_s16_u64 (baseq_c);
int32x4_t int32x4_a = vreinterpretq_s32_u64 (baseq_a);
/* { dg-error "lane -1 out of range 0 - 7" "" {target *-*-*} 0 } */
vqdmlsl_high_laneq_s16 (int32x4_a, int16x8_b, int16x8_c, -1);
/* { dg-error "lane 8 out of range 0 - 7" "" {target *-*-*} 0 } */
vqdmlsl_high_laneq_s16 (int32x4_a, int16x8_b, int16x8_c, 8);
}