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
e01e9df3
Commit
e01e9df3
authored
Dec 24, 2015
by
Libretro-Admin
Browse files
Add rec_cpp switch
parent
46ea2533
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
e01e9df3
...
...
@@ -7,6 +7,7 @@ NO_EXCEPTIONS := 0
NO_NVMEM
:=
0
NO_VERIFY
:=
1
NAOMI
:=
0
NO_JIT
:=
0
TARGET_NAME
:=
reicast
...
...
@@ -105,6 +106,14 @@ ifeq ($(NAOMI),1)
else
DC_PLATFORM
=
dreamcast
endif
ifeq
($(NO_JIT),1)
CFLAGS
+=
-DTARGET_NO_JIT
CXXFLAGS
+=
-DTARGET_NO_JIT
RZDCY_CFLAGS
+=
-DTARGET_NO_JIT
CXXFLAGS
+=
-std
=
c++11
WITH_DYNAREC
=
endif
HOST_CPU_X86
=
0x20000001
HOST_CPU_ARM
=
0x20000002
HOST_CPU_MIPS
=
0x20000003
...
...
Makefile.common
View file @
e01e9df3
...
...
@@ -121,9 +121,13 @@ SOURCES_CXX += $(CORE_DIR)/rec-ARM/rec-arm.cpp
SOURCES_ASM
+=
$(CORE_DIR)
/rec-ARM/ngen_arm.S
endif
ifeq
($(NO_JIT),1)
DYNAREC_USED
=
1
SOURCES_CXX
+=
$(CORE_DIR)
/rec-cpp/rec_cpp.cpp
# Recompiler (x86 32bit)
#
ifeq
($(WITH_DYNAREC), $(filter $(WITH_DYNAREC), i386 i686 x86))
else
ifeq
($(WITH_DYNAREC), $(filter $(WITH_DYNAREC), i386 i686 x86))
DYNAREC_USED
=
1
SOURCES_CXX
+=
$(CORE_DIR)
/rec-x86/rec_x86_asm.cpp
\
$(CORE_DIR)
/rec-x86/rec_x86_driver.cpp
\
...
...
core/build.h
View file @
e01e9df3
...
...
@@ -212,6 +212,9 @@
#endif
#if defined(TARGET_NO_JIT)
#undef FEAT_SHREC
#undef FEAT_AREC
#undef FEAT_DSPREC
#define FEAT_SHREC DYNAREC_CPP
#define FEAT_AREC DYNAREC_NONE
#define FEAT_DSPREC DYNAREC_NONE
...
...
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