[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] [FIX] _clz and friends not found (test builtin-bitops
From: |
Dmitry K. |
Subject: |
Re: [avr-gcc-list] [FIX] _clz and friends not found (test builtin-bitops-1) |
Date: |
Wed, 30 Jan 2008 07:52:57 +1000 |
User-agent: |
KMail/1.5 |
On Tuesday 29 January 2008 19:22, Wouter van Gulik wrote:
[...]
> Hmm, this is all ready so for __mulqihi3 and __umulqihi3, they do a rjmp
> to __mulhi3. So I thought it was save.
Hmm... Yes, rcall/rjmp is used in libgcc.S. Though math functions are
bulky enough. And decimal float point in future... Perhaps, it is a bug
which waits for the hour?
> Also note that avr-libc's libm uses this exclusively. Maybe this is
> fixed by the linker relaxation?
I am intented to replace it to XCALL/XJMP macroses.
Now it is a separate library, which size (.text) less than 4KB. But as
in libc there were calls of float point, I am not assured, that the libm
will be always one piece. Earlier there were reasons of efficiency (the
quantity of intermodular communications is very great in libm), but
link-time (--relax) optimization now works.
Regards,
Dmitry.