]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] B[dev.ssa] cmd/internal/ssa: Cleanup & reorg
authorKeith Randall <khr@golang.org>
Thu, 28 May 2015 17:47:24 +0000 (10:47 -0700)
committerKeith Randall <khr@golang.org>
Thu, 28 May 2015 20:34:40 +0000 (20:34 +0000)
commit247786c1745abc0c7185f7c15ca256edf68ed6d6
tree271e2c0f6856553e7c03968a79758c74c0e4fbde
parentcfc2aa56b0bf6b7dfb8f38cd2cfbe8799fc5a31a
[dev.ssa] B[dev.ssa] cmd/internal/ssa: Cleanup & reorg

Rename ops like ADDCQ to ADDQconst, so it is clear what the base opcode is and what
the modifiers are.

Convert FP references to SP references once we know the frame size.  Related, compute
the frame size in the ssa package.

Do a bunch of small fixes.

Add a TODO list for people to peruse.

Change-Id: Ia6a3fe2bf57e5a2e5e883032e2a2a3fdd566c038
Reviewed-on: https://go-review.googlesource.com/10465
Reviewed-by: Alan Donovan <adonovan@google.com>
12 files changed:
src/cmd/internal/gc/ssa.go
src/cmd/internal/ssa/TODO [new file with mode: 0644]
src/cmd/internal/ssa/func.go
src/cmd/internal/ssa/location.go
src/cmd/internal/ssa/lower.go
src/cmd/internal/ssa/lowerAmd64.go
src/cmd/internal/ssa/op.go
src/cmd/internal/ssa/op_string.go
src/cmd/internal/ssa/opamd64.go
src/cmd/internal/ssa/rewrite.go
src/cmd/internal/ssa/rulegen/lower_amd64.rules
src/cmd/internal/ssa/stackalloc.go