summaryrefslogtreecommitdiffstats
path: root/target/riscv/insn32.decode
diff options
context:
space:
mode:
authorLIU Zhiwei2020-07-01 17:25:17 +0200
committerAlistair Francis2020-07-02 18:19:33 +0200
commit9ff3d28739b760970f5e542c74a033470dca3f9b (patch)
tree19c6ad7556b0a99b8f016eeb781fb76b01e51f18 /target/riscv/insn32.decode
parenttarget/riscv: vector single-width scaling shift instructions (diff)
downloadqemu-9ff3d28739b760970f5e542c74a033470dca3f9b.tar.gz
qemu-9ff3d28739b760970f5e542c74a033470dca3f9b.tar.xz
qemu-9ff3d28739b760970f5e542c74a033470dca3f9b.zip
target/riscv: vector narrowing fixed-point clip instructions
Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20200701152549.1218-30-zhiwei_liu@c-sky.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/insn32.decode')
-rw-r--r--target/riscv/insn32.decode6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/riscv/insn32.decode b/target/riscv/insn32.decode
index 7d5dfeb5c7..78e6da6205 100644
--- a/target/riscv/insn32.decode
+++ b/target/riscv/insn32.decode
@@ -439,6 +439,12 @@ vssrl_vi 101010 . ..... ..... 011 ..... 1010111 @r_vm
vssra_vv 101011 . ..... ..... 000 ..... 1010111 @r_vm
vssra_vx 101011 . ..... ..... 100 ..... 1010111 @r_vm
vssra_vi 101011 . ..... ..... 011 ..... 1010111 @r_vm
+vnclipu_vv 101110 . ..... ..... 000 ..... 1010111 @r_vm
+vnclipu_vx 101110 . ..... ..... 100 ..... 1010111 @r_vm
+vnclipu_vi 101110 . ..... ..... 011 ..... 1010111 @r_vm
+vnclip_vv 101111 . ..... ..... 000 ..... 1010111 @r_vm
+vnclip_vx 101111 . ..... ..... 100 ..... 1010111 @r_vm
+vnclip_vi 101111 . ..... ..... 011 ..... 1010111 @r_vm
vsetvli 0 ........... ..... 111 ..... 1010111 @r2_zimm
vsetvl 1000000 ..... ..... 111 ..... 1010111 @r