diff options
| author | bors <bors@rust-lang.org> | 2021-04-15 21:00:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-15 21:00:11 +0000 |
| commit | 7af1f55ae359e731c2c303f5d98e42a1a8163af0 (patch) | |
| tree | 1f17eb3cf15e1790a83498344208544a2758aee1 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 60158f4a7cf3e3063df6127d3f0d206921d285b0 (diff) | |
| parent | 003b8eadd7a476c51956fe447894532d6e21937e (diff) | |
| download | rust-7af1f55ae359e731c2c303f5d98e42a1a8163af0.tar.gz rust-7af1f55ae359e731c2c303f5d98e42a1a8163af0.zip | |
Auto merge of #84205 - workingjubilee:more-simd-intrin, r=bjorn3
Add simd_{round,trunc} intrinsics
LLVM supports many functions from math.h in its IR. Many of these
have SIMD instructions on various platforms. So, let's add round and
trunc so std::arch can use them.
Yes, exact comparison is intentional: rounding must always return a
valid integer-equal value, except for inf/NAN.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
