CRIS: Re-add the X flag to the tb flags, it allows for better code generation and is practially always cleared.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4597 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
edgar_igl 2008-05-27 21:15:56 +00:00
parent 7a5ca8648b
commit 3878e2c9b2

View File

@ -218,7 +218,7 @@ static inline TranslationBlock *tb_find_fast(void)
cs_base = 0;
pc = env->pc;
#elif defined(TARGET_CRIS)
flags = env->pregs[PR_CCS] & U_FLAG;
flags = env->pregs[PR_CCS] & (U_FLAG | X_FLAG);
flags |= env->dslot;
cs_base = 0;
pc = env->pc;