]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
s390x/tcg: Implement VECTOR NOR
authorDavid Hildenbrand <david@redhat.com>
Fri, 5 Apr 2019 13:52:09 +0000 (15:52 +0200)
committerDavid Hildenbrand <david@redhat.com>
Fri, 17 May 2019 08:54:13 +0000 (10:54 +0200)
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 bc8b84e1c2cf18e97c0d52332302dfdfc6dba572..4983867a441b7fcbbc328275b0081e2584971975 100644 (file)
     F(0xe7a5, VMLO,    VRR_c, V,   0, 0, 0, 0, vm, 0, IF_VEC)
 /* VECTOR NAND */
     F(0xe76e, VNN,     VRR_c, VE,  0, 0, 0, 0, vnn, 0, IF_VEC)
+/* VECTOR NOR */
+    F(0xe76b, VNO,     VRR_c, V,   0, 0, 0, 0, vno, 0, IF_VEC)
 
 #ifndef CONFIG_USER_ONLY
 /* COMPARE AND SWAP AND PURGE */
index 7fcb7085e5922d573953ca5a46f81eb78a04def7..0578ff59994844d0c99f751967a800541e16b3f0 100644 (file)
@@ -1798,3 +1798,10 @@ static DisasJumpType op_vnn(DisasContext *s, DisasOps *o)
                   get_field(s->fields, v2), get_field(s->fields, v3));
     return DISAS_NEXT;
 }
+
+static DisasJumpType op_vno(DisasContext *s, DisasOps *o)
+{
+    gen_gvec_fn_3(nor, ES_8, get_field(s->fields, v1), get_field(s->fields, v2),
+                  get_field(s->fields, v3));
+    return DISAS_NEXT;
+}