1

crypto: x86/serpent: Remove redundant alignments

SYM_FUNC_START*() and friends already imply alignment, remove custom
alignment hacks to make code consistent. This prepares for future
function call ABI changes.

Also, with having pushed the function alignment to 16 bytes, this
custom alignment is completely superfluous.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111144.558544791@infradead.org
This commit is contained in:
Thomas Gleixner 2022-09-15 13:10:55 +02:00 committed by Peter Zijlstra
parent ba1b270c20
commit 8b44221671
2 changed files with 0 additions and 4 deletions

View File

@ -550,7 +550,6 @@
#define write_blocks(x0, x1, x2, x3, t0, t1, t2) \ #define write_blocks(x0, x1, x2, x3, t0, t1, t2) \
transpose_4x4(x0, x1, x2, x3, t0, t1, t2) transpose_4x4(x0, x1, x2, x3, t0, t1, t2)
.align 8
SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx) SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX
@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx)
RET; RET;
SYM_FUNC_END(__serpent_enc_blk8_avx) SYM_FUNC_END(__serpent_enc_blk8_avx)
.align 8
SYM_FUNC_START_LOCAL(__serpent_dec_blk8_avx) SYM_FUNC_START_LOCAL(__serpent_dec_blk8_avx)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX

View File

@ -550,7 +550,6 @@
#define write_blocks(x0, x1, x2, x3, t0, t1, t2) \ #define write_blocks(x0, x1, x2, x3, t0, t1, t2) \
transpose_4x4(x0, x1, x2, x3, t0, t1, t2) transpose_4x4(x0, x1, x2, x3, t0, t1, t2)
.align 8
SYM_FUNC_START_LOCAL(__serpent_enc_blk16) SYM_FUNC_START_LOCAL(__serpent_enc_blk16)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX
@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk16)
RET; RET;
SYM_FUNC_END(__serpent_enc_blk16) SYM_FUNC_END(__serpent_enc_blk16)
.align 8
SYM_FUNC_START_LOCAL(__serpent_dec_blk16) SYM_FUNC_START_LOCAL(__serpent_dec_blk16)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX