diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-08-30 13:02:59 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-08-30 13:13:52 -0700 |
commit | 8c633e9e80d0b3e3764ebc3651e9cc09ab9413c9 (patch) | |
tree | fc8b6f6c7a2231e52e095c7a1cb682fd18f79235 /isa/rv64ui/srai.S | |
parent | 2a9cd2c6cc19863c781bcaa8b276de6e528fba8e (diff) | |
download | riscv-tests-8c633e9e80d0b3e3764ebc3651e9cc09ab9413c9.zip riscv-tests-8c633e9e80d0b3e3764ebc3651e9cc09ab9413c9.tar.gz riscv-tests-8c633e9e80d0b3e3764ebc3651e9cc09ab9413c9.tar.bz2 |
Share code between rv32ui and rv64ui tests
They were almost identical, so I made them actually identical. This
will reduce the burden of writing further tests that span base ISAs.
Tests can still be specialized for XLEN with ifdefs on e.g. __riscv64.
Diffstat (limited to 'isa/rv64ui/srai.S')
-rw-r--r-- | isa/rv64ui/srai.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isa/rv64ui/srai.S b/isa/rv64ui/srai.S index dff2348..8d05213 100644 --- a/isa/rv64ui/srai.S +++ b/isa/rv64ui/srai.S @@ -53,8 +53,8 @@ RVTEST_CODE_BEGIN TEST_IMM_SRC1_BYPASS( 22, 1, srai, 0xfffffffffffe0000, 0xffffffff80000000, 14 ); TEST_IMM_SRC1_BYPASS( 23, 2, srai, 0xffffffffffffffff, 0xffffffff80000001, 31 ); - TEST_IMM_ZEROSRC1( 24, srai, 0, 32 ); - TEST_IMM_ZERODEST( 25, srai, 33, 50 ); + TEST_IMM_ZEROSRC1( 24, srai, 0, 4 ); + TEST_IMM_ZERODEST( 25, srai, 33, 10 ); TEST_PASSFAIL |