diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2021-05-27 10:52:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-27 16:52:15 +0100 |
| commit | 4d6fa80bb3c5fa85618bc4db07cf3f5d33c21364 (patch) | |
| tree | bff4f30c90ed67f835a5198287e34a3da36f09b2 /library/stdarch/crates/std_detect/tests/cpu-detection.rs | |
| parent | b3f06eb658f46996921580964df94721ef82099e (diff) | |
| download | rust-4d6fa80bb3c5fa85618bc4db07cf3f5d33c21364.tar.gz rust-4d6fa80bb3c5fa85618bc4db07cf3f5d33c21364.zip | |
wasm: Add convenience aliases with unsigned names (#1174)
Naming right now for wasm simd intrinsics takes the signededness of the instruction into account, but some operations are the same regardless of signededness, such as `i32x4_add`. This commit adds aliases for all of these operations under unsigned names as well (such as `u32x4_add`) which are just a `pub use` to rename the item as two names. The goal of this is to assist in reading code (no need to switch back and forth between `i` and `u`) as well as writing code (no need to always remember which operations are the same for signed/unsigned but only available under the signed names).
Diffstat (limited to 'library/stdarch/crates/std_detect/tests/cpu-detection.rs')
0 files changed, 0 insertions, 0 deletions
