]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa/gen: add comment on SB-addressing on s390x
authorMichael Munday <munday@ca.ibm.com>
Thu, 30 Mar 2017 19:58:01 +0000 (15:58 -0400)
committerMichael Munday <munday@ca.ibm.com>
Thu, 30 Mar 2017 21:36:21 +0000 (21:36 +0000)
commit399086f2db0257f9f90a87dfd8a251944b52120a
treeec25c8050509f37a355af44b0eed75359491c6e9
parentebcb9cdf67e53d2ad50da1910d6c5f944c32b163
cmd/compile/internal/ssa/gen: add comment on SB-addressing on s390x

During the review of CL 38801 it was noted that it would be nice
to have a bit more clarity on how-and-why SB addressing is handled
strangely on s390x. This additional comment should hopefully help.

In general SB is handled differently because not all instructions
have variants that use relative addressing.

Change-Id: I3379012ae3f167478c191c435939c3b876c645ed
Reviewed-on: https://go-review.googlesource.com/38952
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/S390XOps.go