Example #1
0
float64x1_t test_vget_high_f64(float64x2_t a) {
  // CHECK-COMMON-LABEL: test_vget_high_f64
  return vget_high_f64(a);
  // CHECK-AARCH64: dup d0, {{v[0-9]+}}.d[1]
  // CHECK-ARM64: ext v0.16b, v0.16b, v0.16b, #8
}
Example #2
0
float64x1_t test_vget_high_f64(float64x2_t a) {
  // CHECK-LABEL: test_vget_high_f64
  return vget_high_f64(a);
  // CHECK: dup d0, {{v[0-9]+}}.d[1]
}
// CHECK-LABEL: define <1 x double> @test_vget_high_f64(<2 x double> %a) #0 {
// CHECK:   [[SHUFFLE_I:%.*]] = shufflevector <2 x double> %a, <2 x double> %a, <1 x i32> <i32 1>
// CHECK:   ret <1 x double> [[SHUFFLE_I]]
float64x1_t test_vget_high_f64(float64x2_t a) {
  return vget_high_f64(a);
}