Update docs

This commit is contained in:
Taiki Endo 2021-12-19 16:45:08 +09:00
parent 1bce44b030
commit c892839b10
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,9 @@ data.
Cache lines are assumed to be N bytes long, depending on the architecture:
* On x86-64 and aarch64, N = 128.
* On x86-64, aarch64, and powerpc64, N = 128.
* On arm, mips, mips64, and riscv64, N = 32.
* On s390x, N = 256.
* On all others, N = 64.
Note that N is just a reasonable guess and is not guaranteed to match the actual cache line

View File

@ -13,6 +13,7 @@
//! * On x86-64, aarch64, and powerpc64, N = 128.
//! * On arm, mips, mips64, and riscv64, N = 32.
//! * On s390x, N = 256.
//! * On all others, N = 64.
//!
//! Note that N is just a reasonable guess and is not guaranteed to match the actual cache line
//! length of the machine the program is running on.