URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [err-ptb-1.s] - Rev 38
Go to most recent revision | Compare with Previous | Blame | View Log
! Check that PTB to a assembly-time-resolvable SHcompact operand ! gets an error. Likewise PTA. ! { dg-do assemble } ! { dg-options "--abi=32" } .text .mode SHmedia start: ptb shmediasymbol1,tr1 ! { dg-error "PTB operand is a SHmedia symbol" } shmediasymbol3: ptb shcompactsymbol1,tr1 pta shcompactsymbol2,tr3 ! { dg-error "PTA operand is a SHcompact symbol" } shmediasymbol1: ptb shmediasymbol2,tr2 ! { dg-error "PTB operand is a SHmedia symbol" } .mode SHcompact shcompact: nop nop shcompactsymbol2: nop nop shcompactsymbol1: nop nop .mode SHmedia shmedia: nop shmediasymbol2: nop ptb shmediasymbol3,tr3 ! { dg-error "PTB operand is a SHmedia symbol" } nop
Go to most recent revision | Compare with Previous | Blame | View Log