blob: dd89a9eed3b1320e07bbd68d08a34bab8b5c30e7 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
(module
(memory 256 256)
(import "env" "tempDoublePtr" (global $tDP i32))
(import "env" "memory" (memory $memory))
(import "env" "table" (table $table))
(import "env" "memoryBase" (global $memoryBase i32))
(import "env" "tableBase" (global $tableBase i32))
(export "floats" (func $floats))
(func $floats (param $f f32) (result f32)
(local $t f32)
(return
(f32.add
(get_local $t)
(get_local $f)
)
)
)
(func $neg (param $k i32) (param $p i32) (result f32)
(local $n f32)
(set_local $n
(f32.neg
(block
(i32.store
(get_local $k)
(get_local $p)
)
(f32.load
(get_local $k)
)
)
)
)
(return
(get_local $n)
)
)
(func $bitcasts (param $i i32) (param $f f32)
(drop
(f32.reinterpret/i32
(get_local $i)
)
)
(drop
(f64.promote/f32
(f32.reinterpret/i32
(get_local $i)
)
)
)
(drop
(i32.reinterpret/f32
(get_local $f)
)
)
)
(func $ctzzzz (result i32)
(return
(i32.ctz
(i32.const 4660)
)
)
)
)
|