diff --git a/src/backend/common/WorkerJob.h b/src/backend/common/WorkerJob.h index 7057c357..b579a116 100644 --- a/src/backend/common/WorkerJob.h +++ b/src/backend/common/WorkerJob.h @@ -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 }; diff --git a/src/backend/cpu/CpuWorker.h b/src/backend/cpu/CpuWorker.h index 197beee2..5fc06fd3 100644 --- a/src/backend/cpu/CpuWorker.h +++ b/src/backend/cpu/CpuWorker.h @@ -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;