Fix unsigned ops; Fix parenthesized conversion; Minor restructure

This commit is contained in:
dcodeIO
2017-12-11 18:46:11 +01:00
parent b5ffaf36cd
commit b5cc2f9924
24 changed files with 1062 additions and 79 deletions

View File

@ -19,7 +19,7 @@
(tee_local $3
(get_local $2)
)
(i32.rem_s
(i32.rem_u
(get_local $1)
(i32.const 4)
)
@ -62,7 +62,7 @@
)
(if
(i32.eqz
(i32.rem_s
(i32.rem_u
(get_local $4)
(i32.const 4)
)
@ -70,7 +70,7 @@
(block
(loop $continue|1
(if
(i32.ge_s
(i32.ge_u
(get_local $2)
(i32.const 16)
)
@ -247,7 +247,7 @@
)
)
(if
(i32.ge_s
(i32.ge_u
(get_local $2)
(i32.const 32)
)
@ -258,7 +258,7 @@
(block $tablify|0
(br_table $case0|2 $case1|2 $case2|2 $tablify|0
(i32.sub
(i32.rem_s
(i32.rem_u
(get_local $4)
(i32.const 4)
)
@ -353,7 +353,7 @@
)
(loop $continue|3
(if
(i32.ge_s
(i32.ge_u
(get_local $2)
(i32.const 17)
)
@ -532,7 +532,7 @@
)
(loop $continue|4
(if
(i32.ge_s
(i32.ge_u
(get_local $2)
(i32.const 18)
)
@ -687,7 +687,7 @@
)
(loop $continue|5
(if
(i32.ge_s
(i32.ge_u
(get_local $2)
(i32.const 19)
)