1 ; RUN: llc -march=mips < %s | FileCheck %s 2 3 define i64 @add64(i64 %u, i64 %v) nounwind { 4 entry: 5 ; CHECK: addu 6 ; CHECK: sltu 7 ; CHECK: addu 8 ; CHECK: addu 9 %tmp2 = add i64 %u, %v 10 ret i64 %tmp2 11 } 12 13 define i64 @sub64(i64 %u, i64 %v) nounwind { 14 entry: 15 ; CHECK: sub64 16 ; CHECK: subu 17 ; CHECK: sltu 18 ; CHECK: addu 19 ; CHECK: subu 20 %tmp2 = sub i64 %u, %v 21 ret i64 %tmp2 22 } 23