Simon Atanasyan | 1093afe2 | 2013-11-19 12:20:17 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16 |
Reed Kotler | 4a230ff | 2013-02-07 04:34:51 +0000 | [diff] [blame] | 2 | |
3 | @x = common global float 0.000000e+00, align 4 | ||||
4 | |||||
5 | define void @foo() nounwind { | ||||
6 | entry: | ||||
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 | } |