From: WANG Xuerui
Date: Sun, 1 Aug 2021 16:56:25 +0000 (+0800)
Subject: doc/asm: fix HTML markup
X-Git-Tag: go1.18beta1~1381
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cf2fe5d6f12f075f265ba067869fc5f0e3b23ff0;p=gostls13.git
doc/asm: fix HTML markup
Change-Id: I33bde4835d3b83fafd55beea483f6236c4c62840
Reviewed-on: https://go-review.googlesource.com/c/go/+/338990
Reviewed-by: Ian Lance Taylor
Trust: Than McIntosh
---
diff --git a/doc/asm.html b/doc/asm.html
index 51f85eb948..f7787a4076 100644
--- a/doc/asm.html
+++ b/doc/asm.html
@@ -125,8 +125,8 @@ it is a distinct program, so there are some differences.
One is in constant evaluation.
Constant expressions in the assembler are parsed using Go's operator
precedence, not the C-like precedence of the original.
-Thus 3&1<<2
is 4, not 0âit parses as (3&1)<<2
-not 3&(1<<2)
.
+Thus 3&1<<2
is 4, not 0âit parses as (3&1)<<2
+not 3&(1<<2)
.
Also, constants are always evaluated as 64-bit unsigned integers.
Thus -2
is not the integer value minus two,
but the unsigned 64-bit integer with the same bit pattern.
@@ -914,8 +914,6 @@ This assembler is used by GOARCH values ppc64 and ppc64le.
Reference: Go PPC64 Assembly Instructions Reference Manual
-
-
IBM z/Architecture, a.k.a. s390x