Skip to content

Commit

Permalink
avx512_t1: [DOCSIS] fix loop alignment
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo de Lara <[email protected]>
  • Loading branch information
pablodelara authored and mdcornu committed Oct 3, 2024
1 parent 45fdffa commit 81444f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/avx512_t1/aes_docsis_dec_avx512.asm
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,7 @@ mksection .text
%assign align_blocks (align_blocks + 1)
%endrep

align 32
%%_main_loop:
cmp %%NUM_BYTES, (8 * 16)
jb %%_exit_loop
Expand Down
1 change: 1 addition & 0 deletions lib/avx512_t1/aes_docsis_enc_avx512.asm
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ mksection .text
sub %%LEN, 16
je %%_encrypt_the_last_block

align 32
%%_main_enc_loop:
;; if 16 bytes left (for CRC) then
;; go to the code variant where CRC last block case is checked
Expand Down

0 comments on commit 81444f9

Please sign in to comment.