diff options
| author | cui fliter <imcusg@gmail.com> | 2022-11-11 19:22:35 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-18 17:59:44 +0000 |
| commit | b2faff18ce28edad98303d2c3134dec1331fd7b5 (patch) | |
| tree | 2161dfe37742a6be201f506abf0d4f20533e8d76 /src/cmd/internal/obj/ppc64 | |
| parent | 893964b9727a3dfcadab75c0f6b3c6b683b9bae0 (diff) | |
| download | go-b2faff18ce28edad98303d2c3134dec1331fd7b5.tar.xz | |
all: add missing periods in comments
Change-Id: I69065f8adf101fdb28682c55997f503013a50e29
Reviewed-on: https://go-review.googlesource.com/c/go/+/449757
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Joedian Reid <joedian@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Joedian Reid <joedian@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/internal/obj/ppc64')
| -rw-r--r-- | src/cmd/internal/obj/ppc64/asm9.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/internal/obj/ppc64/asm9.go b/src/cmd/internal/obj/ppc64/asm9.go index 3e7b7b4913..9469edaf4c 100644 --- a/src/cmd/internal/obj/ppc64/asm9.go +++ b/src/cmd/internal/obj/ppc64/asm9.go @@ -539,7 +539,7 @@ var oprange [ALAST & obj.AMask][]Optab var xcmp [C_NCLASS][C_NCLASS]bool -// padding bytes to add to align code as requested +// padding bytes to add to align code as requested. func addpad(pc, a int64, ctxt *obj.Link, cursym *obj.LSym) int { // For 16 and 32 byte alignment, there is a tradeoff // between aligning the code and adding too many NOPs. @@ -2105,7 +2105,7 @@ func OPMD(o, xo, rc uint32) uint32 { return o<<26 | xo<<2 | rc&1 } -/* the order is dest, a/s, b/imm for both arithmetic and logical operations */ +/* the order is dest, a/s, b/imm for both arithmetic and logical operations. */ func AOP_RRR(op uint32, d uint32, a uint32, b uint32) uint32 { return op | (d&31)<<21 | (a&31)<<16 | (b&31)<<11 } |
