Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
argon2: align blocks to 128-byte boundaries for modern x86-64 and aar…
…ch64 Based on notes in crossbeam-utils::CachePadded: https://github.com/crossbeam-rs/crossbeam/blob/17fb8417a83a/crossbeam-utils/src/cache_padded.rs#L63-L79 In summary: - while x86-64 cache lines are still 64 bytes, modern prefetchers pull them in pairs, so for the purpose of preventing false sharing, we need 128-byte alignment. - on aarch64 big.LITTLE, the "big" cores use 128-byte cache lines.
- Loading branch information