Initial compile with ASM.
This commit is contained in:
parent
0c20d7a125
commit
dd27c42293
6 changed files with 427 additions and 1 deletions
21
src/crypto/asm/cnv2_main_loop.S
Normal file
21
src/crypto/asm/cnv2_main_loop.S
Normal file
|
@ -0,0 +1,21 @@
|
|||
#define ALIGN .align
|
||||
.intel_syntax noprefix
|
||||
.section .text
|
||||
.global cnv2_mainloop_ivybridge_asm
|
||||
.global cnv2_mainloop_ryzen_asm
|
||||
|
||||
ALIGN 64
|
||||
cnv2_mainloop_ivybridge_asm:
|
||||
sub rsp, 48
|
||||
mov rcx, rdi
|
||||
#include "cnv2_main_loop_ivybridge.inc"
|
||||
add rsp, 48
|
||||
ret 0
|
||||
|
||||
ALIGN 64
|
||||
cnv2_mainloop_ryzen_asm:
|
||||
sub rsp, 48
|
||||
mov rcx, rdi
|
||||
#include "cnv2_main_loop_ryzen.inc"
|
||||
add rsp, 48
|
||||
ret 0
|
Loading…
Add table
Add a link
Reference in a new issue