| ... | ... | @@ -433,20 +433,29 @@ pub fn cacheLineForCpu(cpu: std.Target.Cpu) u16 { |
| 433 | 433 | // - https://github.com/golang/go/blob/3dd58676054223962cd915bb0934d1f9f489d4d2/src/internal/cpu/cpu_mipsle.go#L7 |
| 434 | 434 | // - https://github.com/golang/go/blob/3dd58676054223962cd915bb0934d1f9f489d4d2/src/internal/cpu/cpu_mips64x.go#L9 |
| 435 | 435 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/sparc/include/asm/cache.h#L14 |
| 436 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/microblaze/include/asm/cache.h#L15 |
| 437 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/sh/include/cpu-sh4/cpu/cache.h#L10 |
| 436 | 438 | .arm, |
| 437 | 439 | .armeb, |
| 438 | 440 | .thumb, |
| 439 | 441 | .thumbeb, |
| 442 | .microblaze, |
| 443 | .microblazeel, |
| 440 | 444 | .mips, |
| 441 | 445 | .mipsel, |
| 442 | 446 | .mips64, |
| 443 | 447 | .mips64el, |
| 448 | .sh, |
| 449 | .sheb, |
| 444 | 450 | .sparc, |
| 445 | 451 | .sparc64, |
| 446 | 452 | => 32, |
| 447 | 453 | |
| 448 | 454 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/m68k/include/asm/cache.h#L10 |
| 449 | 455 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/openrisc/include/asm/cache.h#L24 |
| 456 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/parisc/include/asm/cache.h#L16 |
| 457 | .hppa, |
| 458 | .hppa64, |
| 450 | 459 | .m68k, |
| 451 | 460 | .or1k, |
| 452 | 461 | => 16, |
| ... | ... | @@ -469,6 +478,7 @@ pub fn cacheLineForCpu(cpu: std.Target.Cpu) u16 { |
| 469 | 478 | // - https://github.com/golang/go/blob/19e923182e590ae6568c2c714f20f32512aeb3e3/src/internal/cpu/cpu_riscv64.go#L7 |
| 470 | 479 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/xtensa/variants/csp/include/variant/core.h#L209 |
| 471 | 480 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/csky/Kconfig#L183 |
| 481 | // - https://github.com/torvalds/linux/blob/3a7e02c040b130b5545e4b115aada7bacd80a2b6/arch/alpha/include/asm/cache.h#L11 |
| 472 | 482 | // - https://www.xmos.com/download/The-XMOS-XS3-Architecture.pdf |
| 473 | 483 | else => 64, |
| 474 | 484 | }; |