aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2010-09-13 22:30:23 +0200
committerMike Pall <mike>2010-09-13 22:30:23 +0200
commit3d17f71968e7cd768626064b56fa7794386b99e7 (patch)
treed4ea9cfebe7975f45775ec509a5c4609e9319d1c
parent8a87395d8dc92a0bfc04e21554a963747d2ebf06 (diff)
downloadluajit-3d17f71968e7cd768626064b56fa7794386b99e7.tar.gz
luajit-3d17f71968e7cd768626064b56fa7794386b99e7.tar.bz2
luajit-3d17f71968e7cd768626064b56fa7794386b99e7.zip
x86/x64: Avoid unnecessary resize in BC_TSETM.
-rw-r--r--src/buildvm_x64.h2
-rw-r--r--src/buildvm_x64win.h2
-rw-r--r--src/buildvm_x86.dasc2
-rw-r--r--src/buildvm_x86.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/buildvm_x64.h b/src/buildvm_x64.h
index 05e796c4..b7039001 100644
--- a/src/buildvm_x64.h
+++ b/src/buildvm_x64.h
@@ -618,7 +618,7 @@ static const unsigned char build_actionlist[14087] = {
618 252,253,252,233,244,1,248,7,128,165,233,235,65,139,142,233,65,137,174,233, 618 252,253,252,233,244,1,248,7,128,165,233,235,65,139,142,233,65,137,174,233,
619 137,141,233,15,182,75,252,253,252,233,244,2,255,68,137,60,36,69,139,60,199, 619 137,141,233,15,182,75,252,253,252,233,244,2,255,68,137,60,36,69,139,60,199,
620 248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,244,253,248,2, 620 248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,244,253,248,2,
621 139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,59,133,233,15,131,244,251, 621 139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,59,133,233,15,135,244,251,
622 68,41,252,248,65,193,231,3,68,3,189,233,248,3,139,41,65,137,47,139,105,4, 622 68,41,252,248,65,193,231,3,68,3,189,233,248,3,139,41,65,137,47,139,105,4,
623 131,193,8,65,137,111,4,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,60, 623 131,193,8,65,137,111,4,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,60,
624 36,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238, 624 36,139,3,15,182,204,15,182,232,131,195,4,193,232,16,65,252,255,36,252,238,
diff --git a/src/buildvm_x64win.h b/src/buildvm_x64win.h
index f6cc6567..985e44f5 100644
--- a/src/buildvm_x64win.h
+++ b/src/buildvm_x64win.h
@@ -619,7 +619,7 @@ static const unsigned char build_actionlist[14034] = {
619 233,235,139,139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244, 619 233,235,139,139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,
620 2,255,137,124,36,80,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133, 620 2,255,137,124,36,80,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,
621 233,235,15,133,244,253,248,2,139,68,36,84,131,232,1,15,132,244,250,1,252, 621 233,235,15,133,244,253,248,2,139,68,36,84,131,232,1,15,132,244,250,1,252,
622 248,59,133,233,15,131,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41, 622 248,59,133,233,15,135,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41,
623 137,47,139,105,4,131,193,8,137,111,4,131,199,8,131,232,1,15,133,244,3,248, 623 137,47,139,105,4,131,193,8,137,111,4,131,199,8,131,232,1,15,133,244,3,248,
624 4,139,124,36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, 624 4,139,124,36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,
625 36,252,235,248,5,139,76,36,96,137,145,233,137,252,234,65,137,192,137,205, 625 36,252,235,248,5,139,76,36,96,137,145,233,137,252,234,65,137,192,137,205,
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc
index 598fe087..7e9d413d 100644
--- a/src/buildvm_x86.dasc
+++ b/src/buildvm_x86.dasc
@@ -4300,7 +4300,7 @@ static void build_ins(BuildCtx *ctx, BCOp op, int defop, int cmov, int sse)
4300 | jz >4 // Nothing to copy? 4300 | jz >4 // Nothing to copy?
4301 | add RD, KBASE // Compute needed size. 4301 | add RD, KBASE // Compute needed size.
4302 | cmp RD, TAB:RB->asize 4302 | cmp RD, TAB:RB->asize
4303 | jae >5 // Doesn't fit into array part? 4303 | ja >5 // Doesn't fit into array part?
4304 | sub RD, KBASE 4304 | sub RD, KBASE
4305 | shl KBASE, 3 4305 | shl KBASE, 3
4306 | add KBASE, TAB:RB->array 4306 | add KBASE, TAB:RB->array
diff --git a/src/buildvm_x86.h b/src/buildvm_x86.h
index 7624330c..6cec1b41 100644
--- a/src/buildvm_x86.h
+++ b/src/buildvm_x86.h
@@ -677,7 +677,7 @@ static const unsigned char build_actionlist[15227] = {
677 139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,137,124, 677 139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,137,124,
678 36,16,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15, 678 36,16,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,
679 133,244,253,248,2,139,68,36,20,131,232,1,15,132,244,250,1,252,248,59,133, 679 133,244,253,248,2,139,68,36,20,131,232,1,15,132,244,250,1,252,248,59,133,
680 233,15,131,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41,137,47,139, 680 233,15,135,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41,137,47,139,
681 105,4,131,193,8,137,111,4,131,199,8,131,232,1,15,133,244,3,248,4,139,124, 681 105,4,131,193,8,137,111,4,131,199,8,131,232,1,15,133,244,3,248,4,139,124,
682 36,16,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248, 682 36,16,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248,
683 5,137,108,36,4,139,108,36,48,137,149,233,137,68,36,8,137,44,36,137,116,36, 683 5,137,108,36,4,139,108,36,48,137,149,233,137,68,36,8,137,44,36,137,116,36,