qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT b689c62] exec-all.h: increase MAX_OP_PER_INSTR t


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT b689c62] exec-all.h: increase MAX_OP_PER_INSTR to 96 from 64
Date: Wed, 23 Sep 2009 07:38:45 -0000

From: Aurelien Jarno <address@hidden>

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 <address@hidden>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]