OSDN Git Service

Improve PowerPC target implementation, using computed hflags as TB flags.
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 19 Sep 2007 05:37:56 +0000 (05:37 +0000)
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 19 Sep 2007 05:37:56 +0000 (05:37 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3188 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-exec.c

index d042947..2d08626 100644 (file)
@@ -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)