Commit 95ee7df5 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

(x86 32bit) Enable dynarec for audio

parent 1e350e7d
......@@ -127,7 +127,7 @@ endif
CXXFLAGS += -fexceptions
HAVE_GENERIC_JIT = 0
else ifeq ($(WITH_DYNAREC), x86)
CFLAGS += -m32 -D TARGET_LINUX_x86 -D TARGET_NO_AREC
CFLAGS += -m32 -D TARGET_LINUX_x86
SINGLE_PREC_FLAGS=1
CXXFLAGS += -fno-exceptions
MFLAGS += -m32
......@@ -403,9 +403,10 @@ endif
CXX = g++
ifeq ($(WITH_DYNAREC), x86)
LDFLAGS += -m32
CFLAGS += -D TARGET_NO_AREC -m32
endif
CFLAGS += -m32
else
CFLAGS += -D TARGET_NO_AREC
endif
endif
......
......@@ -69,7 +69,7 @@ s32 DYNACALL UNPACK(u16 val)
}
#if HOST_CPU == CPU_X86 && FEAT_DSPREC == DYNAREC_JIT
#include "emitter/x86_emitter.h"
#include "../../rec-x86/x86_emitter.h"
const bool SUPPORT_NOFL=false;
......@@ -220,6 +220,9 @@ void _dsp_debug_step_end()
#define nwtn(x) verify(!dsp.regs_init.x)
#define wtn(x) nwtn(x);dsp.regs_init.x=true;
#include "aica_if.h"
#include "aica_mem.h"
//sign extend to 32 bits
void dsp_rec_se(x86_block& x86e,x86_gpr_reg reg,u32 src_sz,u32 dst_sz=0xFF)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment