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
This commit is contained in:
j_mayer 2007-09-19 05:37:56 +00:00
parent 0686970f81
commit 1527c87eee
1 changed files with 1 additions and 2 deletions

View 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)