[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] calculating benchmarks

From: Sean D'Epagnier
Subject: Re: [avr-libc-dev] calculating benchmarks
Date: Thu, 19 Feb 2009 00:35:38 -0700


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

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>

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.


On 2/18/09, Dmitry K. <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]