News for hackers. Stuff that matters.
Re:XOR'ing a register with itself is the idiom for zeroing i... by dbdr on Wednesday April 22, 2026 @09:57AM (#47863724)
Even if they take the same number of ticks, shouldn't xor fundamentally needing less work also mean it can be performed while drawing less power/heating less, which is just as much an improvement in the long run?
Re:XOR'ing a register with itself is the idiom for zeroing i... by MBCook on Wednesday April 22, 2026 @11:40AM (#47865176)
That wasn’t much of a concern in the 70s and 80s.
Re:XOR'ing a register with itself is the idiom for zeroing i... by phire on Saturday April 25, 2026 @06:27PM (#47905202)
Also, you probably spend much more energy moving the bits around the chip and out to RAM than you do on the actual calculation.