Added ASM code patching when loading
For CNv2 variants with different iterations and memory size.
This commit is contained in:
parent
492449e9fb
commit
8b9d5cff91
19 changed files with 118 additions and 2034 deletions
|
@ -570,10 +570,10 @@ extern "C" void cnv2_mainloop_ryzen_asm(cryptonight_ctx *ctx);
|
|||
extern "C" void cnv2_mainloop_bulldozer_asm(cryptonight_ctx *ctx);
|
||||
extern "C" void cnv2_double_mainloop_sandybridge_asm(cryptonight_ctx* ctx0, cryptonight_ctx* ctx1);
|
||||
|
||||
extern "C" void cn_half_mainloop_ivybridge_asm(cryptonight_ctx *ctx);
|
||||
extern "C" void cn_half_mainloop_ryzen_asm(cryptonight_ctx *ctx);
|
||||
extern "C" void cn_half_mainloop_bulldozer_asm(cryptonight_ctx *ctx);
|
||||
extern "C" void cn_half_double_mainloop_sandybridge_asm(cryptonight_ctx* ctx0, cryptonight_ctx* ctx1);
|
||||
extern xmrig::CpuThread::cn_mainloop_fun cn_half_mainloop_ivybridge_asm;
|
||||
extern xmrig::CpuThread::cn_mainloop_fun cn_half_mainloop_ryzen_asm;
|
||||
extern xmrig::CpuThread::cn_mainloop_fun cn_half_mainloop_bulldozer_asm;
|
||||
extern xmrig::CpuThread::cn_mainloop_double_fun cn_half_double_mainloop_sandybridge_asm;
|
||||
|
||||
|
||||
template<xmrig::Algo ALGO, xmrig::Variant VARIANT, xmrig::Assembly ASM>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue