summaryrefslogtreecommitdiff
path: root/test/noffi_f32.fromasm.imprecise.no-opts
blob: 648a14b8b5afc98f194535ff7cedd8c317965984 (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
(module
 (type $FUNCSIG$ff (func (param f32) (result f32)))
 (import "env" "memory" (memory $memory 256 256))
 (import "env" "table" (table $table 0 0 funcref))
 (import "env" "__memory_base" (global $__memory_base i32))
 (import "env" "__table_base" (global $__table_base i32))
 (import "env" "_importf" (func $importf (param f32) (result f32)))
 (export "main" (func $main))
 (export "exportf" (func $exportf))
 (func $exportf (; 1 ;) (param $a f32) (result f32)
  (return
   (f32.add
    (local.get $a)
    (f32.const 1)
   )
  )
 )
 (func $main (; 2 ;) (result i32)
  (drop
   (call $importf
    (f32.const 3.4000000953674316)
   )
  )
  (return
   (i32.const 0)
  )
 )
)