We’re trying to optimize performance on a PXA270 (ARM) product. This unit does not have hardware floating point and we are using the 4.2.1 compiler with the latest released version of QNX (6.2.3 I think).
fprintf() is taking about 430 microseconds to do a batch of several single precision “%+10.7f” conversions (profiler numbers).
This is killing performance. If we use fputs() to output an 11 byte text string it only takes 65us.
Does anyone have a tested algorithm that can do single precision float to text conversions faster than fprintf()?