diff options
Diffstat (limited to 'test/wasm2js/i64-rotate.2asm.js.opt')
-rw-r--r-- | test/wasm2js/i64-rotate.2asm.js.opt | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/test/wasm2js/i64-rotate.2asm.js.opt b/test/wasm2js/i64-rotate.2asm.js.opt index 33c3d5350..9aeec1118 100644 --- a/test/wasm2js/i64-rotate.2asm.js.opt +++ b/test/wasm2js/i64-rotate.2asm.js.opt @@ -24,8 +24,7 @@ function asmFunc(env) { if ($6 >>> 0 >= 32) { $3 = -1 >>> $3 | 0 } else { - $6 = -1 >>> $3 | 0; - $0 = $6; + $0 = -1 >>> $3 | 0; $3 = $0 | (1 << $3) - 1 << 32 - $3; } $6 = $3 & $8; @@ -40,9 +39,8 @@ function asmFunc(env) { } $3 = $0; $2 = 0 - $2 & 63; - $7 = $2; - $0 = $7 & 31; - if ($7 >>> 0 >= 32) { + $0 = $2 & 31; + if ($2 >>> 0 >= 32) { $0 = -1 << $0; $7 = 0; } else { @@ -66,7 +64,7 @@ function asmFunc(env) { function legalstub$2($0, $1, $2, $3, $4, $5) { var $6 = 0, $7 = 0, $8 = 0, $9 = 0; - $9 = $0; + $8 = $0; $7 = $2 & 63; $3 = $7; $0 = $3 & 31; @@ -77,7 +75,7 @@ function asmFunc(env) { $3 = -1 << $0; $0 = $3 | (1 << $0) - 1 & -1 >>> 32 - $0; } - $8 = $3 & $9; + $9 = $3 & $8; $6 = $0 & $1; $3 = $7 & 31; if ($7 >>> 0 >= 32) { @@ -85,21 +83,19 @@ function asmFunc(env) { $7 = $6 >>> $3 | 0; } else { $0 = $6 >>> $3 | 0; - $7 = ((1 << $3) - 1 & $6) << 32 - $3 | $8 >>> $3; + $7 = ((1 << $3) - 1 & $6) << 32 - $3 | $9 >>> $3; } $3 = $0; $6 = 0 - $2 & 63; - $0 = $6; - $2 = $0 & 31; - if ($0 >>> 0 >= 32) { + $2 = $6 & 31; + if ($6 >>> 0 >= 32) { $0 = 0; $2 = -1 >>> $2 | 0; } else { - $8 = -1 >>> $2 | 0; - $0 = $8; + $0 = -1 >>> $2 | 0; $2 = $0 | (1 << $2) - 1 << 32 - $2; } - $2 = $2 & $9; + $2 = $2 & $8; $1 = $0 & $1; $0 = $6 & 31; if ($6 >>> 0 >= 32) { |