Merge pull request #3054 from SChernykh/dev

Fixes for 32-bit ARM
This commit is contained in:
xmrig 2022-05-21 09:57:17 +07:00 committed by GitHub
commit 1bbbff7d17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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];
uint32_t m_rounds[2] = { 0, 0 };
uint64_t m_nonce_mask[2] = { 0, 0 };

View file

@ -83,7 +83,7 @@ private:
void allocateCnCtx();
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 Assembly m_assembly;
const bool m_hwAES;