[PATCH] Add optimized addmul_1 and submul_1 for IBM z13

Torbjörn Granlund tg at gmplib.org
Mon Mar 1 15:37:02 UTC 2021


I played a bit with an addmul_1 of my own, with some ideas from your
code.  I don't plan to do more work on this.  Does this perform well on
hardware?

Note that it only works for n = 0 (mod 4).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: z14-addmul_1-ur.asm
Type: application/octet-stream
Size: 3064 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-devel/attachments/20210301/142b273e/attachment.obj>
-------------- next part --------------


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


More information about the gmp-devel mailing list