mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 10:01:06 +00:00
Disable HW AES for RandomX on ARM.
This commit is contained in:
parent
5cb3ef9068
commit
feda02bf50
1 changed files with 2 additions and 0 deletions
|
@ -33,9 +33,11 @@
|
||||||
|
|
||||||
xmrig::RxVm::RxVm(RxDataset *dataset, uint8_t *scratchpad, bool softAes)
|
xmrig::RxVm::RxVm(RxDataset *dataset, uint8_t *scratchpad, bool softAes)
|
||||||
{
|
{
|
||||||
|
# ifndef XMRIG_ARM
|
||||||
if (!softAes) {
|
if (!softAes) {
|
||||||
m_flags |= RANDOMX_FLAG_HARD_AES;
|
m_flags |= RANDOMX_FLAG_HARD_AES;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
|
||||||
if (dataset->get()) {
|
if (dataset->get()) {
|
||||||
m_flags |= RANDOMX_FLAG_FULL_MEM;
|
m_flags |= RANDOMX_FLAG_FULL_MEM;
|
||||||
|
|
Loading…
Reference in a new issue