Commit 2414e71
committed
feat: compile-time AVX-512 dispatch + target-cpu=x86-64-v4
- simd.rs: F64x8/F32x16 now use native __m512d/__m512 when
target_feature="avx512f" is enabled (compile-time, not runtime)
- .cargo/config.toml: rustflags target-cpu=x86-64-v4 ensures all
BF16 SIMD paths emit native AVX-512 instructions
- No scalar fallback, no hand-rolled constants, Rust 1.94 stable
https://claude.ai/code/session_01M3at4EuHVvQ8S95mSnKgtK1 parent 66289d8 commit 2414e71
2 files changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
44 | 37 | | |
45 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments