-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functions for configuring x87 floating-point unit.
* On x86_32, gcc sets the x87 floating-point unit to extended precision mode by default. Provide a function for setting double precision mode so that floating point computations behave similar to x84_64 builds (which use SSE). * NOTE: Instead of resetting the x87 precision mode, one should probably enable SSE on x86_32 (e.g. via -mfpmath=sse -msse2).
- Loading branch information
1 parent
7e112cc
commit cc7b8c7
Showing
3 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters