Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 533:9764673fd4a5
prev532:43653e748030
next539:75f3e594d4a7
author nkeynes
date Tue Nov 20 08:31:34 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix TRAPA (translator) and add test case
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Mon Nov 19 08:51:03 2007 +0000
1.2 +++ b/src/sh4/sh4x86.in Tue Nov 20 08:31:34 2007 +0000
1.3 @@ -1795,9 +1795,10 @@
1.4 if( sh4_x86.in_delay_slot ) {
1.5 SLOTILLEGAL();
1.6 } else {
1.7 + load_imm32( R_ECX, pc+2 );
1.8 + store_spreg( R_ECX, REG_OFFSET(pc) );
1.9 load_imm32( R_EAX, imm );
1.10 call_func1( sh4_raise_trap, R_EAX );
1.11 - ADD_imm8s_r32( 4, R_ESP );
1.12 sh4_x86.tstate = TSTATE_NONE;
1.13 exit_block_pcset(pc);
1.14 sh4_x86.branch_taken = TRUE;
.