about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-07 01:42:15 +0000
committerbors <bors@rust-lang.org>2019-06-07 01:42:15 +0000
commitc5295ac64a8f2c7aee9cdd13b8fe00b82aff8435 (patch)
tree5eca448a6718302f8bec87fbff6da04a83a87b00 /src/libstd
parent5eeb567a27eba18420a620ca7d0c007e29d8bc0c (diff)
parent0e5edc9f1611e5c13864e4f66a9e69ce7776ea91 (diff)
downloadrust-c5295ac64a8f2c7aee9cdd13b8fe00b82aff8435.tar.gz
rust-c5295ac64a8f2c7aee9cdd13b8fe00b82aff8435.zip
Auto merge of #61408 - varkor:fmin-fmax-llvm-intrinsics, r=alexcrichton
Use LLVM intrinsics for floating-point min/max

Resurrection of https://github.com/rust-lang/rust/pull/46926, now that the optimisation issues are fixed. I've confirmed locally that https://github.com/rust-lang/rust/pull/61384 solves the issues.

I'm not sure if we're allowed to move the `min`/`max` methods from libcore to libstd: I can't quite tell what the status is from https://github.com/rust-lang/rust/issues/50145. However, this is necessary to use the intrinsics.

Fixes https://github.com/rust-lang/rust/issues/18384.

r? @SimonSapin
cc @rkruppe @nikic
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml
index 816a191a2a9..9abad83fdb0 100644
--- a/src/libstd/Cargo.toml
+++ b/src/libstd/Cargo.toml
@@ -19,7 +19,7 @@ panic_unwind = { path = "../libpanic_unwind", optional = true }
 panic_abort = { path = "../libpanic_abort" }
 core = { path = "../libcore" }
 libc = { version = "0.2.51", default-features = false, features = ['rustc-dep-of-std'] }
-compiler_builtins = { version = "0.1.15" }
+compiler_builtins = { version = "0.1.16" }
 profiler_builtins = { path = "../libprofiler_builtins", optional = true }
 unwind = { path = "../libunwind" }
 hashbrown = { version = "0.4.0", features = ['rustc-dep-of-std'] }