diff options
author | David Hildenbrand <david@redhat.com> | 2019-04-11 11:00:30 +0200 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2019-05-17 10:54:13 +0200 |
commit | 5bc4a20faba0fe3493bcaddf5b516528d994dd7e (patch) | |
tree | 049c90b04df0ec3b2736ff221caa93eb1a4c3bb7 /target/s390x/translate_vx.inc.c | |
parent | 2bf3ee38f1f8462d5267ce584182cfe448398e10 (diff) | |
download | qemu-5bc4a20faba0fe3493bcaddf5b516528d994dd7e.zip qemu-5bc4a20faba0fe3493bcaddf5b516528d994dd7e.tar.gz qemu-5bc4a20faba0fe3493bcaddf5b516528d994dd7e.tar.bz2 |
s390x/tcg: Implement VECTOR NAND
Part of vector enhancements facility 1, but easy to implement.
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.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/s390x/translate_vx.inc.c b/target/s390x/translate_vx.inc.c index bf212b7..7fcb708 100644 --- a/target/s390x/translate_vx.inc.c +++ b/target/s390x/translate_vx.inc.c @@ -1791,3 +1791,10 @@ static DisasJumpType op_vm(DisasContext *s, DisasOps *o) get_field(s->fields, v3), fn); return DISAS_NEXT; } + +static DisasJumpType op_vnn(DisasContext *s, DisasOps *o) +{ + gen_gvec_fn_3(nand, ES_8, get_field(s->fields, v1), + get_field(s->fields, v2), get_field(s->fields, v3)); + return DISAS_NEXT; +} |