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

Delta Between Two Patch Sets: curve25519/square_amd64.s

Issue 5786045: code review 5786045: go.crypto/curve25519: add package. (Closed)
Left Patch Set: diff -r 676f4a693124 https://agl%40golang.org@code.google.com/p/go.crypto/ Created 13 years ago
Right Patch Set: diff -r 676f4a693124 https://agl%40golang.org@code.google.com/p/go.crypto/ Created 13 years 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 | « curve25519/mul_amd64.s ('k') | no next file » | 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 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
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 // This code was translated into a form compatible with 6a from the public 5 // This code was translated into a form compatible with 6a from the public
6 // domain sources in SUPERCOP: http://bench.cr.yp.to/supercop.html 6 // domain sources in SUPERCOP: http://bench.cr.yp.to/supercop.html
7 7
8 // func square(dest, src *[5]uint64) 8 // func square(dest, src *[5]uint64)
9 TEXT ·square(SB),7,$96 9 TEXT ·square(SB),7,$96-16
10 MOVQ dest+0(FP), DI 10 MOVQ dest+0(FP), DI
11 MOVQ src+8(FP), SI 11 MOVQ src+8(FP), SI
12 12
13 MOVQ SP,R11 13 MOVQ SP,R11
14 MOVQ $31,CX 14 MOVQ $31,CX
15 NOTQ CX 15 NOTQ CX
16 ANDQ CX,SP 16 ANDQ CX,SP
17 ADDQ $32, SP 17 ADDQ $32, SP
18 18
19 MOVQ R11,0(SP) 19 MOVQ R11,0(SP)
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 MOVQ 8(SP),R12 142 MOVQ 8(SP),R12
143 MOVQ 16(SP),R13 143 MOVQ 16(SP),R13
144 MOVQ 24(SP),R14 144 MOVQ 24(SP),R14
145 MOVQ 32(SP),R15 145 MOVQ 32(SP),R15
146 MOVQ 40(SP),BX 146 MOVQ 40(SP),BX
147 MOVQ 48(SP),BP 147 MOVQ 48(SP),BP
148 MOVQ R11,SP 148 MOVQ R11,SP
149 MOVQ DI,AX 149 MOVQ DI,AX
150 MOVQ SI,DX 150 MOVQ SI,DX
151 RET 151 RET
LEFTRIGHT

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