From 8e0b814a3a2bfe3017efb8c8c1b412bfe4c36df1 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Sun, 12 Nov 2017 22:11:11 -0800 Subject: [PATCH] runtime: fix minor doc typos in amd64 memmove Change-Id: Ic1ce2f93d6a225699e9ce5307d62cdda8f97630d Reviewed-on: https://go-review.googlesource.com/94024 Run-TryBot: Josh Bleecher Snyder Reviewed-by: Brad Fitzpatrick --- src/runtime/memmove_amd64.s | 4 ++-- 1 file 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. -- 2.50.0