[Top][All Lists]

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

Re: [avr-libc-dev] Add lib per devide.

From: Anatoly Sokolov
Subject: Re: [avr-libc-dev] Add lib per devide.
Date: Tue, 23 Dec 2008 19:30:02 +0300

----- Original Message ----- 
From: "Dmitry K." <address@hidden>
To: <address@hidden>
Sent: Tuesday, December 23, 2008 10:32 AM
Subject: Re: [avr-libc-dev] Add lib per devide.

> On Sunday 21 December 2008 18:03, Anatoly Sokolov wrote:
> [...]
>> It is small advantage, to compile avr-libc with  '-mtiny-stack' 
>> optimisation for devices with 8-bit stack pointer. The advantage of this
>> optimisation appears only for the "big" functions, at which the size of the
>> frame buffer is more 3-5 byte. Not much such functions in avr-libc, and as
>> they is "big", usually are not used on devices with 1 or 2 KB of code
>> memory.
> Alas, yes.
> The Avr-gcc does not use the possibility to load only one address
> register for LD/SD commands.  I understand that is very difficult
> to do this with GCC.  Hovewer, it is not difficult to add this
> optimization into Avr-libc's asm functions (a set of more popular
> string functions and EEPROM ones).

You consider, it is necessary to add architectures for devices with up to 255 
max RAM address? Yes, in this case, for this devices it will be possible to 
have more effective functions in avr-libc, but only few such devices, and C 
language is not popular for programming for them.


reply via email to

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