qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 01/17] tcg: extend max tcg opcodes on 32bit


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 01/17] tcg: extend max tcg opcodes on 32bit
Date: Fri, 15 Apr 2011 17:32:42 +0200

When running on a 32 bit host, we tend to use more TCG ops than on
a 64 bit host. Reflect that in the reserved opcode amount constant.

Signed-off-by: Alexander Graf <address@hidden>
---
 exec-all.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/exec-all.h b/exec-all.h
index 496c001..d23a36d 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -43,7 +43,11 @@ typedef ram_addr_t tb_page_addr_t;
 typedef struct TranslationBlock TranslationBlock;
 
 /* XXX: make safe guess about sizes */
+#if HOST_LONG_BITS == 32
+#define MAX_OP_PER_INSTR 128
+#else
 #define MAX_OP_PER_INSTR 96
+#endif
 
 #if HOST_LONG_BITS == 32
 #define MAX_OPC_PARAM_PER_ARG 2
-- 
1.6.0.2




reply via email to

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