Consistently force (double) rounding of foreign x87 values
authorPaul Khuong <pvk@pvk.ca>
Sat, 8 Jun 2013 05:34:52 +0000 (01:34 -0400)
committerPaul Khuong <pvk@pvk.ca>
Sat, 8 Jun 2013 06:33:39 +0000 (02:33 -0400)
commitd9aa545e4e34ed03d1c0965fe616f72cf67319c1
tree5bbf4ca60b1656532bcddeb07f3e265b25bebb6a
parent14538e006c43facf52e17e452cb1164077bbafd3
Consistently force (double) rounding of foreign x87 values

 SBCL always functions in 64 bit mode, but switches to 80 bit for
 foreign calls.  Return values might be unexpectedly precise.

 Force a round-trip from the x87 unit and the stack to make sure
 FP return values are rounded to the correct width.
NEWS
src/compiler/x86/c-call.lisp