mirror of
https://github.com/RPCSX/xed.git
synced 2026-01-31 01:05:17 +01:00
* adding PREFETCHW to silvermont and broadwell avoids issue with CPUID bit referring to non-exising isa-set in --no-amd builds. PREFETCHW opcode was previously a NOP on pentium-pro-and-later so no chip-check violation. * A little bit of a stroke of luck here: the ISA_SET PREFETCHW shows up in the isa-set enum and in the chip hierarchy, but there are no instructions in the PREFETCHW ISA_SET. The PREFETCHW instruction is in the PREFETCH_NOP ISA_SET and is checked for validity that way. The only major downside of this approach is that the cpuid bit for PREFETCHW is not displayed properly when queried. Change-Id: Ic20f9dc86d2a43367cc623794b21ce51811f91b0 (cherry picked from commit 2a030ad113265e3b71633c59dc0084d0bf609edd)