URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [sh/] [sh64/] [err-movi-noexp-1.s] - Rev 215
Go to most recent revision | Compare with Previous | Blame | View Log
! Check that we get errors for MOVI operands out-of-range with -no-expand. ! { dg-do assemble } ! { dg-options "--abi=32 --isa=shmedia -no-expand" } .text start: movi externalsym + 123,r3 movi 65535,r3 ! { dg-error "not a 16-bit signed value" } movi 65536,r3 ! { dg-error "not a 16-bit signed value" } movi 65535 << 16,r3 ! { dg-error "not a 16-bit signed value" } movi 32767,r3 movi 32768,r3 ! { dg-error "not a 16-bit signed value" } movi 32767 << 16,r3 ! { dg-error "not a 16-bit signed value" } movi -32768,r3 movi -32769,r3 ! { dg-error "not a 16-bit signed value" } movi -32768 << 16,r3 ! { dg-error "not a 16-bit signed value" } movi localsym + 73,r4 movi forwardsym - 42,r4 .set forwardsym,47 .data localsym: .long 1
Go to most recent revision | Compare with Previous | Blame | View Log