Skip to content

Commit 0711a7a

Browse files
committed
librustc_trans: add fp64 to mips features whitelist
On 32-bit MIPS, enabling MSA requires also enabling the 64-bit FPU.
1 parent fccaf25 commit 0711a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trans/llvm_util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const POWERPC_WHITELIST: &'static [&'static str] = &["altivec",
104104
"power8-vector", "power9-vector",
105105
"vsx"];
106106

107-
const MIPS_WHITELIST: &'static [&'static str] = &["msa"];
107+
const MIPS_WHITELIST: &'static [&'static str] = &["fp64", "msa"];
108108

109109
pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
110110
let arch = if sess.target.target.arch == "x86_64" {

0 commit comments

Comments
 (0)