]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix minor doc typos in amd64 memmove
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 13 Nov 2017 06:11:11 +0000 (22:11 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 15 Feb 2018 15:05:34 +0000 (15:05 +0000)
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>
src/runtime/memmove_amd64.s

index 21bf8e47e0f4e81555d6ecfa45031b4267a25c8b..3462bc43fcb80a0ab41cd7fac926b3c63da3c3aa 100644 (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.