mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-15 07:51:32 +00:00
Add SIMD prerequisites (#469)
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
(module
|
||||
(type $iv (func (param i32)))
|
||||
(type $iiiiv (func (param i32 i32 i32 i32)))
|
||||
(type $v (func))
|
||||
(type $i_ (func (param i32)))
|
||||
(type $iiii_ (func (param i32 i32 i32 i32)))
|
||||
(type $_ (func))
|
||||
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\15\00\00\00s\00t\00d\00/\00g\00c\00-\00i\00n\00t\00e\00g\00r\00a\00t\00i\00o\00n\00.\00t\00s")
|
||||
@ -14,7 +14,7 @@
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(start $start)
|
||||
(func $start~anonymous|1 (; 1 ;) (type $iv) (param $0 i32)
|
||||
(func $start~anonymous|1 (; 1 ;) (type $i_) (param $0 i32)
|
||||
global.get $std/gc-integration/i
|
||||
i32.const 1
|
||||
i32.add
|
||||
@ -33,19 +33,19 @@
|
||||
unreachable
|
||||
end
|
||||
)
|
||||
(func $start (; 2 ;) (type $v)
|
||||
(func $start (; 2 ;) (type $_)
|
||||
i32.const 8
|
||||
i32.const 1
|
||||
call_indirect (type $iv)
|
||||
call_indirect (type $i_)
|
||||
global.get $std/gc-integration/B.d
|
||||
i32.const 1
|
||||
call_indirect (type $iv)
|
||||
call_indirect (type $i_)
|
||||
global.get $std/gc-integration/a_ref
|
||||
i32.const 1
|
||||
call_indirect (type $iv)
|
||||
call_indirect (type $i_)
|
||||
global.get $std/gc-integration/b_ref
|
||||
i32.const 1
|
||||
call_indirect (type $iv)
|
||||
call_indirect (type $i_)
|
||||
global.get $std/gc-integration/i
|
||||
i32.const 4
|
||||
i32.ne
|
||||
@ -58,7 +58,7 @@
|
||||
unreachable
|
||||
end
|
||||
)
|
||||
(func $null (; 3 ;) (type $v)
|
||||
(func $null (; 3 ;) (type $_)
|
||||
nop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user