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

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 1681 to Rev 1682
    Reverse comparison

Rev 1681 → Rev 1682

/trunk/or1ksim/cpu/or32/dyn_rec.c
867,8 → 867,7
 
/* Mark the jump as non page local if the delay slot instruction is on the
* next page to the jump instruction. This should not be needed */
if((IADDR_PAGE(j_ea) != IADDR_PAGE(opq->insn_addr)) ||
(IADDR_PAGE(opq->insn_addr) != IADDR_PAGE(opq->insn_addr + 4)))
if(IADDR_PAGE(j_ea) != IADDR_PAGE(opq->insn_addr))
/* We can't do anything as the j_ea (as passed to find_jump_loc) is a
* VIRTUAL offset and the next physical page may not be the next VIRTUAL
* page */
917,8 → 916,6
 
off <<= 2;
 
jump_local = find_jump_loc(opq->insn_addr + off, opq);
 
if(IADDR_PAGE(opq->insn_addr) != IADDR_PAGE(opq->insn_addr + 4)) {
gen_op_set_pc_delay_imm(opq, 1, off);
gen_op_do_sched(opq, 1);
925,6 → 922,8
return;
}
 
jump_local = find_jump_loc(opq->insn_addr + off, opq);
 
gen_op_set_delay_insn(opq, 1);
gen_op_do_sched(opq, 1);
 

powered by: WebSVN 2.1.0

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