Add cputype=experimental to provide cputype that others can add newer instructions to that do not exist on the era of CPU DOSBox-X normally emulates, such as FISTTP which is an SSE3 instruction introduced on the Pentium 4

This commit is contained in:
Jonathan Campbell
2021-08-22 22:37:18 -07:00
parent ba72b343f4
commit bfe8288fb1
6 changed files with 27 additions and 87 deletions

View File

@@ -32,7 +32,11 @@
#define CPU_CYCLES_LOWER_LIMIT 200
#define CPU_ARCHTYPE_MIXED 0xff
/* NTS: MIXED is not EXPERIMENTAL. Do not enable EXPERIMENTAL level instructions in "auto" aka MIXED mode.
* For example, FISTTP is a Pentium 4 SSE3 instruction, which does not belong in MIXED mode, but users
* have requested it's addition for some 256-byte DOS demos that use it. */
#define CPU_ARCHTYPE_EXPERIMENTAL 0xff
#define CPU_ARCHTYPE_MIXED 0xfe
#define CPU_ARCHTYPE_8086 0x05
#define CPU_ARCHTYPE_80186 0x15
#define CPU_ARCHTYPE_286 0x25