From: Luke Kenneth Casson Leighton Date: Mon, 29 Oct 2018 04:51:30 +0000 (+0000) Subject: add extra tests, change data (unsigned in places) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f10a95cf9410ad1a277857ba87daeec34a3db6e;p=riscv-tests.git add extra tests, change data (unsigned in places) --- diff --git a/isa/rv64ui/sv_ld_elwidth.S b/isa/rv64ui/sv_ld_elwidth.S index 99ed4e3..dceb13f 100644 --- a/isa/rv64ui/sv_ld_elwidth.S +++ b/isa/rv64ui/sv_ld_elwidth.S @@ -42,11 +42,13 @@ RVTEST_RV64U # Define TVM used by program. RVTEST_CODE_BEGIN # Start of test code. SV_ELWIDTH_TEST( ld , 2, 8, 0, 0, testdata1, - 0x8979695949398979, 0x8777675747372717, 0xa5a5a5a5a5a5a5a5 ) + 0x8979695949392919, 0x8777675747372717, 0xa5a5a5a5a5a5a5a5 ) SV_ELWIDTH_TEST( ld , 3, 8, 0, 0, testdata1, - 0x8979695949398979, 0x8777675747372717, 0x8676665646362616 ) + 0x8979695949392919, 0x8777675747372717, 0x8676665646362616 ) SV_ELWIDTH_TEST( ld , 3, 8, 2, 0, testdata1, - 0xffffffffffff8979, 0x0000000000004939, 0x0000000000006959 ) + 0x0000000000002919, 0x0000000000004939, 0x0000000000006959 ) + SV_ELWIDTH_TEST( ld , 5, 8, 2, 3, testdata1, + 0x0000493900002919, 0xffff897900006959, 0xa5a5a5a500002717 ) RVTEST_PASS # Signal success. fail: @@ -58,7 +60,7 @@ RVTEST_CODE_END # End of test code. .data .align 3 testdata1: - .dword 0x8979695949398979 + .dword 0x8979695949392919 .dword 0x8777675747372717 .dword 0x8676665646362616 .dword 0x8272625242322212