1 ; RUN: llc < %s -march=mipsel | FileCheck %s 2 ; RUN: llc < %s -march=mips | FileCheck %s 3 @a = external global i32 4 5 define double @f(i32 %a1, double %d) nounwind { 6 entry: 7 ; CHECK: mtc1 8 ; CHECK: mtc1 9 store i32 %a1, i32* @a, align 4 10 %add = fadd double %d, 2.000000e+00 11 ret double %add 12 } 13 14 define void @f3(double %d, i32 %a1) nounwind { 15 entry: 16 ; CHECK: mfc1 17 ; CHECK: mfc1 18 tail call void @f2(i32 %a1, double %d) nounwind 19 ret void 20 } 21 22 declare void @f2(i32, double) 23 24