s390x/tcg: Utilities for vector instruction helpers
authorDavid Hildenbrand <david@redhat.com>
Thu, 7 Mar 2019 12:15:10 +0000 (13:15 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 11 Mar 2019 08:31:01 +0000 (09:31 +0100)
commit5b5d2090de187937baf15674aca20299f2ea8e89
tree5d28a8d353b17a1843cfad76e2944822d2961f65
parentb971a2fda3c87adf4d57d81cf5e24fba59e36924
s390x/tcg: Utilities for vector instruction helpers

We'll have to read/write vector elements quite frequently from helpers.
The tricky bit is properly taking care of endianess. Handle it similar
to aarch64.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190307121539.12842-4-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/vec.h [new file with mode: 0644]