mirror of
https://codeberg.org/wownero/RandomX.git
synced 2026-11-17 09:56:46 +01:00
Use values from configuration.h in assembly code
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
xor rbp, rax ;# modify "mx"
|
||||
ror rbp, 32 ;# swap "ma" and "mx"
|
||||
mov ebx, ebp ;# ecx = ma
|
||||
and ebx, 2147483584 ;# align "ma" to the start of a cache line
|
||||
and ebx, RANDOMX_DATASET_BASE_MASK
|
||||
shr ebx, 6 ;# ebx = Dataset block number
|
||||
;# add ebx, datasetOffset / 64
|
||||
;# call 32768
|
||||
Reference in New Issue
Block a user