OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fbac54
)
target-arm: convert gen_lookup_tb not to use cpu_T
author
Filip Navara
<filip.navara@gmail.com>
Thu, 15 Oct 2009 10:45:48 +0000
(12:45 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 17 Oct 2009 21:52:17 +0000
(23:52 +0200)
Signed-off-by: Filip Navara <filip.navara@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/translate.c
patch
|
blob
|
history
diff --git
a/target-arm/translate.c
b/target-arm/translate.c
index
21070f1
..
8e5380c
100644
(file)
--- a/
target-arm/translate.c
+++ b/
target-arm/translate.c
@@
-898,8
+898,7
@@
static inline void gen_movl_reg_T1(DisasContext *s, int reg)
/* Force a TB lookup after an instruction that changes the CPU state. */
static inline void gen_lookup_tb(DisasContext *s)
{
- gen_op_movl_T0_im(s->pc);
- gen_movl_reg_T0(s, 15);
+ tcg_gen_movi_i32(cpu_R[15], s->pc & ~1);
s->is_jmp = DISAS_UPDATE;
}