diff options
author | Todd Neal <todd@tneal.org> | 2015-09-02 20:17:47 -0500 |
---|---|---|
committer | Todd Neal <todd@tneal.org> | 2015-09-03 03:05:02 +0000 |
commit | ce4317266c160953aacf46cbe9d8341f86158776 (patch) | |
tree | 6ab0d3287658f357034170a66ab198c64561b659 /src/cmd/compile/internal/ssa/TODO | |
parent | 19285efaed7b08535e1b3ba921f584ed8bde6e49 (diff) | |
download | go-ce4317266c160953aacf46cbe9d8341f86158776.tar.gz go-ce4317266c160953aacf46cbe9d8341f86158776.zip |
[dev.ssa] cmd/compile: cse should treat -0.0 and 0.0 as different
cse was incorrectly classifying -0.0 and 0.0 as equivalent. This lead
to invalid code as ssa uses PXOR -0.0, reg to negate a floating point.
Fixes math.
Change-Id: Id7eb10c71749eaed897f29b02c33891cf5820acf
Reviewed-on: https://go-review.googlesource.com/14205
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/TODO')
-rw-r--r-- | src/cmd/compile/internal/ssa/TODO | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/ssa/TODO b/src/cmd/compile/internal/ssa/TODO index fbe4f56760..8feb1053ae 100644 --- a/src/cmd/compile/internal/ssa/TODO +++ b/src/cmd/compile/internal/ssa/TODO @@ -44,6 +44,7 @@ Optimizations (better compiler) - Reuseable slices (e.g. []int of size NumValues()) cached in Func - Handle signed division overflow and sign extension earlier - Implement 64 bit const division with high multiply, maybe in the frontend? +- Store bool and float32/float64 in auxInt Regalloc -------- |