Skip to content
Snippets Groups Projects
Commit b38d3f24 authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

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: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 5c59f6c2
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment