On Thu, 2007-09-27 at 18:32 +0200, Georg Holzmann wrote:
  Hallo list!
 I am just thinking about the right strategy for denormal handling in a
 floating point (single or double prec) audio application (and yes I
 already read the docs of the different methods at musicdsp and so on ...)
 Basically my question is, if it is enough to simply turn on the
 Flush-to-zero and Denormals-are-zero mode and then compile everything
 with -msse -mfpmath=sse ?
 I know it won't run on older Pentium3,2 etc. - but for the machines
 which support this feature, is this enough ? 
it helps, but adding a small DC bias (i.e. adding a very very very small
constant number to all sample data) works even better.
if you app is going to be GPL'ed, feel free to grab libs/pbd/fpu.cc from
the ardour source code.
--p