From 3d17f71968e7cd768626064b56fa7794386b99e7 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 13 Sep 2010 22:30:23 +0200 Subject: x86/x64: Avoid unnecessary resize in BC_TSETM. --- src/buildvm_x64.h | 2 +- src/buildvm_x64win.h | 2 +- src/buildvm_x86.dasc | 2 +- src/buildvm_x86.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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] = { 252,253,252,233,244,1,248,7,128,165,233,235,65,139,142,233,65,137,174,233, 137,141,233,15,182,75,252,253,252,233,244,2,255,68,137,60,36,69,139,60,199, 248,1,141,12,202,139,105,252,248,252,246,133,233,235,15,133,244,253,248,2, - 139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,59,133,233,15,131,244,251, + 139,68,36,4,131,232,1,15,132,244,250,68,1,252,248,59,133,233,15,135,244,251, 68,41,252,248,65,193,231,3,68,3,189,233,248,3,139,41,65,137,47,139,105,4, 131,193,8,65,137,111,4,65,131,199,8,131,232,1,15,133,244,3,248,4,68,139,60, 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] = { 233,235,139,139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244, 2,255,137,124,36,80,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133, 233,235,15,133,244,253,248,2,139,68,36,84,131,232,1,15,132,244,250,1,252, - 248,59,133,233,15,131,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41, + 248,59,133,233,15,135,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41, 137,47,139,105,4,131,193,8,137,111,4,131,199,8,131,232,1,15,133,244,3,248, 4,139,124,36,80,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255, 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) | jz >4 // Nothing to copy? | add RD, KBASE // Compute needed size. | cmp RD, TAB:RB->asize - | jae >5 // Doesn't fit into array part? + | ja >5 // Doesn't fit into array part? | sub RD, KBASE | shl KBASE, 3 | 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] = { 139,233,137,171,233,137,141,233,15,182,78,252,253,252,233,244,2,255,137,124, 36,16,139,60,199,248,1,141,12,202,139,105,252,248,252,246,133,233,235,15, 133,244,253,248,2,139,68,36,20,131,232,1,15,132,244,250,1,252,248,59,133, - 233,15,131,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41,137,47,139, + 233,15,135,244,251,41,252,248,193,231,3,3,189,233,248,3,139,41,137,47,139, 105,4,131,193,8,137,111,4,131,199,8,131,232,1,15,133,244,3,248,4,139,124, 36,16,139,6,15,182,204,15,182,232,131,198,4,193,232,16,252,255,36,171,248, 5,137,108,36,4,139,108,36,48,137,149,233,137,68,36,8,137,44,36,137,116,36, -- cgit v1.2.3-55-g6feb