URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1481 |
Rev 1525 |
Line 195... |
Line 195... |
|
|
/* Wrapper around analysis() that contains all the recompiler specific stuff */
|
/* Wrapper around analysis() that contains all the recompiler specific stuff */
|
void op_support_analysis(void)
|
void op_support_analysis(void)
|
{
|
{
|
upd_sim_cycles();
|
upd_sim_cycles();
|
if(ADDR_PAGE(cpu_state.pc) != cpu_state.pc)
|
if(IADDR_PAGE(cpu_state.pc) != cpu_state.pc)
|
upd_reg_from_t(cpu_state.pc - (cpu_state.delay_insn ? 4 : 0), 0);
|
upd_reg_from_t(cpu_state.pc - (cpu_state.delay_insn ? 4 : 0), 0);
|
else
|
else
|
upd_reg_from_t(cpu_state.pc, 0);
|
upd_reg_from_t(cpu_state.pc, 0);
|
runtime.cpu.instructions++;
|
runtime.cpu.instructions++;
|
analysis(&cpu_state.iqueue);
|
analysis(&cpu_state.iqueue);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.