Search
lxdream.org :: lxdream/src/sh4/ia32mac.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/ia32mac.h
changeset 901:32c5cf5e206f
prev736:a02d1475ccfd
next905:4c17ebd9ef5e
author nkeynes
date Sun Oct 26 02:28:29 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Move the precision/size tests to translation-time rather than execution-time,
and flush/retranslate on a mismatch. Shaves a few percent off the core runtime
file annotate diff log raw
1.1 --- a/src/sh4/ia32mac.h Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/sh4/ia32mac.h Sun Oct 26 02:28:29 2008 +0000
1.3 @@ -120,20 +120,11 @@
1.4 * Emit the 'start of block' assembly. Sets up the stack frame and save
1.5 * SI/DI as required
1.6 */
1.7 -void sh4_translate_begin_block( sh4addr_t pc )
1.8 +void enter_block( )
1.9 {
1.10 PUSH_r32(R_EBP);
1.11 /* mov &sh4r, ebp */
1.12 load_ptr( R_EBP, ((uint8_t *)&sh4r) + 128 );
1.13 -
1.14 - sh4_x86.in_delay_slot = FALSE;
1.15 - sh4_x86.priv_checked = FALSE;
1.16 - sh4_x86.fpuen_checked = FALSE;
1.17 - sh4_x86.branch_taken = FALSE;
1.18 - sh4_x86.backpatch_posn = 0;
1.19 - sh4_x86.block_start_pc = pc;
1.20 - sh4_x86.tstate = TSTATE_NONE;
1.21 - sh4_x86.tlb_on = IS_MMU_ENABLED();
1.22 sh4_x86.stack_posn = 8;
1.23 }
1.24
.