aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/unshfli.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/unshfli.h')
-rw-r--r--riscv/insns/unshfli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/unshfli.h b/riscv/insns/unshfli.h
index fbe8364..2c8c5f9 100644
--- a/riscv/insns/unshfli.h
+++ b/riscv/insns/unshfli.h
@@ -1,4 +1,4 @@
-require_extension('B');
+require_extension(EXT_XBITMANIP);
require(SHAMT < (xlen/2));
reg_t x = RS1;
int shamt = SHAMT & ((xlen-1) >> 1);