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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

; Test error messages in instances where an insn of a particular size
; is required.
 
; { dg-do assemble { target m32r-*-* } }
 
wrongsize:
	cmpi r8,#10 -> ldi r0,#8  ; { dg-error "not a 16 bit instruction" }
	ldi r0,#8 -> cmpi r8,#10  ; { dg-error "not a 16 bit instruction" }
	cmpi r8,#10 || ldi r0,#8  ; { dg-error "not a 16 bit instruction" }
	ldi r0,#8 || cmpi r8,#10  ; { dg-error "not a 16 bit instruction" }
 

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.