Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
74c63251
Commit
74c63251
authored
Aug 24, 2012
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
math/big: fix broken comment
R=iant, iant CC=golang-dev
https://golang.org/cl/6485064
parent
5a297fa0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
arith_amd64.s
src/pkg/math/big/arith_amd64.s
+5
-13
No files found.
src/pkg/math/big/arith_amd64.s
View file @
74c63251
...
@@ -34,9 +34,7 @@ TEXT ·addVV(SB),7,$0
...
@@ -34,9 +34,7 @@ TEXT ·addVV(SB),7,$0
MOVQ $0, CX // c = 0
MOVQ $0, CX // c = 0
MOVQ $0, SI // i = 0
MOVQ $0, SI // i = 0
// uncomment the next line to disable the unrolled loop
// s/JL/JMP/ below to disable the unrolled loop
// JMP V1
SUBQ $4, DI // n -= 4
SUBQ $4, DI // n -= 4
JL V1 // if n < 0 goto V1
JL V1 // if n < 0 goto V1
...
@@ -90,9 +88,7 @@ TEXT ·subVV(SB),7,$0
...
@@ -90,9 +88,7 @@ TEXT ·subVV(SB),7,$0
MOVQ $0, CX // c = 0
MOVQ $0, CX // c = 0
MOVQ $0, SI // i = 0
MOVQ $0, SI // i = 0
// uncomment the next line to disable the unrolled loop
// s/JL/JMP/ below to disable the unrolled loop
// JMP V2
SUBQ $4, DI // n -= 4
SUBQ $4, DI // n -= 4
JL V2 // if n < 0 goto V2
JL V2 // if n < 0 goto V2
...
@@ -144,9 +140,7 @@ TEXT ·addVW(SB),7,$0
...
@@ -144,9 +140,7 @@ TEXT ·addVW(SB),7,$0
MOVQ $0, SI // i = 0
MOVQ $0, SI // i = 0
// uncomment the next line to disable the unrolled loop
// s/JL/JMP/ below to disable the unrolled loop
// JMP V3
SUBQ $4, DI // n -= 4
SUBQ $4, DI // n -= 4
JL V3 // if n < 4 goto V3
JL V3 // if n < 4 goto V3
...
@@ -198,9 +192,7 @@ TEXT ·subVW(SB),7,$0
...
@@ -198,9 +192,7 @@ TEXT ·subVW(SB),7,$0
MOVQ $0, SI // i = 0
MOVQ $0, SI // i = 0
// uncomment the next line to disable the unrolled loop
// s/JL/JMP/ below to disable the unrolled loop
// JMP V4
SUBQ $4, DI // n -= 4
SUBQ $4, DI // n -= 4
JL V4 // if n < 4 goto V4
JL V4 // if n < 4 goto V4
...
@@ -389,7 +381,7 @@ E7: SUBL $1, BX // i--
...
@@ -389,7 +381,7 @@ E7: SUBL $1, BX // i--
TEXT ·bitLen(SB),7,$0
TEXT ·bitLen(SB),7,$0
BSRQ x+0(FP), AX
BSRQ x+0(FP), AX
JZ Z1
JZ Z1
INCL
AX
ADDL $1,
AX
MOVL AX, n+8(FP)
MOVL AX, n+8(FP)
RET
RET
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment