diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-12-05 16:37:08 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2020-10-22 17:00:11 -0700 |
commit | 672c50ca1605949aaa82992746ba7011f571aa89 (patch) | |
tree | 7773d9bc757a52aaef0a76cf6753e66807bc2331 /riscv/insns/sro.h | |
parent | 147aef1628dca043e4b3de8a3b586f07ab46ae46 (diff) | |
download | spike-672c50ca1605949aaa82992746ba7011f571aa89.zip spike-672c50ca1605949aaa82992746ba7011f571aa89.tar.gz spike-672c50ca1605949aaa82992746ba7011f571aa89.tar.bz2 |
[riscv-bitmanip] Bugfixes in RV32B impl of CRC, SRO, [UN]SHFL
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'riscv/insns/sro.h')
-rw-r--r-- | riscv/insns/sro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/sro.h b/riscv/insns/sro.h index 632e8dd..841a960 100644 --- a/riscv/insns/sro.h +++ b/riscv/insns/sro.h @@ -1,2 +1,2 @@ require_extension('B'); -WRITE_RD(sext_xlen(~((~zext_xlen(RS1)) >> (RS2 & (xlen-1))))); +WRITE_RD(sext_xlen(~((zext_xlen(~RS1)) >> (RS2 & (xlen-1))))); |