From 2667e412a2eb64a1e379ea5580aa1346291c5e52 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Tue, 27 May 2003 12:07:46 +0000 Subject: [PATCH] FPU can be enabled/disasbled through C_FPU define. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1019 --- src/cpu/core_full/op.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cpu/core_full/op.h b/src/cpu/core_full/op.h index c00aa096..ee493b5a 100644 --- a/src/cpu/core_full/op.h +++ b/src/cpu/core_full/op.h @@ -539,6 +539,7 @@ switch (inst.code.op) { BSWAP(inst.op1.d); break; case O_FPU: +#if C_FPU switch (((inst.rm>=0xc0) << 3) | inst.code.save) { case 0x00: FPU_ESC0_EA(inst.rm,inst.rm_eaa);break; case 0x01: FPU_ESC1_EA(inst.rm,inst.rm_eaa);break; @@ -559,6 +560,10 @@ switch (inst.code.op) { case 0x0f: FPU_ESC7_Normal(inst.rm);break; } goto nextopcode; +#else + LOG(LOG_CPU,LOG_ERROR)("Unhandled FPU ESCAPE %d",inst.code.save); + goto nextopcode; +#endif case 0: break; default: