Commit 1527c87eeeca43ad9e76ed9e394ace2ea03be49a
1 parent
0686970f
Improve PowerPC target implementation, using computed hflags as TB flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3188 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
2 deletions
cpu-exec.c
... | ... | @@ -187,8 +187,7 @@ static inline TranslationBlock *tb_find_fast(void) |
187 | 187 | cs_base = env->npc; |
188 | 188 | pc = env->pc; |
189 | 189 | #elif defined(TARGET_PPC) |
190 | - flags = (msr_pr << MSR_PR) | (msr_fp << MSR_FP) | | |
191 | - (msr_se << MSR_SE) | (msr_le << MSR_LE); | |
190 | + flags = env->hflags; | |
192 | 191 | cs_base = 0; |
193 | 192 | pc = env->nip; |
194 | 193 | #elif defined(TARGET_MIPS) | ... | ... |