Fix sin/cos/tan on x86; trac #2059
authorIan Lynagh <igloo@earth.li>
Sat, 3 May 2008 00:08:41 +0000 (00:08 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 3 May 2008 00:08:41 +0000 (00:08 +0000)
commit6ee9554a738c442719ded861504acb729fd3d431
tree952d58616a512157a8432551264df2423a0fc70c
parentb515d109750e00630dfaf6055a1ded8dfd61b415
Fix sin/cos/tan on x86; trac #2059
If the value is > 2^63 then we need to work out its value mod 2pi,
and apply the operation to that instead.
compiler/nativeGen/MachCodeGen.hs
compiler/nativeGen/MachInstrs.hs
compiler/nativeGen/PprMach.hs
compiler/nativeGen/RegAllocInfo.hs