Revision 551bd27f cpu-exec.c
b/cpu-exec.c | ||
---|---|---|
224 | 224 |
#error unsupported CPU |
225 | 225 |
#endif |
226 | 226 |
tb = env->tb_jmp_cache[tb_jmp_cache_hash_func(pc)]; |
227 |
if (__builtin_expect(!tb || tb->pc != pc || tb->cs_base != cs_base ||
|
|
228 |
tb->flags != flags, 0)) {
|
|
227 |
if (unlikely(!tb || tb->pc != pc || tb->cs_base != cs_base ||
|
|
228 |
tb->flags != flags)) {
|
|
229 | 229 |
tb = tb_find_slow(pc, cs_base, flags); |
230 | 230 |
} |
231 | 231 |
return tb; |
... | ... | |
360 | 360 |
next_tb = 0; /* force lookup of first TB */ |
361 | 361 |
for(;;) { |
362 | 362 |
interrupt_request = env->interrupt_request; |
363 |
if (__builtin_expect(interrupt_request, 0) &&
|
|
363 |
if (unlikely(interrupt_request) &&
|
|
364 | 364 |
likely(!(env->singlestep_enabled & SSTEP_NOIRQ))) { |
365 | 365 |
if (interrupt_request & CPU_INTERRUPT_DEBUG) { |
366 | 366 |
env->interrupt_request &= ~CPU_INTERRUPT_DEBUG; |
Also available in: Unified diff