[PATCH] Add optimized addmul_1 and submul_1 for IBM z13

Torbjörn Granlund tg at gmplib.org
Fri Feb 26 14:20:26 UTC 2021


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

  Ehum.  That failure was apparently due to a qemu bug.  Sorry.

I tested qemu 4.2.0 and qemu 5.2.0.  The latter does not work at all,
not even for "ls" or "cat".  The former runs submul_1 for a while, but
ultimately reports an error.  The error is not reproducible.

This is on a server system with ECC.  It is either some problems in your
submul_1, e.g. incorrect handling of callee-saves registers, or an
uninitialised register or flag, or a bug in qemu.

I cannot provoke any similar problems with your addmul_1.

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


More information about the gmp-devel mailing list