karasub documentation correction

This commit is contained in:
gladman 2012-01-26 20:59:30 +00:00
parent ceb36b722d
commit 7b6cec91a5
7 changed files with 42 additions and 42 deletions

View File

@ -267,13 +267,8 @@
mov rcx, 3
; add in any carries and/or borrows
;
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
; carries from the third to the fourth quarter
; carries from lower half to upper half:
; rbx{2} is the carry in (B + C)
; rax{1} is the carry in (B + C) + D
; rax{0} is the borrow in (B + C + D) - F
@ -296,6 +291,11 @@
inc rdx
jc .12
; carries from the third to the fourth quarter
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
.13: xor r8, r8
bt rbx, 1
adc r8, r8

View File

@ -267,13 +267,8 @@
mov rcx, 3
; add in any carries and/or borrows
;
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
; carries from the third to the fourth quarter
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rax{1} is the carry in (B + C) + D
; rax{0} is the borrow in (B + C + D) - F
@ -296,6 +291,11 @@
inc rdx
jc .12
; carries from the third to the fourth quarter
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
.13: mov rax, 6
and rax, rbx
popcnt r8, rax

View File

@ -267,13 +267,8 @@
mov rcx, 3
; add in any carries and/or borrows
;
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
; carries from the third to the fourth quarter
; carries from lower half to upper half:
; rbx{2} is the carry in (B + C)
; rax{1} is the carry in (B + C) + D
; rax{0} is the borrow in (B + C + D) - F
@ -296,6 +291,11 @@
inc rdx
jc .12
; carries from the third to the fourth quarter
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
.13: xor r8, r8
bt rbx, 1
adc r8, r8

View File

@ -268,13 +268,8 @@
mov rcx, 3
; add in any carries and/or borrows
;
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
; carries from the third to the fourth quarter
; carries from lower half to upper half:
; rbx{2} is the carry in (B + C)
; rax{1} is the carry in (B + C) + D
; rax{0} is the borrow in (B + C + D) - F
@ -297,6 +292,11 @@
inc rdx
jc .12
; carries from the third to the fourth quarter
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
.13: xor r8, r8
bt rbx, 1
adc r8, r8

View File

@ -268,12 +268,7 @@
; add in any carries and/or borrows
;
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
; carries from the third to the fourth quarter
; carries from lower half to upper half:
; rbx{2} is the carry in (B + C)
; rax{1} is the carry in (B + C) + D
; rax{0} is the borrow in (B + C + D) - F
@ -296,6 +291,11 @@
lea rdx, [rdx + 1]
jc .12
; carries from the third to the fourth quarter
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
.13: mov rax, 6
and rax, rbx
popcnt r8, rax

View File

@ -268,13 +268,8 @@
mov rcx, 3
; add in any carries and/or borrows
;
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
; carries from the third to the fourth quarter
; carries from lower half to upper half:
; rbx{2} is the carry in (B + C)
; rax{1} is the carry in (B + C) + D
; rax{0} is the borrow in (B + C + D) - F
@ -297,6 +292,11 @@
inc rdx
jc .12
; carries from the third to the fourth quarter
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
.13: xor r8, r8
bt rbx, 1
adc r8, r8

View File

@ -267,13 +267,8 @@
mov rcx, 3
; add in any carries and/or borrows
;
; carries from low half to upper half:
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
; carries from the third to the fourth quarter
; carries from lower half to upper half:
; rbx{2} is the carry in (B + C)
; rax{1} is the carry in (B + C) + D
; rax{0} is the borrow in (B + C + D) - F
@ -296,6 +291,11 @@
inc rdx
jc .12
; carries from the third to the fourth quarter
; rbx{2} is the carry in (B + C)
; rbx{1} is the carry in (B + C) + A
; rbx{0} is the borrow in (B + C + A) - E
.13: mov rax, 6
and rax, rbx
popcnt r8, rax