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

Delta Between Two Patch Sets: src/pkg/big/arith_amd64.s

Issue 1258042: code review 1258042: big: potential bug fix, cleanups (Closed)
Left Patch Set: code review 1258042: big: potential bug fix, cleanups Created 14 years, 10 months ago
Right Patch Set: code review 1258042: big: potential bug fix, cleanups Created 14 years, 10 months 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/big/arith_386.s ('k') | src/pkg/big/nat.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
(Both sides are equal)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 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 file provides fast assembly versions for the elementary 5 // This file provides fast assembly versions for the elementary
6 // arithmetic operations on vectors implemented in arith.go. 6 // arithmetic operations on vectors implemented in arith.go.
7 7
8 // TODO(gri) - experiment with unrolled loops for faster execution 8 // TODO(gri) - experiment with unrolled loops for faster execution
9 9
10 // func mulWW(x, y Word) (z1, z0 Word) 10 // func mulWW(x, y Word) (z1, z0 Word)
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 L7: MOVQ (R8)(BX*8), AX 255 L7: MOVQ (R8)(BX*8), AX
256 DIVQ R9 256 DIVQ R9
257 MOVQ AX, (R10)(BX*8) 257 MOVQ AX, (R10)(BX*8)
258 258
259 E7: SUBL $1, BX // i-- 259 E7: SUBL $1, BX // i--
260 JGE L7 // i >= 0 260 JGE L7 // i >= 0
261 261
262 MOVQ DX, r+48(FP) 262 MOVQ DX, r+48(FP)
263 RET 263 RET
LEFTRIGHT

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