diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2021-12-30 01:22:01 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-30 01:22:01 -0800 |
| commit | 4bbef261b6dd8529dadfd41c04b72137657bc7e7 (patch) | |
| tree | d8c9f81a7b723a019008b3348fe611bc3ec9ba63 /src/test/codegen | |
| parent | 533f0fc81ab9ba097779fcd27c8f9ea12261fef5 (diff) | |
| parent | a42420583bdb6ea788c2f7ec0a0360d99934f2a7 (diff) | |
| download | rust-4bbef261b6dd8529dadfd41c04b72137657bc7e7.tar.gz rust-4bbef261b6dd8529dadfd41c04b72137657bc7e7.zip | |
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
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions
