]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/s390x: remove support for stores of global addresses
authorMichael Munday <munday@ca.ibm.com>
Sun, 9 Oct 2016 15:50:21 +0000 (11:50 -0400)
committerMichael Munday <munday@ca.ibm.com>
Sun, 9 Oct 2016 20:19:31 +0000 (20:19 +0000)
commitf13372c9f7df12bfa4fbba5d9802f17fd186a0bc
treebf59302277e97b39901d93387830b7ce98f1f6bb
parent0ff40a76ad81e2b02c24e83eee8aa93352498f6f
cmd/internal/obj/s390x: remove support for stores of global addresses

This CL removes support for MOVD instructions that store the address
of a global variable. For example:

  MOVD $main·a(SB), (R1)
  MOVD $main·b(SB), main·c(SB)

These instructions are emulated and the new backend doesn't need them
(the stores now always go through an intermediate register).

Change-Id: I3a1bcb3f19c5096ad0426afd76d35a4d7975733b
Reviewed-on: https://go-review.googlesource.com/30720
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/s390x/asmz.go