• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Denormalization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Denormalization
      • From: email@hidden
  • Prev by Date: Re: IIR vs. FIR filters
  • Next by Date: (no subject)
  • Previous by thread: Re: Internal MIDI out
  • Next by thread: Re: Denormalization
  • Index(es):
    • Date
    • Thread