xref: /llvm-project/llvm/test/CodeGen/Mips/fp16static.ll (revision 8663926a544602932d299dda435ed1ef70a05f48)
1; RUN: llc -mtriple=mipsel -mattr=mips16 -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, ptr @x, align 4
8  %1 = load float, ptr @x, align 4
9  %mul = fmul float %0, %1
10  store float %mul, ptr @x, align 4
11; CHECK-STATIC16: jal	__mips16_mulsf3
12  ret void
13}
14