[Top][All Lists]

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

Re: [avr-libc-dev] [bug #13340] Math lib documentation/lib mismatch

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [bug #13340] Math lib documentation/lib mismatch
Date: Sat, 12 Nov 2005 08:06:06 +0100
User-agent: Mutt/

As Dmitry K. wrote:

> Avr-libc 1.2.0 and early:  function 'inverse' is publicaly
> available and works.
> In 1.2.1 it is renamed into '__fp_inverse'.  Why?  Usefull and
> convinient function.  Flash space effective.

Internal implementation.  Everything falls into pieces if __divsf3
from libgcc.a is used, due to it's "efficient" design.

Writing it externally takes about four instructions more space.

See bug report #14855.  It is a fundamental mistake to try replace
functions that belong into libgcc.a by private hacks, and it is even
more fatal to hack them together with other function entry points in
the same file just to save a single call instruction.

All those __divsf3 etc. stuff belongs into libgcc.a.

cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

reply via email to

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