diff options
| author | Krashgamer <64923888+Krashgamer@users.noreply.github.com> | 2026-11-23 17:41:46 +0100 |
|---|---|---|
| committer | Krashgamer <64923888+Krashgamer@users.noreply.github.com> | 2026-11-23 17:41:46 +0100 |
| commit | 978d525d99413cce232efde07efbf392d1e782a5 (patch) | |
| tree | 460cf4a283f8f19f046c640edf5d5f7691baeae6 /runtime/src/main.cpp | |
| parent | 3fe388b39daccee1e8ff1b595be3889260552518 (diff) | |
cpu_emulation: INSERTQ register form reads len from xmm2[69:64]; zero xmm1[127:64]; AMD prefix forms; no SEH
- INSERTQ xmm, xmm took the length and index from swapped fields. The APM (vol. 4) has the length in
xmm2[69:64] and the index in xmm2[77:72]; a Ryzen 9800X3D and a Ryzen 5700X agree (TheHoracio,
Mayzkl on #7111). The measured 0x0810 case is a unit check now.
- INSERTQ/EXTRQ zero xmm1[127:64], as the Zen 3 measured in the same review does in all four forms.
- Decode REX bytes among the legacy prefixes (a non-final REX is ignored) and accept F2/F3 on CLZERO,
as Zen 3 runs them (#7055's reviews); F2/F3 stay #UD on MONITORX/MWAITX.
- Check the CLZERO line's page and the instruction bytes' readability with VirtualQuery instead of
catching a fault in a local __try, which clang-cl without /EHa does not cover for inline stores
(venetanji on #7111).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions