summaryrefslogtreecommitdiff
path: root/test/memorygrowth.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/memorygrowth.fromasm.imprecise')
-rw-r--r--test/memorygrowth.fromasm.imprecise90
1 files changed, 45 insertions, 45 deletions
diff --git a/test/memorygrowth.fromasm.imprecise b/test/memorygrowth.fromasm.imprecise
index 7a2dd39a7..a6af9df0e 100644
--- a/test/memorygrowth.fromasm.imprecise
+++ b/test/memorygrowth.fromasm.imprecise
@@ -8282,23 +8282,20 @@
(i32.const 5)
)
(block
- (set_local $4
- (tee_local $3
- (i32.load
- (tee_local $5
- (i32.add
- (get_local $2)
- (i32.const 20)
- )
- )
- )
- )
- )
(if
(i32.lt_u
(i32.sub
(get_local $6)
- (get_local $3)
+ (tee_local $3
+ (i32.load
+ (tee_local $5
+ (i32.add
+ (get_local $2)
+ (i32.const 20)
+ )
+ )
+ )
+ )
)
(get_local $1)
)
@@ -8322,6 +8319,9 @@
(br $label$break$a)
)
)
+ (set_local $4
+ (get_local $3)
+ )
(set_local $1
(block $label$break$b i32
(if i32
@@ -9178,7 +9178,6 @@
(local $3 i32)
(local $4 i32)
(local $5 i32)
- (local $6 i32)
(set_local $4
(i32.add
(get_local $0)
@@ -9191,36 +9190,10 @@
(i32.const 20)
)
(block
- (set_local $5
- (i32.or
- (i32.or
- (i32.or
- (tee_local $1
- (i32.and
- (get_local $1)
- (i32.const 255)
- )
- )
- (i32.shl
- (get_local $1)
- (i32.const 8)
- )
- )
- (i32.shl
- (get_local $1)
- (i32.const 16)
- )
- )
- (i32.shl
- (get_local $1)
- (i32.const 24)
- )
- )
- )
- (set_local $6
+ (set_local $1
(i32.and
- (get_local $4)
- (i32.const -4)
+ (get_local $1)
+ (i32.const 255)
)
)
(if
@@ -9263,16 +9236,43 @@
)
)
)
+ (set_local $3
+ (i32.or
+ (i32.or
+ (i32.or
+ (get_local $1)
+ (i32.shl
+ (get_local $1)
+ (i32.const 8)
+ )
+ )
+ (i32.shl
+ (get_local $1)
+ (i32.const 16)
+ )
+ )
+ (i32.shl
+ (get_local $1)
+ (i32.const 24)
+ )
+ )
+ )
+ (set_local $5
+ (i32.and
+ (get_local $4)
+ (i32.const -4)
+ )
+ )
(loop $while-in1
(if
(i32.lt_s
(get_local $0)
- (get_local $6)
+ (get_local $5)
)
(block
(i32.store
(get_local $0)
- (get_local $5)
+ (get_local $3)
)
(set_local $0
(i32.add