aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/translate_vx.inc.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2019-04-11 11:12:42 +0200
committerDavid Hildenbrand <david@redhat.com>2019-05-17 10:54:13 +0200
commit2bbf4dff3f2e580e5c60ac612f1e63c5c3c528e9 (patch)
treecca163f618cbfa0ec61963bed16562ae19a79b45 /target/s390x/translate_vx.inc.c
parent9023434b67f681a2d77a09ba063a11154338f99d (diff)
downloadqemu-2bbf4dff3f2e580e5c60ac612f1e63c5c3c528e9.zip
qemu-2bbf4dff3f2e580e5c60ac612f1e63c5c3c528e9.tar.gz
qemu-2bbf4dff3f2e580e5c60ac612f1e63c5c3c528e9.tar.bz2
s390x/tcg: Implement VECTOR OR
Reuse a gvec helper. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'target/s390x/translate_vx.inc.c')
-rw-r--r--target/s390x/translate_vx.inc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/s390x/translate_vx.inc.c b/target/s390x/translate_vx.inc.c
index eb4e007..54a5ca0 100644
--- a/target/s390x/translate_vx.inc.c
+++ b/target/s390x/translate_vx.inc.c
@@ -1812,3 +1812,10 @@ static DisasJumpType op_vnx(DisasContext *s, DisasOps *o)
get_field(s->fields, v3));
return DISAS_NEXT;
}
+
+static DisasJumpType op_vo(DisasContext *s, DisasOps *o)
+{
+ gen_gvec_fn_3(or, ES_8, get_field(s->fields, v1), get_field(s->fields, v2),
+ get_field(s->fields, v3));
+ return DISAS_NEXT;
+}