aboutsummaryrefslogtreecommitdiff
path: root/target/meson.build
diff options
context:
space:
mode:
authorMatt Borgerson <contact@mborgerson.com>2023-07-13 00:29:01 -0700
committerMichael Tokarev <mjt@tls.msk.ru>2023-08-05 20:49:49 +0300
commit7cb0210fcc50606e1096d315cedf0a3adb2d5243 (patch)
tree2c134bb630bc5df2e0fc8ffcda05e6a570758d7c /target/meson.build
parent979cdfbbfd72bb8a74a420048082990b9da7cc60 (diff)
target/i386: Check CR0.TS before enter_mmx
When CR0.TS=1, execution of x87 FPU, MMX, and some SSE instructions will cause a Device Not Available (DNA) exception (#NM). System software uses this exception event to lazily context switch FPU state. Before this patch, enter_mmx helpers may be generated just before #NM generation, prematurely resetting FPU state before the guest has a chance to save it. Signed-off-by: Matt Borgerson <contact@mborgerson.com> Message-ID: <CADc=-s5F10muEhLs4f3mxqsEPAHWj0XFfOC2sfFMVHrk9fcpMg@mail.gmail.com> Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit b2ea6450d8e1336a33eb958ccc64604bc35a43dd) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target/meson.build')
0 files changed, 0 insertions, 0 deletions