powerpc: use float64 for frsqrte
commite223bcad6e0952d0e205f42b411e96e42262eded
authorTristan Gingold <gingold@adacore.com>
Tue, 3 Jun 2014 09:14:20 +0000 (3 11:14 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 16 Jun 2014 11:24:46 +0000 (16 13:24 +0200)
tree03934e37eed246e1aff743507d3554d49d85f506
parent23825581d7c106db28f902d09b9a7274b3c8dede
powerpc: use float64 for frsqrte

Remove the code that reduce the result to float32 as the frsqrte
instruction is defined to return a double-precision estimate of
the reciprocal square root.

Although reducing the fractional part is harmless (as the estimation
must have at least 12 bits of precision according to the old PEM),
reducing the exponent range is not correct.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/fpu_helper.c