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.20.1/] [gas/] [testsuite/] [gas/] [m32r/] [wrongsize.s] - Rev 277
Go to most recent revision | 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" }
Go to most recent revision | Compare with Previous | Blame | View Log