4e5059ed39e93b85d4fcc7a687c6771e0accd64a
[oota-llvm.git] / test / CodeGen / Mips / fp16static.ll
1 ; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
2
3 @x = common global float 0.000000e+00, align 4
4
5 define void @foo() nounwind {
6 entry:
7   %0 = load float, float* @x, align 4
8   %1 = load float, 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 }