]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/ppc64: add support for pcalign 32 on ppc64x
authorLynn Boger <laboger@linux.vnet.ibm.com>
Tue, 31 Mar 2020 14:08:29 +0000 (10:08 -0400)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Fri, 10 Apr 2020 18:45:24 +0000 (18:45 +0000)
commit37470c06644ec916821ec82ed84abc2f0d0b876c
tree7b75ddd8029a47630d88a24163882228c4bafa02
parent162f1bf7c21116d218c41b085f844dcd75ef6544
cmd/internal/obj/ppc64: add support for pcalign 32 on ppc64x

Previous PCALIGN support on ppc64x only accepted 8 and 16 byte
alignment since the default function alignment was 16. Now that
the function's alignment can be set to a larger value when needed,
PCALIGN can accept 32. When this happens then the function's
alignment will be changed to 32.

Test has been updated to recognized this new value.

Change-Id: If82c3cd50d7c686fcf8a9e819708b15660cdfa63
Reviewed-on: https://go-review.googlesource.com/c/go/+/227775
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/internal/obj/ppc64/asm_test.go