rust-lang / portable-simd

The testing ground for the future of portable SIMD in Rust
Apache License 2.0
903 stars 81 forks source link

Add num, ptr, and cmp modules #365

Closed calebzulawski closed 1 year ago

calebzulawski commented 1 year ago

I think the std::simd module is a little crowded. This sentiment is echoed in https://github.com/rust-lang/portable-simd/issues/364#issuecomment-1712898263.

These modules mirror std::ptr etc, and should make it a little easier to find what you're looking for. I skipped moving swizzles and lane counts for now, since those will likely be seeing other changes as well. I recommend building the docs to see the difference.