Add SIMD prerequisites (#469)

This commit is contained in:
Daniel Wirtz
2019-02-07 15:26:26 +01:00
committed by GitHub
parent 7ce3296b5e
commit 2f1a6c44ce
201 changed files with 1485 additions and 1432 deletions

View File

@ -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\00")
@ -17,7 +17,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)
local.get $0
block (result i32)
global.get $std/gc-integration/i
@ -39,7 +39,7 @@
unreachable
end
)
(func $start (; 2 ;) (type $v)
(func $start (; 2 ;) (type $_)
global.get $std/gc-integration/B.c
drop
global.get $std/gc-integration/B.d
@ -59,20 +59,20 @@
unreachable
end
)
(func $null (; 3 ;) (type $v)
(func $null (; 3 ;) (type $_)
)
(func $~iterateRoots (; 4 ;) (type $iv) (param $0 i32)
(func $~iterateRoots (; 4 ;) (type $i_) (param $0 i32)
global.get $std/gc-integration/B.c
local.get $0
call_indirect (type $iv)
call_indirect (type $i_)
global.get $std/gc-integration/B.d
local.get $0
call_indirect (type $iv)
call_indirect (type $i_)
global.get $std/gc-integration/a_ref
local.get $0
call_indirect (type $iv)
call_indirect (type $i_)
global.get $std/gc-integration/b_ref
local.get $0
call_indirect (type $iv)
call_indirect (type $i_)
)
)