filename | src/sh4/ia64abi.h |
changeset | 901:32c5cf5e206f |
prev | 800:0d1be79c9b33 |
next | 908:a00debcf2600 |
author | nkeynes |
date | Wed Oct 29 23:51:58 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Use regparam calling conventions for all functions called from translated code, along with a few other high-use functions. Can probably extend this to all functions, but as it is this is a nice performance boost |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/ia64abi.h Mon Aug 04 06:00:11 2008 +00001.2 +++ b/src/sh4/ia64abi.h Wed Oct 29 23:51:58 2008 +00001.3 @@ -91,22 +91,13 @@1.4 * Emit the 'start of block' assembly. Sets up the stack frame and save1.5 * SI/DI as required1.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.tlb_on = IS_MMU_ENABLED();1.21 - sh4_x86.tstate = TSTATE_NONE;1.22 }1.23 -1.24 +XS1.25 /**1.26 * Exit the block with sh4r.pc already written1.27 */
.