X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a..a90d420cbe87490c844ae422c966e746d3134b07:/math/t/mpx diff --git a/math/t/mpx b/math/t/mpx index bf104e91..39a58cc4 100644 --- a/math/t/mpx +++ b/math/t/mpx @@ -23,8 +23,25 @@ load-store { 2cb { "" ""; 00 00; + 0000 00; + 000000 00; + 00000000 00; + 0000000000 00; + 00 0000; + 00 000000; + 00 00000000; + 00 0000000000; 000000 00000000000000000000; - 01 ff; + 0001 ff; + 000001 ff; + 00000001 ff; + 0000000001 ff; + 01 ffffff; + 01 ffffffff; + 01 ffffffffff; + 01 ffff; + 00007f01 80ff; + 40 ffffffffffffffffffffffc0; 0123456789abcdef fedcba9876543211; 0123456789abcdef fffffffedcba9876543211; 0100000000 ffffff00000000; @@ -35,8 +52,25 @@ load-store { 2cl { "" ""; 00 00; + 0000 00; + 000000 00; + 00000000 00; + 0000000000 00; + 00 0000; + 00 000000; + 00 00000000; + 00 0000000000; 000000 00000000000000000000; + 0100 ff; + 010000 ff; + 01000000 ff; + 0100000000 ff; + 01 ffffff; + 01 ffffffff; + 01 ffffffffff; 01 ff; + 017f0000 ff80; + 40 c0ffffffffffffffffffffff; efcdab8967452301 1132547698badcfe; efcdab8967452301 1132547698badcfeffffffff; 0000000001 00000000ffffffff; @@ -603,6 +637,12 @@ umul { 6c03f5958677efd383509141bf257375 03bbd76f19ba19e3f255c24063f6384d4ac913d9e582392589a525195bcc547c; + # --- Slightly larger test for mul4 --- + + b9d339d524b35abfa21cb0c129ca1800c2286025af766b8b3296495bf1013104 + c8c7133a4bc7978ef439dc5607715d7f0f23d3d6d6bc704535bef33bb1dff7f0 + 91bd86557783557ba3fa69cfff6453f930b4db501c21317c8bd10c76c321ee2736b6a565c36bd42e2a6ea27495d182f0c4730b604a1e5c01c82a56938de4cfc0; + # --- Karatsuba regression --- # # This bug was caused by kmul (a) choosing the split point too low on