I think you missed why the 0x7F is unnecessary. If you start with 8 bits and divide by 2 then the top bit must become zero. gcc does this itself and suppresses the 0x7F. So this idea will help other compilers start with 8-bits to achieve the same. The same trick can be used in hand-crafted assembler implementations. _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel
- binvert_limb speedup on 64 bit machines with UHWtype John Gatrell
- Re: binvert_limb speedup on 64 bit machines with U... Torbjörn Granlund
- Re: binvert_limb speedup on 64 bit machines wi... Marco Bodrato
- Re: binvert_limb speedup on 64 bit machine... Marco Bodrato
- Re: binvert_limb speedup on 64 bit machines with U... Marco Bodrato
- Re: binvert_limb speedup on 64 bit machines wi... Marco Bodrato
- binvert_limb speedup on 64 bit machines with UHWty... John Gatrell
- Re: binvert_limb speedup on 64 bit machines wi... Torbjörn Granlund
- binvert_limb speedup on 64 bit machines with UHWty... John Gatrell