projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db7350
)
target-mips: remove MAX_OP_PER_INSTR workaround
author
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 22 Sep 2009 21:29:44 +0000
(23:29 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Wed, 23 Sep 2009 07:25:03 +0000
(09:25 +0200)
Now that MAX_OP_PER_INSTR has been increased to a safer value, removed
the target-mips specific workaround.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c
patch
|
blob
|
history
diff --git
a/target-mips/translate.c
b/target-mips/translate.c
index 72692efe08db7d98091b80e3b65dcc249b8c7afb..aabb69c2df6c74d3de62170612e3c226bda13c8f 100644
(file)
--- a/
target-mips/translate.c
+++ b/
target-mips/translate.c
@@
-8298,8
+8298,7
@@
gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb,
qemu_log("search pc %d\n", search_pc);
pc_start = tb->pc;
- /* Leave some spare opc slots for branch handling. */
- gen_opc_end = gen_opc_buf + OPC_MAX_SIZE - 16;
+ gen_opc_end = gen_opc_buf + OPC_MAX_SIZE;
ctx.pc = pc_start;
ctx.saved_pc = -1;
ctx.singlestep_enabled = env->singlestep_enabled;