1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 13:42:54 -05:00

Fixed wrong ASM code alignment on macOS, thanks @SChernykh.

This commit is contained in:
XMRig
2019-01-15 18:18:04 +07:00
parent 59b147b6fb
commit a98c475a3c
11 changed files with 26 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
#define ALIGN .align
#define ALIGN(x) .align 64
.intel_syntax noprefix
.section .text
.global cnv2_mainloop_ivybridge_asm
@@ -6,7 +6,7 @@
.global cnv2_mainloop_bulldozer_asm
.global cnv2_double_mainloop_sandybridge_asm
ALIGN 16
ALIGN(64)
cnv2_mainloop_ivybridge_asm:
#include "../cn2/cnv2_main_loop_ivybridge.inc"
ret 0
@@ -15,7 +15,7 @@ cnv2_mainloop_ivybridge_asm:
nop
nop
ALIGN 16
ALIGN(64)
cnv2_mainloop_ryzen_asm:
#include "../cn2/cnv2_main_loop_ryzen.inc"
ret 0
@@ -24,7 +24,7 @@ cnv2_mainloop_ryzen_asm:
nop
nop
ALIGN 16
ALIGN(64)
cnv2_mainloop_bulldozer_asm:
#include "../cn2/cnv2_main_loop_bulldozer.inc"
ret 0
@@ -33,7 +33,7 @@ cnv2_mainloop_bulldozer_asm:
nop
nop
ALIGN 16
ALIGN(64)
cnv2_double_mainloop_sandybridge_asm:
#include "../cn2/cnv2_double_main_loop_sandybridge.inc"
ret 0