aboutsummaryrefslogtreecommitdiff
path: root/src/hash
diff options
context:
space:
mode:
authorEric Lagergren <ericscottlagergren@gmail.com>2017-04-03 15:54:20 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2017-04-03 23:19:07 +0000
commit094498c9a13cd711ed45a65b153393eb8ae1566b (patch)
treeb0f193a36c9651cb67651d4ba86eda9730254801 /src/hash
parent50688fcb6ef0f74d6ff91dce95f8823b1f56bdf7 (diff)
downloadgo-094498c9a13cd711ed45a65b153393eb8ae1566b.tar.gz
go-094498c9a13cd711ed45a65b153393eb8ae1566b.zip
all: fix minor misspellings
Change-Id: I1f1cfb161640eb8756fb1a283892d06b30b7a8fa Reviewed-on: https://go-review.googlesource.com/39356 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/hash')
-rw-r--r--src/hash/crc32/crc32_ppc64le.s2
-rw-r--r--src/hash/crc32/crc32_s390x.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/crc32/crc32_ppc64le.s b/src/hash/crc32/crc32_ppc64le.s
index d54059f823..10d5dd61db 100644
--- a/src/hash/crc32/crc32_ppc64le.s
+++ b/src/hash/crc32/crc32_ppc64le.s
@@ -246,7 +246,7 @@ startConst:
LVX (R4+off112),V23
ADD $128,R4 // bump up to next 128 bytes in buffer
- VXOR V16,V8,V16 // xor in inital CRC in V8
+ VXOR V16,V8,V16 // xor in initial CRC in V8
next:
BC 18,0,first_warm_up_done
diff --git a/src/hash/crc32/crc32_s390x.s b/src/hash/crc32/crc32_s390x.s
index 0b830531f7..63aa609db2 100644
--- a/src/hash/crc32/crc32_s390x.s
+++ b/src/hash/crc32/crc32_s390x.s
@@ -227,7 +227,7 @@ final_fold:
// Note: To compensate the division by x^32, use the vector unpack
// instruction to move the leftmost word into the leftmost doubleword
// of the vector register. The rightmost doubleword is multiplied
- // with zero to not contribute to the intermedate results.
+ // with zero to not contribute to the intermediate results.
// T1(x) = floor( R(x) / x^32 ) GF2MUL u