summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise100
1 files changed, 32 insertions, 68 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 70f3b96a3..a1d4e7d98 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -571,18 +571,12 @@
(br $do-once)
)
)
- (set_local $1
- (call $___fflush_unlocked
- (get_local $0)
- )
- )
- (set_local $2
- (i32.eqz
- (i32.const 0)
- )
- )
(set_local $0
- (get_local $1)
+ (tee_local $1
+ (call $___fflush_unlocked
+ (get_local $0)
+ )
+ )
)
)
(block
@@ -609,18 +603,6 @@
)
)
(loop $while-in
- (set_local $2
- (select
- (i32.const 0)
- (i32.const 0)
- (i32.gt_s
- (i32.load offset=76
- (get_local $1)
- )
- (i32.const -1)
- )
- )
- )
(if
(i32.gt_u
(i32.load offset=20
@@ -1135,18 +1117,6 @@
)
(i32.const -1)
(block (result i32)
- (set_local $14
- (select
- (i32.const 0)
- (i32.const 0)
- (i32.gt_s
- (i32.load offset=76
- (get_local $0)
- )
- (i32.const -1)
- )
- )
- )
(set_local $10
(i32.load
(get_local $0)
@@ -3636,43 +3606,40 @@
(get_local $26)
)
)
- (set_local $5
- (if (result i32)
- (i32.and
+ (if
+ (i32.and
+ (get_local $11)
+ (i32.const 8)
+ )
+ (block
+ (set_local $7
(get_local $11)
- (i32.const 8)
)
- (block (result i32)
- (set_local $7
- (get_local $11)
- )
- (set_local $6
- (select
- (tee_local $11
- (i32.add
- (i32.sub
- (get_local $39)
- (get_local $8)
- )
- (i32.const 1)
+ (set_local $6
+ (select
+ (tee_local $11
+ (i32.add
+ (i32.sub
+ (get_local $39)
+ (get_local $8)
)
+ (i32.const 1)
)
+ )
+ (get_local $6)
+ (i32.lt_s
(get_local $6)
- (i32.lt_s
- (get_local $6)
- (get_local $11)
- )
+ (get_local $11)
)
)
- (get_local $8)
- )
- (block (result i32)
- (set_local $7
- (get_local $11)
- )
- (get_local $8)
)
)
+ (set_local $7
+ (get_local $11)
+ )
+ )
+ (set_local $5
+ (get_local $8)
)
(set_local $8
(i32.const 0)
@@ -3966,9 +3933,7 @@
(f64.mul
(call $_frexp
(get_local $15)
- (tee_local $5
- (get_local $20)
- )
+ (get_local $20)
)
(f64.const 2)
)
@@ -6457,7 +6422,6 @@
)
)
)
- (br $__rjti$8)
)
(block
(set_local $5
@@ -6469,9 +6433,9 @@
(set_local $9
(i32.const 4091)
)
- (br $__rjti$8)
)
)
+ (br $__rjti$8)
)
(set_local $5
(call $_fmt_u