aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/bexti.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/bexti.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/bexti.h')
-rw-r--r--riscv/insns/bexti.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/bexti.h b/riscv/insns/bexti.h
index c930cfb..31d2316 100644
--- a/riscv/insns/bexti.h
+++ b/riscv/insns/bexti.h
@@ -1,3 +1,3 @@
-require_extension('B');
+require_extension(EXT_ZBS);
int shamt = SHAMT & (xlen-1);
WRITE_RD(sext_xlen(1 & (RS1 >> shamt)));