diff options
author | lloyd <[email protected]> | 2006-08-15 17:06:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-08-15 17:06:57 +0000 |
commit | d0a5ecdb4f7b1ddbefdc6a46525c276b9203abfe (patch) | |
tree | 1fb436168fe3a26c96c9f1c840269e39bca07463 /modules/alg_ia32/sha1core.S | |
parent | 3ba05971bb1ac7b689a636d78680f3abc1cbf14d (diff) |
Add a distinct loop ending for loop-until-equals-immediate; other loops
ending conditions will be needed later.
Diffstat (limited to 'modules/alg_ia32/sha1core.S')
-rw-r--r-- | modules/alg_ia32/sha1core.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/alg_ia32/sha1core.S b/modules/alg_ia32/sha1core.S index 347d22095..a8c1b2dc9 100644 --- a/modules/alg_ia32/sha1core.S +++ b/modules/alg_ia32/sha1core.S @@ -36,7 +36,7 @@ START_LOOP(.LOAD_INPUT) ASSIGN(ARRAY4_INDIRECT(EDI,ESI,-3), EBX) ASSIGN(ARRAY4_INDIRECT(EDI,ESI,-2), ECX) ASSIGN(ARRAY4_INDIRECT(EDI,ESI,-1), EDX) -LOOP_UNTIL(ESI, IMM(16), .LOAD_INPUT) +LOOP_UNTIL_EQ(ESI, 16, .LOAD_INPUT) ADD2_IMM(EBP, EDI, 64) @@ -75,7 +75,7 @@ START_LOOP(.EXPANSION) ASSIGN(ARRAY4(EBP, 3), EAX) ADD_IMM(EBP, 16) -LOOP_UNTIL(ESI, IMM(80), .EXPANSION) +LOOP_UNTIL_EQ(ESI, 80, .EXPANSION) ASSIGN(EBP, ARG(1)) ASSIGN(EAX, ARRAY4(EBP, 0)) |