Fix MSYS2 build.

This commit is contained in:
XMRig 2019-03-05 02:11:34 +07:00
parent 154806ac74
commit 21d9ad6dbc

View file

@ -5,8 +5,8 @@
.global cnv2_mainloop_ryzen_asm .global cnv2_mainloop_ryzen_asm
.global cnv2_mainloop_bulldozer_asm .global cnv2_mainloop_bulldozer_asm
.global cnv2_double_mainloop_sandybridge_asm .global cnv2_double_mainloop_sandybridge_asm
.global FN_PREFIX(cnv2_rwz_mainloop_asm) .global cnv2_rwz_mainloop_asm
.global FN_PREFIX(cnv2_rwz_double_mainloop_asm) .global cnv2_rwz_double_mainloop_asm
ALIGN(64) ALIGN(64)
cnv2_mainloop_ivybridge_asm: cnv2_mainloop_ivybridge_asm:
@ -33,19 +33,13 @@ cnv2_double_mainloop_sandybridge_asm:
mov eax, 3735929054 mov eax, 3735929054
ALIGN(64) ALIGN(64)
FN_PREFIX(cnv2_rwz_mainloop_asm): cnv2_rwz_mainloop_asm:
sub rsp, 48
mov rcx, rdi
#include "cn2/cnv2_rwz_main_loop.inc" #include "cn2/cnv2_rwz_main_loop.inc"
add rsp, 48
ret 0 ret 0
mov eax, 3735929054 mov eax, 3735929054
ALIGN(64) ALIGN(64)
FN_PREFIX(cnv2_rwz_double_mainloop_asm): cnv2_rwz_double_mainloop_asm:
sub rsp, 48
mov rcx, rdi
#include "cn2/cnv2_rwz_double_main_loop.inc" #include "cn2/cnv2_rwz_double_main_loop.inc"
add rsp, 48
ret 0 ret 0
mov eax, 3735929054 mov eax, 3735929054