3 ms·
Pretty logical extension. It still takes only 12 cycles if a+0 != 0. 24 cycles if also a+1 != 0 (=every 256th round), etc. The worst case time is when whole 3
by vardump 8y ago
Pretty logical extension.
It still takes only 12 cycles if a+0 != 0. 24 cycles if also a+1 != 0 (=every 256th round), etc.
The worst case time is when whole 32-bit counter is zero, 12 clk * 3 + 6 clk = 42 clk.
(Disclaimer: clock counts assume original snippet counts were correct).