提交 0cbfcd2b 编写于 作者: A Aurelien Jarno

tcg: increase TCG_MAX_OP_SIZE to 192

This is needed on a MIPS host and a 64-bit cross-endian target.
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 afa05235
...@@ -41,10 +41,10 @@ typedef struct TranslationBlock TranslationBlock; ...@@ -41,10 +41,10 @@ typedef struct TranslationBlock TranslationBlock;
#define OPC_MAX_SIZE (OPC_BUF_SIZE - MAX_OP_PER_INSTR) #define OPC_MAX_SIZE (OPC_BUF_SIZE - MAX_OP_PER_INSTR)
/* Maximum size a TCG op can expand to. This is complicated because a /* Maximum size a TCG op can expand to. This is complicated because a
single op may require several host instructions and regirster reloads. single op may require several host instructions and register reloads.
For now take a wild guess at 128 bytes, which should allow at least For now take a wild guess at 192 bytes, which should allow at least
a couple of fixup instructions per argument. */ a couple of fixup instructions per argument. */
#define TCG_MAX_OP_SIZE 128 #define TCG_MAX_OP_SIZE 192
#define OPPARAM_BUF_SIZE (OPC_BUF_SIZE * MAX_OPC_PARAM) #define OPPARAM_BUF_SIZE (OPC_BUF_SIZE * MAX_OPC_PARAM)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册