add another mul case to reveal bug
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 22 Apr 2022 01:40:58 +0000 (18:40 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Fri, 22 Apr 2022 02:03:38 +0000 (19:03 -0700)
openpower/sv/biginteger/mulmnu.c

index 610206b670554fcf392ae7ab94c495506576b7fd..4c6bb861703f1e87709e6658a44a9625e2d6840c 100644 (file)
@@ -90,6 +90,7 @@ int main()
       2, 3, 400, 65535, 500, 100, 65534, 0x0D40,0x9A4F,0xFE70,0x01F5,0xFFFD,
       4, 4, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535,
                 1,     0,     0,     0, 65534, 65535, 65535, 65535,
+      2, 2, 0xFF00,0xFF00, 0xFF00,0xFF00, 0,0xfe01,0xfc02,0xfe02
         // clang-format on
     };
     int i, n, m, ncases;