Skip to content

Remove no-op register move from ChaCha20_ctr32_ssse3_4x #2234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crypto/chacha/asm/chacha-x86_64.pl
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ sub SSSE3_lane_ROUND {
_CET_ENDBR
mov %rsp,%r9 # frame pointer
.cfi_def_cfa_register r9
mov %r10,%r11
___
$code.=<<___;
sub \$0x140+$xframe,%rsp
Expand Down
1 change: 0 additions & 1 deletion generated-src/linux-x86_64/crypto/chacha/chacha-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ ChaCha20_ctr32_ssse3_4x:
_CET_ENDBR
movq %rsp,%r9
.cfi_def_cfa_register r9
movq %r10,%r11
subq $0x140+8,%rsp
movdqa .Lsigma(%rip),%xmm11
movdqu (%rcx),%xmm15
Expand Down
1 change: 0 additions & 1 deletion generated-src/mac-x86_64/crypto/chacha/chacha-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ _ChaCha20_ctr32_ssse3_4x:
_CET_ENDBR
movq %rsp,%r9

movq %r10,%r11
subq $0x140+8,%rsp
movdqa L$sigma(%rip),%xmm11
movdqu (%rcx),%xmm15
Expand Down
1 change: 0 additions & 1 deletion generated-src/win-x86_64/crypto/chacha/chacha-x86_64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ $L$SEH_begin_ChaCha20_ctr32_ssse3_4x:
_CET_ENDBR
mov r9,rsp

mov r11,r10
sub rsp,0x140+168
movaps XMMWORD[(-168)+r9],xmm6
movaps XMMWORD[(-152)+r9],xmm7
Expand Down
Loading