summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/hash_md5_sha_x86-32_shaNI.S8
-rw-r--r--libbb/hash_md5_sha_x86-64.S14
-rwxr-xr-xlibbb/hash_md5_sha_x86-64.S.sh14
-rw-r--r--libbb/hash_md5_sha_x86-64_shaNI.S8
4 files changed, 22 insertions, 22 deletions
diff --git a/libbb/hash_md5_sha_x86-32_shaNI.S b/libbb/hash_md5_sha_x86-32_shaNI.S
index 6b12d14..166cfd3 100644
--- a/libbb/hash_md5_sha_x86-32_shaNI.S
+++ b/libbb/hash_md5_sha_x86-32_shaNI.S
@@ -18,11 +18,11 @@
#define shuf128_32 shufps
#define extr128_32 pextrd
-//#define extr128_32 extractps # not shorter
+//#define extr128_32 extractps # not shorter
.section .text.sha1_process_block64_shaNI,"ax",@progbits
- .globl sha1_process_block64_shaNI
- .hidden sha1_process_block64_shaNI
+ .globl sha1_process_block64_shaNI
+ .hidden sha1_process_block64_shaNI
.type sha1_process_block64_shaNI, @function
#define ABCD %xmm0
@@ -221,7 +221,7 @@ sha1_process_block64_shaNI:
movl %ebp, %esp
popl %ebp
ret
- .size sha1_process_block64_shaNI, .-sha1_process_block64_shaNI
+ .size sha1_process_block64_shaNI, .-sha1_process_block64_shaNI
.section .rodata.cst16.PSHUFFLE_BYTE_FLIP_MASK, "aM", @progbits, 16
.align 16
diff --git a/libbb/hash_md5_sha_x86-64.S b/libbb/hash_md5_sha_x86-64.S
index ff78fc0..87fb616 100644
--- a/libbb/hash_md5_sha_x86-64.S
+++ b/libbb/hash_md5_sha_x86-64.S
@@ -2,8 +2,8 @@
#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
.section .text.sha1_process_block64,"ax",@progbits
- .globl sha1_process_block64
- .hidden sha1_process_block64
+ .globl sha1_process_block64
+ .hidden sha1_process_block64
.type sha1_process_block64, @function
.balign 8 # allow decoders to fetch at least 5 first insns
@@ -1273,15 +1273,15 @@ sha1_process_block64:
popq %rdi #
popq %r12 #
- addl %eax, 80(%rdi) # ctx->hash[0] += a
+ addl %eax, 80(%rdi) # ctx->hash[0] += a
popq %r13 #
- addl %ebx, 84(%rdi) # ctx->hash[1] += b
+ addl %ebx, 84(%rdi) # ctx->hash[1] += b
popq %r14 #
- addl %ecx, 88(%rdi) # ctx->hash[2] += c
+ addl %ecx, 88(%rdi) # ctx->hash[2] += c
popq %r15 #
- addl %edx, 92(%rdi) # ctx->hash[3] += d
+ addl %edx, 92(%rdi) # ctx->hash[3] += d
popq %rbx #
- addl %ebp, 96(%rdi) # ctx->hash[4] += e
+ addl %ebp, 96(%rdi) # ctx->hash[4] += e
popq %rbp #
ret
diff --git a/libbb/hash_md5_sha_x86-64.S.sh b/libbb/hash_md5_sha_x86-64.S.sh
index 7e50b64..eef0095 100755
--- a/libbb/hash_md5_sha_x86-64.S.sh
+++ b/libbb/hash_md5_sha_x86-64.S.sh
@@ -11,8 +11,8 @@ echo \
#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
.section .text.sha1_process_block64,"ax",@progbits
- .globl sha1_process_block64
- .hidden sha1_process_block64
+ .globl sha1_process_block64
+ .hidden sha1_process_block64
.type sha1_process_block64, @function
.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
echo "
popq %rdi #
popq %r12 #
- addl %eax, 80(%rdi) # ctx->hash[0] += a
+ addl %eax, 80(%rdi) # ctx->hash[0] += a
popq %r13 #
- addl %ebx, 84(%rdi) # ctx->hash[1] += b
+ addl %ebx, 84(%rdi) # ctx->hash[1] += b
popq %r14 #
- addl %ecx, 88(%rdi) # ctx->hash[2] += c
+ addl %ecx, 88(%rdi) # ctx->hash[2] += c
popq %r15 #
- addl %edx, 92(%rdi) # ctx->hash[3] += d
+ addl %edx, 92(%rdi) # ctx->hash[3] += d
popq %rbx #
- addl %ebp, 96(%rdi) # ctx->hash[4] += e
+ addl %ebp, 96(%rdi) # ctx->hash[4] += e
popq %rbp #
ret
diff --git a/libbb/hash_md5_sha_x86-64_shaNI.S b/libbb/hash_md5_sha_x86-64_shaNI.S
index e2e5357..33cc3bf 100644
--- a/libbb/hash_md5_sha_x86-64_shaNI.S
+++ b/libbb/hash_md5_sha_x86-64_shaNI.S
@@ -18,11 +18,11 @@
#define shuf128_32 shufps
#define extr128_32 pextrd
-//#define extr128_32 extractps # not shorter
+//#define extr128_32 extractps # not shorter
.section .text.sha1_process_block64_shaNI,"ax",@progbits
- .globl sha1_process_block64_shaNI
- .hidden sha1_process_block64_shaNI
+ .globl sha1_process_block64_shaNI
+ .hidden sha1_process_block64_shaNI
.type sha1_process_block64_shaNI, @function
#define ABCD %xmm0
@@ -215,7 +215,7 @@ sha1_process_block64_shaNI:
extr128_32 $3, E0, 80+4*4(%rdi)
ret
- .size sha1_process_block64_shaNI, .-sha1_process_block64_shaNI
+ .size sha1_process_block64_shaNI, .-sha1_process_block64_shaNI
.section .rodata.cst16.PSHUFFLE_BYTE_FLIP_MASK, "aM", @progbits, 16
.align 16