| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Oct 30, 2004, at 5:14 AM, Holger Bettag wrote:
"Notice that if the value to be stored by a single-precision store floating-point instruction is larger in magnitude than [MAX_FLOAT], the result stored in WORD is then a well-defined value, but is not numerically equal to the value in the source register."
In other words, 'stfs' doesn't correctly handle values greater than MAX_FLOAT, so the 'frsp' is required to ensure that 'stfs' will always do the right thing.
I would read that differently. Values greater than MAX_FLOAT can simply
not be represented as a single precision float, so both 'frsp' and 'stfs'
must replace the true value with +infinity.
Holger
Ben
_______________________________________________ Do not post admin requests to the list. They will be ignored. PerfOptimization-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden
| References: | |
| >"FP precision conv" with no floats in sight (From: "James W. Walker" <email@hidden>) | |
| >Re: "FP precision conv" with no floats in sight (From: John Stiles <email@hidden>) | |
| >Re: "FP precision conv" with no floats in sight (From: "James W. Walker" <email@hidden>) | |
| >Re: "FP precision conv" with no floats in sight (From: Chris Cox <email@hidden>) | |
| >Re: "FP precision conv" with no floats in sight (From: Jonas Maebe <email@hidden>) | |
| >Re: "FP precision conv" with no floats in sight (From: Ben Weiss <email@hidden>) | |
| >Re: "FP precision conv" with no floats in sight (From: Holger Bettag <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.