URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [sim/] [testsuite/] [d30v-elf/] [trap.S] - Rev 1765
Compare with Previous | Blame | View Log
# verify that trap || cmp worksadd r8,r0,0x11223344 ;add r9,r0,0x11223344 ;mvtsys bpsw,r0 || nopmvtsys bpc,r0 || nopadd r1,r0,0x97000555 ; for pswmvtsys psw,r1 || noptrap 0 || cmpeq f0,r8,r9,;.long 0x0e000004, 0x00f00000.section .eit_v, "a"nop || nopnop || nopnop || nopnop || nop# save the old bpsw, pswmvfsys r4,bpsw || nopmvfsys r5,psw || nop# load up what they should beadd r6,r0,0x97004555add r7,r0,0x90000000# verify that they have the right values# return exit value in r2 -- 0 success, 47 failureadd r2,r0,47cmpeq f0,r4,r6 || nopcmpeq f1,r5,r7 || nopadd/tt r2,r0,r0 || nopreit
