示例#1
0
void test_vsetQ_lanes8 (void)
{
  int8x16_t out_int8x16_t;
  int8_t arg0_int8_t;
  int8x16_t arg1_int8x16_t;

  out_int8x16_t = vsetq_lane_s8 (arg0_int8_t, arg1_int8x16_t, 1);
}
示例#2
0
int8x16_t test_vsetq_lane_s8(int8_t v1, int8x16_t v2) {
   // CHECK: test_vsetq_lane_s8
  return vsetq_lane_s8(v1, v2, 6);
  // CHECK: ins {{v[0-9]+}}.b[6], {{w[0-9]+}}
}
示例#3
0
int8x16_t test_vsetq_lane_s8(int8_t a, int8x16_t b) {
  // CHECK-LABEL: test_vsetq_lane_s8:
  // CHECK-NEXT:  ins.b v0[15], w0
  // CHECK-NEXT:  ret
  return vsetq_lane_s8(a, b, 15);
}
示例#4
0
// CHECK-LABEL: define <16 x i8> @test_vsetq_lane_s8(i8 %a, <16 x i8> %b) #0 {
// CHECK:   [[VSET_LANE:%.*]] = insertelement <16 x i8> %b, i8 %a, i32 15
// CHECK:   ret <16 x i8> [[VSET_LANE]]
int8x16_t test_vsetq_lane_s8(int8_t a, int8x16_t b) {
  return vsetq_lane_s8(a, b, 15);
}