blob: c8b5e0d1771eee2a980c2c2aa8c801ef7326f063 [file] [log] [blame]
Simon Atanasyan1093afe22013-11-19 12:20:17 +00001; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=static16
Reed Kotler78fb2912013-09-21 01:37:52 +00002
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" }