Quote:
Originally Posted by Gorf
shorter but not faster ;-)
(my example needs always 12 cycles, yours 6/10 + jmp)
|
You're both wrong.
They have more or less same speed on 020/030.
Linear example is always 12.
Branch example is 10/14 depending on the case (2+8 if taken, 2+6+6 if not taken).
Of course this can be just 2 cycles on a cpu doing instruction fusing.