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>
// Instruction layout.
const (
- funcAlign = 8
+ funcAlign = 16
)
const (
const (
maxAlign = 32 // max data alignment
minAlign = 1 // min data alignment
- funcAlign = 8
+ funcAlign = 16
)
/* Used by ../internal/ld/dwarf.go */