aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-19 05:37:56 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-09-19 05:37:56 +0000
commit1527c87eeeca43ad9e76ed9e394ace2ea03be49a (patch)
tree5a359f070e75a64c34ba684094b70646520cc5c3 /cpu-exec.c
parent0686970f8186d44776ec6bfae8af974fb1509c10 (diff)
downloadqemu-1527c87eeeca43ad9e76ed9e394ace2ea03be49a.zip
qemu-1527c87eeeca43ad9e76ed9e394ace2ea03be49a.tar.gz
qemu-1527c87eeeca43ad9e76ed9e394ace2ea03be49a.tar.bz2
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
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index d042947..2d08626 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -187,8 +187,7 @@ static inline TranslationBlock *tb_find_fast(void)
cs_base = env->npc;
pc = env->pc;
#elif defined(TARGET_PPC)
- flags = (msr_pr << MSR_PR) | (msr_fp << MSR_FP) |
- (msr_se << MSR_SE) | (msr_le << MSR_LE);
+ flags = env->hflags;
cs_base = 0;
pc = env->nip;
#elif defined(TARGET_MIPS)