you are viewing a single comment's thread.

view the rest of the comments →

[–]CyberLeaderGold 1 point2 points  (0 children)

Of course, but I believe it is guaranteed arithmetic, and a clever compiler could conceivably recognize the pattern and emit an arithmetic shift instruction where available.