[PATCH] Inline assembly division needs __volatile__

Torbjörn Granlund tg at gmplib.org
Mon Nov 6 11:24:44 UTC 2017


Ximin Luo <infinity0 at pwned.gg> writes:

  Any chance my patch could be tested and merged?

I tried applying it, but it fails for the current head.  Manual merging
is required.  (It applies flawlessly to GMP 6.1, though.)

If you could modify your patch to apply to the GMP head, then that would
help.  The repo is here: https://gmplib.org/repo/gmp/

  I did not ask other projects' opinions on this yet, since they seemed
  to have copied the code from GMP. Could you confirm that GMP is the
  original source?

I originally wrote it for use in GCC, glibc, and GMP.  I only actively
maintain the GMP version.

(The versions has diverged, unfortunately.  The GMP version now contains
some GMPisms which might need cleaning up if we want to make the
versions converge.)

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


More information about the gmp-bugs mailing list