Messages in this thread | | | Date | Tue, 24 Apr 2012 17:09:41 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [RFC][PATCH 2/3] math128: Introduce {mult,add,cmp}_u128 |
| |
On 04/24/2012 02:54 PM, Peter Zijlstra wrote: > - andl $4294967295, %edx > shrq $32, %rcx > - andl $4294967295, %esi > + mov %esi, %esi
If you can *ever* get gcc to generate those andl instructions on x86, then please file a gcc bug report: the constant is 0xffffffff and those are plain zero-extension instructions which is much better done with mov.
-hpa
| |