aboutsummaryrefslogtreecommitdiff
path: root/libbb/hash_md5_sha_x86-64.S.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/hash_md5_sha_x86-64.S.sh')
-rwxr-xr-xlibbb/hash_md5_sha_x86-64.S.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/libbb/hash_md5_sha_x86-64.S.sh b/libbb/hash_md5_sha_x86-64.S.sh
index 7e50b64fb..eef009590 100755
--- a/libbb/hash_md5_sha_x86-64.S.sh
+++ b/libbb/hash_md5_sha_x86-64.S.sh
@@ -11,8 +11,8 @@ echo \
11 11
12#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__) 12#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
13 .section .text.sha1_process_block64,"ax",@progbits 13 .section .text.sha1_process_block64,"ax",@progbits
14 .globl sha1_process_block64 14 .globl sha1_process_block64
15 .hidden sha1_process_block64 15 .hidden sha1_process_block64
16 .type sha1_process_block64, @function 16 .type sha1_process_block64, @function
17 17
18 .balign 8 # allow decoders to fetch at least 5 first insns 18 .balign 8 # allow decoders to fetch at least 5 first insns
@@ -265,15 +265,15 @@ RD2 ax bx cx dx bp 75; RD2 bp ax bx cx dx 76; RD2 dx bp ax bx cx 77; RD2 cx dx b
265echo " 265echo "
266 popq %rdi # 266 popq %rdi #
267 popq %r12 # 267 popq %r12 #
268 addl %eax, 80(%rdi) # ctx->hash[0] += a 268 addl %eax, 80(%rdi) # ctx->hash[0] += a
269 popq %r13 # 269 popq %r13 #
270 addl %ebx, 84(%rdi) # ctx->hash[1] += b 270 addl %ebx, 84(%rdi) # ctx->hash[1] += b
271 popq %r14 # 271 popq %r14 #
272 addl %ecx, 88(%rdi) # ctx->hash[2] += c 272 addl %ecx, 88(%rdi) # ctx->hash[2] += c
273 popq %r15 # 273 popq %r15 #
274 addl %edx, 92(%rdi) # ctx->hash[3] += d 274 addl %edx, 92(%rdi) # ctx->hash[3] += d
275 popq %rbx # 275 popq %rbx #
276 addl %ebp, 96(%rdi) # ctx->hash[4] += e 276 addl %ebp, 96(%rdi) # ctx->hash[4] += e
277 popq %rbp # 277 popq %rbp #
278 278
279 ret 279 ret