Add support for Vector Reciprocal Estimate Float on PowerPC
This commit is contained in:
parent
1206ae2b12
commit
8fb0bcb56f
@ -247,6 +247,13 @@
|
|||||||
"llvm": "vlogefp",
|
"llvm": "vlogefp",
|
||||||
"ret": "f32",
|
"ret": "f32",
|
||||||
"args": ["0"]
|
"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,
|
output: &::F32x4,
|
||||||
definition: Named("llvm.ppc.altivec.vlogefp")
|
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,
|
_ => return None,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user