librustc_trans: add fp64 to mips features whitelist

On 32-bit MIPS, enabling MSA requires also enabling the 64-bit FPU.
This commit is contained in:
James Cowgill 2018-03-08 12:04:09 +00:00
parent fccaf252df
commit 0711a7a72f

View file

@ -104,7 +104,7 @@ const POWERPC_WHITELIST: &'static [&'static str] = &["altivec",
"power8-vector", "power9-vector",
"vsx"];
const MIPS_WHITELIST: &'static [&'static str] = &["msa"];
const MIPS_WHITELIST: &'static [&'static str] = &["fp64", "msa"];
pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
let arch = if sess.target.target.arch == "x86_64" {