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:
parent
fccaf252df
commit
0711a7a72f
1 changed files with 1 additions and 1 deletions
|
|
@ -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" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue