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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [m32r/] [interfere.s] - Rev 816

Compare with Previous | Blame | View Log

; Test error messages in instances where output operands interfere.
 
; { dg-do assemble { target m32r-*-* } }
; { dg-options -m32rx }
 
interfere:
	trap #1      || cmp  r3, r4	; { dg-error "write to the same" }
		; { dg-warning "same" "out->in" { target *-*-* } { 7 } }
	rte          || addx r3, r4	; { dg-error "write to the same" }
		; { dg-warning "same" "out->in" { target *-*-* } { 9 } }
	cmp  r1, r2  || addx r3, r4	; { dg-error "write to the same" }
		; { dg-warning "same" "out->in" { target *-*-* } { 11 } }
	mvtc r0, psw || addx r1, r4	; { dg-error "write to the same" }
		; { dg-warning "same" "out->in" { target *-*-* } { 13 } }
 

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.