blob: 240ec75a36b641b245133269187f9fc02ada14dd [file] [log] [blame]
Reed Kotler4a230ff2013-02-07 04:34:51 +00001; RUN: llc -march=mipsel -mcpu=mips16 -mips16-hard-float -soft-float -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
2
3@x = common global float 0.000000e+00, align 4
4
5define void @foo() nounwind {
6entry:
7 %0 = load float* @x, align 4
8 %1 = load float* @x, align 4
9 %mul = fmul float %0, %1
10 store float %mul, float* @x, align 4
11; CHECK-STATIC16: jal __mips16_mulsf3
12 ret void
13}