We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c7289 commit e14fd37Copy full SHA for e14fd37
portable/src/implementation/portable/algorithm_new.rs
@@ -18,7 +18,7 @@ const HAS_FAST_REDUCE_MAX: bool = true;
18
)))]
19
const HAS_FAST_REDUCE_MAX: bool = false;
20
21
-const HAS_FAST_MASKED_LOAD: bool = false;
+const HAS_FAST_MASKED_LOAD: bool = false; // FIXME avx512, avx2 (?)
22
23
#[repr(C, align(32))]
24
#[allow(dead_code)] // only used if a 128-bit SIMD implementation is used
@@ -61,6 +61,7 @@ trait SimdInputTrait {
61
impl SimdInputTrait for SimdInput<16, 4> {
62
#[inline]
63
fn new(s: &[u8]) -> Self {
64
+ assert!(s.len() == 64);
65
Self {
66
vals: [
67
u8x16::from_slice(&s[..16]),
0 commit comments