X-pop3-spooler: POP3MAIL 2.1.0 b 3 961213 -bs- Delivered-To: pcg AT goof DOT com Message-ID: <35094C21.6B3F0566@pfh.research.philips.com> Date: Fri, 13 Mar 1998 16:09:21 +0100 From: Thomas Koehler Organization: Philips X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.32 i686) MIME-Version: 1.0 To: Tuukka Toivonen CC: beastium-list AT Desk DOT nl Subject: Re: paranoia & extra precision [was -fno-float-store in pgcc] References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: Marc Lehmann Status: RO X-Status: A Content-Length: 985 Lines: 32 Tuukka Toivonen wrote: > > On Thu, 12 Mar 1998, Marc Lehmann wrote: > > >> There seems to be annother way, but involes the unducumented functions > >> __getfpucw and > > Undocumented???? Those functions has nothing to do with the _hardware_ -> > they are some OS/GCC thingies I don't know about -> GCC/OS is undocumented > -> GCC/OS is broken (not really... with GNU software they're documented in > source code, at least) > > These functions probably use FPU instructions fstenv/fldenv, which are well > documented in Intel Pentium manuals as well as internals of the FPU. so what is the difference between the behaviour of programs compiled with -ffloat-store compared to setting the FPU-rounding mode to double via __setfpucw? (except that the -ffloat-store variante is much slower). -- Thomas Koehler Philips Research Laboratories Division Technical Systems Roentgenstrasse 24-26 D-22335 Hamburg Germany phone: +40/5078-2103 e-mail: T DOT Koehler AT PFH DOT Research DOT Philips DOT com