Search
lxdream.org :: lxdream/src/sh4/sh4trans.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4trans.c
changeset 905:4c17ebd9ef5e
prev901:32c5cf5e206f
next906:268ea359f884
author nkeynes
date Wed Oct 29 23:51:58 2008 +0000 (11 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/sh4trans.c Sun Oct 26 02:28:29 2008 +0000
1.2 +++ b/src/sh4/sh4trans.c Wed Oct 29 23:51:58 2008 +0000
1.3 @@ -170,7 +170,7 @@
1.4 }
1.5 }
1.6
1.7 -void sh4_translate_breakpoint_hit(uint32_t pc)
1.8 +void FASTCALL sh4_translate_breakpoint_hit(uint32_t pc)
1.9 {
1.10 if( sh4_starting && sh4r.slice_cycle == 0 && pc == sh4r.pc ) {
1.11 return;
1.12 @@ -207,7 +207,7 @@
1.13 }
1.14 }
1.15
1.16 -void *xlat_get_code_by_vma( sh4vma_t vma )
1.17 +void * FASTCALL xlat_get_code_by_vma( sh4vma_t vma )
1.18 {
1.19 void *result = NULL;
1.20
.