URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [cuc/] [cuc.c] - Diff between revs 931 and 932
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 931 |
Rev 932 |
Line 45... |
Line 45... |
/* Does all known instruction optimizations */
|
/* Does all known instruction optimizations */
|
void cuc_optimize (cuc_func *func)
|
void cuc_optimize (cuc_func *func)
|
{
|
{
|
int modified = 0;
|
int modified = 0;
|
log ("Optimizing.\n");
|
log ("Optimizing.\n");
|
|
insert_conditional_facts (func);
|
do {
|
do {
|
modified = 0;
|
modified = 0;
|
if (optimize_cmovs (func)) {
|
if (optimize_cmovs (func)) {
|
if (cuc_debug >= 6) print_cuc_bb (func, "AFTER_OPT_CMOVS");
|
if (cuc_debug >= 6) print_cuc_bb (func, "AFTER_OPT_CMOVS");
|
modified = 1;
|
modified = 1;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.