From 5b1d1c360c841f36836df471dc0f154194a2439d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Tue, 7 Aug 2007 19:03:43 +0000 Subject: [PATCH] enable dcode for x86-64 (after gulikoza (thanks!) fixed the remaining bugs) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2950 --- src/cpu/core_dynrec/risc_x64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu/core_dynrec/risc_x64.h b/src/cpu/core_dynrec/risc_x64.h index dbeab485..1464ed61 100644 --- a/src/cpu/core_dynrec/risc_x64.h +++ b/src/cpu/core_dynrec/risc_x64.h @@ -26,7 +26,7 @@ // try to use non-flags generating functions if possible #define DRC_FLAGS_INVALIDATION // try to replace _simple functions by code -// #define DRC_FLAGS_INVALIDATION_DCODE +#define DRC_FLAGS_INVALIDATION_DCODE // type with the same size as a pointer #define DRC_PTR_SIZE_IM Bit64u @@ -644,7 +644,7 @@ static void gen_fill_function_ptr(Bit8u * pos,void* fct_ptr,Bitu flags_type) { case t_INCb: case t_INCw: case t_INCd: - *(Bit32u*)(pos+0)=0xc0ffc889; // mov eax,edi; inc eax + *(Bit32u*)(pos+0)=0xc0fff889; // mov eax,edi; inc eax *(Bit32u*)(pos+4)=0x909006eb; // skip *(Bit32u*)(pos+8)=0x90909090; break;