]> git.proxmox.com Git - qemu.git/commitdiff
CRIS: Re-add the X flag to the tb flags, it allows for better code generation and...
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 27 May 2008 21:15:56 +0000 (21:15 +0000)
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 27 May 2008 21:15:56 +0000 (21:15 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4597 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-exec.c

index 5e64fa43cae3b7fc12507621351cd4d0b82cb4b0..56bd2f9bb4466e5f21de265435afa23818c3d6ff 100644 (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;