aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/sraiw.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-09-11 03:12:11 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-09-11 03:12:11 -0700
commite07148ac533c318780387b1a27d39e060753cd45 (patch)
tree065f9330d3722dc8e5c7acfc44ca56a6f5934363 /riscv/insns/sraiw.h
parent01dab8dbd6dbad38da740d963975b71bf524c39f (diff)
downloadspike-e07148ac533c318780387b1a27d39e060753cd45.zip
spike-e07148ac533c318780387b1a27d39e060753cd45.tar.gz
spike-e07148ac533c318780387b1a27d39e060753cd45.tar.bz2
Implement zany immediates
Diffstat (limited to 'riscv/insns/sraiw.h')
-rw-r--r--riscv/insns/sraiw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/sraiw.h b/riscv/insns/sraiw.h
index 4c56730..f43b3fb 100644
--- a/riscv/insns/sraiw.h
+++ b/riscv/insns/sraiw.h
@@ -1,2 +1,2 @@
require_xpr64;
-RD = sext32(int32_t(RS1) >> SHAMTW);
+RD = sext32(int32_t(RS1) >> SHAMT);