Implement ptr_mask intrinsic in cg gcc

This commit is contained in:
Maybe Waffle 2022-05-11 22:01:53 +04:00
parent 3a8ff6140b
commit 34d33f2299

View File

@ -309,6 +309,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,