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 e164021..d4a3dcc 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