Skip to main content
1 of 2
Dave Tweed
  • 178.3k
  • 17
  • 242
  • 418

If the shift amount is greater than the width of the mantissa (24 bits), then the mantissa of the smaller number becomes completely irrelevant and can be simply zero'd out. That what the AND-OR logic is determining.

This allows the barrel shifter to be smaller, since it only needs to handle 24 cases rather than the full 256 cases.

Dave Tweed
  • 178.3k
  • 17
  • 242
  • 418