Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc < %s -march=mips -o %t
      2 ; RUN: grep subu %t | count 2
      3 ; RUN: grep addu %t | count 4
      4 
      5 target datalayout =
      6 "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"
      7 target triple = "mipsallegrexel-unknown-psp-elf"
      8 
      9 define i64 @add64(i64 %u, i64 %v) nounwind  {
     10 entry:
     11 	%tmp2 = add i64 %u, %v	
     12   ret i64 %tmp2
     13 }
     14 
     15 define i64 @sub64(i64 %u, i64 %v) nounwind  {
     16 entry:
     17   %tmp2 = sub i64 %u, %v
     18   ret i64 %tmp2
     19 }
     20