avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Whetstone Benchmark


From: Dmitry K.
Subject: Re: [avr-gcc-list] Whetstone Benchmark
Date: Wed, 23 Jan 2008 08:22:20 +1000
User-agent: KMail/1.5

On Wednesday 23 January 2008 02:24, Weddington, Eric wrote:
> Can you tell me how you measured code size and number of cycles?

avr-size --> Size of .text, as there are not any data.
(Or avr-objcopy to binary).

Number of cycles: simulavr, set stop point ('-B' option) at exit
from main() (this is work on both: patched and unpatched avr-gcc)
and read the full report after run. (A small script makes all
above automaticaly).

Regards,
Dmitry.

P.S. I forget to attach the second file (with dummy functions).
Without ones GCC omits a big part of test.
Attach now:

void dummy1 (float x)
{
    (void)x;
}

void dummy2 (float x, float y)
{
    (void)x;
    (void)y;
}





reply via email to

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