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

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

[avr-libc-dev] Re: [avr-libc-commit] avr-libc ./ChangeLog devtools/gen-a


From: Anatoly Sokolov
Subject: [avr-libc-dev] Re: [avr-libc-commit] avr-libc ./ChangeLog devtools/gen-avr-lib-tree.sh
Date: Fri, 28 Oct 2005 01:20:49 +0400

Hi.


Log message:
Set optimisation for building assembler sources files for 'avr3' and 'avr5' architectures to speed.

Out of curiousity, what is the reason for this one?


In library some functions (memset, memcpy) have two versions , one are optimized on speed, another on the size.

memcpy.S:
.type _U(memcpy), @function
....
#if OPTIMIZE_SPEED
; 15 words, (14 + len * 6 - (len & 1)) cycles
.......
#else
; 11 words, (13 + len * 8) cycles
.......

I think we have lost this optimization when passed to new autotools.


Anatoly.




reply via email to

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