diff options
author | lloyd <[email protected]> | 2006-08-12 20:23:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-08-12 20:23:50 +0000 |
commit | 9df5c1ef72764bce170a2f543df43de86cab576f (patch) | |
tree | 323e4ee7bbf97defa2d6aefcd1b6377f5e048301 /modules | |
parent | 68a3773df5bf37c6a9441ab2dfc0f1342f57b250 (diff) |
Pull a variable directly out of a live register, rather than going out
to memory for it.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/sha_x86/sha1core.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/sha_x86/sha1core.S b/modules/sha_x86/sha1core.S index 31bce0139..db4e536b3 100644 --- a/modules/sha_x86/sha1core.S +++ b/modules/sha_x86/sha1core.S @@ -31,9 +31,9 @@ sha160_core: .p2align 4,,7 // here esi == 16 .EXPANSION_LOOP: - xorl %eax, %eax - movl -4(%ebp), %ebx - movl -8(%ebp), %ecx + xorl %eax, %eax + movl -4(%ebp), %ebx + movl -8(%ebp), %ecx movl -12(%ebp), %edx xorl -20(%ebp), %eax @@ -60,7 +60,7 @@ sha160_core: roll $1, %ebx movl %ebx, 8(%ebp) - xorl (%ebp), %eax + xorl %edx, %eax roll $1, %eax movl %eax, 12(%ebp) |