Skip to content

Commit e14fd37

Browse files
committed
upd
1 parent c0c7289 commit e14fd37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

portable/src/implementation/portable/algorithm_new.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const HAS_FAST_REDUCE_MAX: bool = true;
1818
)))]
1919
const HAS_FAST_REDUCE_MAX: bool = false;
2020

21-
const HAS_FAST_MASKED_LOAD: bool = false;
21+
const HAS_FAST_MASKED_LOAD: bool = false; // FIXME avx512, avx2 (?)
2222

2323
#[repr(C, align(32))]
2424
#[allow(dead_code)] // only used if a 128-bit SIMD implementation is used
@@ -61,6 +61,7 @@ trait SimdInputTrait {
6161
impl SimdInputTrait for SimdInput<16, 4> {
6262
#[inline]
6363
fn new(s: &[u8]) -> Self {
64+
assert!(s.len() == 64);
6465
Self {
6566
vals: [
6667
u8x16::from_slice(&s[..16]),

0 commit comments

Comments
 (0)