1 ; RUN: llc -mtriple thumbv7-windows-itanium -filetype asm -o - %s | FileCheck %s
2 ; RUN: llc -mtriple thumbv7-windows-msvc -filetype asm -o - %s | FileCheck %s
4 define arm_aapcs_vfpcc i64 @stoi64(float %f) {
6 %conv = fptosi float %f to i64
13 define arm_aapcs_vfpcc i64 @stou64(float %f) {
15 %conv = fptoui float %f to i64
22 define arm_aapcs_vfpcc float @i64tos(i64 %i64) {
24 %conv = sitofp i64 %i64 to float
31 define arm_aapcs_vfpcc float @u64tos(i64 %u64) {
33 %conv = uitofp i64 %u64 to float
40 define arm_aapcs_vfpcc i64 @dtoi64(double %d) {
42 %conv = fptosi double %d to i64
49 define arm_aapcs_vfpcc i64 @dtou64(double %d) {
51 %conv = fptoui double %d to i64
58 define arm_aapcs_vfpcc double @i64tod(i64 %i64) {
60 %conv = sitofp i64 %i64 to double
67 define arm_aapcs_vfpcc double @u64tod(i64 %i64) {
69 %conv = uitofp i64 %i64 to double