diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/buildvm_x64.h | 8 | ||||
-rw-r--r-- | src/buildvm_x64win.h | 8 | ||||
-rw-r--r-- | src/buildvm_x86.dasc | 8 | ||||
-rw-r--r-- | src/buildvm_x86.h | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/src/buildvm_x64.h b/src/buildvm_x64.h index b7039001..1a0cc248 100644 --- a/src/buildvm_x64.h +++ b/src/buildvm_x64.h | |||
@@ -265,16 +265,16 @@ static const unsigned char build_actionlist[14087] = { | |||
265 | 15,182,173,233,255,252,242,15,42,197,252,233,244,63,255,137,44,36,219,4,36, | 265 | 15,182,173,233,255,252,242,15,42,197,252,233,244,63,255,137,44,36,219,4,36, |
266 | 252,233,244,64,255,248,112,65,139,174,233,65,59,174,233,15,130,244,247,232, | 266 | 252,233,244,64,255,248,112,65,139,174,233,65,59,174,233,15,130,244,247,232, |
267 | 244,66,248,1,129,252,248,239,15,133,244,55,129,122,253,4,239,15,135,244,55, | 267 | 244,66,248,1,129,252,248,239,15,133,244,55,129,122,253,4,239,15,135,244,55, |
268 | 255,252,242,15,45,42,129,252,253,252,255,0,0,0,15,135,244,55,137,108,36,4, | 268 | 255,252,242,15,44,42,129,252,253,252,255,0,0,0,15,135,244,55,137,108,36,4, |
269 | 255,221,2,219,92,36,4,129,124,36,4,252,255,0,0,0,15,135,244,55,255,199,68, | 269 | 255,221,2,219,92,36,4,129,124,36,4,252,255,0,0,0,15,135,244,55,255,199,68, |
270 | 36,8,1,0,0,0,72,141,68,36,4,248,113,139,108,36,24,137,149,233,139,84,36,8, | 270 | 36,8,1,0,0,0,72,141,68,36,4,248,113,139,108,36,24,137,149,233,139,84,36,8, |
271 | 72,137,198,137,252,239,137,92,36,28,232,251,1,17,139,149,233,139,90,252,252, | 271 | 72,137,198,137,252,239,137,92,36,28,232,251,1,17,139,149,233,139,90,252,252, |
272 | 199,66,252,252,237,137,66,252,248,252,233,244,58,248,114,65,139,174,233,65, | 272 | 199,66,252,252,237,137,66,252,248,252,233,244,58,248,114,65,139,174,233,65, |
273 | 59,174,233,15,130,244,247,232,244,66,248,1,199,68,36,4,252,255,252,255,252, | 273 | 59,174,233,15,130,244,247,232,244,66,248,1,199,68,36,4,252,255,252,255,252, |
274 | 255,252,255,129,252,248,239,15,130,244,55,15,134,244,247,129,122,253,20,239, | 274 | 255,252,255,129,252,248,239,15,130,244,55,15,134,244,247,129,122,253,20,239, |
275 | 255,252,242,15,45,106,16,137,108,36,4,255,221,66,16,219,92,36,4,255,248,1, | 275 | 255,252,242,15,44,106,16,137,108,36,4,255,221,66,16,219,92,36,4,255,248,1, |
276 | 129,122,253,4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,137, | 276 | 129,122,253,4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,137, |
277 | 108,36,8,139,173,233,255,252,242,15,45,74,8,255,139,68,36,4,57,197,15,130, | 277 | 108,36,8,139,173,233,255,252,242,15,44,74,8,255,139,68,36,4,57,197,15,130, |
278 | 244,251,248,2,133,201,15,142,244,253,248,3,139,108,36,8,41,200,15,140,244, | 278 | 244,251,248,2,133,201,15,142,244,253,248,3,139,108,36,8,41,200,15,140,244, |
279 | 115,141,172,253,13,233,131,192,1,248,4,137,68,36,8,137,232,252,233,244,113, | 279 | 115,141,172,253,13,233,131,192,1,248,4,137,68,36,8,137,232,252,233,244,113, |
280 | 248,5,15,140,244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244, | 280 | 248,5,15,140,244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244, |
@@ -282,7 +282,7 @@ static const unsigned char build_actionlist[14087] = { | |||
282 | 0,0,252,233,244,3,248,115,49,192,252,233,244,4,248,116,129,252,248,239,15, | 282 | 0,0,252,233,244,3,248,115,49,192,252,233,244,4,248,116,129,252,248,239,15, |
283 | 130,244,55,65,139,174,233,65,59,174,233,15,130,244,247,232,244,66,248,1,255, | 283 | 130,244,55,65,139,174,233,65,59,174,233,15,130,244,247,232,244,66,248,1,255, |
284 | 129,122,253,4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,255, | 284 | 129,122,253,4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,255, |
285 | 252,242,15,45,66,8,255,221,66,8,219,92,36,4,139,68,36,4,255,133,192,15,142, | 285 | 252,242,15,44,66,8,255,221,66,8,219,92,36,4,139,68,36,4,255,133,192,15,142, |
286 | 244,115,131,189,233,1,15,130,244,115,15,133,244,117,65,57,134,233,15,130, | 286 | 244,115,131,189,233,1,15,130,244,115,15,133,244,117,65,57,134,233,15,130, |
287 | 244,117,15,182,141,233,65,139,174,233,137,68,36,8,248,1,136,77,0,131,197, | 287 | 244,117,15,182,141,233,65,139,174,233,137,68,36,8,248,1,136,77,0,131,197, |
288 | 1,131,232,1,15,133,244,1,65,139,134,233,252,233,244,113,248,118,129,252,248, | 288 | 1,131,232,1,15,133,244,1,65,139,134,233,252,233,244,113,248,118,129,252,248, |
diff --git a/src/buildvm_x64win.h b/src/buildvm_x64win.h index 985e44f5..07c36207 100644 --- a/src/buildvm_x64win.h +++ b/src/buildvm_x64win.h | |||
@@ -265,7 +265,7 @@ static const unsigned char build_actionlist[14034] = { | |||
265 | 42,139,114,252,252,131,189,233,1,15,130,244,72,15,182,173,233,255,252,242, | 265 | 42,139,114,252,252,131,189,233,1,15,130,244,72,15,182,173,233,255,252,242, |
266 | 15,42,197,252,233,244,63,255,137,108,36,80,219,68,36,80,252,233,244,64,255, | 266 | 15,42,197,252,233,244,63,255,137,108,36,80,219,68,36,80,252,233,244,64,255, |
267 | 248,112,139,171,233,59,171,233,15,130,244,247,232,244,66,248,1,129,252,248, | 267 | 248,112,139,171,233,59,171,233,15,130,244,247,232,244,66,248,1,129,252,248, |
268 | 239,15,133,244,55,129,122,253,4,239,15,135,244,55,255,252,242,15,45,42,129, | 268 | 239,15,133,244,55,129,122,253,4,239,15,135,244,55,255,252,242,15,44,42,129, |
269 | 252,253,252,255,0,0,0,15,135,244,55,137,108,36,84,255,221,2,219,92,36,84, | 269 | 252,253,252,255,0,0,0,15,135,244,55,137,108,36,84,255,221,2,219,92,36,84, |
270 | 129,124,36,84,252,255,0,0,0,15,135,244,55,255,199,68,36,32,1,0,0,0,72,141, | 270 | 129,124,36,84,252,255,0,0,0,15,135,244,55,255,199,68,36,32,1,0,0,0,72,141, |
271 | 68,36,84,248,113,139,108,36,96,137,149,233,68,139,68,36,32,72,137,194,137, | 271 | 68,36,84,248,113,139,108,36,96,137,149,233,68,139,68,36,32,72,137,194,137, |
@@ -273,9 +273,9 @@ static const unsigned char build_actionlist[14034] = { | |||
273 | 252,237,137,66,252,248,252,233,244,58,248,114,139,171,233,59,171,233,15,130, | 273 | 252,237,137,66,252,248,252,233,244,58,248,114,139,171,233,59,171,233,15,130, |
274 | 244,247,232,244,66,248,1,199,68,36,84,252,255,252,255,252,255,252,255,129, | 274 | 244,247,232,244,66,248,1,199,68,36,84,252,255,252,255,252,255,252,255,129, |
275 | 252,248,239,15,130,244,55,15,134,244,247,129,122,253,20,239,255,252,242,15, | 275 | 252,248,239,15,130,244,55,15,134,244,247,129,122,253,20,239,255,252,242,15, |
276 | 45,106,16,137,108,36,84,255,221,66,16,219,92,36,84,255,248,1,129,122,253, | 276 | 44,106,16,137,108,36,84,255,221,66,16,219,92,36,84,255,248,1,129,122,253, |
277 | 4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,137,108,36,32, | 277 | 4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,137,108,36,32, |
278 | 139,173,233,255,252,242,15,45,74,8,255,139,68,36,84,57,197,15,130,244,251, | 278 | 139,173,233,255,252,242,15,44,74,8,255,139,68,36,84,57,197,15,130,244,251, |
279 | 248,2,133,201,15,142,244,253,248,3,139,108,36,32,41,200,15,140,244,115,141, | 279 | 248,2,133,201,15,142,244,253,248,3,139,108,36,32,41,200,15,140,244,115,141, |
280 | 172,253,13,233,131,192,1,248,4,137,68,36,32,137,232,252,233,244,113,248,5, | 280 | 172,253,13,233,131,192,1,248,4,137,68,36,32,137,232,252,233,244,113,248,5, |
281 | 15,140,244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248, | 281 | 15,140,244,252,141,68,40,1,252,233,244,2,248,6,137,232,252,233,244,2,248, |
@@ -283,7 +283,7 @@ static const unsigned char build_actionlist[14034] = { | |||
283 | 233,244,3,248,115,49,192,252,233,244,4,248,116,129,252,248,239,15,130,244, | 283 | 233,244,3,248,115,49,192,252,233,244,4,248,116,129,252,248,239,15,130,244, |
284 | 55,139,171,233,59,171,233,15,130,244,247,232,244,66,248,1,255,129,122,253, | 284 | 55,139,171,233,59,171,233,15,130,244,247,232,244,66,248,1,255,129,122,253, |
285 | 4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,255,252,242,15, | 285 | 4,239,15,133,244,55,129,122,253,12,239,15,135,244,55,139,42,255,252,242,15, |
286 | 45,66,8,255,221,66,8,219,92,36,84,139,68,36,84,255,133,192,15,142,244,115, | 286 | 44,66,8,255,221,66,8,219,92,36,84,139,68,36,84,255,133,192,15,142,244,115, |
287 | 131,189,233,1,15,130,244,115,15,133,244,117,57,131,233,15,130,244,117,15, | 287 | 131,189,233,1,15,130,244,115,15,133,244,117,57,131,233,15,130,244,117,15, |
288 | 182,141,233,139,171,233,137,68,36,32,248,1,136,77,0,131,197,1,131,232,1,15, | 288 | 182,141,233,139,171,233,137,68,36,32,248,1,136,77,0,131,197,1,131,232,1,15, |
289 | 133,244,1,139,131,233,252,233,244,113,248,118,129,252,248,239,255,15,130, | 289 | 133,244,1,139,131,233,252,233,244,113,248,118,129,252,248,239,255,15,130, |
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 |
diff --git a/src/buildvm_x86.h b/src/buildvm_x86.h index 6cec1b41..baca59fe 100644 --- a/src/buildvm_x86.h +++ b/src/buildvm_x86.h | |||
@@ -277,17 +277,17 @@ static const unsigned char build_actionlist[15227] = { | |||
277 | 42,139,114,252,252,131,189,233,1,15,130,244,72,15,182,173,233,255,252,242, | 277 | 42,139,114,252,252,131,189,233,1,15,130,244,72,15,182,173,233,255,252,242, |
278 | 15,42,197,252,233,244,63,255,137,108,36,16,219,68,36,16,252,233,244,64,255, | 278 | 15,42,197,252,233,244,63,255,137,108,36,16,219,68,36,16,252,233,244,64,255, |
279 | 248,112,139,171,233,59,171,233,15,130,244,247,232,244,66,248,1,129,252,248, | 279 | 248,112,139,171,233,59,171,233,15,130,244,247,232,244,66,248,1,129,252,248, |
280 | 239,15,133,244,55,129,122,253,4,239,15,135,244,55,255,252,242,15,45,42,129, | 280 | 239,15,133,244,55,129,122,253,4,239,15,135,244,55,255,252,242,15,44,42,129, |
281 | 252,253,252,255,0,0,0,15,135,244,55,137,108,36,20,255,221,2,219,92,36,20, | 281 | 252,253,252,255,0,0,0,15,135,244,55,137,108,36,20,255,221,2,219,92,36,20, |
282 | 129,124,36,20,252,255,0,0,0,15,135,244,55,255,199,68,36,8,1,0,0,0,141,68, | 282 | 129,124,36,20,252,255,0,0,0,15,135,244,55,255,199,68,36,8,1,0,0,0,141,68, |
283 | 36,20,248,113,139,108,36,48,137,149,233,137,68,36,4,137,44,36,137,116,36, | 283 | 36,20,248,113,139,108,36,48,137,149,233,137,68,36,4,137,44,36,137,116,36, |
284 | 24,232,251,1,17,139,149,233,139,114,252,252,199,66,252,252,237,137,66,252, | 284 | 24,232,251,1,17,139,149,233,139,114,252,252,199,66,252,252,237,137,66,252, |
285 | 248,252,233,244,58,248,114,139,171,233,59,171,233,15,130,244,247,232,244, | 285 | 248,252,233,244,58,248,114,139,171,233,59,171,233,15,130,244,247,232,244, |
286 | 66,248,1,199,68,36,20,252,255,252,255,252,255,252,255,129,252,248,239,15, | 286 | 66,248,1,199,68,36,20,252,255,252,255,252,255,252,255,129,252,248,239,15, |
287 | 130,244,55,15,134,244,247,129,122,253,20,239,255,252,242,15,45,106,16,137, | 287 | 130,244,55,15,134,244,247,129,122,253,20,239,255,252,242,15,44,106,16,137, |
288 | 108,36,20,255,221,66,16,219,92,36,20,255,248,1,129,122,253,4,239,15,133,244, | 288 | 108,36,20,255,221,66,16,219,92,36,20,255,248,1,129,122,253,4,239,15,133,244, |
289 | 55,129,122,253,12,239,15,135,244,55,139,42,137,108,36,12,139,173,233,255, | 289 | 55,129,122,253,12,239,15,135,244,55,139,42,137,108,36,12,139,173,233,255, |
290 | 252,242,15,45,74,8,255,221,66,8,219,92,36,8,139,76,36,8,255,139,68,36,20, | 290 | 252,242,15,44,74,8,255,221,66,8,219,92,36,8,139,76,36,8,255,139,68,36,20, |
291 | 57,197,15,130,244,251,248,2,133,201,15,142,244,253,248,3,139,108,36,12,41, | 291 | 57,197,15,130,244,251,248,2,133,201,15,142,244,253,248,3,139,108,36,12,41, |
292 | 200,15,140,244,115,141,172,253,13,233,131,192,1,248,4,137,68,36,8,137,232, | 292 | 200,15,140,244,115,141,172,253,13,233,131,192,1,248,4,137,68,36,8,137,232, |
293 | 252,233,244,113,248,5,15,140,244,252,141,68,40,1,252,233,244,2,248,6,137, | 293 | 252,233,244,113,248,5,15,140,244,252,141,68,40,1,252,233,244,2,248,6,137, |
@@ -295,7 +295,7 @@ static const unsigned char build_actionlist[15227] = { | |||
295 | 3,248,8,185,1,0,0,0,252,233,244,3,248,115,49,192,252,233,244,4,248,116,129, | 295 | 3,248,8,185,1,0,0,0,252,233,244,3,248,115,49,192,252,233,244,4,248,116,129, |
296 | 252,248,239,15,130,244,55,139,171,233,59,171,233,15,130,244,247,232,244,66, | 296 | 252,248,239,15,130,244,55,139,171,233,59,171,233,15,130,244,247,232,244,66, |
297 | 248,1,255,129,122,253,4,239,15,133,244,55,129,122,253,12,239,15,135,244,55, | 297 | 248,1,255,129,122,253,4,239,15,133,244,55,129,122,253,12,239,15,135,244,55, |
298 | 139,42,255,252,242,15,45,66,8,255,221,66,8,219,92,36,20,139,68,36,20,255, | 298 | 139,42,255,252,242,15,44,66,8,255,221,66,8,219,92,36,20,139,68,36,20,255, |
299 | 133,192,15,142,244,115,131,189,233,1,15,130,244,115,15,133,244,117,57,131, | 299 | 133,192,15,142,244,115,131,189,233,1,15,130,244,115,15,133,244,117,57,131, |
300 | 233,15,130,244,117,15,182,141,233,139,171,233,137,68,36,8,248,1,136,77,0, | 300 | 233,15,130,244,117,15,182,141,233,139,171,233,137,68,36,8,248,1,136,77,0, |
301 | 131,197,1,131,232,1,15,133,244,1,139,131,233,252,233,244,113,248,118,129, | 301 | 131,197,1,131,232,1,15,133,244,1,139,131,233,252,233,244,113,248,118,129, |