aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/sraw.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/sraw.h')
-rw-r--r--riscv/insns/sraw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/sraw.h b/riscv/insns/sraw.h
index a49ead6..f8946fb 100644
--- a/riscv/insns/sraw.h
+++ b/riscv/insns/sraw.h
@@ -1 +1 @@
-RDR = sext32(sreg_t(RS1) >> (RS2 & 0x1F));
+RD = sext32(sreg_t(RS1) >> (RS2 & 0x1F));