We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dd3690 commit e413814Copy full SHA for e413814
src/etc/platform-intrinsics/powerpc.json
@@ -255,6 +255,13 @@
255
"ret": "f32",
256
"args": ["0"]
257
},
258
+ {
259
+ "intrinsic": "trunc",
260
+ "width": [128],
261
+ "llvm": "vrfiz",
262
+ "ret": "f32",
263
+ "args": ["0"]
264
+ },
265
{
266
"intrinsic": "loge",
267
"width": [128],
src/librustc_platform_intrinsics/powerpc.rs
@@ -422,6 +422,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
422
output: &::F32x4,
423
definition: Named("llvm.ppc.altivec.vrfin")
424
425
+ "_vec_trunc" => Intrinsic {
426
+ inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
427
+ output: &::F32x4,
428
+ definition: Named("llvm.ppc.altivec.vrfiz")
429
430
"_vec_loge" => Intrinsic {
431
inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
432
0 commit comments