aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64ui/sll.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64ui/sll.S')
-rw-r--r--isa/rv64ui/sll.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/isa/rv64ui/sll.S b/isa/rv64ui/sll.S
index b6c2fb3..31037d1 100644
--- a/isa/rv64ui/sll.S
+++ b/isa/rv64ui/sll.S
@@ -41,7 +41,13 @@ RVTEST_CODE_BEGIN
TEST_RR_OP( 18, sll, 0x0000000042424242, 0x0000000021212121, 0xffffffffffffffc1 );
TEST_RR_OP( 19, sll, 0x0000001090909080, 0x0000000021212121, 0xffffffffffffffc7 );
TEST_RR_OP( 20, sll, 0x0000084848484000, 0x0000000021212121, 0xffffffffffffffce );
+
+#ifdef __riscv64
TEST_RR_OP( 21, sll, 0x8000000000000000, 0x0000000021212121, 0xffffffffffffffff );
+ TEST_RR_OP( 50, sll, 0x8000000000000000, 0x0000000000000001, 63 );
+ TEST_RR_OP( 51, sll, 0xffffff8000000000, 0xffffffffffffffff, 39 );
+ TEST_RR_OP( 52, sll, 0x0909080000000000, 0x0000000021212121, 43 );
+#endif
#-------------------------------------------------------------
# Source/Destination tests