diff options
Diffstat (limited to 'test/wasm2js/unary-ops.2asm.js')
-rw-r--r-- | test/wasm2js/unary-ops.2asm.js | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/test/wasm2js/unary-ops.2asm.js b/test/wasm2js/unary-ops.2asm.js index 9adfe581b..b415f2186 100644 --- a/test/wasm2js/unary-ops.2asm.js +++ b/test/wasm2js/unary-ops.2asm.js @@ -11,19 +11,19 @@ function asmFunc(imports) { var Math_trunc = Math.trunc; var Math_sqrt = Math.sqrt; var i64toi32_i32$HIGH_BITS = 0; - function $1($0) { - $0 = $0 | 0; - return __wasm_popcnt_i32($0 | 0) | 0 | 0; + function $0($0_1) { + $0_1 = $0_1 | 0; + return __wasm_popcnt_i32($0_1 | 0) | 0 | 0; } - function $2($0, $0$hi, r, r$hi) { - $0 = $0 | 0; + function $1($0_1, $0$hi, r, r$hi) { + $0_1 = $0_1 | 0; $0$hi = $0$hi | 0; r = r | 0; r$hi = r$hi | 0; var i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, $3$hi = 0, i64toi32_i32$2 = 0; i64toi32_i32$0 = $0$hi; - i64toi32_i32$0 = __wasm_popcnt_i64($0 | 0, i64toi32_i32$0 | 0) | 0; + i64toi32_i32$0 = __wasm_popcnt_i64($0_1 | 0, i64toi32_i32$0 | 0) | 0; i64toi32_i32$1 = i64toi32_i32$HIGH_BITS; $3$hi = i64toi32_i32$1; i64toi32_i32$1 = r$hi; @@ -33,8 +33,8 @@ function asmFunc(imports) { return (i64toi32_i32$2 | 0) == (r | 0) & (i64toi32_i32$1 | 0) == (i64toi32_i32$0 | 0) | 0 | 0; } - function $3($0, r, r$hi) { - $0 = $0 | 0; + function $2($0_1, r, r$hi) { + $0_1 = $0_1 | 0; r = r | 0; r$hi = r$hi | 0; var i64toi32_i32$0 = 0, $3$hi = 0; @@ -42,73 +42,73 @@ function asmFunc(imports) { $3$hi = i64toi32_i32$0; i64toi32_i32$0 = r$hi; i64toi32_i32$0 = $3$hi; - return ($0 | 0) == (r | 0) & (i64toi32_i32$0 | 0) == (r$hi | 0) | 0 | 0; + return ($0_1 | 0) == (r | 0) & (i64toi32_i32$0 | 0) == (r$hi | 0) | 0 | 0; } - function $4($0, r, r$hi) { - $0 = $0 | 0; + function $3($0_1, r, r$hi) { + $0_1 = $0_1 | 0; r = r | 0; r$hi = r$hi | 0; var i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, $3$hi = 0; - i64toi32_i32$1 = $0; + i64toi32_i32$1 = $0_1; i64toi32_i32$0 = i64toi32_i32$1 >> 31 | 0; $3$hi = i64toi32_i32$0; i64toi32_i32$0 = r$hi; i64toi32_i32$0 = $3$hi; i64toi32_i32$1 = r$hi; - return ($0 | 0) == (r | 0) & (i64toi32_i32$0 | 0) == (i64toi32_i32$1 | 0) | 0 | 0; + return ($0_1 | 0) == (r | 0) & (i64toi32_i32$0 | 0) == (i64toi32_i32$1 | 0) | 0 | 0; } - function $5($0, $0$hi) { - $0 = $0 | 0; + function $4($0_1, $0$hi) { + $0_1 = $0_1 | 0; $0$hi = $0$hi | 0; var i64toi32_i32$0 = 0; i64toi32_i32$0 = $0$hi; - return !($0 | i64toi32_i32$0 | 0) | 0; + return !($0_1 | i64toi32_i32$0 | 0) | 0; } - function $6($0) { - $0 = $0 | 0; - return Math_clz32($0) | 0; + function $5($0_1) { + $0_1 = $0_1 | 0; + return Math_clz32($0_1) | 0; } - function $7($0) { - $0 = $0 | 0; - return __wasm_ctz_i32($0 | 0) | 0 | 0; + function $6($0_1) { + $0_1 = $0_1 | 0; + return __wasm_ctz_i32($0_1 | 0) | 0 | 0; } - function $8($0, $0$hi, r, r$hi) { - $0 = $0 | 0; + function $7($0_1, $0$hi, r, r$hi) { + $0_1 = $0_1 | 0; $0$hi = $0$hi | 0; r = r | 0; r$hi = r$hi | 0; - var i64toi32_i32$3 = 0, i64toi32_i32$2 = 0, i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, $9_1 = 0, $3$hi = 0; + var i64toi32_i32$3 = 0, i64toi32_i32$2 = 0, i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, $9 = 0, $3$hi = 0; i64toi32_i32$0 = $0$hi; - i64toi32_i32$1 = $0; + i64toi32_i32$1 = $0_1; i64toi32_i32$3 = Math_clz32(i64toi32_i32$0); i64toi32_i32$2 = 0; if ((i64toi32_i32$3 | 0) == (32 | 0)) { - $9_1 = Math_clz32(i64toi32_i32$1) + 32 | 0 + $9 = Math_clz32(i64toi32_i32$1) + 32 | 0 } else { - $9_1 = i64toi32_i32$3 + $9 = i64toi32_i32$3 } $3$hi = i64toi32_i32$2; i64toi32_i32$2 = r$hi; i64toi32_i32$2 = $3$hi; - i64toi32_i32$1 = $9_1; + i64toi32_i32$1 = $9; i64toi32_i32$0 = r$hi; i64toi32_i32$3 = r; return (i64toi32_i32$1 | 0) == (i64toi32_i32$3 | 0) & (i64toi32_i32$2 | 0) == (i64toi32_i32$0 | 0) | 0 | 0; } - function $9($0, $0$hi, r, r$hi) { - $0 = $0 | 0; + function $8($0_1, $0$hi, r, r$hi) { + $0_1 = $0_1 | 0; $0$hi = $0$hi | 0; r = r | 0; r$hi = r$hi | 0; var i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, $3$hi = 0, i64toi32_i32$2 = 0; i64toi32_i32$0 = $0$hi; - i64toi32_i32$0 = __wasm_ctz_i64($0 | 0, i64toi32_i32$0 | 0) | 0; + i64toi32_i32$0 = __wasm_ctz_i64($0_1 | 0, i64toi32_i32$0 | 0) | 0; i64toi32_i32$1 = i64toi32_i32$HIGH_BITS; $3$hi = i64toi32_i32$1; i64toi32_i32$1 = r$hi; @@ -118,14 +118,14 @@ function asmFunc(imports) { return (i64toi32_i32$2 | 0) == (r | 0) & (i64toi32_i32$1 | 0) == (i64toi32_i32$0 | 0) | 0 | 0; } - function legalstub$2($0, $1_1, $2_1, $3_1) { - $0 = $0 | 0; + function legalstub$1($0_1, $1_1, $2_1, $3_1) { + $0_1 = $0_1 | 0; $1_1 = $1_1 | 0; $2_1 = $2_1 | 0; $3_1 = $3_1 | 0; - var i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $19 = 0, $20 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0, $9_1 = 0, $9$hi = 0, $11 = 0, $11$hi = 0, $14$hi = 0, $15 = 0, $15$hi = 0; + var i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $19 = 0, $20 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0, $9 = 0, $9$hi = 0, $11 = 0, $11$hi = 0, $14$hi = 0, $15 = 0, $15$hi = 0; i64toi32_i32$0 = 0; - $5_1 = $0; + $5_1 = $0_1; $5$hi = i64toi32_i32$0; i64toi32_i32$0 = 0; i64toi32_i32$2 = $1_1; @@ -145,7 +145,7 @@ function asmFunc(imports) { i64toi32_i32$2 = $8$hi; i64toi32_i32$3 = $19; i64toi32_i32$2 = i64toi32_i32$1 | i64toi32_i32$2 | 0; - $9_1 = i64toi32_i32$0 | i64toi32_i32$3 | 0; + $9 = i64toi32_i32$0 | i64toi32_i32$3 | 0; $9$hi = i64toi32_i32$2; i64toi32_i32$2 = 0; $11 = $2_1; @@ -172,15 +172,15 @@ function asmFunc(imports) { $15$hi = i64toi32_i32$1; i64toi32_i32$1 = $9$hi; i64toi32_i32$2 = $15$hi; - return $2($9_1 | 0, i64toi32_i32$1 | 0, $15 | 0, i64toi32_i32$2 | 0) | 0 | 0; + return $1($9 | 0, i64toi32_i32$1 | 0, $15 | 0, i64toi32_i32$2 | 0) | 0 | 0; } - function legalstub$3($0, $1_1, $2_1) { - $0 = $0 | 0; + function legalstub$2($0_1, $1_1, $2_1) { + $0_1 = $0_1 | 0; $1_1 = $1_1 | 0; $2_1 = $2_1 | 0; var i64toi32_i32$2 = 0, i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $12 = 0, $3_1 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0; - $3_1 = $0; + $3_1 = $0_1; i64toi32_i32$0 = 0; $5_1 = $1_1; $5$hi = i64toi32_i32$0; @@ -202,15 +202,15 @@ function asmFunc(imports) { i64toi32_i32$2 = $8$hi; i64toi32_i32$3 = $12; i64toi32_i32$2 = i64toi32_i32$1 | i64toi32_i32$2 | 0; - return $3($3_1 | 0, i64toi32_i32$0 | i64toi32_i32$3 | 0 | 0, i64toi32_i32$2 | 0) | 0 | 0; + return $2($3_1 | 0, i64toi32_i32$0 | i64toi32_i32$3 | 0 | 0, i64toi32_i32$2 | 0) | 0 | 0; } - function legalstub$4($0, $1_1, $2_1) { - $0 = $0 | 0; + function legalstub$3($0_1, $1_1, $2_1) { + $0_1 = $0_1 | 0; $1_1 = $1_1 | 0; $2_1 = $2_1 | 0; var i64toi32_i32$2 = 0, i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $12 = 0, $3_1 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0; - $3_1 = $0; + $3_1 = $0_1; i64toi32_i32$0 = 0; $5_1 = $1_1; $5$hi = i64toi32_i32$0; @@ -232,15 +232,15 @@ function asmFunc(imports) { i64toi32_i32$2 = $8$hi; i64toi32_i32$3 = $12; i64toi32_i32$2 = i64toi32_i32$1 | i64toi32_i32$2 | 0; - return $4($3_1 | 0, i64toi32_i32$0 | i64toi32_i32$3 | 0 | 0, i64toi32_i32$2 | 0) | 0 | 0; + return $3($3_1 | 0, i64toi32_i32$0 | i64toi32_i32$3 | 0 | 0, i64toi32_i32$2 | 0) | 0 | 0; } - function legalstub$5($0, $1_1) { - $0 = $0 | 0; + function legalstub$4($0_1, $1_1) { + $0_1 = $0_1 | 0; $1_1 = $1_1 | 0; var i64toi32_i32$2 = 0, i64toi32_i32$0 = 0, i64toi32_i32$1 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $10 = 0, $3_1 = 0, $3$hi = 0, $6$hi = 0; i64toi32_i32$0 = 0; - $3_1 = $0; + $3_1 = $0_1; $3$hi = i64toi32_i32$0; i64toi32_i32$0 = 0; i64toi32_i32$2 = $1_1; @@ -260,17 +260,17 @@ function asmFunc(imports) { i64toi32_i32$2 = $6$hi; i64toi32_i32$3 = $10; i64toi32_i32$2 = i64toi32_i32$1 | i64toi32_i32$2 | 0; - return $5(i64toi32_i32$0 | i64toi32_i32$3 | 0 | 0, i64toi32_i32$2 | 0) | 0 | 0; + return $4(i64toi32_i32$0 | i64toi32_i32$3 | 0 | 0, i64toi32_i32$2 | 0) | 0 | 0; } - function legalstub$8($0, $1_1, $2_1, $3_1) { - $0 = $0 | 0; + function legalstub$7($0_1, $1_1, $2_1, $3_1) { + $0_1 = $0_1 | 0; $1_1 = $1_1 | 0; $2_1 = $2_1 | 0; $3_1 = $3_1 | 0; - var i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $19 = 0, $20 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0, $9_1 = 0, $9$hi = 0, $11 = 0, $11$hi = 0, $14$hi = 0, $15 = 0, $15$hi = 0; + var i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $19 = 0, $20 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0, $9 = 0, $9$hi = 0, $11 = 0, $11$hi = 0, $14$hi = 0, $15 = 0, $15$hi = 0; i64toi32_i32$0 = 0; - $5_1 = $0; + $5_1 = $0_1; $5$hi = i64toi32_i32$0; i64toi32_i32$0 = 0; i64toi32_i32$2 = $1_1; @@ -290,7 +290,7 @@ function asmFunc(imports) { i64toi32_i32$2 = $8$hi; i64toi32_i32$3 = $19; i64toi32_i32$2 = i64toi32_i32$1 | i64toi32_i32$2 | 0; - $9_1 = i64toi32_i32$0 | i64toi32_i32$3 | 0; + $9 = i64toi32_i32$0 | i64toi32_i32$3 | 0; $9$hi = i64toi32_i32$2; i64toi32_i32$2 = 0; $11 = $2_1; @@ -317,17 +317,17 @@ function asmFunc(imports) { $15$hi = i64toi32_i32$1; i64toi32_i32$1 = $9$hi; i64toi32_i32$2 = $15$hi; - return $8($9_1 | 0, i64toi32_i32$1 | 0, $15 | 0, i64toi32_i32$2 | 0) | 0 | 0; + return $7($9 | 0, i64toi32_i32$1 | 0, $15 | 0, i64toi32_i32$2 | 0) | 0 | 0; } - function legalstub$9($0, $1_1, $2_1, $3_1) { - $0 = $0 | 0; + function legalstub$8($0_1, $1_1, $2_1, $3_1) { + $0_1 = $0_1 | 0; $1_1 = $1_1 | 0; $2_1 = $2_1 | 0; $3_1 = $3_1 | 0; - var i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $19 = 0, $20 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0, $9_1 = 0, $9$hi = 0, $11 = 0, $11$hi = 0, $14$hi = 0, $15 = 0, $15$hi = 0; + var i64toi32_i32$2 = 0, i64toi32_i32$1 = 0, i64toi32_i32$0 = 0, i64toi32_i32$4 = 0, i64toi32_i32$3 = 0, $19 = 0, $20 = 0, $5_1 = 0, $5$hi = 0, $8$hi = 0, $9 = 0, $9$hi = 0, $11 = 0, $11$hi = 0, $14$hi = 0, $15 = 0, $15$hi = 0; i64toi32_i32$0 = 0; - $5_1 = $0; + $5_1 = $0_1; $5$hi = i64toi32_i32$0; i64toi32_i32$0 = 0; i64toi32_i32$2 = $1_1; @@ -347,7 +347,7 @@ function asmFunc(imports) { i64toi32_i32$2 = $8$hi; i64toi32_i32$3 = $19; i64toi32_i32$2 = i64toi32_i32$1 | i64toi32_i32$2 | 0; - $9_1 = i64toi32_i32$0 | i64toi32_i32$3 | 0; + $9 = i64toi32_i32$0 | i64toi32_i32$3 | 0; $9$hi = i64toi32_i32$2; i64toi32_i32$2 = 0; $11 = $2_1; @@ -374,7 +374,7 @@ function asmFunc(imports) { $15$hi = i64toi32_i32$1; i64toi32_i32$1 = $9$hi; i64toi32_i32$2 = $15$hi; - return $9($9_1 | 0, i64toi32_i32$1 | 0, $15 | 0, i64toi32_i32$2 | 0) | 0 | 0; + return $8($9 | 0, i64toi32_i32$1 | 0, $15 | 0, i64toi32_i32$2 | 0) | 0 | 0; } function __wasm_ctz_i32(var$0) { @@ -500,15 +500,15 @@ function asmFunc(imports) { } return { - "i32_popcnt": $1, - "check_popcnt_i64": legalstub$2, - "check_extend_ui32": legalstub$3, - "check_extend_si32": legalstub$4, - "check_eqz_i64": legalstub$5, - "i32_clz": $6, - "i32_ctz": $7, - "check_clz_i64": legalstub$8, - "check_ctz_i64": legalstub$9 + "i32_popcnt": $0, + "check_popcnt_i64": legalstub$1, + "check_extend_ui32": legalstub$2, + "check_extend_si32": legalstub$3, + "check_eqz_i64": legalstub$4, + "i32_clz": $5, + "i32_ctz": $6, + "check_clz_i64": legalstub$7, + "check_ctz_i64": legalstub$8 }; } |