]> git.proxmox.com Git - qemu.git/commitdiff
CRIS: Reduce the number of tb dependent flags.
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 3 May 2008 08:35:16 +0000 (08:35 +0000)
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 3 May 2008 08:35:16 +0000 (08:35 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4305 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-exec.c

index e164021b3d85a65c183672a7cfaae569d02f1f8a..d4a3dccbdcafc3b7250ccc534a3e6ad8b364f716 100644 (file)
@@ -257,7 +257,7 @@ static inline TranslationBlock *tb_find_fast(void)
     cs_base = 0;
     pc = env->pc;
 #elif defined(TARGET_CRIS)
-    flags = env->pregs[PR_CCS];
+    flags = env->pregs[PR_CCS] & (U_FLAG | X_FLAG);
     cs_base = 0;
     pc = env->pc;
 #else