blob: 77028dbde9aaf370c11af610b109957193642a72 [file] [log] [blame]
Reed Kotlered7fd712013-09-21 01:37:52 +00001; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -soft-float -mips16-hard-float -relocation-model=static < %s | FileCheck %s -check-prefix=static16
2
3; Function Attrs: nounwind
4define double @my_mul(double %a, double %b) #0 {
5entry:
6 %a.addr = alloca double, align 8
7 %b.addr = alloca double, align 8
8 store double %a, double* %a.addr, align 8
9 store double %b, double* %b.addr, align 8
10 %0 = load double* %a.addr, align 8
11 %1 = load double* %b.addr, align 8
12 %mul = fmul double %0, %1
13 ret double %mul
14}
15
16; static16: .ent __fn_stub_my_mul
17; static16: .set reorder
18; static16-NEXT: #NO_APP
19; static16: .end __fn_stub_my_mul
20attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" }