Please update addaddmul_1msb0.asm to support ABI in mingw64

Torbjörn Granlund tg at gmplib.org
Thu Oct 7 15:49:30 UTC 2021


Torbjörn Granlund <tg at gmplib.org> writes:

  Problem: the adc will write a useless value to the O flag.  That is then
  read by the first adox, yielding incorrect results.  Clearing O without
  creating any (too bad false) dependencies could perhaps be done with an
  additional dummy adox zero, zero.

On 2nd thought, the bookkeeping inc will clear the O flag and leave the C
flag alone.  So, except for a typo in addressing your code loooks
correct.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list