blob: fb7ebb484e1778a1d06611f8c8a639d4c0dcb9a7 [file] [log] [blame]
/* { dg-do assemble { target { arm*-*-* } } } */
/* { dg-require-effective-target arm_v8_2a_i8mm_ok } */
/* { dg-add-options arm_v8_2a_i8mm } */
/* { dg-additional-options "--save-temps" } */
#include <arm_neon.h>
/* Signed-Unsigned Dot Product instructions. */
int32x2_t sfoo_lane (int32x2_t r, int8x8_t x, uint8x8_t y)
{
/* { dg-error "lane -1 out of range 0 - 1" "" { target *-*-* } 0 } */
return vsudot_lane_s32 (r, x, y, -1);
}
int32x4_t sfooq_lane (int32x4_t r, int8x16_t x, uint8x8_t y)
{
/* { dg-error "lane 2 out of range 0 - 1" "" { target *-*-* } 0 } */
return vsudotq_lane_s32 (r, x, y, 2);
}