URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [sim/] [testsuite/] [d30v-elf/] [br-djsr.S] - Rev 1765
Compare with Previous | Blame | View Log
# Test macro.macro assert reg,valuecmpeq f0,\reg,\valuebra/fx fail.endm# PR 18230add r62,r0,0xffffffff || nopadd r1,r0,24 || nopdjsr r1,test_endadd r2,r0,r62test_end: nopassert r2, 0x00000030assert r62, 0x00000030# check return address correctly set by a djsr insnadd r3, r0, lastsub r3, r3, startstart:djsr r3, destadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || noplast:add r2, r2, 1 || nopnexti:add r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nopadd r2, r2, 1 || nop.align 4dest:assert r62,nexti# all okaybra okok:add r2, r0, 0.long 0x0e000004nopfail:add r2, r0, 47.long 0x0e000004nop
