]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/ppc64, cmd/link/internal/ppc64: Change function alignment to 16
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Mon, 6 Feb 2017 17:33:43 +0000 (15:33 -0200)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Fri, 5 May 2017 19:03:05 +0000 (19:03 +0000)
commit09b71d563a53766ef2ab34beac6ddaea48c56783
tree46844eb54ccc6abfbc895c9468314890f7b97137
parent3a2fee0389e8459e482e987a98f226a71c2ad5fb
cmd/internal/obj/ppc64, cmd/link/internal/ppc64: Change function alignment to 16

The Power processor manual states that "Branches not from the last instruction
of an aligned quadword and not to the first instruction of an aligned quadword
cause inefficiencies in the IBuffer". This changes the function alignment from 8
to 16 bytes to comply with that.

Fixes #18963

Change-Id: Ibce9bf8302110a86c6ab05948569af9ffdfcf4bb
Reviewed-on: https://go-review.googlesource.com/36390
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/link/internal/ppc64/l.go