[x86 / Refactor] New CPU feature flags
Summary
This merge request extends the tcpuflags
type of the cpuinfo
unit of i8086, i386 and x86_64 to list the support of bit-test instructions and whether said bit test instructions, and XCHG, are fast enough to warrant speed-based optimisation. Currently-listed CPUs have these flags included where applicable.
Additionally, the MovMovMov2XChg
optimisation has been modified to check for the presence of the new CPUX86_HAS_FAST_XCHG
flag rather than a Intel Pentium M or Core processor.
System
- Processor architecture: i8086, i386, x86_64
Additional notes
No changes in generated binaries should currently happen, regardless of the brand of x86 processor selected. Some flag values in the compiler units will have changed though due to the rearrangement of some flags.