From 2d401fb4dc89eaef5b8f31330636094f9c26b4c4 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Tue, 23 Apr 2019 08:43:13 +0200 Subject: [PATCH] Add f16c target_feature --- src/librustc_codegen_llvm/llvm_util.rs | 1 + 1 file changed, 1 insertion(+) 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),