diff options
author | 2015-06-19 14:29:35 -0500 | |
---|---|---|
committer | 2015-06-19 14:29:35 -0500 | |
commit | 3904c2973478499ea4e92a51f09e04a03cdeea8c (patch) | |
tree | dce76a9affa28a29053cdb3c1cfdb10ac69a67c7 /scripts/genie.lua | |
parent | a68161ee271699739403611d8bd5d2ac4847b053 (diff) |
This lets sdlMAME/sdlMESS compile on Fedora GCC 5.1.1 with LTO enabled with line:
make -jX SSE2=1 LTO=1
(pick X wisely as Xx4 link threads will run to speed up lto)
Super Mario 64 runs at 88% on old I7-920 in a VM (from 55%).
Windows Mingw-64 5.1.1 LTO is not possible for now :(
Why do we need to say 'SSE2=1' since MAME now requires a CPU with that for a minimum?
(nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index bdd97f427c5..4727c1427bb 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -800,7 +800,7 @@ if _OPTIONS["OPTIMIZE"] then } end if _OPTIONS["LTO"]=="1" then --- -flto=4 -> 4 threads +-- -flto=4 -> 4 threads, reduce if you are low on memory (less than 8G) buildoptions { "-flto=4", } @@ -826,7 +826,9 @@ end if _OPTIONS["SSE2"]=="1" then buildoptions { + "-msse", "-msse2", + "-msse3" } end |