15.07.2012 22:47, Georg-Johann Lay:
[...]
;; Done with the digits: Output SIGN stored above.
cpse SIGN, ZERO
st Z+, BITS
st Z+, SIGN

Patch is sended.

Similarly above the itoa() and utoa() are rewriten.
The attach contains edited variant of this functions with
micro optimization: the bit counter is initialized only once.
The radix is checked at compile time. Nevertheless, the
full variants of utoa() and itoa() functions are leaved in
library for compatibility (if any uses it from asm).

If no objections, I will remove radix check from ltoa/ultoa
and commit both.

Dmitry.

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

Reply via email to