File: ppc64-localentry.s

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 995,808 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (55 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (43)
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