mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.atomic: define cache line size for or1k
This commit is contained in:
parent
49cd0e6f7c
commit
08014589e2
1 changed files with 2 additions and 0 deletions
|
|
@ -445,7 +445,9 @@ pub fn cacheLineForCpu(cpu: std.Target.Cpu) u16 {
|
|||
=> 32,
|
||||
|
||||
// - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/m68k/include/asm/cache.h#L10
|
||||
// - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/openrisc/include/asm/cache.h#L24
|
||||
.m68k,
|
||||
.or1k,
|
||||
=> 16,
|
||||
|
||||
// - https://www.ti.com/lit/pdf/slaa498
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue