]> git.proxmox.com Git - qemu.git/commitdiff
exec-all.h: increase MAX_OP_PER_INSTR to 96 from 64
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 22 Sep 2009 21:26:21 +0000 (23:26 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 23 Sep 2009 07:35:22 +0000 (09:35 +0200)
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>
exec-all.h

index 31ab7ad930aba0b2463023d8beb54f772732240f..cd27eb694adb4b5d55b70e0c630049941212bdef 100644 (file)
@@ -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