Commit 5d1d98ec4d4ef97d708e26674169ed3d1cae6413
1 parent
c7d05695
CRIS: Reduce the number of tb dependent flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4305 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
cpu-exec.c
| @@ -257,7 +257,7 @@ static inline TranslationBlock *tb_find_fast(void) | @@ -257,7 +257,7 @@ static inline TranslationBlock *tb_find_fast(void) | ||
| 257 | cs_base = 0; | 257 | cs_base = 0; |
| 258 | pc = env->pc; | 258 | pc = env->pc; |
| 259 | #elif defined(TARGET_CRIS) | 259 | #elif defined(TARGET_CRIS) |
| 260 | - flags = env->pregs[PR_CCS]; | 260 | + flags = env->pregs[PR_CCS] & (U_FLAG | X_FLAG); |
| 261 | cs_base = 0; | 261 | cs_base = 0; |
| 262 | pc = env->pc; | 262 | pc = env->pc; |
| 263 | #else | 263 | #else |