예제 #1
0
// CHECK: test_vcvtnd_s64_f64
int64_t test_vcvtnd_s64_f64(float64_t a) {
  return vcvtnd_s64_f64(a);
// CHECK: fcvtns {{x[0-9]+}}, {{d[0-9]+}}
}
예제 #2
0
// CHECK-LABEL: define i64 @test_vcvtnd_s64_f64(double %a) #0 {
// CHECK:   [[VCVTND_S64_F64_I:%.*]] = call i64 @llvm.aarch64.neon.fcvtns.i64.f64(double %a) #2
// CHECK:   ret i64 [[VCVTND_S64_F64_I]]
int64_t test_vcvtnd_s64_f64(float64_t a) {
  return (int64_t)vcvtnd_s64_f64(a);
}
int64_t test_vcvtnd_s64_f64(float64_t a) {
// CHECK-LABEL: test_vcvtnd_s64_f64
// CHECK: fcvtns {{[dx][0-9]+}}, {{d[0-9]+}}
  return (int64_t)vcvtnd_s64_f64(a);
}