diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/Makefile b/src/Makefile index d9bb178b..9d21c3fb 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -42,9 +42,8 @@ CCOPT= -O2 -fomit-frame-pointer | |||
42 | # | 42 | # |
43 | # Target-specific compiler options: | 43 | # Target-specific compiler options: |
44 | # | 44 | # |
45 | # x86 only: it's recommended to compile at least for i686. By default the | 45 | # x86 only: it's recommended to compile at least for i686. Better yet, |
46 | # assembler part of the interpreter makes use of CMOV/FCOMI*/FUCOMI* | 46 | # compile for an architecture that has SSE2, too (-msse -msse2). |
47 | # instructions, anyway. | ||
48 | # | 47 | # |
49 | # x86/x64 only: For GCC 4.2 or higher and if you don't intend to distribute | 48 | # x86/x64 only: For GCC 4.2 or higher and if you don't intend to distribute |
50 | # the binaries to a different machine you could also use: -march=native | 49 | # the binaries to a different machine you could also use: -march=native |
@@ -105,20 +104,6 @@ XCFLAGS= | |||
105 | # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter. | 104 | # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter. |
106 | #XCFLAGS+= -DLUAJIT_DISABLE_JIT | 105 | #XCFLAGS+= -DLUAJIT_DISABLE_JIT |
107 | # | 106 | # |
108 | # x86 only: use SSE2 instead of x87 instructions in the interpreter | ||
109 | # (always enabled for x64). A pure interpreter built with this flag won't | ||
110 | # run on older CPUs (before P4 or K8). There isn't much of a speed | ||
111 | # difference, so this is not enabled by default. | ||
112 | # The JIT compiler is not affected by this flag. It always uses runtime | ||
113 | # CPU feature detection before emitting code for SSE2 up to SSE4.1. | ||
114 | #XCFLAGS+= -DLUAJIT_CPU_SSE2 | ||
115 | # | ||
116 | # x86 only: Disable the use of CMOV and FCOMI*/FUCOMI* instructions in the | ||
117 | # interpreter. Do this only if you intend to use REALLY ANCIENT CPUs | ||
118 | # (before Pentium Pro, or on the VIA C3). This generally slows down the | ||
119 | # interpreter. Don't bother if your OS wouldn't run on them, anyway. | ||
120 | #XCFLAGS+= -DLUAJIT_CPU_NOCMOV | ||
121 | # | ||
122 | # Some architectures (e.g. PPC) can use either single-number (1) or | 107 | # Some architectures (e.g. PPC) can use either single-number (1) or |
123 | # dual-number (2) mode. Uncomment one of these lines to override the | 108 | # dual-number (2) mode. Uncomment one of these lines to override the |
124 | # default mode. Please see LJ_ARCH_NUMMODE in lj_arch.h for details. | 109 | # default mode. Please see LJ_ARCH_NUMMODE in lj_arch.h for details. |