ptable_mask
PD_MARKBITS(dp) = ptable_mask(type);
PD_MARKBITS(new) = ptable_mask(type) - 1;
if (PD_MARKBITS(dp) == ptable_mask(type)) {