Fix arg check for two-arg SSE math functions in interpreter.

This commit is contained in:
Mike Pall
2010-07-14 14:11:48 +02:00
parent 0d3f190d94
commit 2ca58aa67d
4 changed files with 19 additions and 19 deletions

View File

@@ -1211,7 +1211,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
|.endmacro
|
|.macro .ffunc_nnsse, name
| .ffunc_1 name
| .ffunc_2 name
| cmp dword [BASE+4], LJ_TISNUM; ja ->fff_fallback
| cmp dword [BASE+12], LJ_TISNUM; ja ->fff_fallback
| movsd xmm0, qword [BASE]