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.imprecise90
1 files changed, 45 insertions, 45 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 22878e91f..1fa81ba43 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -322,7 +322,7 @@
)
)
(if
- (i32.load8_u
+ (i32.load8_s
(get_local $0)
)
(block
@@ -1465,7 +1465,7 @@
)
(if
(i32.ne
- (i32.load8_u
+ (i32.load8_s
(i32.add
(get_local $0)
(tee_local $6
@@ -1861,12 +1861,15 @@
(loop $while-in
(if
(i32.eq
- (i32.load8_u
+ (i32.load8_s
(get_local $2)
)
- (i32.and
- (get_local $4)
- (i32.const 255)
+ (i32.shr_s
+ (i32.shl
+ (get_local $4)
+ (i32.const 24)
+ )
+ (i32.const 24)
)
)
(block
@@ -1935,14 +1938,20 @@
)
(if
(i32.ne
- (i32.load8_u
+ (i32.load8_s
(get_local $2)
)
- (tee_local $1
- (i32.and
- (get_local $1)
- (i32.const 255)
+ (i32.shr_s
+ (i32.shl
+ (tee_local $1
+ (i32.and
+ (get_local $1)
+ (i32.const 255)
+ )
+ )
+ (i32.const 24)
)
+ (i32.const 24)
)
)
(block
@@ -2023,12 +2032,15 @@
(loop $while-in5
(br_if $label$break$L8
(i32.eq
- (i32.load8_u
+ (i32.load8_s
(get_local $2)
)
- (i32.and
- (get_local $1)
- (i32.const 255)
+ (i32.shr_s
+ (i32.shl
+ (get_local $1)
+ (i32.const 24)
+ )
+ (i32.const 24)
)
)
)
@@ -2441,13 +2453,10 @@
)
(br_if $__rjti$9
(i32.eqz
- (i32.and
- (tee_local $7
- (i32.load8_s
- (get_local $5)
- )
+ (tee_local $7
+ (i32.load8_s
+ (get_local $5)
)
- (i32.const 255)
)
)
)
@@ -2499,7 +2508,7 @@
(loop $while-in
(br_if $label$break$L12
(i32.ne
- (i32.load8_u offset=1
+ (i32.load8_s offset=1
(get_local $6)
)
(i32.const 37)
@@ -2513,7 +2522,7 @@
)
(br_if $while-in
(i32.eq
- (i32.load8_u
+ (i32.load8_s
(tee_local $6
(i32.add
(get_local $6)
@@ -2599,7 +2608,7 @@
(get_local $10)
(tee_local $11
(i32.eq
- (i32.load8_u offset=2
+ (i32.load8_s offset=2
(get_local $6)
)
(i32.const 36)
@@ -2768,7 +2777,7 @@
)
(br_if $__rjti$0
(i32.ne
- (i32.load8_u offset=2
+ (i32.load8_s offset=2
(get_local $10)
)
(i32.const 36)
@@ -3000,7 +3009,7 @@
(set_local $6
(if i32
(i32.eq
- (i32.load8_u
+ (i32.load8_s
(get_local $10)
)
(i32.const 46)
@@ -3008,18 +3017,15 @@
(block i32
(if
(i32.ne
- (i32.and
- (tee_local $8
- (i32.load8_s
- (tee_local $6
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ (tee_local $8
+ (i32.load8_s
+ (tee_local $6
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
)
- (i32.const 255)
)
(i32.const 42)
)
@@ -3028,13 +3034,7 @@
(i32.lt_u
(tee_local $9
(i32.add
- (i32.shr_s
- (i32.shl
- (get_local $8)
- (i32.const 24)
- )
- (i32.const 24)
- )
+ (get_local $8)
(i32.const -48)
)
)
@@ -3118,7 +3118,7 @@
)
(if
(i32.eq
- (i32.load8_u offset=3
+ (i32.load8_s offset=3
(get_local $10)
)
(i32.const 36)
@@ -4162,7 +4162,7 @@
(get_local $15)
)
(i32.eq
- (i32.load8_u
+ (i32.load8_s
(get_local $9)
)
(i32.const 45)
@@ -5198,7 +5198,7 @@
(block
(br_if $do-once83
(i32.ne
- (i32.load8_u
+ (i32.load8_s
(get_local $31)
)
(i32.const 45)