void test_vgetQ_lanep16 (void)
{
  poly16_t out_poly16_t;
  poly16x8_t arg0_poly16x8_t;

  out_poly16_t = vgetq_lane_p16 (arg0_poly16x8_t, 1);
}
Esempio n. 2
0
poly16_t test_vgetq_lane_p16(poly16x8_t v1) {
  // CHECK: test_vgetq_lane_p16
  return vgetq_lane_p16(v1, 6);
  // CHECK: umov {{w[0-9]+}}, {{v[0-9]+}}.h[6]
}
Esempio n. 3
0
poly16_t test_vgetq_lane_p16(poly16x8_t a) {
  // CHECK-LABEL: test_vgetq_lane_p16:
  // CHECK-NEXT:  umov.h w0, v0[7]
  // CHECK-NEXT:  ret
  return vgetq_lane_p16(a, 7);
}
Esempio n. 4
0
// CHECK-LABEL: define i16 @test_vgetq_lane_p16(<8 x i16> %a) #0 {
// CHECK:   [[TMP0:%.*]] = bitcast <8 x i16> %a to <16 x i8>
// CHECK:   [[TMP1:%.*]] = bitcast <16 x i8> [[TMP0]] to <8 x i16>
// CHECK:   [[VGETQ_LANE:%.*]] = extractelement <8 x i16> [[TMP1]], i32 7
// CHECK:   ret i16 [[VGETQ_LANE]]
poly16_t test_vgetq_lane_p16(poly16x8_t a) {
  return vgetq_lane_p16(a, 7);
}