s390x/tcg: Implement VECTOR COMPARE *
commitff825c6d6408cc1deae408821b6fd9d1127cc70b
authorDavid Hildenbrand <david@redhat.com>
Thu, 11 Apr 2019 08:00:25 +0000 (11 10:00 +0200)
committerDavid Hildenbrand <david@redhat.com>
Fri, 17 May 2019 08:54:13 +0000 (17 10:54 +0200)
treed0894a608095b256ba5afffd167a31e88c794d0a
parent751a564f79b6a1f1fd7a7866af3a0af6468d9c4f
s390x/tcg: Implement VECTOR COMPARE *

To carry out the comparison, we can reuse the existing gvec comparison
function. In case the CC is to be computed, save the result vector
and compute the CC lazily. The result is a vector consisting of all 1's
for elements that matched and 0's for elements that didn't match.

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