diff options
| author | Robert Norton | 2018-06-26 16:43:10 +0100 |
|---|---|---|
| committer | Robert Norton | 2018-06-26 16:43:48 +0100 |
| commit | 91c0437a14f67953b6672d0633e2c68de174aa11 (patch) | |
| tree | 75e7f7e652cc2a393a56d1e89c06884beb5ae848 /mips/main.sail | |
| parent | 6f5ea4c44bf6569b9daf86dce61bba150b9bb389 (diff) | |
mips: fix duplication of cycle_count call that arose due to git merge.
Diffstat (limited to 'mips/main.sail')
| -rw-r--r-- | mips/main.sail | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mips/main.sail b/mips/main.sail index c34a7ae3..87354b90 100644 --- a/mips/main.sail +++ b/mips/main.sail @@ -67,15 +67,12 @@ function dump_mips_state () : unit -> unit = { } } -val "cycle_count" : unit -> unit - val main : unit -> unit effect {barr, eamem, escape, rmem, rreg, undef, wmv, wreg, rmemt, wmvt} function main () = { init_registers(to_bits(64, elf_entry())); startTime = get_time_ns(); while (fetch_and_execute()) do { - cycle_count(); /* uncomment to print IPS every 10M instructions (~10s) if (instCount == 10000000) then { endTime = get_time_ns(); @@ -86,6 +83,7 @@ function main () = { startTime = get_time_ns(); instCount = 0; };*/ + (); }; endTime = get_time_ns(); |
