aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/sra.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/sra.h')
-rw-r--r--riscv/insns/sra.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/sra.h b/riscv/insns/sra.h
index 7102da0..45c9657 100644
--- a/riscv/insns/sra.h
+++ b/riscv/insns/sra.h
@@ -1 +1 @@
-RD = sext_xprlen(sext_xprlen(RS1) >> (RS2 & (xprlen-1)));
+WRITE_RD(sext_xprlen(sext_xprlen(RS1) >> (RS2 & (xprlen-1))));