26 ms·
Rotation costs exactly the same to implement as shifting, and shares the same hardware, so has about zero marginal cost. "Academic."
by ncmncm 7y ago
Rotation costs exactly the same to implement as shifting, and shares the same hardware, so has about zero marginal cost.
"Academic."
- microcolonel 7y agoAn "academic" design is better than the armchair design of somebody who doesn't know how barrel shifters are implemented. Sure, you could microcode it, but are the instructions really that big?
- deleted 7y ago[deleted]
- sifar 7y agoThe parent is right. The HW is not much different. You don't need to microcode them.
- microcolonel 7y agoIf you don't have a barrel shifter in your design, but your design is microcoded, you may choose to implement a rotate with a few μops, much the same way that you would write it in software.