Search found 1 match

by carewolf
2020-12-11, 8:38:51
Forum: Agner's CPU blog
Topic: Why do some instruction sets include bit shifts but not bit rotations?
Replies: 4
Views: 43323

Re: Why do some instruction sets include bit shifts but not bit rotations?

You can make a rotate from two shifts and an or. And there used to be no native rotate in C/C++ so it matched the language capability closely