3 ms·
Other than the obvious 8 vs 16 bit issue: I don't know any platform where bit shift left is faster than addition. Usually it's just as fast. But on some platfo
by vardump 10y ago
Other than the obvious 8 vs 16 bit issue: I don't know any platform where bit shift left is faster than addition.
Usually it's just as fast. But on some platforms, you need to first clear carry bit, because they only have rotate and rotate through carry instructions available.