Re: libgo patch committed: Compile math library with -ffp-contract=off

2014-03-16 Thread Michael Hudson-Doyle
Michael Hudson-Doyle writes: > Ian Lance Taylor writes: > >> On Thu, Mar 13, 2014 at 6:27 PM, Michael Hudson-Doyle >> wrote: >>> Ian Lance Taylor writes: >>> The bug report http://golang.org/issue/7074 shows that math.Log2(1) produces the wrong result on Aarch64, because the Go math

Re: libgo patch committed: Compile math library with -ffp-contract=off

2014-03-13 Thread Michael Hudson-Doyle
Ian Lance Taylor writes: > On Thu, Mar 13, 2014 at 6:27 PM, Michael Hudson-Doyle > wrote: >> Ian Lance Taylor writes: >> >>> The bug report http://golang.org/issue/7074 shows that math.Log2(1) >>> produces the wrong result on Aarch64, because the Go math package is >>> compiled to use a fused m

Re: libgo patch committed: Compile math library with -ffp-contract=off

2014-03-13 Thread Ian Lance Taylor
On Thu, Mar 13, 2014 at 6:27 PM, Michael Hudson-Doyle wrote: > Ian Lance Taylor writes: > >> The bug report http://golang.org/issue/7074 shows that math.Log2(1) >> produces the wrong result on Aarch64, because the Go math package is >> compiled to use a fused multiply-add instruction. This patch

Re: libgo patch committed: Compile math library with -ffp-contract=off

2014-03-13 Thread Michael Hudson-Doyle
Ian Lance Taylor writes: > The bug report http://golang.org/issue/7074 shows that math.Log2(1) > produces the wrong result on Aarch64, because the Go math package is > compiled to use a fused multiply-add instruction. This patch to the > libgo configure script will use -ffp-contract=off when com

libgo patch committed: Compile math library with -ffp-contract=off

2014-03-11 Thread Ian Lance Taylor
The bug report http://golang.org/issue/7074 shows that math.Log2(1) produces the wrong result on Aarch64, because the Go math package is compiled to use a fused multiply-add instruction. This patch to the libgo configure script will use -ffp-contract=off when compiling the math package on processo