blob: 6d7516136bbf4fe46b2e7e561526dd18dbe69a99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
(module
(import "env" "memory" (memory $memory 256 256))
(global $M (mut i32) (i32.const 0))
(export "floats" (func $floats))
(export "getTempRet0" (func $ub))
(export "neg" (func $neg))
(export "bitcasts" (func $bitcasts))
(export "ctzzzz" (func $ctzzzz))
(func $floats (; 0 ;) (; has Stack IR ;) (param $0 f32) (result f32)
(f32.add
(f32.const 0)
(local.get $0)
)
)
(func $neg (; 1 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (result f32)
(i32.store
(local.get $0)
(local.get $1)
)
(f32.neg
(f32.load
(local.get $0)
)
)
)
(func $bitcasts (; 2 ;) (; has Stack IR ;) (param $0 i32) (param $1 f32)
(nop)
)
(func $ctzzzz (; 3 ;) (; has Stack IR ;) (result i32)
(i32.const 2)
)
(func $ub (; 4 ;) (; has Stack IR ;) (result i32)
(drop
(call $ub)
)
(global.get $M)
)
)
|