test.wat 1.32 KB
Newer Older
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
(module
  (type (;0;) (func (param i32)))
  (type (;1;) (func (result i32)))
  (type (;2;) (func (param f64) (result f64)))
  (type (;3;) (func))
  (import "env" "addToCrc" (func (;0;) (type 0)))
  (func (;1;) (type 1) (result i32)
    (local i32 i64 f32 f64 i32 f64 i32)
    i32.const 698
    f32.load offset=87 align=1
    f32.nearest
    f32.const -0x1.d5859cp+9 (;=-939.044;)
    i32.const 1455
    f32.load offset=37 align=1
    f32.mul
    f32.ne
    i32.const 691
    i32.load offset=53 align=1
    i32.ctz
    i32.const 1847
    i32.const 211
    i32.load offset=32 align=1
    i32.store offset=91 align=1
    i32.const -34
    i32.rotl
    i32.or
    local.get 6
    f64.convert_i32_u
    i32.const -82
    if (result f64)  ;; label = @1
      local.get 5
    else
      f64.const 0x1.1cd643b75817p+7 (;=142.418;)
    end
    f64.min
    i32.const 113
    local.set 4
    local.get 5
    i32.const 1130
    f64.load offset=78 align=1
    f64.copysign
    loop (param f64) (result f64)  ;; label = @1
      f64.const 0x1.c09d4be945cdbp+8 (;=448.614;)
      f64.add
      local.get 4
      i32.const -1
      i32.add
      local.tee 4
      br_if 0 (;@1;)
    end
    f64.ne
    i32.shr_u)
  (func (;2;) (type 3)
    (local i64))
  (memory (;0;) 1)
  (export "_memory" (memory 0))
  (export "_main" (func 1))
  (export "_crc_globals" (func 2)))