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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [cfi/] [cfi-sparc64-1.s] - Rev 438

Go to most recent revision | Compare with Previous | Blame | View Log

#; $ as -o test.o -64 gas-cfi-test.s && gcc -m64 -nostdlib -o test test.o
 
	.file	"a.c"
	.text
	.align	4
	.globl foo
	.type	foo, @function
foo:
	.cfi_startproc
	save	%sp, -192, %sp
	.cfi_def_cfa_register	%fp
	.cfi_window_save
	.cfi_register	%o7, %i7
	add	%i0, 1, %o0
	add	%i0, 2, %i0
	call	bar, 0
	sra	%o0, 0, %o0
	sra	%i0, 0, %i0
	call	bar, 0
	mov	%i0, %o0
	add	%o0, 3, %o0
	sra	%o0, 0, %o0
	ret
	restore	%g0, %o0, %o0
	.cfi_endproc
	.size	foo, .-foo
 

Go to most recent revision | 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.