]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: combine similar code in 386's assembly generator
authorBen Shi <powerman1st@163.com>
Fri, 5 Oct 2018 12:09:43 +0000 (12:09 +0000)
committerBen Shi <powerman1st@163.com>
Sat, 6 Oct 2018 00:02:16 +0000 (00:02 +0000)
commit7b8b3f30edde4ec93b91e62d2d6442dff7360056
tree63d4e573a51350d36cc3b22dcd8ea05a8adb2d2f
parent430b9cb92f1291f2bef3c99d21925b3204cead90
cmd/compile: combine similar code in 386's assembly generator

The indexed MOVload and MOVstore have similar logic, and this CL
combine them together. The total size of pkg/linux_386/cmd/compile/
decreases about 4KB.

Change-Id: I06236a3542aaa3dfc113c49fe4c69d209e018dfe
Reviewed-on: https://go-review.googlesource.com/c/139958
Run-TryBot: Ben Shi <powerman1st@163.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/x86/ssa.go