x86emul: further FPU env testing relaxation for AMD-like CPUs
authorJan Beulich <jbeulich@suse.com>
Wed, 5 Aug 2020 08:20:59 +0000 (10:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 5 Aug 2020 08:20:59 +0000 (10:20 +0200)
commit48660560d1b64763551be5746f980eec700ba46c
treefe790740665703c0bf7869ca01fc3dd84f8204a3
parent21de9680eb594a7038d4d4ed78e53ac90a8c5a6e
x86emul: further FPU env testing relaxation for AMD-like CPUs

See the code comment that's being extended. Additionally a few more
zap_fpsel() invocations are needed - whenever we stored state after
there potentially having been a context switch behind our backs.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/test_x86_emulator.c