Search
lxdream.org :: lxdream :: r707:fb7c8fe2f61c
lxdream 0.9.1
released Jun 29
Download Now
changeset707:fb7c8fe2f61c
parent706:3135a0770e19
child708:0b8b5eaa3b52
authornkeynes
dateWed Jun 25 10:04:14 2008 +0000 (11 years ago)
Increase maximum instruction size - was exceeded in some corner cases
src/sh4/sh4trans.h
1.1 --- a/src/sh4/sh4trans.h Wed Jun 25 10:03:28 2008 +0000
1.2 +++ b/src/sh4/sh4trans.h Wed Jun 25 10:04:14 2008 +0000
1.3 @@ -20,10 +20,10 @@
1.4 #include "dream.h"
1.5 #include "mem.h"
1.6
1.7 -/** Maximum size of a translated instruction, in bytes. This includes potentially
1.8 - * writing the entire epilogue
1.9 +/** Maximum size of a translated instruction, in bytes. Current worst case seems
1.10 + * to be a BF/S followed by one of the long FMOVs.
1.11 */
1.12 -#define MAX_INSTRUCTION_SIZE 256
1.13 +#define MAX_INSTRUCTION_SIZE 384
1.14 /** Maximum size of the translation epilogue (current real size is 116 bytes, so
1.15 * allows a little room
1.16 */
.