2019-01-27 09:52:30 +00:00
|
|
|
xor rbp, rax ;# modify "mx"
|
|
|
|
mov edx, ebp ;# edx = mx
|
2019-05-06 16:14:00 +00:00
|
|
|
and edx, RANDOMX_DATASET_BASE_MASK
|
2019-01-27 09:52:30 +00:00
|
|
|
prefetchnta byte ptr [rdi+rdx]
|
|
|
|
ror rbp, 32 ;# swap "ma" and "mx"
|
|
|
|
mov edx, ebp ;# edx = ma
|
2019-05-06 16:14:00 +00:00
|
|
|
and edx, RANDOMX_DATASET_BASE_MASK
|
2019-01-27 09:52:30 +00:00
|
|
|
lea rcx, [rdi+rdx] ;# dataset cache line
|
|
|
|
xor r8, qword ptr [rcx+0]
|
|
|
|
xor r9, qword ptr [rcx+8]
|
|
|
|
xor r10, qword ptr [rcx+16]
|
|
|
|
xor r11, qword ptr [rcx+24]
|
|
|
|
xor r12, qword ptr [rcx+32]
|
|
|
|
xor r13, qword ptr [rcx+40]
|
|
|
|
xor r14, qword ptr [rcx+48]
|
|
|
|
xor r15, qword ptr [rcx+56]
|
|
|
|
|