Re: optimization/10189: pentium4 breaks suns libm code for __ieee754_pow(double x, double y)

From: David O'Brien <obrien_at_freebsd.org>
Date: Wed, 26 Mar 2003 09:45:35 -0800
On Wed, Mar 26, 2003 at 01:01:18PM -0000, ljrittle_at_gcc.gnu.org wrote:
> Synopsis: pentium4 breaks suns libm code for __ieee754_pow(double x, double y)

Beautiful email!!
 
>     Special secret #2:  Although the FSF-side does want to improve all
>     code generation (and I think proper PRs RE CPU switches will be
>     looked at by someone given enough time) be aware that -O2 without
>     special arch flags is probably the most stable for any given CPU
>     for any given gcc release.  Do you really want to trust a kernel
>     built with optimization flags and arch flags that near zero or zero
>     people have fully tested?  Doubtful.  However, inline with secret
>     #1 and by virtual of being digital, if even one person tests it
>     (i.e. yourself) and it appears OK, then it is probably safe to at
>     least attempt to build a kernel and run it.

FreeBSD has for years recommended -O[1] vs. -O2.  Do you think there is
value in having the GCC test suite runs you do at FreeBSD.org do runs
with both settings?  To also do runs with the newer CPU types?
Received on Wed Mar 26 2003 - 08:45:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:01 UTC