]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: handle Div, Convert, GetClosurePtr etc. on ARM
authorCherry Zhang <cherryyz@google.com>
Wed, 25 May 2016 13:49:28 +0000 (09:49 -0400)
committerCherry Zhang <cherryyz@google.com>
Sun, 5 Jun 2016 03:56:42 +0000 (03:56 +0000)
commite78d90beebbb6fde602ceb3999535ac4b49da295
treeadcaf1ade6c8374cc8462764aa22ba3e78636237
parent4636d02244e683a0d9c078a49b4c614bed401d6b
[dev.ssa] cmd/compile: handle Div, Convert, GetClosurePtr etc. on ARM

This CL adds support of Div, Mod, Convert, GetClosurePtr and 64-bit indexing
support to SSA backend for ARM.

Add tests for 64-bit indexing to cmd/compile/internal/gc/testdata/string_ssa.go.

Tests cmd/compile/internal/gc/testdata/*_ssa.go passed, except compound_ssa.go
and fp_ssa.go.

Progress on SSA for ARM. Still not complete. Essentially the only unsupported
part is floating point.

Updates #15365.

Change-Id: I269e88b67f641c25e7a813d910c96d356d236bff
Reviewed-on: https://go-review.googlesource.com/23542
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/arm/ssa.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/testdata/string_ssa.go
src/cmd/compile/internal/ssa/gen/ARM.rules
src/cmd/compile/internal/ssa/gen/ARMOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteARM.go
src/cmd/compile/internal/ssa/schedule.go