Implement ptr_mask intrinsic in cg gcc

This commit is contained in:
Maybe Waffle 2022-05-11 22:01:53 +04:00 committed by Antoni Boucher
parent b3f2942156
commit a7f6e7ebaf

View File

@ -320,6 +320,8 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
return;
}
sym::ptr_mask => self.and(args[0].immediate(), args[1].immediate()),
_ if name_str.starts_with("simd_") => {
match generic_simd_intrinsic(self, name, callee_ty, args, ret_ty, llret_ty, span) {
Ok(llval) => llval,