Search found 1 match
- 2020-09-01, 17:02:25
- 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?
Variable shifts can be implemented with a log-shifter. However, there is a richer circuit available than a barrel shifter for rotations and the like. A New Basis for Shifters in General-Purpose Processors for Existing and Advanced Bit Manipulations describes a way to build a recursive circuit from b...