aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/memmove_amd64.s
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2017-11-12 22:11:11 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2018-02-15 15:05:34 +0000
commit8e0b814a3a2bfe3017efb8c8c1b412bfe4c36df1 (patch)
tree37ed0e61bb5f3d68d5b2c540ac35c20fe6216343 /src/runtime/memmove_amd64.s
parent3658299f449e63026caf08a02eba855aab6755b6 (diff)
downloadgo-8e0b814a3a2bfe3017efb8c8c1b412bfe4c36df1.tar.gz
go-8e0b814a3a2bfe3017efb8c8c1b412bfe4c36df1.zip
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>
Diffstat (limited to 'src/runtime/memmove_amd64.s')
-rw-r--r--src/runtime/memmove_amd64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/memmove_amd64.s b/src/runtime/memmove_amd64.s
index 21bf8e47e0..3462bc43fc 100644
--- a/src/runtime/memmove_amd64.s
+++ b/src/runtime/memmove_amd64.s
@@ -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.