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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [m32r/] [outofrange.s] - Rev 818

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.