s390x/tcg: always enable AFP for linux-user
commit53a19a9a5f9811a911e9b69ef36afb0d66b5d85c
authorDavid Hildenbrand <david@redhat.com>
Mon, 8 Oct 2018 15:32:04 +0000 (8 17:32 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Oct 2018 09:34:01 +0000 (9 10:34 +0100)
treead69a38d11df305fef985f3d800a292b34b15dd1
parent7c69b7c849641a39ba3defa40d384a2ba24cd7a2
s390x/tcg: always enable AFP for linux-user

linux-user should always enable AFP, otherwise our emulated binary
might crash once it tries to make use of additional floating-point
registers or instructions.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Alex Bennée <alex.bennee@linaro.org>
Fixes: db0504154e ("s390x/tcg: check for AFP-register, BFP and DFP data exceptions")
Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Tested-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/s390x/cpu.c