From: Amanieu d'Antras Date: Tue, 10 Apr 2018 21:34:15 +0000 (+0100) Subject: Fix "fp" feature for AArch64 X-Git-Tag: archive/raspbian/1.26.1+dfsg1-3+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5c1e8c53d78a93ec9feab50fa6049bb7a5b1567c;p=rustc.git Fix "fp" feature for AArch64 Gbp-Pq: Name u-fix-fp-target-warning.patch --- diff --git a/src/librustc_trans/llvm_util.rs b/src/librustc_trans/llvm_util.rs index 1c8f09ce7b..ad128516a3 100644 --- a/src/librustc_trans/llvm_util.rs +++ b/src/librustc_trans/llvm_util.rs @@ -134,6 +134,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str { ("x86", "pclmulqdq") => "pclmul", ("x86", "rdrand") => "rdrnd", ("x86", "bmi1") => "bmi", + ("aarch64", "fp") => "fp-armv8", ("aarch64", "fp16") => "fullfp16", (_, s) => s, }