]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
s390x/tcg: Implement VECTOR OR WITH COMPLEMENT
authorDavid Hildenbrand <david@redhat.com>
Thu, 11 Apr 2019 09:14:29 +0000 (11:14 +0200)
committerDavid Hildenbrand <david@redhat.com>
Fri, 17 May 2019 08:54:13 +0000 (10:54 +0200)
Again, vector enhancements facility 1 material.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/insn-data.def
target/s390x/translate_vx.inc.c

index fb74374a0a0a38ed860f851d88352b6f9d86cbf5..52171252be9c6818c981bc93296b297e49233734 100644 (file)
     F(0xe76c, VNX,     VRR_c, VE,  0, 0, 0, 0, vnx, 0, IF_VEC)
 /* VECTOR OR */
     F(0xe76a, VO,      VRR_c, V,   0, 0, 0, 0, vo, 0, IF_VEC)
+/* VECTOR OR WITH COMPLEMENT */
+    F(0xe76f, VOC,     VRR_c, VE,  0, 0, 0, 0, voc, 0, IF_VEC)
 
 #ifndef CONFIG_USER_ONLY
 /* COMPARE AND SWAP AND PURGE */
index 54a5ca0c08e2465e883eb53856c8d27e58fad7c6..2ab82a2dcc6131ab0e1166b24fab8afd893fe5b5 100644 (file)
@@ -1819,3 +1819,10 @@ static DisasJumpType op_vo(DisasContext *s, DisasOps *o)
                   get_field(s->fields, v3));
     return DISAS_NEXT;
 }
+
+static DisasJumpType op_voc(DisasContext *s, DisasOps *o)
+{
+    gen_gvec_fn_3(orc, ES_8, get_field(s->fields, v1), get_field(s->fields, v2),
+                  get_field(s->fields, v3));
+    return DISAS_NEXT;
+}