Implement ptr_mask
intrinsic in cg gcc
This commit is contained in:
parent
9af24df67a
commit
a6183c2f44
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue