]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: 386 port now works
authorKeith Randall <khr@golang.org>
Thu, 21 Jul 2016 17:37:59 +0000 (10:37 -0700)
committerKeith Randall <khr@golang.org>
Thu, 21 Jul 2016 20:41:18 +0000 (20:41 +0000)
commitdf2f813bd230105e8afd6f58a3e12c3109481a3e
treeaadba58e14e8f67308207520aade597369e96ad4
parentd8181d5d75821ad5b78ea7f4163dd86ac29f740a
[dev.ssa] cmd/compile: 386 port now works

GOARCH=386 SSATEST=1 ./all.bash passes

Caveat: still needs changes to test/ files to use *_ssa.go versions.  I
won't check those changes in with this CL because the builders will
complain as they don't have SSATEST=1.

Mostly minor fixes.

Implement float <-> uint32 in assembly.  It seems the simplest option
for now.

GO386=387 does not work.  That's why I can't make SSA the default for
386 yet.

Change-Id: Ic4d4402104d32bcfb1fd612f5bb6539f9acb8ae0
Reviewed-on: https://go-review.googlesource.com/25119
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/builtin.go
src/cmd/compile/internal/gc/builtin/runtime.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/walk.go
src/cmd/compile/internal/ssa/gen/386.rules
src/cmd/compile/internal/ssa/gen/dec64.rules
src/cmd/compile/internal/ssa/rewrite386.go
src/cmd/compile/internal/ssa/rewritedec64.go
src/cmd/compile/internal/ssa/schedule.go
src/runtime/asm_386.s