On 4/27/07, Richard Guenther <[EMAIL PROTECTED]> wrote:
I think that even with -ffast-math 12 bits accuracy is not ok.  There is
the possibility of doing another newton iteration step to improve
accuracy, that would be ok for -ffast-math.  We can, though, add an
extra flag -msserecip or however you'd call it to enable use of the
instructions with less accuracy.

Which is already done for PPC at least the scalar code, see -mswdiv
option.  We don't do this for sqrt reciprocal yet but it is easy to
special case for the reciprocal case :).

-- Pinski

Reply via email to