Alternative div_qr_1

Torbjorn Granlund tg at gmplib.org
Mon May 10 18:35:40 CEST 2010


  
  Not sure how to best do that conditional subtraction in assembler, but
  it could be something like
  
One trick on x86 is to precompute the negation of <c1,c0>, since then it will
be possible to do the conditional "subtract" using two LEA and two CMOV.

-- 
Torbjörn


More information about the gmp-devel mailing list