summaryrefslogtreecommitdiff
path: root/src/buildvm_x86.dasc
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_x86.dasc')
-rw-r--r--src/buildvm_x86.dasc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc
index 7e9d413d..ae225f52 100644
--- a/src/buildvm_x86.dasc
+++ b/src/buildvm_x86.dasc
@@ -2027,7 +2027,7 @@ 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 RB, qword [BASE] 2030 | cvttsd2si RB, qword [BASE]
2031 | cmp RB, 255; ja ->fff_fallback 2031 | cmp RB, 255; ja ->fff_fallback
2032 | mov TMP2, RB 2032 | mov TMP2, RB
2033 } else { 2033 } else {
@@ -2068,7 +2068,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
2068 | jna >1 2068 | jna >1
2069 | cmp dword [BASE+20], LJ_TISNUM; ja ->fff_fallback 2069 | cmp dword [BASE+20], LJ_TISNUM; ja ->fff_fallback
2070 if (sse) { 2070 if (sse) {
2071 | cvtsd2si RB, qword [BASE+16] 2071 | cvttsd2si RB, qword [BASE+16]
2072 | mov TMP2, RB 2072 | mov TMP2, RB
2073 } else { 2073 } else {
2074 | fld qword [BASE+16] 2074 | fld qword [BASE+16]
@@ -2081,7 +2081,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
2081 | mov TMP3, STR:RB 2081 | mov TMP3, STR:RB
2082 | mov RB, STR:RB->len 2082 | mov RB, STR:RB->len
2083 if (sse) { 2083 if (sse) {
2084 | cvtsd2si RA, qword [BASE+8] 2084 | cvttsd2si RA, qword [BASE+8]
2085 } else { 2085 } else {
2086 |.if not X64 2086 |.if not X64
2087 | fld qword [BASE+8] 2087 | fld qword [BASE+8]
@@ -2137,7 +2137,7 @@ static void build_subroutines(BuildCtx *ctx, int cmov, int sse)
2137 | cmp dword [BASE+12], LJ_TISNUM; ja ->fff_fallback 2137 | cmp dword [BASE+12], LJ_TISNUM; ja ->fff_fallback
2138 | mov STR:RB, [BASE] 2138 | mov STR:RB, [BASE]
2139 if (sse) { 2139 if (sse) {
2140 | cvtsd2si RC, qword [BASE+8] 2140 | cvttsd2si RC, qword [BASE+8]
2141 } else { 2141 } else {
2142 | fld qword [BASE+8] 2142 | fld qword [BASE+8]
2143 | fistp TMP2 2143 | fistp TMP2