diff options
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r-- | src/buildvm_x86.dasc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 7b4c13a9..d5d73de5 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
@@ -2027,9 +2027,9 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse) | |||
2027 | | cmp NARGS:RD, 1+1; jne ->fff_fallback // *Exactly* 1 arg. | 2027 | | cmp NARGS:RD, 1+1; jne ->fff_fallback // *Exactly* 1 arg. |
2028 | | cmp dword [BASE+4], LJ_TISNUM; ja ->fff_fallback | 2028 | | cmp dword [BASE+4], LJ_TISNUM; ja ->fff_fallback |
2029 | if (sse) { | 2029 | if (sse) { |
2030 | | cvtsd2si RC, qword [BASE] | 2030 | | cvtsd2si RB, qword [BASE] |
2031 | | cmp RC, 255; ja ->fff_fallback | 2031 | | cmp RB, 255; ja ->fff_fallback |
2032 | | mov TMP2, RC | 2032 | | mov TMP2, RB |
2033 | } else { | 2033 | } else { |
2034 | | fld qword [BASE] | 2034 | | fld qword [BASE] |
2035 | | fistp TMP2 | 2035 | | fistp TMP2 |