Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
95ee7df5
Commit
95ee7df5
authored
Aug 10, 2018
by
Libretro-Admin
Browse files
(x86 32bit) Enable dynarec for audio
parent
1e350e7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
95ee7df5
...
...
@@ -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
e
ndif
CFLAGS
+=
-m32
e
lse
CFLAGS
+=
-D
TARGET_NO_AREC
endif
endif
...
...
core/hw/aica/dsp.cpp
View file @
95ee7df5
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment