mirror of https://github.com/golang/go.git
The initial purpose of PCALIGN was to identify code where it would be beneficial to align code for performance, but avoid cases where too many NOPs were added. On p10, it is now necessary to enforce a certain alignment in some cases, so the behavior of PCALIGN needs to be slightly different. Code will now be aligned to the value specified on the PCALIGN instruction regardless of number of NOPs added, which is more intuitive and consistent with power assembler alignment directives. This also adds 64 as a possible alignment value. The existing values used in PCALIGN were modified according to the new behavior. A testcase was updated and performance testing was done to verify that this does not adversely affect performance. Change-Id: Iad1cf5ff112e5bfc0514f0805be90e24095e932b Reviewed-on: https://go-review.googlesource.com/c/go/+/485056 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com> Reviewed-by: Archana Ravindar <aravind5@in.ibm.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Paul Murphy <murp@ibm.com> Reviewed-by: Bryan Mills <bcmills@google.com> |
||
|---|---|---|
| .. | ||
| bytealg.go | ||
| compare_386.s | ||
| compare_amd64.s | ||
| compare_arm.s | ||
| compare_arm64.s | ||
| compare_generic.go | ||
| compare_loong64.s | ||
| compare_mips64x.s | ||
| compare_mipsx.s | ||
| compare_native.go | ||
| compare_ppc64x.s | ||
| compare_riscv64.s | ||
| compare_s390x.s | ||
| compare_wasm.s | ||
| count_amd64.s | ||
| count_arm.s | ||
| count_arm64.s | ||
| count_generic.go | ||
| count_native.go | ||
| count_ppc64x.s | ||
| count_riscv64.s | ||
| count_s390x.s | ||
| equal_386.s | ||
| equal_amd64.s | ||
| equal_arm.s | ||
| equal_arm64.s | ||
| equal_generic.go | ||
| equal_loong64.s | ||
| equal_mips64x.s | ||
| equal_mipsx.s | ||
| equal_native.go | ||
| equal_ppc64x.s | ||
| equal_riscv64.s | ||
| equal_s390x.s | ||
| equal_wasm.s | ||
| index_amd64.go | ||
| index_amd64.s | ||
| index_arm64.go | ||
| index_arm64.s | ||
| index_generic.go | ||
| index_native.go | ||
| index_ppc64x.go | ||
| index_ppc64x.s | ||
| index_s390x.go | ||
| index_s390x.s | ||
| indexbyte_386.s | ||
| indexbyte_amd64.s | ||
| indexbyte_arm.s | ||
| indexbyte_arm64.s | ||
| indexbyte_generic.go | ||
| indexbyte_loong64.s | ||
| indexbyte_mips64x.s | ||
| indexbyte_mipsx.s | ||
| indexbyte_native.go | ||
| indexbyte_ppc64x.s | ||
| indexbyte_riscv64.s | ||
| indexbyte_s390x.s | ||
| indexbyte_wasm.s | ||