avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] I just noticed OPTIMIZE_SPEED


From: Georg-Johann Lay
Subject: Re: [avr-libc-dev] I just noticed OPTIMIZE_SPEED
Date: Thu, 8 Dec 2016 14:42:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 06.12.2016 23:59, Joerg Wunsch wrote:
As George Spelvin wrote:

Perhaps the two different reduction-mod-5 schemes should depend on
OPTIMIZE_SPEED?

Doesn't really matter much.  Since the library is pre-compiled, you
cannot map it to the user's -Ox compiler option anyway.

As Johann already explained, most AVR users care for saved flash
and RAM more than for saving a few CPU cycles.

Skimming generated code, IMO modules like vfprintf should be
compiled with -mcall-prologues; at least the versions that
supply float support (as many float functions use call-prologues
anyway).

Johann






reply via email to

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