1
0
Fork 0

disable fpu if not defined (coredynamic)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2198
This commit is contained in:
Peter Veenstra 2005-04-27 21:24:14 +00:00
parent 881ae1b28f
commit 2d4f6f39b7
2 changed files with 6 additions and 0 deletions

View file

@ -49,6 +49,10 @@
#define DYN_LOG
#endif
#if C_FPU
#define CPU_FPU 1 //Enable FPU escape instructions
#endif
enum {
G_EAX,G_ECX,G_EDX,G_EBX,
G_ESP,G_EBP,G_ESI,G_EDI,

View file

@ -1339,6 +1339,7 @@ restart_prefix:
case 0xd2:dyn_grp2_eb(grp2_cl);break;
case 0xd3:dyn_grp2_ev(grp2_cl);break;
//FPU
#ifdef CPU_FPU
case 0xd8:
DYN_FPU_ESC(0);
break;
@ -1363,6 +1364,7 @@ restart_prefix:
case 0xdf:
DYN_FPU_ESC(7);
break;
#endif
//Loop's
case 0xe2:dyn_loop(LOOP_NONE);goto finish_block;
case 0xe3:dyn_loop(LOOP_JCXZ);goto finish_block;