From e712759914afa063076bcf5207a93cafd003f7bc Mon Sep 17 00:00:00 2001 From: "Paul E. Murphy" Date: Wed, 7 Jun 2023 14:42:51 -0500 Subject: [PATCH] doc/go1.21: document GOPPC64=power10 changes For #44549 Change-Id: I1af1d4bbd01a4571a32815bfea16bc395524551a Reviewed-on: https://go-review.googlesource.com/c/go/+/501358 TryBot-Result: Gopher Robot Reviewed-by: Lynn Boger Run-TryBot: Paul Murphy Reviewed-by: Cherry Mui Reviewed-by: Eli Bendersky --- doc/go1.21.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/go1.21.html b/doc/go1.21.html index b5c473113d..1d49084325 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -1203,6 +1203,22 @@ Do not send CLs removing the interior tags from such phrases. need to rename them.

+

ppc64/ppc64le

+ +

+ On Linux, GOPPC64=power10 now generates PC-relative instructions, prefixed + instructions, and other new Power10 instructions. On AIX, GOPPC64=power10 + generates Power10 instructions, but does not generate PC-relative instructions. +

+ +

+ When building position-independent binaries for GOPPC64=power10 + GOOS=linux GOARCH=ppc64le, users can expect reduced binary + sizes in most cases, in some cases 3.5%. Position-independent binaries are built for + ppc64le with the following -buildmode values: + c-archive, c-shared, shared, pie, plugin. +

+ -- 2.50.0