#include <arm_mve.h>
float16_t test_vgetq_lane_f16(float16x8_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 2);
#else
return vgetq_lane_f16(a, 2);
#endif
}
float32_t test_vgetq_lane_f32(float32x4_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 3);
#else
return vgetq_lane_f32(a, 3);
#endif
}
int16_t test_vgetq_lane_s16(int16x8_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 4);
#else
return vgetq_lane_s16(a, 4);
#endif
}
int32_t test_vgetq_lane_s32(int32x4_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 0);
#else
return vgetq_lane_s32(a, 0);
#endif
}
int64_t test_vgetq_lane_s64(int64x2_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 0);
#else
return vgetq_lane_s64(a, 0);
#endif
}
int8_t test_vgetq_lane_s8(int8x16_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 10);
#else
return vgetq_lane_s8(a, 10);
#endif
}
uint16_t test_vgetq_lane_u16(uint16x8_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 3);
#else
return vgetq_lane_u16(a, 3);
#endif
}
uint32_t test_vgetq_lane_u32(uint32x4_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 3);
#else
return vgetq_lane_u32(a, 3);
#endif
}
uint64_t test_vgetq_lane_u64(uint64x2_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 1);
#else
return vgetq_lane_u64(a, 1);
#endif
}
uint8_t test_vgetq_lane_u8(uint8x16_t a)
{
#ifdef POLYMORPHIC
return vgetq_lane(a, 1);
#else
return vgetq_lane_u8(a, 1);
#endif
}
float16x8_t test_vsetq_lane_f16(float16_t a, float16x8_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 4);
#else
return vsetq_lane_f16(a, b, 4);
#endif
}
float32x4_t test_vsetq_lane_f32(float32_t a, float32x4_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 2);
#else
return vsetq_lane_f32(a, b, 2);
#endif
}
int8x16_t test_vsetq_lane_s8(int8_t a, int8x16_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 12);
#else
return vsetq_lane_s8(a, b, 12);
#endif
}
int16x8_t test_vsetq_lane_s16(int16_t a, int16x8_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 6);
#else
return vsetq_lane_s16(a, b, 6);
#endif
}
int32x4_t test_vsetq_lane_s32(int32_t a, int32x4_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 2);
#else
return vsetq_lane_s32(a, b, 2);
#endif
}
int64x2_t test_vsetq_lane_s64(int64_t a, int64x2_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 0);
#else
return vsetq_lane_s64(a, b, 0);
#endif
}
uint8x16_t test_vsetq_lane_u8(uint8_t a, uint8x16_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 2);
#else
return vsetq_lane_u8(a, b, 2);
#endif
}
uint16x8_t test_vsetq_lane_u16(uint16_t a, uint16x8_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 7);
#else
return vsetq_lane_u16(a, b, 7);
#endif
}
uint32x4_t test_vsetq_lane_u32(uint32_t a, uint32x4_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 0);
#else
return vsetq_lane_u32(a, b, 0);
#endif
}
uint64x2_t test_vsetq_lane_u64(uint64_t a, uint64x2_t b)
{
#ifdef POLYMORPHIC
return vsetq_lane(a, b, 1);
#else
return vsetq_lane_u64(a, b, 1);
#endif
}