| 1 |
(module |
| 2 |
(type (;0;) (func (param i32 i32) (result i32))) |
| 3 |
(type (;1;) (func (param i32) (result i32))) |
| 4 |
(type (;2;) (func (param i64 i64) (result i64))) |
| 5 |
(type (;3;) (func (param i64) (result i64))) |
| 6 |
(export "f32.arithmetic_nan_bitpattern" (func 0)) |
| 7 |
(export "f32.canonical_nan_bitpattern" (func 1)) |
| 8 |
(export "f32.nonarithmetic_nan_bitpattern" (func 2)) |
| 9 |
(export "f64.arithmetic_nan_bitpattern" (func 3)) |
| 10 |
(export "f64.canonical_nan_bitpattern" (func 4)) |
| 11 |
(export "f64.nonarithmetic_nan_bitpattern" (func 5)) |
| 12 |
(export "f32.no_fold_sub_zero" (func 6)) |
| 13 |
(export "f32.no_fold_neg0_sub" (func 7)) |
| 14 |
(export "f32.no_fold_mul_one" (func 8)) |
| 15 |
(export "f32.no_fold_neg1_mul" (func 9)) |
| 16 |
(export "f32.no_fold_div_one" (func 10)) |
| 17 |
(export "f32.no_fold_div_neg1" (func 11)) |
| 18 |
(export "f64.no_fold_sub_zero" (func 12)) |
| 19 |
(export "f64.no_fold_neg0_sub" (func 13)) |
| 20 |
(export "f64.no_fold_mul_one" (func 14)) |
| 21 |
(export "f64.no_fold_neg1_mul" (func 15)) |
| 22 |
(export "f64.no_fold_div_one" (func 16)) |
| 23 |
(export "f64.no_fold_div_neg1" (func 17)) |
| 24 |
(export "no_fold_promote_demote" (func 18)) |
| 25 |
(func (;0;) (type 0) (param $x i32) (param $y i32) (result i32) |
| 26 |
local.get $x |
| 27 |
f32.reinterpret_i32 |
| 28 |
local.get $y |
| 29 |
f32.reinterpret_i32 |
| 30 |
f32.div |
| 31 |
i32.reinterpret_f32 |
| 32 |
i32.const 2143289344 |
| 33 |
i32.and |
| 34 |
) |
| 35 |
(func (;1;) (type 0) (param $x i32) (param $y i32) (result i32) |
| 36 |
local.get $x |
| 37 |
f32.reinterpret_i32 |
| 38 |
local.get $y |
| 39 |
f32.reinterpret_i32 |
| 40 |
f32.div |
| 41 |
i32.reinterpret_f32 |
| 42 |
i32.const 2147483647 |
| 43 |
i32.and |
| 44 |
) |
| 45 |
(func (;2;) (type 1) (param $x i32) (result i32) |
| 46 |
local.get $x |
| 47 |
f32.reinterpret_i32 |
| 48 |
f32.neg |
| 49 |
i32.reinterpret_f32 |
| 50 |
) |
| 51 |
(func (;3;) (type 2) (param $x i64) (param $y i64) (result i64) |
| 52 |
local.get $x |
| 53 |
f64.reinterpret_i64 |
| 54 |
local.get $y |
| 55 |
f64.reinterpret_i64 |
| 56 |
f64.div |
| 57 |
i64.reinterpret_f64 |
| 58 |
i64.const 9221120237041090560 |
| 59 |
i64.and |
| 60 |
) |
| 61 |
(func (;4;) (type 2) (param $x i64) (param $y i64) (result i64) |
| 62 |
local.get $x |
| 63 |
f64.reinterpret_i64 |
| 64 |
local.get $y |
| 65 |
f64.reinterpret_i64 |
| 66 |
f64.div |
| 67 |
i64.reinterpret_f64 |
| 68 |
i64.const 9223372036854775807 |
| 69 |
i64.and |
| 70 |
) |
| 71 |
(func (;5;) (type 3) (param $x i64) (result i64) |
| 72 |
local.get $x |
| 73 |
f64.reinterpret_i64 |
| 74 |
f64.neg |
| 75 |
i64.reinterpret_f64 |
| 76 |
) |
| 77 |
(func (;6;) (type 1) (param $x i32) (result i32) |
| 78 |
local.get $x |
| 79 |
f32.reinterpret_i32 |
| 80 |
f32.const 0x0p+0 (;=0;) |
| 81 |
f32.sub |
| 82 |
i32.reinterpret_f32 |
| 83 |
i32.const 2143289344 |
| 84 |
i32.and |
| 85 |
) |
| 86 |
(func (;7;) (type 1) (param $x i32) (result i32) |
| 87 |
f32.const -0x0p+0 (;=-0;) |
| 88 |
local.get $x |
| 89 |
f32.reinterpret_i32 |
| 90 |
f32.sub |
| 91 |
i32.reinterpret_f32 |
| 92 |
i32.const 2143289344 |
| 93 |
i32.and |
| 94 |
) |
| 95 |
(func (;8;) (type 1) (param $x i32) (result i32) |
| 96 |
local.get $x |
| 97 |
f32.reinterpret_i32 |
| 98 |
f32.const 0x1p+0 (;=1;) |
| 99 |
f32.mul |
| 100 |
i32.reinterpret_f32 |
| 101 |
i32.const 2143289344 |
| 102 |
i32.and |
| 103 |
) |
| 104 |
(func (;9;) (type 1) (param $x i32) (result i32) |
| 105 |
f32.const -0x1p+0 (;=-1;) |
| 106 |
local.get $x |
| 107 |
f32.reinterpret_i32 |
| 108 |
f32.mul |
| 109 |
i32.reinterpret_f32 |
| 110 |
i32.const 2143289344 |
| 111 |
i32.and |
| 112 |
) |
| 113 |
(func (;10;) (type 1) (param $x i32) (result i32) |
| 114 |
local.get $x |
| 115 |
f32.reinterpret_i32 |
| 116 |
f32.const 0x1p+0 (;=1;) |
| 117 |
f32.div |
| 118 |
i32.reinterpret_f32 |
| 119 |
i32.const 2143289344 |
| 120 |
i32.and |
| 121 |
) |
| 122 |
(func (;11;) (type 1) (param $x i32) (result i32) |
| 123 |
local.get $x |
| 124 |
f32.reinterpret_i32 |
| 125 |
f32.const -0x1p+0 (;=-1;) |
| 126 |
f32.div |
| 127 |
i32.reinterpret_f32 |
| 128 |
i32.const 2143289344 |
| 129 |
i32.and |
| 130 |
) |
| 131 |
(func (;12;) (type 3) (param $x i64) (result i64) |
| 132 |
local.get $x |
| 133 |
f64.reinterpret_i64 |
| 134 |
f64.const 0x0p+0 (;=0;) |
| 135 |
f64.sub |
| 136 |
i64.reinterpret_f64 |
| 137 |
i64.const 9221120237041090560 |
| 138 |
i64.and |
| 139 |
) |
| 140 |
(func (;13;) (type 3) (param $x i64) (result i64) |
| 141 |
f64.const -0x0p+0 (;=-0;) |
| 142 |
local.get $x |
| 143 |
f64.reinterpret_i64 |
| 144 |
f64.sub |
| 145 |
i64.reinterpret_f64 |
| 146 |
i64.const 9221120237041090560 |
| 147 |
i64.and |
| 148 |
) |
| 149 |
(func (;14;) (type 3) (param $x i64) (result i64) |
| 150 |
local.get $x |
| 151 |
f64.reinterpret_i64 |
| 152 |
f64.const 0x1p+0 (;=1;) |
| 153 |
f64.mul |
| 154 |
i64.reinterpret_f64 |
| 155 |
i64.const 9221120237041090560 |
| 156 |
i64.and |
| 157 |
) |
| 158 |
(func (;15;) (type 3) (param $x i64) (result i64) |
| 159 |
f64.const -0x1p+0 (;=-1;) |
| 160 |
local.get $x |
| 161 |
f64.reinterpret_i64 |
| 162 |
f64.mul |
| 163 |
i64.reinterpret_f64 |
| 164 |
i64.const 9221120237041090560 |
| 165 |
i64.and |
| 166 |
) |
| 167 |
(func (;16;) (type 3) (param $x i64) (result i64) |
| 168 |
local.get $x |
| 169 |
f64.reinterpret_i64 |
| 170 |
f64.const 0x1p+0 (;=1;) |
| 171 |
f64.div |
| 172 |
i64.reinterpret_f64 |
| 173 |
i64.const 9221120237041090560 |
| 174 |
i64.and |
| 175 |
) |
| 176 |
(func (;17;) (type 3) (param $x i64) (result i64) |
| 177 |
local.get $x |
| 178 |
f64.reinterpret_i64 |
| 179 |
f64.const -0x1p+0 (;=-1;) |
| 180 |
f64.div |
| 181 |
i64.reinterpret_f64 |
| 182 |
i64.const 9221120237041090560 |
| 183 |
i64.and |
| 184 |
) |
| 185 |
(func (;18;) (type 1) (param $x i32) (result i32) |
| 186 |
local.get $x |
| 187 |
f32.reinterpret_i32 |
| 188 |
f64.promote_f32 |
| 189 |
f32.demote_f64 |
| 190 |
i32.reinterpret_f32 |
| 191 |
i32.const 2143289344 |
| 192 |
i32.and |
| 193 |
) |
| 194 |
) |