Commit Graph

3 Commits

Author SHA1 Message Date
2828d5ccfd cpu_feature_scan: flag AVX-512VL regs, fix int/prefix parsing, and guard CLI --base/read errors 2026-11-25 05:36:39 +01:00
2f9e1e3e3c cpu_feature_scan: skip stacked prefixes (xacquire lock ...), not only the first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:57:56 +01:00
85daaa1bb1 cpu_feature_scan: list the CPU instructions an x64 image needs that a desktop CPU may lack
The runtime runs the Xbox Series (Zen 2) executable natively, so an instruction the host CPU lacks raises #UD
where it is reached. tools/cpu_feature_scan.py streams dumpbin /disasm like inline_scan.py, maps each
instruction to its CPUID feature or privilege class (AMD-only, newer-Intel-only, not on Zen 2, privileged,
kernel call, host query, baseline), and splits the counts by .pdata range.

docs/cpu_features.md records the 1.0.2.1 result (counts only): 19 SSE4a, 10 CLZERO and 4 MONITORX/MWAITX
sites (AMD only) and 8 CLWB sites, all real code; the privileged hits are jump-table data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:44:42 +01:00