Commit Graph
2 Commits
Author SHA1 Message Date
MarcZX10 c4ebf512e5 test(libkernel): pin the exported host CPU helpers to the C++ functions they wrap
The helpers must return the registers and model of the C++ functions and a comma and space joined list of the missing features. The test compares them directly and for a Zen 2 register set with one and two extensions removed.
2026-10-29 14:20:35 +00:00
Dean Galvin 83a268a867 feat(libkernel): stop at start-up on a host CPU without the PS5's extensions
Titles run natively, so a host CPU without an extension that compiled Zen 2 code uses faults with an illegal instruction deep inside a title (#3719: SHLX, BMI2). libkernel now reads CPUID and XCR0 when it loads on Linux and Windows, logs the host CPU's extensions and throws, naming the CPU and the missing extensions, before any title code runs.
2026-10-14 20:29:57 +13:00