mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2024-08-15 00:23:14 +00:00
Workaround for gcc 8.3 on Arch Linux (ARM)
ldr/madd instruction sequence makes compiled binary crash, so separate them.
This commit is contained in:
parent
9e7ae84de4
commit
457c0e4a54
1 changed files with 2 additions and 1 deletions
|
@ -488,12 +488,13 @@ randomx_calc_dataset_item_aarch64:
|
|||
stp x10, x11, [sp, 80]
|
||||
stp x12, x13, [sp, 96]
|
||||
|
||||
ldr x12, superscalarMul0
|
||||
|
||||
mov x8, x0
|
||||
mov x9, x1
|
||||
mov x10, x2
|
||||
|
||||
# rl[0] = (itemNumber + 1) * superscalarMul0;
|
||||
ldr x12, superscalarMul0
|
||||
madd x0, x2, x12, x12
|
||||
|
||||
# rl[1] = rl[0] ^ superscalarAdd1;
|
||||
|
|
Loading…
Reference in a new issue