s390x/tcg: Implement VECTOR FIND ANY ELEMENT EQUAL
commit1fd286385c31e42a60db0a298c01e1c8ec290e3e
authorDavid Hildenbrand <david@redhat.com>
Thu, 23 May 2019 13:09:49 +0000 (23 15:09 +0200)
committerDavid Hildenbrand <david@redhat.com>
Fri, 7 Jun 2019 12:53:25 +0000 (7 14:53 +0200)
treee37c45b93e375f0bba7e480ea3e0bdf5a2dee4c0
parent33556237f652d8a712d0b6d29ecb442e6b65fe42
s390x/tcg: Implement VECTOR FIND ANY ELEMENT EQUAL

Complicated stuff. Provide two different helpers for CC an !CC handling.
We might want to add more helpers later.

zero_search() and match_index() are courtesy of Richard H.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/Makefile.objs
target/s390x/helper.h
target/s390x/insn-data.def
target/s390x/translate_vx.inc.c
target/s390x/vec_string_helper.c [new file with mode: 0644]