summaryrefslogtreecommitdiff
path: root/test/min.fromasm.imprecise
blob: 4445514284c29ae833da6aadeb9e03abd67b8eaf (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
(module
 (import "env" "memory" (memory $0 256 256))
 (global $M (mut i32) (i32.const 0))
 (export "floats" (func $legalstub$floats))
 (export "getTempRet0" (func $ub))
 (export "neg" (func $legalstub$neg))
 (export "bitcasts" (func $legalstub$bitcasts))
 (export "ctzzzz" (func $ctzzzz))
 (func $ctzzzz (; 0 ;) (result i32)
  (i32.const 2)
 )
 (func $ub (; 1 ;) (result i32)
  (drop
   (call $ub)
  )
  (get_global $M)
 )
 (func $legalstub$floats (; 2 ;) (param $0 f64) (result f64)
  (f64.promote/f32
   (f32.add
    (f32.const 0)
    (f32.demote/f64
     (get_local $0)
    )
   )
  )
 )
 (func $legalstub$neg (; 3 ;) (param $0 i32) (param $1 i32) (result f64)
  (i32.store
   (get_local $0)
   (get_local $1)
  )
  (f64.promote/f32
   (f32.neg
    (f32.load
     (get_local $0)
    )
   )
  )
 )
 (func $legalstub$bitcasts (; 4 ;) (param $0 i32) (param $1 f64)
  (nop)
 )
)