aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2009-10-22 02:36:27 +0200
committerAurelien Jarno <aurelien@aurel32.net>2009-12-01 00:06:15 +0000
commit0cbfcd2b03bd602b7c65f73267bf84d4f7e9fe8d (patch)
treeef4b6ef737d0d19fb38d8938a90a764139fa0ee6
parentafa05235a5860e7e2153b428294bd44569d4039b (diff)
tcg: increase TCG_MAX_OP_SIZE to 192
This is needed on a MIPS host and a 64-bit cross-endian target. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--exec-all.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/exec-all.h b/exec-all.h
index dd134a99f8..820b59eea6 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)