zlacker

[parent] [thread] 3 comments
1. PaulDa+(OP)[view] [source] 2024-01-16 17:38:43
> I’d have to agree that disabling denorms globally is pretty bad,

and yet, for audio processing, this is an option that most DAWs either implement silently, or offer users the choice, because denormals are inevitable in reverb tails and on most Intel processors they slow things by orders of magnitude.

replies(2): >>dahart+zA >>mabste+5a1
2. dahart+zA[view] [source] 2024-01-16 20:10:53
>>PaulDa+(OP)
I would think for audio, there’s no audible difference between a denorm and a flushed zero. Are there cases where denorms are important to audio?
replies(1): >>PaulDa+I71
◧◩
3. PaulDa+I71[view] [source] [discussion] 2024-01-16 23:08:06
>>dahart+zA
They are important in the negative sense: Intel processors are appalling at handling them, and they can break realtime code because of this.

My DAW uses both "denormals are zero" and "flush denormals to zero" to try to avoid them; it also offers a "DC Bias" option where extremely small values are added to samples to avoid denormals.

4. mabste+5a1[view] [source] 2024-01-16 23:23:38
>>PaulDa+(OP)
For game development we had them off as well because of performance issues. Most stuff calculates around 0 so it was pretty common to trigger denorms.

The slowing down on Intel platforms has always frustrated me because denorms provide nice smoothing around 0.

At the same time it was nice only having to consider normal floating point when trying to get more accuracy out of calculations, etc.

[go to top]