Lokathor / wide

A crate to help you go wide. By which I mean use SIMD stuff.
https://docs.rs/wide
zlib License
251 stars 22 forks source link

Nonoptimal `CmpLt` #156

Open Melirius opened 1 month ago

Melirius commented 1 month ago

https://github.com/Lokathor/wide/blob/729877b9a5458efb066c2731661ef0723971fba0/src/i32x8_.rs#L275

Much faster will be just reverse CmpGt

        Self { avx2: cmp_gt_mask_i32_m256i(rhs.avx2, self.avx2) }
Lokathor commented 1 month ago

That does look better.

Well do the PR and I can probably get it published pretty quick.