mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
Add support for Vector Log2 Estimate Float on PowerPC
This commit is contained in:
parent
f52f1ab7e8
commit
1206ae2b12
@ -240,6 +240,13 @@
|
||||
"llvm": "vrfim",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
},
|
||||
{
|
||||
"intrinsic": "loge",
|
||||
"width": [128],
|
||||
"llvm": "vlogefp",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -412,6 +412,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vrfim")
|
||||
},
|
||||
"_vec_loge" => Intrinsic {
|
||||
inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vlogefp")
|
||||
},
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user