This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

vfprintf.c patch


Joel Sherrill writes:
 > 
 > Minor modification to trick gcc into avoiding referencing
 > a floating point register unless someone really tries
 > to print a floating point number.  On the PowerPC gcc
 > will save a FP register all the time without this patch.
 > 
 > The ideal solution would be to break out the FP printing 
 > into a separate function but that was more risky to implement.

Already done, but the other way around.
IIRC, see iprintf vs printf.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]