From fdc83d6aa10cc38950d8d4d4a4afa46e89012cc2 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Tue, 22 Sep 2009 23:26:21 +0200 Subject: [PATCH] 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 --- exec-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec-all.h b/exec-all.h index 51519ff..ef783d8 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 -- 2.7.4