Add build infrastructure for the SSE2-enabled interpreter.

Works on x86 now. Will be enabled by default on x64 (not ready, yet).
This commit is contained in:
Mike Pall
2009-12-22 20:27:20 +01:00
parent a5faa29aa9
commit 6ce0c90ed6
4 changed files with 21 additions and 5 deletions

View File

@@ -4554,7 +4554,7 @@ static int build_backend(BuildCtx *ctx)
#ifdef LUAJIT_CPU_NOCMOV
cmov = 0;
#endif
#ifdef LUAJIT_CPU_SSE2
#if defined(LUAJIT_CPU_SSE2) || defined(LJ_TARGET_X64)
sse = 1;
#endif