Commit 530ffaa
committed
docs(simd): correct stale '5 of 30 types' claim — PR #146 shipped full parity
The note in src/simd.rs (and the matching paragraph in
scripts/miri-tests.sh) was written against an early draft of
simd_nightly that defined 5 types: F32x16, F64x8, U8x64, U32x16,
F32Mask16. PR #146 expanded the polyfill to full parity:
simd_nightly: 24 types
simd_avx512 + simd_avx2: 24 types
(F32x8/16, F64x4/8, BF16x8/16, F16x16, I8x32/64, I16x16/32, I32x16,
I64x8, U8x32/64, U16x32, U32x8/16, U64x4/8, plus the F32/F64 mask
types — `grep '^pub struct ' src/simd_nightly/*.rs | grep -v
_original_draft | sort -u | wc -l` confirms.)
`src/simd_nightly/_original_draft.rs` survives on disk as the early
5-type sketch but is NOT in `simd_nightly/mod.rs` — dead-file, not
compiled. Separate janitorial concern (file deletion); the comment
correction lands here.
The architectural follow-up for Miri-clean `hpc::*` coverage is
NOT polyfill expansion — that work is done. It's a cfg(miri) switch
in `src/simd.rs` that re-exports from `simd_nightly` instead of
`simd_avx*` when Miri is the target. Comment rewritten to say so.1 parent 6590b9e commit 530ffaa
2 files changed
Lines changed: 21 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
67 | 59 | | |
68 | 60 | | |
69 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
214 | 221 | | |
215 | 222 | | |
216 | 223 | | |
| |||
0 commit comments