4 ms·
Still doesn't make sense. Yes, things like Brent-Kung adders are O(2^N) in the bit length of the input, but the adders are pipelined. You only avoid the trans
by ajross 17y ago
Still doesn't make sense. Yes, things like Brent-Kung adders are O(2^N) in the bit length of the input, but the adders are pipelined. You only avoid the transition current in the stateless logic if all the addition operations are of the same values every clock cycle. But obviously you can't do that if you want to compute something. I still don't buy it. On anything bigger than a 6502, there is no way this would be measurable. None whatsoever.
- sybreon 17y agoMeasuring the relative power draw due to flipping logic can definitely be done with present day simulation tools. The question is whether there is any significant advantage in saving X% of power in the processor core. In a complex system, the processor rarely sucks up most of the power. Someone should actually do this as a research and find out if there are any significant savings. I am guessing that it will all be architecturally specific. An ARM will have a different power profile to a MIPS running the same C code. Personally, I would like to see the option of a -Op switch to GCC that selects power-optimised code paths.