1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
| .text
.abiversion 2
.globl lfunc
.p2align 4
.type lfunc,@function
lfunc: # @lfunc
.Lfunc_begin0:
.Lfunc_gep0:
addis 2, 12, .TOC.-.Lfunc_gep0@ha
addi 2, 2, .TOC.-.Lfunc_gep0@l
.Lfunc_lep0:
.localentry lfunc, .Lfunc_lep0-.Lfunc_gep0
# BB#0:
mr 4, 3
addis 3, 2, .LC0@toc@ha
ld 3, .LC0@toc@l(3)
stw 4, -12(1)
lwz 4, 0(3)
lwz 5, -12(1)
mullw 4, 4, 5
extsw 3, 4
blr
.long 0
.quad 0
.Lfunc_end0:
.size lfunc, .Lfunc_end0-.Lfunc_begin0
.globl simple
.p2align 4
.type simple,@function
simple: # @simple
.Lfunc_begin1:
# %bb.0: # %entry
mr 4, 3
stw 4, -12(1)
lwz 4, -12(1)
mulli 4, 4, 10
extsw 3, 4
blr
.long 0
.quad 0
.Lfunc_end1:
.size simple, .Lfunc_end1-.Lfunc_begin1
.section .toc,"aw",@progbits
.LC0:
.tc g_foo[TC],g_foo
.type g_foo,@object # @g_foo
.data
.globl g_foo
.p2align 2
g_foo:
.long 2 # 0x2
.size g_foo, 4
|