/[dynamips]/upstream/dynamips-0.2.6-RC5/mips64_jit.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /upstream/dynamips-0.2.6-RC5/mips64_jit.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

upstream/dynamips-0.2.6-RC3/mips64_jit.c revision 4 by dpavlin, Sat Oct 6 16:06:49 2007 UTC upstream/dynamips-0.2.6-RC4/mips64_jit.c revision 5 by dpavlin, Sat Oct 6 16:08:03 2007 UTC
# Line 309  struct insn_tag *insn_fetch_and_emit(cpu Line 309  struct insn_tag *insn_fetch_and_emit(cpu
309     if (delay_slot != 2)     if (delay_slot != 2)
310        block->mips_trans_pos++;        block->mips_trans_pos++;
311    
312  #if DEBUG_PERF_COUNTER  #if DEBUG_INSN_PERF_CNT
313     mips64_inc_perf_counter(block);     mips64_inc_perf_counter(block);
314  #endif  #endif
315    
# Line 696  void *insn_block_execute(cpu_mips_t *cpu Line 696  void *insn_block_execute(cpu_mips_t *cpu
696        if (unlikely(cpu->state != MIPS_CPU_RUNNING))        if (unlikely(cpu->state != MIPS_CPU_RUNNING))
697           break;           break;
698    
699    #if DEBUG_BLOCK_PERF_CNT
700          cpu->perf_counter++;
701    #endif
702        /* Handle virtual idle loop */        /* Handle virtual idle loop */
703        if (unlikely(cpu->pc == cpu->idle_pc)) {        if (unlikely(cpu->pc == cpu->idle_pc)) {
704           if (++cpu->idle_count == cpu->idle_max) {           if (++cpu->idle_count == cpu->idle_max) {

Legend:
Removed from v.4  
changed lines
  Added in v.5

  ViewVC Help
Powered by ViewVC 1.1.26