From: Luke Kenneth Casson Leighton Date: Sat, 10 Nov 2018 12:18:39 +0000 (+0000) Subject: add extra sv mulhu elwidth tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=769a6a6902136def7c923cc2c16b22efd489f787;p=riscv-tests.git add extra sv mulhu elwidth tests --- diff --git a/isa/rv64um/sv_mulhu_elwidth.S b/isa/rv64um/sv_mulhu_elwidth.S index 0fc599a..0ef4e94 100644 --- a/isa/rv64um/sv_mulhu_elwidth.S +++ b/isa/rv64um/sv_mulhu_elwidth.S @@ -50,11 +50,14 @@ RVTEST_CODE_BEGIN # Start of test code. # TODO: add "sraw" argument, add testdata argument SV_ELWIDTH_TEST( 3, 0, 0, 0, 1, 1, 1, 0xffffffff7fff8000, 0x000000000001fefe, 0xfffffffffe000000 ) -/* SV_ELWIDTH_TEST( 3, 0, 0, 3, 1, 1, 1, - 0x7fffc000, 0x0001fefe, 0xfe010000 ) - SV_ELWIDTH_TEST( 3, 2, 2, 0, 1, 1, 1, - 0x00000000, 0x00007fff, 0x0000a9a8 ) + 0x1fefe7fff8000, 0xa5a5a5a5fe000000, 0xa5a5a5a5a5a5a5a5 ) + + SV_ELWIDTH_TEST( 3, 2, 0, 0, 1, 1, 1, + 0x7fff, 0xaaaa, 0xfffe ) + SV_ELWIDTH_TEST( 3, 0, 2, 0, 1, 1, 1, + 0x0, 0x0, 0xfffe ) +/* SV_ELWIDTH_TEST( 3, 2, 2, 2, 1, 1, 1, 0x7fff0000, 0xa5a5a9a8, 0xa5a5a5a5 ) SV_ELWIDTH_TEST( 3, 2, 2, 1, 1, 1, 1,