mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-22 11:39:33 +00:00
commit
dd7e0e520d
2 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,7 @@ static size_t CalcDatasetItemSize()
|
||||||
// Main loop prologue
|
// Main loop prologue
|
||||||
((uint8_t*)randomx_calc_dataset_item_aarch64_mix - ((uint8_t*)randomx_calc_dataset_item_aarch64_prefetch)) + 4 +
|
((uint8_t*)randomx_calc_dataset_item_aarch64_mix - ((uint8_t*)randomx_calc_dataset_item_aarch64_prefetch)) + 4 +
|
||||||
// Inner main loop (instructions)
|
// Inner main loop (instructions)
|
||||||
((RandomX_ConfigurationBase::SuperscalarLatency * 3) + 2) * 16 +
|
((RandomX_ConfigurationBase::SuperscalarMaxLatency * 3) + 2) * 16 +
|
||||||
// Main loop epilogue
|
// Main loop epilogue
|
||||||
((uint8_t*)randomx_calc_dataset_item_aarch64_store_result - (uint8_t*)randomx_calc_dataset_item_aarch64_mix) + 4
|
((uint8_t*)randomx_calc_dataset_item_aarch64_store_result - (uint8_t*)randomx_calc_dataset_item_aarch64_mix) + 4
|
||||||
) +
|
) +
|
||||||
|
|
|
@ -69,6 +69,7 @@ struct RandomX_ConfigurationBase
|
||||||
{
|
{
|
||||||
ArgonMemory = 262144,
|
ArgonMemory = 262144,
|
||||||
CacheAccesses = 8,
|
CacheAccesses = 8,
|
||||||
|
SuperscalarMaxLatency = 170,
|
||||||
DatasetBaseSize = 2147483648,
|
DatasetBaseSize = 2147483648,
|
||||||
DatasetExtraSize = 33554368,
|
DatasetExtraSize = 33554368,
|
||||||
JumpBits = 8,
|
JumpBits = 8,
|
||||||
|
|
Loading…
Reference in a new issue