diff options
author | Todd Neal <todd@tneal.org> | 2015-08-17 17:46:06 -0500 |
---|---|---|
committer | Todd Neal <todd@tneal.org> | 2015-08-18 22:15:53 +0000 |
commit | a45f2d8f2898d23804de473841d42670fcdda5dc (patch) | |
tree | de8d70ee827bf7c13d16018b4269551bdf191f3b /src/cmd/compile/internal/ssa/TODO | |
parent | d9dc2f22302d1e0b6cfc01522939a37dd2d8a4e6 (diff) | |
download | go-a45f2d8f2898d23804de473841d42670fcdda5dc.tar.gz go-a45f2d8f2898d23804de473841d42670fcdda5dc.zip |
[dev.ssa] cmd/compile/internal/ssa: implement ODIV
Implement integer division for non-consts.
Change-Id: If40cbde20e5f0ebb9993064def7be468e4eca076
Reviewed-on: https://go-review.googlesource.com/13644
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/TODO b/src/cmd/compile/internal/ssa/TODO index d049bea872..1773dbbc98 100644 --- a/src/cmd/compile/internal/ssa/TODO +++ b/src/cmd/compile/internal/ssa/TODO @@ -5,7 +5,7 @@ Coverage -------- - Floating point numbers - Complex numbers -- Integer division +- Integer division (HMUL & MOD) - Fat objects (strings/slices/interfaces) vs. Phi - Defer? - Closure args @@ -49,6 +49,7 @@ Optimizations (better compiler) - OpStore uses 3 args. Increase the size of Value.argstorage to 3? - Constant cache - Reuseable slices (e.g. []int of size NumValues()) cached in Func +- Handle signed division overflow and sign extension earlier Regalloc -------- |