s390x/tcg: check for AFP-register, BFP and DFP data exceptions
commitdb0504154ef1feedd135f25f8ca6e9abb5d00bbb
authorDavid Hildenbrand <david@redhat.com>
Thu, 27 Sep 2018 13:03:00 +0000 (27 15:03 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 4 Oct 2018 08:32:39 +0000 (4 10:32 +0200)
treeee70904a85e3986507ef6259a06b3b4ac3f46aa6
parentca5f31a0f27d265f2220ad43913f70280e8753a2
s390x/tcg: check for AFP-register, BFP and DFP data exceptions

With the annotated functions, we can now easily check this at a central
place.

DXC 1 is to be injected if an AFP register is used (for a HFP AND FPS
instruction) when AFP is disabled.
DXC 2 is to be injected if a BFP instruction is used when AFP is
disabled.
DXC 3 is to be injected if a DFP instruction is used when AFP is
disabled.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180927130303.12236-7-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/translate.c