aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64ui/sra.S
diff options
context:
space:
mode:
authortakeoverjp <takeoverjp@gmail.com>2019-01-27 04:36:36 +0900
committerAndrew Waterman <aswaterman@gmail.com>2019-01-26 11:36:36 -0800
commit353b55bc233ef314dd27b547af0a6bdee217b3f4 (patch)
treef30e974c2daef5ece50d9b94ef023cbcdc240f04 /isa/rv64ui/sra.S
parent4469fecaaefe273848c46885153dfadeb2ed70ed (diff)
downloadriscv-tests-353b55bc233ef314dd27b547af0a6bdee217b3f4.zip
riscv-tests-353b55bc233ef314dd27b547af0a6bdee217b3f4.tar.gz
riscv-tests-353b55bc233ef314dd27b547af0a6bdee217b3f4.tar.bz2
Fix comments for shift amount. (#177)
Diffstat (limited to 'isa/rv64ui/sra.S')
-rw-r--r--isa/rv64ui/sra.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv64ui/sra.S b/isa/rv64ui/sra.S
index 9b359a3..580ae89 100644
--- a/isa/rv64ui/sra.S
+++ b/isa/rv64ui/sra.S
@@ -35,7 +35,7 @@ RVTEST_CODE_BEGIN
TEST_RR_OP( 15, sra, 0xfffffffffffe0606, 0xffffffff81818181, 14 );
TEST_RR_OP( 16, sra, 0xffffffffffffffff, 0xffffffff81818181, 31 );
- # Verify that shifts only use bottom five bits
+ # Verify that shifts only use bottom six(rv64) or five(rv32) bits
TEST_RR_OP( 17, sra, 0xffffffff81818181, 0xffffffff81818181, 0xffffffffffffffc0 );
TEST_RR_OP( 18, sra, 0xffffffffc0c0c0c0, 0xffffffff81818181, 0xffffffffffffffc1 );