[PATCH] x86-64: Use 32-bit zero idiom for shorter encoding

Carlos O'Donell carlos@redhat.com
Mon Feb 9 14:20:49 GMT 2026


On 2/7/26 10:41 AM, George Hu wrote:
> Replace the 64-bit zero idiom with the 32-bit form. In 64-bit mode,
> zeroing the lower 32 bits of a GPR implicitly clears the entire
> register. The 32-bit encoding is one byte shorter while preserving
> identical semantics.

Do you intend to assign copyright to the FSF or use DCO?

Please see: https://sourceware.org/glibc/wiki/Contribution%20checklist

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list