s390x/tcg: Implement VECTOR LOAD GR FROM VR ELEMENT
commit5d203bea599bcfbcca00a1f614784a2cfd17e0f8
authorDavid Hildenbrand <david@redhat.com>
Thu, 7 Mar 2019 12:15:18 +0000 (7 13:15 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 11 Mar 2019 08:31:01 +0000 (11 09:31 +0100)
tree0a2c5a44d02d18e1a045f5b124a5d48c7a4403f3
parente6790d3211185ee4c20fef38fb025f87c1931350
s390x/tcg: Implement VECTOR LOAD GR FROM VR ELEMENT

To avoid an helper, we have to do the actual calculation of the element
address (offset in cpu_env + cpu_env) manually. Factor that out into
get_vec_element_ptr_i64(). The same logic will be reused for "VECTOR
LOAD VR ELEMENT FROM GR".

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190307121539.12842-12-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/insn-data.def
target/s390x/translate_vx.inc.c