pub fn enable_ftz_daz()Expand description
Enable FTZ (Flush-To-Zero) and DAZ (Denormals-Are-Zero) modes on x86/x86_64.
This sets CPU flags that cause denormalized floating-point numbers to be automatically flushed to zero, avoiding the significant performance penalty (10-100x slowdown) that denormals can cause.
This function is only available when the ftz-daz feature is enabled and
compiling for x86/x86_64 targets.
ยงSafety
This function modifies CPU control registers. It is safe to call from any thread, but the flags are per-thread on most systems. Call this at the start of any audio processing thread.