Notes on unary EQZ in compileBinary EQ

This commit is contained in:
dcodeIO
2018-01-02 23:20:57 +01:00
parent f507fc8168
commit fb2b7aa96b
4 changed files with 47 additions and 63 deletions

View File

@ -154,18 +154,18 @@
)
)
(block
(set_local $4
(i64.shl
(get_local $4)
(i64.const 1)
)
)
(set_local $3
(i32.sub
(get_local $3)
(i32.const 1)
)
)
(set_local $4
(i64.shl
(get_local $4)
(i64.const 1)
)
)
(br $continue|0)
)
)
@ -211,18 +211,18 @@
)
)
(block
(set_local $4
(i64.shl
(get_local $4)
(i64.const 1)
)
)
(set_local $6
(i32.sub
(get_local $6)
(i32.const 1)
)
)
(set_local $4
(i64.shl
(get_local $4)
(i64.const 1)
)
)
(br $continue|1)
)
)
@ -332,18 +332,18 @@
)
)
(block
(set_local $2
(i64.shl
(get_local $2)
(i64.const 1)
)
)
(set_local $3
(i32.sub
(get_local $3)
(i32.const 1)
)
)
(set_local $2
(i64.shl
(get_local $2)
(i64.const 1)
)
)
(br $continue|3)
)
)