[PATCH] beter fix for -Os builds on PowerPC
Steven Munroe
munroesj@us.ibm.com
Mon Nov 6 20:31:00 GMT 2006
Cleaned up the mathinline.h as requested, but found the the
math_private.h #include_next was not working as expected. Seems that
#include_next does not work if the source file and the include using
#include_next are in the same directory. In this case #include_next
reincludes the same file.
So moved math_private.h up to powerpc/powerpc32/fpu and
powerpc/powerpc64/fpu which allows the 64-bit version to be simplied.
Also found that the powerpc64/fpu/e_sqrt.c and e_sqrtf.c did not need
math-private.h any way. Finally found and fixed a type problem in
e_sqrtf.c that was generating an unecessary "float round to single"
instruction.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-sqrt-Os-20061105.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20061106/c0515068/attachment.txt>
More information about the Libc-alpha
mailing list