mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-31 01:43:03 +08:00
d98a4de718
When no SSE (fxsave) context is available but x87 (fsave) context is, use the x87 context. This also embeds the x87 FPU opcode from the fxsave fop field in bits 16-26 of the fsave error_selector field, true to the layout of the fsave structure. See Intel SDM volume 1 (253665-061) 8.1.10 and figure 8-9. BUG=crashpad:161 TEST=crashpad_snapshot_test CPUContextX86.*:CPUContextWin.* Change-Id: I0bf7ed995c152f124166eaa20104d228d3468f76 Reviewed-on: https://chromium-review.googlesource.com/442144 Reviewed-by: Scott Graham <scottmg@chromium.org>