Flushing denormals to zero

bearophile bearophileHUGS at lycos.com
Thu Feb 16 18:30:19 PST 2012


After seeing this interesting thread:
http://stackoverflow.com/questions/9314534/why-does-changing-0-1f-to-0-slow-down-performance-by-10x

Do you know if there's a simple way to perform _MM_SET_FLUSH_ZERO_MODE in D?

According to Agner that operation is not needed on Sandy Bridge processors, but most CPUs around are not that good:
http://www.agner.org/optimize/blog/read.php?i=142

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list