This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Sergei Organov wrote:The patch below boosts performance of decimal formatting ofintegers byroughly a factor of 2 on ARM7 CPU without hardware integerdivision. Infact it replaces integer modulo operation with multiply andsubtract,I agree. I've applied the patch, thanks!that hopefully is either faster or roughly the same on all supported CPUs.
I think this patch could need a comment in the code, which explains why there's not simply a modulo.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |