aboutsummaryrefslogtreecommitdiffstats
path: root/exec-all.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2009-09-22 23:26:21 +0200
committerAurelien Jarno <aurelien@aurel32.net>2009-09-23 09:25:03 +0200
commitb689c622a69841abd91cb47b9c6deb0f735d2a3e (patch)
treeb544bac0f8a505db08d0f62876113e207c266d70 /exec-all.h
parentfe6549dfd76c278dbcd788b3c15c5e6e5ed32190 (diff)
exec-all.h: increase MAX_OP_PER_INSTR to 96 from 64
The x86_64 ror instruction on a 32-bit host can generate up to 77 TCG ops. Some more space should be left for opc that are added at the end of the translation. Thanks to Laurent Desnogues for the debugging help. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h
index 51519ff25..ef783d8d1 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -34,7 +34,7 @@
typedef struct TranslationBlock TranslationBlock;
/* XXX: make safe guess about sizes */
-#define MAX_OP_PER_INSTR 64
+#define MAX_OP_PER_INSTR 96
/* A Call op needs up to 6 + 2N parameters (N = number of arguments). */
#define MAX_OPC_PARAM 10
#define OPC_BUF_SIZE 512