Function miri::shims::x86::test_bits_masked
source · fn test_bits_masked<'tcx>(
this: &MiriInterpCx<'_, 'tcx>,
op: &OpTy<'tcx, Provenance>,
mask: &OpTy<'tcx, Provenance>
) -> InterpResult<'tcx, (bool, bool)>
Expand description
Calculates two booleans.
The first is true when all the bits of op & mask
are zero.
The second is true when (op & mask) == mask