]> Cypherpunks repositories - gostls13.git/commitdiff
doc: release notes for GOARM hardfloat/softfloat change
authorKeith Randall <khr@golang.org>
Tue, 28 Nov 2023 21:09:42 +0000 (13:09 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 29 Nov 2023 19:13:04 +0000 (19:13 +0000)
See CL 514907

Change-Id: Ieba2d7737115c66990b0ea7629033e787a99be93
Reviewed-on: https://go-review.googlesource.com/c/go/+/545655
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Ludi Rehak <ludi317@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>

doc/go1.22.html

index 287de0eebb62c8221df9502a6a6e0f1f7ac67f77..789ecc3c32b1d87f4c7b6b766fa854e1a130ce35 100644 (file)
@@ -570,8 +570,15 @@ Do not send CLs removing the interior tags from such phrases.
 
 <h2 id="ports">Ports</h2>
 
+<h3 id="arm">Arm</h3>
 <p><!-- CL 514907 -->
-  TODO: <a href="https://go.dev/cl/514907">https://go.dev/cl/514907</a>: all: add floating point option for ARM targets
+  The <code>GOARM</code> environment variable now allows you to select whether to use software or hardware floating point.
+  Previously, valid <code>GOARM</code> values were <code>5</code>, <code>6</code>, or <code>7</code>. Now those same values can
+  be optionally followed by <code>,softfloat</code> or <code>,hardfloat</code> to select the floating-point implementation.
+</p>
+<p>
+  This new option defaults to <code>softfloat</code> for version <code>5</code> and <code>hardfloat</code> for versions
+  <code>6</code> and <code>7</code>.
 </p>
 
 <p><!-- CL 481315 -->