mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 01:41:30 +00:00
Implement v128 instructions (#508)
This commit is contained in:
21
tests/compiler/simd.optimized.wat
Normal file
21
tests/compiler/simd.optimized.wat
Normal file
@ -0,0 +1,21 @@
|
||||
(module
|
||||
(type $_ (func))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\07\00\00\00s\00i\00m\00d\00.\00t\00s")
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $null)
|
||||
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
|
||||
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(start $start)
|
||||
(func $start (; 0 ;) (type $_)
|
||||
i32.const 32
|
||||
global.set $~lib/allocator/arena/startOffset
|
||||
global.get $~lib/allocator/arena/startOffset
|
||||
global.set $~lib/allocator/arena/offset
|
||||
)
|
||||
(func $null (; 1 ;) (type $_)
|
||||
nop
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user