revision 707:fb7c8fe2f61c
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 707:fb7c8fe2f61c |
parent | 706:3135a0770e19 |
child | 708:0b8b5eaa3b52 |
author | nkeynes |
date | Wed Jun 25 10:04:14 2008 +0000 (14 years ago) |
Increase maximum instruction size - was exceeded in some corner cases
1.1 --- a/src/sh4/sh4trans.h Wed Jun 25 10:03:28 2008 +00001.2 +++ b/src/sh4/sh4trans.h Wed Jun 25 10:04:14 2008 +00001.3 @@ -20,10 +20,10 @@1.4 #include "dream.h"1.5 #include "mem.h"1.7 -/** Maximum size of a translated instruction, in bytes. This includes potentially1.8 - * writing the entire epilogue1.9 +/** Maximum size of a translated instruction, in bytes. Current worst case seems1.10 + * to be a BF/S followed by one of the long FMOVs.1.11 */1.12 -#define MAX_INSTRUCTION_SIZE 2561.13 +#define MAX_INSTRUCTION_SIZE 3841.14 /** Maximum size of the translation epilogue (current real size is 116 bytes, so1.15 * allows a little room1.16 */
.