1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:14:45 -07:00

runtime: fix minor doc typos in amd64 memmove

Change-Id: Ic1ce2f93d6a225699e9ce5307d62cdda8f97630d
Reviewed-on: https://go-review.googlesource.com/94024
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2017-11-12 22:11:11 -08:00
parent 3658299f44
commit 8e0b814a3a

View File

@ -284,7 +284,7 @@ move_256through2048:
avxUnaligned:
// There are two implementations of move algorithm.
// The first one for non-ovelapped memory regions. It uses forward copying.
// The first one for non-overlapped memory regions. It uses forward copying.
// The second one for overlapped regions. It uses backward copying
MOVQ DI, CX
SUBQ SI, CX
@ -346,7 +346,7 @@ avxUnaligned:
// Continue tail saving.
MOVOU -0x20(CX), X11
MOVOU -0x10(CX), X12
// The tail will be put on it's place after main body copying.
// The tail will be put on its place after main body copying.
// It's time for the unaligned heading part.
VMOVDQU (SI), Y4
// Adjust source address to point past head.