From: Luke Kenneth Casson Leighton Date: Thu, 8 Nov 2018 12:37:12 +0000 (+0000) Subject: add extra sv mulhu unit test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b280fe8e95cf7af60503621844ce376c7e11070d;p=riscv-tests.git add extra sv mulhu unit test --- diff --git a/isa/rv32um/sv_mulhu_elwidth.S b/isa/rv32um/sv_mulhu_elwidth.S index 5d9f0a6..40395d2 100644 --- a/isa/rv32um/sv_mulhu_elwidth.S +++ b/isa/rv32um/sv_mulhu_elwidth.S @@ -50,11 +50,13 @@ RVTEST_CODE_BEGIN # Start of test code. # TODO: add "sraw" argument, add testdata argument SV_ELWIDTH_TEST( 3, 0, 0, 0, 1, 1, 1, 0x7fffc000, 0x0001fefe, 0xfe010000 ) -/* SV_ELWIDTH_TEST( 3, 0, 0, 3, 1, 1, 1, - 0x0000008200000021, 0xa5a5a5a500000000, 0xa5a5a5a5a5a5a5a5 ) - SV_ELWIDTH_TEST( 3, 1, 1, 0, 1, 1, 1, - 0x9, 0x11, 0x19 ) + 0x7fffc000, 0x0001fefe, 0xfe010000 ) + SV_ELWIDTH_TEST( 3, 2, 2, 0, 1, 1, 1, + 0x00000000, 0x00007fff, 0x0000a9a8 ) +/* + SV_ELWIDTH_TEST( 3, 2, 2, 2, 1, 1, 1, + 0x7fff0000, 0xa5a5a9a8, 0xa5a5a5a5 ) SV_ELWIDTH_TEST( 3, 1, 1, 3, 1, 1, 1, 0x0000001100000009, 0xa5a5a5a500000019, 0xa5a5a5a5a5a5a5a5 ) SV_ELWIDTH_TEST( 3, 1, 1, 2, 1, 1, 1,