s390x/tcg: Implement VECTOR ADD
commitb1e67c8f23820b910694263ed7630e6ffaeeffc9
authorDavid Hildenbrand <david@redhat.com>
Wed, 10 Apr 2019 21:08:40 +0000 (10 23:08 +0200)
committerDavid Hildenbrand <david@redhat.com>
Fri, 17 May 2019 08:54:13 +0000 (17 10:54 +0200)
tree65fceaa3078d21ec30247a93872d1b9f10e56c73
parent85fa94e16927af2717093e5b8fe225206ec39e16
s390x/tcg: Implement VECTOR ADD

Introduce two types of fancy new helpers that will be reused a couple of
times

1. gen_gvec_fn_3: Call an existing tcg_gen_gvec_X function with 3
   parameters, simplifying parameter passing
2. gen_gvec128_3_i64: Call a function that performs 128 bit calculations
   using two 64 bit values per vector.

Luckily, for VECTOR ADD we already have everything we need.

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