Re: Go patch committed: Build math library with -funsafe-math-optimizations

2012-02-10 Thread Ian Lance Taylor
Richard Guenther writes: > On Thu, Feb 9, 2012 at 6:32 PM, Ian Lance Taylor wrote: >> Richard Guenther writes: >> >>> On Wed, Feb 8, 2012 at 8:38 PM, Ian Lance Taylor wrote: The master Go math library uses assembler code on 386 processors to take advantage of 387 instructions.  This

Re: Go patch committed: Build math library with -funsafe-math-optimizations

2012-02-10 Thread Richard Guenther
On Thu, Feb 9, 2012 at 6:32 PM, Ian Lance Taylor wrote: > Richard Guenther writes: > >> On Wed, Feb 8, 2012 at 8:38 PM, Ian Lance Taylor wrote: >>> The master Go math library uses assembler code on 386 processors to take >>> advantage of 387 instructions.  This patch lets gccgo do the same thing

Re: Go patch committed: Build math library with -funsafe-math-optimizations

2012-02-09 Thread Ian Lance Taylor
Richard Guenther writes: > On Wed, Feb 8, 2012 at 8:38 PM, Ian Lance Taylor wrote: >> The master Go math library uses assembler code on 386 processors to take >> advantage of 387 instructions.  This patch lets gccgo do the same thing, >> by compiling the math library with -funsafe-math-optimizat

Re: Go patch committed: Build math library with -funsafe-math-optimizations

2012-02-09 Thread Richard Guenther
On Wed, Feb 8, 2012 at 8:38 PM, Ian Lance Taylor wrote: > The master Go math library uses assembler code on 386 processors to take > advantage of 387 instructions.  This patch lets gccgo do the same thing, > by compiling the math library with -funsafe-math-optimizations.  I also > pass -mfancy-mat

Go patch committed: Build math library with -funsafe-math-optimizations

2012-02-08 Thread Ian Lance Taylor
The master Go math library uses assembler code on 386 processors to take advantage of 387 instructions. This patch lets gccgo do the same thing, by compiling the math library with -funsafe-math-optimizations. I also pass -mfancy-math-387, although that is the default. It would not be appropriate