This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Excess precision problem on IA-64
Geert Bosch <bosch@adacore.com> writes:
> On Oct 27, 2005, at 14:12, Eric Botcazou wrote:
>> I'm under the impression that it's worse on IA-64 because of the
>> "infinite
>> precision", but I might be wrong.
>
> Fused multiply-add always uses "infinite precision" in the intermediate
> result. Only a single rounding is performed at the end. We really should
> have a way to express situations where operations may or may not be
> contracted, instead of having to do this on a whole-compilation level.
I think this is what the FP_CONTRACT pragma is supposed to provide.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."