[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [avr-gcc-list] Double desirability
From: |
Haase Bjoern (PT-BEU/EMT) * |
Subject: |
AW: [avr-gcc-list] Double desirability |
Date: |
Thu, 7 Apr 2005 16:26:32 +0200 |
Hi,
I have doubts, whether one could succeed in realizing similar efficiency with
plain C functions. However, one might stand chances to succeed when using
inline assembly.
In my opinion, one might even consider to integrate the floating point support
into gcc itself. This would also resolve the bug, that fp support is broken
when forgetting to link with -lm.
Yours,
Björn
-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Im Auftrag von Parthasaradhi Nayani
Gesendet: Donnerstag, 7. April 2005 16:01
An: Joerg Wunsch; address@hidden
Betreff: Re: [avr-gcc-list] Double desirability
--- Joerg Wunsch <address@hidden> wrote:
> It's not strictly the requirement I would impose
> though. The existing
> code has proven to be very hard to maintain (and the
> existing NaN/Inf/
> denormal handling bugs are unlikely to be fixable
> without rewriting a
> lot of it), so if a non-assembler implementation
> would get us to say
> 110...120 % of the code size of the assembler hacks
> we've got now, but
> with a 500 % maintainability improvement, I wouldn't
> mourn. Floating
> point is certainly not really suitable for an
> ATtiny2313 anyway.
I agree with you that it would be better to develop
the FP library from scratch in 'C'. Not just the
tiny2313 but i guess even mega8 (and others of
similar sized) may not be controller where one would
like to use FP routines. But then choice will be that
of the user.
Nayani
__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
http://www.advision.webevents.yahoo.com/emoticontest
_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
- AW: [avr-gcc-list] Double desirability,
Haase Bjoern (PT-BEU/EMT) * <=