summaryrefslogtreecommitdiffstats
path: root/target/s390x/insn-data.def
diff options
context:
space:
mode:
authorDavid Hildenbrand2019-04-10 21:37:24 +0200
committerDavid Hildenbrand2019-05-17 10:54:13 +0200
commitea8d7840f559d585ca88d8e12cfe8b11959fef10 (patch)
treef6eea3db91a0c0399c2fb38e9e6c23db2bba65a7 /target/s390x/insn-data.def
parents390x/tcg: Implement VECTOR SHIFT RIGHT LOGICAL * (diff)
downloadqemu-ea8d7840f559d585ca88d8e12cfe8b11959fef10.tar.gz
qemu-ea8d7840f559d585ca88d8e12cfe8b11959fef10.tar.xz
qemu-ea8d7840f559d585ca88d8e12cfe8b11959fef10.zip
s390x/tcg: Implement VECTOR SUBTRACT
We can use tcg_gen_sub2_i64() to do 128-bit subtraction and otherwise existing gvec helpers. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'target/s390x/insn-data.def')
-rw-r--r--target/s390x/insn-data.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/s390x/insn-data.def b/target/s390x/insn-data.def
index f3bf9edfca..58a61f41ef 100644
--- a/target/s390x/insn-data.def
+++ b/target/s390x/insn-data.def
@@ -1174,6 +1174,8 @@
F(0xe77c, VSRL, VRR_c, V, 0, 0, 0, 0, vsrl, 0, IF_VEC)
/* VECTOR SHIFT RIGHT LOGICAL BY BYTE */
F(0xe77d, VSRLB, VRR_c, V, 0, 0, 0, 0, vsrl, 0, IF_VEC)
+/* VECTOR SUBTRACT */
+ F(0xe7f7, VS, VRR_c, V, 0, 0, 0, 0, vs, 0, IF_VEC)
#ifndef CONFIG_USER_ONLY
/* COMPARE AND SWAP AND PURGE */