diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 209758fe..f0496248 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -62,6 +62,14 @@ XCFLAGS= | |||
62 | # interpreter. Don't bother if your OS wouldn't run on them, anyway. | 62 | # interpreter. Don't bother if your OS wouldn't run on them, anyway. |
63 | #XCFLAGS+= -DLUAJIT_CPU_NOCMOV | 63 | #XCFLAGS+= -DLUAJIT_CPU_NOCMOV |
64 | # | 64 | # |
65 | # Use SSE2 instructions instead of x87 instructions in the x86 interpreter | ||
66 | # (always enabled for x64). A pure interpreter built with this flag won't | ||
67 | # run on older CPUs (before P4 or K8). There isn't much of a speed | ||
68 | # difference, so this is not enabled by default. | ||
69 | # The JIT compiler is not affected by this flag. It always uses runtime | ||
70 | # CPU feature detection before emitting code for SSE2 up to SSE4.1. | ||
71 | #XCFLAGS+= -DLUAJIT_CPU_SSE2 | ||
72 | # | ||
65 | # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter: | 73 | # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter: |
66 | #XCFLAGS+= -DLUAJIT_DISABLE_JIT | 74 | #XCFLAGS+= -DLUAJIT_DISABLE_JIT |
67 | # | 75 | # |