From 3878e2c9b2578549c76639bfc307b0ba272a58b1 Mon Sep 17 00:00:00 2001 From: edgar_igl Date: Tue, 27 May 2008 21:15:56 +0000 Subject: [PATCH] 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 --- cpu-exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;