For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant.