diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-11-08 17:49:36 +0100 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2020-10-22 17:00:11 -0700 |
commit | 147aef1628dca043e4b3de8a3b586f07ab46ae46 (patch) | |
tree | 67a60e55b407b47da7f51341d93a9b88e054ccd4 /riscv/insns/sext_h.h | |
parent | a4a2ce20caf756e39e109f5cc047238c35e03857 (diff) | |
download | spike-147aef1628dca043e4b3de8a3b586f07ab46ae46.zip spike-147aef1628dca043e4b3de8a3b586f07ab46ae46.tar.gz spike-147aef1628dca043e4b3de8a3b586f07ab46ae46.tar.bz2 |
[riscv-bitmanip] Changes for RISC-V Bitmanip Spec 0.92
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'riscv/insns/sext_h.h')
-rw-r--r-- | riscv/insns/sext_h.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/riscv/insns/sext_h.h b/riscv/insns/sext_h.h new file mode 100644 index 0000000..bd1fde2 --- /dev/null +++ b/riscv/insns/sext_h.h @@ -0,0 +1,2 @@ +require_extension('B'); +WRITE_RD((sreg_t)(int16_t)(RS1)); |