I've been wondering, what drawbacks does the "Release - Fast FPU" has because I guess if it hadn't there would be only Debug and that..
Thanks.
What are the drawbacks of the Release - Fast FPU build?
see microsoft's article on this-
http://msdn2.microsoft.com/en-us/library/e7s85ffb.aspx
So we're talking low level compiler optimizations that do not conform to the IEEE float standard, but are faster. Also see /Oi
http://msdn2.microsoft.com/en-us/library/f99tchzc.aspx
http://msdn2.microsoft.com/en-us/library/e7s85ffb.aspx
(my emphasis)msdn wrote:By default, the compiler uses the coprocessor's 80-bit registers to hold the intermediate results of floating-point calculations. This increases program speed and decreases program size. Because the calculation involves floating-point data types that are represented in memory by less than 80 bits, however, carrying the extra bits of precision (80 bits minus the number of bits in a smaller floating-point type) through a lengthy calculation can produce inconsistent results.
So we're talking low level compiler optimizations that do not conform to the IEEE float standard, but are faster. Also see /Oi
http://msdn2.microsoft.com/en-us/library/f99tchzc.aspx
msdn wrote:x86 Specific
The intrinsic floating-point functions do not perform any special checks on input values and so work in restricted ranges of input, and have different exception handling and boundary conditions than the library routines with the same name. Using the true intrinsic forms implies loss of IEEE exception handling, and loss of _matherr and errno functionality; the latter implies loss of ANSI conformance. However, the intrinsic forms can considerably speed up floating-point-intensive programs, and for many programs, the conformance issues are of little practical value.
So it's not necessarily that much less precision, but no error handling/standard conformance? Sweet, gotta try this... (BlindSide is all for the non-conformance )
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
The info posted here is great. Thank you.
Does anyone have some experiences to how much this configuration (Fast FPU) improve an Irrlicht graphics intensive application?
Does anyone have some experiences to how much this configuration (Fast FPU) improve an Irrlicht graphics intensive application?
My game: Star Sonata
Star Sonata is a massively multiplayer space game.
Star Sonata is a massively multiplayer space game.
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Any benefits will be application dependent. I'm wondering whether we should just remove the 'fast' targets, since anyone who knows enough about the implications to make an informed decision to use them could trivially do their own build with /fp:fast or -ffast-math if they want.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way