rust/crates/core_simd
Jubilee 4bbef261b6
Merge portable-simd#210 - ./wrap-shifts
Refactor ops.rs with wrapping shifts

This approaches reducing macro nesting in a slightly different way. Instead of just flattening details, make one macro apply another. This allows specifying all details up-front in the first macro invocation, making it easier to audit and refactor in the future.

This refactor also has some functional changes. Only one is a true behavior change, however:
- The visible one is that SIMD shifts are now wrapping, not panicking on overflow
- `core::simd` now has a lot more instances of `#[must_use]`, which merely lints
- div/rem now perform a SIMD check but remain as before, which should improve performance but be invisible
2021-12-30 01:22:01 -08:00
..
examples Drop splats for Simd<T, _> 2021-12-01 15:40:53 -08:00
src Merge portable-simd#210 - ./wrap-shifts 2021-12-30 01:22:01 -08:00
tests impl Op<&'_ RHS> for &'_ LHS 2021-12-01 15:45:01 -08:00
Cargo.toml Renovate for Edition 2021 2021-09-29 14:11:40 -07:00
LICENSE-APACHE Add licenses and update Cargo.toml 2020-10-01 23:42:10 -04:00
LICENSE-MIT Add licenses and update Cargo.toml 2020-10-01 23:42:10 -04:00
webdriver.json Add CI for wasm targets using wasm-bindgen (#20) 2020-10-03 16:36:51 +10:00