about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2021-04-14 15:07:36 -0700
committerJubilee Young <workingjubilee@gmail.com>2021-04-14 15:25:06 -0700
commit003b8eadd7a476c51956fe447894532d6e21937e (patch)
tree534e1c1251277093d01106f6990a33505b5fb312 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentd0695c9081b16077d0aed368bccaf437d77ff497 (diff)
downloadrust-003b8eadd7a476c51956fe447894532d6e21937e.tar.gz
rust-003b8eadd7a476c51956fe447894532d6e21937e.zip
Add more SIMD math.h intrinsics
LLVM supports many functions from math.h in its IR. Many of these have
single-instruction variants on various platforms. So, let's add them 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