s390x/tcg: Implement VECTOR GATHER ELEMENT
commit6d841663be823d69a7dc22c5a175b8934d55c39c
authorDavid Hildenbrand <david@redhat.com>
Thu, 7 Mar 2019 12:15:11 +0000 (7 13:15 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 11 Mar 2019 08:31:01 +0000 (11 09:31 +0100)
tree3382985fa00f640199b6cfa301189387735ef05d
parent5b5d2090de187937baf15674aca20299f2ea8e89
s390x/tcg: Implement VECTOR GATHER ELEMENT

Let's start with a more involved one, but it is the first in the list
of vector support instructions (introduced with the vector facility).

Good thing is, we need a lot of basic infrastructure for this. Reading
and writing vector elements as well as checking element validity.

All vector instruction related translation functions will reside in
translate_vx.inc.c, to be included in translate.c - similar to how
other architectures handle it.

While at it, directly add some documentation (which contains parts about
things added in follow-up patches, but splitting this up does not make
too much sense). Also add ES_* defines heavily used later.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190307121539.12842-5-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/insn-data.def
target/s390x/translate.c
target/s390x/translate_vx.inc.c [new file with mode: 0644]