| 1 |
(module |
| 2 |
(type $s (;0;) (shared (struct (field $i8 (mut i8)) (field $i16 (mut i16)) (field $i32 (mut i32)) (field $i64 (mut i64)) (field $anyref (mut (ref null (shared any)))) (field $eqref (mut (ref null (shared eq))))))) |
| 3 |
(type (;1;) (func (param (ref null $s)) (result i32))) |
| 4 |
(type (;2;) (func (param (ref null $s)) (result i64))) |
| 5 |
(type (;3;) (func (param (ref null $s)) (result (ref null (shared any))))) |
| 6 |
(type (;4;) (func (param (ref null $s) i32))) |
| 7 |
(type (;5;) (func (param (ref null $s) i64))) |
| 8 |
(type (;6;) (func (param (ref null $s) (ref null (shared any))))) |
| 9 |
(type (;7;) (func (param (ref null $s) i32) (result i32))) |
| 10 |
(type (;8;) (func (param (ref null $s) i64) (result i64))) |
| 11 |
(type (;9;) (func (param (ref null $s) (ref null (shared any))) (result (ref null (shared any))))) |
| 12 |
(type (;10;) (func (param (ref null $s) i32 i32) (result i32))) |
| 13 |
(type (;11;) (func (param (ref null $s) i64 i64) (result i64))) |
| 14 |
(type (;12;) (func (param (ref null $s) (ref null (shared eq)) (ref null (shared eq))) (result (ref null (shared eq))))) |
| 15 |
(export "struct-atomic-get-i32-seq_cst" (func 0)) |
| 16 |
(export "struct-atomic-get-i64-seq_cst" (func 1)) |
| 17 |
(export "struct-atomic-get-anyref-seq_cst" (func 2)) |
| 18 |
(export "struct-atomic-get-i32-acq_rel" (func 3)) |
| 19 |
(export "struct-atomic-get-i64-acq_rel" (func 4)) |
| 20 |
(export "struct-atomic-get-anyref-acq_rel" (func 5)) |
| 21 |
(export "struct-atomic-get_s-i8-seq_cst" (func 6)) |
| 22 |
(export "struct-atomic-get_s-i16-seq_cst" (func 7)) |
| 23 |
(export "struct-atomic-get_s-i8-acq_rel" (func 8)) |
| 24 |
(export "struct-atomic-get_s-i16-acq_rel" (func 9)) |
| 25 |
(export "struct-atomic-get_u-i8-seq_cst" (func 10)) |
| 26 |
(export "struct-atomic-get_u-i16-seq_cst" (func 11)) |
| 27 |
(export "struct-atomic-get_u-i8-acq_rel" (func 12)) |
| 28 |
(export "struct-atomic-get_u-i16-acq_rel" (func 13)) |
| 29 |
(export "struct-atomic-set-i8-seq_cst" (func 14)) |
| 30 |
(export "struct-atomic-set-i16-seq_cst" (func 15)) |
| 31 |
(export "struct-atomic-set-i32-seq_cst" (func 16)) |
| 32 |
(export "struct-atomic-set-i64-seq_cst" (func 17)) |
| 33 |
(export "struct-atomic-set-anyref-seq_cst" (func 18)) |
| 34 |
(export "struct-atomic-set-i8-acq_rel" (func 19)) |
| 35 |
(export "struct-atomic-set-i16-acq_rel" (func 20)) |
| 36 |
(export "struct-atomic-set-i32-acq_rel" (func 21)) |
| 37 |
(export "struct-atomic-set-i64-acq_rel" (func 22)) |
| 38 |
(export "struct-atomic-set-anyref-acq_rel" (func 23)) |
| 39 |
(export "struct-atomic-rmw.add-i32-seq_cst" (func 24)) |
| 40 |
(export "struct-atomic-rmw.add-i64-seq_cst" (func 25)) |
| 41 |
(export "struct-atomic-rmw.add-i32-acq_rel" (func 26)) |
| 42 |
(export "struct-atomic-rmw.add-i64-acq_rel" (func 27)) |
| 43 |
(export "struct-atomic-rmw.sub-i32-seq_cst" (func 28)) |
| 44 |
(export "struct-atomic-rmw.sub-i64-seq_cst" (func 29)) |
| 45 |
(export "struct-atomic-rmw.sub-i32-acq_rel" (func 30)) |
| 46 |
(export "struct-atomic-rmw.sub-i64-acq_rel" (func 31)) |
| 47 |
(export "struct-atomic-rmw.and-i32-seq_cst" (func 32)) |
| 48 |
(export "struct-atomic-rmw.and-i64-seq_cst" (func 33)) |
| 49 |
(export "struct-atomic-rmw.and-i32-acq_rel" (func 34)) |
| 50 |
(export "struct-atomic-rmw.and-i64-acq_rel" (func 35)) |
| 51 |
(export "struct-atomic-rmw.or-i32-seq_cst" (func 36)) |
| 52 |
(export "struct-atomic-rmw.or-i64-seq_cst" (func 37)) |
| 53 |
(export "struct-atomic-rmw.or-i32-acq_rel" (func 38)) |
| 54 |
(export "struct-atomic-rmw.or-i64-acq_rel" (func 39)) |
| 55 |
(export "struct-atomic-rmw.xor-i32-seq_cst" (func 40)) |
| 56 |
(export "struct-atomic-rmw.xor-i64-seq_cst" (func 41)) |
| 57 |
(export "struct-atomic-rmw.xor-i32-acq_rel" (func 42)) |
| 58 |
(export "struct-atomic-rmw.xor-i64-acq_rel" (func 43)) |
| 59 |
(export "struct-atomic-rmw.xchg-i32-seq_cst" (func 44)) |
| 60 |
(export "struct-atomic-rmw.xchg-i64-seq_cst" (func 45)) |
| 61 |
(export "struct-atomic-rmw.xchg-anyref-seq_cst" (func 46)) |
| 62 |
(export "struct-atomic-rmw.xchg-i32-acq_rel" (func 47)) |
| 63 |
(export "struct-atomic-rmw.xchg-i64-acq_rel" (func 48)) |
| 64 |
(export "struct-atomic-rmw.xchg-anyref-acq_rel" (func 49)) |
| 65 |
(export "struct-atomic-rmw.cmpxchg-i32-seq_cst" (func 50)) |
| 66 |
(export "struct-atomic-rmw.cmpxchg-i64-seq_cst" (func 51)) |
| 67 |
(export "struct-atomic-rmw.cmpxchg-eqref-seq_cst" (func 52)) |
| 68 |
(export "struct-atomic-rmw.cmpxchg-i32-acq_rel" (func 53)) |
| 69 |
(export "struct-atomic-rmw.cmpxchg-i64-acq_rel" (func 54)) |
| 70 |
(export "struct-atomic-rmw.cmpxchg-eqref-acq_rel" (func 55)) |
| 71 |
(func (;0;) (type 1) (param $x (ref null $s)) (result i32) |
| 72 |
local.get $x |
| 73 |
struct.atomic.get seq_cst $s $i32 |
| 74 |
) |
| 75 |
(func (;1;) (type 2) (param $x (ref null $s)) (result i64) |
| 76 |
local.get $x |
| 77 |
struct.atomic.get seq_cst $s $i64 |
| 78 |
) |
| 79 |
(func (;2;) (type 3) (param $x (ref null $s)) (result (ref null (shared any))) |
| 80 |
local.get $x |
| 81 |
struct.atomic.get seq_cst $s $anyref |
| 82 |
) |
| 83 |
(func (;3;) (type 1) (param $x (ref null $s)) (result i32) |
| 84 |
local.get $x |
| 85 |
struct.atomic.get acq_rel $s $i32 |
| 86 |
) |
| 87 |
(func (;4;) (type 2) (param $x (ref null $s)) (result i64) |
| 88 |
local.get $x |
| 89 |
struct.atomic.get acq_rel $s $i64 |
| 90 |
) |
| 91 |
(func (;5;) (type 3) (param $x (ref null $s)) (result (ref null (shared any))) |
| 92 |
local.get $x |
| 93 |
struct.atomic.get acq_rel $s $anyref |
| 94 |
) |
| 95 |
(func (;6;) (type 1) (param $x (ref null $s)) (result i32) |
| 96 |
local.get $x |
| 97 |
struct.atomic.get_s seq_cst $s $i8 |
| 98 |
) |
| 99 |
(func (;7;) (type 1) (param $x (ref null $s)) (result i32) |
| 100 |
local.get $x |
| 101 |
struct.atomic.get_s seq_cst $s $i16 |
| 102 |
) |
| 103 |
(func (;8;) (type 1) (param $x (ref null $s)) (result i32) |
| 104 |
local.get $x |
| 105 |
struct.atomic.get_s acq_rel $s $i8 |
| 106 |
) |
| 107 |
(func (;9;) (type 1) (param $x (ref null $s)) (result i32) |
| 108 |
local.get $x |
| 109 |
struct.atomic.get_s acq_rel $s $i16 |
| 110 |
) |
| 111 |
(func (;10;) (type 1) (param $x (ref null $s)) (result i32) |
| 112 |
local.get $x |
| 113 |
struct.atomic.get_u seq_cst $s $i8 |
| 114 |
) |
| 115 |
(func (;11;) (type 1) (param $x (ref null $s)) (result i32) |
| 116 |
local.get $x |
| 117 |
struct.atomic.get_u seq_cst $s $i16 |
| 118 |
) |
| 119 |
(func (;12;) (type 1) (param $x (ref null $s)) (result i32) |
| 120 |
local.get $x |
| 121 |
struct.atomic.get_u acq_rel $s $i8 |
| 122 |
) |
| 123 |
(func (;13;) (type 1) (param $x (ref null $s)) (result i32) |
| 124 |
local.get $x |
| 125 |
struct.atomic.get_u acq_rel $s $i16 |
| 126 |
) |
| 127 |
(func (;14;) (type 4) (param $x (ref null $s)) (param $y i32) |
| 128 |
local.get $x |
| 129 |
local.get $y |
| 130 |
struct.atomic.set seq_cst $s $i8 |
| 131 |
) |
| 132 |
(func (;15;) (type 4) (param $x (ref null $s)) (param $y i32) |
| 133 |
local.get $x |
| 134 |
local.get $y |
| 135 |
struct.atomic.set seq_cst $s $i16 |
| 136 |
) |
| 137 |
(func (;16;) (type 4) (param $x (ref null $s)) (param $y i32) |
| 138 |
local.get $x |
| 139 |
local.get $y |
| 140 |
struct.atomic.set seq_cst $s $i32 |
| 141 |
) |
| 142 |
(func (;17;) (type 5) (param $x (ref null $s)) (param $y i64) |
| 143 |
local.get $x |
| 144 |
local.get $y |
| 145 |
struct.atomic.set seq_cst $s $i64 |
| 146 |
) |
| 147 |
(func (;18;) (type 6) (param $x (ref null $s)) (param $y (ref null (shared any))) |
| 148 |
local.get $x |
| 149 |
local.get $y |
| 150 |
struct.atomic.set seq_cst $s $anyref |
| 151 |
) |
| 152 |
(func (;19;) (type 4) (param $x (ref null $s)) (param $y i32) |
| 153 |
local.get $x |
| 154 |
local.get $y |
| 155 |
struct.atomic.set acq_rel $s $i8 |
| 156 |
) |
| 157 |
(func (;20;) (type 4) (param $x (ref null $s)) (param $y i32) |
| 158 |
local.get $x |
| 159 |
local.get $y |
| 160 |
struct.atomic.set acq_rel $s $i16 |
| 161 |
) |
| 162 |
(func (;21;) (type 4) (param $x (ref null $s)) (param $y i32) |
| 163 |
local.get $x |
| 164 |
local.get $y |
| 165 |
struct.atomic.set acq_rel $s $i32 |
| 166 |
) |
| 167 |
(func (;22;) (type 5) (param $x (ref null $s)) (param $y i64) |
| 168 |
local.get $x |
| 169 |
local.get $y |
| 170 |
struct.atomic.set acq_rel $s $i64 |
| 171 |
) |
| 172 |
(func (;23;) (type 6) (param $x (ref null $s)) (param $y (ref null (shared any))) |
| 173 |
local.get $x |
| 174 |
local.get $y |
| 175 |
struct.atomic.set acq_rel $s $anyref |
| 176 |
) |
| 177 |
(func (;24;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 178 |
local.get $x |
| 179 |
local.get $y |
| 180 |
struct.atomic.rmw.add seq_cst $s $i32 |
| 181 |
) |
| 182 |
(func (;25;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 183 |
local.get $x |
| 184 |
local.get $y |
| 185 |
struct.atomic.rmw.add seq_cst $s $i64 |
| 186 |
) |
| 187 |
(func (;26;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 188 |
local.get $x |
| 189 |
local.get $y |
| 190 |
struct.atomic.rmw.add acq_rel $s $i32 |
| 191 |
) |
| 192 |
(func (;27;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 193 |
local.get $x |
| 194 |
local.get $y |
| 195 |
struct.atomic.rmw.add acq_rel $s $i64 |
| 196 |
) |
| 197 |
(func (;28;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 198 |
local.get $x |
| 199 |
local.get $y |
| 200 |
struct.atomic.rmw.sub seq_cst $s $i32 |
| 201 |
) |
| 202 |
(func (;29;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 203 |
local.get $x |
| 204 |
local.get $y |
| 205 |
struct.atomic.rmw.sub seq_cst $s $i64 |
| 206 |
) |
| 207 |
(func (;30;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 208 |
local.get $x |
| 209 |
local.get $y |
| 210 |
struct.atomic.rmw.sub acq_rel $s $i32 |
| 211 |
) |
| 212 |
(func (;31;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 213 |
local.get $x |
| 214 |
local.get $y |
| 215 |
struct.atomic.rmw.sub acq_rel $s $i64 |
| 216 |
) |
| 217 |
(func (;32;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 218 |
local.get $x |
| 219 |
local.get $y |
| 220 |
struct.atomic.rmw.and seq_cst $s $i32 |
| 221 |
) |
| 222 |
(func (;33;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 223 |
local.get $x |
| 224 |
local.get $y |
| 225 |
struct.atomic.rmw.and seq_cst $s $i64 |
| 226 |
) |
| 227 |
(func (;34;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 228 |
local.get $x |
| 229 |
local.get $y |
| 230 |
struct.atomic.rmw.and acq_rel $s $i32 |
| 231 |
) |
| 232 |
(func (;35;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 233 |
local.get $x |
| 234 |
local.get $y |
| 235 |
struct.atomic.rmw.and acq_rel $s $i64 |
| 236 |
) |
| 237 |
(func (;36;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 238 |
local.get $x |
| 239 |
local.get $y |
| 240 |
struct.atomic.rmw.or seq_cst $s $i32 |
| 241 |
) |
| 242 |
(func (;37;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 243 |
local.get $x |
| 244 |
local.get $y |
| 245 |
struct.atomic.rmw.or seq_cst $s $i64 |
| 246 |
) |
| 247 |
(func (;38;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 248 |
local.get $x |
| 249 |
local.get $y |
| 250 |
struct.atomic.rmw.or acq_rel $s $i32 |
| 251 |
) |
| 252 |
(func (;39;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 253 |
local.get $x |
| 254 |
local.get $y |
| 255 |
struct.atomic.rmw.or acq_rel $s $i64 |
| 256 |
) |
| 257 |
(func (;40;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 258 |
local.get $x |
| 259 |
local.get $y |
| 260 |
struct.atomic.rmw.xor seq_cst $s $i32 |
| 261 |
) |
| 262 |
(func (;41;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 263 |
local.get $x |
| 264 |
local.get $y |
| 265 |
struct.atomic.rmw.xor seq_cst $s $i64 |
| 266 |
) |
| 267 |
(func (;42;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 268 |
local.get $x |
| 269 |
local.get $y |
| 270 |
struct.atomic.rmw.xor acq_rel $s $i32 |
| 271 |
) |
| 272 |
(func (;43;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 273 |
local.get $x |
| 274 |
local.get $y |
| 275 |
struct.atomic.rmw.xor acq_rel $s $i64 |
| 276 |
) |
| 277 |
(func (;44;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 278 |
local.get $x |
| 279 |
local.get $y |
| 280 |
struct.atomic.rmw.xchg seq_cst $s $i32 |
| 281 |
) |
| 282 |
(func (;45;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 283 |
local.get $x |
| 284 |
local.get $y |
| 285 |
struct.atomic.rmw.xchg seq_cst $s $i64 |
| 286 |
) |
| 287 |
(func (;46;) (type 9) (param $x (ref null $s)) (param $y (ref null (shared any))) (result (ref null (shared any))) |
| 288 |
local.get $x |
| 289 |
local.get $y |
| 290 |
struct.atomic.rmw.xchg seq_cst $s $anyref |
| 291 |
) |
| 292 |
(func (;47;) (type 7) (param $x (ref null $s)) (param $y i32) (result i32) |
| 293 |
local.get $x |
| 294 |
local.get $y |
| 295 |
struct.atomic.rmw.xchg acq_rel $s $i32 |
| 296 |
) |
| 297 |
(func (;48;) (type 8) (param $x (ref null $s)) (param $y i64) (result i64) |
| 298 |
local.get $x |
| 299 |
local.get $y |
| 300 |
struct.atomic.rmw.xchg acq_rel $s $i64 |
| 301 |
) |
| 302 |
(func (;49;) (type 9) (param $x (ref null $s)) (param $y (ref null (shared any))) (result (ref null (shared any))) |
| 303 |
local.get $x |
| 304 |
local.get $y |
| 305 |
struct.atomic.rmw.xchg acq_rel $s $anyref |
| 306 |
) |
| 307 |
(func (;50;) (type 10) (param $x (ref null $s)) (param $y i32) (param $z i32) (result i32) |
| 308 |
local.get $x |
| 309 |
local.get $y |
| 310 |
local.get $z |
| 311 |
struct.atomic.rmw.cmpxchg seq_cst $s $i32 |
| 312 |
) |
| 313 |
(func (;51;) (type 11) (param $x (ref null $s)) (param $y i64) (param $z i64) (result i64) |
| 314 |
local.get $x |
| 315 |
local.get $y |
| 316 |
local.get $z |
| 317 |
struct.atomic.rmw.cmpxchg seq_cst $s $i64 |
| 318 |
) |
| 319 |
(func (;52;) (type 12) (param $x (ref null $s)) (param $y (ref null (shared eq))) (param $z (ref null (shared eq))) (result (ref null (shared eq))) |
| 320 |
local.get $x |
| 321 |
local.get $y |
| 322 |
local.get $z |
| 323 |
struct.atomic.rmw.cmpxchg seq_cst $s $eqref |
| 324 |
) |
| 325 |
(func (;53;) (type 10) (param $x (ref null $s)) (param $y i32) (param $z i32) (result i32) |
| 326 |
local.get $x |
| 327 |
local.get $y |
| 328 |
local.get $z |
| 329 |
struct.atomic.rmw.cmpxchg acq_rel $s $i32 |
| 330 |
) |
| 331 |
(func (;54;) (type 11) (param $x (ref null $s)) (param $y i64) (param $z i64) (result i64) |
| 332 |
local.get $x |
| 333 |
local.get $y |
| 334 |
local.get $z |
| 335 |
struct.atomic.rmw.cmpxchg acq_rel $s $i64 |
| 336 |
) |
| 337 |
(func (;55;) (type 12) (param $x (ref null $s)) (param $y (ref null (shared eq))) (param $z (ref null (shared eq))) (result (ref null (shared eq))) |
| 338 |
local.get $x |
| 339 |
local.get $y |
| 340 |
local.get $z |
| 341 |
struct.atomic.rmw.cmpxchg acq_rel $s $eqref |
| 342 |
) |
| 343 |
) |