Hi,
Are you able to run this script with the latest simulavr? As soon as
I try to call either floating or fixed point routines, I am getting
errors:
rm: cannot remove `core_avr_dump.core': No such file or directory
Then if I delete the part in the script that tries to delete this file, I get:
...
<td>__addsf3 (1.234, 5.678)</td>
<td>7</td>
<td>7</td>
...
Which is obviously wrong. I tried running simulavr on the program
manually, and I get errors about address out of bounds. Maybe I need
an older simulavr? I am using cvs. It would be good to know if you
can run the script without errors and what simulavr version it is.
Sean
On 2/18/09, Dmitry K. <[email protected]> wrote:
>> > > I would like to calculate this data for the fixed point math library
>> > > to make comparison easy for user, and to also help me know how to
>> > > optimize it better. Does anyone know how to generate this file?
>
> Hi,
> the script is in attachment. It calculates the number
> of cycles per function by comparison two result: the
> target function and the simple RET instruction. The
> print format is for Avr-libc's doc, you must to change
> it for readibility.
> Allas, this is not sufficient. I will prepare (it is
> needed to translate identificators to English, at least)
> the another scripts: to calculate the average time for a
> set of args and to calculate the stack usage.
>
> Yours patch is very interesting. IMHO, in future the
> fixed point arithmetic would the main one for technical
> applications.
>
> Regards,
> Dmitry.
>
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev