]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: get MIPS64 SSA working
authorCherry Zhang <cherryyz@google.com>
Mon, 22 Aug 2016 16:25:23 +0000 (12:25 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 25 Aug 2016 12:53:36 +0000 (12:53 +0000)
commite71e1fe87e144ec10287a10b6a41a543762dabff
tree0ab74d385d0813554c80f77cd9d876a4ae828a2e
parente90ae90b7a7de4079413b956472044a021bee7c6
cmd/compile: get MIPS64 SSA working

- implement *, /, %, shifts, Zero, Move.
- fix mistakes in comparison.
- fix floating point rounding.
- handle RetJmp in assembler (which was not handled, as a consequence
  Duff's device was disabled in the old backend.)

all.bash now passes with SSA on.

Updates #16359.

Change-Id: Ia14eed0ed1176b5d800592080c8f53dded7fe73f
Reviewed-on: https://go-review.googlesource.com/27592
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/mips64/ssa.go
src/cmd/compile/internal/ssa/config.go
src/cmd/compile/internal/ssa/gen/MIPS64.rules
src/cmd/compile/internal/ssa/gen/MIPS64Ops.go
src/cmd/compile/internal/ssa/gen/main.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/regalloc.go
src/cmd/compile/internal/ssa/rewriteMIPS64.go
src/cmd/compile/internal/ssa/schedule.go
src/cmd/internal/obj/mips/obj0.go