aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/ror.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/ror.h')
-rw-r--r--riscv/insns/ror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/ror.h b/riscv/insns/ror.h
index 8788a12..925e144 100644
--- a/riscv/insns/ror.h
+++ b/riscv/insns/ror.h
@@ -1,4 +1,4 @@
-require_extension('B');
+require_extension(EXT_ZBB);
int shamt = RS2 & (xlen-1);
int rshamt = -shamt & (xlen-1);
WRITE_RD(sext_xlen((RS1 << rshamt) | (zext_xlen(RS1) >> shamt)));