Patchwork [4/5] tcg: increase TCG_MAX_OP_SIZE to 192

login
register
mail settings
Submitter Aurelien Jarno
Date Oct. 22, 2009, 8:17 p.m.
Message ID <a08e66de24012bbfbf20b7cca5721cb0be119d10.1256241265.git.aurelien@aurel32.net>
Download mbox | patch
Permalink /patch/36746/
State New
Headers show

Comments

Aurelien Jarno - Oct. 22, 2009, 8:17 p.m.
This is needed on a MIPS host and a 64-bit cross-endian target.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 exec-all.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/exec-all.h b/exec-all.h
index dd134a9..820b59e 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -41,10 +41,10 @@  typedef struct TranslationBlock TranslationBlock;
 #define OPC_MAX_SIZE (OPC_BUF_SIZE - MAX_OP_PER_INSTR)
 
 /* Maximum size a TCG op can expand to.  This is complicated because a
-   single op may require several host instructions and regirster reloads.
-   For now take a wild guess at 128 bytes, which should allow at least
+   single op may require several host instructions and register reloads.
+   For now take a wild guess at 192 bytes, which should allow at least
    a couple of fixup instructions per argument.  */
-#define TCG_MAX_OP_SIZE 128
+#define TCG_MAX_OP_SIZE 192
 
 #define OPPARAM_BUF_SIZE (OPC_BUF_SIZE * MAX_OPC_PARAM)