diff options
Diffstat (limited to 'test/wasm2js')
-rw-r--r-- | test/wasm2js/bulk-memory.2asm.js.opt | 2 | ||||
-rw-r--r-- | test/wasm2js/i64-add-sub.2asm.js.opt | 2 | ||||
-rw-r--r-- | test/wasm2js/i64-ctz.2asm.js.opt | 2 | ||||
-rw-r--r-- | test/wasm2js/i64-rotate.2asm.js.opt | 16 | ||||
-rw-r--r-- | test/wasm2js/i64-shifts.2asm.js.opt | 4 | ||||
-rw-r--r-- | test/wasm2js/unary-ops.2asm.js.opt | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/test/wasm2js/bulk-memory.2asm.js.opt b/test/wasm2js/bulk-memory.2asm.js.opt index 6616ef8f1..2003ea126 100644 --- a/test/wasm2js/bulk-memory.2asm.js.opt +++ b/test/wasm2js/bulk-memory.2asm.js.opt @@ -375,7 +375,7 @@ function asmFunc(global, env, buffer) { } function $1() { - if (0 > __wasm_memory_size() << 16 >>> 0) { + if (__wasm_memory_size() << 16 >>> 0 < 0) { abort() } } diff --git a/test/wasm2js/i64-add-sub.2asm.js.opt b/test/wasm2js/i64-add-sub.2asm.js.opt index 4913c4587..6d00c9321 100644 --- a/test/wasm2js/i64-add-sub.2asm.js.opt +++ b/test/wasm2js/i64-add-sub.2asm.js.opt @@ -21,7 +21,7 @@ function asmFunc(global, env) { $5 = $5 | 0; $1_1 = $1_1 + $3 | 0; $0 = $0 + $2 | 0; - if ($0 >>> 0 < $2 >>> 0) { + if ($2 >>> 0 > $0 >>> 0) { $1_1 = $1_1 + 1 | 0 } return ($0 | 0) == ($4 | 0) & ($1_1 | 0) == ($5 | 0); diff --git a/test/wasm2js/i64-ctz.2asm.js.opt b/test/wasm2js/i64-ctz.2asm.js.opt index caadb1516..4cb4f79ff 100644 --- a/test/wasm2js/i64-ctz.2asm.js.opt +++ b/test/wasm2js/i64-ctz.2asm.js.opt @@ -39,7 +39,7 @@ function asmFunc(global, env) { $0 = Math_clz32($1 ^ $3); $0 = ($0 | 0) == 32 ? $2 : $0; $1 = 63 - $0 | 0; - i64toi32_i32$HIGH_BITS = 0 - (63 < $0 >>> 0) | 0; + i64toi32_i32$HIGH_BITS = 0 - ($0 >>> 0 > 63) | 0; return $1; } i64toi32_i32$HIGH_BITS = 0; diff --git a/test/wasm2js/i64-rotate.2asm.js.opt b/test/wasm2js/i64-rotate.2asm.js.opt index a024ec830..4eb245df5 100644 --- a/test/wasm2js/i64-rotate.2asm.js.opt +++ b/test/wasm2js/i64-rotate.2asm.js.opt @@ -26,7 +26,7 @@ function asmFunc(global, env) { $6 = $2 & 63; $5 = $6; $3 = $5 & 31; - if (32 <= $5 >>> 0) { + if ($5 >>> 0 >= 32) { $3 = -1 >>> $3 | 0 } else { $4 = -1 >>> $3 | 0; @@ -35,7 +35,7 @@ function asmFunc(global, env) { $5 = $3 & $0; $3 = $1 & $4; $4 = $6 & 31; - if (32 <= $6 >>> 0) { + if ($6 >>> 0 >= 32) { $3 = $5 << $4; $6 = 0; } else { @@ -46,7 +46,7 @@ function asmFunc(global, env) { $4 = 0 - $2 & 63; $3 = $4; $2 = $3 & 31; - if (32 <= $3 >>> 0) { + if ($3 >>> 0 >= 32) { $3 = -1 << $2; $2 = 0; } else { @@ -56,7 +56,7 @@ function asmFunc(global, env) { $0 = $2 & $0; $3 = $1 & $3; $1 = $4 & 31; - if (32 <= $4 >>> 0) { + if ($4 >>> 0 >= 32) { $2 = 0; $0 = $3 >>> $1 | 0; } else { @@ -72,7 +72,7 @@ function asmFunc(global, env) { var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; $6 = $2 & 63; $3 = $6 & 31; - if (32 <= $6 >>> 0) { + if ($6 >>> 0 >= 32) { $4 = -1 << $3; $7 = 0; } else { @@ -82,7 +82,7 @@ function asmFunc(global, env) { $7 = $7 & $0; $3 = $1 & $4; $5 = $6 & 31; - if (32 <= $6 >>> 0) { + if ($6 >>> 0 >= 32) { $4 = 0; $6 = $3 >>> $5 | 0; } else { @@ -92,7 +92,7 @@ function asmFunc(global, env) { $7 = $4; $3 = 0 - $2 & 63; $5 = $3 & 31; - if (32 <= $3 >>> 0) { + if ($3 >>> 0 >= 32) { $4 = 0; $2 = -1 >>> $5 | 0; } else { @@ -102,7 +102,7 @@ function asmFunc(global, env) { $0 = $2 & $0; $1 = $1 & $4; $4 = $3 & 31; - if (32 <= $3 >>> 0) { + if ($3 >>> 0 >= 32) { $2 = $0 << $4; $0 = 0; } else { diff --git a/test/wasm2js/i64-shifts.2asm.js.opt b/test/wasm2js/i64-shifts.2asm.js.opt index b04fc3b8f..54cc05097 100644 --- a/test/wasm2js/i64-shifts.2asm.js.opt +++ b/test/wasm2js/i64-shifts.2asm.js.opt @@ -20,7 +20,7 @@ function asmFunc(global, env) { $4 = $4 | 0; var $5 = 0; $5 = $2_1 & 31; - if (32 <= ($2_1 & 63) >>> 0) { + if (($2_1 & 63) >>> 0 >= 32) { $1_1 = $0 << $5; $0 = 0; } else { @@ -38,7 +38,7 @@ function asmFunc(global, env) { $4 = $4 | 0; var $5 = 0; $5 = $2_1 & 31; - if (32 <= ($2_1 & 63) >>> 0) { + if (($2_1 & 63) >>> 0 >= 32) { $2_1 = $1_1 >> 31; $0 = $1_1 >> $5; } else { diff --git a/test/wasm2js/unary-ops.2asm.js.opt b/test/wasm2js/unary-ops.2asm.js.opt index 8922b6fb7..9bda50800 100644 --- a/test/wasm2js/unary-ops.2asm.js.opt +++ b/test/wasm2js/unary-ops.2asm.js.opt @@ -80,7 +80,7 @@ function asmFunc(global, env) { $0 = Math_clz32($1_1 ^ $3); $0 = ($0 | 0) == 32 ? $2 : $0; $1_1 = 63 - $0 | 0; - i64toi32_i32$HIGH_BITS = 0 - (63 < $0 >>> 0) | 0; + i64toi32_i32$HIGH_BITS = 0 - ($0 >>> 0 > 63) | 0; return $1_1; } i64toi32_i32$HIGH_BITS = 0; |