aboutsummaryrefslogtreecommitdiff
path: root/src/buildvm_x86.h
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-22 20:27:20 +0100
committerMike Pall <mike>2009-12-22 20:27:20 +0100
commit6ce0c90ed642157f019b50ad1eb06246471a47b1 (patch)
treee3cc5e7207db2167f7f22a64ee4bfc8a93cd6ca5 /src/buildvm_x86.h
parenta5faa29aa951d4fbd874b24350c315efc1cf3133 (diff)
downloadluajit-6ce0c90ed642157f019b50ad1eb06246471a47b1.tar.gz
luajit-6ce0c90ed642157f019b50ad1eb06246471a47b1.tar.bz2
luajit-6ce0c90ed642157f019b50ad1eb06246471a47b1.zip
Add build infrastructure for the SSE2-enabled interpreter.
Works on x86 now. Will be enabled by default on x64 (not ready, yet).
Diffstat (limited to 'src/buildvm_x86.h')
-rw-r--r--src/buildvm_x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildvm_x86.h b/src/buildvm_x86.h
index 0b61f43f..e2ba7c1e 100644
--- a/src/buildvm_x86.h
+++ b/src/buildvm_x86.h
@@ -2290,7 +2290,7 @@ static int build_backend(BuildCtx *ctx)
2290#ifdef LUAJIT_CPU_NOCMOV 2290#ifdef LUAJIT_CPU_NOCMOV
2291 cmov = 0; 2291 cmov = 0;
2292#endif 2292#endif
2293#ifdef LUAJIT_CPU_SSE2 2293#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
2294 sse = 1; 2294 sse = 1;
2295#endif 2295#endif
2296 2296