summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:15:56 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-27 21:15:56 +0000
commit3878e2c9b2578549c76639bfc307b0ba272a58b1 (patch)
tree7219a6b1604c13b1360353405e62d69f09718b36
parent7a5ca8648b6a3ecd359bc3029b2988de452494e9 (diff)
downloadqemu-3878e2c9b2578549c76639bfc307b0ba272a58b1.tar.gz
qemu-3878e2c9b2578549c76639bfc307b0ba272a58b1.tar.bz2
qemu-3878e2c9b2578549c76639bfc307b0ba272a58b1.zip
CRIS: Re-add the X flag to the tb flags, it allows for better code generation and is practially always cleared.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4597 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 5e64fa43ca..56bd2f9bb4 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -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;