diff options
Diffstat (limited to 'test/wasm2js/i64-ctz.2asm.js.opt')
-rw-r--r-- | test/wasm2js/i64-ctz.2asm.js.opt | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/test/wasm2js/i64-ctz.2asm.js.opt b/test/wasm2js/i64-ctz.2asm.js.opt index b55645f64..e9f86f2b5 100644 --- a/test/wasm2js/i64-ctz.2asm.js.opt +++ b/test/wasm2js/i64-ctz.2asm.js.opt @@ -39,22 +39,20 @@ function asmFunc(global, env, buffer) { function __wasm_ctz_i64($0, $1) { var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; if ($0 | $1) { - { - $4 = 63; - $6 = $4; - $3 = $1 + -1 | 0; - $2 = -1; - $5 = $2 + $0 | 0; - if ($5 >>> 0 < $2 >>> 0) { - $3 = $3 + 1 | 0 - } - $2 = Math_clz32($0 ^ $5) + 32 | 0; - $0 = Math_clz32($1 ^ $3); - $0 = ($0 | 0) == (32 | 0) ? $2 : $0; - $1 = $6 - $0 | 0; - i64toi32_i32$HIGH_BITS = 0 - ($4 >>> 0 < $0 >>> 0) | 0; - return $1; + $4 = 63; + $6 = $4; + $3 = $1 + -1 | 0; + $2 = -1; + $5 = $2 + $0 | 0; + if ($5 >>> 0 < $2 >>> 0) { + $3 = $3 + 1 | 0 } + $2 = Math_clz32($0 ^ $5) + 32 | 0; + $0 = Math_clz32($1 ^ $3); + $0 = ($0 | 0) == (32 | 0) ? $2 : $0; + $1 = $6 - $0 | 0; + i64toi32_i32$HIGH_BITS = 0 - ($4 >>> 0 < $0 >>> 0) | 0; + return $1; } i64toi32_i32$HIGH_BITS = 0; return 64; @@ -66,18 +64,16 @@ function asmFunc(global, env, buffer) { $3 = $4; $2 = $5; if ($0 | $1) { - { - $2 = $0; - $3 = 1; - $0 = $2 - $3 & $2; - $1 = $1 - ($2 >>> 0 < $3 >>> 0) & $1; - $2 = 1 + $4 | 0; - if ($2 >>> 0 < $3 >>> 0) { - $5 = $5 + 1 | 0 - } - $4 = $2; - continue; + $2 = $0; + $3 = 1; + $0 = $2 - $3 & $2; + $1 = $1 - ($2 >>> 0 < $3 >>> 0) & $1; + $2 = 1 + $4 | 0; + if ($2 >>> 0 < $3 >>> 0) { + $5 = $5 + 1 | 0 } + $4 = $2; + continue; } break; }; |