diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-09 10:55:04 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-09 10:55:04 -0700 |
commit | f03404e14317b79e47d11300ab21f8e92036fa85 (patch) | |
tree | 03ad5fb4972551ef7efa6632314d3b9743cb66f2 /test/emcc_hello_world.fromasm.imprecise | |
parent | 98a76440fa47c784b3e425aa3ae4d3a3bad05f25 (diff) | |
download | binaryen-f03404e14317b79e47d11300ab21f8e92036fa85.tar.gz binaryen-f03404e14317b79e47d11300ab21f8e92036fa85.tar.bz2 binaryen-f03404e14317b79e47d11300ab21f8e92036fa85.zip |
fold eqz+comparisons
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index fbc9c0d0e..75ec71e5d 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -28142,11 +28142,9 @@ ) (loop $while-out$0 $while-in$1 (br_if $while-out$0 - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $unaligned) - ) + (i32.ge_s + (get_local $ptr) + (get_local $unaligned) ) ) (i32.store8 @@ -28165,11 +28163,9 @@ ) (loop $while-out$2 $while-in$3 (br_if $while-out$2 - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $stop4) - ) + (i32.ge_s + (get_local $ptr) + (get_local $stop4) ) ) (i32.store @@ -28188,11 +28184,9 @@ ) (loop $while-out$4 $while-in$5 (br_if $while-out$4 - (i32.eqz - (i32.lt_s - (get_local $ptr) - (get_local $stop) - ) + (i32.ge_s + (get_local $ptr) + (get_local $stop) ) ) (i32.store8 @@ -28412,11 +28406,9 @@ ) (loop $while-out$2 $while-in$3 (br_if $while-out$2 - (i32.eqz - (i32.ge_s - (get_local $num) - (i32.const 4) - ) + (i32.lt_s + (get_local $num) + (i32.const 4) ) ) (i32.store @@ -28449,11 +28441,9 @@ ) (loop $while-out$4 $while-in$5 (br_if $while-out$4 - (i32.eqz - (i32.gt_s - (get_local $num) - (i32.const 0) - ) + (i32.le_s + (get_local $num) + (i32.const 0) ) ) (i32.store8 |