[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Speeding [u]ltoa by 35%
From: |
Georg-Johann Lay |
Subject: |
Re: [avr-gcc-list] Speeding [u]ltoa by 35% |
Date: |
Thu, 21 Jun 2012 20:11:53 +0200 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
Joerg Wunsch schrieb:
Georg-Johann Lay <address@hidden> wrote:
Here is a commented version with an average time reduction
of ~45% for the signed version.
Can you submit it as a patch report?
hmmm, I don't know enough about the lib to prepare a proper
patch, e.g.
- changes to the build system / infrastructure
- coding conventions (comments, indenting, ...)
If the maintainers don't like the C code, they can use the
sanity check from the original post to get a pure assembler
implementation and equal code size.
C code is fine, the only reason for writing parts in assembly was to
gain something over the C version.
How far might the C code go? Could it use asm to explicitly describe the
interface to an assembler function to implement a transparent call?
Johann