gcd_22

Torbjörn Granlund tg at gmplib.org
Mon Aug 19 22:28:39 UTC 2019


tg at gmplib.org (Torbjörn Granlund) writes:

  Your gcd_22.c triggered a lingering bug in longlong.h:

  ARM target which default to Thumb code cannot to the rsc instruction
  (reverse subtract with carry).  We will need to write separate
  sub_ddmmss for Thumb.

  The problem statement is sub_ddmmss (vgtu, d0, 0, u0, 0, v0) which just
  is there to generate a mask.

I checked in a fix.  Not too pretty, since it did lots of code
duplication.

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


More information about the gmp-devel mailing list