OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cfi/] [cfi-sparc-1.s] - Rev 816

Compare with Previous | Blame | View Log

#; $ as -o test.o -32 gas-cfi-test.s && gcc -m32 -nostdlib -o test test.o
 
	.file	"a.c"
	.text
	.align	4
	.globl foo
	.type	foo, @function
foo:
	.cfi_startproc
        save    %sp, -104, %sp
	.cfi_def_cfa_register	%fp
	.cfi_window_save
	.cfi_register	%o7, %i7
	add	%i0, 1, %o0
	call	bar, 0
	add	%i0, 2, %i0
	call	bar, 0
	mov	%i0, %o0
	add	%o0, 3, %o0
	ret
	restore	%g0, %o0, %o0
	.cfi_endproc
	.size	foo, .-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.