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/] [m32r/] [outofrange.s] - Rev 156

Compare with Previous | Blame | View Log

; Test error messages where branches are out of range.
 
; { dg-do assemble { target m32r-*-* } }
 
	.text
	.global foo
foo:
	bl.s label
		; { dg-error "out of range" "out of range bl.s" { target *-*-* } { 8 } }
	bnc.s label
		; { dg-error "out of range" "out of range bnc.s" { target *-*-* } { 10 } }
	bra.s label
		; { dg-error "out of range" "out of range bra.s" { target *-*-* } { 12 } }
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
	ld24 r0,#0
label:
	jmp r14
 

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.