From 5d1d98ec4d4ef97d708e26674169ed3d1cae6413 Mon Sep 17 00:00:00 2001 From: edgar_igl Date: Sat, 3 May 2008 08:35:16 +0000 Subject: [PATCH] CRIS: Reduce the number of tb dependent flags. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4305 c046a42c-6fe2-441c-8c8c-71466251a162 --- cpu-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-exec.c b/cpu-exec.c index e164021b3d..d4a3dccbdc 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -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 -- 2.11.0