summaryrefslogtreecommitdiff
path: root/test/min.fromasm.imprecise
blob: 30f58d8842c9a40008daa39442b0d81ef6937087 (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
(module
  (import "env" "tempDoublePtr" (global $tDP$asm2wasm$import i32))
  (import "env" "memory" (memory $0 256 256))
  (import "env" "table" (table 0 anyfunc))
  (import "env" "memoryBase" (global $memoryBase i32))
  (import "env" "tableBase" (global $tableBase i32))
  (global $tDP (mut i32) (get_global $tDP$asm2wasm$import))
  (global $M (mut i32) (i32.const 0))
  (export "floats" (func $floats))
  (export "getTempRet0" (func $ub))
  (func $floats (param $0 f32) (result f32)
    (local $1 f32)
    (f32.add
      (get_local $1)
      (get_local $0)
    )
  )
  (func $neg (param $0 i32) (param $1 i32) (result f32)
    (i32.store
      (get_local $0)
      (get_local $1)
    )
    (f32.neg
      (f32.load
        (get_local $0)
      )
    )
  )
  (func $bitcasts (param $0 i32) (param $1 f32)
    (nop)
  )
  (func $ctzzzz (result i32)
    (i32.const 2)
  )
  (func $ub (result i32)
    (drop
      (call $ub)
    )
    (get_global $M)
  )
)