Commit 8e0b814a authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 3658299f
...@@ -284,7 +284,7 @@ move_256through2048: ...@@ -284,7 +284,7 @@ move_256through2048:
avxUnaligned: avxUnaligned:
// There are two implementations of move algorithm. // 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 // The second one for overlapped regions. It uses backward copying
MOVQ DI, CX MOVQ DI, CX
SUBQ SI, CX SUBQ SI, CX
...@@ -346,7 +346,7 @@ avxUnaligned: ...@@ -346,7 +346,7 @@ avxUnaligned:
// Continue tail saving. // Continue tail saving.
MOVOU -0x20(CX), X11 MOVOU -0x20(CX), X11
MOVOU -0x10(CX), X12 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. // It's time for the unaligned heading part.
VMOVDQU (SI), Y4 VMOVDQU (SI), Y4
// Adjust source address to point past head. // Adjust source address to point past head.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment