Skip to content

Commit 6986d48

Browse files
committed
ternlogq_sparse_reapply_probe: the cfg gate itself now requires avx512vl + avx512dq
The previous commit rewrote the doc line but its edit script's anchor count failed on this file and only the tail probe's cfgs changed — the record claimed both. Both cfg sites now carry vl + dq; re-run confirms avx512f=true avx512vl=true on the v4 arm. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DCfrD5y19cvFc4AoyydXYv
1 parent 84be8d0 commit 6986d48

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

‎examples/ternlogq_sparse_reapply_probe.rs‎

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,12 @@
7878
//! --example ternlogq_sparse_reapply_probe
7979
//! ```
8080
81-
#[cfg(all(target_arch = "x86_64", target_feature = "avx512f"))]
81+
#[cfg(all(
82+
target_arch = "x86_64",
83+
target_feature = "avx512f",
84+
target_feature = "avx512vl",
85+
target_feature = "avx512dq"
86+
))]
8287
mod probe {
8388
use ndarray::simd::mask_ternlog;
8489
use ndarray::simd::ternlog::AND3;
@@ -311,12 +316,22 @@ mod probe {
311316
}
312317
}
313318

314-
#[cfg(all(target_arch = "x86_64", target_feature = "avx512f"))]
319+
#[cfg(all(
320+
target_arch = "x86_64",
321+
target_feature = "avx512f",
322+
target_feature = "avx512vl",
323+
target_feature = "avx512dq"
324+
))]
315325
fn main() {
316326
probe::main();
317327
}
318328

319-
#[cfg(not(all(target_arch = "x86_64", target_feature = "avx512f")))]
329+
#[cfg(not(all(
330+
target_arch = "x86_64",
331+
target_feature = "avx512f",
332+
target_feature = "avx512vl",
333+
target_feature = "avx512dq"
334+
)))]
320335
fn main() {
321336
println!("ternlogq_sparse_reapply_probe: AVX-512 only; nothing to measure on this realization.");
322337
}

0 commit comments

Comments
 (0)