diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-30 20:28:55 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-03-30 20:29:07 -0700 |
commit | 7f3c072750a71f2800cfb03531ec16699c20bb34 (patch) | |
tree | f92a5276dfb52c35348dd88dc55e3c57d00c5fe1 /riscv/insns/c_addiw.h | |
parent | 180554d8f20e6ed5d90790579b85535c890ebc68 (diff) | |
download | spike-7f3c072750a71f2800cfb03531ec16699c20bb34.zip spike-7f3c072750a71f2800cfb03531ec16699c20bb34.tar.gz spike-7f3c072750a71f2800cfb03531ec16699c20bb34.tar.bz2 |
Implement RVC draft
Diffstat (limited to 'riscv/insns/c_addiw.h')
-rw-r--r-- | riscv/insns/c_addiw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/riscv/insns/c_addiw.h b/riscv/insns/c_addiw.h new file mode 100644 index 0000000..33f970c --- /dev/null +++ b/riscv/insns/c_addiw.h @@ -0,0 +1,3 @@ +require_rvc; +require_rv64; +WRITE_RD(sext32(RVC_RS2 + insn.rvc_imm())); |