aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/pslli_b.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/pslli_b.h')
-rw-r--r--riscv/insns/pslli_b.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/pslli_b.h b/riscv/insns/pslli_b.h
new file mode 100644
index 00000000..79f8ebc5
--- /dev/null
+++ b/riscv/insns/pslli_b.h
@@ -0,0 +1,3 @@
+P_RD_RS1_LOOP(8, 8, {
+ p_rd = p_rs1 << insn.shamtb();
+}) \ No newline at end of file