Algo num fix
This commit is contained in:
parent
7c2ebd847e
commit
5e351798e0
6 changed files with 5760 additions and 5772 deletions
|
@ -138,10 +138,6 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<CpuThreads> &threads, uint32
|
|||
count += threads.move("rx/wow", std::move(wow));
|
||||
}
|
||||
|
||||
if (!threads.isExist(Algorithm::RX_DEFYX)) {
|
||||
count += generate("defyx", threads, Algorithm::RX_DEFYX, limit);
|
||||
}
|
||||
|
||||
if (!threads.isExist(Algorithm::RX_XLA)) {
|
||||
count += generate("panthera", threads, Algorithm::RX_XLA, limit);
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -111,8 +111,6 @@ static AlgoName const algorithm_names[] = {
|
|||
{ "RandomSFX", nullptr, Algorithm::RX_SFX },
|
||||
{ "randomx/keva", "rx/keva", Algorithm::RX_KEVA },
|
||||
{ "RandomKEVA", nullptr, Algorithm::RX_KEVA },
|
||||
{ "defyx", "defyx", Algorithm::RX_DEFYX },
|
||||
{ "DefyX", nullptr, Algorithm::RX_DEFYX },
|
||||
{ "panthera", "panthera", Algorithm::RX_XLA },
|
||||
{ "Panthera", "panthera", Algorithm::RX_XLA },
|
||||
# endif
|
||||
|
|
|
@ -630,7 +630,6 @@ extern "C" {
|
|||
assert(output != nullptr);
|
||||
alignas(16) uint64_t tempHash[8];
|
||||
switch (algo) {
|
||||
case xmrig::Algorithm::RX_DEFYX: rx_sipesh_k12(tempHash, sizeof(tempHash), input, inputSize); break;
|
||||
case xmrig::Algorithm::RX_XLA: rx_yespower_k12(tempHash, sizeof(tempHash), input, inputSize); break;
|
||||
default: rx_blake2b_wrapper::run(tempHash, sizeof(tempHash), input, inputSize);
|
||||
}
|
||||
|
@ -646,7 +645,6 @@ extern "C" {
|
|||
|
||||
void randomx_calculate_hash_first(randomx_vm* machine, uint64_t (&tempHash)[8], const void* input, size_t inputSize, const xmrig::Algorithm algo) {
|
||||
switch (algo) {
|
||||
case xmrig::Algorithm::RX_DEFYX: rx_sipesh_k12(tempHash, sizeof(tempHash), input, inputSize); break;
|
||||
case xmrig::Algorithm::RX_XLA: rx_yespower_k12(tempHash, sizeof(tempHash), input, inputSize); break;
|
||||
default: rx_blake2b_wrapper::run(tempHash, sizeof(tempHash), input, inputSize);
|
||||
}
|
||||
|
@ -665,7 +663,6 @@ extern "C" {
|
|||
|
||||
// Finish current hash and fill the scratchpad for the next hash at the same time
|
||||
switch (algo) {
|
||||
case xmrig::Algorithm::RX_DEFYX: rx_sipesh_k12(tempHash, sizeof(tempHash), nextInput, nextInputSize); break;
|
||||
case xmrig::Algorithm::RX_XLA: rx_yespower_k12(tempHash, sizeof(tempHash), nextInput, nextInputSize); break;
|
||||
default: rx_blake2b_wrapper::run(tempHash, sizeof(tempHash), nextInput, nextInputSize);
|
||||
}
|
||||
|
|
|
@ -52,9 +52,6 @@ const RandomX_ConfigurationBase *xmrig::RxAlgo::base(Algorithm::Id algorithm)
|
|||
case Algorithm::RX_KEVA:
|
||||
return &RandomX_KevaConfig;
|
||||
|
||||
case Algorithm::RX_DEFYX:
|
||||
return &RandomX_ScalaConfig;
|
||||
|
||||
case Algorithm::RX_XLA:
|
||||
return &RandomX_Scala2Config;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue