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

Delta Between Two Patch Sets: src/pkg/crypto/sha1/sha1block_arm.s

Issue 56990044: code review 56990044: An ARM version of sha1block.go with a big improvement i... (Closed)
Left Patch Set: diff -r 54a5513d9d6a https://code.google.com/p/go Created 10 years, 1 month ago
Right Patch Set: diff -r 54a5513d9d6a https://code.google.com/p/go Created 10 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/crypto/sha1/sha1block.go ('k') | src/pkg/crypto/sha1/sha1block_decl.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2013 The Go Authors. All rights reserved. 1 // Copyright 2014 The Go Authors. All rights reserved.
agl1 2014/02/10 15:44:26 2014
Nick Craig-Wood 2014/02/11 09:03:56 Done.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 // 4 //
5 // ARM version of md5block.go 5 // ARM version of md5block.go
6 6
7 #include "../../../cmd/ld/textflag.h" 7 #include "../../../cmd/ld/textflag.h"
8 8
9 // SHA1 block routine. See sha1block.go for Go equivalent. 9 // SHA1 block routine. See sha1block.go for Go equivalent.
10 // 10 //
11 // There are 80 rounds of 4 types: 11 // There are 80 rounds of 4 types:
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 MOVW p_end(SP), R(t0) 209 MOVW p_end(SP), R(t0)
210 CMP R(t0), R(data) 210 CMP R(t0), R(data)
211 BLO loop 211 BLO loop
212 212
213 // Save final SHA1 accumulator 213 // Save final SHA1 accumulator
214 MOVW dig+0(FP), R(t0) 214 MOVW dig+0(FP), R(t0)
215 MOVM.IA [R(a),R(b),R(c),R(d),R(e)], (R(t0)) 215 MOVM.IA [R(a),R(b),R(c),R(d),R(e)], (R(t0))
216 216
217 RET 217 RET
LEFTRIGHT

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