Function miri::shims::x86::test_high_bits_masked

source ·
fn test_high_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 the highest bit of each element of op & mask is zero. The second is true when the highest bit of each element of !op & mask is zero.