diff options
author | Max Graey <maxgraey@gmail.com> | 2020-10-31 01:06:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 16:06:30 -0700 |
commit | 45f808c58c752b1b146b71b9d6e9e30758a808c2 (patch) | |
tree | eff7856c5e811904bf5064f8b853b3bcb3652af5 /test/wasm2js/i64-rotate.2asm.js.opt | |
parent | ebaddfbd09359a9de6424e0c302255b8f8caf6f6 (diff) | |
download | binaryen-45f808c58c752b1b146b71b9d6e9e30758a808c2.tar.gz binaryen-45f808c58c752b1b146b71b9d6e9e30758a808c2.tar.bz2 binaryen-45f808c58c752b1b146b71b9d6e9e30758a808c2.zip |
Canonicalize relationals as well (#3303)
Diffstat (limited to 'test/wasm2js/i64-rotate.2asm.js.opt')
-rw-r--r-- | test/wasm2js/i64-rotate.2asm.js.opt | 16 |
1 files changed, 8 insertions, 8 deletions
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 { |