Commit 3878e2c9b2578549c76639bfc307b0ba272a58b1

Authored by edgar_igl
1 parent 7a5ca864

CRIS: Re-add the X flag to the tb flags, it allows for better code generation an…

…d is practially always cleared.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4597 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
cpu-exec.c
... ... @@ -218,7 +218,7 @@ static inline TranslationBlock *tb_find_fast(void)
218 218 cs_base = 0;
219 219 pc = env->pc;
220 220 #elif defined(TARGET_CRIS)
221   - flags = env->pregs[PR_CCS] & U_FLAG;
  221 + flags = env->pregs[PR_CCS] & (U_FLAG | X_FLAG);
222 222 flags |= env->dslot;
223 223 cs_base = 0;
224 224 pc = env->pc;
... ...