]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.ssa] cmd/compile: enhance SSA filtering, add OpConvert
authorDavid Chase <drchase@google.com>
Mon, 19 Oct 2015 15:36:07 +0000 (11:36 -0400)
committerDavid Chase <drchase@google.com>
Fri, 23 Oct 2015 19:32:57 +0000 (19:32 +0000)
commite99dd520665000dfeb848fb4ecd381314b8fe61b
treed73d4bb6f2d2d2fcd362ef25b1a47673aaeefc78
parent3abb8441087dbc1f08320c40a750ac1a7209b9fe
[dev.ssa] cmd/compile: enhance SSA filtering, add OpConvert

Modified GOSSA{HASH.PKG} environment variable filters to
make it easier to make/run with all SSA for testing.
Disable attempts at SSA for architectures that are not
amd64 (avoid spurious errors/unimplementeds.)

Removed easy out for unimplemented features.

Add convert op for proper liveness in presence of uintptr
to/from unsafe.Pointer conversions.

Tweaked stack sizes to get a pass on windows;
1024 instead 768, was observed to pass at least once.

Change-Id: Ida3800afcda67d529e3b1cf48ca4a3f0fa48b2c5
Reviewed-on: https://go-review.googlesource.com/16201
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: David Chase <drchase@google.com>
12 files changed:
src/cmd/compile/internal/gc/pgen.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/gen/AMD64.rules
src/cmd/compile/internal/ssa/gen/genericOps.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewriteAMD64.go
src/cmd/compile/internal/ssa/tighten.go
src/cmd/dist/test.go
src/cmd/internal/obj/stack.go
src/cmd/internal/obj/util.go
src/runtime/stack.go
test/nosplit.go