News for hackers. Stuff that matters.
Re:XOR'ing a register with itself is the idiom for zeroing i... by bonzini on Wednesday April 22, 2026 @09:03AM (#47862977)
A move on SPARC is technically an OR of the source with the zero register. "move %l0, %l1" is assembled as "or %g0, %l0, %l1". So if you want to zero a register you OR %g0 with itself.

There are no comments on this comment yet.