From: Paul E. Murphy
Date: Wed, 7 Jun 2023 19:42:51 +0000 (-0500)
Subject: doc/go1.21: document GOPPC64=power10 changes
X-Git-Tag: go1.21rc1~13
X-Git-Url: http://www.git.cypherpunks.ru/?a=commitdiff_plain;h=e712759914afa063076bcf5207a93cafd003f7bc;p=gostls13.git
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
---
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
.
+
+