URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [cuc/] [bb.c] - Diff between revs 1042 and 1044
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1042 |
Rev 1044 |
Line 298... |
Line 298... |
if (f->bb[i].last < 0) continue;
|
if (f->bb[i].last < 0) continue;
|
ii = &insn[f->bb[i].last];
|
ii = &insn[f->bb[i].last];
|
/* Unconditional branch? */
|
/* Unconditional branch? */
|
if (ii->type & IT_BRANCH && ii->opt[1] & OPT_CONST) {
|
if (ii->type & IT_BRANCH && ii->opt[1] & OPT_CONST) {
|
change_insn_type (ii, II_NOP);
|
change_insn_type (ii, II_NOP);
|
|
#if 0
|
if (f->bb[i].next[1] == i + 1) f->bb[i].next[0] = f->bb[i].next[1];
|
if (f->bb[i].next[1] == i + 1) f->bb[i].next[0] = f->bb[i].next[1];
|
|
#endif
|
f->bb[i].next[1] = -1;
|
f->bb[i].next[1] = -1;
|
}
|
}
|
}
|
}
|
if (cuc_debug >= 3) print_cuc_bb (f, "AFTER_UNCOND_JUMP");
|
if (cuc_debug >= 3) print_cuc_bb (f, "AFTER_UNCOND_JUMP");
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.