Denormalization
Denormalization
- Subject: Denormalization
- From: Urs Heckmann <email@hidden>
- Date: Wed, 11 Dec 2002 11:24:17 +0100
Hi,
I still find myself fighting denormalization in my code.
(Denormalization is what happens when floats become too small, about
10E-24, to keep up precision. The cpu then switches into a very
performance hungry mode, not good for realtime processing. Those floats
are called "denormals", having the first bit of the Mantissa unset.
This behaviour can become critical with all feedback devices like
delays and iir filters)
Has anybody got some asm-code at hand to appropriately save-set-restore
the FP control register? (By this, small numbers will result in zero
instead of a denormal, which is also called non-IEEE mode)
I 'seen a function that does it for the AltiVec (setting it to
non-JAVA-mode or so). - Wouldn't it be nice to have such useful
low-level functions in CoreAudio?
Cheers,
;) Urs
P.S.: I filed a request to ADC for a tech paper about Denormalization
on the Mac several months ago. Still nothing except a "be
patient"-reply.
urs heckmann
email@hidden
www.u-he.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.