s390x/tcg: Check vector register instructions at central point
authorDavid Hildenbrand <david@redhat.com>
Thu, 7 Mar 2019 12:15:09 +0000 (13:15 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 11 Mar 2019 08:31:01 +0000 (09:31 +0100)
commitb971a2fda3c87adf4d57d81cf5e24fba59e36924
tree54fef45710d1e43fdf049156a603a028c4252860
parent481accd4f52496a86aa347c8c5de01765a388f83
s390x/tcg: Check vector register instructions at central point

Check them at a central point. We'll use a new instruction flag to
flag all vector instructions (IF_VEC) and handle it very similar to
AFP, whereby we use another unused position in the PSW mask to store
the state of vector register enablement per translation block.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190307121539.12842-3-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.h
target/s390x/translate.c