crypto: x86/sha256: Remove custom alignments
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Sep 2022 11:10:57 +0000 (13:10 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Oct 2022 14:41:02 +0000 (16:41 +0200)
SYM_FUNC_START*() and friends already imply alignment, remove custom
alignment hacks to make code consistent. This prepares for future
function call ABI changes.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111144.766564176@infradead.org
arch/x86/crypto/sha256-avx-asm.S
arch/x86/crypto/sha256-avx2-asm.S
arch/x86/crypto/sha256-ssse3-asm.S
arch/x86/crypto/sha256_ni_asm.S

index 3baa1ec..3649370 100644 (file)
@@ -347,7 +347,6 @@ a = TMP_
 ########################################################################
 .text
 SYM_FUNC_START(sha256_transform_avx)
-.align 32
        pushq   %rbx
        pushq   %r12
        pushq   %r13
index 9bcdbc4..c4c1dc5 100644 (file)
@@ -524,7 +524,6 @@ STACK_SIZE  = _CTX      + _CTX_SIZE
 ########################################################################
 .text
 SYM_FUNC_START(sha256_transform_rorx)
-.align 32
        pushq   %rbx
        pushq   %r12
        pushq   %r13
index c4a5db6..96b7dcd 100644 (file)
@@ -356,7 +356,6 @@ a = TMP_
 ########################################################################
 .text
 SYM_FUNC_START(sha256_transform_ssse3)
-.align 32
        pushq   %rbx
        pushq   %r12
        pushq   %r13
index 94d50dd..b3f1a1a 100644 (file)
@@ -96,7 +96,6 @@
  */
 
 .text
-.align 32
 SYM_FUNC_START(sha256_ni_transform)
 
        shl             $6, NUM_BLKS            /*  convert to bytes */