Download report - Bound-T time and stack analyser

Transcript
Tidorum Ltd
2006-11-06
TR-RP-2006-009
Issue 1
subprogram "_compress"
­­ The loop that sets "hshift" = local­word­10:
loop that executes "0260" repeats 8 times; end loop;
­­ alternative: that defines address "lw10", TBC.
­­ The loop "while (InCnt >0)...":
loop that calls "_getbyte" repeats 50 times; end loop;
­­ The loop "c << maxbits":
loop that executes "02EC" repeats 16 times; end loop;
­­ The loop "c << hshift":
loop that executes "0314" repeats 0 times; end loop;
­­ The "probe" loop:
loop that executes "0392" repeats 1 time; end loop;
end subprogram;
iar
bcc
1
-leon2 -via_positive -calc_max 5_000_000
subprogram ".div"
time 149 cycles;
end subprogram ".div";
subprogram ".rem"
time 156 cycles;
end subprogram ".rem";
2
-leon2 -via_positive -calc_max 5_000_000
subprogram "compress"
­­ The loop that sets "hshift":
loop that defines "hshift" repeats 8 times; end loop;
­­ The loop "while (InCnt >0)...":
loop that calls "getbyte" repeats 50 times; end loop;
­­ The "probe" loop:
loop that is in loop repeats 1 time; end loop;
end "compress";
subprogram "cl_hash" (variable address "p0" <= 257)
end "cl_hash";
subprogram "writebytes"
loop repeats 16 times; end loop;
end "writebytes";
subprogram "output"
variable "bits" 1 .. 16;
end "output";
subprogram ".div"
time 149 cycles;
end subprogram ".div";
subprogram ".rem"
time 156 cycles;
end subprogram ".rem";
Page 15/47