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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [or1ksim/] [cuc/] [insn.c] - Diff between revs 1046 and 1047

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

Rev 1046 Rev 1047
Line 607... Line 607...
      }
      }
    }
    }
  }
  }
 
 
  /* Check if both choices can be pushed through */
  /* Check if both choices can be pushed through */
  if (ii->opt[1] & OPT_REF && ii->opt[2] & OPT_REF) {
  if (ii->opt[1] & OPT_REF && ii->opt[2] & OPT_REF
 
    /* Usually doesn't make sense to move conditionals though => more area */
 
    && !(ii->type & IT_COND)) {
    cuc_insn *a, *b;
    cuc_insn *a, *b;
    a = &f->INSN(ii->op[1]);
    a = &f->INSN(ii->op[1]);
    b = &f->INSN(ii->op[2]);
    b = &f->INSN(ii->op[2]);
    if (a->index == b->index && !(a->type & IT_VOLATILE) && !(b->type & IT_VOLATILE)) {
    if (a->index == b->index && !(a->type & IT_VOLATILE) && !(b->type & IT_VOLATILE)) {
      int diff = -1;
      int diff = -1;

powered by: WebSVN 2.1.0

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