FPU: Fix setting of r.x for single-precision operations
The fp_rounding function expects r.x to have been set based on the lower 31 bits of r.r, not 29 as presently done, so change 28 to SP_RBIT-1 (SP_RBIT is 31). Also add a test to check. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>pull/457/head
parent
577bbb8f5d
commit
2f29daab2d
Binary file not shown.
Loading…
Reference in New Issue