about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-04-23 08:43:13 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-04-23 08:43:13 +0200
commit2d401fb4dc89eaef5b8f31330636094f9c26b4c4 (patch)
tree2f504cc599e6ec6fa5a82539a4ab8a3a66b7ca0c
parent8f06188991e8e7c764f0775a35432d39e2596c9a (diff)
downloadrust-2d401fb4dc89eaef5b8f31330636094f9c26b4c4.tar.gz
rust-2d401fb4dc89eaef5b8f31330636094f9c26b4c4.zip
Add f16c target_feature
-rw-r--r--src/librustc_codegen_llvm/llvm_util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs
index fe21b19b52a..f1b8d532eeb 100644
--- a/src/librustc_codegen_llvm/llvm_util.rs
+++ b/src/librustc_codegen_llvm/llvm_util.rs
@@ -145,6 +145,7 @@ const X86_WHITELIST: &[(&str, Option<&str>)] = &[
     ("bmi1", None),
     ("bmi2", None),
     ("cmpxchg16b", Some("cmpxchg16b_target_feature")),
+    ("f16c", Some("f16c_target_feature")),
     ("fma", None),
     ("fxsr", None),
     ("lzcnt", None),