Add support for Vector Reciprocal Estimate Float on PowerPC
This commit is contained in:
parent
1206ae2b12
commit
8fb0bcb56f
@ -247,6 +247,13 @@
|
||||
"llvm": "vlogefp",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
},
|
||||
{
|
||||
"intrinsic": "re",
|
||||
"width": [128],
|
||||
"llvm": "vrefp",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -417,6 +417,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vlogefp")
|
||||
},
|
||||
"_vec_re" => Intrinsic {
|
||||
inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vrefp")
|
||||
},
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user