Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16)

Issue 6259043: code review 6259043: crypto: amd64 assembly for hashes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by rsc
Modified:
13 years, 4 months ago
Reviewers:
r, fw, golang-dev
Visibility:
Public.

Description

crypto: amd64 assembly for hashes Tuning the Go versions was a good source of things to fix in the compiler, but ultimately the assembly is going to win. Can't beat 'em, so join 'em. Only adding assembly for SHA1, but set up for assembly from others, if we can find some with acceptable licensing. benchmark old MB/s new MB/s speedup sha1.BenchmarkHash8K 87.31 369.56 4.23x

Patch Set 1 #

Patch Set 2 : diff -r 00a25723a7cd https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 00a25723a7cd https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 00a25723a7cd https://go.googlecode.com/hg/ #

Total comments: 5

Patch Set 5 : diff -r 00a25723a7cd https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 6 : diff -r 40632db23c46 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1585 lines, -32 lines) Patch
A src/pkg/crypto/gen.sh View 1 2 3 4 5 1 chunk +126 lines, -0 lines 0 comments Download
A src/pkg/crypto/md5/asm.go View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/crypto/md5/gen.go View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M src/pkg/crypto/md5/md5.go View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M src/pkg/crypto/md5/md5block.go View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
A src/pkg/crypto/sha1/asm.go View 1 1 chunk +10 lines, -0 lines 0 comments Download
A src/pkg/crypto/sha1/block_amd64.s View 1 2 3 4 5 1 chunk +1313 lines, -0 lines 0 comments Download
M src/pkg/crypto/sha1/sha1.go View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M src/pkg/crypto/sha1/sha1_test.go View 1 1 chunk +25 lines, -0 lines 0 comments Download
M src/pkg/crypto/sha1/sha1block.go View 1 3 chunks +3 lines, -4 lines 0 comments Download
A src/pkg/crypto/sha256/asm.go View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/crypto/sha256/sha256.go View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M src/pkg/crypto/sha256/sha256_test.go View 1 1 chunk +25 lines, -0 lines 0 comments Download
M src/pkg/crypto/sha256/sha256block.go View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
A src/pkg/crypto/sha512/asm.go View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/crypto/sha512/sha512.go View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M src/pkg/crypto/sha512/sha512_test.go View 1 1 chunk +25 lines, -0 lines 0 comments Download
M src/pkg/crypto/sha512/sha512block.go View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 8
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 4 months ago (2012-05-25 04:15:58 UTC) #1
rsc
+agl
13 years, 4 months ago (2012-05-25 04:16:57 UTC) #2
r
worried about licensing. http://codereview.appspot.com/6259043/diff/7001/src/pkg/crypto/gen.sh File src/pkg/crypto/gen.sh (right): http://codereview.appspot.com/6259043/diff/7001/src/pkg/crypto/gen.sh#newcode6 src/pkg/crypto/gen.sh:6: OPENSSL=${OPENSSL:-$HOME/Downloads/openssl-1.0.1c} this doesn't feel very general. ...
13 years, 4 months ago (2012-05-25 04:39:13 UTC) #3
rsc
PTAL Added more comments, explicit copy of license. Not worried about the blank lines in ...
13 years, 4 months ago (2012-05-25 04:56:39 UTC) #4
fw
http://codereview.appspot.com/6259043/diff/24/src/pkg/crypto/sha512/block_amd64.s File src/pkg/crypto/sha512/block_amd64.s (right): http://codereview.appspot.com/6259043/diff/24/src/pkg/crypto/sha512/block_amd64.s#newcode99 src/pkg/crypto/sha512/block_amd64.s:99: * "This product includes software written by Tim Hudson ...
13 years, 4 months ago (2012-05-25 05:49:24 UTC) #5
rsc
http://codereview.appspot.com/6259043/diff/24/src/pkg/crypto/sha512/block_amd64.s File src/pkg/crypto/sha512/block_amd64.s (right): http://codereview.appspot.com/6259043/diff/24/src/pkg/crypto/sha512/block_amd64.s#newcode99 src/pkg/crypto/sha512/block_amd64.s:99: * "This product includes software written by Tim Hudson ...
13 years, 4 months ago (2012-05-25 05:52:31 UTC) #6
fw
> http://codereview.appspot.com/6259043/diff/24/src/pkg/crypto/sha512/block_amd64.s > File src/pkg/crypto/sha512/block_amd64.s (right): > > http://codereview.appspot.com/6259043/diff/24/src/pkg/crypto/sha512/block_amd64.s#newcode99 > src/pkg/crypto/sha512/block_amd64.s:99: * "This product includes ...
13 years, 4 months ago (2012-05-25 06:19:55 UTC) #7
rsc
13 years, 4 months ago (2012-05-25 06:22:05 UTC) #8
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b