filename | src/sh4/sh4trans.h |
changeset | 926:68f3e0fe02f1 |
prev | 905:4c17ebd9ef5e |
next | 941:c67574ed4355 |
author | nkeynes |
date | Sun Dec 14 07:50:48 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Setup a 'proper' stackframe in translated blocks. This doesn't affect performance noticeably, but does ensure that a) The stack is aligned correctly on OS X with no extra effort, and b) We can't mess up the stack and crash that way anymore. Replace all PUSH/POP instructions (outside of prologue/epilogue) with ESP-rel moves to stack local variables. Finally merge ia32mac and ia32abi together, since they're pretty much the same now anyway (and thereby simplifying maintenance a good deal) |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4trans.h Wed Oct 29 23:51:58 2008 +00001.2 +++ b/src/sh4/sh4trans.h Sun Dec 14 07:50:48 2008 +00001.3 @@ -34,7 +34,7 @@1.4 /** Maximum size of the translation epilogue (current real size is 116 bytes, so1.5 * allows a little room1.6 */1.7 -#define EPILOGUE_SIZE 1281.8 +#define EPILOGUE_SIZE 1361.10 /** Maximum number of recovery records for a translated block (2048 based on1.11 * 1 record per SH4 instruction in a 4K page).
.