OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [or1ksim/] [cpu/] [or1k/] [except.c] - Diff between revs 1510 and 1525

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1510 Rev 1525
Line 168... Line 168...
     * a chance to run, therefore run it now */
     * a chance to run, therefore run it now */
    run_sched_out_of_line(1);
    run_sched_out_of_line(1);
    /* Save the registers that are in the temporaries */
    /* Save the registers that are in the temporaries */
    if(!cpu_state.ts_current) {
    if(!cpu_state.ts_current) {
      if(cpu_state.delay_insn &&
      if(cpu_state.delay_insn &&
         (ADDR_PAGE(cpu_state.pc) == ADDR_PAGE(cpu_state.pc - 4)))
         (IADDR_PAGE(cpu_state.pc) == IADDR_PAGE(cpu_state.pc - 4)))
        upd_reg_from_t(cpu_state.pc - 4, 0);
        upd_reg_from_t(cpu_state.pc - 4, 0);
      else
      else
        upd_reg_from_t(cpu_state.pc, 0);
        upd_reg_from_t(cpu_state.pc, 0);
    }
    }
#endif
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.