示例#1
0
void test_vget_lanes8 (void)
{
  int8_t out_int8_t;
  int8x8_t arg0_int8x8_t;

  out_int8_t = vget_lane_s8 (arg0_int8x8_t, 1);
}
示例#2
0
int32_t test_vget_lane_s8(int8x8_t v1) {
  // CHECK: test_vget_lane_s8
  return vget_lane_s8(v1, 7)+1;
  // CHECK: smov {{w[0-9]+}}, {{v[0-9]+}}.b[7]
}
示例#3
0
int8_t test_vget_lane_s8(int8x8_t a) {
  // CHECK-LABEL: test_vget_lane_s8:
  // CHECK-NEXT:  umov.b w0, v0[7]
  // CHECK-NEXT:  ret
  return vget_lane_s8(a, 7);
}
示例#4
0
// CHECK-LABEL: define i8 @test_vget_lane_s8(<8 x i8> %a) #0 {
// CHECK:   [[VGET_LANE:%.*]] = extractelement <8 x i8> %a, i32 7
// CHECK:   ret i8 [[VGET_LANE]]
int8_t test_vget_lane_s8(int8x8_t a) {
  return vget_lane_s8(a, 7);
}