Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hsolidolby_com
Beginner
42 Views

FTZ, DAZ, and exceptions


When /Qftz is used on supported architecture (core i3 in this case), should I still expect to see denorm and/or underflow exceptions? Currently this is the case for me.

If this is expected, are these exceptions degrading performance? I thought that by setting FTZ and DAZ I would avoid the exceptions and improve performance.

thanks,

Phill
0 Kudos
1 Reply
TimP
Black Belt
42 Views

Although underflow condition is still raised when /Qftz is set (which has effect only in main(), only when running sse code), the performance penalty which otherwise would be incurred for producing subnormal results is avoided. DAZ could produce a measureable performance difference only in exceptional circumstances.
If you are trying to change the FTZ and DAZ run-time settings other than at initial startup, you will need the intrinsics.
Reply