mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-03-14 18:50:52 +00:00
Update gas expectations.
This commit is contained in:
parent
0cf7daa9e5
commit
b3f8f62105
@ -4,11 +4,9 @@
|
||||
(import "env" "gas" (func (;0;) (type 1)))
|
||||
(func (;1;) (type 0) (result i32)
|
||||
(local i32 i32)
|
||||
i32.const 3
|
||||
i32.const 13
|
||||
call 0
|
||||
block ;; label = @1
|
||||
i32.const 17
|
||||
call 0
|
||||
i32.const 0
|
||||
set_local 0
|
||||
i32.const 1
|
||||
@ -20,6 +18,8 @@
|
||||
set_local 1
|
||||
i32.const 1
|
||||
br_if 0 (;@1;)
|
||||
i32.const 5
|
||||
call 0
|
||||
get_local 0
|
||||
get_local 1
|
||||
tee_local 0
|
||||
|
@ -4,7 +4,7 @@
|
||||
(import "env" "gas" (func (;0;) (type 1)))
|
||||
(func (;1;) (type 0) (param i32 i32) (result i32)
|
||||
(local i32)
|
||||
i32.const 6
|
||||
i32.const 5
|
||||
call 0
|
||||
get_local 0
|
||||
get_local 1
|
||||
@ -12,7 +12,7 @@
|
||||
set_local 2
|
||||
get_local 2)
|
||||
(func (;2;) (type 0) (param i32 i32) (result i32)
|
||||
i32.const 4
|
||||
i32.const 3
|
||||
call 0
|
||||
get_local 0
|
||||
get_local 1
|
||||
|
@ -3,17 +3,17 @@
|
||||
(type (;1;) (func (param i32)))
|
||||
(import "env" "gas" (func (;0;) (type 1)))
|
||||
(func (;1;) (type 0) (param i32) (result i32)
|
||||
i32.const 3
|
||||
i32.const 2
|
||||
call 0
|
||||
i32.const 1
|
||||
if (result i32) ;; label = @1
|
||||
i32.const 4
|
||||
i32.const 3
|
||||
call 0
|
||||
get_local 0
|
||||
i32.const 1
|
||||
i32.add
|
||||
else
|
||||
i32.const 3
|
||||
i32.const 2
|
||||
call 0
|
||||
get_local 0
|
||||
i32.popcnt
|
||||
|
@ -3,24 +3,22 @@
|
||||
(type (;1;) (func (param i32)))
|
||||
(import "env" "gas" (func (;0;) (type 1)))
|
||||
(func (;1;) (type 0)
|
||||
i32.const 3
|
||||
i32.const 2
|
||||
call 0
|
||||
i32.const 1
|
||||
if ;; label = @1
|
||||
i32.const 2
|
||||
i32.const 1
|
||||
call 0
|
||||
loop ;; label = @2
|
||||
i32.const 3
|
||||
i32.const 2
|
||||
call 0
|
||||
i32.const 123
|
||||
drop
|
||||
end
|
||||
end)
|
||||
(func (;2;) (type 0)
|
||||
i32.const 2
|
||||
i32.const 1
|
||||
call 0
|
||||
block ;; label = @1
|
||||
i32.const 1
|
||||
call 0
|
||||
end)
|
||||
(export "simple" (func 1)))
|
||||
|
@ -6,15 +6,13 @@
|
||||
(import "env" "memory" (memory (;0;) 1 1))
|
||||
(import "env" "gas" (func (;1;) (type 2)))
|
||||
(func (;2;) (type 1)
|
||||
i32.const 5
|
||||
i32.const 4
|
||||
call 1
|
||||
i32.const 8
|
||||
i32.const 4
|
||||
call 0
|
||||
unreachable)
|
||||
(func (;3;) (type 1)
|
||||
i32.const 1
|
||||
call 1)
|
||||
(func (;3;) (type 1))
|
||||
(export "call" (func 3))
|
||||
(start 2)
|
||||
(data (i32.const 8) "\01\02\03\04"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user