Fixes for 32-bit ARM

This commit is contained in:
SChernykh 2022-05-20 20:27:16 +02:00
parent 059d5d8421
commit 97683e5719
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ private:
} }
alignas(16) uint8_t m_blobs[2][Job::kMaxBlobSize * N]{}; alignas(8) uint8_t m_blobs[2][Job::kMaxBlobSize * N]{};
Job m_jobs[2]; Job m_jobs[2];
uint32_t m_rounds[2] = { 0, 0 }; uint32_t m_rounds[2] = { 0, 0 };
uint64_t m_nonce_mask[2] = { 0, 0 }; uint64_t m_nonce_mask[2] = { 0, 0 };

View file

@ -83,7 +83,7 @@ private:
void allocateCnCtx(); void allocateCnCtx();
void consumeJob(); void consumeJob();
alignas(16) uint8_t m_hash[N * 32]{ 0 }; alignas(8) uint8_t m_hash[N * 32]{ 0 };
const Algorithm m_algorithm; const Algorithm m_algorithm;
const Assembly m_assembly; const Assembly m_assembly;
const bool m_hwAES; const bool m_hwAES;