aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/sraiw.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-12 18:23:36 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-12 18:23:36 -0700
commit86ab2857102aa614713b6216f8acfcc2b6a2f7c1 (patch)
tree3c1360b1f2e83ac9733a14a25772fa32d2fbbb2f /riscv/insns/sraiw.h
parentab2da3ad68de01bb862fb0af88348677ed0b4336 (diff)
downloadspike-86ab2857102aa614713b6216f8acfcc2b6a2f7c1.zip
spike-86ab2857102aa614713b6216f8acfcc2b6a2f7c1.tar.gz
spike-86ab2857102aa614713b6216f8acfcc2b6a2f7c1.tar.bz2
[xcc, sim] moved shamt field and renamed shifts
Diffstat (limited to 'riscv/insns/sraiw.h')
-rw-r--r--riscv/insns/sraiw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insns/sraiw.h b/riscv/insns/sraiw.h
new file mode 100644
index 0000000..7289347
--- /dev/null
+++ b/riscv/insns/sraiw.h
@@ -0,0 +1 @@
+RA = sext32(sreg_t(RB) >> SHAMTW);