aboutsummaryrefslogtreecommitdiff
path: root/isa/rv32ui
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-31 18:10:35 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-01-31 18:10:35 -0800
commitcdd27919a7314324aece473270364e358c89f54f (patch)
tree032e537ec7dd2aea74f67ac484b8bfceb68133fe /isa/rv32ui
parent6ff9837501d34c1c8f87ded1fb05fe95987dba2d (diff)
downloadriscv-tests-cdd27919a7314324aece473270364e358c89f54f.zip
riscv-tests-cdd27919a7314324aece473270364e358c89f54f.tar.gz
riscv-tests-cdd27919a7314324aece473270364e358c89f54f.tar.bz2
Add rv32si tests, including illegality of shamt[5]
Diffstat (limited to 'isa/rv32ui')
-rw-r--r--isa/rv32ui/srli.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/isa/rv32ui/srli.S b/isa/rv32ui/srli.S
index 61e01fb..a8ae06d 100644
--- a/isa/rv32ui/srli.S
+++ b/isa/rv32ui/srli.S
@@ -33,15 +33,6 @@ RVTEST_CODE_BEGIN
TEST_IMM_OP( 15, srli, 0x00008484, 0x21212121, 14 );
TEST_IMM_OP( 16, srli, 0x00000000, 0x21212121, 31 );
- # Verify that shifts only use bottom five bits
-
- TEST_IMM_OP( 17, srli, 0x21212121, 0x21212121, 0xffffffc0 );
- TEST_IMM_OP( 18, srli, 0x10909090, 0x21212121, 0xffffffc1 );
- TEST_IMM_OP( 19, srli, 0x00424242, 0x21212121, 0xffffffc7 );
- TEST_IMM_OP( 20, srli, 0x00008484, 0x21212121, 0xffffffce );
-
-
-
#-------------------------------------------------------------
# Source/Destination tests
#-------------------------------------------------------------