From: Jacob Lifshay Date: Fri, 22 Apr 2022 01:40:58 +0000 (-0700) Subject: add another mul case to reveal bug X-Git-Tag: opf_rfc_ls005_v1~2628 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c38e63cc0726435abdda4a519a8dc65b5475f12;p=libreriscv.git add another mul case to reveal bug --- diff --git a/openpower/sv/biginteger/mulmnu.c b/openpower/sv/biginteger/mulmnu.c index 610206b67..4c6bb8617 100644 --- a/openpower/sv/biginteger/mulmnu.c +++ b/openpower/sv/biginteger/mulmnu.c @@ -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;