Add support for Vector Ceiling on PowerPC
This commit is contained in:
parent
73dd6aecc4
commit
3740d32446
@ -241,6 +241,13 @@
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
},
|
||||
{
|
||||
"intrinsic": "ceil",
|
||||
"width": [128],
|
||||
"llvm": "vrfip",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
},
|
||||
{
|
||||
"intrinsic": "loge",
|
||||
"width": [128],
|
||||
|
@ -412,6 +412,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vrfim")
|
||||
},
|
||||
"_vec_ceil" => Intrinsic {
|
||||
inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vrfip")
|
||||
},
|
||||
"_vec_loge" => Intrinsic {
|
||||
inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
|
||||
output: &::F32x4,
|
||||
|
Loading…
Reference in New Issue
Block a user