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.



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to