mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-03 10:32:52 -05:00
RISC-V: vectorized RandomX main loop
This commit is contained in:
@@ -55,6 +55,9 @@ xmrig::BasicCpuInfo::BasicCpuInfo() :
|
||||
strncpy(m_brand, name.data(), sizeof(m_brand) - 1);
|
||||
}
|
||||
|
||||
// Check for vector extensions
|
||||
m_flags.set(FLAG_RISCV_VECTOR, has_riscv_vector());
|
||||
|
||||
// Check for crypto extensions (Zknd/Zkne/Zknh - AES and SHA)
|
||||
m_flags.set(FLAG_AES, has_riscv_crypto());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user