OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [ia64/] [tls.s] - Rev 156

Compare with Previous | Blame | View Log

	.section ".tdata", "awT", @progbits
	.align 16
	.global x#, y#, z#, a#, b#, c#
	.protected a#, b#, c#
	.type	x#,@object
	.size	x#,4
x:	data4	1
	.type	y#,@object
	.size	y#,4
y:	data4	2
	.type	z#,@object
	.size	z#,4
z:	data4	3
	.align	8
	.type	a#,@object
	.size	a#,8
a:	data8	4
	.type	b#,@object
	.size	b#,8
b:	data8	5
	.type	c#,@object
	.size	c#,1
c:	data1	6
 
	.text
	.align 16
	.global foo#
	.proc foo#
foo:
	.prologue
	alloc r36 = ar.pfs, 0, 5, 3, 0
	.body
	addl	loc0 = @ltoff(@tprel(x)), gp;;
	ld8	loc0 = [loc0];;
	add	loc1 = loc0, r13;;
 
	mov	r2 = r13;;
	addl	loc1 = @tprel(y), r2;;
 
	mov	loc0 = gp
	addl	out0 = @ltoff(@dtpmod(z)), gp
	addl	out1 = @ltoff(@dtprel(z)), gp;;
	ld8	out0 = [out0]
	ld8	out1 = [out1]
	br.call.sptk.many	b0 = __tls_get_addr;;
	mov	gp = loc0;;
 
	addl	out0 = @ltoff(@dtpmod(a)), gp
	addl	out1 = @dtprel(a), r0;;
	ld8	out0 = [out0]
	br.call.sptk.many	b0 = __tls_get_addr;;
	mov	gp = loc0;;
 
	addl	out0 = @ltoff(@dtpmod(b)), gp
	mov	out1 = r0;;
	ld8	out0 = [out0]
	br.call.sptk.many	b0 = __tls_get_addr;;
	mov	gp = loc0
	mov	r2 = ret0;;
	addl	loc1 = @dtprel(b), r2
	addl	loc2 = @dtprel(c), r2
 
	br.ret.sptk.many b0
	.endp foo#
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.