示例#1
0
void test_vsetQ_laneu16 (void)
{
  uint16x8_t out_uint16x8_t;
  uint16_t arg0_uint16_t;
  uint16x8_t arg1_uint16x8_t;

  out_uint16x8_t = vsetq_lane_u16 (arg0_uint16_t, arg1_uint16x8_t, 1);
}
示例#2
0
uint16x8_t test_vsetq_lane_u16(uint16_t v1, uint16x8_t v2) {
   // CHECK: test_vsetq_lane_u16
  return vsetq_lane_u16(v1, v2, 2);
  // CHECK: ins {{v[0-9]+}}.h[2], {{w[0-9]+}}
}
示例#3
0
uint16x8_t test_vsetq_lane_u16(uint16_t a, uint16x8_t b) {
  // CHECK-LABEL: test_vsetq_lane_u16:
  // CHECK-NEXT:  ins.h v0[7], w0
  // CHECK-NEXT:  ret
  return vsetq_lane_u16(a, b, 7);
}
示例#4
0
// CHECK-LABEL: define <8 x i16> @test_vsetq_lane_u16(i16 %a, <8 x i16> %b) #0 {
// CHECK:   [[TMP0:%.*]] = bitcast <8 x i16> %b to <16 x i8>
// CHECK:   [[TMP1:%.*]] = bitcast <16 x i8> [[TMP0]] to <8 x i16>
// CHECK:   [[VSET_LANE:%.*]] = insertelement <8 x i16> [[TMP1]], i16 %a, i32 7
// CHECK:   ret <8 x i16> [[VSET_LANE]]
uint16x8_t test_vsetq_lane_u16(uint16_t a, uint16x8_t b) {
  return vsetq_lane_u16(a, b, 7);
}