whitespace fix

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2022-01-08 00:41:09 +01:00
parent 0bab5da37e
commit 805ececa61
4 changed files with 22 additions and 22 deletions

View File

@ -18,11 +18,11 @@
#define shuf128_32 shufps #define shuf128_32 shufps
#define extr128_32 pextrd #define extr128_32 pextrd
//#define extr128_32 extractps # not shorter //#define extr128_32 extractps # not shorter
.section .text.sha1_process_block64_shaNI,"ax",@progbits .section .text.sha1_process_block64_shaNI,"ax",@progbits
.globl sha1_process_block64_shaNI .globl sha1_process_block64_shaNI
.hidden sha1_process_block64_shaNI .hidden sha1_process_block64_shaNI
.type sha1_process_block64_shaNI, @function .type sha1_process_block64_shaNI, @function
#define ABCD %xmm0 #define ABCD %xmm0
@ -221,7 +221,7 @@ sha1_process_block64_shaNI:
movl %ebp, %esp movl %ebp, %esp
popl %ebp popl %ebp
ret 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 .section .rodata.cst16.PSHUFFLE_BYTE_FLIP_MASK, "aM", @progbits, 16
.align 16 .align 16

View File

@ -2,8 +2,8 @@
#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__) #if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
.section .text.sha1_process_block64,"ax",@progbits .section .text.sha1_process_block64,"ax",@progbits
.globl sha1_process_block64 .globl sha1_process_block64
.hidden sha1_process_block64 .hidden sha1_process_block64
.type sha1_process_block64, @function .type sha1_process_block64, @function
.balign 8 # allow decoders to fetch at least 5 first insns .balign 8 # allow decoders to fetch at least 5 first insns
@ -1273,15 +1273,15 @@ sha1_process_block64:
popq %rdi # popq %rdi #
popq %r12 # popq %r12 #
addl %eax, 80(%rdi) # ctx->hash[0] += a addl %eax, 80(%rdi) # ctx->hash[0] += a
popq %r13 # popq %r13 #
addl %ebx, 84(%rdi) # ctx->hash[1] += b addl %ebx, 84(%rdi) # ctx->hash[1] += b
popq %r14 # popq %r14 #
addl %ecx, 88(%rdi) # ctx->hash[2] += c addl %ecx, 88(%rdi) # ctx->hash[2] += c
popq %r15 # popq %r15 #
addl %edx, 92(%rdi) # ctx->hash[3] += d addl %edx, 92(%rdi) # ctx->hash[3] += d
popq %rbx # popq %rbx #
addl %ebp, 96(%rdi) # ctx->hash[4] += e addl %ebp, 96(%rdi) # ctx->hash[4] += e
popq %rbp # popq %rbp #
ret ret

View File

@ -11,8 +11,8 @@ echo \
#if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__) #if CONFIG_SHA1_SMALL == 0 && defined(__GNUC__) && defined(__x86_64__)
.section .text.sha1_process_block64,"ax",@progbits .section .text.sha1_process_block64,"ax",@progbits
.globl sha1_process_block64 .globl sha1_process_block64
.hidden sha1_process_block64 .hidden sha1_process_block64
.type sha1_process_block64, @function .type sha1_process_block64, @function
.balign 8 # allow decoders to fetch at least 5 first insns .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 " echo "
popq %rdi # popq %rdi #
popq %r12 # popq %r12 #
addl %eax, 80(%rdi) # ctx->hash[0] += a addl %eax, 80(%rdi) # ctx->hash[0] += a
popq %r13 # popq %r13 #
addl %ebx, 84(%rdi) # ctx->hash[1] += b addl %ebx, 84(%rdi) # ctx->hash[1] += b
popq %r14 # popq %r14 #
addl %ecx, 88(%rdi) # ctx->hash[2] += c addl %ecx, 88(%rdi) # ctx->hash[2] += c
popq %r15 # popq %r15 #
addl %edx, 92(%rdi) # ctx->hash[3] += d addl %edx, 92(%rdi) # ctx->hash[3] += d
popq %rbx # popq %rbx #
addl %ebp, 96(%rdi) # ctx->hash[4] += e addl %ebp, 96(%rdi) # ctx->hash[4] += e
popq %rbp # popq %rbp #
ret ret

View File

@ -18,11 +18,11 @@
#define shuf128_32 shufps #define shuf128_32 shufps
#define extr128_32 pextrd #define extr128_32 pextrd
//#define extr128_32 extractps # not shorter //#define extr128_32 extractps # not shorter
.section .text.sha1_process_block64_shaNI,"ax",@progbits .section .text.sha1_process_block64_shaNI,"ax",@progbits
.globl sha1_process_block64_shaNI .globl sha1_process_block64_shaNI
.hidden sha1_process_block64_shaNI .hidden sha1_process_block64_shaNI
.type sha1_process_block64_shaNI, @function .type sha1_process_block64_shaNI, @function
#define ABCD %xmm0 #define ABCD %xmm0
@ -215,7 +215,7 @@ sha1_process_block64_shaNI:
extr128_32 $3, E0, 80+4*4(%rdi) extr128_32 $3, E0, 80+4*4(%rdi)
ret 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 .section .rodata.cst16.PSHUFFLE_BYTE_FLIP_MASK, "aM", @progbits, 16
.align 16 .align 16