Which one is faster -
val = val*10;
or
val = (val<<3) + (val<<2);
How many clock cycles does imul
take when compared to shift instruction?
Which one is faster -
val = val*10;
or
val = (val<<3) + (val<<2);
How many clock cycles does imul
take when compared to shift instruction?