Build quicknes with gcc 4.9. Use SSE2, LTO, PGO. All told, about 5% speedup? Maybe less?
This commit is contained in:
parent
c450aae00e
commit
2b56dd491d
Binary file not shown.
|
@ -31,7 +31,7 @@ void operator delete(void *p)
|
|||
std::free(p);
|
||||
}
|
||||
|
||||
#define EXPORT extern "C" __declspec(dllexport)
|
||||
#define EXPORT extern "C" __declspec(dllexport) __attribute__((force_align_arg_pointer))
|
||||
|
||||
EXPORT void qn_setup_mappers()
|
||||
{
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
CXX = g++
|
||||
CXXFLAGS = -Wall -DDISABLE_AUTO_FILE -D__LIBRETRO__ -DNDEBUG -I.. -O3 -Wno-multichar -fno-exceptions -fomit-frame-pointer
|
||||
CXXFLAGS = -Wall -DDISABLE_AUTO_FILE -D__LIBRETRO__ -DNDEBUG -I.. -O3 -Wno-multichar -fno-exceptions -fomit-frame-pointer -march=pentium4 -mtune=core2 -flto
|
||||
# TODO: include these as options in the Makefile
|
||||
# -fprofile-generate
|
||||
# -fprofile-use
|
||||
TARGET = libquicknes.dll
|
||||
LDFLAGS = -shared -static-libgcc -static-libstdc++ $(CXXFLAGS)
|
||||
LDFLAGS = -shared -static -static-libgcc -static-libstdc++ $(CXXFLAGS)
|
||||
RM = rm
|
||||
CP = cp
|
||||
|
||||
|
|
Loading…
Reference in New Issue