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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc2/] [or1ksim/] [cpu/] [or32/] [op_support.c] - Diff between revs 1481 and 1525

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);

powered by: WebSVN 2.1.0

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