Use values from configuration.h in assembly code

This commit is contained in:
tevador
2019-05-06 18:14:00 +02:00
parent 03dd2f397f
commit c1314dc2a2
11 changed files with 167 additions and 12 deletions
+1 -1
View File
@@ -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