[PATCH] Fix typo in z13 bdiv_dbm1c.

Torbjörn Granlund tg at gmplib.org
Tue Oct 10 09:14:03 CEST 2023

Stefan Liebler <stli at linux.ibm.com> writes:

  In my case, before calling mpn_divexact_by3c v6 was {0x1, 0x0} and thus
  mpn_bdiv_dbm1c returns 0x1, which is ANDed with 3 and then also returned
  by mpn_divexact_by3c. Therefore the test fails by chance.

OK.  We should clearly have tests/*call.asm and tests/*check.c for
s390_64 and s390_32.  (But the check file might want to re-randomise the
magic register values after checking them.)

Please encrypt, key id 0xC8601622

More information about the gmp-devel mailing list