1 ; RUN: llc < %s -march=mips -o %t
2 ; RUN: grep __floatsidf %t | count 1
3 ; RUN: grep __floatunsidf %t | count 1
4 ; RUN: grep __fixdfsi %t | count 1
5 ; RUN: grep __fixunsdfsi %t | count 1
7 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
8 target triple = "mipsallegrexel-psp-elf"
10 define double @int2fp(i32 %a) nounwind {
12 sitofp i32 %a to double ; <double>:0 [#uses=1]
16 define double @uint2double(i32 %a) nounwind {
18 uitofp i32 %a to double ; <double>:0 [#uses=1]
22 define i32 @double2int(double %a) nounwind {
24 fptosi double %a to i32 ; <i32>:0 [#uses=1]
28 define i32 @double2uint(double %a) nounwind {
30 fptoui double %a to i32 ; <i32>:0 [#uses=1]