URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 1046 to Rev 1047
- ↔ Reverse comparison
Rev 1046 → Rev 1047
/trunk/or1ksim/cuc/insn.c
609,7 → 609,9
} |
|
/* 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; |
a = &f->INSN(ii->op[1]); |
b = &f->INSN(ii->op[2]); |
/trunk/or1ksim/cuc/cuc.c
143,6 → 143,7
func = preunroll_loop (f, b, i, j, bb_filename); |
if (cuc_debug >= 2) print_cuc_bb (func, "AFTER_PREUNROLL"); |
cuc_optimize (func); |
analyse_timings (func, timings); |
|
cucdebug (2, "new_time = %i, old_time = %i, size = %f\n", |
timings->new_time, func->orig_time, timings->size); |
239,6 → 240,7
|
/* Is it a loop? */ |
if (saved->bb[b].next[0] != b && saved->bb[b].next[1] != b) continue; |
log ("Found loop at BB%x. Trying to unroll.\n", b); |
t[0] = timings; |
t[0].b = b; |
t[0].preroll = 1; |