aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-03 08:35:16 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-03 08:35:16 +0000
commit5d1d98ec4d4ef97d708e26674169ed3d1cae6413 (patch)
tree635bb5dd07dd0828e105cdde7371404338557022 /cpu-exec.c
parentc7d0569543b349608f3be9c58cb0882ea6402a21 (diff)
CRIS: Reduce the number of tb dependent flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4305 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
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