aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/rori.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-06-02 00:40:10 -0700
committerAndrew Waterman <andrew@sifive.com>2021-06-02 00:40:10 -0700
commitcb7805a9689e2d5de23b959b177940d1b8813bd2 (patch)
treeb539e96afdd276167ccafc61760faee26767b3f2 /riscv/insns/rori.h
parent16308bc1a01b8f540cf3e95e9f30b96d92df01e0 (diff)
downloadriscv-isa-sim-cb7805a9689e2d5de23b959b177940d1b8813bd2.zip
riscv-isa-sim-cb7805a9689e2d5de23b959b177940d1b8813bd2.tar.gz
riscv-isa-sim-cb7805a9689e2d5de23b959b177940d1b8813bd2.tar.bz2
Accept Zba, Zbb, Zbc, Zbs ISA strings
The B extension still implies the presence of Zba/Zbb/Zbc/Zbs.
Diffstat (limited to 'riscv/insns/rori.h')
-rw-r--r--riscv/insns/rori.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/rori.h b/riscv/insns/rori.h
index 72f1529..408ed50 100644
--- a/riscv/insns/rori.h
+++ b/riscv/insns/rori.h
@@ -1,4 +1,4 @@
-require_extension('B');
+require_extension(EXT_ZBB);
require(SHAMT < xlen);
int shamt = SHAMT & (xlen-1);
int rshamt = -shamt & (xlen-1);