Miller,
I know you have been looking for a way to turn off float denormalization on intel chips for a while and this appeared on the linux audio development list the other day:
#ifdef HAVE_FPU_CONTROL_H #include <fpu_control.h> #endif #ifdef HAVE_FPU_CONTROL_H #if __GLIBC_MINOR__ < 1 /* in linux there's <fpu_control.h> with __setfpucw which Clisp calls as __setfpucw(_FPU_IEEE); */ /* this appears to be useful in getting rid of idiotic NaN's */ __setfpucw(_FPU_IEEE); #else #ifndef __alpha__ int __fpu_ieee = _FPU_IEEE; _FPU_SETCW(__fpu_ieee); /* this bugfix thanks to Paul Barton-Davis */ #else int __fpu_ieee = 0; #endif #endif #endif
I think this is from snd.
Karl
| Karl W. MacMillan | | Computer Music Department | | Peabody Institute of the Johns Hopkins University | | karlmac@peabody.jhu.edu | | www.peabody.jhu.edu/~karlmac |