diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2022-04-04 10:19:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-04 10:19:20 -0700 |
| commit | 1ec010db2abd34bfc6c33b5df75fa80b238f3b58 (patch) | |
| tree | 478fec9329754ac57ef09b9c48037925bd0e32e8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | c2fbead43a3c61eb22d8ad31bda4d9e1b6ff6ab2 (diff) | |
| parent | 60486e08ed58698c7b6c2b5cd62a9fbd9080bc2f (diff) | |
| download | rust-1ec010db2abd34bfc6c33b5df75fa80b238f3b58.tar.gz rust-1ec010db2abd34bfc6c33b5df75fa80b238f3b58.zip | |
rust-lang/portable-simd#265: Move comparisons to traits
A simpler variant of rust-lang/portable-simd#206. * Comparisons are moved to `SimdPartialEq`, `SimdPartialOrd`, and `SimdOrd`. The function names are prefixed with `simd_` to disambiguate from the regular `PartialEq` etc functions. With the functions on traits instead of `Simd` directly, shadowing the function names doesn't work very well. * Floating point `Ord`-like functions are put into a `SimdFloat` trait. The intention is that eventually (some time after this PR) all floating point functions will be moved from `Simd` to `SimdFloat`, and the same goes for future `SimdInt`/`SimdUint` traits.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
