forked from cores/microwatt
divider: Reduce delay in detecting 32-bit overflow
Timing analysis showed that even with the output register, timing was still a bit tight in the output stage, where the carry has to propagate all the way through the 64-bit negater, and we were then testing the top 33 bits to determine if a 32-bit operation had overflowed. Instead of detecting overflow at the end, we watch for any 1 bits getting shifted into the top 32 bits of the quotient register as we are doing the division. That is relatively easy to do and simplifies the output stage. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>jtag-port
parent
c7025f9f28
commit
82c19d4e7a
Loading…
Reference in New Issue