URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 917 to Rev 918
- ↔ Reverse comparison
Rev 917 → Rev 918
/trunk/or1ksim/cuc/cuc.c
551,7 → 551,7
|
prof_set (1, 0); |
assert (prof_acquire (config.sim.prof_fn) == 0); |
cuc_debug = 9; |
//cuc_debug = 9; |
|
if (config.cuc.calling_convention) |
printf ("Assuming OpenRISC standard calling convention.\n"); |
653,6 → 653,15
if (func[i] && func_v[i]) generate_function (func[i], prof_func[i].name, filename_cut); |
generate_main (prof_nfuncs, func, filename_cut); |
|
/* selectall command */ |
} else if (strcmp (tmp1, "sa") == 0 || strcmp (tmp1, "selectall") == 0) { |
char tmp[50], ch; |
int p, o, b, f; |
for (f = 0; f < prof_nfuncs; f++) if (func[f]) { |
func_v[f] = 1; |
printf ("Function %s selected for translation.\n", prof_func[f].name); |
} |
|
/* select command */ |
} else if (strncmp (tmp1, "s", 1) == 0 || strncmp (tmp1, "select", 6) == 0) { |
char tmp[50], ch; |
692,15 → 701,6
} else printf ("Invalid function.\n"); |
} |
|
/* selectall command */ |
} else if (strcmp (tmp1, "sa") == 0 || strcmp (tmp1, "selectall") == 0) { |
char tmp[50], ch; |
int p, o, b, f; |
for (f = 0; f < prof_nfuncs; f++) if (func[f]) { |
func_v[f] = 1; |
printf ("Function %s selected for translation.\n", prof_func[f].name); |
} |
|
/* unselect command */ |
} else if (strncmp (tmp1, "u", 1) == 0 || strncmp (tmp1, "unselect", 8) == 0) { |
char tmp[50], ch; |