OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [sched-deps.c] - Diff between revs 280 and 378

Show entire file | Details | Blame | View Log

Rev 280 Rev 378
Line 1515... Line 1515...
    next_link:;
    next_link:;
    }
    }
 
 
  delete_all_dependences (insn);
  delete_all_dependences (insn);
 
 
  prev_nonnote = prev_nonnote_insn (insn);
  prev_nonnote = prev_nonnote_nondebug_insn (insn);
  while (DEBUG_INSN_P (prev_nonnote))
 
    prev_nonnote = prev_nonnote_insn (prev_nonnote);
 
  if (BLOCK_FOR_INSN (insn) == BLOCK_FOR_INSN (prev_nonnote)
  if (BLOCK_FOR_INSN (insn) == BLOCK_FOR_INSN (prev_nonnote)
      && ! sched_insns_conditions_mutex_p (insn, prev_nonnote))
      && ! sched_insns_conditions_mutex_p (insn, prev_nonnote))
    add_dependence (insn, prev_nonnote, REG_DEP_ANTI);
    add_dependence (insn, prev_nonnote, REG_DEP_ANTI);
}
}


Line 2693... Line 2691...
    }
    }
 
 
  if (JUMP_P (insn))
  if (JUMP_P (insn))
    {
    {
      rtx next;
      rtx next;
      next = next_nonnote_insn (insn);
      next = next_nonnote_nondebug_insn (insn);
      while (next && DEBUG_INSN_P (next))
 
        next = next_nonnote_insn (next);
 
      if (next && BARRIER_P (next))
      if (next && BARRIER_P (next))
        reg_pending_barrier = MOVE_BARRIER;
        reg_pending_barrier = MOVE_BARRIER;
      else
      else
        {
        {
          rtx pending, pending_mem;
          rtx pending, pending_mem;
Line 3364... Line 3360...
  /* Before reload, if the previous block ended in a call, show that
  /* Before reload, if the previous block ended in a call, show that
     we are inside a post-call group, so as to keep the lifetimes of
     we are inside a post-call group, so as to keep the lifetimes of
     hard registers correct.  */
     hard registers correct.  */
  if (! reload_completed && !LABEL_P (head))
  if (! reload_completed && !LABEL_P (head))
    {
    {
      rtx insn = prev_nonnote_insn (head);
      rtx insn = prev_nonnote_nondebug_insn (head);
 
 
      while (insn && DEBUG_INSN_P (insn))
 
        insn = prev_nonnote_insn (insn);
 
      if (insn && CALL_P (insn))
      if (insn && CALL_P (insn))
        deps->in_post_call_group_p = post_call_initial;
        deps->in_post_call_group_p = post_call_initial;
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

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