Rather than using a loop to calculate the interrupt vector, use the ctlz instruction.
1 file changed