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.imprecise118
1 files changed, 47 insertions, 71 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 2cd23ba1d..2e35d2a56 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -325,7 +325,7 @@
)
)
(if
- (i32.load8_s
+ (i32.load8_u
(get_local $0)
)
(block
@@ -1468,7 +1468,7 @@
)
(if
(i32.ne
- (i32.load8_s
+ (i32.load8_u
(i32.add
(get_local $0)
(tee_local $6
@@ -1864,15 +1864,12 @@
(loop $while-in
(if
(i32.eq
- (i32.load8_s
+ (i32.load8_u
(get_local $2)
)
- (i32.shr_s
- (i32.shl
- (get_local $4)
- (i32.const 24)
- )
- (i32.const 24)
+ (i32.and
+ (get_local $4)
+ (i32.const 255)
)
)
(block
@@ -1941,20 +1938,17 @@
)
(if
(i32.ne
- (i32.load8_s
+ (i32.load8_u
(get_local $2)
)
- (i32.shr_s
- (i32.shl
- (tee_local $1
- (i32.and
- (get_local $1)
- (i32.const 255)
- )
+ (i32.and
+ (tee_local $1
+ (i32.and
+ (get_local $1)
+ (i32.const 255)
)
- (i32.const 24)
)
- (i32.const 24)
+ (i32.const 255)
)
)
(block
@@ -2035,15 +2029,12 @@
(loop $while-in5
(br_if $label$break$L8
(i32.eq
- (i32.load8_s
+ (i32.load8_u
(get_local $2)
)
- (i32.shr_s
- (i32.shl
- (get_local $1)
- (i32.const 24)
- )
- (i32.const 24)
+ (i32.and
+ (get_local $1)
+ (i32.const 255)
)
)
)
@@ -2456,16 +2447,13 @@
)
(br_if $__rjti$9
(i32.eqz
- (i32.shr_s
- (i32.shl
- (tee_local $7
- (i32.load8_s
- (get_local $5)
- )
+ (i32.and
+ (tee_local $7
+ (i32.load8_s
+ (get_local $5)
)
- (i32.const 24)
)
- (i32.const 24)
+ (i32.const 255)
)
)
)
@@ -2520,7 +2508,7 @@
(loop $while-in
(br_if $label$break$L12
(i32.ne
- (i32.load8_s offset=1
+ (i32.load8_u offset=1
(get_local $6)
)
(i32.const 37)
@@ -2534,7 +2522,7 @@
)
(br_if $while-in
(i32.eq
- (i32.load8_s
+ (i32.load8_u
(tee_local $6
(i32.add
(get_local $6)
@@ -2626,7 +2614,7 @@
(get_local $10)
(tee_local $11
(i32.eq
- (i32.load8_s offset=2
+ (i32.load8_u offset=2
(get_local $6)
)
(i32.const 36)
@@ -2771,12 +2759,9 @@
(block $do-once5
(if
(i32.eq
- (i32.shr_s
- (i32.shl
- (get_local $6)
- (i32.const 24)
- )
- (i32.const 24)
+ (i32.and
+ (get_local $6)
+ (i32.const 255)
)
(i32.const 42)
)
@@ -2804,7 +2789,7 @@
)
(br_if $__rjti$0
(i32.ne
- (i32.load8_s offset=2
+ (i32.load8_u offset=2
(get_local $10)
)
(i32.const 36)
@@ -3036,7 +3021,7 @@
(set_local $6
(if i32
(i32.eq
- (i32.load8_s
+ (i32.load8_u
(get_local $10)
)
(i32.const 46)
@@ -3044,21 +3029,18 @@
(block i32
(if
(i32.ne
- (i32.shr_s
- (i32.shl
- (tee_local $8
- (i32.load8_s
- (tee_local $6
- (i32.add
- (get_local $10)
- (i32.const 1)
- )
+ (i32.and
+ (tee_local $8
+ (i32.load8_s
+ (tee_local $6
+ (i32.add
+ (get_local $10)
+ (i32.const 1)
)
)
)
- (i32.const 24)
)
- (i32.const 24)
+ (i32.const 255)
)
(i32.const 42)
)
@@ -3157,7 +3139,7 @@
)
(if
(i32.eq
- (i32.load8_s offset=3
+ (i32.load8_u offset=3
(get_local $10)
)
(i32.const 36)
@@ -3327,12 +3309,9 @@
)
(if
(i32.eqz
- (i32.shr_s
- (i32.shl
- (get_local $13)
- (i32.const 24)
- )
- (i32.const 24)
+ (i32.and
+ (get_local $13)
+ (i32.const 255)
)
)
(block
@@ -3352,12 +3331,9 @@
(block $__rjti$2
(if
(i32.eq
- (i32.shr_s
- (i32.shl
- (get_local $13)
- (i32.const 24)
- )
- (i32.const 24)
+ (i32.and
+ (get_local $13)
+ (i32.const 255)
)
(i32.const 19)
)
@@ -4210,7 +4186,7 @@
(get_local $15)
)
(i32.eq
- (i32.load8_s
+ (i32.load8_u
(get_local $9)
)
(i32.const 45)
@@ -5249,7 +5225,7 @@
(block
(br_if $do-once83
(i32.ne
- (i32.load8_s
+ (i32.load8_u
(get_local $31)
)
(i32.const 45)