From 9cca33b7c200b7944b803943dd8c2cc5cd5ecc9f Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 31 Aug 2026 08:19:15 -0700 Subject: [PATCH 1/3] Limit alias regions in Wasm-to-CLIF translation to 256 Instead of bitpacking the `AliasRegionKey` into a `u32`, hash it and then `xor`-fold the hash down to one byte. Fixes https://github.com/bytecodealliance/wasmtime/issues/14221 --- cranelift/codegen/src/ir/memflags.rs | 65 +- cranelift/codegen/src/verifier/mod.rs | 6 +- cranelift/codegen/src/write.rs | 2 +- cranelift/frontend/src/frontend/safepoints.rs | 5 +- cranelift/fuzzgen/src/function_generator.rs | 15 +- cranelift/reader/src/parser.rs | 5 +- crates/cranelift/src/alias_region.rs | 298 +++--- tests/disas/alias-region-globals.wat | 10 +- tests/disas/alias-region-limit.wat | 851 ++++++++++++++++++ tests/disas/alias-region-memories.wat | 14 +- tests/disas/alias-region-tables.wat | 24 +- tests/disas/arith.wat | 4 +- tests/disas/array-call-trampoline.wat | 12 +- tests/disas/array-copy-anyref.wat | 10 +- tests/disas/array-copy-i64.wat | 10 +- tests/disas/array-copy-i8.wat | 10 +- tests/disas/array-copy-inline.wat | 10 +- tests/disas/array-fill-anyref.wat | 30 +- tests/disas/array-fill-externref.wat | 20 +- tests/disas/array-fill-f32.wat | 30 +- tests/disas/array-fill-f64.wat | 30 +- tests/disas/array-fill-funcref.wat | 39 +- tests/disas/array-fill-i16.wat | 40 +- tests/disas/array-fill-i31ref.wat | 30 +- tests/disas/array-fill-i32.wat | 40 +- tests/disas/array-fill-i64.wat | 40 +- tests/disas/basic-wat-test.wat | 10 +- .../disas/block-params-br_if-single-pred.wat | 8 +- .../block-params-if-else-same-values.wat | 8 +- .../block-params-loop-single-iteration.wat | 4 +- tests/disas/bounds-check.wat | 10 +- tests/disas/br_table.wat | 16 +- tests/disas/branch-hinting-disabled.wat | 8 +- tests/disas/branch-hinting.wat | 22 +- tests/disas/byteswap.wat | 8 +- tests/disas/call-indirect-with-gc.wat | 20 +- tests/disas/call-indirect-without-gc.wat | 20 +- tests/disas/call-indirect.wat | 20 +- tests/disas/call-simd.wat | 8 +- tests/disas/call.wat | 8 +- .../checked-intrinsics-inlined-no-spectre.wat | 10 +- .../checked-intrinsics-inlined.wat | 10 +- .../checked-intrinsics-trampoline.wat | 4 +- .../direct-adapter-calls-inlining.wat | 12 +- .../component-model/direct-adapter-calls.wat | 22 +- ...xported-module-makes-adapters-indirect.wat | 8 +- .../inlining-and-unsafe-intrinsics.wat | 10 +- tests/disas/component-model/inlining-bug.wat | 6 +- .../component-model/inlining-fuzz-bug.wat | 6 +- tests/disas/component-model/issue-11458.wat | 6 +- .../known-imported-adapter-memory.wat | 54 +- .../known-imported-canonical-abi-memory.wat | 14 +- .../known-imported-entities.wat | 58 +- ...instantiations-makes-adapters-indirect.wat | 8 +- ...e-instantiations-makes-imports-unknown.wat | 84 +- .../reexported-ambiguous-entities.wat | 116 +-- ...reexported-entities-to-imported-module.wat | 58 +- .../reexported-known-entities.wat | 90 +- .../component-model/sync-adapter-calls.wat | 31 +- .../unsafe-intrinsics-used.wat | 6 +- tests/disas/conditional-traps.wat | 8 +- tests/disas/dead-code.wat | 16 +- tests/disas/duplicate-function-types.wat | 22 +- .../disas/duplicate-loads-dynamic-memory.wat | 20 +- tests/disas/duplicate-loads-static-memory.wat | 20 +- ...re-access-same-index-different-offsets.wat | 20 +- ...re-access-same-index-different-offsets.wat | 20 +- tests/disas/elem-segment.wat | 12 +- tests/disas/epoch-interruption.wat | 10 +- tests/disas/f32-load.wat | 10 +- tests/disas/f32-store.wat | 10 +- tests/disas/f64-load.wat | 10 +- tests/disas/f64-store.wat | 10 +- tests/disas/fac-multi-value.wat | 12 +- tests/disas/fibonacci.wat | 10 +- tests/disas/fixed-size-memory.wat | 20 +- tests/disas/foo.wat | 28 +- tests/disas/gc/array-copy-with-fuel.wat | 23 +- tests/disas/gc/array-fill-i8.wat | 10 +- tests/disas/gc/array-init-data.wat | 14 +- tests/disas/gc/array-new-data.wat | 29 +- tests/disas/gc/array-new-default-anyref.wat | 20 +- tests/disas/gc/array-new-default-exnref.wat | 20 +- .../disas/gc/array-new-default-externref.wat | 20 +- tests/disas/gc/array-new-default-f32.wat | 25 +- tests/disas/gc/array-new-default-f64.wat | 25 +- tests/disas/gc/array-new-default-funcref.wat | 25 +- tests/disas/gc/array-new-default-i16.wat | 25 +- tests/disas/gc/array-new-default-i32.wat | 25 +- tests/disas/gc/array-new-default-i64.wat | 25 +- tests/disas/gc/array-new-default-i8.wat | 25 +- tests/disas/gc/call-indirect-final-type.wat | 40 +- tests/disas/gc/copying/array-fill.wat | 10 +- tests/disas/gc/copying/array-get-s.wat | 10 +- tests/disas/gc/copying/array-get-u.wat | 10 +- tests/disas/gc/copying/array-get.wat | 10 +- tests/disas/gc/copying/array-len.wat | 10 +- .../gc/copying/array-new-fixed-of-gc-refs.wat | 37 +- tests/disas/gc/copying/array-new-fixed.wat | 20 +- tests/disas/gc/copying/array-new.wat | 20 +- tests/disas/gc/copying/array-set.wat | 10 +- tests/disas/gc/copying/br-on-cast-fail.wat | 18 +- tests/disas/gc/copying/br-on-cast.wat | 18 +- .../copying/call-indirect-and-subtyping.wat | 18 +- tests/disas/gc/copying/externref-globals.wat | 12 +- .../gc/copying/funcref-in-gc-heap-get.wat | 10 +- .../gc/copying/funcref-in-gc-heap-new.wat | 23 +- .../gc/copying/funcref-in-gc-heap-set.wat | 10 +- tests/disas/gc/copying/i31ref-globals.wat | 12 +- tests/disas/gc/copying/multiple-array-get.wat | 10 +- .../disas/gc/copying/multiple-struct-get.wat | 10 +- tests/disas/gc/copying/ref-cast.wat | 14 +- tests/disas/gc/copying/ref-is-null.wat | 8 +- tests/disas/gc/copying/ref-test-any.wat | 8 +- tests/disas/gc/copying/ref-test-array.wat | 10 +- .../copying/ref-test-concrete-func-type.wat | 10 +- .../gc/copying/ref-test-concrete-type.wat | 14 +- tests/disas/gc/copying/ref-test-eq.wat | 10 +- tests/disas/gc/copying/ref-test-i31.wat | 4 +- tests/disas/gc/copying/ref-test-none.wat | 8 +- tests/disas/gc/copying/ref-test-struct.wat | 10 +- tests/disas/gc/copying/struct-get.wat | 40 +- tests/disas/gc/copying/struct-new-default.wat | 18 +- tests/disas/gc/copying/struct-new.wat | 23 +- tests/disas/gc/copying/struct-set.wat | 30 +- tests/disas/gc/copying/v128-fields.wat | 10 +- tests/disas/gc/drc/array-fill.wat | 10 +- tests/disas/gc/drc/array-get-s.wat | 10 +- tests/disas/gc/drc/array-get-u.wat | 10 +- tests/disas/gc/drc/array-get.wat | 10 +- tests/disas/gc/drc/array-len.wat | 10 +- .../gc/drc/array-new-fixed-of-gc-refs.wat | 31 +- tests/disas/gc/drc/array-new-fixed.wat | 14 +- tests/disas/gc/drc/array-new.wat | 14 +- tests/disas/gc/drc/array-set.wat | 10 +- tests/disas/gc/drc/br-on-cast-fail.wat | 18 +- tests/disas/gc/drc/br-on-cast.wat | 18 +- .../gc/drc/call-indirect-and-subtyping.wat | 18 +- tests/disas/gc/drc/externref-globals.wat | 37 +- tests/disas/gc/drc/funcref-in-gc-heap-get.wat | 10 +- tests/disas/gc/drc/funcref-in-gc-heap-new.wat | 17 +- tests/disas/gc/drc/funcref-in-gc-heap-set.wat | 10 +- tests/disas/gc/drc/i31ref-globals.wat | 12 +- tests/disas/gc/drc/multiple-array-get.wat | 10 +- tests/disas/gc/drc/multiple-struct-get.wat | 10 +- tests/disas/gc/drc/ref-cast.wat | 14 +- tests/disas/gc/drc/ref-is-null.wat | 8 +- tests/disas/gc/drc/ref-test-any.wat | 8 +- tests/disas/gc/drc/ref-test-array.wat | 10 +- .../gc/drc/ref-test-concrete-func-type.wat | 10 +- tests/disas/gc/drc/ref-test-concrete-type.wat | 14 +- tests/disas/gc/drc/ref-test-eq.wat | 10 +- tests/disas/gc/drc/ref-test-i31.wat | 4 +- tests/disas/gc/drc/ref-test-none.wat | 8 +- tests/disas/gc/drc/ref-test-struct.wat | 10 +- tests/disas/gc/drc/struct-get.wat | 53 +- tests/disas/gc/drc/struct-new-default.wat | 14 +- tests/disas/gc/drc/struct-new.wat | 19 +- tests/disas/gc/drc/struct-set.wat | 30 +- tests/disas/gc/null/array-fill.wat | 10 +- tests/disas/gc/null/array-get-s.wat | 10 +- tests/disas/gc/null/array-get-u.wat | 10 +- tests/disas/gc/null/array-get.wat | 10 +- tests/disas/gc/null/array-len.wat | 10 +- .../gc/null/array-new-fixed-of-gc-refs.wat | 35 +- tests/disas/gc/null/array-new-fixed.wat | 18 +- tests/disas/gc/null/array-new.wat | 18 +- tests/disas/gc/null/array-set.wat | 10 +- tests/disas/gc/null/br-on-cast-fail.wat | 18 +- tests/disas/gc/null/br-on-cast.wat | 18 +- .../gc/null/call-indirect-and-subtyping.wat | 18 +- tests/disas/gc/null/externref-globals.wat | 12 +- .../disas/gc/null/funcref-in-gc-heap-get.wat | 10 +- .../disas/gc/null/funcref-in-gc-heap-new.wat | 18 +- .../disas/gc/null/funcref-in-gc-heap-set.wat | 10 +- tests/disas/gc/null/i31ref-globals.wat | 12 +- tests/disas/gc/null/multiple-array-get.wat | 10 +- tests/disas/gc/null/multiple-struct-get.wat | 10 +- tests/disas/gc/null/ref-cast.wat | 14 +- tests/disas/gc/null/ref-is-null.wat | 8 +- tests/disas/gc/null/ref-test-any.wat | 8 +- tests/disas/gc/null/ref-test-array.wat | 10 +- .../gc/null/ref-test-concrete-func-type.wat | 10 +- .../disas/gc/null/ref-test-concrete-type.wat | 14 +- tests/disas/gc/null/ref-test-eq.wat | 10 +- tests/disas/gc/null/ref-test-i31.wat | 4 +- tests/disas/gc/null/ref-test-none.wat | 8 +- tests/disas/gc/null/ref-test-struct.wat | 10 +- .../disas/gc/null/struct-get-guard-pages.wat | 40 +- .../gc/null/struct-get-no-guard-pages.wat | 40 +- tests/disas/gc/null/struct-get.wat | 40 +- tests/disas/gc/null/struct-new-default.wat | 18 +- tests/disas/gc/null/struct-new.wat | 23 +- tests/disas/gc/null/struct-set.wat | 30 +- tests/disas/gc/null/v128-fields.wat | 10 +- tests/disas/gc/ref-test-cast-final-type.wat | 28 +- tests/disas/gc/struct-new-default.wat | 18 +- tests/disas/gc/struct-new.wat | 23 +- .../disas/gc/typed-select-and-stack-maps.wat | 18 +- tests/disas/global-get.wat | 26 +- tests/disas/globals.wat | 12 +- tests/disas/guest-debugging.wat | 6 +- tests/disas/i128-cmp.wat | 32 +- tests/disas/i32-load.wat | 10 +- tests/disas/i32-load16-s.wat | 10 +- tests/disas/i32-load16-u.wat | 10 +- tests/disas/i32-load8-s.wat | 10 +- tests/disas/i32-load8-u.wat | 10 +- tests/disas/i32-store.wat | 10 +- tests/disas/i32-store16.wat | 10 +- tests/disas/i32-store8.wat | 10 +- tests/disas/i64-load.wat | 10 +- tests/disas/i64-load16-s.wat | 10 +- tests/disas/i64-load16-u.wat | 10 +- tests/disas/i64-load8-s.wat | 10 +- tests/disas/i64-load8-u.wat | 10 +- tests/disas/i64-store.wat | 10 +- tests/disas/i64-store16.wat | 10 +- tests/disas/i64-store32.wat | 10 +- tests/disas/i64-store8.wat | 10 +- tests/disas/icall-loop.wat | 36 +- tests/disas/icall-simd.wat | 18 +- tests/disas/icall.wat | 18 +- tests/disas/idempotent-store.wat | 10 +- tests/disas/if-reachability-translation-0.wat | 4 +- tests/disas/if-reachability-translation-1.wat | 4 +- tests/disas/if-reachability-translation-2.wat | 4 +- tests/disas/if-reachability-translation-3.wat | 4 +- tests/disas/if-reachability-translation-4.wat | 4 +- tests/disas/if-reachability-translation-5.wat | 4 +- tests/disas/if-reachability-translation-6.wat | 4 +- tests/disas/if-unreachable-else-params-2.wat | 10 +- tests/disas/if-unreachable-else-params.wat | 10 +- tests/disas/indirect-call-no-caching.wat | 30 +- tests/disas/intra-module-inlining.wat | 8 +- tests/disas/issue-10929-v128-icmp-egraphs.wat | 4 +- tests/disas/issue-5696.wat | 4 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- tests/disas/memory-copy-epochs.wat | 14 +- tests/disas/memory-copy-fuel-const-len.wat | 32 +- tests/disas/memory-copy-fuel.wat | 10 +- tests/disas/memory-copy-inline.wat | 10 +- tests/disas/memory-min-max-same.wat | 14 +- tests/disas/memory.wat | 10 +- tests/disas/memory_copy_host32.wat | 24 +- tests/disas/memory_copy_host64.wat | 48 +- tests/disas/memory_fill_host32.wat | 20 +- tests/disas/memory_fill_host64.wat | 40 +- tests/disas/multi-0.wat | 4 +- tests/disas/multi-1.wat | 4 +- tests/disas/multi-10.wat | 4 +- tests/disas/multi-11.wat | 4 +- tests/disas/multi-12.wat | 4 +- tests/disas/multi-13.wat | 4 +- tests/disas/multi-14.wat | 4 +- tests/disas/multi-15.wat | 4 +- tests/disas/multi-16.wat | 4 +- tests/disas/multi-17.wat | 4 +- tests/disas/multi-2.wat | 4 +- tests/disas/multi-3.wat | 4 +- tests/disas/multi-4.wat | 4 +- tests/disas/multi-5.wat | 4 +- tests/disas/multi-6.wat | 4 +- tests/disas/multi-7.wat | 4 +- tests/disas/multi-8.wat | 4 +- tests/disas/multi-9.wat | 4 +- tests/disas/non-fixed-size-memory.wat | 20 +- tests/disas/nullref.wat | 8 +- tests/disas/passive-data.wat | 18 +- tests/disas/pic.wat | 26 +- tests/disas/pr2303.wat | 10 +- tests/disas/pr2559.wat | 8 +- tests/disas/readonly-funcrefs.wat | 22 +- tests/disas/readonly-heap-base-pointer1.wat | 10 +- tests/disas/readonly-heap-base-pointer2.wat | 12 +- tests/disas/readonly-heap-base-pointer3.wat | 10 +- tests/disas/ref-func-0.wat | 6 +- tests/disas/riscv64-component-builtins.wat | 16 +- tests/disas/select.wat | 12 +- tests/disas/simd-store.wat | 340 +++---- tests/disas/simd.wat | 16 +- tests/disas/simple.wat | 12 +- .../resume-suspend-data-passing.wat | 64 +- .../disas/stack-switching/resume-suspend.wat | 64 +- .../stack-switching/symmetric-switch.wat | 86 +- tests/disas/startup-data-active.wat | 18 +- tests/disas/startup-elem-active.wat | 16 +- tests/disas/startup-global.wat | 12 +- tests/disas/startup-passive-segment.wat | 12 +- tests/disas/startup-start.wat | 10 +- tests/disas/startup-table-initial-value.wat | 16 +- tests/disas/sub-global.wat | 6 +- tests/disas/table-copy.wat | 36 +- tests/disas/table-get-fixed-size.wat | 16 +- tests/disas/table-get.wat | 20 +- tests/disas/table-set-fixed-size.wat | 16 +- tests/disas/table-set.wat | 20 +- tests/disas/typed-funcrefs-eager-init.wat | 40 +- tests/disas/typed-funcrefs.wat | 40 +- tests/disas/unreachable_code.wat | 16 +- tests/disas/x64-simd-round-without-sse41.wat | 36 +- 396 files changed, 4614 insertions(+), 3791 deletions(-) create mode 100644 tests/disas/alias-region-limit.wat diff --git a/cranelift/codegen/src/ir/memflags.rs b/cranelift/codegen/src/ir/memflags.rs index e5880979a128..7b1df24fe81a 100644 --- a/cranelift/codegen/src/ir/memflags.rs +++ b/cranelift/codegen/src/ir/memflags.rs @@ -7,7 +7,7 @@ pub use crate::machinst::MachMemFlags; use alloc::borrow::Cow; use core::fmt; use core::hash::{Hash, Hasher}; -use core::ops::Index; +use core::ops::{Index, IndexMut}; use core::str::FromStr; use cranelift_entity::{entity_impl, packed_option::PackedOption}; @@ -38,20 +38,51 @@ entity_impl!(AliasRegion, "region"); pub struct AliasRegionData { /// A unique, user-defined identifier for this alias region. /// - /// Alias regions are deduplicated based on this identifier. - /// - /// This deduplication happens during inlining, for example, when a - /// callee's alias regions are merged with the caller's. Therefore, when - /// inlining is enabled this identifier should be globally unique across - /// the whole compilation. When inlining is disabled, it is sufficient - /// to be unique within the context of a single function. - pub user_id: u32, + /// This must not change once the `AliasRegionData` is created, as + /// `AliasRegionSet` hash-conses based on this identifier. + user_id: u32, /// Description of this alias region, e.g. "vmctx", "funcref table", /// "global 42", or "gc struct `LinkedList` field `tail`". /// /// This only exists for printing in the CLIF text format. - pub description: Cow<'static, str>, + description: Cow<'static, str>, +} + +impl AliasRegionData { + /// Create the data for an alias region with the given unique identifier + /// and human-readable description. + /// + /// Alias regions are deduplicated based on the `user_id`. + /// + /// This deduplication happens during inlining, for example, when a callee's + /// alias regions are merged with the caller's. Therefore, when inlining is + /// enabled this identifier should be globally unique across the whole + /// compilation. When inlining is disabled, it is sufficient to be unique + /// within the context of a single function. + /// + /// The `description` only exists for printing in the CLIF text format. + pub fn new(user_id: u32, description: impl Into>) -> Self { + Self { + user_id, + description: description.into(), + } + } + + /// Get this region's unique identifier. + pub fn user_id(&self) -> u32 { + self.user_id + } + + /// This region's human-readable description. + pub fn description(&self) -> &str { + &self.description + } + + /// Get a mutable reference to this region's human-readable description. + pub fn description_mut(&mut self) -> &mut Cow<'static, str> { + &mut self.description + } } /// An opaque reference to memory operation flags stored in a @@ -521,10 +552,10 @@ impl AliasRegionSet { /// Returns an existing `AliasRegion` if one with the same `user_id` /// already exists. pub fn insert(&mut self, data: AliasRegionData) -> AliasRegion { - if let Some(&existing) = self.dedupe_map.get(&data.user_id) { + if let Some(&existing) = self.dedupe_map.get(&data.user_id()) { return existing; } - let user_id = data.user_id; + let user_id = data.user_id(); let key = self.alias_regions.push(data); self.dedupe_map.insert(user_id, key); key @@ -535,7 +566,7 @@ impl AliasRegionSet { /// This is used by the CLIF text parser to faithfully represent the /// source text. The verifier will then check for duplicate `user_id`s. pub fn push(&mut self, data: AliasRegionData) -> AliasRegion { - let user_id = data.user_id; + let user_id = data.user_id(); let key = self.alias_regions.push(data); self.dedupe_map.insert(user_id, key); key @@ -574,8 +605,6 @@ impl AliasRegionSet { } } -// NB: Do not implement `IndexMut` because alias region data is deduped and -// shared by many mem flags. impl Index for AliasRegionSet { type Output = AliasRegionData; @@ -584,6 +613,12 @@ impl Index for AliasRegionSet { } } +impl IndexMut for AliasRegionSet { + fn index_mut(&mut self, ar: AliasRegion) -> &mut AliasRegionData { + &mut self.alias_regions[ar] + } +} + #[cfg(test)] mod tests { use super::*; diff --git a/cranelift/codegen/src/verifier/mod.rs b/cranelift/codegen/src/verifier/mod.rs index 51485478e8b1..59a6785dced8 100644 --- a/cranelift/codegen/src/verifier/mod.rs +++ b/cranelift/codegen/src/verifier/mod.rs @@ -420,16 +420,16 @@ impl<'a> Verifier<'a> { fn verify_alias_regions(&self, errors: &mut VerifierErrors) -> VerifierStepResult { let mut seen_user_ids = crate::HashMap::new(); for (ar, ar_data) in self.func.dfg.alias_regions.iter() { - if let Some(&prev) = seen_user_ids.get(&ar_data.user_id) { + if let Some(&prev) = seen_user_ids.get(&ar_data.user_id()) { errors.report(( ar, format!( "duplicate alias region user_id {}: {} and {}", - ar_data.user_id, prev, ar + ar_data.user_id(), prev, ar ), )); } else { - seen_user_ids.insert(ar_data.user_id, ar); + seen_user_ids.insert(ar_data.user_id(), ar); } } Ok(()) diff --git a/cranelift/codegen/src/write.rs b/cranelift/codegen/src/write.rs index 5f5584209c9f..94a257129d02 100644 --- a/cranelift/codegen/src/write.rs +++ b/cranelift/codegen/src/write.rs @@ -58,7 +58,7 @@ pub trait FuncWriter { w, func, ar.into(), - &format_args!("{} \"{}\"", ar_data.user_id, ar_data.description), + &format_args!("{} \"{}\"", ar_data.user_id(), ar_data.description()), )?; } diff --git a/cranelift/frontend/src/frontend/safepoints.rs b/cranelift/frontend/src/frontend/safepoints.rs index d0250a042e0c..44e309852c20 100644 --- a/cranelift/frontend/src/frontend/safepoints.rs +++ b/cranelift/frontend/src/frontend/safepoints.rs @@ -3411,10 +3411,7 @@ block2: // Place every safepoint spill and reload into a single deduplicated // alias region. builder.make_stack_map_alias_region(Box::new(|regions, _ty, _slot, _offset| { - Some(regions.insert(ir::AliasRegionData { - user_id: 0, - description: "stack map".into(), - })) + Some(regions.insert(ir::AliasRegionData::new(0, "stack map"))) })); let name = builder diff --git a/cranelift/fuzzgen/src/function_generator.rs b/cranelift/fuzzgen/src/function_generator.rs index 543ad4cc8440..667febd1bddb 100644 --- a/cranelift/fuzzgen/src/function_generator.rs +++ b/cranelift/fuzzgen/src/function_generator.rs @@ -1093,18 +1093,9 @@ impl AACategory { pub fn update_memflags(&self, flags: &mut MemFlagsData, alias_regions: &mut AliasRegionSet) { flags.set_alias_region(match self { AACategory::Other => None, - AACategory::Heap => Some(alias_regions.insert(AliasRegionData { - user_id: 0, - description: "heap".into(), - })), - AACategory::Table => Some(alias_regions.insert(AliasRegionData { - user_id: 1, - description: "table".into(), - })), - AACategory::VmCtx => Some(alias_regions.insert(AliasRegionData { - user_id: 2, - description: "vmctx".into(), - })), + AACategory::Heap => Some(alias_regions.insert(AliasRegionData::new(0, "heap"))), + AACategory::Table => Some(alias_regions.insert(AliasRegionData::new(1, "table"))), + AACategory::VmCtx => Some(alias_regions.insert(AliasRegionData::new(2, "vmctx"))), }) } } diff --git a/cranelift/reader/src/parser.rs b/cranelift/reader/src/parser.rs index f62b61043b6c..6b1f65558dc6 100644 --- a/cranelift/reader/src/parser.rs +++ b/cranelift/reader/src/parser.rs @@ -1963,10 +1963,7 @@ impl<'a> Parser<'a> { }; self.consume(); - let data = ir::AliasRegionData { - user_id, - description: std::borrow::Cow::Owned(description), - }; + let data = ir::AliasRegionData::new(user_id, description); // Collect any trailing comments. self.token(); diff --git a/crates/cranelift/src/alias_region.rs b/crates/cranelift/src/alias_region.rs index 2ced3eb92831..77497ff23c2d 100644 --- a/crates/cranelift/src/alias_region.rs +++ b/crates/cranelift/src/alias_region.rs @@ -24,6 +24,8 @@ use cranelift_codegen::{ cursor::FuncCursor, ir::{self, InstBuilder as _}, }; +use std::collections::{BTreeSet, HashMap, HashSet}; +use std::hash::{DefaultHasher, Hash as _, Hasher as _}; use wasmtime_environ::{ BuiltinFunctionIndex, DefinedGlobalIndex, DefinedMemoryIndex, DefinedTableIndex, GetPtrSize, ModuleInternedTypeIndex, NUM_COMPONENT_CONTEXT_SLOTS, PtrSize as _, RuntimeDataIndex, @@ -85,9 +87,6 @@ enum VmType { /// /// This is used to assign stable `user_id`s to `AliasRegionData` entries so /// that alias regions can be deduplicated during inlining. -/// -/// The key encodes into a single `u32` with the following layout: -/// `[ kind: 6 bits | data: 26 bits ]` #[derive(Clone, Copy, PartialEq, Eq, Hash)] enum AliasRegionKey { /// An access of a field within a VM data structure of type `ty`. @@ -161,143 +160,64 @@ enum AliasRegionKey { } impl AliasRegionKey { - const KIND_BITS: u32 = 6; - const KIND_OFFSET: u32 = 32 - Self::KIND_BITS; - const KIND_MASK: u32 = ((1 << Self::KIND_BITS) - 1) << Self::KIND_OFFSET; - - const OFFSET_MASK: u32 = !Self::KIND_MASK; - - const MODULE_BITS: u32 = 8; - const MODULE_OFFSET: u32 = Self::KIND_OFFSET - Self::MODULE_BITS; - const MODULE_MASK: u32 = ((1 << Self::MODULE_BITS) - 1) << Self::MODULE_OFFSET; - - const INDEX_MASK: u32 = !Self::KIND_MASK & !Self::MODULE_MASK; - - const fn new_kind(kind: u32) -> u32 { - assert!(kind < (1 << Self::KIND_BITS)); - kind << Self::KIND_OFFSET - } - - const VM_CONTEXT_KIND: u32 = Self::new_kind(0b000000); - const VM_STORE_CONTEXT_KIND: u32 = Self::new_kind(0b000001); - const IMPORTED_MEMORY_KIND: u32 = Self::new_kind(0b000010); - const DEFINED_MEMORY_KIND: u32 = Self::new_kind(0b000011); - const IMPORTED_TABLE_KIND: u32 = Self::new_kind(0b000100); - const DEFINED_TABLE_KIND: u32 = Self::new_kind(0b000101); - const IMPORTED_GLOBAL_KIND: u32 = Self::new_kind(0b000110); - const DEFINED_GLOBAL_KIND: u32 = Self::new_kind(0b000111); - const GC_HEAP_KIND: u32 = Self::new_kind(0b001000); - const VM_MEMORY_DEFINITION_KIND: u32 = Self::new_kind(0b001001); - const VM_TABLE_DEFINITION_KIND: u32 = Self::new_kind(0b001010); - const VM_COMPONENT_CONTEXT_KIND: u32 = Self::new_kind(0b001011); - const VM_DRC_HEAP_DATA_KIND: u32 = Self::new_kind(0b001100); - const VM_COPYING_HEAP_DATA_KIND: u32 = Self::new_kind(0b001101); - const VM_NULL_HEAP_DATA_KIND: u32 = Self::new_kind(0b001110); - const VM_DEFERRED_THREAD_KIND: u32 = Self::new_kind(0b001111); - const VM_CONTREF_KIND: u32 = Self::new_kind(0b010000); - const CONTINUATION_STACK_MEMORY_KIND: u32 = Self::new_kind(0b010001); - const VM_FUNCTION_IMPORT_KIND: u32 = Self::new_kind(0b010010); - const VM_MEMORY_IMPORT_KIND: u32 = Self::new_kind(0b010011); - const VM_TABLE_IMPORT_KIND: u32 = Self::new_kind(0b010100); - const VM_TAG_IMPORT_KIND: u32 = Self::new_kind(0b010101); - const VM_GLOBAL_IMPORT_KIND: u32 = Self::new_kind(0b010110); - const STACK_KIND: u32 = Self::new_kind(0b010111); - const VM_FUNC_REF_KIND: u32 = Self::new_kind(0b011000); - const TYPE_IDS_ARRAY_KIND: u32 = Self::new_kind(0b011001); - const EPOCH_COUNTER_KIND: u32 = Self::new_kind(0b011010); - const BUILTIN_FUNCTIONS_KIND: u32 = Self::new_kind(0b011011); - const COMPONENT_BUILTIN_FUNCTIONS_KIND: u32 = Self::new_kind(0b011100); - const UNSAFE_INTRINSIC_MEMORY_KIND: u32 = Self::new_kind(0b011101); - const HOST_VAL_RAW_KIND: u32 = Self::new_kind(0b011110); - const ELEMENT_SEGMENT_KIND: u32 = Self::new_kind(0b011111); - const DATA_SEGMENT_KIND: u32 = Self::new_kind(0b100000); - const VM_GLOBAL_DEFINITION_KIND: u32 = Self::new_kind(0b100001); - const VM_TAG_DEFINITION_KIND: u32 = Self::new_kind(0b100010); - const VM_LAZY_THREAD_KIND: u32 = Self::new_kind(0b100011); - const VM_STACK_LIMITS_KIND: u32 = Self::new_kind(0b100100); - const VM_COMMON_STACK_INFORMATION_KIND: u32 = Self::new_kind(0b100101); - const VM_HOST_ARRAY_KIND: u32 = Self::new_kind(0b100110); - /// Encode this key into a raw `u32` suitable for use as an /// `AliasRegionData::user_id`. + /// + /// We lossily encode the key into a `user_id` via a single-byte hash, so + /// there are at most 256 alias regions. This avoids compile-time blowups + /// associated with many alias regions. + /// + /// Note that mapping multiple alias regions onto the same `user_id` is + /// always okay: by collapsing two logical regions into one actual region, + /// we are letting Cranelift believe they *might* alias even when they + /// actually cannot. At worst this prevents some optimization. The opposite, + /// however -- if we were to place accesses that *could* alias in two + /// different regions -- is not sound. That would let Cranelift optimize + /// based on a false premise, leading to misoptimizations and symptoms like + /// memory writes "disappearing". + /// + /// Simultaneously, this mapping is independent of the particular set of + /// `AliasRegionKey`s used in a particular Wasm-to-CLIF translation, which + /// is necessary for inlining. If we assigned `user_id = 1` to the first + /// `AliasRegionKey`, `user_id = 2` to the second, etc... then inlining one + /// function into another would mean that the `user_id`s for the same + /// `AliasRegionKey` could be inconsistent with each other, which also leads + /// to the miscompilation scenario described above. pub(crate) fn into_raw(self) -> u32 { - match self { - AliasRegionKey::Vm { ty, offset } => { - debug_assert_eq!(offset & Self::KIND_MASK, 0); - let kind = match ty { - VmType::VMContext => Self::VM_CONTEXT_KIND, - VmType::VMStoreContext => Self::VM_STORE_CONTEXT_KIND, - VmType::VMMemoryDefinition => Self::VM_MEMORY_DEFINITION_KIND, - VmType::VMTableDefinition => Self::VM_TABLE_DEFINITION_KIND, - VmType::VMGlobalDefinition => Self::VM_GLOBAL_DEFINITION_KIND, - VmType::VMTagDefinition => Self::VM_TAG_DEFINITION_KIND, - VmType::VMComponentContext => Self::VM_COMPONENT_CONTEXT_KIND, - VmType::VMDrcHeapData => Self::VM_DRC_HEAP_DATA_KIND, - VmType::VMCopyingHeapData => Self::VM_COPYING_HEAP_DATA_KIND, - VmType::VMNullHeapData => Self::VM_NULL_HEAP_DATA_KIND, - VmType::VMDeferredThread => Self::VM_DEFERRED_THREAD_KIND, - VmType::VMStackLimits => Self::VM_STACK_LIMITS_KIND, - VmType::VMLazyThread => Self::VM_LAZY_THREAD_KIND, - VmType::VMContRef => Self::VM_CONTREF_KIND, - VmType::VMCommonStackInformation => Self::VM_COMMON_STACK_INFORMATION_KIND, - VmType::VMHostArray => Self::VM_HOST_ARRAY_KIND, - VmType::ContinuationStackMemory => Self::CONTINUATION_STACK_MEMORY_KIND, - VmType::VMFunctionImport => Self::VM_FUNCTION_IMPORT_KIND, - VmType::VMMemoryImport => Self::VM_MEMORY_IMPORT_KIND, - VmType::VMTableImport => Self::VM_TABLE_IMPORT_KIND, - VmType::VMTagImport => Self::VM_TAG_IMPORT_KIND, - VmType::VMGlobalImport => Self::VM_GLOBAL_IMPORT_KIND, - VmType::VMFuncRef => Self::VM_FUNC_REF_KIND, - VmType::TypeIdsArray => Self::TYPE_IDS_ARRAY_KIND, - VmType::EpochCounter => Self::EPOCH_COUNTER_KIND, - VmType::BuiltinFunctionsArray => Self::BUILTIN_FUNCTIONS_KIND, - VmType::ComponentBuiltinFunctionsArray => { - Self::COMPONENT_BUILTIN_FUNCTIONS_KIND - } - VmType::HostValRaw => Self::HOST_VAL_RAW_KIND, - }; - kind | (offset & Self::OFFSET_MASK) - } - AliasRegionKey::PublicMemory => Self::IMPORTED_MEMORY_KIND, - AliasRegionKey::DefinedMemory { module, index } => { - debug_assert_eq!( - module.as_u32() & !(Self::MODULE_MASK >> Self::MODULE_OFFSET), - 0 - ); - debug_assert_eq!(index.as_u32() & !Self::INDEX_MASK, 0); - Self::DEFINED_MEMORY_KIND - | (module.as_u32() << Self::MODULE_OFFSET) - | index.as_u32() - } - AliasRegionKey::PublicTable => Self::IMPORTED_TABLE_KIND, - AliasRegionKey::DefinedTable { module, index } => { - debug_assert_eq!( - module.as_u32() & !(Self::MODULE_MASK >> Self::MODULE_OFFSET), - 0 - ); - debug_assert_eq!(index.as_u32() & !Self::INDEX_MASK, 0); - Self::DEFINED_TABLE_KIND | (module.as_u32() << Self::MODULE_OFFSET) | index.as_u32() - } - AliasRegionKey::PublicGlobal => Self::IMPORTED_GLOBAL_KIND, - AliasRegionKey::DefinedGlobal { module, index } => { - debug_assert_eq!( - module.as_u32() & !(Self::MODULE_MASK >> Self::MODULE_OFFSET), - 0 - ); - debug_assert_eq!(index.as_u32() & !Self::INDEX_MASK, 0); - Self::DEFINED_GLOBAL_KIND - | (module.as_u32() << Self::MODULE_OFFSET) - | index.as_u32() - } - AliasRegionKey::GcHeap => Self::GC_HEAP_KIND, - AliasRegionKey::Stack { slot } => { - debug_assert_eq!(slot.as_u32() & Self::KIND_MASK, 0); - Self::STACK_KIND | (slot.as_u32() & Self::OFFSET_MASK) - } - AliasRegionKey::UnsafeIntrinsicMemory => Self::UNSAFE_INTRINSIC_MEMORY_KIND, - AliasRegionKey::ElementSegment => Self::ELEMENT_SEGMENT_KIND, - AliasRegionKey::DataSegment => Self::DATA_SEGMENT_KIND, - } + /// An arbitrary constant mixed into the hash to shift which keys + /// collide with which. + /// + /// Collisions are inevitable because we are lossily mapping our + /// ~"infinite" keys onto only 256 actual alias regions. However, not + /// all collisions are equal. The cost of a pair of globals colliding is + /// marginal. A collision between `VMContext::store_context` and the + /// first defined memory's base pointer, two of the most-frequently used + /// regions in essentially every function, would be expensive. + /// + /// A salt of zero (equivalent to not adding a salt at all) + /// unfortunately hits some fairly expensive collisions + /// (e.g. `VMGlobalImport+0x0` and `VMStoreContext+0x18`). + /// + /// This value was picked by brute-force search as one for which none of + /// the fixed, non-indexed keys appearing anywhere in `tests/disas` + /// collide with each other. If a new `VM*` field or `AliasRegionKey` + /// variant introduces such a collision later, the disas expectations + /// will show it as two regions merging into one, and a new salt can be + /// searched for in the same way. + const SALT: u64 = 16276; + + // Hash the key and salt. + // + // NB: Use `DefaultHasher::new` because it is deterministically seeded + // (unlike `RandomState`) so that our `user_id`s are consistent across + // inlining. + let mut hasher = DefaultHasher::new(); + SALT.hash(&mut hasher); + self.hash(&mut hasher); + let hash = hasher.finish(); + + // And then `xor`-fold the hash down to a single byte. + hash.to_le_bytes().into_iter().fold(0, |a, b| a ^ b).into() } } @@ -326,25 +246,25 @@ impl fmt::Debug for AliasRegionKey { } } -impl From for ir::AliasRegionData { - fn from(key: AliasRegionKey) -> ir::AliasRegionData { - ir::AliasRegionData { - user_id: key.into_raw(), - description: format!("{key:?}").into(), - } - } -} - -/// Alias region cache and load/store helper type. +/// Alias region bookkeeping and load/store helper type. +/// +/// This is scoped to a single function: it hands out `ir::AliasRegion`s, which +/// are indices into one function's `ir::AliasRegionSet`, so a given +/// `AliasRegions` must not be reused across functions. pub struct AliasRegions { pointer_type: ir::Type, offsets: Offsets, - /// Cached alias regions for alias analysis. + /// The set of `AliasRegionKey`s that have been folded down onto each raw id + /// produced by [`AliasRegionKey::into_raw`]. /// - /// Avoids allocating a string for the debug formatting of `AliasRegionKey` - /// as the `ir::AliasRegionData::description` string repeatedly. - cache: std::collections::HashMap, + /// The `ir::AliasRegionSet` in the function under construction is the + /// authority on which regions exist --- it hash-conses them by id, so + /// `AliasRegionSet::get` already answers "does a region for this id + /// exist?" and there is no point caching that here. What it cannot answer + /// is which *keys* landed on a given id, which is what we need in order to + /// describe the region as all of them instead of just the first one. + region_keys: HashMap>, } impl AliasRegions { @@ -361,12 +281,11 @@ impl AliasRegions { _offset: u32, ) -> Option { let key = AliasRegionKey::Stack { slot }; - let id = key.into_raw(); - if let Some(region) = regions.get(id) { - Some(region) - } else { - Some(regions.insert(key.into())) - } + Some(Self::insert_or_update_region( + regions, + key.into_raw(), + [key], + )) } /// Get the alias region for a stack slot. @@ -380,10 +299,65 @@ impl AliasRegions { /// Get the alias region for the given key. fn region(&mut self, func: &mut ir::Function, key: AliasRegionKey) -> ir::AliasRegion { - *self - .cache - .entry(key) - .or_insert_with(|| func.dfg.alias_regions.insert(key.into())) + let id = key.into_raw(); + let keys = self.region_keys.entry(id).or_default(); + + if !keys.insert(key) { + // We have seen this exact key before, so its region already exists + // and its description already mentions the key. + debug_assert!(func.dfg.alias_regions.contains(id)); + return func.dfg.alias_regions.get(id).unwrap(); + } + + Self::insert_or_update_region(&mut func.dfg.alias_regions, id, keys.iter().copied()) + } + + /// Get or create the alias region with the given raw `id`, ensuring that its + /// description covers `keys` in addition to whatever it already covered. + fn insert_or_update_region( + regions: &mut ir::AliasRegionSet, + id: u32, + keys: impl IntoIterator, + ) -> ir::AliasRegion { + const DESCRIPTION_SEPARATOR: &str = " | "; + + // NB: `BTreeSet` to keep the descriptions sorted and deterministic. + let mut descriptions: BTreeSet = keys + .into_iter() + .map(|key| { + debug_assert_eq!(key.into_raw(), id); + format!("{key:?}") + }) + .collect(); + + let join = |descriptions: &BTreeSet| -> String { + descriptions + .iter() + .map(|s| s.as_str()) + .collect::>() + .join(DESCRIPTION_SEPARATOR) + }; + + let Some(region) = regions.get(id) else { + return regions.insert(ir::AliasRegionData::new(id, join(&descriptions))); + }; + + // Union in whatever this region already described, rather than + // overwriting it, because `AliasRegions::stack_map_region` is stateless + // and cannot dedupe in the `AliasRegions::region_keys` map, so we have + // to instead do that deduping here. + descriptions.extend( + regions[region] + .description() + .split(DESCRIPTION_SEPARATOR) + .map(String::from), + ); + + let description = join(&descriptions); + if description != regions[region].description() { + *regions[region].description_mut() = description.into(); + } + region } } @@ -1177,7 +1151,7 @@ where pointer_type: ir::Type::int_with_byte_size(offsets.get_ptr_size().size().into()) .unwrap(), offsets, - cache: std::collections::HashMap::default(), + region_keys: HashMap::default(), } } diff --git a/tests/disas/alias-region-globals.wat b/tests/disas/alias-region-globals.wat index 9d5b7d4fb933..0ec457e81a40 100644 --- a/tests/disas/alias-region-globals.wat +++ b/tests/disas/alias-region-globals.wat @@ -15,11 +15,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 402653184 "PublicGlobal" -;; region4 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 172 "PublicGlobal" +;; region4 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/alias-region-limit.wat b/tests/disas/alias-region-limit.wat new file mode 100644 index 000000000000..dafa3a386447 --- /dev/null +++ b/tests/disas/alias-region-limit.wat @@ -0,0 +1,851 @@ +;;! target = "x86_64" + +;; Wasmtime hands every defined, non-exported global its own alias region, so +;; the function below asks for 257 global regions on top of the handful of `VM*` +;; regions its prologue needs. Alias regions are hashed down into a single byte, +;; however, so we emit at most 256 of them no matter how many are asked for: the +;; region table in the expectation below is well short of 259 entries, and +;; several globals share a region as a result. + +(module + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) (global (mut i32) (i32.const 0)) + (global (mut i32) (i32.const 0)) + + (func (export "sum") (result i32) + global.get 0 global.get 1 i32.add global.get 2 i32.add global.get 3 + i32.add global.get 4 i32.add global.get 5 i32.add global.get 6 + i32.add global.get 7 i32.add global.get 8 i32.add global.get 9 + i32.add global.get 10 i32.add global.get 11 i32.add global.get 12 + i32.add global.get 13 i32.add global.get 14 i32.add global.get 15 + i32.add global.get 16 i32.add global.get 17 i32.add global.get 18 + i32.add global.get 19 i32.add global.get 20 i32.add global.get 21 + i32.add global.get 22 i32.add global.get 23 i32.add global.get 24 + i32.add global.get 25 i32.add global.get 26 i32.add global.get 27 + i32.add global.get 28 i32.add global.get 29 i32.add global.get 30 + i32.add global.get 31 i32.add global.get 32 i32.add global.get 33 + i32.add global.get 34 i32.add global.get 35 i32.add global.get 36 + i32.add global.get 37 i32.add global.get 38 i32.add global.get 39 + i32.add global.get 40 i32.add global.get 41 i32.add global.get 42 + i32.add global.get 43 i32.add global.get 44 i32.add global.get 45 + i32.add global.get 46 i32.add global.get 47 i32.add global.get 48 + i32.add global.get 49 i32.add global.get 50 i32.add global.get 51 + i32.add global.get 52 i32.add global.get 53 i32.add global.get 54 + i32.add global.get 55 i32.add global.get 56 i32.add global.get 57 + i32.add global.get 58 i32.add global.get 59 i32.add global.get 60 + i32.add global.get 61 i32.add global.get 62 i32.add global.get 63 + i32.add global.get 64 i32.add global.get 65 i32.add global.get 66 + i32.add global.get 67 i32.add global.get 68 i32.add global.get 69 + i32.add global.get 70 i32.add global.get 71 i32.add global.get 72 + i32.add global.get 73 i32.add global.get 74 i32.add global.get 75 + i32.add global.get 76 i32.add global.get 77 i32.add global.get 78 + i32.add global.get 79 i32.add global.get 80 i32.add global.get 81 + i32.add global.get 82 i32.add global.get 83 i32.add global.get 84 + i32.add global.get 85 i32.add global.get 86 i32.add global.get 87 + i32.add global.get 88 i32.add global.get 89 i32.add global.get 90 + i32.add global.get 91 i32.add global.get 92 i32.add global.get 93 + i32.add global.get 94 i32.add global.get 95 i32.add global.get 96 + i32.add global.get 97 i32.add global.get 98 i32.add global.get 99 + i32.add global.get 100 i32.add global.get 101 i32.add global.get 102 + i32.add global.get 103 i32.add global.get 104 i32.add global.get 105 + i32.add global.get 106 i32.add global.get 107 i32.add global.get 108 + i32.add global.get 109 i32.add global.get 110 i32.add global.get 111 + i32.add global.get 112 i32.add global.get 113 i32.add global.get 114 + i32.add global.get 115 i32.add global.get 116 i32.add global.get 117 + i32.add global.get 118 i32.add global.get 119 i32.add global.get 120 + i32.add global.get 121 i32.add global.get 122 i32.add global.get 123 + i32.add global.get 124 i32.add global.get 125 i32.add global.get 126 + i32.add global.get 127 i32.add global.get 128 i32.add global.get 129 + i32.add global.get 130 i32.add global.get 131 i32.add global.get 132 + i32.add global.get 133 i32.add global.get 134 i32.add global.get 135 + i32.add global.get 136 i32.add global.get 137 i32.add global.get 138 + i32.add global.get 139 i32.add global.get 140 i32.add global.get 141 + i32.add global.get 142 i32.add global.get 143 i32.add global.get 144 + i32.add global.get 145 i32.add global.get 146 i32.add global.get 147 + i32.add global.get 148 i32.add global.get 149 i32.add global.get 150 + i32.add global.get 151 i32.add global.get 152 i32.add global.get 153 + i32.add global.get 154 i32.add global.get 155 i32.add global.get 156 + i32.add global.get 157 i32.add global.get 158 i32.add global.get 159 + i32.add global.get 160 i32.add global.get 161 i32.add global.get 162 + i32.add global.get 163 i32.add global.get 164 i32.add global.get 165 + i32.add global.get 166 i32.add global.get 167 i32.add global.get 168 + i32.add global.get 169 i32.add global.get 170 i32.add global.get 171 + i32.add global.get 172 i32.add global.get 173 i32.add global.get 174 + i32.add global.get 175 i32.add global.get 176 i32.add global.get 177 + i32.add global.get 178 i32.add global.get 179 i32.add global.get 180 + i32.add global.get 181 i32.add global.get 182 i32.add global.get 183 + i32.add global.get 184 i32.add global.get 185 i32.add global.get 186 + i32.add global.get 187 i32.add global.get 188 i32.add global.get 189 + i32.add global.get 190 i32.add global.get 191 i32.add global.get 192 + i32.add global.get 193 i32.add global.get 194 i32.add global.get 195 + i32.add global.get 196 i32.add global.get 197 i32.add global.get 198 + i32.add global.get 199 i32.add global.get 200 i32.add global.get 201 + i32.add global.get 202 i32.add global.get 203 i32.add global.get 204 + i32.add global.get 205 i32.add global.get 206 i32.add global.get 207 + i32.add global.get 208 i32.add global.get 209 i32.add global.get 210 + i32.add global.get 211 i32.add global.get 212 i32.add global.get 213 + i32.add global.get 214 i32.add global.get 215 i32.add global.get 216 + i32.add global.get 217 i32.add global.get 218 i32.add global.get 219 + i32.add global.get 220 i32.add global.get 221 i32.add global.get 222 + i32.add global.get 223 i32.add global.get 224 i32.add global.get 225 + i32.add global.get 226 i32.add global.get 227 i32.add global.get 228 + i32.add global.get 229 i32.add global.get 230 i32.add global.get 231 + i32.add global.get 232 i32.add global.get 233 i32.add global.get 234 + i32.add global.get 235 i32.add global.get 236 i32.add global.get 237 + i32.add global.get 238 i32.add global.get 239 i32.add global.get 240 + i32.add global.get 241 i32.add global.get 242 i32.add global.get 243 + i32.add global.get 244 i32.add global.get 245 i32.add global.get 246 + i32.add global.get 247 i32.add global.get 248 i32.add global.get 249 + i32.add global.get 250 i32.add global.get 251 i32.add global.get 252 + i32.add global.get 253 i32.add global.get 254 i32.add global.get 255 + i32.add global.get 256 i32.add + ) +) +;; function u0:0(i64 vmctx, i64) -> i32 tail { +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(19)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(223)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(63)) | VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(122))" +;; region3 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(163)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(184))" +;; region4 = 241 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(124)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(2))" +;; region5 = 18 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(140)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(3))" +;; region6 = 107 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(4))" +;; region7 = 88 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(21)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(238)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(5))" +;; region8 = 224 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(40)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(6))" +;; region9 = 143 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(52)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(7))" +;; region10 = 189 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(191)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(8))" +;; region11 = 204 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(106)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(9))" +;; region12 = 16 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(10))" +;; region13 = 153 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(11)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(237))" +;; region14 = 172 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(12))" +;; region15 = 63 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(13)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(93))" +;; region16 = 24 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(14))" +;; region17 = 95 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(15)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(178))" +;; region18 = 41 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(16))" +;; region19 = 42 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(17)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(214)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(66))" +;; region20 = 21 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(135)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(18))" +;; region21 = 37 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(20)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(61))" +;; region22 = 210 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(22))" +;; region23 = 235 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(23))" +;; region24 = 227 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(170)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(24))" +;; region25 = 105 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(25)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(34))" +;; region26 = 134 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(26))" +;; region27 = 110 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(27)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(53))" +;; region28 = 162 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(28))" +;; region29 = 163 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(182)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(29)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(96))" +;; region30 = 72 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(30))" +;; region31 = 132 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(111)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(31))" +;; region32 = 22 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(32))" +;; region33 = 156 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(33)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(42)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(49))" +;; region34 = 238 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(35))" +;; region35 = 152 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(36)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(41)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(47))" +;; region36 = 93 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(109)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(252)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(37))" +;; region37 = 65 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(251)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(38))" +;; region38 = 106 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(246)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(39))" +;; region39 = 80 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(43))" +;; region40 = 183 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(130)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(132)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(44))" +;; region41 = 229 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(196)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(203)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(45))" +;; region42 = 97 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(142)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(46))" +;; region43 = 248 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(148)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(48))" +;; region44 = 158 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(212)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(50))" +;; region45 = 96 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(108)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(51))" +;; region46 = 205 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(181)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(54))" +;; region47 = 98 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(55))" +;; region48 = 109 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(164)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(56)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(89))" +;; region49 = 179 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(57))" +;; region50 = 51 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(152)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(171)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(58))" +;; region51 = 146 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(59)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(84))" +;; region52 = 148 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(60))" +;; region53 = 135 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(234)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(62))" +;; region54 = 253 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(207)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(230)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(64))" +;; region55 = 159 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(202)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(65))" +;; region56 = 177 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(67))" +;; region57 = 211 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(231)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(68))" +;; region58 = 201 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(222)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(69))" +;; region59 = 170 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(70))" +;; region60 = 140 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(211)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(71))" +;; region61 = 25 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(72))" +;; region62 = 223 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(244)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(73))" +;; region63 = 40 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(215)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(74))" +;; region64 = 217 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(185)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(187)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(75)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(88))" +;; region65 = 100 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(179)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(76))" +;; region66 = 117 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(110)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(77))" +;; region67 = 26 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(78))" +;; region68 = 251 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(173)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(254)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(79))" +;; region69 = 119 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(80))" +;; region70 = 102 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(233)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(81))" +;; region71 = 237 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(174)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(82))" +;; region72 = 174 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(83))" +;; region73 = 178 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(85))" +;; region74 = 184 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(86))" +;; region75 = 12 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(87))" +;; region76 = 101 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(90))" +;; region77 = 200 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(91))" +;; region78 = 76 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(213)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(92))" +;; region79 = 164 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(94))" +;; region80 = 242 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(95))" +;; region81 = 32 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(97))" +;; region82 = 38 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(98))" +;; region83 = 195 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(99))" +;; region84 = 73 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(100))" +;; region85 = 89 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(101))" +;; region86 = 203 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(102))" +;; region87 = 147 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(103))" +;; region88 = 125 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(104))" +;; region89 = 191 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(105)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(147)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(247))" +;; region90 = 144 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(107)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(255)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(256))" +;; region91 = 214 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(112))" +;; region92 = 137 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(113))" +;; region93 = 127 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(114)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(190)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(204))" +;; region94 = 176 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(115)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(206))" +;; region95 = 212 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(116)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(157))" +;; region96 = 219 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(117)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(239))" +;; region97 = 74 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(118)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(201))" +;; region98 = 99 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(119)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(134)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(220))" +;; region99 = 244 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(120))" +;; region100 = 133 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(121)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(136))" +;; region101 = 131 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(123))" +;; region102 = 215 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(125))" +;; region103 = 151 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(126))" +;; region104 = 39 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(127))" +;; region105 = 155 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(128))" +;; region106 = 0 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(129)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(229))" +;; region107 = 182 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(131)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(137)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(221)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(241))" +;; region108 = 218 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(133))" +;; region109 = 79 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(138))" +;; region110 = 77 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(139))" +;; region111 = 94 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(141))" +;; region112 = 222 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(143))" +;; region113 = 234 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(144)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(156))" +;; region114 = 161 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(145)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(189))" +;; region115 = 249 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(146)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(168)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(176)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(226))" +;; region116 = 232 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(149))" +;; region117 = 10 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(150))" +;; region118 = 196 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(151))" +;; region119 = 187 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(153))" +;; region120 = 67 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(154))" +;; region121 = 7 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(155)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(243))" +;; region122 = 149 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(158)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(193))" +;; region123 = 154 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(159))" +;; region124 = 33 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(160))" +;; region125 = 13 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(161)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(219))" +;; region126 = 252 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(162))" +;; region127 = 103 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(165))" +;; region128 = 190 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(166))" +;; region129 = 23 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(167)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(192))" +;; region130 = 194 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(169))" +;; region131 = 75 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(172)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(186))" +;; region132 = 31 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(175))" +;; region133 = 118 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(177))" +;; region134 = 116 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(180))" +;; region135 = 181 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(183))" +;; region136 = 69 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(188))" +;; region137 = 216 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(194))" +;; region138 = 14 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(195))" +;; region139 = 113 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(197)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(248))" +;; region140 = 160 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(198))" +;; region141 = 4 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(199))" +;; region142 = 28 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(200))" +;; region143 = 83 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(205))" +;; region144 = 175 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(208))" +;; region145 = 82 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(209))" +;; region146 = 207 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(210))" +;; region147 = 209 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(216))" +;; region148 = 35 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(217)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(224))" +;; region149 = 245 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(218))" +;; region150 = 56 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(225))" +;; region151 = 180 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(227))" +;; region152 = 239 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(228))" +;; region153 = 233 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(232))" +;; region154 = 86 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(235))" +;; region155 = 231 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(236))" +;; region156 = 11 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(240))" +;; region157 = 220 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(242)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(249))" +;; region158 = 213 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(245))" +;; region159 = 173 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(250))" +;; region160 = 247 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(253))" +;; gv0 = vmctx +;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 +;; gv2 = load.i64 notrap aligned region1 gv1+24 +;; stack_limit = gv2 +;; +;; block0(v0: i64, v1: i64): +;; @052d v2 = load.i32 notrap aligned region2 v0+48 +;; @052f v3 = load.i32 notrap aligned region3 v0+64 +;; @0531 v4 = iadd v2, v3 +;; @0532 v5 = load.i32 notrap aligned region4 v0+80 +;; @0534 v6 = iadd v4, v5 +;; @0535 v7 = load.i32 notrap aligned region5 v0+96 +;; @0537 v8 = iadd v6, v7 +;; @0538 v9 = load.i32 notrap aligned region6 v0+112 +;; @053a v10 = iadd v8, v9 +;; @053b v11 = load.i32 notrap aligned region7 v0+128 +;; @053d v12 = iadd v10, v11 +;; @053e v13 = load.i32 notrap aligned region8 v0+144 +;; @0540 v14 = iadd v12, v13 +;; @0541 v15 = load.i32 notrap aligned region9 v0+160 +;; @0543 v16 = iadd v14, v15 +;; @0544 v17 = load.i32 notrap aligned region10 v0+176 +;; @0546 v18 = iadd v16, v17 +;; @0547 v19 = load.i32 notrap aligned region11 v0+192 +;; @0549 v20 = iadd v18, v19 +;; @054a v21 = load.i32 notrap aligned region12 v0+208 +;; @054c v22 = iadd v20, v21 +;; @054d v23 = load.i32 notrap aligned region13 v0+224 +;; @054f v24 = iadd v22, v23 +;; @0550 v25 = load.i32 notrap aligned region14 v0+240 +;; @0552 v26 = iadd v24, v25 +;; @0553 v27 = load.i32 notrap aligned region15 v0+256 +;; @0555 v28 = iadd v26, v27 +;; @0556 v29 = load.i32 notrap aligned region16 v0+272 +;; @0558 v30 = iadd v28, v29 +;; @0559 v31 = load.i32 notrap aligned region17 v0+288 +;; @055b v32 = iadd v30, v31 +;; @055c v33 = load.i32 notrap aligned region18 v0+304 +;; @055e v34 = iadd v32, v33 +;; @055f v35 = load.i32 notrap aligned region19 v0+320 +;; @0561 v36 = iadd v34, v35 +;; @0562 v37 = load.i32 notrap aligned region20 v0+336 +;; @0564 v38 = iadd v36, v37 +;; @0565 v39 = load.i32 notrap aligned region1 v0+352 +;; @0567 v40 = iadd v38, v39 +;; @0568 v41 = load.i32 notrap aligned region21 v0+368 +;; @056a v42 = iadd v40, v41 +;; @056b v43 = load.i32 notrap aligned region7 v0+384 +;; @056d v44 = iadd v42, v43 +;; @056e v45 = load.i32 notrap aligned region22 v0+400 +;; @0570 v46 = iadd v44, v45 +;; @0571 v47 = load.i32 notrap aligned region23 v0+416 +;; @0573 v48 = iadd v46, v47 +;; @0574 v49 = load.i32 notrap aligned region24 v0+432 +;; @0576 v50 = iadd v48, v49 +;; @0577 v51 = load.i32 notrap aligned region25 v0+448 +;; @0579 v52 = iadd v50, v51 +;; @057a v53 = load.i32 notrap aligned region26 v0+464 +;; @057c v54 = iadd v52, v53 +;; @057d v55 = load.i32 notrap aligned region27 v0+480 +;; @057f v56 = iadd v54, v55 +;; @0580 v57 = load.i32 notrap aligned region28 v0+496 +;; @0582 v58 = iadd v56, v57 +;; @0583 v59 = load.i32 notrap aligned region29 v0+512 +;; @0585 v60 = iadd v58, v59 +;; @0586 v61 = load.i32 notrap aligned region30 v0+528 +;; @0588 v62 = iadd v60, v61 +;; @0589 v63 = load.i32 notrap aligned region31 v0+544 +;; @058b v64 = iadd v62, v63 +;; @058c v65 = load.i32 notrap aligned region32 v0+560 +;; @058e v66 = iadd v64, v65 +;; @058f v67 = load.i32 notrap aligned region33 v0+576 +;; @0591 v68 = iadd v66, v67 +;; @0592 v69 = load.i32 notrap aligned region25 v0+592 +;; @0594 v70 = iadd v68, v69 +;; @0595 v71 = load.i32 notrap aligned region34 v0+608 +;; @0597 v72 = iadd v70, v71 +;; @0598 v73 = load.i32 notrap aligned region35 v0+624 +;; @059a v74 = iadd v72, v73 +;; @059b v75 = load.i32 notrap aligned region36 v0+640 +;; @059d v76 = iadd v74, v75 +;; @059e v77 = load.i32 notrap aligned region37 v0+656 +;; @05a0 v78 = iadd v76, v77 +;; @05a1 v79 = load.i32 notrap aligned region38 v0+672 +;; @05a3 v80 = iadd v78, v79 +;; @05a4 v81 = load.i32 notrap aligned region8 v0+688 +;; @05a6 v82 = iadd v80, v81 +;; @05a7 v83 = load.i32 notrap aligned region35 v0+704 +;; @05a9 v84 = iadd v82, v83 +;; @05aa v85 = load.i32 notrap aligned region33 v0+720 +;; @05ac v86 = iadd v84, v85 +;; @05ad v87 = load.i32 notrap aligned region39 v0+736 +;; @05af v88 = iadd v86, v87 +;; @05b0 v89 = load.i32 notrap aligned region40 v0+752 +;; @05b2 v90 = iadd v88, v89 +;; @05b3 v91 = load.i32 notrap aligned region41 v0+768 +;; @05b5 v92 = iadd v90, v91 +;; @05b6 v93 = load.i32 notrap aligned region42 v0+784 +;; @05b8 v94 = iadd v92, v93 +;; @05b9 v95 = load.i32 notrap aligned region35 v0+800 +;; @05bb v96 = iadd v94, v95 +;; @05bc v97 = load.i32 notrap aligned region43 v0+816 +;; @05be v98 = iadd v96, v97 +;; @05bf v99 = load.i32 notrap aligned region33 v0+832 +;; @05c1 v100 = iadd v98, v99 +;; @05c2 v101 = load.i32 notrap aligned region44 v0+848 +;; @05c4 v102 = iadd v100, v101 +;; @05c5 v103 = load.i32 notrap aligned region45 v0+864 +;; @05c7 v104 = iadd v102, v103 +;; @05c8 v105 = load.i32 notrap aligned region9 v0+880 +;; @05ca v106 = iadd v104, v105 +;; @05cb v107 = load.i32 notrap aligned region27 v0+896 +;; @05cd v108 = iadd v106, v107 +;; @05ce v109 = load.i32 notrap aligned region46 v0+912 +;; @05d0 v110 = iadd v108, v109 +;; @05d1 v111 = load.i32 notrap aligned region47 v0+928 +;; @05d3 v112 = iadd v110, v111 +;; @05d4 v113 = load.i32 notrap aligned region48 v0+944 +;; @05d6 v114 = iadd v112, v113 +;; @05d7 v115 = load.i32 notrap aligned region49 v0+960 +;; @05d9 v116 = iadd v114, v115 +;; @05da v117 = load.i32 notrap aligned region50 v0+976 +;; @05dc v118 = iadd v116, v117 +;; @05dd v119 = load.i32 notrap aligned region51 v0+992 +;; @05df v120 = iadd v118, v119 +;; @05e0 v121 = load.i32 notrap aligned region52 v0+1008 +;; @05e2 v122 = iadd v120, v121 +;; @05e3 v123 = load.i32 notrap aligned region21 v0+1024 +;; @05e5 v124 = iadd v122, v123 +;; @05e6 v125 = load.i32 notrap aligned region53 v0+1040 +;; @05e8 v126 = iadd v124, v125 +;; @05e9 v127 = load.i32 notrap aligned region1 v0+1056 +;; @05eb v128 = iadd v126, v127 +;; @05ec v129 = load.i32 notrap aligned region54 v0+1072 +;; @05ee v130 = iadd v128, v129 +;; @05ef v131 = load.i32 notrap aligned region55 v0+1088 +;; @05f1 v132 = iadd v130, v131 +;; @05f2 v133 = load.i32 notrap aligned region19 v0+1104 +;; @05f4 v134 = iadd v132, v133 +;; @05f5 v135 = load.i32 notrap aligned region56 v0+1120 +;; @05f7 v136 = iadd v134, v135 +;; @05f8 v137 = load.i32 notrap aligned region57 v0+1136 +;; @05fa v138 = iadd v136, v137 +;; @05fb v139 = load.i32 notrap aligned region58 v0+1152 +;; @05fd v140 = iadd v138, v139 +;; @05fe v141 = load.i32 notrap aligned region59 v0+1168 +;; @0600 v142 = iadd v140, v141 +;; @0601 v143 = load.i32 notrap aligned region60 v0+1184 +;; @0603 v144 = iadd v142, v143 +;; @0604 v145 = load.i32 notrap aligned region61 v0+1200 +;; @0606 v146 = iadd v144, v145 +;; @0607 v147 = load.i32 notrap aligned region62 v0+1216 +;; @0609 v148 = iadd v146, v147 +;; @060a v149 = load.i32 notrap aligned region63 v0+1232 +;; @060c v150 = iadd v148, v149 +;; @060d v151 = load.i32 notrap aligned region64 v0+1248 +;; @060f v152 = iadd v150, v151 +;; @0610 v153 = load.i32 notrap aligned region65 v0+1264 +;; @0612 v154 = iadd v152, v153 +;; @0613 v155 = load.i32 notrap aligned region66 v0+1280 +;; @0615 v156 = iadd v154, v155 +;; @0616 v157 = load.i32 notrap aligned region67 v0+1296 +;; @0618 v158 = iadd v156, v157 +;; @0619 v159 = load.i32 notrap aligned region68 v0+1312 +;; @061b v160 = iadd v158, v159 +;; @061c v161 = load.i32 notrap aligned region69 v0+1328 +;; @061e v162 = iadd v160, v161 +;; @061f v163 = load.i32 notrap aligned region70 v0+1344 +;; @0621 v164 = iadd v162, v163 +;; @0622 v165 = load.i32 notrap aligned region71 v0+1360 +;; @0624 v166 = iadd v164, v165 +;; @0625 v167 = load.i32 notrap aligned region72 v0+1376 +;; @0627 v168 = iadd v166, v167 +;; @0628 v169 = load.i32 notrap aligned region51 v0+1392 +;; @062a v170 = iadd v168, v169 +;; @062b v171 = load.i32 notrap aligned region73 v0+1408 +;; @062d v172 = iadd v170, v171 +;; @062e v173 = load.i32 notrap aligned region74 v0+1424 +;; @0630 v174 = iadd v172, v173 +;; @0631 v175 = load.i32 notrap aligned region75 v0+1440 +;; @0633 v176 = iadd v174, v175 +;; @0634 v177 = load.i32 notrap aligned region64 v0+1456 +;; @0636 v178 = iadd v176, v177 +;; @0637 v179 = load.i32 notrap aligned region48 v0+1472 +;; @0639 v180 = iadd v178, v179 +;; @063a v181 = load.i32 notrap aligned region76 v0+1488 +;; @063c v182 = iadd v180, v181 +;; @063d v183 = load.i32 notrap aligned region77 v0+1504 +;; @063f v184 = iadd v182, v183 +;; @0640 v185 = load.i32 notrap aligned region78 v0+1520 +;; @0642 v186 = iadd v184, v185 +;; @0643 v187 = load.i32 notrap aligned region15 v0+1536 +;; @0645 v188 = iadd v186, v187 +;; @0646 v189 = load.i32 notrap aligned region79 v0+1552 +;; @0648 v190 = iadd v188, v189 +;; @0649 v191 = load.i32 notrap aligned region80 v0+1568 +;; @064b v192 = iadd v190, v191 +;; @064c v193 = load.i32 notrap aligned region29 v0+1584 +;; @064e v194 = iadd v192, v193 +;; @064f v195 = load.i32 notrap aligned region81 v0+1600 +;; @0651 v196 = iadd v194, v195 +;; @0652 v197 = load.i32 notrap aligned region82 v0+1616 +;; @0654 v198 = iadd v196, v197 +;; @0655 v199 = load.i32 notrap aligned region83 v0+1632 +;; @0657 v200 = iadd v198, v199 +;; @0658 v201 = load.i32 notrap aligned region84 v0+1648 +;; @065a v202 = iadd v200, v201 +;; @065b v203 = load.i32 notrap aligned region85 v0+1664 +;; @065d v204 = iadd v202, v203 +;; @065e v205 = load.i32 notrap aligned region86 v0+1680 +;; @0660 v206 = iadd v204, v205 +;; @0661 v207 = load.i32 notrap aligned region87 v0+1696 +;; @0663 v208 = iadd v206, v207 +;; @0664 v209 = load.i32 notrap aligned region88 v0+1712 +;; @0666 v210 = iadd v208, v209 +;; @0667 v211 = load.i32 notrap aligned region89 v0+1728 +;; @0669 v212 = iadd v210, v211 +;; @066a v213 = load.i32 notrap aligned region11 v0+1744 +;; @066c v214 = iadd v212, v213 +;; @066d v215 = load.i32 notrap aligned region90 v0+1760 +;; @066f v216 = iadd v214, v215 +;; @0670 v217 = load.i32 notrap aligned region45 v0+1776 +;; @0672 v218 = iadd v216, v217 +;; @0673 v219 = load.i32 notrap aligned region36 v0+1792 +;; @0675 v220 = iadd v218, v219 +;; @0676 v221 = load.i32 notrap aligned region66 v0+1808 +;; @0678 v222 = iadd v220, v221 +;; @0679 v223 = load.i32 notrap aligned region31 v0+1824 +;; @067b v224 = iadd v222, v223 +;; @067c v225 = load.i32 notrap aligned region91 v0+1840 +;; @067e v226 = iadd v224, v225 +;; @067f v227 = load.i32 notrap aligned region92 v0+1856 +;; @0681 v228 = iadd v226, v227 +;; @0682 v229 = load.i32 notrap aligned region93 v0+1872 +;; @0684 v230 = iadd v228, v229 +;; @0685 v231 = load.i32 notrap aligned region94 v0+1888 +;; @0687 v232 = iadd v230, v231 +;; @0688 v233 = load.i32 notrap aligned region95 v0+1904 +;; @068a v234 = iadd v232, v233 +;; @068b v235 = load.i32 notrap aligned region96 v0+1920 +;; @068d v236 = iadd v234, v235 +;; @068e v237 = load.i32 notrap aligned region97 v0+1936 +;; @0690 v238 = iadd v236, v237 +;; @0691 v239 = load.i32 notrap aligned region98 v0+1952 +;; @0693 v240 = iadd v238, v239 +;; @0694 v241 = load.i32 notrap aligned region99 v0+1968 +;; @0696 v242 = iadd v240, v241 +;; @0697 v243 = load.i32 notrap aligned region100 v0+1984 +;; @0699 v244 = iadd v242, v243 +;; @069a v245 = load.i32 notrap aligned region2 v0+2000 +;; @069c v246 = iadd v244, v245 +;; @069d v247 = load.i32 notrap aligned region101 v0+2016 +;; @069f v248 = iadd v246, v247 +;; @06a0 v249 = load.i32 notrap aligned region4 v0+2032 +;; @06a2 v250 = iadd v248, v249 +;; @06a3 v251 = load.i32 notrap aligned region102 v0+2048 +;; @06a5 v252 = iadd v250, v251 +;; @06a6 v253 = load.i32 notrap aligned region103 v0+2064 +;; @06a8 v254 = iadd v252, v253 +;; @06a9 v255 = load.i32 notrap aligned region104 v0+2080 +;; @06ab v256 = iadd v254, v255 +;; @06ac v257 = load.i32 notrap aligned region105 v0+2096 +;; @06af v258 = iadd v256, v257 +;; @06b0 v259 = load.i32 notrap aligned region106 v0+2112 +;; @06b3 v260 = iadd v258, v259 +;; @06b4 v261 = load.i32 notrap aligned region40 v0+2128 +;; @06b7 v262 = iadd v260, v261 +;; @06b8 v263 = load.i32 notrap aligned region107 v0+2144 +;; @06bb v264 = iadd v262, v263 +;; @06bc v265 = load.i32 notrap aligned region40 v0+2160 +;; @06bf v266 = iadd v264, v265 +;; @06c0 v267 = load.i32 notrap aligned region108 v0+2176 +;; @06c3 v268 = iadd v266, v267 +;; @06c4 v269 = load.i32 notrap aligned region98 v0+2192 +;; @06c7 v270 = iadd v268, v269 +;; @06c8 v271 = load.i32 notrap aligned region20 v0+2208 +;; @06cb v272 = iadd v270, v271 +;; @06cc v273 = load.i32 notrap aligned region100 v0+2224 +;; @06cf v274 = iadd v272, v273 +;; @06d0 v275 = load.i32 notrap aligned region107 v0+2240 +;; @06d3 v276 = iadd v274, v275 +;; @06d4 v277 = load.i32 notrap aligned region109 v0+2256 +;; @06d7 v278 = iadd v276, v277 +;; @06d8 v279 = load.i32 notrap aligned region110 v0+2272 +;; @06db v280 = iadd v278, v279 +;; @06dc v281 = load.i32 notrap aligned region5 v0+2288 +;; @06df v282 = iadd v280, v281 +;; @06e0 v283 = load.i32 notrap aligned region111 v0+2304 +;; @06e3 v284 = iadd v282, v283 +;; @06e4 v285 = load.i32 notrap aligned region42 v0+2320 +;; @06e7 v286 = iadd v284, v285 +;; @06e8 v287 = load.i32 notrap aligned region112 v0+2336 +;; @06eb v288 = iadd v286, v287 +;; @06ec v289 = load.i32 notrap aligned region113 v0+2352 +;; @06ef v290 = iadd v288, v289 +;; @06f0 v291 = load.i32 notrap aligned region114 v0+2368 +;; @06f3 v292 = iadd v290, v291 +;; @06f4 v293 = load.i32 notrap aligned region115 v0+2384 +;; @06f7 v294 = iadd v292, v293 +;; @06f8 v295 = load.i32 notrap aligned region89 v0+2400 +;; @06fb v296 = iadd v294, v295 +;; @06fc v297 = load.i32 notrap aligned region43 v0+2416 +;; @06ff v298 = iadd v296, v297 +;; @0700 v299 = load.i32 notrap aligned region116 v0+2432 +;; @0703 v300 = iadd v298, v299 +;; @0704 v301 = load.i32 notrap aligned region117 v0+2448 +;; @0707 v302 = iadd v300, v301 +;; @0708 v303 = load.i32 notrap aligned region118 v0+2464 +;; @070b v304 = iadd v302, v303 +;; @070c v305 = load.i32 notrap aligned region50 v0+2480 +;; @070f v306 = iadd v304, v305 +;; @0710 v307 = load.i32 notrap aligned region119 v0+2496 +;; @0713 v308 = iadd v306, v307 +;; @0714 v309 = load.i32 notrap aligned region120 v0+2512 +;; @0717 v310 = iadd v308, v309 +;; @0718 v311 = load.i32 notrap aligned region121 v0+2528 +;; @071b v312 = iadd v310, v311 +;; @071c v313 = load.i32 notrap aligned region113 v0+2544 +;; @071f v314 = iadd v312, v313 +;; @0720 v315 = load.i32 notrap aligned region95 v0+2560 +;; @0723 v316 = iadd v314, v315 +;; @0724 v317 = load.i32 notrap aligned region122 v0+2576 +;; @0727 v318 = iadd v316, v317 +;; @0728 v319 = load.i32 notrap aligned region123 v0+2592 +;; @072b v320 = iadd v318, v319 +;; @072c v321 = load.i32 notrap aligned region124 v0+2608 +;; @072f v322 = iadd v320, v321 +;; @0730 v323 = load.i32 notrap aligned region125 v0+2624 +;; @0733 v324 = iadd v322, v323 +;; @0734 v325 = load.i32 notrap aligned region126 v0+2640 +;; @0737 v326 = iadd v324, v325 +;; @0738 v327 = load.i32 notrap aligned region3 v0+2656 +;; @073b v328 = iadd v326, v327 +;; @073c v329 = load.i32 notrap aligned region48 v0+2672 +;; @073f v330 = iadd v328, v329 +;; @0740 v331 = load.i32 notrap aligned region127 v0+2688 +;; @0743 v332 = iadd v330, v331 +;; @0744 v333 = load.i32 notrap aligned region128 v0+2704 +;; @0747 v334 = iadd v332, v333 +;; @0748 v335 = load.i32 notrap aligned region129 v0+2720 +;; @074b v336 = iadd v334, v335 +;; @074c v337 = load.i32 notrap aligned region115 v0+2736 +;; @074f v338 = iadd v336, v337 +;; @0750 v339 = load.i32 notrap aligned region130 v0+2752 +;; @0753 v340 = iadd v338, v339 +;; @0754 v341 = load.i32 notrap aligned region24 v0+2768 +;; @0757 v342 = iadd v340, v341 +;; @0758 v343 = load.i32 notrap aligned region50 v0+2784 +;; @075b v344 = iadd v342, v343 +;; @075c v345 = load.i32 notrap aligned region131 v0+2800 +;; @075f v346 = iadd v344, v345 +;; @0760 v347 = load.i32 notrap aligned region68 v0+2816 +;; @0763 v348 = iadd v346, v347 +;; @0764 v349 = load.i32 notrap aligned region71 v0+2832 +;; @0767 v350 = iadd v348, v349 +;; @0768 v351 = load.i32 notrap aligned region132 v0+2848 +;; @076b v352 = iadd v350, v351 +;; @076c v353 = load.i32 notrap aligned region115 v0+2864 +;; @076f v354 = iadd v352, v353 +;; @0770 v355 = load.i32 notrap aligned region133 v0+2880 +;; @0773 v356 = iadd v354, v355 +;; @0774 v357 = load.i32 notrap aligned region17 v0+2896 +;; @0777 v358 = iadd v356, v357 +;; @0778 v359 = load.i32 notrap aligned region65 v0+2912 +;; @077b v360 = iadd v358, v359 +;; @077c v361 = load.i32 notrap aligned region134 v0+2928 +;; @077f v362 = iadd v360, v361 +;; @0780 v363 = load.i32 notrap aligned region46 v0+2944 +;; @0783 v364 = iadd v362, v363 +;; @0784 v365 = load.i32 notrap aligned region29 v0+2960 +;; @0787 v366 = iadd v364, v365 +;; @0788 v367 = load.i32 notrap aligned region135 v0+2976 +;; @078b v368 = iadd v366, v367 +;; @078c v369 = load.i32 notrap aligned region3 v0+2992 +;; @078f v370 = iadd v368, v369 +;; @0790 v371 = load.i32 notrap aligned region64 v0+3008 +;; @0793 v372 = iadd v370, v371 +;; @0794 v373 = load.i32 notrap aligned region131 v0+3024 +;; @0797 v374 = iadd v372, v373 +;; @0798 v375 = load.i32 notrap aligned region64 v0+3040 +;; @079b v376 = iadd v374, v375 +;; @079c v377 = load.i32 notrap aligned region136 v0+3056 +;; @079f v378 = iadd v376, v377 +;; @07a0 v379 = load.i32 notrap aligned region114 v0+3072 +;; @07a3 v380 = iadd v378, v379 +;; @07a4 v381 = load.i32 notrap aligned region93 v0+3088 +;; @07a7 v382 = iadd v380, v381 +;; @07a8 v383 = load.i32 notrap aligned region10 v0+3104 +;; @07ab v384 = iadd v382, v383 +;; @07ac v385 = load.i32 notrap aligned region129 v0+3120 +;; @07af v386 = iadd v384, v385 +;; @07b0 v387 = load.i32 notrap aligned region122 v0+3136 +;; @07b3 v388 = iadd v386, v387 +;; @07b4 v389 = load.i32 notrap aligned region137 v0+3152 +;; @07b7 v390 = iadd v388, v389 +;; @07b8 v391 = load.i32 notrap aligned region138 v0+3168 +;; @07bb v392 = iadd v390, v391 +;; @07bc v393 = load.i32 notrap aligned region41 v0+3184 +;; @07bf v394 = iadd v392, v393 +;; @07c0 v395 = load.i32 notrap aligned region139 v0+3200 +;; @07c3 v396 = iadd v394, v395 +;; @07c4 v397 = load.i32 notrap aligned region140 v0+3216 +;; @07c7 v398 = iadd v396, v397 +;; @07c8 v399 = load.i32 notrap aligned region141 v0+3232 +;; @07cb v400 = iadd v398, v399 +;; @07cc v401 = load.i32 notrap aligned region142 v0+3248 +;; @07cf v402 = iadd v400, v401 +;; @07d0 v403 = load.i32 notrap aligned region97 v0+3264 +;; @07d3 v404 = iadd v402, v403 +;; @07d4 v405 = load.i32 notrap aligned region55 v0+3280 +;; @07d7 v406 = iadd v404, v405 +;; @07d8 v407 = load.i32 notrap aligned region41 v0+3296 +;; @07db v408 = iadd v406, v407 +;; @07dc v409 = load.i32 notrap aligned region93 v0+3312 +;; @07df v410 = iadd v408, v409 +;; @07e0 v411 = load.i32 notrap aligned region143 v0+3328 +;; @07e3 v412 = iadd v410, v411 +;; @07e4 v413 = load.i32 notrap aligned region94 v0+3344 +;; @07e7 v414 = iadd v412, v413 +;; @07e8 v415 = load.i32 notrap aligned region54 v0+3360 +;; @07eb v416 = iadd v414, v415 +;; @07ec v417 = load.i32 notrap aligned region144 v0+3376 +;; @07ef v418 = iadd v416, v417 +;; @07f0 v419 = load.i32 notrap aligned region145 v0+3392 +;; @07f3 v420 = iadd v418, v419 +;; @07f4 v421 = load.i32 notrap aligned region146 v0+3408 +;; @07f7 v422 = iadd v420, v421 +;; @07f8 v423 = load.i32 notrap aligned region60 v0+3424 +;; @07fb v424 = iadd v422, v423 +;; @07fc v425 = load.i32 notrap aligned region44 v0+3440 +;; @07ff v426 = iadd v424, v425 +;; @0800 v427 = load.i32 notrap aligned region78 v0+3456 +;; @0803 v428 = iadd v426, v427 +;; @0804 v429 = load.i32 notrap aligned region19 v0+3472 +;; @0807 v430 = iadd v428, v429 +;; @0808 v431 = load.i32 notrap aligned region63 v0+3488 +;; @080b v432 = iadd v430, v431 +;; @080c v433 = load.i32 notrap aligned region147 v0+3504 +;; @080f v434 = iadd v432, v433 +;; @0810 v435 = load.i32 notrap aligned region148 v0+3520 +;; @0813 v436 = iadd v434, v435 +;; @0814 v437 = load.i32 notrap aligned region149 v0+3536 +;; @0817 v438 = iadd v436, v437 +;; @0818 v439 = load.i32 notrap aligned region125 v0+3552 +;; @081b v440 = iadd v438, v439 +;; @081c v441 = load.i32 notrap aligned region98 v0+3568 +;; @081f v442 = iadd v440, v441 +;; @0820 v443 = load.i32 notrap aligned region107 v0+3584 +;; @0823 v444 = iadd v442, v443 +;; @0824 v445 = load.i32 notrap aligned region58 v0+3600 +;; @0827 v446 = iadd v444, v445 +;; @0828 v447 = load.i32 notrap aligned region1 v0+3616 +;; @082b v448 = iadd v446, v447 +;; @082c v449 = load.i32 notrap aligned region148 v0+3632 +;; @082f v450 = iadd v448, v449 +;; @0830 v451 = load.i32 notrap aligned region150 v0+3648 +;; @0833 v452 = iadd v450, v451 +;; @0834 v453 = load.i32 notrap aligned region115 v0+3664 +;; @0837 v454 = iadd v452, v453 +;; @0838 v455 = load.i32 notrap aligned region151 v0+3680 +;; @083b v456 = iadd v454, v455 +;; @083c v457 = load.i32 notrap aligned region152 v0+3696 +;; @083f v458 = iadd v456, v457 +;; @0840 v459 = load.i32 notrap aligned region106 v0+3712 +;; @0843 v460 = iadd v458, v459 +;; @0844 v461 = load.i32 notrap aligned region54 v0+3728 +;; @0847 v462 = iadd v460, v461 +;; @0848 v463 = load.i32 notrap aligned region57 v0+3744 +;; @084b v464 = iadd v462, v463 +;; @084c v465 = load.i32 notrap aligned region153 v0+3760 +;; @084f v466 = iadd v464, v465 +;; @0850 v467 = load.i32 notrap aligned region70 v0+3776 +;; @0853 v468 = iadd v466, v467 +;; @0854 v469 = load.i32 notrap aligned region53 v0+3792 +;; @0857 v470 = iadd v468, v469 +;; @0858 v471 = load.i32 notrap aligned region154 v0+3808 +;; @085b v472 = iadd v470, v471 +;; @085c v473 = load.i32 notrap aligned region155 v0+3824 +;; @085f v474 = iadd v472, v473 +;; @0860 v475 = load.i32 notrap aligned region13 v0+3840 +;; @0863 v476 = iadd v474, v475 +;; @0864 v477 = load.i32 notrap aligned region7 v0+3856 +;; @0867 v478 = iadd v476, v477 +;; @0868 v479 = load.i32 notrap aligned region96 v0+3872 +;; @086b v480 = iadd v478, v479 +;; @086c v481 = load.i32 notrap aligned region156 v0+3888 +;; @086f v482 = iadd v480, v481 +;; @0870 v483 = load.i32 notrap aligned region107 v0+3904 +;; @0873 v484 = iadd v482, v483 +;; @0874 v485 = load.i32 notrap aligned region157 v0+3920 +;; @0877 v486 = iadd v484, v485 +;; @0878 v487 = load.i32 notrap aligned region121 v0+3936 +;; @087b v488 = iadd v486, v487 +;; @087c v489 = load.i32 notrap aligned region62 v0+3952 +;; @087f v490 = iadd v488, v489 +;; @0880 v491 = load.i32 notrap aligned region158 v0+3968 +;; @0883 v492 = iadd v490, v491 +;; @0884 v493 = load.i32 notrap aligned region38 v0+3984 +;; @0887 v494 = iadd v492, v493 +;; @0888 v495 = load.i32 notrap aligned region89 v0+4000 +;; @088b v496 = iadd v494, v495 +;; @088c v497 = load.i32 notrap aligned region139 v0+4016 +;; @088f v498 = iadd v496, v497 +;; @0890 v499 = load.i32 notrap aligned region157 v0+4032 +;; @0893 v500 = iadd v498, v499 +;; @0894 v501 = load.i32 notrap aligned region159 v0+4048 +;; @0897 v502 = iadd v500, v501 +;; @0898 v503 = load.i32 notrap aligned region37 v0+4064 +;; @089b v504 = iadd v502, v503 +;; @089c v505 = load.i32 notrap aligned region36 v0+4080 +;; @089f v506 = iadd v504, v505 +;; @08a0 v507 = load.i32 notrap aligned region160 v0+4096 +;; @08a3 v508 = iadd v506, v507 +;; @08a4 v509 = load.i32 notrap aligned region68 v0+4112 +;; @08a7 v510 = iadd v508, v509 +;; @08a8 v511 = load.i32 notrap aligned region90 v0+4128 +;; @08ab v512 = iadd v510, v511 +;; @08ac v513 = load.i32 notrap aligned region90 v0+4144 +;; @08af v514 = iadd v512, v513 +;; @08b0 jump block1 +;; +;; block1: +;; @08b0 return v514 +;; } diff --git a/tests/disas/alias-region-memories.wat b/tests/disas/alias-region-memories.wat index 406af6ea83cf..6738fad51dd1 100644 --- a/tests/disas/alias-region-memories.wat +++ b/tests/disas/alias-region-memories.wat @@ -15,13 +15,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 134217728 "PublicMemory" -;; region6 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 53 "PublicMemory" +;; region6 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/alias-region-tables.wat b/tests/disas/alias-region-tables.wat index 0e29ba737ef5..a6c966de698d 100644 --- a/tests/disas/alias-region-tables.wat +++ b/tests/disas/alias-region-tables.wat @@ -16,18 +16,18 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" -;; region6 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region7 = 40 "VMContext+0x28" -;; region8 = 1677721600 "TypeIdsArray+0x0" -;; region9 = 1610612752 "VMFuncRef+0x10" -;; region10 = 1610612744 "VMFuncRef+0x8" -;; region11 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" +;; region6 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region7 = 105 "VMContext+0x28" +;; region8 = 172 "TypeIdsArray+0x0" +;; region9 = 79 "VMFuncRef+0x10" +;; region10 = 170 "VMFuncRef+0x8" +;; region11 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/arith.wat b/tests/disas/arith.wat index dc3930d8eac3..66a1f2280800 100644 --- a/tests/disas/arith.wat +++ b/tests/disas/arith.wat @@ -15,8 +15,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-call-trampoline.wat b/tests/disas/array-call-trampoline.wat index c8e6fef5999a..ef79b36eab07 100644 --- a/tests/disas/array-call-trampoline.wat +++ b/tests/disas/array-call-trampoline.wat @@ -9,12 +9,12 @@ ) ) ;; function u268435456:0(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 2013265920 "HostValRaw+0x0" -;; region1 = 8 "VMContext+0x8" -;; region2 = 67108936 "VMStoreContext+0x48" -;; region3 = 67108928 "VMStoreContext+0x40" -;; region4 = 67108944 "VMStoreContext+0x50" -;; region5 = 67109000 "VMStoreContext+0x88" +;; region0 = 58 "HostValRaw+0x0" +;; region1 = 15 "VMContext+0x8" +;; region2 = 108 "VMStoreContext+0x48" +;; region3 = 38 "VMStoreContext+0x40" +;; region4 = 203 "VMStoreContext+0x50" +;; region5 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64, i32, i64) -> i32, i64 tail ;; fn0 = colocated u0:0 sig0 ;; diff --git a/tests/disas/array-copy-anyref.wat b/tests/disas/array-copy-anyref.wat index d744058b5f28..12fb3083446e 100644 --- a/tests/disas/array-copy-anyref.wat +++ b/tests/disas/array-copy-anyref.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-copy-i64.wat b/tests/disas/array-copy-i64.wat index 961a841ddf49..d1f8284c2cd5 100644 --- a/tests/disas/array-copy-i64.wat +++ b/tests/disas/array-copy-i64.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-copy-i8.wat b/tests/disas/array-copy-i8.wat index f63c6d9d8026..705bbbb2de91 100644 --- a/tests/disas/array-copy-i8.wat +++ b/tests/disas/array-copy-i8.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-copy-inline.wat b/tests/disas/array-copy-inline.wat index cd74ca2fd46d..04d29af52e4c 100644 --- a/tests/disas/array-copy-inline.wat +++ b/tests/disas/array-copy-inline.wat @@ -16,11 +16,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-anyref.wat b/tests/disas/array-fill-anyref.wat index 7fea96be825b..cbca0e440515 100644 --- a/tests/disas/array-fill-anyref.wat +++ b/tests/disas/array-fill-anyref.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -134,11 +134,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-externref.wat b/tests/disas/array-fill-externref.wat index a634f7dd560c..545961663765 100644 --- a/tests/disas/array-fill-externref.wat +++ b/tests/disas/array-fill-externref.wat @@ -14,11 +14,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,11 +71,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-f32.wat b/tests/disas/array-fill-f32.wat index 34d23ff59b36..c7b9c1ed5478 100644 --- a/tests/disas/array-fill-f32.wat +++ b/tests/disas/array-fill-f32.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, f32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -122,11 +122,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-f64.wat b/tests/disas/array-fill-f64.wat index 3bca39c79826..8af72142a491 100644 --- a/tests/disas/array-fill-f64.wat +++ b/tests/disas/array-fill-f64.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, f64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -122,11 +122,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-funcref.wat b/tests/disas/array-fill-funcref.wat index 49fc34cf7864..1d237c788b25 100644 --- a/tests/disas/array-fill-funcref.wat +++ b/tests/disas/array-fill-funcref.wat @@ -21,11 +21,11 @@ (elem declare func $hi) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -82,11 +82,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -144,12 +144,11 @@ ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" -;; region5 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -161,10 +160,10 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v56 = stack_addr.i64 ss0 -;; store notrap aligned region5 v2, v56 +;; store notrap aligned region2 v2, v56 ;; @0053 v5 = iconst.i32 3 ;; @0053 v6 = call fn0(v0, v5), stack_map=[i32 @ ss0+0] ; v5 = 3 -;; v55 = load.i32 notrap aligned region5 v56 +;; v55 = load.i32 notrap aligned region2 v56 ;; @0057 trapz v55, user16 ;; @0057 v8 = load.i64 notrap aligned readonly can_move region0 v0+8 ;; @0057 v9 = load.i64 notrap aligned readonly can_move region2 v8+32 @@ -213,8 +212,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i16.wat b/tests/disas/array-fill-i16.wat index 145c04ad6c59..aa5db46df86b 100644 --- a/tests/disas/array-fill-i16.wat +++ b/tests/disas/array-fill-i16.wat @@ -22,11 +22,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,11 +79,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -173,11 +173,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i31ref.wat b/tests/disas/array-fill-i31ref.wat index 5473f6b81deb..c3655164299c 100644 --- a/tests/disas/array-fill-i31ref.wat +++ b/tests/disas/array-fill-i31ref.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -134,11 +134,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i32.wat b/tests/disas/array-fill-i32.wat index e001e1180f8b..71083596ae7e 100644 --- a/tests/disas/array-fill-i32.wat +++ b/tests/disas/array-fill-i32.wat @@ -22,11 +22,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,11 +79,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -173,11 +173,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i64.wat b/tests/disas/array-fill-i64.wat index 001bd55c886d..e5c4e09e6356 100644 --- a/tests/disas/array-fill-i64.wat +++ b/tests/disas/array-fill-i64.wat @@ -22,11 +22,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,11 +79,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -173,11 +173,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/basic-wat-test.wat b/tests/disas/basic-wat-test.wat index 55ba224a6e59..6c25276cad32 100644 --- a/tests/disas/basic-wat-test.wat +++ b/tests/disas/basic-wat-test.wat @@ -10,11 +10,11 @@ i32.add)) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/block-params-br_if-single-pred.wat b/tests/disas/block-params-br_if-single-pred.wat index 878407abb12d..cda3041e54b5 100644 --- a/tests/disas/block-params-br_if-single-pred.wat +++ b/tests/disas/block-params-br_if-single-pred.wat @@ -21,10 +21,10 @@ ) ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/block-params-if-else-same-values.wat b/tests/disas/block-params-if-else-same-values.wat index 52d4fe6c1c26..5e6c60c72240 100644 --- a/tests/disas/block-params-if-else-same-values.wat +++ b/tests/disas/block-params-if-else-same-values.wat @@ -21,10 +21,10 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/block-params-loop-single-iteration.wat b/tests/disas/block-params-loop-single-iteration.wat index e6b86da63e5b..478309deeb4f 100644 --- a/tests/disas/block-params-loop-single-iteration.wat +++ b/tests/disas/block-params-loop-single-iteration.wat @@ -14,8 +14,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/bounds-check.wat b/tests/disas/bounds-check.wat index 8271ac7954af..751f852333b6 100644 --- a/tests/disas/bounds-check.wat +++ b/tests/disas/bounds-check.wat @@ -25,11 +25,11 @@ (export "store" (func $store)) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/br_table.wat b/tests/disas/br_table.wat index 2d89f7766267..da9882740f51 100644 --- a/tests/disas/br_table.wat +++ b/tests/disas/br_table.wat @@ -32,8 +32,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,8 +70,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -108,8 +108,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -134,8 +134,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/branch-hinting-disabled.wat b/tests/disas/branch-hinting-disabled.wat index 21aefdd2c047..aa5e1e77679e 100644 --- a/tests/disas/branch-hinting-disabled.wat +++ b/tests/disas/branch-hinting-disabled.wat @@ -28,8 +28,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -54,8 +54,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/branch-hinting.wat b/tests/disas/branch-hinting.wat index 8d9fa1350476..49fb3dd0aae3 100644 --- a/tests/disas/branch-hinting.wat +++ b/tests/disas/branch-hinting.wat @@ -73,8 +73,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -96,8 +96,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -119,8 +119,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -145,8 +145,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -171,9 +171,9 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/byteswap.wat b/tests/disas/byteswap.wat index 9decd0d06758..a3b0144d4de3 100644 --- a/tests/disas/byteswap.wat +++ b/tests/disas/byteswap.wat @@ -72,8 +72,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,8 +88,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-indirect-with-gc.wat b/tests/disas/call-indirect-with-gc.wat index 3476592e857a..1f9856bb51d2 100644 --- a/tests/disas/call-indirect-with-gc.wat +++ b/tests/disas/call-indirect-with-gc.wat @@ -10,16 +10,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721604 "TypeIdsArray+0x4" -;; region7 = 1610612752 "VMFuncRef+0x10" -;; region8 = 1610612744 "VMFuncRef+0x8" -;; region9 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" +;; region5 = 105 "VMContext+0x28" +;; region6 = 182 "TypeIdsArray+0x4" +;; region7 = 79 "VMFuncRef+0x10" +;; region8 = 170 "VMFuncRef+0x8" +;; region9 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-indirect-without-gc.wat b/tests/disas/call-indirect-without-gc.wat index aa0a2c649441..53b35b5251ac 100644 --- a/tests/disas/call-indirect-without-gc.wat +++ b/tests/disas/call-indirect-without-gc.wat @@ -10,16 +10,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721604 "TypeIdsArray+0x4" -;; region7 = 1610612752 "VMFuncRef+0x10" -;; region8 = 1610612744 "VMFuncRef+0x8" -;; region9 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" +;; region5 = 105 "VMContext+0x28" +;; region6 = 182 "TypeIdsArray+0x4" +;; region7 = 79 "VMFuncRef+0x10" +;; region8 = 170 "VMFuncRef+0x8" +;; region9 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-indirect.wat b/tests/disas/call-indirect.wat index f78277c08053..952c02cbbe75 100644 --- a/tests/disas/call-indirect.wat +++ b/tests/disas/call-indirect.wat @@ -8,16 +8,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721604 "TypeIdsArray+0x4" -;; region7 = 1610612752 "VMFuncRef+0x10" -;; region8 = 1610612744 "VMFuncRef+0x8" -;; region9 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" +;; region5 = 105 "VMContext+0x28" +;; region6 = 182 "TypeIdsArray+0x4" +;; region7 = 79 "VMFuncRef+0x10" +;; region8 = 170 "VMFuncRef+0x8" +;; region9 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-simd.wat b/tests/disas/call-simd.wat index 8e1ad2a39a30..4fb9e0e9e1d5 100644 --- a/tests/disas/call-simd.wat +++ b/tests/disas/call-simd.wat @@ -16,8 +16,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -37,8 +37,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i8x16, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call.wat b/tests/disas/call.wat index 195074f8db56..debdf7dd11d9 100644 --- a/tests/disas/call.wat +++ b/tests/disas/call.wat @@ -12,8 +12,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,8 +32,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat b/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat index c05d9b66d215..3052550027c4 100644 --- a/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat +++ b/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat @@ -48,11 +48,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 67108968 "VMStoreContext+0x68" -;; region4 = 1946157056 "UnsafeIntrinsicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 18 "VMStoreContext+0x68" +;; region4 = 223 "UnsafeIntrinsicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/checked-intrinsics-inlined.wat b/tests/disas/component-model/checked-intrinsics-inlined.wat index b2ab799df26e..21c9b1011ae4 100644 --- a/tests/disas/component-model/checked-intrinsics-inlined.wat +++ b/tests/disas/component-model/checked-intrinsics-inlined.wat @@ -49,11 +49,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 67108968 "VMStoreContext+0x68" -;; region4 = 1946157056 "UnsafeIntrinsicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 18 "VMStoreContext+0x68" +;; region4 = 223 "UnsafeIntrinsicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/checked-intrinsics-trampoline.wat b/tests/disas/component-model/checked-intrinsics-trampoline.wat index 5ca393194a9f..4e6d5872b05b 100644 --- a/tests/disas/component-model/checked-intrinsics-trampoline.wat +++ b/tests/disas/component-model/checked-intrinsics-trampoline.wat @@ -32,7 +32,7 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 1946157056 "UnsafeIntrinsicMemory" +;; region0 = 223 "UnsafeIntrinsicMemory" ;; ;; block0(v0: i64, v1: i64, v2: i64, v3: i64, v4: i64): ;; v5 = iconst.i64 4 @@ -48,7 +48,7 @@ ;; } ;; ;; function u0:0(i64 vmctx, i64, i64, i64, i64, i32) tail { -;; region0 = 1946157056 "UnsafeIntrinsicMemory" +;; region0 = 223 "UnsafeIntrinsicMemory" ;; ;; block0(v0: i64, v1: i64, v2: i64, v3: i64, v4: i64, v5: i32): ;; v6 = iconst.i64 4 diff --git a/tests/disas/component-model/direct-adapter-calls-inlining.wat b/tests/disas/component-model/direct-adapter-calls-inlining.wat index fa939ff31b2d..2b9b41de6a44 100644 --- a/tests/disas/component-model/direct-adapter-calls-inlining.wat +++ b/tests/disas/component-model/direct-adapter-calls-inlining.wat @@ -55,12 +55,12 @@ ) ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1476395008 "VMGlobalImport+0x0" -;; region4 = 738197568 "VMComponentContext+0x40" -;; region5 = 738197552 "VMComponentContext+0x30" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 190 "VMGlobalImport+0x0" +;; region4 = 78 "VMComponentContext+0x40" +;; region5 = 249 "VMComponentContext+0x30" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/direct-adapter-calls.wat b/tests/disas/component-model/direct-adapter-calls.wat index 2e1bf09cf650..6d94e67ec277 100644 --- a/tests/disas/component-model/direct-adapter-calls.wat +++ b/tests/disas/component-model/direct-adapter-calls.wat @@ -58,8 +58,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,9 +75,9 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -96,12 +96,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 738197568 "VMComponentContext+0x40" -;; region4 = 1207959576 "VMFunctionImport+0x18" -;; region5 = 738197552 "VMComponentContext+0x30" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 78 "VMComponentContext+0x40" +;; region4 = 239 "VMFunctionImport+0x18" +;; region5 = 249 "VMComponentContext+0x30" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/exported-module-makes-adapters-indirect.wat b/tests/disas/component-model/exported-module-makes-adapters-indirect.wat index 6bc331932a32..8efb71757dc2 100644 --- a/tests/disas/component-model/exported-module-makes-adapters-indirect.wat +++ b/tests/disas/component-model/exported-module-makes-adapters-indirect.wat @@ -59,10 +59,10 @@ ) ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat b/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat index 9bdd461592fd..2898fd7cbcae 100644 --- a/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat +++ b/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat @@ -43,11 +43,11 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 67108968 "VMStoreContext+0x68" -;; region4 = 1946157056 "UnsafeIntrinsicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 18 "VMStoreContext+0x68" +;; region4 = 223 "UnsafeIntrinsicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/inlining-bug.wat b/tests/disas/component-model/inlining-bug.wat index d68cb6d69eb2..45fcfe9cb41a 100644 --- a/tests/disas/component-model/inlining-bug.wat +++ b/tests/disas/component-model/inlining-bug.wat @@ -35,9 +35,9 @@ ) ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/inlining-fuzz-bug.wat b/tests/disas/component-model/inlining-fuzz-bug.wat index 421601857118..ea49c893e4d8 100644 --- a/tests/disas/component-model/inlining-fuzz-bug.wat +++ b/tests/disas/component-model/inlining-fuzz-bug.wat @@ -38,9 +38,9 @@ ) ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/issue-11458.wat b/tests/disas/component-model/issue-11458.wat index a238d86e88a5..bbc537de7990 100644 --- a/tests/disas/component-model/issue-11458.wat +++ b/tests/disas/component-model/issue-11458.wat @@ -20,9 +20,9 @@ ) ;; function u1:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/known-imported-adapter-memory.wat b/tests/disas/component-model/known-imported-adapter-memory.wat index cf8174360983..2b687f1d22a6 100644 --- a/tests/disas/component-model/known-imported-adapter-memory.wat +++ b/tests/disas/component-model/known-imported-adapter-memory.wat @@ -60,8 +60,8 @@ (instance $b (instantiate $B (with "f" (func $a "f")))) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -76,11 +76,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -102,8 +102,8 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -118,13 +118,13 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1275068416 "VMMemoryImport+0x0" -;; region4 = 603979776 "VMMemoryDefinition+0x0" -;; region5 = 603979784 "VMMemoryDefinition+0x8" -;; region6 = 201588736 "DefinedMemory(StaticModuleIndex(1), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 112 "VMMemoryImport+0x0" +;; region4 = 193 "VMMemoryDefinition+0x0" +;; region5 = 213 "VMMemoryDefinition+0x8" +;; region6 = 248 "DefinedMemory(StaticModuleIndex(1), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -147,17 +147,17 @@ ;; } ;; ;; function u3:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 738197568 "VMComponentContext+0x40" -;; region4 = 1207959576 "VMFunctionImport+0x18" -;; region5 = 738197552 "VMComponentContext+0x30" -;; region6 = 1275068416 "VMMemoryImport+0x0" -;; region7 = 603979776 "VMMemoryDefinition+0x0" -;; region8 = 603979784 "VMMemoryDefinition+0x8" -;; region9 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" -;; region10 = 201588736 "DefinedMemory(StaticModuleIndex(1), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 78 "VMComponentContext+0x40" +;; region4 = 239 "VMFunctionImport+0x18" +;; region5 = 249 "VMComponentContext+0x30" +;; region6 = 112 "VMMemoryImport+0x0" +;; region7 = 193 "VMMemoryDefinition+0x0" +;; region8 = 213 "VMMemoryDefinition+0x8" +;; region9 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region10 = 248 "DefinedMemory(StaticModuleIndex(1), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/known-imported-canonical-abi-memory.wat b/tests/disas/component-model/known-imported-canonical-abi-memory.wat index 3cf1e1e84f42..2caec1b5030b 100644 --- a/tests/disas/component-model/known-imported-canonical-abi-memory.wat +++ b/tests/disas/component-model/known-imported-canonical-abi-memory.wat @@ -28,8 +28,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/known-imported-entities.wat b/tests/disas/component-model/known-imported-entities.wat index 0a3df05d8397..33f1c7ff43fb 100644 --- a/tests/disas/component-model/known-imported-entities.wat +++ b/tests/disas/component-model/known-imported-entities.wat @@ -44,11 +44,11 @@ (core instance $n (instantiate $N (with "" (instance $m)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -64,9 +64,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -81,11 +81,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -120,12 +120,12 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -142,10 +142,10 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -161,12 +161,12 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat b/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat index 8a18e93ae2f5..8b7fcfb673df 100644 --- a/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat +++ b/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat @@ -65,10 +65,10 @@ ) ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat b/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat index 07f20f75e633..0f2943cc0eeb 100644 --- a/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat +++ b/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat @@ -66,11 +66,11 @@ (core instance $n2 (instantiate $N (with "" (instance $m2)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -86,9 +86,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -103,11 +103,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -142,11 +142,11 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -162,9 +162,9 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -179,11 +179,11 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -218,12 +218,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -240,10 +240,10 @@ ;; } ;; ;; function u2:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -259,12 +259,12 @@ ;; } ;; ;; function u2:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/reexported-ambiguous-entities.wat b/tests/disas/component-model/reexported-ambiguous-entities.wat index 72f93efe2f5e..8e59ce7106c1 100644 --- a/tests/disas/component-model/reexported-ambiguous-entities.wat +++ b/tests/disas/component-model/reexported-ambiguous-entities.wat @@ -89,11 +89,11 @@ (core instance $p2 (instantiate $P (with "" (instance $m2)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -109,9 +109,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -165,11 +165,11 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -185,9 +185,9 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -202,11 +202,11 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -241,12 +241,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -263,10 +263,10 @@ ;; } ;; ;; function u2:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -282,12 +282,12 @@ ;; } ;; ;; function u2:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -323,12 +323,12 @@ ;; } ;; ;; function u3:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -345,10 +345,10 @@ ;; } ;; ;; function u3:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -364,12 +364,12 @@ ;; } ;; ;; function u3:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/reexported-entities-to-imported-module.wat b/tests/disas/component-model/reexported-entities-to-imported-module.wat index 911f73ac79be..a677743032dc 100644 --- a/tests/disas/component-model/reexported-entities-to-imported-module.wat +++ b/tests/disas/component-model/reexported-entities-to-imported-module.wat @@ -62,11 +62,11 @@ (core instance $d (instantiate $Dyn (with "" (instance $n)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -82,9 +82,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -99,11 +99,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -138,12 +138,12 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -160,10 +160,10 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -179,12 +179,12 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/reexported-known-entities.wat b/tests/disas/component-model/reexported-known-entities.wat index 54b99dc4ac39..21af06f2e3e1 100644 --- a/tests/disas/component-model/reexported-known-entities.wat +++ b/tests/disas/component-model/reexported-known-entities.wat @@ -68,11 +68,11 @@ (core instance $p (instantiate $P (with "" (instance $n)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,9 +88,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -105,11 +105,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -144,12 +144,12 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -166,10 +166,10 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -185,12 +185,12 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -226,12 +226,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1275068416 "VMMemoryImport+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "VMMemoryImport+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -248,10 +248,10 @@ ;; } ;; ;; function u2:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -267,12 +267,12 @@ ;; } ;; ;; function u2:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/sync-adapter-calls.wat b/tests/disas/component-model/sync-adapter-calls.wat index cb42b80d9e02..ac3ce1e59a9e 100644 --- a/tests/disas/component-model/sync-adapter-calls.wat +++ b/tests/disas/component-model/sync-adapter-calls.wat @@ -53,22 +53,21 @@ ;; function u1:0(i64 vmctx, i64) -> i32 tail { ;; ss0 = explicit_slot 32, align = 8 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1476395008 "VMGlobalImport+0x0" -;; region4 = 738197568 "VMComponentContext+0x40" -;; region5 = 67109000 "VMStoreContext+0x88" -;; region6 = 1006632960 "VMDeferredThread+0x0" -;; region7 = 1006632968 "VMDeferredThread+0x8" -;; region8 = 1006632972 "VMDeferredThread+0xc" -;; region9 = 1006632976 "VMDeferredThread+0x10" -;; region10 = 67108992 "VMStoreContext+0x80" -;; region11 = 1006632980 "VMDeferredThread+0x14" -;; region12 = 67108996 "VMStoreContext+0x84" -;; region13 = 1006632984 "VMDeferredThread+0x18" -;; region14 = 738197552 "VMComponentContext+0x30" -;; region15 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 190 "VMGlobalImport+0x0" +;; region4 = 78 "VMComponentContext+0x40" +;; region5 = 99 "VMStoreContext+0x88" +;; region6 = 219 "VMDeferredThread+0x0" +;; region7 = 116 "VMDeferredThread+0x8" +;; region8 = 93 "VMDeferredThread+0xc" +;; region9 = 235 "VMDeferredThread+0x10" +;; region10 = 98 "VMStoreContext+0x80" +;; region11 = 59 "VMDeferredThread+0x14 | VMFunctionImport+0x8" +;; region12 = 28 "VMStoreContext+0x84" +;; region13 = 248 "VMDeferredThread+0x18" +;; region14 = 249 "VMComponentContext+0x30" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/unsafe-intrinsics-used.wat b/tests/disas/component-model/unsafe-intrinsics-used.wat index 6958bd08d35b..2cf4465f7112 100644 --- a/tests/disas/component-model/unsafe-intrinsics-used.wat +++ b/tests/disas/component-model/unsafe-intrinsics-used.wat @@ -35,8 +35,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108968 "VMStoreContext+0x68" +;; region0 = 15 "VMContext+0x8" +;; region1 = 18 "VMStoreContext+0x68" ;; ;; block0(v0: i64, v1: i64): ;; v2 = load.i64 notrap aligned readonly can_move region0 v1+8 @@ -45,7 +45,7 @@ ;; } ;; ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 1946157056 "UnsafeIntrinsicMemory" +;; region0 = 223 "UnsafeIntrinsicMemory" ;; ;; block0(v0: i64, v1: i64, v2: i64): ;; v3 = load.i8 notrap aligned region0 v2 diff --git a/tests/disas/conditional-traps.wat b/tests/disas/conditional-traps.wat index 7d80d8df06f2..70a7da06ec65 100644 --- a/tests/disas/conditional-traps.wat +++ b/tests/disas/conditional-traps.wat @@ -22,8 +22,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,8 +41,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/dead-code.wat b/tests/disas/dead-code.wat index f34c462ff1b5..2c1ff39edac9 100644 --- a/tests/disas/dead-code.wat +++ b/tests/disas/dead-code.wat @@ -22,8 +22,8 @@ i32.const 42) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,8 +49,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -64,8 +64,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,8 +79,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/duplicate-function-types.wat b/tests/disas/duplicate-function-types.wat index 0220ec36d532..730fc7c7f94c 100644 --- a/tests/disas/duplicate-function-types.wat +++ b/tests/disas/duplicate-function-types.wat @@ -17,17 +17,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" -;; region6 = 40 "VMContext+0x28" -;; region7 = 1677721600 "TypeIdsArray+0x0" -;; region8 = 1610612752 "VMFuncRef+0x10" -;; region9 = 1610612744 "VMFuncRef+0x8" -;; region10 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" +;; region6 = 105 "VMContext+0x28" +;; region7 = 172 "TypeIdsArray+0x0" +;; region8 = 79 "VMFuncRef+0x10" +;; region9 = 170 "VMFuncRef+0x8" +;; region10 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/duplicate-loads-dynamic-memory.wat b/tests/disas/duplicate-loads-dynamic-memory.wat index 9568c1083054..8727aef385ec 100644 --- a/tests/disas/duplicate-loads-dynamic-memory.wat +++ b/tests/disas/duplicate-loads-dynamic-memory.wat @@ -23,11 +23,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/duplicate-loads-static-memory.wat b/tests/disas/duplicate-loads-static-memory.wat index 31f33e362444..4877d6f7502e 100644 --- a/tests/disas/duplicate-loads-static-memory.wat +++ b/tests/disas/duplicate-loads-static-memory.wat @@ -18,11 +18,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -40,11 +40,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat b/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat index c4f45135ed8b..077d755f6e6d 100644 --- a/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat +++ b/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat @@ -36,11 +36,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,11 +71,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat b/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat index eb58885e29be..d57f67a181a0 100644 --- a/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat +++ b/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat @@ -32,11 +32,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,11 +69,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/elem-segment.wat b/tests/disas/elem-segment.wat index 84782387e202..77054b557a45 100644 --- a/tests/disas/elem-segment.wat +++ b/tests/disas/elem-segment.wat @@ -11,11 +11,11 @@ (elem func $f $f $f) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108936 "VMStoreContext+0x48" -;; region2 = 67108928 "VMStoreContext+0x40" -;; region3 = 67108944 "VMStoreContext+0x50" -;; region4 = 67109000 "VMStoreContext+0x88" +;; region0 = 15 "VMContext+0x8" +;; region1 = 108 "VMStoreContext+0x48" +;; region2 = 38 "VMStoreContext+0x40" +;; region3 = 203 "VMStoreContext+0x50" +;; region4 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -44,7 +44,7 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 2080374784 "ElementSegment" +;; region0 = 66 "ElementSegment" ;; sig0 = (i64 vmctx, i32) -> i64 tail ;; sig1 = (i64 vmctx, i32) -> i64 tail ;; fn0 = colocated u805306368:4 sig0 diff --git a/tests/disas/epoch-interruption.wat b/tests/disas/epoch-interruption.wat index 96b40467616c..8e77c6e9cdd0 100644 --- a/tests/disas/epoch-interruption.wat +++ b/tests/disas/epoch-interruption.wat @@ -5,11 +5,11 @@ (module (func (loop (br 0)))) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 24 "VMContext+0x18" -;; region3 = 1744830464 "EpochCounter+0x0" -;; region4 = 67108872 "VMStoreContext+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 210 "VMContext+0x18" +;; region3 = 62 "EpochCounter+0x0" +;; region4 = 214 "VMStoreContext+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f32-load.wat b/tests/disas/f32-load.wat index 086297030721..b60bf81967d4 100644 --- a/tests/disas/f32-load.wat +++ b/tests/disas/f32-load.wat @@ -7,11 +7,11 @@ f32.load)) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f32-store.wat b/tests/disas/f32-store.wat index 6fa50556825d..47c805f104e8 100644 --- a/tests/disas/f32-store.wat +++ b/tests/disas/f32-store.wat @@ -10,11 +10,11 @@ f32.store)) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f64-load.wat b/tests/disas/f64-load.wat index 22d66bc94b18..71f63dd6eac3 100644 --- a/tests/disas/f64-load.wat +++ b/tests/disas/f64-load.wat @@ -9,11 +9,11 @@ f64.load)) ;; function u0:0(i64 vmctx, i64, i32) -> f64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f64-store.wat b/tests/disas/f64-store.wat index 95fae42d5edb..c1b6bf3f3cb7 100644 --- a/tests/disas/f64-store.wat +++ b/tests/disas/f64-store.wat @@ -10,11 +10,11 @@ f64.store)) ;; function u0:0(i64 vmctx, i64, i32, f64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/fac-multi-value.wat b/tests/disas/fac-multi-value.wat index 1940dd553fd3..b1a6d6716fe8 100644 --- a/tests/disas/fac-multi-value.wat +++ b/tests/disas/fac-multi-value.wat @@ -21,8 +21,8 @@ ) ;; function u0:0(i64 vmctx, i64, i64) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -36,8 +36,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64, i64) -> i64, i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -51,8 +51,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/fibonacci.wat b/tests/disas/fibonacci.wat index 26d230b8d0e4..c22bc6c4fe82 100644 --- a/tests/disas/fibonacci.wat +++ b/tests/disas/fibonacci.wat @@ -24,11 +24,11 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/fixed-size-memory.wat b/tests/disas/fixed-size-memory.wat index b3f59e57d3fc..b488ee90540e 100644 --- a/tests/disas/fixed-size-memory.wat +++ b/tests/disas/fixed-size-memory.wat @@ -21,11 +21,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/foo.wat b/tests/disas/foo.wat index 0ed3d5468413..2d4b0b6278ab 100644 --- a/tests/disas/foo.wat +++ b/tests/disas/foo.wat @@ -15,20 +15,20 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" -;; region5 = 1342177280 "VMTableImport+0x0" -;; region6 = 671088640 "VMTableDefinition+0x0" -;; region7 = 671088648 "VMTableDefinition+0x8" -;; region8 = 268435456 "PublicTable" -;; region9 = 40 "VMContext+0x28" -;; region10 = 1677721604 "TypeIdsArray+0x4" -;; region11 = 1610612752 "VMFuncRef+0x10" -;; region12 = 1610612744 "VMFuncRef+0x8" -;; region13 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region5 = 33 "VMTableImport+0x0" +;; region6 = 44 "VMTableDefinition+0x0" +;; region7 = 32 "VMTableDefinition+0x8" +;; region8 = 156 "PublicTable" +;; region9 = 105 "VMContext+0x28" +;; region10 = 182 "TypeIdsArray+0x4" +;; region11 = 79 "VMFuncRef+0x10" +;; region12 = 170 "VMFuncRef+0x8" +;; region13 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-copy-with-fuel.wat b/tests/disas/gc/array-copy-with-fuel.wat index 40bc30174f26..519ea7a27c96 100644 --- a/tests/disas/gc/array-copy-with-fuel.wat +++ b/tests/disas/gc/array-copy-with-fuel.wat @@ -12,14 +12,13 @@ ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108864 "VMStoreContext+0x0" -;; region3 = 67108896 "VMStoreContext+0x20" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 536870912 "GcHeap" -;; region6 = 1543503872 "Stack(ss0)" -;; region7 = 1543503873 "Stack(ss1)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 178 "VMStoreContext+0x0" +;; region3 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 5 "GcHeap" +;; region6 = 48 "Stack(ss1)" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,9 +28,9 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32, v5: i32, v6: i32): ;; v162 = stack_addr.i64 ss0 -;; store notrap aligned region6 v2, v162 +;; store notrap aligned region3 v2, v162 ;; v163 = stack_addr.i64 ss1 -;; store notrap aligned region7 v4, v163 +;; store notrap aligned region6 v4, v163 ;; @0020 v7 = load.i64 notrap aligned readonly can_move region0 v0+8 ;; @0020 v8 = load.i64 notrap aligned region2 v7 ;; @0020 v9 = iconst.i64 1 @@ -48,7 +47,7 @@ ;; @0020 jump block3(v16) ;; ;; block3(v125: i64): -;; v161 = load.i32 notrap aligned region6 v162 +;; v161 = load.i32 notrap aligned region3 v162 ;; @002b trapz v161, user16 ;; @002b v24 = load.i64 notrap aligned readonly can_move region3 v7+32 ;; @002b v22 = uextend.i64 v161 @@ -62,7 +61,7 @@ ;; @002b v29 = uextend.i64 v28 ;; @002b v35 = icmp ugt v34, v29 ;; @002b trapnz v35, user17 -;; v155 = load.i32 notrap aligned region7 v163 +;; v155 = load.i32 notrap aligned region6 v163 ;; @002b trapz v155, user16 ;; @002b v46 = uextend.i64 v155 ;; @002b v49 = iadd v24, v46 diff --git a/tests/disas/gc/array-fill-i8.wat b/tests/disas/gc/array-fill-i8.wat index 2a562fc09427..f4d6aa9f53af 100644 --- a/tests/disas/gc/array-fill-i8.wat +++ b/tests/disas/gc/array-fill-i8.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-init-data.wat b/tests/disas/gc/array-init-data.wat index 9ac20336221e..68de34aa7bdf 100644 --- a/tests/disas/gc/array-init-data.wat +++ b/tests/disas/gc/array-init-data.wat @@ -14,13 +14,13 @@ array.init_data $a $passive) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" -;; region5 = 56 "VMContext+0x38" -;; region6 = 48 "VMContext+0x30" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" +;; region5 = 138 "VMContext+0x38" +;; region6 = 120 "VMContext+0x30" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-data.wat b/tests/disas/gc/array-new-data.wat index 3da18b18d8d7..0e3f9a169f66 100644 --- a/tests/disas/gc/array-new-data.wat +++ b/tests/disas/gc/array-new-data.wat @@ -77,19 +77,18 @@ ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 56 "VMContext+0x38" -;; region3 = 48 "VMContext+0x30" -;; region4 = 32 "VMContext+0x20" -;; region5 = 872415232 "VMCopyingHeapData+0x0" -;; region6 = 872415236 "VMCopyingHeapData+0x4" -;; region7 = 40 "VMContext+0x28" -;; region8 = 1677721600 "TypeIdsArray+0x0" -;; region9 = 67108896 "VMStoreContext+0x20" -;; region10 = 536870912 "GcHeap" -;; region11 = 67108904 "VMStoreContext+0x28" -;; region12 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 138 "VMContext+0x38" +;; region3 = 120 "VMContext+0x30" +;; region4 = 198 "VMContext+0x20" +;; region5 = 191 "VMCopyingHeapData+0x0" +;; region6 = 209 "VMCopyingHeapData+0x4" +;; region7 = 105 "VMContext+0x28" +;; region8 = 172 "TypeIdsArray+0x0" +;; region9 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region10 = 5 "GcHeap" +;; region11 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -160,7 +159,7 @@ ;; ;; block4(v52: i32, v53: i64): ;; v112 = stack_addr.i64 ss0 -;; store notrap aligned region12 v52, v112 +;; store notrap aligned region9 v52, v112 ;; @0025 v54 = iconst.i64 16 ;; @0025 v55 = iadd v53, v54 ; v54 = 16 ;; @0025 store.i32 user2 region10 v3, v55 @@ -191,6 +190,6 @@ ;; @0029 jump block1 ;; ;; block1: -;; v105 = load.i32 notrap aligned region12 v112 +;; v105 = load.i32 notrap aligned region9 v112 ;; @0029 return v105 ;; } diff --git a/tests/disas/gc/array-new-default-anyref.wat b/tests/disas/gc/array-new-default-anyref.wat index 4daa0f087b41..43916c3d8e9f 100644 --- a/tests/disas/gc/array-new-default-anyref.wat +++ b/tests/disas/gc/array-new-default-anyref.wat @@ -10,16 +10,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-default-exnref.wat b/tests/disas/gc/array-new-default-exnref.wat index baeed321b8ca..79da3b2dccfc 100644 --- a/tests/disas/gc/array-new-default-exnref.wat +++ b/tests/disas/gc/array-new-default-exnref.wat @@ -10,16 +10,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-default-externref.wat b/tests/disas/gc/array-new-default-externref.wat index 78db3263ea42..0448604e1ccc 100644 --- a/tests/disas/gc/array-new-default-externref.wat +++ b/tests/disas/gc/array-new-default-externref.wat @@ -10,16 +10,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-default-f32.wat b/tests/disas/gc/array-new-default-f32.wat index 0bb1fa00a05a..a8aa0933388f 100644 --- a/tests/disas/gc/array-new-default-f32.wat +++ b/tests/disas/gc/array-new-default-f32.wat @@ -11,17 +11,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,7 +88,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region10 v40, v89 +;; store notrap aligned region7 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -115,6 +114,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region10 v89 +;; v82 = load.i32 notrap aligned region7 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-f64.wat b/tests/disas/gc/array-new-default-f64.wat index 472da45f2867..645cbee3733e 100644 --- a/tests/disas/gc/array-new-default-f64.wat +++ b/tests/disas/gc/array-new-default-f64.wat @@ -11,17 +11,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,7 +88,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region10 v40, v89 +;; store notrap aligned region7 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -115,6 +114,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region10 v89 +;; v82 = load.i32 notrap aligned region7 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-funcref.wat b/tests/disas/gc/array-new-default-funcref.wat index b5e2f4aea84f..1998991684d6 100644 --- a/tests/disas/gc/array-new-default-funcref.wat +++ b/tests/disas/gc/array-new-default-funcref.wat @@ -11,17 +11,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,7 +88,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v97 = stack_addr.i64 ss0 -;; store notrap aligned region10 v40, v97 +;; store notrap aligned region7 v40, v97 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -129,6 +128,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v90 = load.i32 notrap aligned region10 v97 +;; v90 = load.i32 notrap aligned region7 v97 ;; @0022 return v90 ;; } diff --git a/tests/disas/gc/array-new-default-i16.wat b/tests/disas/gc/array-new-default-i16.wat index a966b5d624e6..e9cabc66e772 100644 --- a/tests/disas/gc/array-new-default-i16.wat +++ b/tests/disas/gc/array-new-default-i16.wat @@ -11,17 +11,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,7 +87,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region10 v40, v89 +;; store notrap aligned region7 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -114,6 +113,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region10 v89 +;; v82 = load.i32 notrap aligned region7 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-i32.wat b/tests/disas/gc/array-new-default-i32.wat index 25ecce075555..10451c9109ca 100644 --- a/tests/disas/gc/array-new-default-i32.wat +++ b/tests/disas/gc/array-new-default-i32.wat @@ -11,17 +11,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,7 +88,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region10 v40, v89 +;; store notrap aligned region7 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -115,6 +114,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region10 v89 +;; v82 = load.i32 notrap aligned region7 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-i64.wat b/tests/disas/gc/array-new-default-i64.wat index 65b9b9114187..146470bf63ed 100644 --- a/tests/disas/gc/array-new-default-i64.wat +++ b/tests/disas/gc/array-new-default-i64.wat @@ -11,17 +11,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,7 +88,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region10 v40, v89 +;; store notrap aligned region7 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -115,6 +114,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region10 v89 +;; v82 = load.i32 notrap aligned region7 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-i8.wat b/tests/disas/gc/array-new-default-i8.wat index 45f840d560d0..8588475749e4 100644 --- a/tests/disas/gc/array-new-default-i8.wat +++ b/tests/disas/gc/array-new-default-i8.wat @@ -11,17 +11,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -85,7 +84,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v88 = stack_addr.i64 ss0 -;; store notrap aligned region10 v40, v88 +;; store notrap aligned region7 v40, v88 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -111,6 +110,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v81 = load.i32 notrap aligned region10 v88 +;; v81 = load.i32 notrap aligned region7 v88 ;; @0022 return v81 ;; } diff --git a/tests/disas/gc/call-indirect-final-type.wat b/tests/disas/gc/call-indirect-final-type.wat index 55449f05f049..2b0977b62898 100644 --- a/tests/disas/gc/call-indirect-final-type.wat +++ b/tests/disas/gc/call-indirect-final-type.wat @@ -16,16 +16,16 @@ (return_call_indirect (type $f) (local.get 0) (local.get 1))) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 1610612752 "VMFuncRef+0x10" -;; region8 = 1610612744 "VMFuncRef+0x8" -;; region9 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 79 "VMFuncRef+0x10" +;; region8 = 170 "VMFuncRef+0x8" +;; region9 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,16 +71,16 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 1610612752 "VMFuncRef+0x10" -;; region8 = 1610612744 "VMFuncRef+0x8" -;; region9 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 79 "VMFuncRef+0x10" +;; region8 = 170 "VMFuncRef+0x8" +;; region9 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-fill.wat b/tests/disas/gc/copying/array-fill.wat index 33b7e608b489..3a52a1755746 100644 --- a/tests/disas/gc/copying/array-fill.wat +++ b/tests/disas/gc/copying/array-fill.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-get-s.wat b/tests/disas/gc/copying/array-get-s.wat index 51ace936d0f6..763f03323286 100644 --- a/tests/disas/gc/copying/array-get-s.wat +++ b/tests/disas/gc/copying/array-get-s.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-get-u.wat b/tests/disas/gc/copying/array-get-u.wat index 8c2383805262..6563149ad0df 100644 --- a/tests/disas/gc/copying/array-get-u.wat +++ b/tests/disas/gc/copying/array-get-u.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-get.wat b/tests/disas/gc/copying/array-get.wat index b41b3fc7b125..4d2cc2b0f9ad 100644 --- a/tests/disas/gc/copying/array-get.wat +++ b/tests/disas/gc/copying/array-get.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-len.wat b/tests/disas/gc/copying/array-len.wat index e7b2f2b85417..178fd717c2d8 100644 --- a/tests/disas/gc/copying/array-len.wat +++ b/tests/disas/gc/copying/array-len.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat b/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat index c5f20774d01e..34e05c8e07fc 100644 --- a/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat +++ b/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat @@ -12,19 +12,18 @@ ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 ;; ss2 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" -;; region10 = 1543503872 "Stack(ss0)" -;; region11 = 1543503873 "Stack(ss1)" -;; region12 = 1543503874 "Stack(ss2)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" +;; region10 = 48 "Stack(ss1)" +;; region11 = 83 "Stack(ss2)" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -34,11 +33,11 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v137 = stack_addr.i64 ss2 -;; store notrap aligned region12 v2, v137 +;; store notrap aligned region11 v2, v137 ;; v138 = stack_addr.i64 ss1 -;; store notrap aligned region11 v3, v138 +;; store notrap aligned region10 v3, v138 ;; v139 = stack_addr.i64 ss0 -;; store notrap aligned region10 v4, v139 +;; store notrap aligned region7 v4, v139 ;; @0025 v14 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @0025 v15 = load.i32 notrap aligned region3 v14 ;; @0025 v16 = load.i32 notrap aligned region4 v14+4 @@ -102,7 +101,7 @@ ;; @0025 v6 = iconst.i32 20 ;; @0025 v63 = uadd_overflow_trap v180, v6, user2 ; v6 = 20 ;; @0025 v67 = uadd_overflow_trap v43, v63, user2 -;; v136 = load.i32 notrap aligned region12 v137 +;; v136 = load.i32 notrap aligned region11 v137 ;; @0025 v68 = uextend.i64 v67 ;; @0025 v71 = iadd v261, v68 ;; @0025 v72 = isub v63, v6 ; v6 = 20 @@ -120,7 +119,7 @@ ;; v204 = ishl v82, v179 ; v179 = 2 ;; @0025 v91 = uadd_overflow_trap v204, v6, user2 ; v6 = 20 ;; @0025 v95 = uadd_overflow_trap v43, v91, user2 -;; v134 = load.i32 notrap aligned region11 v138 +;; v134 = load.i32 notrap aligned region10 v138 ;; @0025 v96 = uextend.i64 v95 ;; @0025 v99 = iadd v261, v96 ;; v216 = iconst.i32 24 @@ -138,7 +137,7 @@ ;; v230 = ishl v110, v179 ; v179 = 2 ;; @0025 v119 = uadd_overflow_trap v230, v6, user2 ; v6 = 20 ;; @0025 v123 = uadd_overflow_trap v43, v119, user2 -;; v132 = load.i32 notrap aligned region10 v139 +;; v132 = load.i32 notrap aligned region7 v139 ;; @0025 v124 = uextend.i64 v123 ;; @0025 v127 = iadd v261, v124 ;; v247 = iconst.i32 28 diff --git a/tests/disas/gc/copying/array-new-fixed.wat b/tests/disas/gc/copying/array-new-fixed.wat index 59c33d89e77f..d91c2eed4ac7 100644 --- a/tests/disas/gc/copying/array-new-fixed.wat +++ b/tests/disas/gc/copying/array-new-fixed.wat @@ -9,16 +9,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-new.wat b/tests/disas/gc/copying/array-new.wat index ab880a95bff6..aaa1e27dd322 100644 --- a/tests/disas/gc/copying/array-new.wat +++ b/tests/disas/gc/copying/array-new.wat @@ -9,16 +9,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "VMStoreContext+0x20" +;; region8 = 5 "GcHeap" +;; region9 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-set.wat b/tests/disas/gc/copying/array-set.wat index 67c4db384ccf..4431669dc054 100644 --- a/tests/disas/gc/copying/array-set.wat +++ b/tests/disas/gc/copying/array-set.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/br-on-cast-fail.wat b/tests/disas/gc/copying/br-on-cast-fail.wat index 149f58556728..0092cfdccc58 100644 --- a/tests/disas/gc/copying/br-on-cast-fail.wat +++ b/tests/disas/gc/copying/br-on-cast-fail.wat @@ -16,15 +16,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" -;; region7 = 1207959576 "VMFunctionImport+0x18" -;; region8 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" +;; region7 = 239 "VMFunctionImport+0x18" +;; region8 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/br-on-cast.wat b/tests/disas/gc/copying/br-on-cast.wat index 955d88c83985..b285c5d137cc 100644 --- a/tests/disas/gc/copying/br-on-cast.wat +++ b/tests/disas/gc/copying/br-on-cast.wat @@ -16,15 +16,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" -;; region7 = 1207959576 "VMFunctionImport+0x18" -;; region8 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" +;; region7 = 239 "VMFunctionImport+0x18" +;; region8 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/call-indirect-and-subtyping.wat b/tests/disas/gc/copying/call-indirect-and-subtyping.wat index ba991cdd1f74..9657ec894508 100644 --- a/tests/disas/gc/copying/call-indirect-and-subtyping.wat +++ b/tests/disas/gc/copying/call-indirect-and-subtyping.wat @@ -16,15 +16,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/externref-globals.wat b/tests/disas/gc/copying/externref-globals.wat index 491f4f7836e8..9af13e975bfa 100644 --- a/tests/disas/gc/copying/externref-globals.wat +++ b/tests/disas/gc/copying/externref-globals.wat @@ -11,9 +11,9 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -30,9 +30,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/funcref-in-gc-heap-get.wat b/tests/disas/gc/copying/funcref-in-gc-heap-get.wat index d2afc6407274..5bf39dd97ff7 100644 --- a/tests/disas/gc/copying/funcref-in-gc-heap-get.wat +++ b/tests/disas/gc/copying/funcref-in-gc-heap-get.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/funcref-in-gc-heap-new.wat b/tests/disas/gc/copying/funcref-in-gc-heap-new.wat index 95345ad6a2a1..4bcd240e3314 100644 --- a/tests/disas/gc/copying/funcref-in-gc-heap-new.wat +++ b/tests/disas/gc/copying/funcref-in-gc-heap-new.wat @@ -10,16 +10,15 @@ ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,7 +70,7 @@ ;; ;; block4(v33: i32, v34: i64): ;; v41 = stack_addr.i64 ss0 -;; store notrap aligned region9 v33, v41 +;; store notrap aligned region7 v33, v41 ;; @0020 v37 = call fn1(v0, v2), stack_map=[i32 @ ss0+0] ;; @0020 v38 = ireduce.i32 v37 ;; @0020 v35 = iconst.i64 16 @@ -80,6 +79,6 @@ ;; @0023 jump block1 ;; ;; block1: -;; v40 = load.i32 notrap aligned region9 v41 +;; v40 = load.i32 notrap aligned region7 v41 ;; @0023 return v40 ;; } diff --git a/tests/disas/gc/copying/funcref-in-gc-heap-set.wat b/tests/disas/gc/copying/funcref-in-gc-heap-set.wat index 992ae6ce4738..2cd018a13a53 100644 --- a/tests/disas/gc/copying/funcref-in-gc-heap-set.wat +++ b/tests/disas/gc/copying/funcref-in-gc-heap-set.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/i31ref-globals.wat b/tests/disas/gc/copying/i31ref-globals.wat index 1a5425e60955..147541fc5659 100644 --- a/tests/disas/gc/copying/i31ref-globals.wat +++ b/tests/disas/gc/copying/i31ref-globals.wat @@ -11,9 +11,9 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -30,9 +30,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/multiple-array-get.wat b/tests/disas/gc/copying/multiple-array-get.wat index a8fac30a249c..bcf6d1e9bed8 100644 --- a/tests/disas/gc/copying/multiple-array-get.wat +++ b/tests/disas/gc/copying/multiple-array-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/multiple-struct-get.wat b/tests/disas/gc/copying/multiple-struct-get.wat index 2e8ea0ae760b..97346fc9bcca 100644 --- a/tests/disas/gc/copying/multiple-struct-get.wat +++ b/tests/disas/gc/copying/multiple-struct-get.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-cast.wat b/tests/disas/gc/copying/ref-cast.wat index c5b1ccd899b8..3f6d57c983eb 100644 --- a/tests/disas/gc/copying/ref-cast.wat +++ b/tests/disas/gc/copying/ref-cast.wat @@ -8,13 +8,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-is-null.wat b/tests/disas/gc/copying/ref-is-null.wat index 433930e51185..40e911a95652 100644 --- a/tests/disas/gc/copying/ref-is-null.wat +++ b/tests/disas/gc/copying/ref-is-null.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -28,8 +28,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-any.wat b/tests/disas/gc/copying/ref-test-any.wat index f162813c6532..931b081c80f9 100644 --- a/tests/disas/gc/copying/ref-test-any.wat +++ b/tests/disas/gc/copying/ref-test-any.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -28,8 +28,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-array.wat b/tests/disas/gc/copying/ref-test-array.wat index 005d4304d9b1..dd6d99ea0cf1 100644 --- a/tests/disas/gc/copying/ref-test-array.wat +++ b/tests/disas/gc/copying/ref-test-array.wat @@ -7,11 +7,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-concrete-func-type.wat b/tests/disas/gc/copying/ref-test-concrete-func-type.wat index 61288a4aae54..ed8ec456ea14 100644 --- a/tests/disas/gc/copying/ref-test-concrete-func-type.wat +++ b/tests/disas/gc/copying/ref-test-concrete-func-type.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 1610612752 "VMFuncRef+0x10" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 79 "VMFuncRef+0x10" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-concrete-type.wat b/tests/disas/gc/copying/ref-test-concrete-type.wat index ae712ec9839d..598f86b820d3 100644 --- a/tests/disas/gc/copying/ref-test-concrete-type.wat +++ b/tests/disas/gc/copying/ref-test-concrete-type.wat @@ -8,13 +8,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-eq.wat b/tests/disas/gc/copying/ref-test-eq.wat index c98de5880a8f..40e03feb2edd 100644 --- a/tests/disas/gc/copying/ref-test-eq.wat +++ b/tests/disas/gc/copying/ref-test-eq.wat @@ -7,11 +7,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-i31.wat b/tests/disas/gc/copying/ref-test-i31.wat index 5a90cace2877..6e7ab7442396 100644 --- a/tests/disas/gc/copying/ref-test-i31.wat +++ b/tests/disas/gc/copying/ref-test-i31.wat @@ -7,8 +7,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-none.wat b/tests/disas/gc/copying/ref-test-none.wat index af5be3dfb0da..2edc497c77fa 100644 --- a/tests/disas/gc/copying/ref-test-none.wat +++ b/tests/disas/gc/copying/ref-test-none.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -26,8 +26,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-struct.wat b/tests/disas/gc/copying/ref-test-struct.wat index 49b9c5378a5d..e0a067257bda 100644 --- a/tests/disas/gc/copying/ref-test-struct.wat +++ b/tests/disas/gc/copying/ref-test-struct.wat @@ -7,11 +7,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/struct-get.wat b/tests/disas/gc/copying/struct-get.wat index b09ef1bac248..a7b8c681cf3b 100644 --- a/tests/disas/gc/copying/struct-get.wat +++ b/tests/disas/gc/copying/struct-get.wat @@ -23,11 +23,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -76,11 +76,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -103,11 +103,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/struct-new-default.wat b/tests/disas/gc/copying/struct-new-default.wat index 4345e54f18e7..15ed647cf5f9 100644 --- a/tests/disas/gc/copying/struct-new-default.wat +++ b/tests/disas/gc/copying/struct-new-default.wat @@ -11,15 +11,15 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "VMStoreContext+0x20" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/struct-new.wat b/tests/disas/gc/copying/struct-new.wat index 5d3c5033635d..ad8e7801e523 100644 --- a/tests/disas/gc/copying/struct-new.wat +++ b/tests/disas/gc/copying/struct-new.wat @@ -12,16 +12,15 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -31,7 +30,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v45 = stack_addr.i64 ss0 -;; store notrap aligned region9 v4, v45 +;; store notrap aligned region7 v4, v45 ;; @002a v6 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @002a v7 = load.i32 notrap aligned region3 v6 ;; @002a v8 = load.i32 notrap aligned region4 v6+4 @@ -78,7 +77,7 @@ ;; @002a v39 = iconst.i64 20 ;; @002a v40 = iadd v36, v39 ; v39 = 20 ;; @002a istore8.i32 user2 little region8 v3, v40 -;; v44 = load.i32 notrap aligned region9 v45 +;; v44 = load.i32 notrap aligned region7 v45 ;; @002a v41 = iconst.i64 24 ;; @002a v42 = iadd v36, v41 ; v41 = 24 ;; @002a store user2 little region8 v44, v42 diff --git a/tests/disas/gc/copying/struct-set.wat b/tests/disas/gc/copying/struct-set.wat index e04ddcf2b202..b8499c79a951 100644 --- a/tests/disas/gc/copying/struct-set.wat +++ b/tests/disas/gc/copying/struct-set.wat @@ -19,11 +19,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,11 +71,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/v128-fields.wat b/tests/disas/gc/copying/v128-fields.wat index 6a361ff468c3..5bfffe2de657 100644 --- a/tests/disas/gc/copying/v128-fields.wat +++ b/tests/disas/gc/copying/v128-fields.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-fill.wat b/tests/disas/gc/drc/array-fill.wat index c2b063edd9b1..9e90f0ccd12c 100644 --- a/tests/disas/gc/drc/array-fill.wat +++ b/tests/disas/gc/drc/array-fill.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-get-s.wat b/tests/disas/gc/drc/array-get-s.wat index 9408317aec0a..a2a06ea9464e 100644 --- a/tests/disas/gc/drc/array-get-s.wat +++ b/tests/disas/gc/drc/array-get-s.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-get-u.wat b/tests/disas/gc/drc/array-get-u.wat index 890de6e20d7b..e50f28f7c709 100644 --- a/tests/disas/gc/drc/array-get-u.wat +++ b/tests/disas/gc/drc/array-get-u.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-get.wat b/tests/disas/gc/drc/array-get.wat index 8a6b7e6bd585..24f9fbcf582f 100644 --- a/tests/disas/gc/drc/array-get.wat +++ b/tests/disas/gc/drc/array-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-len.wat b/tests/disas/gc/drc/array-len.wat index 18e8ba08c67b..1c57b5d1ac5d 100644 --- a/tests/disas/gc/drc/array-len.wat +++ b/tests/disas/gc/drc/array-len.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat b/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat index 7c8241cbe0e3..387b893ee581 100644 --- a/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat +++ b/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat @@ -13,16 +13,15 @@ ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 ;; ss2 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 536870912 "GcHeap" -;; region6 = 67108904 "VMStoreContext+0x28" -;; region7 = 1543503872 "Stack(ss0)" -;; region8 = 1543503873 "Stack(ss1)" -;; region9 = 1543503874 "Stack(ss2)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region5 = 5 "GcHeap" +;; region6 = 35 "VMStoreContext+0x28" +;; region7 = 48 "Stack(ss1)" +;; region8 = 83 "Stack(ss2)" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,11 +31,11 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v202 = stack_addr.i64 ss2 -;; store notrap aligned region9 v2, v202 +;; store notrap aligned region8 v2, v202 ;; v203 = stack_addr.i64 ss1 -;; store notrap aligned region8 v3, v203 +;; store notrap aligned region7 v3, v203 ;; v204 = stack_addr.i64 ss0 -;; store notrap aligned region7 v4, v204 +;; store notrap aligned region4 v4, v204 ;; @0025 v14 = iconst.i32 -1476395008 ;; @0025 v15 = load.i64 notrap aligned readonly can_move region2 v0+40 ;; @0025 v16 = load.i32 notrap aligned readonly can_move region3 v15 @@ -53,7 +52,7 @@ ;; @0025 store user2 region5 v5, v24 ; v5 = 3 ;; @0025 trapz v18, user16 ;; @0025 v45 = uadd_overflow_trap v18, v216, user2 ; v216 = 40 -;; v201 = load.i32 notrap aligned region9 v202 +;; v201 = load.i32 notrap aligned region8 v202 ;; @0025 v53 = iconst.i32 1 ;; @0025 v54 = band v201, v53 ; v53 = 1 ;; @0025 v25 = iconst.i32 0 @@ -95,7 +94,7 @@ ;; @0025 v6 = iconst.i32 28 ;; @0025 v90 = uadd_overflow_trap v257, v6, user2 ; v6 = 28 ;; @0025 v94 = uadd_overflow_trap.i32 v18, v90, user2 -;; v191 = load.i32 notrap aligned region8 v203 +;; v191 = load.i32 notrap aligned region7 v203 ;; v308 = band v191, v306 ; v306 = 1 ;; v309 = iconst.i32 0 ;; v310 = icmp eq v191, v309 ; v309 = 0 @@ -137,7 +136,7 @@ ;; v321 = iconst.i32 28 ;; @0025 v139 = uadd_overflow_trap v320, v321, user2 ; v321 = 28 ;; @0025 v143 = uadd_overflow_trap.i32 v18, v139, user2 -;; v181 = load.i32 notrap aligned region7 v204 +;; v181 = load.i32 notrap aligned region4 v204 ;; v322 = iconst.i32 1 ;; v323 = band v181, v322 ; v322 = 1 ;; v324 = iconst.i32 0 diff --git a/tests/disas/gc/drc/array-new-fixed.wat b/tests/disas/gc/drc/array-new-fixed.wat index ab1bc04f634c..779a9ad1b741 100644 --- a/tests/disas/gc/drc/array-new-fixed.wat +++ b/tests/disas/gc/drc/array-new-fixed.wat @@ -10,13 +10,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 536870912 "GcHeap" -;; region6 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 5 "GcHeap" +;; region6 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-new.wat b/tests/disas/gc/drc/array-new.wat index 540a676547cd..e8dafcc75ccc 100644 --- a/tests/disas/gc/drc/array-new.wat +++ b/tests/disas/gc/drc/array-new.wat @@ -10,13 +10,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 536870912 "GcHeap" -;; region6 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 5 "GcHeap" +;; region6 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-set.wat b/tests/disas/gc/drc/array-set.wat index e217b319d14e..1dc51cd80e14 100644 --- a/tests/disas/gc/drc/array-set.wat +++ b/tests/disas/gc/drc/array-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/br-on-cast-fail.wat b/tests/disas/gc/drc/br-on-cast-fail.wat index 7c7f75e26597..1679fd96d508 100644 --- a/tests/disas/gc/drc/br-on-cast-fail.wat +++ b/tests/disas/gc/drc/br-on-cast-fail.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" -;; region7 = 1207959576 "VMFunctionImport+0x18" -;; region8 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" +;; region7 = 239 "VMFunctionImport+0x18" +;; region8 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/br-on-cast.wat b/tests/disas/gc/drc/br-on-cast.wat index 1aec99d328f7..0e140ecedf91 100644 --- a/tests/disas/gc/drc/br-on-cast.wat +++ b/tests/disas/gc/drc/br-on-cast.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" -;; region7 = 1207959576 "VMFunctionImport+0x18" -;; region8 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" +;; region7 = 239 "VMFunctionImport+0x18" +;; region8 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/call-indirect-and-subtyping.wat b/tests/disas/gc/drc/call-indirect-and-subtyping.wat index 7e1d9260fe5c..2f1b0b28e802 100644 --- a/tests/disas/gc/drc/call-indirect-and-subtyping.wat +++ b/tests/disas/gc/drc/call-indirect-and-subtyping.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/externref-globals.wat b/tests/disas/gc/drc/externref-globals.wat index 51ae94c5517a..03f6a3c9b55b 100644 --- a/tests/disas/gc/drc/externref-globals.wat +++ b/tests/disas/gc/drc/externref-globals.wat @@ -14,17 +14,16 @@ ;; function u0:0(i64 vmctx, i64) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 67108896 "VMStoreContext+0x20" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 536870912 "GcHeap" -;; region6 = 32 "VMContext+0x20" -;; region7 = 805306368 "VMDrcHeapData+0x0" -;; region8 = 805306372 "VMDrcHeapData+0x4" -;; region9 = 805306376 "VMDrcHeapData+0x8" -;; region10 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region3 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 5 "GcHeap" +;; region6 = 198 "VMContext+0x20" +;; region7 = 167 "VMDrcHeapData+0x0" +;; region8 = 254 "VMDrcHeapData+0x4" +;; region9 = 177 "VMDrcHeapData+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -37,7 +36,7 @@ ;; @0034 v3 = iadd v0, v2 ; v2 = 48 ;; @0034 v4 = load.i32 notrap aligned region2 v3 ;; v76 = stack_addr.i64 ss0 -;; store notrap aligned region10 v4, v76 +;; store notrap aligned region3 v4, v76 ;; @0034 v5 = iconst.i32 1 ;; @0034 v6 = band v4, v5 ; v5 = 1 ;; @0034 v7 = iconst.i32 0 @@ -94,17 +93,17 @@ ;; @0036 jump block1 ;; ;; block1: -;; v59 = load.i32 notrap aligned region10 v76 +;; v59 = load.i32 notrap aligned region3 v76 ;; @0036 return v59 ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 67108896 "VMStoreContext+0x20" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region3 = 244 "VMStoreContext+0x20" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/funcref-in-gc-heap-get.wat b/tests/disas/gc/drc/funcref-in-gc-heap-get.wat index 81b77e00c84e..171357cd310d 100644 --- a/tests/disas/gc/drc/funcref-in-gc-heap-get.wat +++ b/tests/disas/gc/drc/funcref-in-gc-heap-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/funcref-in-gc-heap-new.wat b/tests/disas/gc/drc/funcref-in-gc-heap-new.wat index 38b5a83be3f9..8a52cb1fe407 100644 --- a/tests/disas/gc/drc/funcref-in-gc-heap-new.wat +++ b/tests/disas/gc/drc/funcref-in-gc-heap-new.wat @@ -11,13 +11,12 @@ ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 536870912 "GcHeap" -;; region6 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region5 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -35,7 +34,7 @@ ;; @0020 v7 = iconst.i32 8 ;; @0020 v8 = call fn0(v0, v4, v6, v3, v7) ; v4 = -1342177280, v3 = 32, v7 = 8 ;; v21 = stack_addr.i64 ss0 -;; store notrap aligned region6 v8, v21 +;; store notrap aligned region4 v8, v21 ;; @0020 v15 = call fn1(v0, v2), stack_map=[i32 @ ss0+0] ;; @0020 v16 = ireduce.i32 v15 ;; @0020 v9 = load.i64 notrap aligned readonly can_move region0 v0+8 @@ -48,6 +47,6 @@ ;; @0023 jump block1 ;; ;; block1: -;; v18 = load.i32 notrap aligned region6 v21 +;; v18 = load.i32 notrap aligned region4 v21 ;; @0023 return v18 ;; } diff --git a/tests/disas/gc/drc/funcref-in-gc-heap-set.wat b/tests/disas/gc/drc/funcref-in-gc-heap-set.wat index 5787a8bf9543..ab6b648e2a0c 100644 --- a/tests/disas/gc/drc/funcref-in-gc-heap-set.wat +++ b/tests/disas/gc/drc/funcref-in-gc-heap-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/i31ref-globals.wat b/tests/disas/gc/drc/i31ref-globals.wat index 8e8cb8b23579..97e9e9506e52 100644 --- a/tests/disas/gc/drc/i31ref-globals.wat +++ b/tests/disas/gc/drc/i31ref-globals.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,9 +32,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/multiple-array-get.wat b/tests/disas/gc/drc/multiple-array-get.wat index e13d8cc119c3..37a9abe5fd45 100644 --- a/tests/disas/gc/drc/multiple-array-get.wat +++ b/tests/disas/gc/drc/multiple-array-get.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/multiple-struct-get.wat b/tests/disas/gc/drc/multiple-struct-get.wat index 525f9d01dc68..8101b9ffa4d4 100644 --- a/tests/disas/gc/drc/multiple-struct-get.wat +++ b/tests/disas/gc/drc/multiple-struct-get.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-cast.wat b/tests/disas/gc/drc/ref-cast.wat index 9ee28ff22edb..d1f7dbfe0a38 100644 --- a/tests/disas/gc/drc/ref-cast.wat +++ b/tests/disas/gc/drc/ref-cast.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-is-null.wat b/tests/disas/gc/drc/ref-is-null.wat index 0e7918fd2bbe..a7ad6c3635fa 100644 --- a/tests/disas/gc/drc/ref-is-null.wat +++ b/tests/disas/gc/drc/ref-is-null.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-any.wat b/tests/disas/gc/drc/ref-test-any.wat index 6180b722a06b..97570b0967bb 100644 --- a/tests/disas/gc/drc/ref-test-any.wat +++ b/tests/disas/gc/drc/ref-test-any.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-array.wat b/tests/disas/gc/drc/ref-test-array.wat index 6bbd27242526..1e07f2388fa8 100644 --- a/tests/disas/gc/drc/ref-test-array.wat +++ b/tests/disas/gc/drc/ref-test-array.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-concrete-func-type.wat b/tests/disas/gc/drc/ref-test-concrete-func-type.wat index e4a9abda4f54..45607ec472a4 100644 --- a/tests/disas/gc/drc/ref-test-concrete-func-type.wat +++ b/tests/disas/gc/drc/ref-test-concrete-func-type.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 1610612752 "VMFuncRef+0x10" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 79 "VMFuncRef+0x10" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-concrete-type.wat b/tests/disas/gc/drc/ref-test-concrete-type.wat index abba85535a44..443e61788471 100644 --- a/tests/disas/gc/drc/ref-test-concrete-type.wat +++ b/tests/disas/gc/drc/ref-test-concrete-type.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-eq.wat b/tests/disas/gc/drc/ref-test-eq.wat index 75c28f800081..52b479a002c4 100644 --- a/tests/disas/gc/drc/ref-test-eq.wat +++ b/tests/disas/gc/drc/ref-test-eq.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-i31.wat b/tests/disas/gc/drc/ref-test-i31.wat index b7d018aa03e9..b6fa08e24ff6 100644 --- a/tests/disas/gc/drc/ref-test-i31.wat +++ b/tests/disas/gc/drc/ref-test-i31.wat @@ -8,8 +8,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-none.wat b/tests/disas/gc/drc/ref-test-none.wat index 0e018bd5b5a1..943aba369968 100644 --- a/tests/disas/gc/drc/ref-test-none.wat +++ b/tests/disas/gc/drc/ref-test-none.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -27,8 +27,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-struct.wat b/tests/disas/gc/drc/ref-test-struct.wat index 16c119a315ef..f19e61635e9e 100644 --- a/tests/disas/gc/drc/ref-test-struct.wat +++ b/tests/disas/gc/drc/ref-test-struct.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/struct-get.wat b/tests/disas/gc/drc/struct-get.wat index 99b6552dccf3..652a011fb5f9 100644 --- a/tests/disas/gc/drc/struct-get.wat +++ b/tests/disas/gc/drc/struct-get.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,11 +50,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -77,11 +77,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -105,16 +105,15 @@ ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" -;; region5 = 32 "VMContext+0x20" -;; region6 = 805306368 "VMDrcHeapData+0x0" -;; region7 = 805306372 "VMDrcHeapData+0x4" -;; region8 = 805306376 "VMDrcHeapData+0x8" -;; region9 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" +;; region5 = 198 "VMContext+0x20" +;; region6 = 167 "VMDrcHeapData+0x0" +;; region7 = 254 "VMDrcHeapData+0x4" +;; region8 = 177 "VMDrcHeapData+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -132,7 +131,7 @@ ;; @004e v8 = iadd v6, v7 ; v7 = 32 ;; @004e v9 = load.i32 user2 little region4 v8 ;; v81 = stack_addr.i64 ss0 -;; store notrap aligned region9 v9, v81 +;; store notrap aligned region2 v9, v81 ;; @004e v10 = iconst.i32 1 ;; @004e v11 = band v9, v10 ; v10 = 1 ;; @004e v12 = iconst.i32 0 @@ -187,6 +186,6 @@ ;; @0052 jump block1 ;; ;; block1: -;; v64 = load.i32 notrap aligned region9 v81 +;; v64 = load.i32 notrap aligned region2 v81 ;; @0052 return v64 ;; } diff --git a/tests/disas/gc/drc/struct-new-default.wat b/tests/disas/gc/drc/struct-new-default.wat index 913b5862d4b3..611d0b630a8e 100644 --- a/tests/disas/gc/drc/struct-new-default.wat +++ b/tests/disas/gc/drc/struct-new-default.wat @@ -12,13 +12,13 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 536870912 "GcHeap" -;; region6 = 67108904 "VMStoreContext+0x28" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 5 "GcHeap" +;; region6 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/struct-new.wat b/tests/disas/gc/drc/struct-new.wat index 5c83bed9c857..178400952599 100644 --- a/tests/disas/gc/drc/struct-new.wat +++ b/tests/disas/gc/drc/struct-new.wat @@ -13,14 +13,13 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 536870912 "GcHeap" -;; region6 = 67108904 "VMStoreContext+0x28" -;; region7 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region5 = 5 "GcHeap" +;; region6 = 35 "VMStoreContext+0x28" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -30,7 +29,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v52 = stack_addr.i64 ss0 -;; store notrap aligned region7 v4, v52 +;; store notrap aligned region4 v4, v52 ;; @002a v6 = iconst.i32 -1342177280 ;; @002a v7 = load.i64 notrap aligned readonly can_move region2 v0+40 ;; @002a v8 = load.i32 notrap aligned readonly can_move region3 v7 @@ -47,7 +46,7 @@ ;; @002a v17 = iconst.i64 28 ;; @002a v18 = iadd v14, v17 ; v17 = 28 ;; @002a istore8 user2 little region5 v3, v18 -;; v51 = load.i32 notrap aligned region7 v52 +;; v51 = load.i32 notrap aligned region4 v52 ;; @002a v21 = iconst.i32 1 ;; @002a v22 = band v51, v21 ; v21 = 1 ;; @002a v23 = iconst.i32 0 diff --git a/tests/disas/gc/drc/struct-set.wat b/tests/disas/gc/drc/struct-set.wat index 425f5c60898e..ead2c0c42c95 100644 --- a/tests/disas/gc/drc/struct-set.wat +++ b/tests/disas/gc/drc/struct-set.wat @@ -20,11 +20,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -72,11 +72,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-fill.wat b/tests/disas/gc/null/array-fill.wat index 01c5466df089..128878ee3741 100644 --- a/tests/disas/gc/null/array-fill.wat +++ b/tests/disas/gc/null/array-fill.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-get-s.wat b/tests/disas/gc/null/array-get-s.wat index 16e0904cdd42..d46391b1b761 100644 --- a/tests/disas/gc/null/array-get-s.wat +++ b/tests/disas/gc/null/array-get-s.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-get-u.wat b/tests/disas/gc/null/array-get-u.wat index f47608d6ddac..496e77a23142 100644 --- a/tests/disas/gc/null/array-get-u.wat +++ b/tests/disas/gc/null/array-get-u.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-get.wat b/tests/disas/gc/null/array-get.wat index be3d91eb5537..b254c44dd5ed 100644 --- a/tests/disas/gc/null/array-get.wat +++ b/tests/disas/gc/null/array-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-len.wat b/tests/disas/gc/null/array-len.wat index 6de1e98f9349..e8d88355549a 100644 --- a/tests/disas/gc/null/array-len.wat +++ b/tests/disas/gc/null/array-len.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat b/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat index 9a66faaa4ac8..07f8c979f265 100644 --- a/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat +++ b/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat @@ -13,18 +13,17 @@ ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 ;; ss2 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 939524096 "VMNullHeapData+0x0" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 67108896 "VMStoreContext+0x20" -;; region6 = 40 "VMContext+0x28" -;; region7 = 1677721600 "TypeIdsArray+0x0" -;; region8 = 536870912 "GcHeap" -;; region9 = 1543503872 "Stack(ss0)" -;; region10 = 1543503873 "Stack(ss1)" -;; region11 = 1543503874 "Stack(ss2)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 34 "VMNullHeapData+0x0" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region6 = 105 "VMContext+0x28" +;; region7 = 172 "TypeIdsArray+0x0" +;; region8 = 5 "GcHeap" +;; region9 = 48 "Stack(ss1)" +;; region10 = 83 "Stack(ss2)" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -34,11 +33,11 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v131 = stack_addr.i64 ss2 -;; store notrap aligned region11 v2, v131 +;; store notrap aligned region10 v2, v131 ;; v132 = stack_addr.i64 ss1 -;; store notrap aligned region10 v3, v132 +;; store notrap aligned region9 v3, v132 ;; v133 = stack_addr.i64 ss0 -;; store notrap aligned region9 v4, v133 +;; store notrap aligned region5 v4, v133 ;; @0025 v17 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @0025 v18 = load.i32 notrap aligned region3 v17 ;; v151 = iconst.i32 7 @@ -71,7 +70,7 @@ ;; @0025 trapz v252, user16 ;; v254 = iconst.i32 24 ;; @0025 v61 = uadd_overflow_trap v252, v254, user2 ; v254 = 24 -;; v130 = load.i32 notrap aligned region11 v131 +;; v130 = load.i32 notrap aligned region10 v131 ;; @0025 v62 = uextend.i64 v61 ;; @0025 v65 = iadd v32, v62 ;; v135 = iconst.i64 12 @@ -92,7 +91,7 @@ ;; @0025 v6 = iconst.i32 12 ;; @0025 v85 = uadd_overflow_trap v204, v6, user2 ; v6 = 12 ;; @0025 v89 = uadd_overflow_trap v252, v85, user2 -;; v128 = load.i32 notrap aligned region10 v132 +;; v128 = load.i32 notrap aligned region9 v132 ;; @0025 v90 = uextend.i64 v89 ;; @0025 v93 = iadd v32, v90 ;; v216 = iconst.i32 16 @@ -110,7 +109,7 @@ ;; v230 = ishl v104, v175 ; v175 = 2 ;; @0025 v113 = uadd_overflow_trap v230, v6, user2 ; v6 = 12 ;; @0025 v117 = uadd_overflow_trap v252, v113, user2 -;; v126 = load.i32 notrap aligned region9 v133 +;; v126 = load.i32 notrap aligned region5 v133 ;; @0025 v118 = uextend.i64 v117 ;; @0025 v121 = iadd v32, v118 ;; v246 = iconst.i32 20 diff --git a/tests/disas/gc/null/array-new-fixed.wat b/tests/disas/gc/null/array-new-fixed.wat index 7267cb4e0206..22024699c1dd 100644 --- a/tests/disas/gc/null/array-new-fixed.wat +++ b/tests/disas/gc/null/array-new-fixed.wat @@ -10,15 +10,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 939524096 "VMNullHeapData+0x0" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 67108896 "VMStoreContext+0x20" -;; region6 = 40 "VMContext+0x28" -;; region7 = 1677721600 "TypeIdsArray+0x0" -;; region8 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 34 "VMNullHeapData+0x0" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 244 "VMStoreContext+0x20" +;; region6 = 105 "VMContext+0x28" +;; region7 = 172 "TypeIdsArray+0x0" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-new.wat b/tests/disas/gc/null/array-new.wat index da830db79553..f39e4ea00dc1 100644 --- a/tests/disas/gc/null/array-new.wat +++ b/tests/disas/gc/null/array-new.wat @@ -10,15 +10,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 939524096 "VMNullHeapData+0x0" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 67108896 "VMStoreContext+0x20" -;; region6 = 40 "VMContext+0x28" -;; region7 = 1677721600 "TypeIdsArray+0x0" -;; region8 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 34 "VMNullHeapData+0x0" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 244 "VMStoreContext+0x20" +;; region6 = 105 "VMContext+0x28" +;; region7 = 172 "TypeIdsArray+0x0" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-set.wat b/tests/disas/gc/null/array-set.wat index a4f5bf3b3d25..ff7968a80c7f 100644 --- a/tests/disas/gc/null/array-set.wat +++ b/tests/disas/gc/null/array-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/br-on-cast-fail.wat b/tests/disas/gc/null/br-on-cast-fail.wat index b6bdc6798c63..139236494645 100644 --- a/tests/disas/gc/null/br-on-cast-fail.wat +++ b/tests/disas/gc/null/br-on-cast-fail.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" -;; region7 = 1207959576 "VMFunctionImport+0x18" -;; region8 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" +;; region7 = 239 "VMFunctionImport+0x18" +;; region8 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/br-on-cast.wat b/tests/disas/gc/null/br-on-cast.wat index 75d7e2208305..19d92250a3f8 100644 --- a/tests/disas/gc/null/br-on-cast.wat +++ b/tests/disas/gc/null/br-on-cast.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" -;; region7 = 1207959576 "VMFunctionImport+0x18" -;; region8 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" +;; region7 = 239 "VMFunctionImport+0x18" +;; region8 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/call-indirect-and-subtyping.wat b/tests/disas/gc/null/call-indirect-and-subtyping.wat index b3144b10ade1..5aa3ee906f79 100644 --- a/tests/disas/gc/null/call-indirect-and-subtyping.wat +++ b/tests/disas/gc/null/call-indirect-and-subtyping.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/externref-globals.wat b/tests/disas/gc/null/externref-globals.wat index 65cb9d590693..dac0c8044033 100644 --- a/tests/disas/gc/null/externref-globals.wat +++ b/tests/disas/gc/null/externref-globals.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,9 +32,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/funcref-in-gc-heap-get.wat b/tests/disas/gc/null/funcref-in-gc-heap-get.wat index 17d1d5dc3b6f..c1801380fd7c 100644 --- a/tests/disas/gc/null/funcref-in-gc-heap-get.wat +++ b/tests/disas/gc/null/funcref-in-gc-heap-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/funcref-in-gc-heap-new.wat b/tests/disas/gc/null/funcref-in-gc-heap-new.wat index 5b48d29f8ae7..0ff5a827a352 100644 --- a/tests/disas/gc/null/funcref-in-gc-heap-new.wat +++ b/tests/disas/gc/null/funcref-in-gc-heap-new.wat @@ -10,15 +10,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 939524096 "VMNullHeapData+0x0" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 67108896 "VMStoreContext+0x20" -;; region6 = 40 "VMContext+0x28" -;; region7 = 1677721600 "TypeIdsArray+0x0" -;; region8 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 34 "VMNullHeapData+0x0" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 244 "VMStoreContext+0x20" +;; region6 = 105 "VMContext+0x28" +;; region7 = 172 "TypeIdsArray+0x0" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/funcref-in-gc-heap-set.wat b/tests/disas/gc/null/funcref-in-gc-heap-set.wat index a54911faed1b..b26d6d613f84 100644 --- a/tests/disas/gc/null/funcref-in-gc-heap-set.wat +++ b/tests/disas/gc/null/funcref-in-gc-heap-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/i31ref-globals.wat b/tests/disas/gc/null/i31ref-globals.wat index d574e45de0c9..2da0c1cf3842 100644 --- a/tests/disas/gc/null/i31ref-globals.wat +++ b/tests/disas/gc/null/i31ref-globals.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,9 +32,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/multiple-array-get.wat b/tests/disas/gc/null/multiple-array-get.wat index 1e6f92646983..b6651788c5ad 100644 --- a/tests/disas/gc/null/multiple-array-get.wat +++ b/tests/disas/gc/null/multiple-array-get.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/multiple-struct-get.wat b/tests/disas/gc/null/multiple-struct-get.wat index 71ad809cd6f9..62d6dee434f1 100644 --- a/tests/disas/gc/null/multiple-struct-get.wat +++ b/tests/disas/gc/null/multiple-struct-get.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32, i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-cast.wat b/tests/disas/gc/null/ref-cast.wat index 5ca5bb1fd7e7..d14f9f400513 100644 --- a/tests/disas/gc/null/ref-cast.wat +++ b/tests/disas/gc/null/ref-cast.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-is-null.wat b/tests/disas/gc/null/ref-is-null.wat index 64a0d2149a2d..1cb33231f9a0 100644 --- a/tests/disas/gc/null/ref-is-null.wat +++ b/tests/disas/gc/null/ref-is-null.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-any.wat b/tests/disas/gc/null/ref-test-any.wat index bceee0f2a522..63061346d7f1 100644 --- a/tests/disas/gc/null/ref-test-any.wat +++ b/tests/disas/gc/null/ref-test-any.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-array.wat b/tests/disas/gc/null/ref-test-array.wat index ac595109e643..badc923005ed 100644 --- a/tests/disas/gc/null/ref-test-array.wat +++ b/tests/disas/gc/null/ref-test-array.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-concrete-func-type.wat b/tests/disas/gc/null/ref-test-concrete-func-type.wat index 9216535a9628..b60ccb8e8ee4 100644 --- a/tests/disas/gc/null/ref-test-concrete-func-type.wat +++ b/tests/disas/gc/null/ref-test-concrete-func-type.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 1610612752 "VMFuncRef+0x10" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 79 "VMFuncRef+0x10" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-concrete-type.wat b/tests/disas/gc/null/ref-test-concrete-type.wat index 04eb15fb05c2..4f4395c28c22 100644 --- a/tests/disas/gc/null/ref-test-concrete-type.wat +++ b/tests/disas/gc/null/ref-test-concrete-type.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-eq.wat b/tests/disas/gc/null/ref-test-eq.wat index 804206c05d86..f2f37ab63bfe 100644 --- a/tests/disas/gc/null/ref-test-eq.wat +++ b/tests/disas/gc/null/ref-test-eq.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-i31.wat b/tests/disas/gc/null/ref-test-i31.wat index e0e3feb08883..9429a39f2785 100644 --- a/tests/disas/gc/null/ref-test-i31.wat +++ b/tests/disas/gc/null/ref-test-i31.wat @@ -8,8 +8,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-none.wat b/tests/disas/gc/null/ref-test-none.wat index 69f6aa9c650b..56e7f02e3e97 100644 --- a/tests/disas/gc/null/ref-test-none.wat +++ b/tests/disas/gc/null/ref-test-none.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -27,8 +27,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-struct.wat b/tests/disas/gc/null/ref-test-struct.wat index 46d36d15fa96..94a417a430fd 100644 --- a/tests/disas/gc/null/ref-test-struct.wat +++ b/tests/disas/gc/null/ref-test-struct.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-get-guard-pages.wat b/tests/disas/gc/null/struct-get-guard-pages.wat index 06682ff9e4f8..67794dd50b0b 100644 --- a/tests/disas/gc/null/struct-get-guard-pages.wat +++ b/tests/disas/gc/null/struct-get-guard-pages.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,11 +50,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -77,11 +77,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -104,11 +104,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-get-no-guard-pages.wat b/tests/disas/gc/null/struct-get-no-guard-pages.wat index 52cd3e3f97a5..ad2ed52d7ca0 100644 --- a/tests/disas/gc/null/struct-get-no-guard-pages.wat +++ b/tests/disas/gc/null/struct-get-no-guard-pages.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -56,11 +56,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,11 +89,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -122,11 +122,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-get.wat b/tests/disas/gc/null/struct-get.wat index 9bb373d9d10d..543ed6f42972 100644 --- a/tests/disas/gc/null/struct-get.wat +++ b/tests/disas/gc/null/struct-get.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,11 +50,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -77,11 +77,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -104,11 +104,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-new-default.wat b/tests/disas/gc/null/struct-new-default.wat index d3b1a3612f97..d9521c914905 100644 --- a/tests/disas/gc/null/struct-new-default.wat +++ b/tests/disas/gc/null/struct-new-default.wat @@ -12,15 +12,15 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 939524096 "VMNullHeapData+0x0" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 67108896 "VMStoreContext+0x20" -;; region6 = 40 "VMContext+0x28" -;; region7 = 1677721600 "TypeIdsArray+0x0" -;; region8 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 34 "VMNullHeapData+0x0" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 244 "VMStoreContext+0x20" +;; region6 = 105 "VMContext+0x28" +;; region7 = 172 "TypeIdsArray+0x0" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-new.wat b/tests/disas/gc/null/struct-new.wat index 6ea9bb70e93b..9a245688c392 100644 --- a/tests/disas/gc/null/struct-new.wat +++ b/tests/disas/gc/null/struct-new.wat @@ -13,16 +13,15 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 939524096 "VMNullHeapData+0x0" -;; region4 = 67108904 "VMStoreContext+0x28" -;; region5 = 67108896 "VMStoreContext+0x20" -;; region6 = 40 "VMContext+0x28" -;; region7 = 1677721600 "TypeIdsArray+0x0" -;; region8 = 536870912 "GcHeap" -;; region9 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 34 "VMNullHeapData+0x0" +;; region4 = 35 "VMStoreContext+0x28" +;; region5 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region6 = 105 "VMContext+0x28" +;; region7 = 172 "TypeIdsArray+0x0" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,7 +31,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v39 = stack_addr.i64 ss0 -;; store notrap aligned region9 v4, v39 +;; store notrap aligned region5 v4, v39 ;; @002a v9 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @002a v10 = load.i32 notrap aligned region3 v9 ;; v46 = iconst.i32 7 @@ -64,7 +63,7 @@ ;; @002a v33 = iconst.i64 12 ;; @002a v34 = iadd v26, v33 ; v33 = 12 ;; @002a istore8.i32 user2 little region8 v3, v34 -;; v38 = load.i32 notrap aligned region9 v39 +;; v38 = load.i32 notrap aligned region5 v39 ;; @002a v35 = iconst.i64 16 ;; @002a v36 = iadd v26, v35 ; v35 = 16 ;; @002a store user2 little region8 v38, v36 diff --git a/tests/disas/gc/null/struct-set.wat b/tests/disas/gc/null/struct-set.wat index 2731a51afa76..9671e638ab61 100644 --- a/tests/disas/gc/null/struct-set.wat +++ b/tests/disas/gc/null/struct-set.wat @@ -20,11 +20,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -72,11 +72,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/v128-fields.wat b/tests/disas/gc/null/v128-fields.wat index 966f6ef11214..393ac691381f 100644 --- a/tests/disas/gc/null/v128-fields.wat +++ b/tests/disas/gc/null/v128-fields.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108896 "VMStoreContext+0x20" -;; region3 = 67108904 "VMStoreContext+0x28" -;; region4 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "VMStoreContext+0x20" +;; region3 = 35 "VMStoreContext+0x28" +;; region4 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/ref-test-cast-final-type.wat b/tests/disas/gc/ref-test-cast-final-type.wat index 384cecc5e9d7..eb19312d35f0 100644 --- a/tests/disas/gc/ref-test-cast-final-type.wat +++ b/tests/disas/gc/ref-test-cast-final-type.wat @@ -15,13 +15,13 @@ (ref.cast (ref $s) (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -60,13 +60,13 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 40 "VMContext+0x28" -;; region3 = 1677721600 "TypeIdsArray+0x0" -;; region4 = 67108896 "VMStoreContext+0x20" -;; region5 = 67108904 "VMStoreContext+0x28" -;; region6 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 105 "VMContext+0x28" +;; region3 = 172 "TypeIdsArray+0x0" +;; region4 = 244 "VMStoreContext+0x20" +;; region5 = 35 "VMStoreContext+0x28" +;; region6 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/struct-new-default.wat b/tests/disas/gc/struct-new-default.wat index da7731d5446e..bd18c89fc541 100644 --- a/tests/disas/gc/struct-new-default.wat +++ b/tests/disas/gc/struct-new-default.wat @@ -13,15 +13,15 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "VMStoreContext+0x20" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/struct-new.wat b/tests/disas/gc/struct-new.wat index 13979f7f80ba..ee08b4da9d7d 100644 --- a/tests/disas/gc/struct-new.wat +++ b/tests/disas/gc/struct-new.wat @@ -13,16 +13,15 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 32 "VMContext+0x20" -;; region3 = 872415232 "VMCopyingHeapData+0x0" -;; region4 = 872415236 "VMCopyingHeapData+0x4" -;; region5 = 40 "VMContext+0x28" -;; region6 = 1677721600 "TypeIdsArray+0x0" -;; region7 = 67108896 "VMStoreContext+0x20" -;; region8 = 536870912 "GcHeap" -;; region9 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 198 "VMContext+0x20" +;; region3 = 191 "VMCopyingHeapData+0x0" +;; region4 = 209 "VMCopyingHeapData+0x4" +;; region5 = 105 "VMContext+0x28" +;; region6 = 172 "TypeIdsArray+0x0" +;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" +;; region8 = 5 "GcHeap" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,7 +31,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v45 = stack_addr.i64 ss0 -;; store notrap aligned region9 v4, v45 +;; store notrap aligned region7 v4, v45 ;; @002a v6 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @002a v7 = load.i32 notrap aligned region3 v6 ;; @002a v8 = load.i32 notrap aligned region4 v6+4 @@ -79,7 +78,7 @@ ;; @002a v39 = iconst.i64 20 ;; @002a v40 = iadd v36, v39 ; v39 = 20 ;; @002a istore8.i32 user2 little region8 v3, v40 -;; v44 = load.i32 notrap aligned region9 v45 +;; v44 = load.i32 notrap aligned region7 v45 ;; @002a v41 = iconst.i64 24 ;; @002a v42 = iadd v36, v41 ; v41 = 24 ;; @002a store user2 little region8 v44, v42 diff --git a/tests/disas/gc/typed-select-and-stack-maps.wat b/tests/disas/gc/typed-select-and-stack-maps.wat index ae5a98390316..bc952b10bed1 100644 --- a/tests/disas/gc/typed-select-and-stack-maps.wat +++ b/tests/disas/gc/typed-select-and-stack-maps.wat @@ -41,11 +41,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1207959560 "VMFunctionImport+0x8" -;; region4 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 59 "VMFunctionImport+0x8" +;; region4 = 244 "Stack(ss0)" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,10 +71,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/global-get.wat b/tests/disas/global-get.wat index 6776b51541d1..61e0697ad81a 100644 --- a/tests/disas/global-get.wat +++ b/tests/disas/global-get.wat @@ -31,10 +31,10 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,10 +50,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1476395008 "VMGlobalImport+0x0" -;; region3 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 190 "VMGlobalImport+0x0" +;; region3 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,8 +69,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -85,9 +85,9 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762049 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/globals.wat b/tests/disas/globals.wat index b9ed85c5df78..03b95a45c40a 100644 --- a/tests/disas/globals.wat +++ b/tests/disas/globals.wat @@ -10,12 +10,12 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/guest-debugging.wat b/tests/disas/guest-debugging.wat index 5c269be55632..88a87173599b 100644 --- a/tests/disas/guest-debugging.wat +++ b/tests/disas/guest-debugging.wat @@ -20,9 +20,9 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 28, key = 0 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1543503872 "Stack(ss0)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 244 "Stack(ss0)" ;; sig0 = (i64 vmctx, i8) tail ;; sig1 = (i64 vmctx) tail ;; sig2 = (i64) preserve_all diff --git a/tests/disas/i128-cmp.wat b/tests/disas/i128-cmp.wat index 19fb142a4e91..23f95c6dacd2 100644 --- a/tests/disas/i128-cmp.wat +++ b/tests/disas/i128-cmp.wat @@ -100,8 +100,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -119,8 +119,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -138,8 +138,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -157,8 +157,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -176,8 +176,8 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -195,8 +195,8 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -214,8 +214,8 @@ ;; } ;; ;; function u0:6(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -233,8 +233,8 @@ ;; } ;; ;; function u0:7(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load.wat b/tests/disas/i32-load.wat index 22c56fe5e8d1..0029c525f14a 100644 --- a/tests/disas/i32-load.wat +++ b/tests/disas/i32-load.wat @@ -9,11 +9,11 @@ i32.load)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load16-s.wat b/tests/disas/i32-load16-s.wat index e00f4e0c5983..fc0b616a8bae 100644 --- a/tests/disas/i32-load16-s.wat +++ b/tests/disas/i32-load16-s.wat @@ -9,11 +9,11 @@ i32.load16_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load16-u.wat b/tests/disas/i32-load16-u.wat index f0dffb1e7d29..b8c6d9a8d0fd 100644 --- a/tests/disas/i32-load16-u.wat +++ b/tests/disas/i32-load16-u.wat @@ -9,11 +9,11 @@ i32.load16_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load8-s.wat b/tests/disas/i32-load8-s.wat index 28849cd15455..e2c37552f720 100644 --- a/tests/disas/i32-load8-s.wat +++ b/tests/disas/i32-load8-s.wat @@ -9,11 +9,11 @@ i32.load8_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load8-u.wat b/tests/disas/i32-load8-u.wat index 4764d4ddcf9a..d595028a21ae 100644 --- a/tests/disas/i32-load8-u.wat +++ b/tests/disas/i32-load8-u.wat @@ -9,11 +9,11 @@ i32.load8_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-store.wat b/tests/disas/i32-store.wat index d3ee06cf5129..c3d32a8f54db 100644 --- a/tests/disas/i32-store.wat +++ b/tests/disas/i32-store.wat @@ -10,11 +10,11 @@ i32.store)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-store16.wat b/tests/disas/i32-store16.wat index 6c78b6ceae75..ea4fc1866df0 100644 --- a/tests/disas/i32-store16.wat +++ b/tests/disas/i32-store16.wat @@ -10,11 +10,11 @@ i32.store16)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-store8.wat b/tests/disas/i32-store8.wat index 52aac2f740cd..dca8ee34e660 100644 --- a/tests/disas/i32-store8.wat +++ b/tests/disas/i32-store8.wat @@ -10,11 +10,11 @@ i32.store8)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load.wat b/tests/disas/i64-load.wat index 4c79eb953cfd..492b750a7208 100644 --- a/tests/disas/i64-load.wat +++ b/tests/disas/i64-load.wat @@ -9,11 +9,11 @@ i64.load)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load16-s.wat b/tests/disas/i64-load16-s.wat index 2a8ce1316837..cfbac98df3d9 100644 --- a/tests/disas/i64-load16-s.wat +++ b/tests/disas/i64-load16-s.wat @@ -9,11 +9,11 @@ i64.load16_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load16-u.wat b/tests/disas/i64-load16-u.wat index 9170210cbd05..83fbf9b73737 100644 --- a/tests/disas/i64-load16-u.wat +++ b/tests/disas/i64-load16-u.wat @@ -9,11 +9,11 @@ i64.load16_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load8-s.wat b/tests/disas/i64-load8-s.wat index 9027f8d02c26..330b40e045d9 100644 --- a/tests/disas/i64-load8-s.wat +++ b/tests/disas/i64-load8-s.wat @@ -9,11 +9,11 @@ i64.load8_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load8-u.wat b/tests/disas/i64-load8-u.wat index 3d028d97d719..03906f363ec7 100644 --- a/tests/disas/i64-load8-u.wat +++ b/tests/disas/i64-load8-u.wat @@ -9,11 +9,11 @@ i64.load8_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store.wat b/tests/disas/i64-store.wat index f534e27bf558..a29d96d2fa41 100644 --- a/tests/disas/i64-store.wat +++ b/tests/disas/i64-store.wat @@ -10,11 +10,11 @@ i64.store)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store16.wat b/tests/disas/i64-store16.wat index bc655f5c0e24..05e0013b2b1c 100644 --- a/tests/disas/i64-store16.wat +++ b/tests/disas/i64-store16.wat @@ -10,11 +10,11 @@ i64.store16)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store32.wat b/tests/disas/i64-store32.wat index 35b994316519..17e4be7db212 100644 --- a/tests/disas/i64-store32.wat +++ b/tests/disas/i64-store32.wat @@ -10,11 +10,11 @@ i64.store32)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store8.wat b/tests/disas/i64-store8.wat index c6f784379bd8..1449f3af0345 100644 --- a/tests/disas/i64-store8.wat +++ b/tests/disas/i64-store8.wat @@ -10,11 +10,11 @@ i64.store8)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/icall-loop.wat b/tests/disas/icall-loop.wat index 2a3ede41eb9c..3ea950f0da15 100644 --- a/tests/disas/icall-loop.wat +++ b/tests/disas/icall-loop.wat @@ -23,15 +23,15 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -78,15 +78,15 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/icall-simd.wat b/tests/disas/icall-simd.wat index a3945b016eac..ae90eea29ffd 100644 --- a/tests/disas/icall-simd.wat +++ b/tests/disas/icall-simd.wat @@ -9,15 +9,15 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/icall.wat b/tests/disas/icall.wat index 59e082f19300..f011234d76d4 100644 --- a/tests/disas/icall.wat +++ b/tests/disas/icall.wat @@ -9,15 +9,15 @@ ) ;; function u0:0(i64 vmctx, i64, i32, f32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/idempotent-store.wat b/tests/disas/idempotent-store.wat index d93125dc6811..4b6ef3138cae 100644 --- a/tests/disas/idempotent-store.wat +++ b/tests/disas/idempotent-store.wat @@ -15,11 +15,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-0.wat b/tests/disas/if-reachability-translation-0.wat index 65ffbe598482..60bfbe53a093 100644 --- a/tests/disas/if-reachability-translation-0.wat +++ b/tests/disas/if-reachability-translation-0.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-1.wat b/tests/disas/if-reachability-translation-1.wat index 1ccdb967ff71..51ae18dbe1e3 100644 --- a/tests/disas/if-reachability-translation-1.wat +++ b/tests/disas/if-reachability-translation-1.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-2.wat b/tests/disas/if-reachability-translation-2.wat index 0db7d8500753..8d83d0761107 100644 --- a/tests/disas/if-reachability-translation-2.wat +++ b/tests/disas/if-reachability-translation-2.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-3.wat b/tests/disas/if-reachability-translation-3.wat index 8612a7a235a8..8510bb5ca6e7 100644 --- a/tests/disas/if-reachability-translation-3.wat +++ b/tests/disas/if-reachability-translation-3.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-4.wat b/tests/disas/if-reachability-translation-4.wat index 1a9dc2d7a817..37a53741e69b 100644 --- a/tests/disas/if-reachability-translation-4.wat +++ b/tests/disas/if-reachability-translation-4.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-5.wat b/tests/disas/if-reachability-translation-5.wat index 5787e178b6e6..b0d0b678f05b 100644 --- a/tests/disas/if-reachability-translation-5.wat +++ b/tests/disas/if-reachability-translation-5.wat @@ -16,8 +16,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-6.wat b/tests/disas/if-reachability-translation-6.wat index 3841b6e0401d..78ce15369f5e 100644 --- a/tests/disas/if-reachability-translation-6.wat +++ b/tests/disas/if-reachability-translation-6.wat @@ -16,8 +16,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-unreachable-else-params-2.wat b/tests/disas/if-unreachable-else-params-2.wat index 85dd980ea358..b493a395812e 100644 --- a/tests/disas/if-unreachable-else-params-2.wat +++ b/tests/disas/if-unreachable-else-params-2.wat @@ -20,11 +20,11 @@ (export "memory" (memory 0))) ;; function u0:0(i64 vmctx, i64, i32, i32) -> f64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-unreachable-else-params.wat b/tests/disas/if-unreachable-else-params.wat index 51e7fdc63cee..980c39c49c6a 100644 --- a/tests/disas/if-unreachable-else-params.wat +++ b/tests/disas/if-unreachable-else-params.wat @@ -43,11 +43,11 @@ (export "memory" (memory 0))) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/indirect-call-no-caching.wat b/tests/disas/indirect-call-no-caching.wat index d216ca74abe6..403e80f2d3ed 100644 --- a/tests/disas/indirect-call-no-caching.wat +++ b/tests/disas/indirect-call-no-caching.wat @@ -21,8 +21,8 @@ (elem (i32.const 1) func $f1 $f2 $f3)) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -37,8 +37,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -53,8 +53,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,15 +69,15 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/intra-module-inlining.wat b/tests/disas/intra-module-inlining.wat index 7ce3492d267a..a41cbadf0a05 100644 --- a/tests/disas/intra-module-inlining.wat +++ b/tests/disas/intra-module-inlining.wat @@ -10,8 +10,8 @@ (call 0))) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -26,8 +26,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/issue-10929-v128-icmp-egraphs.wat b/tests/disas/issue-10929-v128-icmp-egraphs.wat index 2d5a3645ae3b..d9b46e37813c 100644 --- a/tests/disas/issue-10929-v128-icmp-egraphs.wat +++ b/tests/disas/issue-10929-v128-icmp-egraphs.wat @@ -11,8 +11,8 @@ i8x16.ne) ) ;; function u0:0(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/issue-5696.wat b/tests/disas/issue-5696.wat index f62c4414a93d..da050608126b 100644 --- a/tests/disas/issue-5696.wat +++ b/tests/disas/issue-5696.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat index 9c0044b028cf..c66ae9f3d631 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index 8d7e52e515f8..b947c90a6132 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index e4f3720e25d1..765ba373c3cb 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat index 4b2d8fa36c12..ce35d4cb0919 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index 790a376240f0..9df5f1ade7be 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index 6162b34de48b..b6d8c580cc22 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat index a430bc0e3303..0752f5eff76a 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index 667fbc2e2cf5..fd56cf2d446f 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index be83c3291f0a..ef0964fe74bf 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat index 307902c2fdc1..84282904d375 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index 984b8504c781..968dd93c669d 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 7825e6dbc195..b07de08c10ea 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index 73a21952afbe..489b6a192cb8 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index f0e54c33ece6..5ee83f49deae 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index b56774e1bf56..da3753379e9f 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index 8f59f5d29620..2f644abf0ef1 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index 246bbbd498b5..203f1efbf1aa 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index 3563721b32cb..f0c9f9c6be5d 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index 9eed6bfaeab8..369ac6d8992b 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index 9a3303bdcbe3..2cf07dd3df47 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 2bb8f4f5cb5e..8493178fcdbb 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index 8398a318a63a..6bca166d29b1 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index 485ed12f6150..a8dcde523fa4 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index ebccfcc2376e..3446af38a920 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat index dbf739b50ea9..607a218b77b2 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index 921f32075c34..3619f59aeb76 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index dca2b258b1be..5bfab3341730 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat index a90dde2a9dc0..c6a9d925a8f2 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index d0e7cda5bfe7..29705756b4ff 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index 065be4b82f4a..bb3e003ffd19 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat index d68ad81ac26b..da015dfbf5a1 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index 2e9e6bce7b91..a6ceed85ba92 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 12a29fde10b8..def06aa417e7 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat index bbaa1989012e..51bee97bafa5 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index 05f297b32bc8..e77427473dfb 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index ad0cb5594e2e..01bdcee798c6 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index eef14e79d3a0..208517b0c01a 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index 025c21933f51..37163f48b8d3 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index 211bafd51e02..0db9044cfacc 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index 3efd391cd213..45693c28aaa2 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index 507ede1c3ddf..7db1a4b5f831 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index ce7779c48c8d..15ed4698af8c 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index e77195d7b616..93c4e4e88ead 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index 2495c786e5e2..2feb16572927 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 7d3cbab0ac44..c638a00e5f40 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index 2f31540c4433..b1ac32f111e0 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index 8713c6e348e7..d89c99887f5c 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index ab05e756ad21..4a9f4546fd05 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat index 9aabcde4096f..66619172cbeb 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index 678847c1534b..82935061fdac 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index ea86bd149aee..7967bb47644a 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat index 0f94b01c78b1..d7b0e9db3ab7 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index cb2a1f0d6b4d..ea66ddf60073 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index fcb393ad1b77..76e15ff82f73 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat index 5721a1858619..5edc37697f80 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index 5172e05d9f1d..05e070b0725f 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 988a78c35789..c035c296da3e 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat index 8c4aee640bf6..e29077a88302 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index a96c34c825c3..22f3696e2be4 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 35d887fdcad7..7dbc4468ef28 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index 2a1f36ddfdc0..3df0db84a685 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index 3f90d8527025..cb43d03dce68 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index 3eb4620bf9fb..2287d18fcb17 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index 2e814f514d46..fbb02a1b042d 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index 7be8641badaa..1dff950c7f3f 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index 17ed8a94b0e2..3f531d276bf0 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index 8044c78f797f..ec60dded25bb 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index 95df1bf1c59d..224137d10d89 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index e905a0b62662..02295c20f446 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index 5edc9f61f379..ff787ed19441 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index 2a60284153fe..74ee66c640ae 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 3f00817b31be..5c68eeb2a157 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat index 459299696bb6..95f8b61d411d 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index 7fd01d3945ba..3c767127ed51 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index e54675a931f7..5f5b3f246d58 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat index de8517a79ecf..dc8dd0c9dff2 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index 1aa7d20d51b7..cda080c51458 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index 589727148ec8..a460491b0cd2 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat index d3cea2339743..a165e6dbfa08 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index 876ff32fa570..6437abdcd12c 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 84884a0ecddc..896dc6d2ff2a 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat index 86964227871b..13d4bd9d7f71 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index 3c1efc83ad8e..5254b67fed65 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index c5b9a07671db..d6185e28ec76 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index ea073317fc18..cf89c4602c42 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index 1a3fb048fbd3..95f49c493729 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index 613d276457cb..c3ee77ca2739 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index 1ae5ed273b9c..0512a4c0ddf0 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index dd668aace62c..4935f14fe57c 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index fc3ca45ece88..71a8f84fcdff 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index ccb7665ed1e2..d0f23c05b00a 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index 4f375f459eb5..b9f7b9766387 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 15b140e83b3a..25138c363be6 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index 748ef00c7f8b..4a3b95c0a3df 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index ca8b58e5807b..d5ee408d59c4 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 4956df8b43e4..73915e112c25 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-epochs.wat b/tests/disas/memory-copy-epochs.wat index 81e78d5fbfb0..c5dac6d75e5b 100644 --- a/tests/disas/memory-copy-epochs.wat +++ b/tests/disas/memory-copy-epochs.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 24 "VMContext+0x18" -;; region3 = 1744830464 "EpochCounter+0x0" -;; region4 = 67108872 "VMStoreContext+0x8" -;; region5 = 603979776 "VMMemoryDefinition+0x0" -;; region6 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 210 "VMContext+0x18" +;; region3 = 62 "EpochCounter+0x0" +;; region4 = 214 "VMStoreContext+0x8" +;; region5 = 193 "VMMemoryDefinition+0x0" +;; region6 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-fuel-const-len.wat b/tests/disas/memory-copy-fuel-const-len.wat index c8cea81fb2ca..4edcd946f7e1 100644 --- a/tests/disas/memory-copy-fuel-const-len.wat +++ b/tests/disas/memory-copy-fuel-const-len.wat @@ -15,12 +15,12 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108864 "VMStoreContext+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 178 "VMStoreContext+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,11 +70,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108864 "VMStoreContext+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 178 "VMStoreContext+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -121,11 +121,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108864 "VMStoreContext+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 178 "VMStoreContext+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-fuel.wat b/tests/disas/memory-copy-fuel.wat index 624d063e2283..683e009463fc 100644 --- a/tests/disas/memory-copy-fuel.wat +++ b/tests/disas/memory-copy-fuel.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108864 "VMStoreContext+0x0" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 178 "VMStoreContext+0x0" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-inline.wat b/tests/disas/memory-copy-inline.wat index 1f1bf7efac4f..ab3a31a43472 100644 --- a/tests/disas/memory-copy-inline.wat +++ b/tests/disas/memory-copy-inline.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-min-max-same.wat b/tests/disas/memory-min-max-same.wat index 1ddbca1186c5..c2d80b28adea 100644 --- a/tests/disas/memory-min-max-same.wat +++ b/tests/disas/memory-min-max-same.wat @@ -34,13 +34,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1207959576 "VMFunctionImport+0x18" -;; region3 = 1207959560 "VMFunctionImport+0x8" -;; region4 = 603979776 "VMMemoryDefinition+0x0" -;; region5 = 603979784 "VMMemoryDefinition+0x8" -;; region6 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 239 "VMFunctionImport+0x18" +;; region3 = 59 "VMFunctionImport+0x8" +;; region4 = 193 "VMMemoryDefinition+0x0" +;; region5 = 213 "VMMemoryDefinition+0x8" +;; region6 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory.wat b/tests/disas/memory.wat index d52b954d4010..288eda1f23c3 100644 --- a/tests/disas/memory.wat +++ b/tests/disas/memory.wat @@ -13,11 +13,11 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory_copy_host32.wat b/tests/disas/memory_copy_host32.wat index 8b2dd7206d4e..efa338a1369b 100644 --- a/tests/disas/memory_copy_host32.wat +++ b/tests/disas/memory_copy_host32.wat @@ -50,8 +50,8 @@ ) ) ;; function u0:0(i32 vmctx, i32, i32, i32, i32) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -78,8 +78,8 @@ ;; } ;; ;; function u0:1(i32 vmctx, i32, i32, i32, i32) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -109,8 +109,8 @@ ;; } ;; ;; function u0:2(i32 vmctx, i32, i64, i32, i32) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -140,8 +140,8 @@ ;; } ;; ;; function u0:3(i32 vmctx, i32, i64, i64, i64) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -168,8 +168,8 @@ ;; } ;; ;; function u0:4(i32 vmctx, i32, i64, i64, i64) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -199,8 +199,8 @@ ;; } ;; ;; function u0:5(i32 vmctx, i32, i32, i64, i32) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; diff --git a/tests/disas/memory_copy_host64.wat b/tests/disas/memory_copy_host64.wat index af4e249adeb4..a3a858a57fff 100644 --- a/tests/disas/memory_copy_host64.wat +++ b/tests/disas/memory_copy_host64.wat @@ -50,10 +50,10 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -83,10 +83,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -118,10 +118,10 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -152,10 +152,10 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i64, i64, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -182,10 +182,10 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i64, i64, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -214,10 +214,10 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i32, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory_fill_host32.wat b/tests/disas/memory_fill_host32.wat index 9a3de66d73b4..af00b717ba0c 100644 --- a/tests/disas/memory_fill_host32.wat +++ b/tests/disas/memory_fill_host32.wat @@ -47,8 +47,8 @@ ) ) ;; function u0:0(i32 vmctx, i32, i32, i32) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -71,8 +71,8 @@ ;; } ;; ;; function u0:1(i32 vmctx, i32, i64, i64) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -95,8 +95,8 @@ ;; } ;; ;; function u0:2(i32 vmctx, i32, i32, i32) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -119,8 +119,8 @@ ;; } ;; ;; function u0:3(i32 vmctx, i32, i64, i64) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -143,8 +143,8 @@ ;; } ;; ;; function u0:4(i32 vmctx, i32, i32, i32) tail { -;; region0 = 603979776 "VMMemoryDefinition+0x0" -;; region1 = 603979780 "VMMemoryDefinition+0x4" +;; region0 = 193 "VMMemoryDefinition+0x0" +;; region1 = 83 "VMMemoryDefinition+0x4" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; diff --git a/tests/disas/memory_fill_host64.wat b/tests/disas/memory_fill_host64.wat index 48b7d9f600b6..218bcc13bd7a 100644 --- a/tests/disas/memory_fill_host64.wat +++ b/tests/disas/memory_fill_host64.wat @@ -44,10 +44,10 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -73,10 +73,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -100,10 +100,10 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -129,10 +129,10 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i64, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -156,10 +156,10 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-0.wat b/tests/disas/multi-0.wat index 9d081b8116ea..e9cdb55efa09 100644 --- a/tests/disas/multi-0.wat +++ b/tests/disas/multi-0.wat @@ -5,8 +5,8 @@ (local.get 0) (local.get 0))) ;; function u0:0(i64 vmctx, i64, i64) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-1.wat b/tests/disas/multi-1.wat index 37914c4d498d..9068ec55cd99 100644 --- a/tests/disas/multi-1.wat +++ b/tests/disas/multi-1.wat @@ -8,8 +8,8 @@ (f64.const 1234.5)))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32, i64, f64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-10.wat b/tests/disas/multi-10.wat index 01f6fe9537e2..d8ff7f0253a0 100644 --- a/tests/disas/multi-10.wat +++ b/tests/disas/multi-10.wat @@ -12,8 +12,8 @@ (i64.const -2))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-11.wat b/tests/disas/multi-11.wat index 0bd4cb1cefdd..c903c1f326f6 100644 --- a/tests/disas/multi-11.wat +++ b/tests/disas/multi-11.wat @@ -9,8 +9,8 @@ return))) ;; function u0:0(i64 vmctx, i64, i64) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-12.wat b/tests/disas/multi-12.wat index 67f5f6c5f63f..fa18d66841a8 100644 --- a/tests/disas/multi-12.wat +++ b/tests/disas/multi-12.wat @@ -11,8 +11,8 @@ return))) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-13.wat b/tests/disas/multi-13.wat index bb40c3ee7099..18454a799ce3 100644 --- a/tests/disas/multi-13.wat +++ b/tests/disas/multi-13.wat @@ -12,8 +12,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-14.wat b/tests/disas/multi-14.wat index a0e0f788f9ea..825117aa706e 100644 --- a/tests/disas/multi-14.wat +++ b/tests/disas/multi-14.wat @@ -12,8 +12,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-15.wat b/tests/disas/multi-15.wat index 97caeb773d48..4cbe079d8f33 100644 --- a/tests/disas/multi-15.wat +++ b/tests/disas/multi-15.wat @@ -24,8 +24,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i64, f32, f32, i32, f64, f32, i32, i32, i32, f32, f64, f64, f64, i32, i32, f32) -> f64, f32, i32, i32, i32, i64, f32, i32, i32, f32, f64, f64, i32, f32, i32, f64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-16.wat b/tests/disas/multi-16.wat index 7fa7cd884718..1b11a8e1e0e0 100644 --- a/tests/disas/multi-16.wat +++ b/tests/disas/multi-16.wat @@ -11,8 +11,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-17.wat b/tests/disas/multi-17.wat index e57e1de7bd8a..570b35fa0bae 100644 --- a/tests/disas/multi-17.wat +++ b/tests/disas/multi-17.wat @@ -28,8 +28,8 @@ (export "main" (func $main))) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-2.wat b/tests/disas/multi-2.wat index 2022c2f9949a..4b2d61284f26 100644 --- a/tests/disas/multi-2.wat +++ b/tests/disas/multi-2.wat @@ -8,8 +8,8 @@ return))) ;; function u0:0(i64 vmctx, i64, i64, i64) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-3.wat b/tests/disas/multi-3.wat index ed9c29c6b663..923b8e2a14f0 100644 --- a/tests/disas/multi-3.wat +++ b/tests/disas/multi-3.wat @@ -15,8 +15,8 @@ (i64.const 0))))) ;; function u0:0(i64 vmctx, i64, i32, i64, i64) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-4.wat b/tests/disas/multi-4.wat index 31c54f3d7708..6ff9ad176574 100644 --- a/tests/disas/multi-4.wat +++ b/tests/disas/multi-4.wat @@ -15,8 +15,8 @@ i64.const 2)))) ;; function u0:0(i64 vmctx, i64, i32, i64, i64) -> i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-5.wat b/tests/disas/multi-5.wat index a53e9b689435..eefea70f37e5 100644 --- a/tests/disas/multi-5.wat +++ b/tests/disas/multi-5.wat @@ -13,8 +13,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-6.wat b/tests/disas/multi-6.wat index 1a3a072ab9b2..62f1cc413e29 100644 --- a/tests/disas/multi-6.wat +++ b/tests/disas/multi-6.wat @@ -13,8 +13,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-7.wat b/tests/disas/multi-7.wat index 297215109bec..7842e722fc37 100644 --- a/tests/disas/multi-7.wat +++ b/tests/disas/multi-7.wat @@ -11,8 +11,8 @@ (i64.const -1))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-8.wat b/tests/disas/multi-8.wat index d971947d4cf9..0c69026d4c7f 100644 --- a/tests/disas/multi-8.wat +++ b/tests/disas/multi-8.wat @@ -14,8 +14,8 @@ (i64.const -2))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-9.wat b/tests/disas/multi-9.wat index 55b992eaebe7..adf92ef9a7bb 100644 --- a/tests/disas/multi-9.wat +++ b/tests/disas/multi-9.wat @@ -17,8 +17,8 @@ (i64.const -2))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/non-fixed-size-memory.wat b/tests/disas/non-fixed-size-memory.wat index 871c6a693ebf..dfefaa79fc43 100644 --- a/tests/disas/non-fixed-size-memory.wat +++ b/tests/disas/non-fixed-size-memory.wat @@ -21,11 +21,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/nullref.wat b/tests/disas/nullref.wat index 8f2ab7b1f3c6..293dad621032 100644 --- a/tests/disas/nullref.wat +++ b/tests/disas/nullref.wat @@ -13,8 +13,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/passive-data.wat b/tests/disas/passive-data.wat index 0cd07c1e5ab3..a3132dcc659d 100644 --- a/tests/disas/passive-data.wat +++ b/tests/disas/passive-data.wat @@ -14,12 +14,12 @@ data.drop $passive)) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 152 "VMContext+0x98" -;; region5 = 144 "VMContext+0x90" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 199 "VMContext+0x98" +;; region5 = 238 "VMContext+0x90" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -62,9 +62,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 152 "VMContext+0x98" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 199 "VMContext+0x98" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/pic.wat b/tests/disas/pic.wat index 420514c066c7..dbc78bde5733 100644 --- a/tests/disas/pic.wat +++ b/tests/disas/pic.wat @@ -48,11 +48,11 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,14 +70,14 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" -;; region6 = 1207959576 "VMFunctionImport+0x18" -;; region7 = 1207959560 "VMFunctionImport+0x8" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region6 = 239 "VMFunctionImport+0x18" +;; region7 = 59 "VMFunctionImport+0x8" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/pr2303.wat b/tests/disas/pr2303.wat index 6a4e91f1cdc1..3406ce03f5f2 100644 --- a/tests/disas/pr2303.wat +++ b/tests/disas/pr2303.wat @@ -17,11 +17,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 134217728 "PublicMemory" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 53 "PublicMemory" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/pr2559.wat b/tests/disas/pr2559.wat index abca108c8ee3..857b577fb37f 100644 --- a/tests/disas/pr2559.wat +++ b/tests/disas/pr2559.wat @@ -53,8 +53,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i8x16, i8x16, i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -95,8 +95,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i8x16, i8x16, i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-funcrefs.wat b/tests/disas/readonly-funcrefs.wat index bb9fc978a844..1d78303b929e 100644 --- a/tests/disas/readonly-funcrefs.wat +++ b/tests/disas/readonly-funcrefs.wat @@ -19,8 +19,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -34,15 +34,15 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 40 "VMContext+0x28" -;; region5 = 1677721600 "TypeIdsArray+0x0" -;; region6 = 1610612752 "VMFuncRef+0x10" -;; region7 = 1610612744 "VMFuncRef+0x8" -;; region8 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 105 "VMContext+0x28" +;; region5 = 172 "TypeIdsArray+0x0" +;; region6 = 79 "VMFuncRef+0x10" +;; region7 = 170 "VMFuncRef+0x8" +;; region8 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-heap-base-pointer1.wat b/tests/disas/readonly-heap-base-pointer1.wat index 4c7b3ff4e8ca..17ea997a63fc 100644 --- a/tests/disas/readonly-heap-base-pointer1.wat +++ b/tests/disas/readonly-heap-base-pointer1.wat @@ -8,11 +8,11 @@ (i32.load (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-heap-base-pointer2.wat b/tests/disas/readonly-heap-base-pointer2.wat index f870bcd2eca5..61cac30ede08 100644 --- a/tests/disas/readonly-heap-base-pointer2.wat +++ b/tests/disas/readonly-heap-base-pointer2.wat @@ -8,12 +8,12 @@ (i32.load (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 48 "VMContext+0x30" -;; region3 = 603979776 "VMMemoryDefinition+0x0" -;; region4 = 603979784 "VMMemoryDefinition+0x8" -;; region5 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 120 "VMContext+0x30" +;; region3 = 193 "VMMemoryDefinition+0x0" +;; region4 = 213 "VMMemoryDefinition+0x8" +;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-heap-base-pointer3.wat b/tests/disas/readonly-heap-base-pointer3.wat index 18f0e9a525d1..10183df9a586 100644 --- a/tests/disas/readonly-heap-base-pointer3.wat +++ b/tests/disas/readonly-heap-base-pointer3.wat @@ -8,11 +8,11 @@ (i32.load (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/ref-func-0.wat b/tests/disas/ref-func-0.wat index 4e03d79ee7fe..f69a085df612 100644 --- a/tests/disas/ref-func-0.wat +++ b/tests/disas/ref-func-0.wat @@ -14,9 +14,9 @@ (global (export "funcref-local") funcref (ref.func $local))) ;; function u0:0(i64 vmctx, i64) -> i32, i32, i64, i64 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 402653184 "PublicGlobal" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 172 "PublicGlobal" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/riscv64-component-builtins.wat b/tests/disas/riscv64-component-builtins.wat index 03db5c955811..f909200a7367 100644 --- a/tests/disas/riscv64-component-builtins.wat +++ b/tests/disas/riscv64-component-builtins.wat @@ -11,14 +11,14 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108912 "VMStoreContext+0x30" -;; region2 = 67108920 "VMStoreContext+0x38" -;; region3 = 738197536 "VMComponentContext+0x20" -;; region4 = 738197512 "VMComponentContext+0x8" -;; region5 = 1879048208 "ComponentBuiltinFunctionsArray+0x10" -;; region6 = 16 "VMContext+0x10" -;; region7 = 1811939656 "BuiltinFunctionsArray+0x148" +;; region0 = 15 "VMContext+0x8" +;; region1 = 36 "VMStoreContext+0x30" +;; region2 = 239 "VMStoreContext+0x38" +;; region3 = 24 "VMComponentContext+0x20" +;; region4 = 196 "VMComponentContext+0x8" +;; region5 = 125 "ComponentBuiltinFunctionsArray+0x10" +;; region6 = 143 "VMContext+0x10" +;; region7 = 223 "BuiltinFunctionsArray+0x148" ;; sig0 = (i64 sext, i32 sext, i32 sext, i32 sext) -> i64 sext system_v ;; sig1 = (i64 sext vmctx) system_v ;; diff --git a/tests/disas/select.wat b/tests/disas/select.wat index ec9e0a157be8..4d08d5e77524 100644 --- a/tests/disas/select.wat +++ b/tests/disas/select.wat @@ -21,8 +21,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -40,8 +40,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -59,8 +59,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/simd-store.wat b/tests/disas/simd-store.wat index ae9ed774cded..dfc53edab838 100644 --- a/tests/disas/simd-store.wat +++ b/tests/disas/simd-store.wat @@ -85,11 +85,11 @@ ) ;; function u0:0(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -109,11 +109,11 @@ ;; } ;; ;; function u0:10(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -135,11 +135,11 @@ ;; } ;; ;; function u0:11(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -161,11 +161,11 @@ ;; } ;; ;; function u0:12(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -185,11 +185,11 @@ ;; } ;; ;; function u0:13(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -211,11 +211,11 @@ ;; } ;; ;; function u0:14(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -237,11 +237,11 @@ ;; } ;; ;; function u0:15(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -261,11 +261,11 @@ ;; } ;; ;; function u0:16(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -287,11 +287,11 @@ ;; } ;; ;; function u0:17(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -313,11 +313,11 @@ ;; } ;; ;; function u0:18(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -339,11 +339,11 @@ ;; } ;; ;; function u0:19(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -363,11 +363,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -389,11 +389,11 @@ ;; } ;; ;; function u0:20(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -415,11 +415,11 @@ ;; } ;; ;; function u0:21(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -441,11 +441,11 @@ ;; } ;; ;; function u0:22(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -467,11 +467,11 @@ ;; } ;; ;; function u0:23(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -493,11 +493,11 @@ ;; } ;; ;; function u0:24(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -519,11 +519,11 @@ ;; } ;; ;; function u0:25(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -545,11 +545,11 @@ ;; } ;; ;; function u0:26(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -571,11 +571,11 @@ ;; } ;; ;; function u0:27(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -597,11 +597,11 @@ ;; } ;; ;; function u0:28(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -623,11 +623,11 @@ ;; } ;; ;; function u0:29(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -649,11 +649,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -675,11 +675,11 @@ ;; } ;; ;; function u0:30(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -701,11 +701,11 @@ ;; } ;; ;; function u0:31(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -727,11 +727,11 @@ ;; } ;; ;; function u0:32(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -753,11 +753,11 @@ ;; } ;; ;; function u0:33(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -779,11 +779,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -805,11 +805,11 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -829,11 +829,11 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -855,11 +855,11 @@ ;; } ;; ;; function u0:6(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -881,11 +881,11 @@ ;; } ;; ;; function u0:7(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -907,11 +907,11 @@ ;; } ;; ;; function u0:8(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -931,11 +931,11 @@ ;; } ;; ;; function u0:9(i64 vmctx, i64, i8x16) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 603979776 "VMMemoryDefinition+0x0" -;; region3 = 603979784 "VMMemoryDefinition+0x8" -;; region4 = 201326592 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 193 "VMMemoryDefinition+0x0" +;; region3 = 213 "VMMemoryDefinition+0x8" +;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/simd.wat b/tests/disas/simd.wat index 3eb80c5e816e..4ffe183ff248 100644 --- a/tests/disas/simd.wat +++ b/tests/disas/simd.wat @@ -31,8 +31,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,8 +49,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,8 +70,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,8 +89,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/simple.wat b/tests/disas/simple.wat index c2b9233b42ab..21f533b57dfd 100644 --- a/tests/disas/simple.wat +++ b/tests/disas/simple.wat @@ -19,8 +19,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -36,8 +36,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,8 +50,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/stack-switching/resume-suspend-data-passing.wat b/tests/disas/stack-switching/resume-suspend-data-passing.wat index 340af188d2d9..350d7872927b 100644 --- a/tests/disas/stack-switching/resume-suspend-data-passing.wat +++ b/tests/disas/stack-switching/resume-suspend-data-passing.wat @@ -39,18 +39,18 @@ ;; function u0:0(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 16, align = 65536 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108952 "VMStoreContext+0x58" -;; region3 = 1073741888 "VMContRef+0x40" -;; region4 = 2550136840 "VMHostArray+0x8" -;; region5 = 2483028024 "VMCommonStackInformation+0x38" -;; region6 = 1140850688 "ContinuationStackMemory+0x0" -;; region7 = 1073741904 "VMContRef+0x50" -;; region8 = 2550136836 "VMHostArray+0x4" -;; region9 = 2550136832 "VMHostArray+0x0" -;; region10 = 2483028000 "VMCommonStackInformation+0x20" -;; region11 = 1073741920 "VMContRef+0x60" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 124 "VMStoreContext+0x58" +;; region3 = 66 "VMContRef+0x40" +;; region4 = 229 "VMHostArray+0x8" +;; region5 = 23 "VMCommonStackInformation+0x38" +;; region6 = 212 "ContinuationStackMemory+0x0" +;; region7 = 182 "VMContRef+0x50" +;; region8 = 20 "VMHostArray+0x4" +;; region9 = 126 "VMHostArray+0x0" +;; region10 = 176 "VMCommonStackInformation+0x20" +;; region11 = 151 "VMContRef+0x60" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -180,26 +180,26 @@ ;; ;; function u0:1(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 8, align = 256 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1073741912 "VMContRef+0x58" -;; region3 = 1073741904 "VMContRef+0x50" -;; region4 = 67108952 "VMStoreContext+0x58" -;; region5 = 1073741888 "VMContRef+0x40" -;; region6 = 2483028000 "VMCommonStackInformation+0x20" -;; region7 = 67108936 "VMStoreContext+0x48" -;; region8 = 67108928 "VMStoreContext+0x40" -;; region9 = 67108944 "VMStoreContext+0x50" -;; region10 = 2415919112 "VMStackLimits+0x8" -;; region11 = 2415919120 "VMStackLimits+0x10" -;; region12 = 2415919128 "VMStackLimits+0x18" -;; region13 = 2415919104 "VMStackLimits+0x0" -;; region14 = 2550136836 "VMHostArray+0x4" -;; region15 = 2550136840 "VMHostArray+0x8" -;; region16 = 1140850688 "ContinuationStackMemory+0x0" -;; region17 = 2550136832 "VMHostArray+0x0" -;; region18 = 2483028024 "VMCommonStackInformation+0x38" -;; region19 = 1073741920 "VMContRef+0x60" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 84 "VMContRef+0x58" +;; region3 = 182 "VMContRef+0x50" +;; region4 = 124 "VMStoreContext+0x58" +;; region5 = 66 "VMContRef+0x40" +;; region6 = 176 "VMCommonStackInformation+0x20" +;; region7 = 108 "VMStoreContext+0x48" +;; region8 = 38 "VMStoreContext+0x40" +;; region9 = 203 "VMStoreContext+0x50" +;; region10 = 89 "VMStackLimits+0x8" +;; region11 = 150 "VMStackLimits+0x10" +;; region12 = 232 "VMStackLimits+0x18" +;; region13 = 180 "VMStackLimits+0x0" +;; region14 = 20 "VMHostArray+0x4" +;; region15 = 229 "VMHostArray+0x8" +;; region16 = 212 "ContinuationStackMemory+0x0" +;; region17 = 126 "VMHostArray+0x0" +;; region18 = 23 "VMCommonStackInformation+0x38" +;; region19 = 151 "VMContRef+0x60" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/stack-switching/resume-suspend.wat b/tests/disas/stack-switching/resume-suspend.wat index 7f567d361bb8..10b772ad847d 100644 --- a/tests/disas/stack-switching/resume-suspend.wat +++ b/tests/disas/stack-switching/resume-suspend.wat @@ -24,18 +24,18 @@ ;; function u0:0(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 16, align = 65536 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 67108952 "VMStoreContext+0x58" -;; region3 = 1073741888 "VMContRef+0x40" -;; region4 = 2550136840 "VMHostArray+0x8" -;; region5 = 2483028024 "VMCommonStackInformation+0x38" -;; region6 = 1140850688 "ContinuationStackMemory+0x0" -;; region7 = 1073741904 "VMContRef+0x50" -;; region8 = 2550136836 "VMHostArray+0x4" -;; region9 = 2483028000 "VMCommonStackInformation+0x20" -;; region10 = 1073741920 "VMContRef+0x60" -;; region11 = 2550136832 "VMHostArray+0x0" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 124 "VMStoreContext+0x58" +;; region3 = 66 "VMContRef+0x40" +;; region4 = 229 "VMHostArray+0x8" +;; region5 = 23 "VMCommonStackInformation+0x38" +;; region6 = 212 "ContinuationStackMemory+0x0" +;; region7 = 182 "VMContRef+0x50" +;; region8 = 20 "VMHostArray+0x4" +;; region9 = 176 "VMCommonStackInformation+0x20" +;; region10 = 151 "VMContRef+0x60" +;; region11 = 126 "VMHostArray+0x0" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -146,26 +146,26 @@ ;; ;; function u0:1(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 8, align = 256 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1073741912 "VMContRef+0x58" -;; region3 = 1073741904 "VMContRef+0x50" -;; region4 = 67108952 "VMStoreContext+0x58" -;; region5 = 1073741888 "VMContRef+0x40" -;; region6 = 2483028000 "VMCommonStackInformation+0x20" -;; region7 = 67108936 "VMStoreContext+0x48" -;; region8 = 67108928 "VMStoreContext+0x40" -;; region9 = 67108944 "VMStoreContext+0x50" -;; region10 = 2415919112 "VMStackLimits+0x8" -;; region11 = 2415919120 "VMStackLimits+0x10" -;; region12 = 2415919128 "VMStackLimits+0x18" -;; region13 = 2415919104 "VMStackLimits+0x0" -;; region14 = 2550136836 "VMHostArray+0x4" -;; region15 = 2550136840 "VMHostArray+0x8" -;; region16 = 1140850688 "ContinuationStackMemory+0x0" -;; region17 = 2550136832 "VMHostArray+0x0" -;; region18 = 2483028024 "VMCommonStackInformation+0x38" -;; region19 = 1073741920 "VMContRef+0x60" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 84 "VMContRef+0x58" +;; region3 = 182 "VMContRef+0x50" +;; region4 = 124 "VMStoreContext+0x58" +;; region5 = 66 "VMContRef+0x40" +;; region6 = 176 "VMCommonStackInformation+0x20" +;; region7 = 108 "VMStoreContext+0x48" +;; region8 = 38 "VMStoreContext+0x40" +;; region9 = 203 "VMStoreContext+0x50" +;; region10 = 89 "VMStackLimits+0x8" +;; region11 = 150 "VMStackLimits+0x10" +;; region12 = 232 "VMStackLimits+0x18" +;; region13 = 180 "VMStackLimits+0x0" +;; region14 = 20 "VMHostArray+0x4" +;; region15 = 229 "VMHostArray+0x8" +;; region16 = 212 "ContinuationStackMemory+0x0" +;; region17 = 126 "VMHostArray+0x0" +;; region18 = 23 "VMCommonStackInformation+0x38" +;; region19 = 151 "VMContRef+0x60" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/stack-switching/symmetric-switch.wat b/tests/disas/stack-switching/symmetric-switch.wat index eac04c9a8111..032378e13af1 100644 --- a/tests/disas/stack-switching/symmetric-switch.wat +++ b/tests/disas/stack-switching/symmetric-switch.wat @@ -28,27 +28,27 @@ ;; function u0:0(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 16, align = 65536 ;; ss1 = explicit_slot 24, align = 256 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1073741912 "VMContRef+0x58" -;; region3 = 67108952 "VMStoreContext+0x58" -;; region4 = 1073741888 "VMContRef+0x40" -;; region5 = 2550136840 "VMHostArray+0x8" -;; region6 = 2483028024 "VMCommonStackInformation+0x38" -;; region7 = 2550136832 "VMHostArray+0x0" -;; region8 = 1140850688 "ContinuationStackMemory+0x0" -;; region9 = 1073741904 "VMContRef+0x50" -;; region10 = 2550136836 "VMHostArray+0x4" -;; region11 = 2483028000 "VMCommonStackInformation+0x20" -;; region12 = 67108936 "VMStoreContext+0x48" -;; region13 = 67108928 "VMStoreContext+0x40" -;; region14 = 67108944 "VMStoreContext+0x50" -;; region15 = 2415919112 "VMStackLimits+0x8" -;; region16 = 2415919120 "VMStackLimits+0x10" -;; region17 = 2415919128 "VMStackLimits+0x18" -;; region18 = 2415919104 "VMStackLimits+0x0" -;; region19 = 1073741920 "VMContRef+0x60" -;; region20 = 1543503873 "Stack(ss1)" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 84 "VMContRef+0x58" +;; region3 = 124 "VMStoreContext+0x58" +;; region4 = 66 "VMContRef+0x40" +;; region5 = 229 "VMHostArray+0x8" +;; region6 = 23 "VMCommonStackInformation+0x38" +;; region7 = 126 "VMHostArray+0x0" +;; region8 = 212 "ContinuationStackMemory+0x0" +;; region9 = 182 "VMContRef+0x50" +;; region10 = 20 "VMHostArray+0x4" +;; region11 = 176 "VMCommonStackInformation+0x20" +;; region12 = 108 "VMStoreContext+0x48" +;; region13 = 38 "VMStoreContext+0x40" +;; region14 = 203 "VMStoreContext+0x50" +;; region15 = 89 "VMStackLimits+0x8" +;; region16 = 150 "VMStackLimits+0x10" +;; region17 = 232 "VMStackLimits+0x18" +;; region18 = 180 "VMStackLimits+0x0" +;; region19 = 151 "VMContRef+0x60" +;; region20 = 48 "Stack(ss1)" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -282,8 +282,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i128) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -298,26 +298,26 @@ ;; ;; function u0:2(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 8, align = 256 -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1073741912 "VMContRef+0x58" -;; region3 = 1073741904 "VMContRef+0x50" -;; region4 = 67108952 "VMStoreContext+0x58" -;; region5 = 1073741888 "VMContRef+0x40" -;; region6 = 2483028000 "VMCommonStackInformation+0x20" -;; region7 = 67108936 "VMStoreContext+0x48" -;; region8 = 67108928 "VMStoreContext+0x40" -;; region9 = 67108944 "VMStoreContext+0x50" -;; region10 = 2415919112 "VMStackLimits+0x8" -;; region11 = 2415919120 "VMStackLimits+0x10" -;; region12 = 2415919128 "VMStackLimits+0x18" -;; region13 = 2415919104 "VMStackLimits+0x0" -;; region14 = 2550136836 "VMHostArray+0x4" -;; region15 = 2550136840 "VMHostArray+0x8" -;; region16 = 1140850688 "ContinuationStackMemory+0x0" -;; region17 = 2550136832 "VMHostArray+0x0" -;; region18 = 2483028024 "VMCommonStackInformation+0x38" -;; region19 = 1073741920 "VMContRef+0x60" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 84 "VMContRef+0x58" +;; region3 = 182 "VMContRef+0x50" +;; region4 = 124 "VMStoreContext+0x58" +;; region5 = 66 "VMContRef+0x40" +;; region6 = 176 "VMCommonStackInformation+0x20" +;; region7 = 108 "VMStoreContext+0x48" +;; region8 = 38 "VMStoreContext+0x40" +;; region9 = 203 "VMStoreContext+0x50" +;; region10 = 89 "VMStackLimits+0x8" +;; region11 = 150 "VMStackLimits+0x10" +;; region12 = 232 "VMStackLimits+0x18" +;; region13 = 180 "VMStackLimits+0x0" +;; region14 = 20 "VMHostArray+0x4" +;; region15 = 229 "VMHostArray+0x8" +;; region16 = 212 "ContinuationStackMemory+0x0" +;; region17 = 126 "VMHostArray+0x0" +;; region18 = 23 "VMCommonStackInformation+0x38" +;; region19 = 151 "VMContRef+0x60" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/startup-data-active.wat b/tests/disas/startup-data-active.wat index 9f021ebcc897..03950b3e4d58 100644 --- a/tests/disas/startup-data-active.wat +++ b/tests/disas/startup-data-active.wat @@ -9,11 +9,11 @@ (data (i32.const 1) "hi") ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108936 "VMStoreContext+0x48" -;; region2 = 67108928 "VMStoreContext+0x40" -;; region3 = 67108944 "VMStoreContext+0x50" -;; region4 = 67109000 "VMStoreContext+0x88" +;; region0 = 15 "VMContext+0x8" +;; region1 = 108 "VMStoreContext+0x48" +;; region2 = 38 "VMStoreContext+0x40" +;; region3 = 203 "VMStoreContext+0x50" +;; region4 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -42,10 +42,10 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 112 "VMContext+0x70" -;; region1 = 120 "VMContext+0x78" -;; region2 = 603979784 "VMMemoryDefinition+0x8" -;; region3 = 603979776 "VMMemoryDefinition+0x0" +;; region0 = 192 "VMContext+0x70" +;; region1 = 7 "VMContext+0x78" +;; region2 = 213 "VMMemoryDefinition+0x8" +;; region3 = 193 "VMMemoryDefinition+0x0" ;; sig0 = (i64 vmctx, i64, i64, i64) tail ;; fn0 = colocated u805306368:1 sig0 ;; diff --git a/tests/disas/startup-elem-active.wat b/tests/disas/startup-elem-active.wat index 4b802eee4480..2c1b2cf28b8e 100644 --- a/tests/disas/startup-elem-active.wat +++ b/tests/disas/startup-elem-active.wat @@ -13,11 +13,11 @@ ) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108936 "VMStoreContext+0x48" -;; region2 = 67108928 "VMStoreContext+0x40" -;; region3 = 67108944 "VMStoreContext+0x50" -;; region4 = 67109000 "VMStoreContext+0x88" +;; region0 = 15 "VMContext+0x8" +;; region1 = 108 "VMStoreContext+0x48" +;; region2 = 38 "VMStoreContext+0x40" +;; region3 = 203 "VMStoreContext+0x50" +;; region4 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -46,9 +46,9 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 671088640 "VMTableDefinition+0x0" -;; region1 = 671088648 "VMTableDefinition+0x8" -;; region2 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 44 "VMTableDefinition+0x0" +;; region1 = 32 "VMTableDefinition+0x8" +;; region2 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" ;; ;; block0(v0: i64, v1: i64): ;; v4 = load.i64 notrap aligned region1 v0+56 diff --git a/tests/disas/startup-global.wat b/tests/disas/startup-global.wat index b669c9874b39..33612c35858c 100644 --- a/tests/disas/startup-global.wat +++ b/tests/disas/startup-global.wat @@ -6,11 +6,11 @@ (global i64 i64.const 0 i64.const 0 i64.add) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108936 "VMStoreContext+0x48" -;; region2 = 67108928 "VMStoreContext+0x40" -;; region3 = 67108944 "VMStoreContext+0x50" -;; region4 = 67109000 "VMStoreContext+0x88" +;; region0 = 15 "VMContext+0x8" +;; region1 = 108 "VMStoreContext+0x48" +;; region2 = 38 "VMStoreContext+0x40" +;; region3 = 203 "VMStoreContext+0x50" +;; region4 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -39,7 +39,7 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; ;; block0(v0: i64, v1: i64): ;; v2 = iconst.i64 0 diff --git a/tests/disas/startup-passive-segment.wat b/tests/disas/startup-passive-segment.wat index e9921259cffa..22f1d52adcdd 100644 --- a/tests/disas/startup-passive-segment.wat +++ b/tests/disas/startup-passive-segment.wat @@ -7,11 +7,11 @@ (elem (ref i31) (item (ref.i31 (i32.const 0))) (item (ref.i31 (i32.const 1)))) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108936 "VMStoreContext+0x48" -;; region2 = 67108928 "VMStoreContext+0x40" -;; region3 = 67108944 "VMStoreContext+0x50" -;; region4 = 67109000 "VMStoreContext+0x88" +;; region0 = 15 "VMContext+0x8" +;; region1 = 108 "VMStoreContext+0x48" +;; region2 = 38 "VMStoreContext+0x40" +;; region3 = 203 "VMStoreContext+0x50" +;; region4 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -40,7 +40,7 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 2080374784 "ElementSegment" +;; region0 = 66 "ElementSegment" ;; sig0 = (i64 vmctx, i32) -> i64 tail ;; fn0 = colocated u805306368:4 sig0 ;; diff --git a/tests/disas/startup-start.wat b/tests/disas/startup-start.wat index b6aed467e079..6b2810dd9204 100644 --- a/tests/disas/startup-start.wat +++ b/tests/disas/startup-start.wat @@ -7,11 +7,11 @@ (start $f) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108936 "VMStoreContext+0x48" -;; region2 = 67108928 "VMStoreContext+0x40" -;; region3 = 67108944 "VMStoreContext+0x50" -;; region4 = 67109000 "VMStoreContext+0x88" +;; region0 = 15 "VMContext+0x8" +;; region1 = 108 "VMStoreContext+0x48" +;; region2 = 38 "VMStoreContext+0x40" +;; region3 = 203 "VMStoreContext+0x50" +;; region4 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; diff --git a/tests/disas/startup-table-initial-value.wat b/tests/disas/startup-table-initial-value.wat index ce1050aa1e05..0bae6b517ab8 100644 --- a/tests/disas/startup-table-initial-value.wat +++ b/tests/disas/startup-table-initial-value.wat @@ -7,11 +7,11 @@ (table 10 (ref i31) (ref.i31 (i32.const 0))) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108936 "VMStoreContext+0x48" -;; region2 = 67108928 "VMStoreContext+0x40" -;; region3 = 67108944 "VMStoreContext+0x50" -;; region4 = 67109000 "VMStoreContext+0x88" +;; region0 = 15 "VMContext+0x8" +;; region1 = 108 "VMStoreContext+0x48" +;; region2 = 38 "VMStoreContext+0x40" +;; region3 = 203 "VMStoreContext+0x50" +;; region4 = 99 "VMStoreContext+0x88" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -40,9 +40,9 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 671088640 "VMTableDefinition+0x0" -;; region1 = 671088648 "VMTableDefinition+0x8" -;; region2 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 44 "VMTableDefinition+0x0" +;; region1 = 32 "VMTableDefinition+0x8" +;; region2 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" ;; ;; block0(v0: i64, v1: i64): ;; v9 = load.i64 notrap aligned region1 v0+56 diff --git a/tests/disas/sub-global.wat b/tests/disas/sub-global.wat index 3f59df759618..cecff327c4af 100644 --- a/tests/disas/sub-global.wat +++ b/tests/disas/sub-global.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-copy.wat b/tests/disas/table-copy.wat index 415701e48140..81eed74a9d77 100644 --- a/tests/disas/table-copy.wat +++ b/tests/disas/table-copy.wat @@ -24,8 +24,8 @@ table.copy $u $t)) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -39,8 +39,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -54,8 +54,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,12 +69,12 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 1342177280 "VMTableImport+0x0" -;; region3 = 671088640 "VMTableDefinition+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 33 "VMTableImport+0x0" +;; region3 = 44 "VMTableDefinition+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -209,12 +209,12 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 1342177280 "VMTableImport+0x0" -;; region4 = 671088648 "VMTableDefinition+0x8" -;; region5 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 33 "VMTableImport+0x0" +;; region4 = 32 "VMTableDefinition+0x8" +;; region5 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-get-fixed-size.wat b/tests/disas/table-get-fixed-size.wat index 743547223726..40e9dddd45c0 100644 --- a/tests/disas/table-get-fixed-size.wat +++ b/tests/disas/table-get-fixed-size.wat @@ -16,10 +16,10 @@ table.get 0)) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,10 +44,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-get.wat b/tests/disas/table-get.wat index 968a1f7c5b23..80b1085b06b5 100644 --- a/tests/disas/table-get.wat +++ b/tests/disas/table-get.wat @@ -15,11 +15,11 @@ table.get 0)) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-set-fixed-size.wat b/tests/disas/table-set-fixed-size.wat index 445c3dadc890..d53e90271fce 100644 --- a/tests/disas/table-set-fixed-size.wat +++ b/tests/disas/table-set-fixed-size.wat @@ -17,10 +17,10 @@ local.get 1 table.set 0)) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,10 +45,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-set.wat b/tests/disas/table-set.wat index bd5bbfa58eb1..43ebc985ae65 100644 --- a/tests/disas/table-set.wat +++ b/tests/disas/table-set.wat @@ -17,11 +17,11 @@ table.set 0)) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 671088648 "VMTableDefinition+0x8" -;; region4 = 268435456 "PublicTable" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 32 "VMTableDefinition+0x8" +;; region4 = 156 "PublicTable" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/typed-funcrefs-eager-init.wat b/tests/disas/typed-funcrefs-eager-init.wat index 3e50095a6f67..b2a7f7f7013f 100644 --- a/tests/disas/typed-funcrefs-eager-init.wat +++ b/tests/disas/typed-funcrefs-eager-init.wat @@ -114,8 +114,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -129,12 +129,12 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 1610612744 "VMFuncRef+0x8" -;; region5 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 170 "VMFuncRef+0x8" +;; region5 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -163,12 +163,12 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 1610612744 "VMFuncRef+0x8" -;; region5 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 170 "VMFuncRef+0x8" +;; region5 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -197,12 +197,12 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 1610612744 "VMFuncRef+0x8" -;; region4 = 1610612760 "VMFuncRef+0x18" -;; region5 = 469762049 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region3 = 170 "VMFuncRef+0x8" +;; region4 = 18 "VMFuncRef+0x18" +;; region5 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/typed-funcrefs.wat b/tests/disas/typed-funcrefs.wat index 9c5cee2932f4..bc81e4ca63ec 100644 --- a/tests/disas/typed-funcrefs.wat +++ b/tests/disas/typed-funcrefs.wat @@ -114,8 +114,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -129,12 +129,12 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 1610612744 "VMFuncRef+0x8" -;; region5 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 170 "VMFuncRef+0x8" +;; region5 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -187,12 +187,12 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 671088640 "VMTableDefinition+0x0" -;; region3 = 335544320 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 1610612744 "VMFuncRef+0x8" -;; region5 = 1610612760 "VMFuncRef+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 44 "VMTableDefinition+0x0" +;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region4 = 170 "VMFuncRef+0x8" +;; region5 = 18 "VMFuncRef+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -245,12 +245,12 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" -;; region2 = 469762048 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 1610612744 "VMFuncRef+0x8" -;; region4 = 1610612760 "VMFuncRef+0x18" -;; region5 = 469762049 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" +;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region3 = 170 "VMFuncRef+0x8" +;; region4 = 18 "VMFuncRef+0x18" +;; region5 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/unreachable_code.wat b/tests/disas/unreachable_code.wat index 1556f1cb68ac..aaabe3d42ed8 100644 --- a/tests/disas/unreachable_code.wat +++ b/tests/disas/unreachable_code.wat @@ -79,8 +79,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -91,8 +91,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -106,8 +106,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -140,8 +140,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/x64-simd-round-without-sse41.wat b/tests/disas/x64-simd-round-without-sse41.wat index fd2b51c303ee..3292a7f8b137 100644 --- a/tests/disas/x64-simd-round-without-sse41.wat +++ b/tests/disas/x64-simd-round-without-sse41.wat @@ -12,8 +12,8 @@ (func $i32x4.trunc_sat_f64x2_u_zero (param v128) (result v128) (i32x4.trunc_sat_f64x2_u_zero (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,8 +45,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -78,8 +78,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -111,8 +111,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -144,8 +144,8 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -171,8 +171,8 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -198,8 +198,8 @@ ;; } ;; ;; function u0:6(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -225,8 +225,8 @@ ;; } ;; ;; function u0:7(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -252,8 +252,8 @@ ;; } ;; ;; function u0:8(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 8 "VMContext+0x8" -;; region1 = 67108888 "VMStoreContext+0x18" +;; region0 = 15 "VMContext+0x8" +;; region1 = 114 "VMStoreContext+0x18" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 From 766cf143b3eb18d7d0c56757be246abdbe4715f0 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 3 Sep 2026 15:50:14 -0700 Subject: [PATCH 2/3] Address review feedback --- cranelift/codegen/src/ir/memflags.rs | 65 +- cranelift/codegen/src/verifier/mod.rs | 6 +- cranelift/codegen/src/write.rs | 2 +- cranelift/frontend/src/frontend/safepoints.rs | 5 +- cranelift/fuzzgen/src/function_generator.rs | 15 +- cranelift/reader/src/parser.rs | 5 +- crates/cranelift/src/alias_region.rs | 176 ++-- tests/disas/alias-region-globals.wat | 10 +- tests/disas/alias-region-limit.wat | 781 +++++++++--------- tests/disas/alias-region-memories.wat | 14 +- tests/disas/alias-region-tables.wat | 24 +- tests/disas/arith.wat | 4 +- tests/disas/array-call-trampoline.wat | 12 +- tests/disas/array-copy-anyref.wat | 10 +- tests/disas/array-copy-i64.wat | 10 +- tests/disas/array-copy-i8.wat | 10 +- tests/disas/array-copy-inline.wat | 10 +- tests/disas/array-fill-anyref.wat | 30 +- tests/disas/array-fill-externref.wat | 20 +- tests/disas/array-fill-f32.wat | 30 +- tests/disas/array-fill-f64.wat | 30 +- tests/disas/array-fill-funcref.wat | 39 +- tests/disas/array-fill-i16.wat | 40 +- tests/disas/array-fill-i31ref.wat | 30 +- tests/disas/array-fill-i32.wat | 40 +- tests/disas/array-fill-i64.wat | 40 +- tests/disas/basic-wat-test.wat | 10 +- .../disas/block-params-br_if-single-pred.wat | 8 +- .../block-params-if-else-same-values.wat | 8 +- .../block-params-loop-single-iteration.wat | 4 +- tests/disas/bounds-check.wat | 10 +- tests/disas/br_table.wat | 16 +- tests/disas/branch-hinting-disabled.wat | 8 +- tests/disas/branch-hinting.wat | 22 +- tests/disas/byteswap.wat | 8 +- tests/disas/call-indirect-with-gc.wat | 20 +- tests/disas/call-indirect-without-gc.wat | 20 +- tests/disas/call-indirect.wat | 20 +- tests/disas/call-simd.wat | 8 +- tests/disas/call.wat | 8 +- .../checked-intrinsics-inlined-no-spectre.wat | 10 +- .../checked-intrinsics-inlined.wat | 10 +- .../checked-intrinsics-trampoline.wat | 4 +- .../direct-adapter-calls-inlining.wat | 12 +- .../component-model/direct-adapter-calls.wat | 22 +- ...xported-module-makes-adapters-indirect.wat | 8 +- .../inlining-and-unsafe-intrinsics.wat | 10 +- tests/disas/component-model/inlining-bug.wat | 6 +- .../component-model/inlining-fuzz-bug.wat | 6 +- tests/disas/component-model/issue-11458.wat | 6 +- .../known-imported-adapter-memory.wat | 54 +- .../known-imported-canonical-abi-memory.wat | 14 +- .../known-imported-entities.wat | 58 +- ...instantiations-makes-adapters-indirect.wat | 8 +- ...e-instantiations-makes-imports-unknown.wat | 84 +- .../reexported-ambiguous-entities.wat | 116 +-- ...reexported-entities-to-imported-module.wat | 58 +- .../reexported-known-entities.wat | 90 +- .../component-model/sync-adapter-calls.wat | 30 +- .../unsafe-intrinsics-used.wat | 6 +- tests/disas/conditional-traps.wat | 8 +- tests/disas/dead-code.wat | 16 +- tests/disas/duplicate-function-types.wat | 22 +- .../disas/duplicate-loads-dynamic-memory.wat | 20 +- tests/disas/duplicate-loads-static-memory.wat | 20 +- ...re-access-same-index-different-offsets.wat | 20 +- ...re-access-same-index-different-offsets.wat | 20 +- tests/disas/elem-segment.wat | 12 +- tests/disas/epoch-interruption.wat | 10 +- tests/disas/f32-load.wat | 10 +- tests/disas/f32-store.wat | 10 +- tests/disas/f64-load.wat | 10 +- tests/disas/f64-store.wat | 10 +- tests/disas/fac-multi-value.wat | 12 +- tests/disas/fibonacci.wat | 10 +- tests/disas/fixed-size-memory.wat | 20 +- tests/disas/foo.wat | 28 +- tests/disas/gc/array-copy-with-fuel.wat | 23 +- tests/disas/gc/array-fill-i8.wat | 10 +- tests/disas/gc/array-init-data.wat | 14 +- tests/disas/gc/array-new-data.wat | 29 +- tests/disas/gc/array-new-default-anyref.wat | 20 +- tests/disas/gc/array-new-default-exnref.wat | 20 +- .../disas/gc/array-new-default-externref.wat | 20 +- tests/disas/gc/array-new-default-f32.wat | 25 +- tests/disas/gc/array-new-default-f64.wat | 25 +- tests/disas/gc/array-new-default-funcref.wat | 25 +- tests/disas/gc/array-new-default-i16.wat | 25 +- tests/disas/gc/array-new-default-i32.wat | 25 +- tests/disas/gc/array-new-default-i64.wat | 25 +- tests/disas/gc/array-new-default-i8.wat | 25 +- tests/disas/gc/call-indirect-final-type.wat | 40 +- tests/disas/gc/copying/array-fill.wat | 10 +- tests/disas/gc/copying/array-get-s.wat | 10 +- tests/disas/gc/copying/array-get-u.wat | 10 +- tests/disas/gc/copying/array-get.wat | 10 +- tests/disas/gc/copying/array-len.wat | 10 +- .../gc/copying/array-new-fixed-of-gc-refs.wat | 37 +- tests/disas/gc/copying/array-new-fixed.wat | 20 +- tests/disas/gc/copying/array-new.wat | 20 +- tests/disas/gc/copying/array-set.wat | 10 +- tests/disas/gc/copying/br-on-cast-fail.wat | 18 +- tests/disas/gc/copying/br-on-cast.wat | 18 +- .../copying/call-indirect-and-subtyping.wat | 18 +- tests/disas/gc/copying/externref-globals.wat | 12 +- .../gc/copying/funcref-in-gc-heap-get.wat | 10 +- .../gc/copying/funcref-in-gc-heap-new.wat | 23 +- .../gc/copying/funcref-in-gc-heap-set.wat | 10 +- tests/disas/gc/copying/i31ref-globals.wat | 12 +- tests/disas/gc/copying/multiple-array-get.wat | 10 +- .../disas/gc/copying/multiple-struct-get.wat | 10 +- tests/disas/gc/copying/ref-cast.wat | 14 +- tests/disas/gc/copying/ref-is-null.wat | 8 +- tests/disas/gc/copying/ref-test-any.wat | 8 +- tests/disas/gc/copying/ref-test-array.wat | 10 +- .../copying/ref-test-concrete-func-type.wat | 10 +- .../gc/copying/ref-test-concrete-type.wat | 14 +- tests/disas/gc/copying/ref-test-eq.wat | 10 +- tests/disas/gc/copying/ref-test-i31.wat | 4 +- tests/disas/gc/copying/ref-test-none.wat | 8 +- tests/disas/gc/copying/ref-test-struct.wat | 10 +- tests/disas/gc/copying/struct-get.wat | 40 +- tests/disas/gc/copying/struct-new-default.wat | 18 +- tests/disas/gc/copying/struct-new.wat | 23 +- tests/disas/gc/copying/struct-set.wat | 30 +- tests/disas/gc/copying/v128-fields.wat | 10 +- tests/disas/gc/drc/array-fill.wat | 10 +- tests/disas/gc/drc/array-get-s.wat | 10 +- tests/disas/gc/drc/array-get-u.wat | 10 +- tests/disas/gc/drc/array-get.wat | 10 +- tests/disas/gc/drc/array-len.wat | 10 +- .../gc/drc/array-new-fixed-of-gc-refs.wat | 31 +- tests/disas/gc/drc/array-new-fixed.wat | 14 +- tests/disas/gc/drc/array-new.wat | 14 +- tests/disas/gc/drc/array-set.wat | 10 +- tests/disas/gc/drc/br-on-cast-fail.wat | 18 +- tests/disas/gc/drc/br-on-cast.wat | 18 +- .../gc/drc/call-indirect-and-subtyping.wat | 18 +- tests/disas/gc/drc/externref-globals.wat | 37 +- tests/disas/gc/drc/funcref-in-gc-heap-get.wat | 10 +- tests/disas/gc/drc/funcref-in-gc-heap-new.wat | 17 +- tests/disas/gc/drc/funcref-in-gc-heap-set.wat | 10 +- tests/disas/gc/drc/i31ref-globals.wat | 12 +- tests/disas/gc/drc/multiple-array-get.wat | 10 +- tests/disas/gc/drc/multiple-struct-get.wat | 10 +- tests/disas/gc/drc/ref-cast.wat | 14 +- tests/disas/gc/drc/ref-is-null.wat | 8 +- tests/disas/gc/drc/ref-test-any.wat | 8 +- tests/disas/gc/drc/ref-test-array.wat | 10 +- .../gc/drc/ref-test-concrete-func-type.wat | 10 +- tests/disas/gc/drc/ref-test-concrete-type.wat | 14 +- tests/disas/gc/drc/ref-test-eq.wat | 10 +- tests/disas/gc/drc/ref-test-i31.wat | 4 +- tests/disas/gc/drc/ref-test-none.wat | 8 +- tests/disas/gc/drc/ref-test-struct.wat | 10 +- tests/disas/gc/drc/struct-get.wat | 53 +- tests/disas/gc/drc/struct-new-default.wat | 14 +- tests/disas/gc/drc/struct-new.wat | 19 +- tests/disas/gc/drc/struct-set.wat | 30 +- tests/disas/gc/null/array-fill.wat | 10 +- tests/disas/gc/null/array-get-s.wat | 10 +- tests/disas/gc/null/array-get-u.wat | 10 +- tests/disas/gc/null/array-get.wat | 10 +- tests/disas/gc/null/array-len.wat | 10 +- .../gc/null/array-new-fixed-of-gc-refs.wat | 35 +- tests/disas/gc/null/array-new-fixed.wat | 18 +- tests/disas/gc/null/array-new.wat | 18 +- tests/disas/gc/null/array-set.wat | 10 +- tests/disas/gc/null/br-on-cast-fail.wat | 18 +- tests/disas/gc/null/br-on-cast.wat | 18 +- .../gc/null/call-indirect-and-subtyping.wat | 18 +- tests/disas/gc/null/externref-globals.wat | 12 +- .../disas/gc/null/funcref-in-gc-heap-get.wat | 10 +- .../disas/gc/null/funcref-in-gc-heap-new.wat | 18 +- .../disas/gc/null/funcref-in-gc-heap-set.wat | 10 +- tests/disas/gc/null/i31ref-globals.wat | 12 +- tests/disas/gc/null/multiple-array-get.wat | 10 +- tests/disas/gc/null/multiple-struct-get.wat | 10 +- tests/disas/gc/null/ref-cast.wat | 14 +- tests/disas/gc/null/ref-is-null.wat | 8 +- tests/disas/gc/null/ref-test-any.wat | 8 +- tests/disas/gc/null/ref-test-array.wat | 10 +- .../gc/null/ref-test-concrete-func-type.wat | 10 +- .../disas/gc/null/ref-test-concrete-type.wat | 14 +- tests/disas/gc/null/ref-test-eq.wat | 10 +- tests/disas/gc/null/ref-test-i31.wat | 4 +- tests/disas/gc/null/ref-test-none.wat | 8 +- tests/disas/gc/null/ref-test-struct.wat | 10 +- .../disas/gc/null/struct-get-guard-pages.wat | 40 +- .../gc/null/struct-get-no-guard-pages.wat | 40 +- tests/disas/gc/null/struct-get.wat | 40 +- tests/disas/gc/null/struct-new-default.wat | 18 +- tests/disas/gc/null/struct-new.wat | 23 +- tests/disas/gc/null/struct-set.wat | 30 +- tests/disas/gc/null/v128-fields.wat | 10 +- tests/disas/gc/ref-test-cast-final-type.wat | 28 +- tests/disas/gc/struct-new-default.wat | 18 +- tests/disas/gc/struct-new.wat | 23 +- .../disas/gc/typed-select-and-stack-maps.wat | 18 +- tests/disas/global-get.wat | 26 +- tests/disas/globals.wat | 12 +- tests/disas/guest-debugging.wat | 6 +- tests/disas/i128-cmp.wat | 32 +- tests/disas/i32-load.wat | 10 +- tests/disas/i32-load16-s.wat | 10 +- tests/disas/i32-load16-u.wat | 10 +- tests/disas/i32-load8-s.wat | 10 +- tests/disas/i32-load8-u.wat | 10 +- tests/disas/i32-store.wat | 10 +- tests/disas/i32-store16.wat | 10 +- tests/disas/i32-store8.wat | 10 +- tests/disas/i64-load.wat | 10 +- tests/disas/i64-load16-s.wat | 10 +- tests/disas/i64-load16-u.wat | 10 +- tests/disas/i64-load8-s.wat | 10 +- tests/disas/i64-load8-u.wat | 10 +- tests/disas/i64-store.wat | 10 +- tests/disas/i64-store16.wat | 10 +- tests/disas/i64-store32.wat | 10 +- tests/disas/i64-store8.wat | 10 +- tests/disas/icall-loop.wat | 36 +- tests/disas/icall-simd.wat | 18 +- tests/disas/icall.wat | 18 +- tests/disas/idempotent-store.wat | 10 +- tests/disas/if-reachability-translation-0.wat | 4 +- tests/disas/if-reachability-translation-1.wat | 4 +- tests/disas/if-reachability-translation-2.wat | 4 +- tests/disas/if-reachability-translation-3.wat | 4 +- tests/disas/if-reachability-translation-4.wat | 4 +- tests/disas/if-reachability-translation-5.wat | 4 +- tests/disas/if-reachability-translation-6.wat | 4 +- tests/disas/if-unreachable-else-params-2.wat | 10 +- tests/disas/if-unreachable-else-params.wat | 10 +- tests/disas/indirect-call-no-caching.wat | 30 +- tests/disas/intra-module-inlining.wat | 8 +- tests/disas/issue-10929-v128-icmp-egraphs.wat | 4 +- tests/disas/issue-5696.wat | 4 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...0_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ..._0_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...0_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- ...f_guard_no_spectre_i32_access_0_offset.wat | 20 +- ...rd_no_spectre_i32_access_0x1000_offset.wat | 20 +- ...o_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...ff_guard_no_spectre_i8_access_0_offset.wat | 20 +- ...ard_no_spectre_i8_access_0x1000_offset.wat | 20 +- ...no_spectre_i8_access_0xffff0000_offset.wat | 20 +- ..._guard_yes_spectre_i32_access_0_offset.wat | 20 +- ...d_yes_spectre_i32_access_0x1000_offset.wat | 20 +- ...s_spectre_i32_access_0xffff0000_offset.wat | 20 +- ...f_guard_yes_spectre_i8_access_0_offset.wat | 20 +- ...rd_yes_spectre_i8_access_0x1000_offset.wat | 20 +- ...es_spectre_i8_access_0xffff0000_offset.wat | 20 +- tests/disas/memory-copy-epochs.wat | 14 +- tests/disas/memory-copy-fuel-const-len.wat | 32 +- tests/disas/memory-copy-fuel.wat | 10 +- tests/disas/memory-copy-inline.wat | 10 +- tests/disas/memory-min-max-same.wat | 14 +- tests/disas/memory.wat | 10 +- tests/disas/memory_copy_host32.wat | 24 +- tests/disas/memory_copy_host64.wat | 48 +- tests/disas/memory_fill_host32.wat | 20 +- tests/disas/memory_fill_host64.wat | 40 +- tests/disas/multi-0.wat | 4 +- tests/disas/multi-1.wat | 4 +- tests/disas/multi-10.wat | 4 +- tests/disas/multi-11.wat | 4 +- tests/disas/multi-12.wat | 4 +- tests/disas/multi-13.wat | 4 +- tests/disas/multi-14.wat | 4 +- tests/disas/multi-15.wat | 4 +- tests/disas/multi-16.wat | 4 +- tests/disas/multi-17.wat | 4 +- tests/disas/multi-2.wat | 4 +- tests/disas/multi-3.wat | 4 +- tests/disas/multi-4.wat | 4 +- tests/disas/multi-5.wat | 4 +- tests/disas/multi-6.wat | 4 +- tests/disas/multi-7.wat | 4 +- tests/disas/multi-8.wat | 4 +- tests/disas/multi-9.wat | 4 +- tests/disas/non-fixed-size-memory.wat | 20 +- tests/disas/nullref.wat | 8 +- tests/disas/passive-data.wat | 18 +- tests/disas/pic.wat | 26 +- tests/disas/pr2303.wat | 10 +- tests/disas/pr2559.wat | 8 +- tests/disas/readonly-funcrefs.wat | 22 +- tests/disas/readonly-heap-base-pointer1.wat | 10 +- tests/disas/readonly-heap-base-pointer2.wat | 12 +- tests/disas/readonly-heap-base-pointer3.wat | 10 +- tests/disas/ref-func-0.wat | 6 +- tests/disas/riscv64-component-builtins.wat | 16 +- tests/disas/select.wat | 12 +- tests/disas/simd-store.wat | 340 ++++---- tests/disas/simd.wat | 16 +- tests/disas/simple.wat | 12 +- .../resume-suspend-data-passing.wat | 69 +- .../disas/stack-switching/resume-suspend.wat | 69 +- .../stack-switching/symmetric-switch.wat | 106 ++- tests/disas/startup-data-active.wat | 18 +- tests/disas/startup-elem-active.wat | 16 +- tests/disas/startup-global.wat | 12 +- tests/disas/startup-passive-segment.wat | 12 +- tests/disas/startup-start.wat | 10 +- tests/disas/startup-table-initial-value.wat | 16 +- tests/disas/sub-global.wat | 6 +- tests/disas/table-copy.wat | 36 +- tests/disas/table-get-fixed-size.wat | 16 +- tests/disas/table-get.wat | 20 +- tests/disas/table-set-fixed-size.wat | 16 +- tests/disas/table-set.wat | 20 +- tests/disas/typed-funcrefs-eager-init.wat | 40 +- tests/disas/typed-funcrefs.wat | 40 +- tests/disas/unreachable_code.wat | 16 +- tests/disas/x64-simd-round-without-sse41.wat | 36 +- 396 files changed, 4110 insertions(+), 4132 deletions(-) diff --git a/cranelift/codegen/src/ir/memflags.rs b/cranelift/codegen/src/ir/memflags.rs index 7b1df24fe81a..e5880979a128 100644 --- a/cranelift/codegen/src/ir/memflags.rs +++ b/cranelift/codegen/src/ir/memflags.rs @@ -7,7 +7,7 @@ pub use crate::machinst::MachMemFlags; use alloc::borrow::Cow; use core::fmt; use core::hash::{Hash, Hasher}; -use core::ops::{Index, IndexMut}; +use core::ops::Index; use core::str::FromStr; use cranelift_entity::{entity_impl, packed_option::PackedOption}; @@ -38,51 +38,20 @@ entity_impl!(AliasRegion, "region"); pub struct AliasRegionData { /// A unique, user-defined identifier for this alias region. /// - /// This must not change once the `AliasRegionData` is created, as - /// `AliasRegionSet` hash-conses based on this identifier. - user_id: u32, + /// Alias regions are deduplicated based on this identifier. + /// + /// This deduplication happens during inlining, for example, when a + /// callee's alias regions are merged with the caller's. Therefore, when + /// inlining is enabled this identifier should be globally unique across + /// the whole compilation. When inlining is disabled, it is sufficient + /// to be unique within the context of a single function. + pub user_id: u32, /// Description of this alias region, e.g. "vmctx", "funcref table", /// "global 42", or "gc struct `LinkedList` field `tail`". /// /// This only exists for printing in the CLIF text format. - description: Cow<'static, str>, -} - -impl AliasRegionData { - /// Create the data for an alias region with the given unique identifier - /// and human-readable description. - /// - /// Alias regions are deduplicated based on the `user_id`. - /// - /// This deduplication happens during inlining, for example, when a callee's - /// alias regions are merged with the caller's. Therefore, when inlining is - /// enabled this identifier should be globally unique across the whole - /// compilation. When inlining is disabled, it is sufficient to be unique - /// within the context of a single function. - /// - /// The `description` only exists for printing in the CLIF text format. - pub fn new(user_id: u32, description: impl Into>) -> Self { - Self { - user_id, - description: description.into(), - } - } - - /// Get this region's unique identifier. - pub fn user_id(&self) -> u32 { - self.user_id - } - - /// This region's human-readable description. - pub fn description(&self) -> &str { - &self.description - } - - /// Get a mutable reference to this region's human-readable description. - pub fn description_mut(&mut self) -> &mut Cow<'static, str> { - &mut self.description - } + pub description: Cow<'static, str>, } /// An opaque reference to memory operation flags stored in a @@ -552,10 +521,10 @@ impl AliasRegionSet { /// Returns an existing `AliasRegion` if one with the same `user_id` /// already exists. pub fn insert(&mut self, data: AliasRegionData) -> AliasRegion { - if let Some(&existing) = self.dedupe_map.get(&data.user_id()) { + if let Some(&existing) = self.dedupe_map.get(&data.user_id) { return existing; } - let user_id = data.user_id(); + let user_id = data.user_id; let key = self.alias_regions.push(data); self.dedupe_map.insert(user_id, key); key @@ -566,7 +535,7 @@ impl AliasRegionSet { /// This is used by the CLIF text parser to faithfully represent the /// source text. The verifier will then check for duplicate `user_id`s. pub fn push(&mut self, data: AliasRegionData) -> AliasRegion { - let user_id = data.user_id(); + let user_id = data.user_id; let key = self.alias_regions.push(data); self.dedupe_map.insert(user_id, key); key @@ -605,6 +574,8 @@ impl AliasRegionSet { } } +// NB: Do not implement `IndexMut` because alias region data is deduped and +// shared by many mem flags. impl Index for AliasRegionSet { type Output = AliasRegionData; @@ -613,12 +584,6 @@ impl Index for AliasRegionSet { } } -impl IndexMut for AliasRegionSet { - fn index_mut(&mut self, ar: AliasRegion) -> &mut AliasRegionData { - &mut self.alias_regions[ar] - } -} - #[cfg(test)] mod tests { use super::*; diff --git a/cranelift/codegen/src/verifier/mod.rs b/cranelift/codegen/src/verifier/mod.rs index 59a6785dced8..51485478e8b1 100644 --- a/cranelift/codegen/src/verifier/mod.rs +++ b/cranelift/codegen/src/verifier/mod.rs @@ -420,16 +420,16 @@ impl<'a> Verifier<'a> { fn verify_alias_regions(&self, errors: &mut VerifierErrors) -> VerifierStepResult { let mut seen_user_ids = crate::HashMap::new(); for (ar, ar_data) in self.func.dfg.alias_regions.iter() { - if let Some(&prev) = seen_user_ids.get(&ar_data.user_id()) { + if let Some(&prev) = seen_user_ids.get(&ar_data.user_id) { errors.report(( ar, format!( "duplicate alias region user_id {}: {} and {}", - ar_data.user_id(), prev, ar + ar_data.user_id, prev, ar ), )); } else { - seen_user_ids.insert(ar_data.user_id(), ar); + seen_user_ids.insert(ar_data.user_id, ar); } } Ok(()) diff --git a/cranelift/codegen/src/write.rs b/cranelift/codegen/src/write.rs index 94a257129d02..5f5584209c9f 100644 --- a/cranelift/codegen/src/write.rs +++ b/cranelift/codegen/src/write.rs @@ -58,7 +58,7 @@ pub trait FuncWriter { w, func, ar.into(), - &format_args!("{} \"{}\"", ar_data.user_id(), ar_data.description()), + &format_args!("{} \"{}\"", ar_data.user_id, ar_data.description), )?; } diff --git a/cranelift/frontend/src/frontend/safepoints.rs b/cranelift/frontend/src/frontend/safepoints.rs index 44e309852c20..d0250a042e0c 100644 --- a/cranelift/frontend/src/frontend/safepoints.rs +++ b/cranelift/frontend/src/frontend/safepoints.rs @@ -3411,7 +3411,10 @@ block2: // Place every safepoint spill and reload into a single deduplicated // alias region. builder.make_stack_map_alias_region(Box::new(|regions, _ty, _slot, _offset| { - Some(regions.insert(ir::AliasRegionData::new(0, "stack map"))) + Some(regions.insert(ir::AliasRegionData { + user_id: 0, + description: "stack map".into(), + })) })); let name = builder diff --git a/cranelift/fuzzgen/src/function_generator.rs b/cranelift/fuzzgen/src/function_generator.rs index 667febd1bddb..543ad4cc8440 100644 --- a/cranelift/fuzzgen/src/function_generator.rs +++ b/cranelift/fuzzgen/src/function_generator.rs @@ -1093,9 +1093,18 @@ impl AACategory { pub fn update_memflags(&self, flags: &mut MemFlagsData, alias_regions: &mut AliasRegionSet) { flags.set_alias_region(match self { AACategory::Other => None, - AACategory::Heap => Some(alias_regions.insert(AliasRegionData::new(0, "heap"))), - AACategory::Table => Some(alias_regions.insert(AliasRegionData::new(1, "table"))), - AACategory::VmCtx => Some(alias_regions.insert(AliasRegionData::new(2, "vmctx"))), + AACategory::Heap => Some(alias_regions.insert(AliasRegionData { + user_id: 0, + description: "heap".into(), + })), + AACategory::Table => Some(alias_regions.insert(AliasRegionData { + user_id: 1, + description: "table".into(), + })), + AACategory::VmCtx => Some(alias_regions.insert(AliasRegionData { + user_id: 2, + description: "vmctx".into(), + })), }) } } diff --git a/cranelift/reader/src/parser.rs b/cranelift/reader/src/parser.rs index 6b1f65558dc6..f62b61043b6c 100644 --- a/cranelift/reader/src/parser.rs +++ b/cranelift/reader/src/parser.rs @@ -1963,7 +1963,10 @@ impl<'a> Parser<'a> { }; self.consume(); - let data = ir::AliasRegionData::new(user_id, description); + let data = ir::AliasRegionData { + user_id, + description: std::borrow::Cow::Owned(description), + }; // Collect any trailing comments. self.token(); diff --git a/crates/cranelift/src/alias_region.rs b/crates/cranelift/src/alias_region.rs index 77497ff23c2d..2200038ace1b 100644 --- a/crates/cranelift/src/alias_region.rs +++ b/crates/cranelift/src/alias_region.rs @@ -24,8 +24,7 @@ use cranelift_codegen::{ cursor::FuncCursor, ir::{self, InstBuilder as _}, }; -use std::collections::{BTreeSet, HashMap, HashSet}; -use std::hash::{DefaultHasher, Hash as _, Hasher as _}; +use std::hash::{Hash as _, Hasher}; use wasmtime_environ::{ BuiltinFunctionIndex, DefinedGlobalIndex, DefinedMemoryIndex, DefinedTableIndex, GetPtrSize, ModuleInternedTypeIndex, NUM_COMPONENT_CONTEXT_SLOTS, PtrSize as _, RuntimeDataIndex, @@ -184,8 +183,62 @@ impl AliasRegionKey { /// `AliasRegionKey` could be inconsistent with each other, which also leads /// to the miscompilation scenario described above. pub(crate) fn into_raw(self) -> u32 { - /// An arbitrary constant mixed into the hash to shift which keys - /// collide with which. + /// A version of `rustc_hash::FxHasher` that is guaranteed to provide + /// deterministic hashing across Wasmtime builds and processes. + struct AliasRegionHasher { + hash: u64, + } + + impl AliasRegionHasher { + fn new(seed: u64) -> Self { + AliasRegionHasher { hash: seed } + } + + fn add(&mut self, i: u64) { + const K: u64 = 0x517c_c1b7_2722_0a95; + self.hash = (self.hash.rotate_left(5) ^ i).wrapping_mul(K); + } + } + + impl Hasher for AliasRegionHasher { + fn finish(&self) -> u64 { + self.hash + } + + fn write(&mut self, bytes: &[u8]) { + for b in bytes { + self.add((*b).into()); + } + } + + fn write_u8(&mut self, i: u8) { + self.add(i.into()); + } + + fn write_u16(&mut self, i: u16) { + self.add(i.into()); + } + + fn write_u32(&mut self, i: u32) { + self.add(i.into()); + } + + fn write_u64(&mut self, i: u64) { + self.add(i); + } + + fn write_u128(&mut self, i: u128) { + self.add(i as u64); + self.add((i >> 64) as u64); + } + + fn write_usize(&mut self, i: usize) { + self.add(u64::try_from(i).unwrap()); + } + } + + /// The `AliasRegionHasher` seed, chosen to shift which keys collide + /// with which. /// /// Collisions are inevitable because we are lossily mapping our /// ~"infinite" keys onto only 256 actual alias regions. However, not @@ -194,29 +247,20 @@ impl AliasRegionKey { /// first defined memory's base pointer, two of the most-frequently used /// regions in essentially every function, would be expensive. /// - /// A salt of zero (equivalent to not adding a salt at all) - /// unfortunately hits some fairly expensive collisions - /// (e.g. `VMGlobalImport+0x0` and `VMStoreContext+0x18`). - /// - /// This value was picked by brute-force search as one for which none of - /// the fixed, non-indexed keys appearing anywhere in `tests/disas` - /// collide with each other. If a new `VM*` field or `AliasRegionKey` - /// variant introduces such a collision later, the disas expectations - /// will show it as two regions merging into one, and a new salt can be - /// searched for in the same way. - const SALT: u64 = 16276; - - // Hash the key and salt. - // - // NB: Use `DefaultHasher::new` because it is deterministically seeded - // (unlike `RandomState`) so that our `user_id`s are consistent across - // inlining. - let mut hasher = DefaultHasher::new(); - SALT.hash(&mut hasher); + /// This value was picked by brute-force search as one for which none + /// of the following collide with each other: the fixed, non-indexed + /// keys appearing anywhere in `tests/disas`, and the first five defined + /// memories, tables, and globals of the first module. If a new `VM*` + /// field or `AliasRegionKey` variant introduces such a collision later, + /// the `tests/disas` expectations will show it as two regions merging + /// into one, and a new seed can be searched for in the same way. + const SEED: u64 = 15912981; + + let mut hasher = AliasRegionHasher::new(SEED); self.hash(&mut hasher); let hash = hasher.finish(); - // And then `xor`-fold the hash down to a single byte. + // `xor`-fold the hash down to a single byte. hash.to_le_bytes().into_iter().fold(0, |a, b| a ^ b).into() } } @@ -254,17 +298,6 @@ impl fmt::Debug for AliasRegionKey { pub struct AliasRegions { pointer_type: ir::Type, offsets: Offsets, - - /// The set of `AliasRegionKey`s that have been folded down onto each raw id - /// produced by [`AliasRegionKey::into_raw`]. - /// - /// The `ir::AliasRegionSet` in the function under construction is the - /// authority on which regions exist --- it hash-conses them by id, so - /// `AliasRegionSet::get` already answers "does a region for this id - /// exist?" and there is no point caching that here. What it cannot answer - /// is which *keys* landed on a given id, which is what we need in order to - /// describe the region as all of them instead of just the first one. - region_keys: HashMap>, } impl AliasRegions { @@ -280,12 +313,7 @@ impl AliasRegions { slot: ir::StackSlot, _offset: u32, ) -> Option { - let key = AliasRegionKey::Stack { slot }; - Some(Self::insert_or_update_region( - regions, - key.into_raw(), - [key], - )) + Some(Self::insert_region(regions, AliasRegionKey::Stack { slot })) } /// Get the alias region for a stack slot. @@ -299,64 +327,17 @@ impl AliasRegions { /// Get the alias region for the given key. fn region(&mut self, func: &mut ir::Function, key: AliasRegionKey) -> ir::AliasRegion { - let id = key.into_raw(); - let keys = self.region_keys.entry(id).or_default(); - - if !keys.insert(key) { - // We have seen this exact key before, so its region already exists - // and its description already mentions the key. - debug_assert!(func.dfg.alias_regions.contains(id)); - return func.dfg.alias_regions.get(id).unwrap(); - } - - Self::insert_or_update_region(&mut func.dfg.alias_regions, id, keys.iter().copied()) + Self::insert_region(&mut func.dfg.alias_regions, key) } - /// Get or create the alias region with the given raw `id`, ensuring that its - /// description covers `keys` in addition to whatever it already covered. - fn insert_or_update_region( - regions: &mut ir::AliasRegionSet, - id: u32, - keys: impl IntoIterator, - ) -> ir::AliasRegion { - const DESCRIPTION_SEPARATOR: &str = " | "; - - // NB: `BTreeSet` to keep the descriptions sorted and deterministic. - let mut descriptions: BTreeSet = keys - .into_iter() - .map(|key| { - debug_assert_eq!(key.into_raw(), id); - format!("{key:?}") - }) - .collect(); - - let join = |descriptions: &BTreeSet| -> String { - descriptions - .iter() - .map(|s| s.as_str()) - .collect::>() - .join(DESCRIPTION_SEPARATOR) - }; - - let Some(region) = regions.get(id) else { - return regions.insert(ir::AliasRegionData::new(id, join(&descriptions))); - }; - - // Union in whatever this region already described, rather than - // overwriting it, because `AliasRegions::stack_map_region` is stateless - // and cannot dedupe in the `AliasRegions::region_keys` map, so we have - // to instead do that deduping here. - descriptions.extend( - regions[region] - .description() - .split(DESCRIPTION_SEPARATOR) - .map(String::from), - ); - - let description = join(&descriptions); - if description != regions[region].description() { - *regions[region].description_mut() = description.into(); - } + /// Get or create the alias region for the given key. + fn insert_region(regions: &mut ir::AliasRegionSet, key: AliasRegionKey) -> ir::AliasRegion { + let user_id = key.into_raw(); + let region = regions.insert(ir::AliasRegionData { + user_id, + description: "".into(), + }); + log::trace!("alias region: {key:?} => {region} (user_id = {user_id})"); region } } @@ -1151,7 +1132,6 @@ where pointer_type: ir::Type::int_with_byte_size(offsets.get_ptr_size().size().into()) .unwrap(), offsets, - region_keys: HashMap::default(), } } diff --git a/tests/disas/alias-region-globals.wat b/tests/disas/alias-region-globals.wat index 0ec457e81a40..93d45af8320d 100644 --- a/tests/disas/alias-region-globals.wat +++ b/tests/disas/alias-region-globals.wat @@ -15,11 +15,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 172 "PublicGlobal" -;; region4 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 87 "" +;; region4 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/alias-region-limit.wat b/tests/disas/alias-region-limit.wat index dafa3a386447..92c149d498e3 100644 --- a/tests/disas/alias-region-limit.wat +++ b/tests/disas/alias-region-limit.wat @@ -164,167 +164,168 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(19)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(223)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(63)) | VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(122))" -;; region3 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(163)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(184))" -;; region4 = 241 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(124)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(2))" -;; region5 = 18 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(140)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(3))" -;; region6 = 107 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(4))" -;; region7 = 88 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(21)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(238)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(5))" -;; region8 = 224 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(40)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(6))" -;; region9 = 143 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(52)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(7))" -;; region10 = 189 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(191)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(8))" -;; region11 = 204 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(106)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(9))" -;; region12 = 16 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(10))" -;; region13 = 153 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(11)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(237))" -;; region14 = 172 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(12))" -;; region15 = 63 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(13)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(93))" -;; region16 = 24 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(14))" -;; region17 = 95 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(15)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(178))" -;; region18 = 41 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(16))" -;; region19 = 42 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(17)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(214)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(66))" -;; region20 = 21 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(135)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(18))" -;; region21 = 37 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(20)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(61))" -;; region22 = 210 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(22))" -;; region23 = 235 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(23))" -;; region24 = 227 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(170)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(24))" -;; region25 = 105 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(25)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(34))" -;; region26 = 134 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(26))" -;; region27 = 110 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(27)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(53))" -;; region28 = 162 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(28))" -;; region29 = 163 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(182)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(29)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(96))" -;; region30 = 72 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(30))" -;; region31 = 132 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(111)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(31))" -;; region32 = 22 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(32))" -;; region33 = 156 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(33)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(42)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(49))" -;; region34 = 238 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(35))" -;; region35 = 152 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(36)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(41)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(47))" -;; region36 = 93 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(109)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(252)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(37))" -;; region37 = 65 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(251)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(38))" -;; region38 = 106 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(246)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(39))" -;; region39 = 80 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(43))" -;; region40 = 183 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(130)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(132)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(44))" -;; region41 = 229 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(196)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(203)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(45))" -;; region42 = 97 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(142)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(46))" -;; region43 = 248 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(148)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(48))" -;; region44 = 158 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(212)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(50))" -;; region45 = 96 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(108)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(51))" -;; region46 = 205 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(181)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(54))" -;; region47 = 98 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(55))" -;; region48 = 109 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(164)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(56)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(89))" -;; region49 = 179 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(57))" -;; region50 = 51 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(152)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(171)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(58))" -;; region51 = 146 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(59)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(84))" -;; region52 = 148 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(60))" -;; region53 = 135 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(234)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(62))" -;; region54 = 253 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(207)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(230)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(64))" -;; region55 = 159 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(202)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(65))" -;; region56 = 177 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(67))" -;; region57 = 211 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(231)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(68))" -;; region58 = 201 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(222)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(69))" -;; region59 = 170 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(70))" -;; region60 = 140 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(211)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(71))" -;; region61 = 25 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(72))" -;; region62 = 223 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(244)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(73))" -;; region63 = 40 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(215)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(74))" -;; region64 = 217 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(185)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(187)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(75)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(88))" -;; region65 = 100 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(179)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(76))" -;; region66 = 117 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(110)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(77))" -;; region67 = 26 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(78))" -;; region68 = 251 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(173)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(254)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(79))" -;; region69 = 119 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(80))" -;; region70 = 102 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(233)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(81))" -;; region71 = 237 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(174)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(82))" -;; region72 = 174 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(83))" -;; region73 = 178 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(85))" -;; region74 = 184 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(86))" -;; region75 = 12 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(87))" -;; region76 = 101 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(90))" -;; region77 = 200 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(91))" -;; region78 = 76 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(213)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(92))" -;; region79 = 164 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(94))" -;; region80 = 242 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(95))" -;; region81 = 32 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(97))" -;; region82 = 38 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(98))" -;; region83 = 195 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(99))" -;; region84 = 73 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(100))" -;; region85 = 89 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(101))" -;; region86 = 203 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(102))" -;; region87 = 147 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(103))" -;; region88 = 125 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(104))" -;; region89 = 191 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(105)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(147)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(247))" -;; region90 = 144 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(107)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(255)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(256))" -;; region91 = 214 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(112))" -;; region92 = 137 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(113))" -;; region93 = 127 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(114)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(190)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(204))" -;; region94 = 176 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(115)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(206))" -;; region95 = 212 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(116)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(157))" -;; region96 = 219 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(117)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(239))" -;; region97 = 74 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(118)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(201))" -;; region98 = 99 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(119)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(134)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(220))" -;; region99 = 244 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(120))" -;; region100 = 133 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(121)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(136))" -;; region101 = 131 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(123))" -;; region102 = 215 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(125))" -;; region103 = 151 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(126))" -;; region104 = 39 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(127))" -;; region105 = 155 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(128))" -;; region106 = 0 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(129)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(229))" -;; region107 = 182 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(131)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(137)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(221)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(241))" -;; region108 = 218 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(133))" -;; region109 = 79 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(138))" -;; region110 = 77 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(139))" -;; region111 = 94 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(141))" -;; region112 = 222 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(143))" -;; region113 = 234 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(144)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(156))" -;; region114 = 161 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(145)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(189))" -;; region115 = 249 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(146)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(168)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(176)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(226))" -;; region116 = 232 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(149))" -;; region117 = 10 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(150))" -;; region118 = 196 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(151))" -;; region119 = 187 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(153))" -;; region120 = 67 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(154))" -;; region121 = 7 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(155)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(243))" -;; region122 = 149 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(158)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(193))" -;; region123 = 154 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(159))" -;; region124 = 33 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(160))" -;; region125 = 13 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(161)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(219))" -;; region126 = 252 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(162))" -;; region127 = 103 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(165))" -;; region128 = 190 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(166))" -;; region129 = 23 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(167)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(192))" -;; region130 = 194 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(169))" -;; region131 = 75 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(172)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(186))" -;; region132 = 31 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(175))" -;; region133 = 118 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(177))" -;; region134 = 116 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(180))" -;; region135 = 181 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(183))" -;; region136 = 69 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(188))" -;; region137 = 216 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(194))" -;; region138 = 14 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(195))" -;; region139 = 113 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(197)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(248))" -;; region140 = 160 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(198))" -;; region141 = 4 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(199))" -;; region142 = 28 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(200))" -;; region143 = 83 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(205))" -;; region144 = 175 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(208))" -;; region145 = 82 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(209))" -;; region146 = 207 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(210))" -;; region147 = 209 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(216))" -;; region148 = 35 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(217)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(224))" -;; region149 = 245 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(218))" -;; region150 = 56 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(225))" -;; region151 = 180 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(227))" -;; region152 = 239 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(228))" -;; region153 = 233 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(232))" -;; region154 = 86 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(235))" -;; region155 = 231 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(236))" -;; region156 = 11 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(240))" -;; region157 = 220 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(242)) | DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(249))" -;; region158 = 213 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(245))" -;; region159 = 173 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(250))" -;; region160 = 247 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(253))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" +;; region3 = 135 "" +;; region4 = 76 "" +;; region5 = 208 "" +;; region6 = 152 "" +;; region7 = 52 "" +;; region8 = 113 "" +;; region9 = 185 "" +;; region10 = 251 "" +;; region11 = 60 "" +;; region12 = 100 "" +;; region13 = 167 "" +;; region14 = 71 "" +;; region15 = 197 "" +;; region16 = 236 "" +;; region17 = 155 "" +;; region18 = 124 "" +;; region19 = 2 "" +;; region20 = 242 "" +;; region21 = 195 "" +;; region22 = 212 "" +;; region23 = 117 "" +;; region24 = 194 "" +;; region25 = 57 "" +;; region26 = 47 "" +;; region27 = 138 "" +;; region28 = 129 "" +;; region29 = 29 "" +;; region30 = 174 "" +;; region31 = 112 "" +;; region32 = 15 "" +;; region33 = 150 "" +;; region34 = 36 "" +;; region35 = 133 "" +;; region36 = 63 "" +;; region37 = 175 "" +;; region38 = 40 "" +;; region39 = 222 "" +;; region40 = 178 "" +;; region41 = 240 "" +;; region42 = 187 "" +;; region43 = 196 "" +;; region44 = 81 "" +;; region45 = 99 "" +;; region46 = 192 "" +;; region47 = 20 "" +;; region48 = 118 "" +;; region49 = 58 "" +;; region50 = 249 "" +;; region51 = 98 "" +;; region52 = 173 "" +;; region53 = 86 "" +;; region54 = 110 "" +;; region55 = 17 "" +;; region56 = 35 "" +;; region57 = 127 "" +;; region58 = 146 "" +;; region59 = 38 "" +;; region60 = 128 "" +;; region61 = 37 "" +;; region62 = 50 "" +;; region63 = 39 "" +;; region64 = 3 "" +;; region65 = 169 "" +;; region66 = 31 "" +;; region67 = 27 "" +;; region68 = 156 "" +;; region69 = 121 "" +;; region70 = 69 "" +;; region71 = 14 "" +;; region72 = 79 "" +;; region73 = 171 "" +;; region74 = 48 "" +;; region75 = 219 "" +;; region76 = 8 "" +;; region77 = 126 "" +;; region78 = 77 "" +;; region79 = 149 "" +;; region80 = 209 "" +;; region81 = 188 "" +;; region82 = 46 "" +;; region83 = 28 "" +;; region84 = 244 "" +;; region85 = 241 "" +;; region86 = 87 "" +;; region87 = 25 "" +;; region88 = 137 "" +;; region89 = 225 "" +;; region90 = 193 "" +;; region91 = 12 "" +;; region92 = 216 "" +;; region93 = 11 "" +;; region94 = 181 "" +;; region95 = 148 "" +;; region96 = 213 "" +;; region97 = 239 "" +;; region98 = 42 "" +;; region99 = 154 "" +;; region100 = 254 "" +;; region101 = 218 "" +;; region102 = 78 "" +;; region103 = 145 "" +;; region104 = 246 "" +;; region105 = 88 "" +;; region106 = 217 "" +;; region107 = 54 "" +;; region108 = 162 "" +;; region109 = 102 "" +;; region110 = 108 "" +;; region111 = 142 "" +;; region112 = 115 "" +;; region113 = 5 "" +;; region114 = 157 "" +;; region115 = 139 "" +;; region116 = 64 "" +;; region117 = 55 "" +;; region118 = 105 "" +;; region119 = 94 "" +;; region120 = 70 "" +;; region121 = 101 "" +;; region122 = 73 "" +;; region123 = 75 "" +;; region124 = 59 "" +;; region125 = 7 "" +;; region126 = 179 "" +;; region127 = 199 "" +;; region128 = 131 "" +;; region129 = 30 "" +;; region130 = 253 "" +;; region131 = 143 "" +;; region132 = 97 "" +;; region133 = 90 "" +;; region134 = 166 "" +;; region135 = 24 "" +;; region136 = 205 "" +;; region137 = 234 "" +;; region138 = 61 "" +;; region139 = 233 "" +;; region140 = 116 "" +;; region141 = 132 "" +;; region142 = 229 "" +;; region143 = 227 "" +;; region144 = 238 "" +;; region145 = 18 "" +;; region146 = 210 "" +;; region147 = 147 "" +;; region148 = 159 "" +;; region149 = 191 "" +;; region150 = 214 "" +;; region151 = 165 "" +;; region152 = 224 "" +;; region153 = 45 "" +;; region154 = 177 "" +;; region155 = 215 "" +;; region156 = 109 "" +;; region157 = 92 "" +;; region158 = 22 "" +;; region159 = 220 "" +;; region160 = 93 "" +;; region161 = 74 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -368,163 +369,163 @@ ;; @0561 v36 = iadd v34, v35 ;; @0562 v37 = load.i32 notrap aligned region20 v0+336 ;; @0564 v38 = iadd v36, v37 -;; @0565 v39 = load.i32 notrap aligned region1 v0+352 +;; @0565 v39 = load.i32 notrap aligned region21 v0+352 ;; @0567 v40 = iadd v38, v39 -;; @0568 v41 = load.i32 notrap aligned region21 v0+368 +;; @0568 v41 = load.i32 notrap aligned region22 v0+368 ;; @056a v42 = iadd v40, v41 -;; @056b v43 = load.i32 notrap aligned region7 v0+384 +;; @056b v43 = load.i32 notrap aligned region23 v0+384 ;; @056d v44 = iadd v42, v43 -;; @056e v45 = load.i32 notrap aligned region22 v0+400 +;; @056e v45 = load.i32 notrap aligned region24 v0+400 ;; @0570 v46 = iadd v44, v45 -;; @0571 v47 = load.i32 notrap aligned region23 v0+416 +;; @0571 v47 = load.i32 notrap aligned region25 v0+416 ;; @0573 v48 = iadd v46, v47 -;; @0574 v49 = load.i32 notrap aligned region24 v0+432 +;; @0574 v49 = load.i32 notrap aligned region14 v0+432 ;; @0576 v50 = iadd v48, v49 -;; @0577 v51 = load.i32 notrap aligned region25 v0+448 +;; @0577 v51 = load.i32 notrap aligned region26 v0+448 ;; @0579 v52 = iadd v50, v51 -;; @057a v53 = load.i32 notrap aligned region26 v0+464 +;; @057a v53 = load.i32 notrap aligned region27 v0+464 ;; @057c v54 = iadd v52, v53 -;; @057d v55 = load.i32 notrap aligned region27 v0+480 +;; @057d v55 = load.i32 notrap aligned region28 v0+480 ;; @057f v56 = iadd v54, v55 -;; @0580 v57 = load.i32 notrap aligned region28 v0+496 +;; @0580 v57 = load.i32 notrap aligned region29 v0+496 ;; @0582 v58 = iadd v56, v57 -;; @0583 v59 = load.i32 notrap aligned region29 v0+512 +;; @0583 v59 = load.i32 notrap aligned region30 v0+512 ;; @0585 v60 = iadd v58, v59 -;; @0586 v61 = load.i32 notrap aligned region30 v0+528 +;; @0586 v61 = load.i32 notrap aligned region31 v0+528 ;; @0588 v62 = iadd v60, v61 -;; @0589 v63 = load.i32 notrap aligned region31 v0+544 +;; @0589 v63 = load.i32 notrap aligned region32 v0+544 ;; @058b v64 = iadd v62, v63 -;; @058c v65 = load.i32 notrap aligned region32 v0+560 +;; @058c v65 = load.i32 notrap aligned region33 v0+560 ;; @058e v66 = iadd v64, v65 -;; @058f v67 = load.i32 notrap aligned region33 v0+576 +;; @058f v67 = load.i32 notrap aligned region19 v0+576 ;; @0591 v68 = iadd v66, v67 -;; @0592 v69 = load.i32 notrap aligned region25 v0+592 +;; @0592 v69 = load.i32 notrap aligned region34 v0+592 ;; @0594 v70 = iadd v68, v69 -;; @0595 v71 = load.i32 notrap aligned region34 v0+608 +;; @0595 v71 = load.i32 notrap aligned region35 v0+608 ;; @0597 v72 = iadd v70, v71 -;; @0598 v73 = load.i32 notrap aligned region35 v0+624 +;; @0598 v73 = load.i32 notrap aligned region36 v0+624 ;; @059a v74 = iadd v72, v73 -;; @059b v75 = load.i32 notrap aligned region36 v0+640 +;; @059b v75 = load.i32 notrap aligned region37 v0+640 ;; @059d v76 = iadd v74, v75 -;; @059e v77 = load.i32 notrap aligned region37 v0+656 +;; @059e v77 = load.i32 notrap aligned region38 v0+656 ;; @05a0 v78 = iadd v76, v77 -;; @05a1 v79 = load.i32 notrap aligned region38 v0+672 +;; @05a1 v79 = load.i32 notrap aligned region39 v0+672 ;; @05a3 v80 = iadd v78, v79 -;; @05a4 v81 = load.i32 notrap aligned region8 v0+688 +;; @05a4 v81 = load.i32 notrap aligned region40 v0+688 ;; @05a6 v82 = iadd v80, v81 -;; @05a7 v83 = load.i32 notrap aligned region35 v0+704 +;; @05a7 v83 = load.i32 notrap aligned region41 v0+704 ;; @05a9 v84 = iadd v82, v83 -;; @05aa v85 = load.i32 notrap aligned region33 v0+720 +;; @05aa v85 = load.i32 notrap aligned region42 v0+720 ;; @05ac v86 = iadd v84, v85 -;; @05ad v87 = load.i32 notrap aligned region39 v0+736 +;; @05ad v87 = load.i32 notrap aligned region43 v0+736 ;; @05af v88 = iadd v86, v87 -;; @05b0 v89 = load.i32 notrap aligned region40 v0+752 +;; @05b0 v89 = load.i32 notrap aligned region44 v0+752 ;; @05b2 v90 = iadd v88, v89 -;; @05b3 v91 = load.i32 notrap aligned region41 v0+768 +;; @05b3 v91 = load.i32 notrap aligned region45 v0+768 ;; @05b5 v92 = iadd v90, v91 -;; @05b6 v93 = load.i32 notrap aligned region42 v0+784 +;; @05b6 v93 = load.i32 notrap aligned region46 v0+784 ;; @05b8 v94 = iadd v92, v93 -;; @05b9 v95 = load.i32 notrap aligned region35 v0+800 +;; @05b9 v95 = load.i32 notrap aligned region27 v0+800 ;; @05bb v96 = iadd v94, v95 -;; @05bc v97 = load.i32 notrap aligned region43 v0+816 +;; @05bc v97 = load.i32 notrap aligned region44 v0+816 ;; @05be v98 = iadd v96, v97 -;; @05bf v99 = load.i32 notrap aligned region33 v0+832 +;; @05bf v99 = load.i32 notrap aligned region47 v0+832 ;; @05c1 v100 = iadd v98, v99 -;; @05c2 v101 = load.i32 notrap aligned region44 v0+848 +;; @05c2 v101 = load.i32 notrap aligned region48 v0+848 ;; @05c4 v102 = iadd v100, v101 -;; @05c5 v103 = load.i32 notrap aligned region45 v0+864 +;; @05c5 v103 = load.i32 notrap aligned region49 v0+864 ;; @05c7 v104 = iadd v102, v103 -;; @05c8 v105 = load.i32 notrap aligned region9 v0+880 +;; @05c8 v105 = load.i32 notrap aligned region39 v0+880 ;; @05ca v106 = iadd v104, v105 -;; @05cb v107 = load.i32 notrap aligned region27 v0+896 +;; @05cb v107 = load.i32 notrap aligned region50 v0+896 ;; @05cd v108 = iadd v106, v107 -;; @05ce v109 = load.i32 notrap aligned region46 v0+912 +;; @05ce v109 = load.i32 notrap aligned region51 v0+912 ;; @05d0 v110 = iadd v108, v109 -;; @05d1 v111 = load.i32 notrap aligned region47 v0+928 +;; @05d1 v111 = load.i32 notrap aligned region52 v0+928 ;; @05d3 v112 = iadd v110, v111 -;; @05d4 v113 = load.i32 notrap aligned region48 v0+944 +;; @05d4 v113 = load.i32 notrap aligned region53 v0+944 ;; @05d6 v114 = iadd v112, v113 -;; @05d7 v115 = load.i32 notrap aligned region49 v0+960 +;; @05d7 v115 = load.i32 notrap aligned region54 v0+960 ;; @05d9 v116 = iadd v114, v115 -;; @05da v117 = load.i32 notrap aligned region50 v0+976 +;; @05da v117 = load.i32 notrap aligned region55 v0+976 ;; @05dc v118 = iadd v116, v117 -;; @05dd v119 = load.i32 notrap aligned region51 v0+992 +;; @05dd v119 = load.i32 notrap aligned region56 v0+992 ;; @05df v120 = iadd v118, v119 -;; @05e0 v121 = load.i32 notrap aligned region52 v0+1008 +;; @05e0 v121 = load.i32 notrap aligned region57 v0+1008 ;; @05e2 v122 = iadd v120, v121 -;; @05e3 v123 = load.i32 notrap aligned region21 v0+1024 +;; @05e3 v123 = load.i32 notrap aligned region45 v0+1024 ;; @05e5 v124 = iadd v122, v123 -;; @05e6 v125 = load.i32 notrap aligned region53 v0+1040 +;; @05e6 v125 = load.i32 notrap aligned region5 v0+1040 ;; @05e8 v126 = iadd v124, v125 -;; @05e9 v127 = load.i32 notrap aligned region1 v0+1056 +;; @05e9 v127 = load.i32 notrap aligned region28 v0+1056 ;; @05eb v128 = iadd v126, v127 -;; @05ec v129 = load.i32 notrap aligned region54 v0+1072 +;; @05ec v129 = load.i32 notrap aligned region58 v0+1072 ;; @05ee v130 = iadd v128, v129 -;; @05ef v131 = load.i32 notrap aligned region55 v0+1088 +;; @05ef v131 = load.i32 notrap aligned region59 v0+1088 ;; @05f1 v132 = iadd v130, v131 -;; @05f2 v133 = load.i32 notrap aligned region19 v0+1104 +;; @05f2 v133 = load.i32 notrap aligned region60 v0+1104 ;; @05f4 v134 = iadd v132, v133 -;; @05f5 v135 = load.i32 notrap aligned region56 v0+1120 +;; @05f5 v135 = load.i32 notrap aligned region61 v0+1120 ;; @05f7 v136 = iadd v134, v135 -;; @05f8 v137 = load.i32 notrap aligned region57 v0+1136 +;; @05f8 v137 = load.i32 notrap aligned region62 v0+1136 ;; @05fa v138 = iadd v136, v137 -;; @05fb v139 = load.i32 notrap aligned region58 v0+1152 +;; @05fb v139 = load.i32 notrap aligned region63 v0+1152 ;; @05fd v140 = iadd v138, v139 -;; @05fe v141 = load.i32 notrap aligned region59 v0+1168 +;; @05fe v141 = load.i32 notrap aligned region64 v0+1168 ;; @0600 v142 = iadd v140, v141 -;; @0601 v143 = load.i32 notrap aligned region60 v0+1184 +;; @0601 v143 = load.i32 notrap aligned region43 v0+1184 ;; @0603 v144 = iadd v142, v143 -;; @0604 v145 = load.i32 notrap aligned region61 v0+1200 +;; @0604 v145 = load.i32 notrap aligned region65 v0+1200 ;; @0606 v146 = iadd v144, v145 -;; @0607 v147 = load.i32 notrap aligned region62 v0+1216 +;; @0607 v147 = load.i32 notrap aligned region66 v0+1216 ;; @0609 v148 = iadd v146, v147 -;; @060a v149 = load.i32 notrap aligned region63 v0+1232 +;; @060a v149 = load.i32 notrap aligned region67 v0+1232 ;; @060c v150 = iadd v148, v149 -;; @060d v151 = load.i32 notrap aligned region64 v0+1248 +;; @060d v151 = load.i32 notrap aligned region46 v0+1248 ;; @060f v152 = iadd v150, v151 -;; @0610 v153 = load.i32 notrap aligned region65 v0+1264 +;; @0610 v153 = load.i32 notrap aligned region68 v0+1264 ;; @0612 v154 = iadd v152, v153 -;; @0613 v155 = load.i32 notrap aligned region66 v0+1280 +;; @0613 v155 = load.i32 notrap aligned region34 v0+1280 ;; @0615 v156 = iadd v154, v155 -;; @0616 v157 = load.i32 notrap aligned region67 v0+1296 +;; @0616 v157 = load.i32 notrap aligned region57 v0+1296 ;; @0618 v158 = iadd v156, v157 -;; @0619 v159 = load.i32 notrap aligned region68 v0+1312 +;; @0619 v159 = load.i32 notrap aligned region69 v0+1312 ;; @061b v160 = iadd v158, v159 -;; @061c v161 = load.i32 notrap aligned region69 v0+1328 +;; @061c v161 = load.i32 notrap aligned region70 v0+1328 ;; @061e v162 = iadd v160, v161 -;; @061f v163 = load.i32 notrap aligned region70 v0+1344 +;; @061f v163 = load.i32 notrap aligned region71 v0+1344 ;; @0621 v164 = iadd v162, v163 -;; @0622 v165 = load.i32 notrap aligned region71 v0+1360 +;; @0622 v165 = load.i32 notrap aligned region72 v0+1360 ;; @0624 v166 = iadd v164, v165 -;; @0625 v167 = load.i32 notrap aligned region72 v0+1376 +;; @0625 v167 = load.i32 notrap aligned region16 v0+1376 ;; @0627 v168 = iadd v166, v167 -;; @0628 v169 = load.i32 notrap aligned region51 v0+1392 +;; @0628 v169 = load.i32 notrap aligned region73 v0+1392 ;; @062a v170 = iadd v168, v169 -;; @062b v171 = load.i32 notrap aligned region73 v0+1408 +;; @062b v171 = load.i32 notrap aligned region74 v0+1408 ;; @062d v172 = iadd v170, v171 -;; @062e v173 = load.i32 notrap aligned region74 v0+1424 +;; @062e v173 = load.i32 notrap aligned region53 v0+1424 ;; @0630 v174 = iadd v172, v173 ;; @0631 v175 = load.i32 notrap aligned region75 v0+1440 ;; @0633 v176 = iadd v174, v175 -;; @0634 v177 = load.i32 notrap aligned region64 v0+1456 +;; @0634 v177 = load.i32 notrap aligned region76 v0+1456 ;; @0636 v178 = iadd v176, v177 -;; @0637 v179 = load.i32 notrap aligned region48 v0+1472 +;; @0637 v179 = load.i32 notrap aligned region77 v0+1472 ;; @0639 v180 = iadd v178, v179 -;; @063a v181 = load.i32 notrap aligned region76 v0+1488 +;; @063a v181 = load.i32 notrap aligned region35 v0+1488 ;; @063c v182 = iadd v180, v181 -;; @063d v183 = load.i32 notrap aligned region77 v0+1504 +;; @063d v183 = load.i32 notrap aligned region28 v0+1504 ;; @063f v184 = iadd v182, v183 ;; @0640 v185 = load.i32 notrap aligned region78 v0+1520 ;; @0642 v186 = iadd v184, v185 -;; @0643 v187 = load.i32 notrap aligned region15 v0+1536 +;; @0643 v187 = load.i32 notrap aligned region79 v0+1536 ;; @0645 v188 = iadd v186, v187 -;; @0646 v189 = load.i32 notrap aligned region79 v0+1552 +;; @0646 v189 = load.i32 notrap aligned region80 v0+1552 ;; @0648 v190 = iadd v188, v189 -;; @0649 v191 = load.i32 notrap aligned region80 v0+1568 +;; @0649 v191 = load.i32 notrap aligned region81 v0+1568 ;; @064b v192 = iadd v190, v191 -;; @064c v193 = load.i32 notrap aligned region29 v0+1584 +;; @064c v193 = load.i32 notrap aligned region72 v0+1584 ;; @064e v194 = iadd v192, v193 -;; @064f v195 = load.i32 notrap aligned region81 v0+1600 +;; @064f v195 = load.i32 notrap aligned region27 v0+1600 ;; @0651 v196 = iadd v194, v195 ;; @0652 v197 = load.i32 notrap aligned region82 v0+1616 ;; @0654 v198 = iadd v196, v197 @@ -536,313 +537,313 @@ ;; @065d v204 = iadd v202, v203 ;; @065e v205 = load.i32 notrap aligned region86 v0+1680 ;; @0660 v206 = iadd v204, v205 -;; @0661 v207 = load.i32 notrap aligned region87 v0+1696 +;; @0661 v207 = load.i32 notrap aligned region77 v0+1696 ;; @0663 v208 = iadd v206, v207 -;; @0664 v209 = load.i32 notrap aligned region88 v0+1712 +;; @0664 v209 = load.i32 notrap aligned region87 v0+1712 ;; @0666 v210 = iadd v208, v209 -;; @0667 v211 = load.i32 notrap aligned region89 v0+1728 +;; @0667 v211 = load.i32 notrap aligned region88 v0+1728 ;; @0669 v212 = iadd v210, v211 -;; @066a v213 = load.i32 notrap aligned region11 v0+1744 +;; @066a v213 = load.i32 notrap aligned region15 v0+1744 ;; @066c v214 = iadd v212, v213 -;; @066d v215 = load.i32 notrap aligned region90 v0+1760 +;; @066d v215 = load.i32 notrap aligned region89 v0+1760 ;; @066f v216 = iadd v214, v215 -;; @0670 v217 = load.i32 notrap aligned region45 v0+1776 +;; @0670 v217 = load.i32 notrap aligned region34 v0+1776 ;; @0672 v218 = iadd v216, v217 -;; @0673 v219 = load.i32 notrap aligned region36 v0+1792 +;; @0673 v219 = load.i32 notrap aligned region90 v0+1792 ;; @0675 v220 = iadd v218, v219 -;; @0676 v221 = load.i32 notrap aligned region66 v0+1808 +;; @0676 v221 = load.i32 notrap aligned region91 v0+1808 ;; @0678 v222 = iadd v220, v221 -;; @0679 v223 = load.i32 notrap aligned region31 v0+1824 +;; @0679 v223 = load.i32 notrap aligned region88 v0+1824 ;; @067b v224 = iadd v222, v223 -;; @067c v225 = load.i32 notrap aligned region91 v0+1840 +;; @067c v225 = load.i32 notrap aligned region92 v0+1840 ;; @067e v226 = iadd v224, v225 -;; @067f v227 = load.i32 notrap aligned region92 v0+1856 +;; @067f v227 = load.i32 notrap aligned region53 v0+1856 ;; @0681 v228 = iadd v226, v227 -;; @0682 v229 = load.i32 notrap aligned region93 v0+1872 +;; @0682 v229 = load.i32 notrap aligned region72 v0+1872 ;; @0684 v230 = iadd v228, v229 -;; @0685 v231 = load.i32 notrap aligned region94 v0+1888 +;; @0685 v231 = load.i32 notrap aligned region69 v0+1888 ;; @0687 v232 = iadd v230, v231 -;; @0688 v233 = load.i32 notrap aligned region95 v0+1904 +;; @0688 v233 = load.i32 notrap aligned region93 v0+1904 ;; @068a v234 = iadd v232, v233 -;; @068b v235 = load.i32 notrap aligned region96 v0+1920 +;; @068b v235 = load.i32 notrap aligned region77 v0+1920 ;; @068d v236 = iadd v234, v235 -;; @068e v237 = load.i32 notrap aligned region97 v0+1936 +;; @068e v237 = load.i32 notrap aligned region41 v0+1936 ;; @0690 v238 = iadd v236, v237 -;; @0691 v239 = load.i32 notrap aligned region98 v0+1952 +;; @0691 v239 = load.i32 notrap aligned region61 v0+1952 ;; @0693 v240 = iadd v238, v239 -;; @0694 v241 = load.i32 notrap aligned region99 v0+1968 +;; @0694 v241 = load.i32 notrap aligned region94 v0+1968 ;; @0696 v242 = iadd v240, v241 -;; @0697 v243 = load.i32 notrap aligned region100 v0+1984 +;; @0697 v243 = load.i32 notrap aligned region95 v0+1984 ;; @0699 v244 = iadd v242, v243 -;; @069a v245 = load.i32 notrap aligned region2 v0+2000 +;; @069a v245 = load.i32 notrap aligned region96 v0+2000 ;; @069c v246 = iadd v244, v245 -;; @069d v247 = load.i32 notrap aligned region101 v0+2016 +;; @069d v247 = load.i32 notrap aligned region97 v0+2016 ;; @069f v248 = iadd v246, v247 -;; @06a0 v249 = load.i32 notrap aligned region4 v0+2032 +;; @06a0 v249 = load.i32 notrap aligned region41 v0+2032 ;; @06a2 v250 = iadd v248, v249 -;; @06a3 v251 = load.i32 notrap aligned region102 v0+2048 +;; @06a3 v251 = load.i32 notrap aligned region98 v0+2048 ;; @06a5 v252 = iadd v250, v251 -;; @06a6 v253 = load.i32 notrap aligned region103 v0+2064 +;; @06a6 v253 = load.i32 notrap aligned region11 v0+2064 ;; @06a8 v254 = iadd v252, v253 -;; @06a9 v255 = load.i32 notrap aligned region104 v0+2080 +;; @06a9 v255 = load.i32 notrap aligned region99 v0+2080 ;; @06ab v256 = iadd v254, v255 -;; @06ac v257 = load.i32 notrap aligned region105 v0+2096 +;; @06ac v257 = load.i32 notrap aligned region100 v0+2096 ;; @06af v258 = iadd v256, v257 -;; @06b0 v259 = load.i32 notrap aligned region106 v0+2112 +;; @06b0 v259 = load.i32 notrap aligned region101 v0+2112 ;; @06b3 v260 = iadd v258, v259 -;; @06b4 v261 = load.i32 notrap aligned region40 v0+2128 +;; @06b4 v261 = load.i32 notrap aligned region75 v0+2128 ;; @06b7 v262 = iadd v260, v261 -;; @06b8 v263 = load.i32 notrap aligned region107 v0+2144 +;; @06b8 v263 = load.i32 notrap aligned region102 v0+2144 ;; @06bb v264 = iadd v262, v263 -;; @06bc v265 = load.i32 notrap aligned region40 v0+2160 +;; @06bc v265 = load.i32 notrap aligned region103 v0+2160 ;; @06bf v266 = iadd v264, v265 -;; @06c0 v267 = load.i32 notrap aligned region108 v0+2176 +;; @06c0 v267 = load.i32 notrap aligned region104 v0+2176 ;; @06c3 v268 = iadd v266, v267 -;; @06c4 v269 = load.i32 notrap aligned region98 v0+2192 +;; @06c4 v269 = load.i32 notrap aligned region105 v0+2192 ;; @06c7 v270 = iadd v268, v269 -;; @06c8 v271 = load.i32 notrap aligned region20 v0+2208 +;; @06c8 v271 = load.i32 notrap aligned region106 v0+2208 ;; @06cb v272 = iadd v270, v271 -;; @06cc v273 = load.i32 notrap aligned region100 v0+2224 +;; @06cc v273 = load.i32 notrap aligned region82 v0+2224 ;; @06cf v274 = iadd v272, v273 -;; @06d0 v275 = load.i32 notrap aligned region107 v0+2240 +;; @06d0 v275 = load.i32 notrap aligned region98 v0+2240 ;; @06d3 v276 = iadd v274, v275 -;; @06d4 v277 = load.i32 notrap aligned region109 v0+2256 +;; @06d4 v277 = load.i32 notrap aligned region107 v0+2256 ;; @06d7 v278 = iadd v276, v277 -;; @06d8 v279 = load.i32 notrap aligned region110 v0+2272 +;; @06d8 v279 = load.i32 notrap aligned region108 v0+2272 ;; @06db v280 = iadd v278, v279 -;; @06dc v281 = load.i32 notrap aligned region5 v0+2288 +;; @06dc v281 = load.i32 notrap aligned region109 v0+2288 ;; @06df v282 = iadd v280, v281 -;; @06e0 v283 = load.i32 notrap aligned region111 v0+2304 +;; @06e0 v283 = load.i32 notrap aligned region110 v0+2304 ;; @06e3 v284 = iadd v282, v283 -;; @06e4 v285 = load.i32 notrap aligned region42 v0+2320 +;; @06e4 v285 = load.i32 notrap aligned region111 v0+2320 ;; @06e7 v286 = iadd v284, v285 ;; @06e8 v287 = load.i32 notrap aligned region112 v0+2336 ;; @06eb v288 = iadd v286, v287 -;; @06ec v289 = load.i32 notrap aligned region113 v0+2352 +;; @06ec v289 = load.i32 notrap aligned region110 v0+2352 ;; @06ef v290 = iadd v288, v289 -;; @06f0 v291 = load.i32 notrap aligned region114 v0+2368 +;; @06f0 v291 = load.i32 notrap aligned region98 v0+2368 ;; @06f3 v292 = iadd v290, v291 -;; @06f4 v293 = load.i32 notrap aligned region115 v0+2384 +;; @06f4 v293 = load.i32 notrap aligned region113 v0+2384 ;; @06f7 v294 = iadd v292, v293 -;; @06f8 v295 = load.i32 notrap aligned region89 v0+2400 +;; @06f8 v295 = load.i32 notrap aligned region6 v0+2400 ;; @06fb v296 = iadd v294, v295 -;; @06fc v297 = load.i32 notrap aligned region43 v0+2416 +;; @06fc v297 = load.i32 notrap aligned region32 v0+2416 ;; @06ff v298 = iadd v296, v297 -;; @0700 v299 = load.i32 notrap aligned region116 v0+2432 +;; @0700 v299 = load.i32 notrap aligned region114 v0+2432 ;; @0703 v300 = iadd v298, v299 -;; @0704 v301 = load.i32 notrap aligned region117 v0+2448 +;; @0704 v301 = load.i32 notrap aligned region27 v0+2448 ;; @0707 v302 = iadd v300, v301 -;; @0708 v303 = load.i32 notrap aligned region118 v0+2464 +;; @0708 v303 = load.i32 notrap aligned region115 v0+2464 ;; @070b v304 = iadd v302, v303 -;; @070c v305 = load.i32 notrap aligned region50 v0+2480 +;; @070c v305 = load.i32 notrap aligned region80 v0+2480 ;; @070f v306 = iadd v304, v305 -;; @0710 v307 = load.i32 notrap aligned region119 v0+2496 +;; @0710 v307 = load.i32 notrap aligned region116 v0+2496 ;; @0713 v308 = iadd v306, v307 -;; @0714 v309 = load.i32 notrap aligned region120 v0+2512 +;; @0714 v309 = load.i32 notrap aligned region117 v0+2512 ;; @0717 v310 = iadd v308, v309 -;; @0718 v311 = load.i32 notrap aligned region121 v0+2528 +;; @0718 v311 = load.i32 notrap aligned region45 v0+2528 ;; @071b v312 = iadd v310, v311 -;; @071c v313 = load.i32 notrap aligned region113 v0+2544 +;; @071c v313 = load.i32 notrap aligned region118 v0+2544 ;; @071f v314 = iadd v312, v313 -;; @0720 v315 = load.i32 notrap aligned region95 v0+2560 +;; @0720 v315 = load.i32 notrap aligned region119 v0+2560 ;; @0723 v316 = iadd v314, v315 -;; @0724 v317 = load.i32 notrap aligned region122 v0+2576 +;; @0724 v317 = load.i32 notrap aligned region113 v0+2576 ;; @0727 v318 = iadd v316, v317 -;; @0728 v319 = load.i32 notrap aligned region123 v0+2592 +;; @0728 v319 = load.i32 notrap aligned region72 v0+2592 ;; @072b v320 = iadd v318, v319 -;; @072c v321 = load.i32 notrap aligned region124 v0+2608 +;; @072c v321 = load.i32 notrap aligned region120 v0+2608 ;; @072f v322 = iadd v320, v321 -;; @0730 v323 = load.i32 notrap aligned region125 v0+2624 +;; @0730 v323 = load.i32 notrap aligned region121 v0+2624 ;; @0733 v324 = iadd v322, v323 -;; @0734 v325 = load.i32 notrap aligned region126 v0+2640 +;; @0734 v325 = load.i32 notrap aligned region122 v0+2640 ;; @0737 v326 = iadd v324, v325 -;; @0738 v327 = load.i32 notrap aligned region3 v0+2656 +;; @0738 v327 = load.i32 notrap aligned region28 v0+2656 ;; @073b v328 = iadd v326, v327 -;; @073c v329 = load.i32 notrap aligned region48 v0+2672 +;; @073c v329 = load.i32 notrap aligned region123 v0+2672 ;; @073f v330 = iadd v328, v329 -;; @0740 v331 = load.i32 notrap aligned region127 v0+2688 +;; @0740 v331 = load.i32 notrap aligned region22 v0+2688 ;; @0743 v332 = iadd v330, v331 -;; @0744 v333 = load.i32 notrap aligned region128 v0+2704 +;; @0744 v333 = load.i32 notrap aligned region124 v0+2704 ;; @0747 v334 = iadd v332, v333 -;; @0748 v335 = load.i32 notrap aligned region129 v0+2720 +;; @0748 v335 = load.i32 notrap aligned region60 v0+2720 ;; @074b v336 = iadd v334, v335 -;; @074c v337 = load.i32 notrap aligned region115 v0+2736 +;; @074c v337 = load.i32 notrap aligned region125 v0+2736 ;; @074f v338 = iadd v336, v337 -;; @0750 v339 = load.i32 notrap aligned region130 v0+2752 +;; @0750 v339 = load.i32 notrap aligned region30 v0+2752 ;; @0753 v340 = iadd v338, v339 -;; @0754 v341 = load.i32 notrap aligned region24 v0+2768 +;; @0754 v341 = load.i32 notrap aligned region51 v0+2768 ;; @0757 v342 = iadd v340, v341 -;; @0758 v343 = load.i32 notrap aligned region50 v0+2784 +;; @0758 v343 = load.i32 notrap aligned region27 v0+2784 ;; @075b v344 = iadd v342, v343 -;; @075c v345 = load.i32 notrap aligned region131 v0+2800 +;; @075c v345 = load.i32 notrap aligned region113 v0+2800 ;; @075f v346 = iadd v344, v345 -;; @0760 v347 = load.i32 notrap aligned region68 v0+2816 +;; @0760 v347 = load.i32 notrap aligned region24 v0+2816 ;; @0763 v348 = iadd v346, v347 -;; @0764 v349 = load.i32 notrap aligned region71 v0+2832 +;; @0764 v349 = load.i32 notrap aligned region126 v0+2832 ;; @0767 v350 = iadd v348, v349 -;; @0768 v351 = load.i32 notrap aligned region132 v0+2848 +;; @0768 v351 = load.i32 notrap aligned region127 v0+2848 ;; @076b v352 = iadd v350, v351 -;; @076c v353 = load.i32 notrap aligned region115 v0+2864 +;; @076c v353 = load.i32 notrap aligned region16 v0+2864 ;; @076f v354 = iadd v352, v353 -;; @0770 v355 = load.i32 notrap aligned region133 v0+2880 +;; @0770 v355 = load.i32 notrap aligned region81 v0+2880 ;; @0773 v356 = iadd v354, v355 -;; @0774 v357 = load.i32 notrap aligned region17 v0+2896 +;; @0774 v357 = load.i32 notrap aligned region128 v0+2896 ;; @0777 v358 = iadd v356, v357 -;; @0778 v359 = load.i32 notrap aligned region65 v0+2912 +;; @0778 v359 = load.i32 notrap aligned region129 v0+2912 ;; @077b v360 = iadd v358, v359 -;; @077c v361 = load.i32 notrap aligned region134 v0+2928 +;; @077c v361 = load.i32 notrap aligned region18 v0+2928 ;; @077f v362 = iadd v360, v361 -;; @0780 v363 = load.i32 notrap aligned region46 v0+2944 +;; @0780 v363 = load.i32 notrap aligned region102 v0+2944 ;; @0783 v364 = iadd v362, v363 -;; @0784 v365 = load.i32 notrap aligned region29 v0+2960 +;; @0784 v365 = load.i32 notrap aligned region107 v0+2960 ;; @0787 v366 = iadd v364, v365 -;; @0788 v367 = load.i32 notrap aligned region135 v0+2976 +;; @0788 v367 = load.i32 notrap aligned region130 v0+2976 ;; @078b v368 = iadd v366, v367 -;; @078c v369 = load.i32 notrap aligned region3 v0+2992 +;; @078c v369 = load.i32 notrap aligned region18 v0+2992 ;; @078f v370 = iadd v368, v369 -;; @0790 v371 = load.i32 notrap aligned region64 v0+3008 +;; @0790 v371 = load.i32 notrap aligned region131 v0+3008 ;; @0793 v372 = iadd v370, v371 -;; @0794 v373 = load.i32 notrap aligned region131 v0+3024 +;; @0794 v373 = load.i32 notrap aligned region107 v0+3024 ;; @0797 v374 = iadd v372, v373 -;; @0798 v375 = load.i32 notrap aligned region64 v0+3040 +;; @0798 v375 = load.i32 notrap aligned region84 v0+3040 ;; @079b v376 = iadd v374, v375 -;; @079c v377 = load.i32 notrap aligned region136 v0+3056 +;; @079c v377 = load.i32 notrap aligned region103 v0+3056 ;; @079f v378 = iadd v376, v377 -;; @07a0 v379 = load.i32 notrap aligned region114 v0+3072 +;; @07a0 v379 = load.i32 notrap aligned region9 v0+3072 ;; @07a3 v380 = iadd v378, v379 -;; @07a4 v381 = load.i32 notrap aligned region93 v0+3088 +;; @07a4 v381 = load.i32 notrap aligned region18 v0+3088 ;; @07a7 v382 = iadd v380, v381 -;; @07a8 v383 = load.i32 notrap aligned region10 v0+3104 +;; @07a8 v383 = load.i32 notrap aligned region17 v0+3104 ;; @07ab v384 = iadd v382, v383 -;; @07ac v385 = load.i32 notrap aligned region129 v0+3120 +;; @07ac v385 = load.i32 notrap aligned region132 v0+3120 ;; @07af v386 = iadd v384, v385 -;; @07b0 v387 = load.i32 notrap aligned region122 v0+3136 +;; @07b0 v387 = load.i32 notrap aligned region73 v0+3136 ;; @07b3 v388 = iadd v386, v387 -;; @07b4 v389 = load.i32 notrap aligned region137 v0+3152 +;; @07b4 v389 = load.i32 notrap aligned region133 v0+3152 ;; @07b7 v390 = iadd v388, v389 -;; @07b8 v391 = load.i32 notrap aligned region138 v0+3168 +;; @07b8 v391 = load.i32 notrap aligned region84 v0+3168 ;; @07bb v392 = iadd v390, v391 -;; @07bc v393 = load.i32 notrap aligned region41 v0+3184 +;; @07bc v393 = load.i32 notrap aligned region134 v0+3184 ;; @07bf v394 = iadd v392, v393 -;; @07c0 v395 = load.i32 notrap aligned region139 v0+3200 +;; @07c0 v395 = load.i32 notrap aligned region25 v0+3200 ;; @07c3 v396 = iadd v394, v395 -;; @07c4 v397 = load.i32 notrap aligned region140 v0+3216 +;; @07c4 v397 = load.i32 notrap aligned region25 v0+3216 ;; @07c7 v398 = iadd v396, v397 -;; @07c8 v399 = load.i32 notrap aligned region141 v0+3232 +;; @07c8 v399 = load.i32 notrap aligned region135 v0+3232 ;; @07cb v400 = iadd v398, v399 -;; @07cc v401 = load.i32 notrap aligned region142 v0+3248 +;; @07cc v401 = load.i32 notrap aligned region136 v0+3248 ;; @07cf v402 = iadd v400, v401 -;; @07d0 v403 = load.i32 notrap aligned region97 v0+3264 +;; @07d0 v403 = load.i32 notrap aligned region137 v0+3264 ;; @07d3 v404 = iadd v402, v403 -;; @07d4 v405 = load.i32 notrap aligned region55 v0+3280 +;; @07d4 v405 = load.i32 notrap aligned region134 v0+3280 ;; @07d7 v406 = iadd v404, v405 -;; @07d8 v407 = load.i32 notrap aligned region41 v0+3296 +;; @07d8 v407 = load.i32 notrap aligned region138 v0+3296 ;; @07db v408 = iadd v406, v407 -;; @07dc v409 = load.i32 notrap aligned region93 v0+3312 +;; @07dc v409 = load.i32 notrap aligned region74 v0+3312 ;; @07df v410 = iadd v408, v409 -;; @07e0 v411 = load.i32 notrap aligned region143 v0+3328 +;; @07e0 v411 = load.i32 notrap aligned region139 v0+3328 ;; @07e3 v412 = iadd v410, v411 -;; @07e4 v413 = load.i32 notrap aligned region94 v0+3344 +;; @07e4 v413 = load.i32 notrap aligned region140 v0+3344 ;; @07e7 v414 = iadd v412, v413 -;; @07e8 v415 = load.i32 notrap aligned region54 v0+3360 +;; @07e8 v415 = load.i32 notrap aligned region141 v0+3360 ;; @07eb v416 = iadd v414, v415 -;; @07ec v417 = load.i32 notrap aligned region144 v0+3376 +;; @07ec v417 = load.i32 notrap aligned region52 v0+3376 ;; @07ef v418 = iadd v416, v417 -;; @07f0 v419 = load.i32 notrap aligned region145 v0+3392 +;; @07f0 v419 = load.i32 notrap aligned region97 v0+3392 ;; @07f3 v420 = iadd v418, v419 -;; @07f4 v421 = load.i32 notrap aligned region146 v0+3408 +;; @07f4 v421 = load.i32 notrap aligned region136 v0+3408 ;; @07f7 v422 = iadd v420, v421 -;; @07f8 v423 = load.i32 notrap aligned region60 v0+3424 +;; @07f8 v423 = load.i32 notrap aligned region142 v0+3424 ;; @07fb v424 = iadd v422, v423 -;; @07fc v425 = load.i32 notrap aligned region44 v0+3440 +;; @07fc v425 = load.i32 notrap aligned region82 v0+3440 ;; @07ff v426 = iadd v424, v425 -;; @0800 v427 = load.i32 notrap aligned region78 v0+3456 +;; @0800 v427 = load.i32 notrap aligned region143 v0+3456 ;; @0803 v428 = iadd v426, v427 -;; @0804 v429 = load.i32 notrap aligned region19 v0+3472 +;; @0804 v429 = load.i32 notrap aligned region21 v0+3472 ;; @0807 v430 = iadd v428, v429 -;; @0808 v431 = load.i32 notrap aligned region63 v0+3488 +;; @0808 v431 = load.i32 notrap aligned region104 v0+3488 ;; @080b v432 = iadd v430, v431 -;; @080c v433 = load.i32 notrap aligned region147 v0+3504 +;; @080c v433 = load.i32 notrap aligned region144 v0+3504 ;; @080f v434 = iadd v432, v433 -;; @0810 v435 = load.i32 notrap aligned region148 v0+3520 +;; @0810 v435 = load.i32 notrap aligned region145 v0+3520 ;; @0813 v436 = iadd v434, v435 -;; @0814 v437 = load.i32 notrap aligned region149 v0+3536 +;; @0814 v437 = load.i32 notrap aligned region73 v0+3536 ;; @0817 v438 = iadd v436, v437 -;; @0818 v439 = load.i32 notrap aligned region125 v0+3552 +;; @0818 v439 = load.i32 notrap aligned region26 v0+3552 ;; @081b v440 = iadd v438, v439 -;; @081c v441 = load.i32 notrap aligned region98 v0+3568 +;; @081c v441 = load.i32 notrap aligned region146 v0+3568 ;; @081f v442 = iadd v440, v441 -;; @0820 v443 = load.i32 notrap aligned region107 v0+3584 +;; @0820 v443 = load.i32 notrap aligned region96 v0+3584 ;; @0823 v444 = iadd v442, v443 -;; @0824 v445 = load.i32 notrap aligned region58 v0+3600 +;; @0824 v445 = load.i32 notrap aligned region106 v0+3600 ;; @0827 v446 = iadd v444, v445 -;; @0828 v447 = load.i32 notrap aligned region1 v0+3616 +;; @0828 v447 = load.i32 notrap aligned region147 v0+3616 ;; @082b v448 = iadd v446, v447 ;; @082c v449 = load.i32 notrap aligned region148 v0+3632 ;; @082f v450 = iadd v448, v449 -;; @0830 v451 = load.i32 notrap aligned region150 v0+3648 +;; @0830 v451 = load.i32 notrap aligned region132 v0+3648 ;; @0833 v452 = iadd v450, v451 -;; @0834 v453 = load.i32 notrap aligned region115 v0+3664 +;; @0834 v453 = load.i32 notrap aligned region52 v0+3664 ;; @0837 v454 = iadd v452, v453 -;; @0838 v455 = load.i32 notrap aligned region151 v0+3680 +;; @0838 v455 = load.i32 notrap aligned region128 v0+3680 ;; @083b v456 = iadd v454, v455 -;; @083c v457 = load.i32 notrap aligned region152 v0+3696 +;; @083c v457 = load.i32 notrap aligned region141 v0+3696 ;; @083f v458 = iadd v456, v457 -;; @0840 v459 = load.i32 notrap aligned region106 v0+3712 +;; @0840 v459 = load.i32 notrap aligned region131 v0+3712 ;; @0843 v460 = iadd v458, v459 -;; @0844 v461 = load.i32 notrap aligned region54 v0+3728 +;; @0844 v461 = load.i32 notrap aligned region7 v0+3728 ;; @0847 v462 = iadd v460, v461 -;; @0848 v463 = load.i32 notrap aligned region57 v0+3744 +;; @0848 v463 = load.i32 notrap aligned region149 v0+3744 ;; @084b v464 = iadd v462, v463 -;; @084c v465 = load.i32 notrap aligned region153 v0+3760 +;; @084c v465 = load.i32 notrap aligned region150 v0+3760 ;; @084f v466 = iadd v464, v465 -;; @0850 v467 = load.i32 notrap aligned region70 v0+3776 +;; @0850 v467 = load.i32 notrap aligned region151 v0+3776 ;; @0853 v468 = iadd v466, v467 -;; @0854 v469 = load.i32 notrap aligned region53 v0+3792 +;; @0854 v469 = load.i32 notrap aligned region131 v0+3792 ;; @0857 v470 = iadd v468, v469 -;; @0858 v471 = load.i32 notrap aligned region154 v0+3808 +;; @0858 v471 = load.i32 notrap aligned region152 v0+3808 ;; @085b v472 = iadd v470, v471 -;; @085c v473 = load.i32 notrap aligned region155 v0+3824 +;; @085c v473 = load.i32 notrap aligned region42 v0+3824 ;; @085f v474 = iadd v472, v473 -;; @0860 v475 = load.i32 notrap aligned region13 v0+3840 +;; @0860 v475 = load.i32 notrap aligned region24 v0+3840 ;; @0863 v476 = iadd v474, v475 -;; @0864 v477 = load.i32 notrap aligned region7 v0+3856 +;; @0864 v477 = load.i32 notrap aligned region40 v0+3856 ;; @0867 v478 = iadd v476, v477 -;; @0868 v479 = load.i32 notrap aligned region96 v0+3872 +;; @0868 v479 = load.i32 notrap aligned region44 v0+3872 ;; @086b v480 = iadd v478, v479 -;; @086c v481 = load.i32 notrap aligned region156 v0+3888 +;; @086c v481 = load.i32 notrap aligned region153 v0+3888 ;; @086f v482 = iadd v480, v481 -;; @0870 v483 = load.i32 notrap aligned region107 v0+3904 +;; @0870 v483 = load.i32 notrap aligned region154 v0+3904 ;; @0873 v484 = iadd v482, v483 -;; @0874 v485 = load.i32 notrap aligned region157 v0+3920 +;; @0874 v485 = load.i32 notrap aligned region155 v0+3920 ;; @0877 v486 = iadd v484, v485 -;; @0878 v487 = load.i32 notrap aligned region121 v0+3936 +;; @0878 v487 = load.i32 notrap aligned region156 v0+3936 ;; @087b v488 = iadd v486, v487 -;; @087c v489 = load.i32 notrap aligned region62 v0+3952 +;; @087c v489 = load.i32 notrap aligned region157 v0+3952 ;; @087f v490 = iadd v488, v489 -;; @0880 v491 = load.i32 notrap aligned region158 v0+3968 +;; @0880 v491 = load.i32 notrap aligned region20 v0+3968 ;; @0883 v492 = iadd v490, v491 -;; @0884 v493 = load.i32 notrap aligned region38 v0+3984 +;; @0884 v493 = load.i32 notrap aligned region158 v0+3984 ;; @0887 v494 = iadd v492, v493 -;; @0888 v495 = load.i32 notrap aligned region89 v0+4000 +;; @0888 v495 = load.i32 notrap aligned region50 v0+4000 ;; @088b v496 = iadd v494, v495 -;; @088c v497 = load.i32 notrap aligned region139 v0+4016 +;; @088c v497 = load.i32 notrap aligned region22 v0+4016 ;; @088f v498 = iadd v496, v497 -;; @0890 v499 = load.i32 notrap aligned region157 v0+4032 +;; @0890 v499 = load.i32 notrap aligned region159 v0+4032 ;; @0893 v500 = iadd v498, v499 -;; @0894 v501 = load.i32 notrap aligned region159 v0+4048 +;; @0894 v501 = load.i32 notrap aligned region90 v0+4048 ;; @0897 v502 = iadd v500, v501 -;; @0898 v503 = load.i32 notrap aligned region37 v0+4064 +;; @0898 v503 = load.i32 notrap aligned region160 v0+4064 ;; @089b v504 = iadd v502, v503 -;; @089c v505 = load.i32 notrap aligned region36 v0+4080 +;; @089c v505 = load.i32 notrap aligned region99 v0+4080 ;; @089f v506 = iadd v504, v505 -;; @08a0 v507 = load.i32 notrap aligned region160 v0+4096 +;; @08a0 v507 = load.i32 notrap aligned region74 v0+4096 ;; @08a3 v508 = iadd v506, v507 -;; @08a4 v509 = load.i32 notrap aligned region68 v0+4112 +;; @08a4 v509 = load.i32 notrap aligned region161 v0+4112 ;; @08a7 v510 = iadd v508, v509 -;; @08a8 v511 = load.i32 notrap aligned region90 v0+4128 +;; @08a8 v511 = load.i32 notrap aligned region45 v0+4128 ;; @08ab v512 = iadd v510, v511 -;; @08ac v513 = load.i32 notrap aligned region90 v0+4144 +;; @08ac v513 = load.i32 notrap aligned region95 v0+4144 ;; @08af v514 = iadd v512, v513 ;; @08b0 jump block1 ;; diff --git a/tests/disas/alias-region-memories.wat b/tests/disas/alias-region-memories.wat index 6738fad51dd1..f46feed52903 100644 --- a/tests/disas/alias-region-memories.wat +++ b/tests/disas/alias-region-memories.wat @@ -15,13 +15,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 53 "PublicMemory" -;; region6 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 61 "" +;; region6 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/alias-region-tables.wat b/tests/disas/alias-region-tables.wat index a6c966de698d..2dd3daa89713 100644 --- a/tests/disas/alias-region-tables.wat +++ b/tests/disas/alias-region-tables.wat @@ -16,18 +16,18 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" -;; region6 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region7 = 105 "VMContext+0x28" -;; region8 = 172 "TypeIdsArray+0x0" -;; region9 = 79 "VMFuncRef+0x10" -;; region10 = 170 "VMFuncRef+0x8" -;; region11 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 99 "" +;; region6 = 117 "" +;; region7 = 130 "" +;; region8 = 6 "" +;; region9 = 106 "" +;; region10 = 116 "" +;; region11 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/arith.wat b/tests/disas/arith.wat index 66a1f2280800..8b8c5dd1c610 100644 --- a/tests/disas/arith.wat +++ b/tests/disas/arith.wat @@ -15,8 +15,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-call-trampoline.wat b/tests/disas/array-call-trampoline.wat index ef79b36eab07..a4d20d0ff87c 100644 --- a/tests/disas/array-call-trampoline.wat +++ b/tests/disas/array-call-trampoline.wat @@ -9,12 +9,12 @@ ) ) ;; function u268435456:0(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 58 "HostValRaw+0x0" -;; region1 = 15 "VMContext+0x8" -;; region2 = 108 "VMStoreContext+0x48" -;; region3 = 38 "VMStoreContext+0x40" -;; region4 = 203 "VMStoreContext+0x50" -;; region5 = 99 "VMStoreContext+0x88" +;; region0 = 21 "" +;; region1 = 123 "" +;; region2 = 231 "" +;; region3 = 243 "" +;; region4 = 209 "" +;; region5 = 68 "" ;; sig0 = (i64 vmctx, i64, i32, i64) -> i32, i64 tail ;; fn0 = colocated u0:0 sig0 ;; diff --git a/tests/disas/array-copy-anyref.wat b/tests/disas/array-copy-anyref.wat index 12fb3083446e..374ecefc82a9 100644 --- a/tests/disas/array-copy-anyref.wat +++ b/tests/disas/array-copy-anyref.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-copy-i64.wat b/tests/disas/array-copy-i64.wat index d1f8284c2cd5..dc2a294e8cd7 100644 --- a/tests/disas/array-copy-i64.wat +++ b/tests/disas/array-copy-i64.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-copy-i8.wat b/tests/disas/array-copy-i8.wat index 705bbbb2de91..3995f04f06ef 100644 --- a/tests/disas/array-copy-i8.wat +++ b/tests/disas/array-copy-i8.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-copy-inline.wat b/tests/disas/array-copy-inline.wat index 04d29af52e4c..be4dcc7a53bf 100644 --- a/tests/disas/array-copy-inline.wat +++ b/tests/disas/array-copy-inline.wat @@ -16,11 +16,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-anyref.wat b/tests/disas/array-fill-anyref.wat index cbca0e440515..eb98ec7eee16 100644 --- a/tests/disas/array-fill-anyref.wat +++ b/tests/disas/array-fill-anyref.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -134,11 +134,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-externref.wat b/tests/disas/array-fill-externref.wat index 545961663765..4c0f71407272 100644 --- a/tests/disas/array-fill-externref.wat +++ b/tests/disas/array-fill-externref.wat @@ -14,11 +14,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,11 +71,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-f32.wat b/tests/disas/array-fill-f32.wat index c7b9c1ed5478..a971cbbc2050 100644 --- a/tests/disas/array-fill-f32.wat +++ b/tests/disas/array-fill-f32.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, f32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -122,11 +122,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-f64.wat b/tests/disas/array-fill-f64.wat index 8af72142a491..a5139ede6259 100644 --- a/tests/disas/array-fill-f64.wat +++ b/tests/disas/array-fill-f64.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, f64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -122,11 +122,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-funcref.wat b/tests/disas/array-fill-funcref.wat index 1d237c788b25..8e8151c00e27 100644 --- a/tests/disas/array-fill-funcref.wat +++ b/tests/disas/array-fill-funcref.wat @@ -21,11 +21,11 @@ (elem declare func $hi) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -82,11 +82,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -144,11 +144,12 @@ ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" +;; region5 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -160,10 +161,10 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v56 = stack_addr.i64 ss0 -;; store notrap aligned region2 v2, v56 +;; store notrap aligned region5 v2, v56 ;; @0053 v5 = iconst.i32 3 ;; @0053 v6 = call fn0(v0, v5), stack_map=[i32 @ ss0+0] ; v5 = 3 -;; v55 = load.i32 notrap aligned region2 v56 +;; v55 = load.i32 notrap aligned region5 v56 ;; @0057 trapz v55, user16 ;; @0057 v8 = load.i64 notrap aligned readonly can_move region0 v0+8 ;; @0057 v9 = load.i64 notrap aligned readonly can_move region2 v8+32 @@ -212,8 +213,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i16.wat b/tests/disas/array-fill-i16.wat index aa5db46df86b..c3ce7f4b39c6 100644 --- a/tests/disas/array-fill-i16.wat +++ b/tests/disas/array-fill-i16.wat @@ -22,11 +22,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,11 +79,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -173,11 +173,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i31ref.wat b/tests/disas/array-fill-i31ref.wat index c3655164299c..a69e7bca648a 100644 --- a/tests/disas/array-fill-i31ref.wat +++ b/tests/disas/array-fill-i31ref.wat @@ -18,11 +18,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,11 +75,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -134,11 +134,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i32.wat b/tests/disas/array-fill-i32.wat index 71083596ae7e..a15eeb2903b1 100644 --- a/tests/disas/array-fill-i32.wat +++ b/tests/disas/array-fill-i32.wat @@ -22,11 +22,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,11 +79,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -173,11 +173,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/array-fill-i64.wat b/tests/disas/array-fill-i64.wat index e5c4e09e6356..c2e58cf7b778 100644 --- a/tests/disas/array-fill-i64.wat +++ b/tests/disas/array-fill-i64.wat @@ -22,11 +22,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,11 +79,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -173,11 +173,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/basic-wat-test.wat b/tests/disas/basic-wat-test.wat index 6c25276cad32..ebc16a6b840e 100644 --- a/tests/disas/basic-wat-test.wat +++ b/tests/disas/basic-wat-test.wat @@ -10,11 +10,11 @@ i32.add)) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/block-params-br_if-single-pred.wat b/tests/disas/block-params-br_if-single-pred.wat index cda3041e54b5..690506b99337 100644 --- a/tests/disas/block-params-br_if-single-pred.wat +++ b/tests/disas/block-params-br_if-single-pred.wat @@ -21,10 +21,10 @@ ) ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/block-params-if-else-same-values.wat b/tests/disas/block-params-if-else-same-values.wat index 5e6c60c72240..8699bf357c84 100644 --- a/tests/disas/block-params-if-else-same-values.wat +++ b/tests/disas/block-params-if-else-same-values.wat @@ -21,10 +21,10 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/block-params-loop-single-iteration.wat b/tests/disas/block-params-loop-single-iteration.wat index 478309deeb4f..8583d627423e 100644 --- a/tests/disas/block-params-loop-single-iteration.wat +++ b/tests/disas/block-params-loop-single-iteration.wat @@ -14,8 +14,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/bounds-check.wat b/tests/disas/bounds-check.wat index 751f852333b6..f161dd0e66cf 100644 --- a/tests/disas/bounds-check.wat +++ b/tests/disas/bounds-check.wat @@ -25,11 +25,11 @@ (export "store" (func $store)) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/br_table.wat b/tests/disas/br_table.wat index da9882740f51..7e90405cf5fe 100644 --- a/tests/disas/br_table.wat +++ b/tests/disas/br_table.wat @@ -32,8 +32,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,8 +70,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -108,8 +108,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -134,8 +134,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/branch-hinting-disabled.wat b/tests/disas/branch-hinting-disabled.wat index aa5e1e77679e..09618b98c3d1 100644 --- a/tests/disas/branch-hinting-disabled.wat +++ b/tests/disas/branch-hinting-disabled.wat @@ -28,8 +28,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -54,8 +54,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/branch-hinting.wat b/tests/disas/branch-hinting.wat index 49fb3dd0aae3..94b18aa57a01 100644 --- a/tests/disas/branch-hinting.wat +++ b/tests/disas/branch-hinting.wat @@ -73,8 +73,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -96,8 +96,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -119,8 +119,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -145,8 +145,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -171,9 +171,9 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/byteswap.wat b/tests/disas/byteswap.wat index a3b0144d4de3..307d4d75cb88 100644 --- a/tests/disas/byteswap.wat +++ b/tests/disas/byteswap.wat @@ -72,8 +72,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,8 +88,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-indirect-with-gc.wat b/tests/disas/call-indirect-with-gc.wat index 1f9856bb51d2..9996f77b5290 100644 --- a/tests/disas/call-indirect-with-gc.wat +++ b/tests/disas/call-indirect-with-gc.wat @@ -10,16 +10,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" -;; region5 = 105 "VMContext+0x28" -;; region6 = 182 "TypeIdsArray+0x4" -;; region7 = 79 "VMFuncRef+0x10" -;; region8 = 170 "VMFuncRef+0x8" -;; region9 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" +;; region5 = 130 "" +;; region6 = 191 "" +;; region7 = 106 "" +;; region8 = 116 "" +;; region9 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-indirect-without-gc.wat b/tests/disas/call-indirect-without-gc.wat index 53b35b5251ac..5094f77be17c 100644 --- a/tests/disas/call-indirect-without-gc.wat +++ b/tests/disas/call-indirect-without-gc.wat @@ -10,16 +10,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" -;; region5 = 105 "VMContext+0x28" -;; region6 = 182 "TypeIdsArray+0x4" -;; region7 = 79 "VMFuncRef+0x10" -;; region8 = 170 "VMFuncRef+0x8" -;; region9 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" +;; region5 = 130 "" +;; region6 = 191 "" +;; region7 = 106 "" +;; region8 = 116 "" +;; region9 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-indirect.wat b/tests/disas/call-indirect.wat index 952c02cbbe75..b80c5a530efa 100644 --- a/tests/disas/call-indirect.wat +++ b/tests/disas/call-indirect.wat @@ -8,16 +8,16 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" -;; region5 = 105 "VMContext+0x28" -;; region6 = 182 "TypeIdsArray+0x4" -;; region7 = 79 "VMFuncRef+0x10" -;; region8 = 170 "VMFuncRef+0x8" -;; region9 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" +;; region5 = 130 "" +;; region6 = 191 "" +;; region7 = 106 "" +;; region8 = 116 "" +;; region9 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call-simd.wat b/tests/disas/call-simd.wat index 4fb9e0e9e1d5..4047579a1c4a 100644 --- a/tests/disas/call-simd.wat +++ b/tests/disas/call-simd.wat @@ -16,8 +16,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -37,8 +37,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i8x16, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/call.wat b/tests/disas/call.wat index debdf7dd11d9..33a9335e6163 100644 --- a/tests/disas/call.wat +++ b/tests/disas/call.wat @@ -12,8 +12,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,8 +32,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat b/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat index 3052550027c4..1d53a7e8a4d8 100644 --- a/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat +++ b/tests/disas/component-model/checked-intrinsics-inlined-no-spectre.wat @@ -48,11 +48,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 18 "VMStoreContext+0x68" -;; region4 = 223 "UnsafeIntrinsicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 175 "" +;; region4 = 35 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/checked-intrinsics-inlined.wat b/tests/disas/component-model/checked-intrinsics-inlined.wat index 21c9b1011ae4..98f35ac91e1a 100644 --- a/tests/disas/component-model/checked-intrinsics-inlined.wat +++ b/tests/disas/component-model/checked-intrinsics-inlined.wat @@ -49,11 +49,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 18 "VMStoreContext+0x68" -;; region4 = 223 "UnsafeIntrinsicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 175 "" +;; region4 = 35 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/checked-intrinsics-trampoline.wat b/tests/disas/component-model/checked-intrinsics-trampoline.wat index 4e6d5872b05b..7f7a1679bdef 100644 --- a/tests/disas/component-model/checked-intrinsics-trampoline.wat +++ b/tests/disas/component-model/checked-intrinsics-trampoline.wat @@ -32,7 +32,7 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 223 "UnsafeIntrinsicMemory" +;; region0 = 35 "" ;; ;; block0(v0: i64, v1: i64, v2: i64, v3: i64, v4: i64): ;; v5 = iconst.i64 4 @@ -48,7 +48,7 @@ ;; } ;; ;; function u0:0(i64 vmctx, i64, i64, i64, i64, i32) tail { -;; region0 = 223 "UnsafeIntrinsicMemory" +;; region0 = 35 "" ;; ;; block0(v0: i64, v1: i64, v2: i64, v3: i64, v4: i64, v5: i32): ;; v6 = iconst.i64 4 diff --git a/tests/disas/component-model/direct-adapter-calls-inlining.wat b/tests/disas/component-model/direct-adapter-calls-inlining.wat index 2b9b41de6a44..1c6113da1dce 100644 --- a/tests/disas/component-model/direct-adapter-calls-inlining.wat +++ b/tests/disas/component-model/direct-adapter-calls-inlining.wat @@ -55,12 +55,12 @@ ) ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 190 "VMGlobalImport+0x0" -;; region4 = 78 "VMComponentContext+0x40" -;; region5 = 249 "VMComponentContext+0x30" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 44 "" +;; region4 = 78 "" +;; region5 = 227 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/direct-adapter-calls.wat b/tests/disas/component-model/direct-adapter-calls.wat index 6d94e67ec277..5e7261d69742 100644 --- a/tests/disas/component-model/direct-adapter-calls.wat +++ b/tests/disas/component-model/direct-adapter-calls.wat @@ -58,8 +58,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -75,9 +75,9 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -96,12 +96,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 78 "VMComponentContext+0x40" -;; region4 = 239 "VMFunctionImport+0x18" -;; region5 = 249 "VMComponentContext+0x30" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 78 "" +;; region4 = 25 "" +;; region5 = 227 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/exported-module-makes-adapters-indirect.wat b/tests/disas/component-model/exported-module-makes-adapters-indirect.wat index 8efb71757dc2..5f7b7ed30751 100644 --- a/tests/disas/component-model/exported-module-makes-adapters-indirect.wat +++ b/tests/disas/component-model/exported-module-makes-adapters-indirect.wat @@ -59,10 +59,10 @@ ) ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat b/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat index 2898fd7cbcae..865925b304c6 100644 --- a/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat +++ b/tests/disas/component-model/inlining-and-unsafe-intrinsics.wat @@ -43,11 +43,11 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 18 "VMStoreContext+0x68" -;; region4 = 223 "UnsafeIntrinsicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 175 "" +;; region4 = 35 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/inlining-bug.wat b/tests/disas/component-model/inlining-bug.wat index 45fcfe9cb41a..8be39abc8050 100644 --- a/tests/disas/component-model/inlining-bug.wat +++ b/tests/disas/component-model/inlining-bug.wat @@ -35,9 +35,9 @@ ) ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/inlining-fuzz-bug.wat b/tests/disas/component-model/inlining-fuzz-bug.wat index ea49c893e4d8..1cb8eb06f07b 100644 --- a/tests/disas/component-model/inlining-fuzz-bug.wat +++ b/tests/disas/component-model/inlining-fuzz-bug.wat @@ -38,9 +38,9 @@ ) ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/issue-11458.wat b/tests/disas/component-model/issue-11458.wat index bbc537de7990..8c8c2098f172 100644 --- a/tests/disas/component-model/issue-11458.wat +++ b/tests/disas/component-model/issue-11458.wat @@ -20,9 +20,9 @@ ) ;; function u1:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/known-imported-adapter-memory.wat b/tests/disas/component-model/known-imported-adapter-memory.wat index 2b687f1d22a6..13801169e86d 100644 --- a/tests/disas/component-model/known-imported-adapter-memory.wat +++ b/tests/disas/component-model/known-imported-adapter-memory.wat @@ -60,8 +60,8 @@ (instance $b (instantiate $B (with "f" (func $a "f")))) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -76,11 +76,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -102,8 +102,8 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -118,13 +118,13 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 112 "VMMemoryImport+0x0" -;; region4 = 193 "VMMemoryDefinition+0x0" -;; region5 = 213 "VMMemoryDefinition+0x8" -;; region6 = 248 "DefinedMemory(StaticModuleIndex(1), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 13 "" +;; region4 = 215 "" +;; region5 = 105 "" +;; region6 = 184 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -147,17 +147,17 @@ ;; } ;; ;; function u3:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 78 "VMComponentContext+0x40" -;; region4 = 239 "VMFunctionImport+0x18" -;; region5 = 249 "VMComponentContext+0x30" -;; region6 = 112 "VMMemoryImport+0x0" -;; region7 = 193 "VMMemoryDefinition+0x0" -;; region8 = 213 "VMMemoryDefinition+0x8" -;; region9 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" -;; region10 = 248 "DefinedMemory(StaticModuleIndex(1), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 78 "" +;; region4 = 25 "" +;; region5 = 227 "" +;; region6 = 13 "" +;; region7 = 215 "" +;; region8 = 105 "" +;; region9 = 171 "" +;; region10 = 184 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/known-imported-canonical-abi-memory.wat b/tests/disas/component-model/known-imported-canonical-abi-memory.wat index 2caec1b5030b..ccdbd9b03cdd 100644 --- a/tests/disas/component-model/known-imported-canonical-abi-memory.wat +++ b/tests/disas/component-model/known-imported-canonical-abi-memory.wat @@ -28,8 +28,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/known-imported-entities.wat b/tests/disas/component-model/known-imported-entities.wat index 33f1c7ff43fb..35afc5b954f3 100644 --- a/tests/disas/component-model/known-imported-entities.wat +++ b/tests/disas/component-model/known-imported-entities.wat @@ -44,11 +44,11 @@ (core instance $n (instantiate $N (with "" (instance $m)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -64,9 +64,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -81,11 +81,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 117 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -120,12 +120,12 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -142,10 +142,10 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -161,12 +161,12 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 117 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat b/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat index 8b7fcfb673df..ae762b015fc1 100644 --- a/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat +++ b/tests/disas/component-model/multiple-instantiations-makes-adapters-indirect.wat @@ -65,10 +65,10 @@ ) ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat b/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat index 0f2943cc0eeb..d4bb116842e0 100644 --- a/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat +++ b/tests/disas/component-model/multiple-instantiations-makes-imports-unknown.wat @@ -66,11 +66,11 @@ (core instance $n2 (instantiate $N (with "" (instance $m2)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -86,9 +86,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -103,11 +103,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -142,11 +142,11 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -162,9 +162,9 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -179,11 +179,11 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -218,12 +218,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -240,10 +240,10 @@ ;; } ;; ;; function u2:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -259,12 +259,12 @@ ;; } ;; ;; function u2:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/reexported-ambiguous-entities.wat b/tests/disas/component-model/reexported-ambiguous-entities.wat index 8e59ce7106c1..fdae163e6471 100644 --- a/tests/disas/component-model/reexported-ambiguous-entities.wat +++ b/tests/disas/component-model/reexported-ambiguous-entities.wat @@ -89,11 +89,11 @@ (core instance $p2 (instantiate $P (with "" (instance $m2)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -109,9 +109,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -126,11 +126,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -165,11 +165,11 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -185,9 +185,9 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -202,11 +202,11 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -241,12 +241,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -263,10 +263,10 @@ ;; } ;; ;; function u2:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -282,12 +282,12 @@ ;; } ;; ;; function u2:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -323,12 +323,12 @@ ;; } ;; ;; function u3:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -345,10 +345,10 @@ ;; } ;; ;; function u3:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -364,12 +364,12 @@ ;; } ;; ;; function u3:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/reexported-entities-to-imported-module.wat b/tests/disas/component-model/reexported-entities-to-imported-module.wat index a677743032dc..1c29f765dda4 100644 --- a/tests/disas/component-model/reexported-entities-to-imported-module.wat +++ b/tests/disas/component-model/reexported-entities-to-imported-module.wat @@ -62,11 +62,11 @@ (core instance $d (instantiate $Dyn (with "" (instance $n)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -82,9 +82,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -99,11 +99,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -138,12 +138,12 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -160,10 +160,10 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -179,12 +179,12 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/reexported-known-entities.wat b/tests/disas/component-model/reexported-known-entities.wat index 21af06f2e3e1..d306ad76cde1 100644 --- a/tests/disas/component-model/reexported-known-entities.wat +++ b/tests/disas/component-model/reexported-known-entities.wat @@ -68,11 +68,11 @@ (core instance $p (instantiate $P (with "" (instance $n)))) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,9 +88,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -105,11 +105,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 117 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -144,12 +144,12 @@ ;; } ;; ;; function u1:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -166,10 +166,10 @@ ;; } ;; ;; function u1:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -185,12 +185,12 @@ ;; } ;; ;; function u1:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 117 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -226,12 +226,12 @@ ;; } ;; ;; function u2:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "VMMemoryImport+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 13 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -248,10 +248,10 @@ ;; } ;; ;; function u2:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -267,12 +267,12 @@ ;; } ;; ;; function u2:2(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 117 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/sync-adapter-calls.wat b/tests/disas/component-model/sync-adapter-calls.wat index ac3ce1e59a9e..6b8c2c09779c 100644 --- a/tests/disas/component-model/sync-adapter-calls.wat +++ b/tests/disas/component-model/sync-adapter-calls.wat @@ -53,21 +53,21 @@ ;; function u1:0(i64 vmctx, i64) -> i32 tail { ;; ss0 = explicit_slot 32, align = 8 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 190 "VMGlobalImport+0x0" -;; region4 = 78 "VMComponentContext+0x40" -;; region5 = 99 "VMStoreContext+0x88" -;; region6 = 219 "VMDeferredThread+0x0" -;; region7 = 116 "VMDeferredThread+0x8" -;; region8 = 93 "VMDeferredThread+0xc" -;; region9 = 235 "VMDeferredThread+0x10" -;; region10 = 98 "VMStoreContext+0x80" -;; region11 = 59 "VMDeferredThread+0x14 | VMFunctionImport+0x8" -;; region12 = 28 "VMStoreContext+0x84" -;; region13 = 248 "VMDeferredThread+0x18" -;; region14 = 249 "VMComponentContext+0x30" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 44 "" +;; region4 = 78 "" +;; region5 = 68 "" +;; region6 = 198 "" +;; region7 = 100 "" +;; region8 = 254 "" +;; region9 = 176 "" +;; region10 = 112 "" +;; region11 = 224 "" +;; region12 = 149 "" +;; region13 = 62 "" +;; region14 = 227 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/component-model/unsafe-intrinsics-used.wat b/tests/disas/component-model/unsafe-intrinsics-used.wat index 2cf4465f7112..c22b40a6f027 100644 --- a/tests/disas/component-model/unsafe-intrinsics-used.wat +++ b/tests/disas/component-model/unsafe-intrinsics-used.wat @@ -35,8 +35,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 18 "VMStoreContext+0x68" +;; region0 = 123 "" +;; region1 = 175 "" ;; ;; block0(v0: i64, v1: i64): ;; v2 = load.i64 notrap aligned readonly can_move region0 v1+8 @@ -45,7 +45,7 @@ ;; } ;; ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 223 "UnsafeIntrinsicMemory" +;; region0 = 35 "" ;; ;; block0(v0: i64, v1: i64, v2: i64): ;; v3 = load.i8 notrap aligned region0 v2 diff --git a/tests/disas/conditional-traps.wat b/tests/disas/conditional-traps.wat index 70a7da06ec65..441345a049c7 100644 --- a/tests/disas/conditional-traps.wat +++ b/tests/disas/conditional-traps.wat @@ -22,8 +22,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,8 +41,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/dead-code.wat b/tests/disas/dead-code.wat index 2c1ff39edac9..1ddc3cfa6240 100644 --- a/tests/disas/dead-code.wat +++ b/tests/disas/dead-code.wat @@ -22,8 +22,8 @@ i32.const 42) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,8 +49,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -64,8 +64,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -79,8 +79,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/duplicate-function-types.wat b/tests/disas/duplicate-function-types.wat index 730fc7c7f94c..35a70889e8d6 100644 --- a/tests/disas/duplicate-function-types.wat +++ b/tests/disas/duplicate-function-types.wat @@ -17,17 +17,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" -;; region6 = 105 "VMContext+0x28" -;; region7 = 172 "TypeIdsArray+0x0" -;; region8 = 79 "VMFuncRef+0x10" -;; region9 = 170 "VMFuncRef+0x8" -;; region10 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 99 "" +;; region6 = 130 "" +;; region7 = 6 "" +;; region8 = 106 "" +;; region9 = 116 "" +;; region10 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/duplicate-loads-dynamic-memory.wat b/tests/disas/duplicate-loads-dynamic-memory.wat index 8727aef385ec..3902c66a110e 100644 --- a/tests/disas/duplicate-loads-dynamic-memory.wat +++ b/tests/disas/duplicate-loads-dynamic-memory.wat @@ -23,11 +23,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/duplicate-loads-static-memory.wat b/tests/disas/duplicate-loads-static-memory.wat index 4877d6f7502e..04f4c6dd0926 100644 --- a/tests/disas/duplicate-loads-static-memory.wat +++ b/tests/disas/duplicate-loads-static-memory.wat @@ -18,11 +18,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -40,11 +40,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat b/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat index 077d755f6e6d..7bca9286eb8c 100644 --- a/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat +++ b/tests/disas/dynamic-memory-no-spectre-access-same-index-different-offsets.wat @@ -36,11 +36,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,11 +71,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat b/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat index d57f67a181a0..e99f41c38959 100644 --- a/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat +++ b/tests/disas/dynamic-memory-yes-spectre-access-same-index-different-offsets.wat @@ -32,11 +32,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32, i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,11 +69,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/elem-segment.wat b/tests/disas/elem-segment.wat index 77054b557a45..ecd96076ac89 100644 --- a/tests/disas/elem-segment.wat +++ b/tests/disas/elem-segment.wat @@ -11,11 +11,11 @@ (elem func $f $f $f) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 15 "VMContext+0x8" -;; region1 = 108 "VMStoreContext+0x48" -;; region2 = 38 "VMStoreContext+0x40" -;; region3 = 203 "VMStoreContext+0x50" -;; region4 = 99 "VMStoreContext+0x88" +;; region0 = 123 "" +;; region1 = 231 "" +;; region2 = 243 "" +;; region3 = 209 "" +;; region4 = 68 "" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -44,7 +44,7 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 66 "ElementSegment" +;; region0 = 191 "" ;; sig0 = (i64 vmctx, i32) -> i64 tail ;; sig1 = (i64 vmctx, i32) -> i64 tail ;; fn0 = colocated u805306368:4 sig0 diff --git a/tests/disas/epoch-interruption.wat b/tests/disas/epoch-interruption.wat index 8e77c6e9cdd0..a0ac4895bc0a 100644 --- a/tests/disas/epoch-interruption.wat +++ b/tests/disas/epoch-interruption.wat @@ -5,11 +5,11 @@ (module (func (loop (br 0)))) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 210 "VMContext+0x18" -;; region3 = 62 "EpochCounter+0x0" -;; region4 = 214 "VMStoreContext+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 235 "" +;; region3 = 18 "" +;; region4 = 109 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f32-load.wat b/tests/disas/f32-load.wat index b60bf81967d4..be03ac93ab54 100644 --- a/tests/disas/f32-load.wat +++ b/tests/disas/f32-load.wat @@ -7,11 +7,11 @@ f32.load)) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f32-store.wat b/tests/disas/f32-store.wat index 47c805f104e8..7bf55bafe384 100644 --- a/tests/disas/f32-store.wat +++ b/tests/disas/f32-store.wat @@ -10,11 +10,11 @@ f32.store)) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f64-load.wat b/tests/disas/f64-load.wat index 71f63dd6eac3..46f5a924bfdf 100644 --- a/tests/disas/f64-load.wat +++ b/tests/disas/f64-load.wat @@ -9,11 +9,11 @@ f64.load)) ;; function u0:0(i64 vmctx, i64, i32) -> f64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/f64-store.wat b/tests/disas/f64-store.wat index c1b6bf3f3cb7..043ac478e77f 100644 --- a/tests/disas/f64-store.wat +++ b/tests/disas/f64-store.wat @@ -10,11 +10,11 @@ f64.store)) ;; function u0:0(i64 vmctx, i64, i32, f64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/fac-multi-value.wat b/tests/disas/fac-multi-value.wat index b1a6d6716fe8..095ca73e190b 100644 --- a/tests/disas/fac-multi-value.wat +++ b/tests/disas/fac-multi-value.wat @@ -21,8 +21,8 @@ ) ;; function u0:0(i64 vmctx, i64, i64) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -36,8 +36,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64, i64) -> i64, i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -51,8 +51,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/fibonacci.wat b/tests/disas/fibonacci.wat index c22bc6c4fe82..bce01a34e7a4 100644 --- a/tests/disas/fibonacci.wat +++ b/tests/disas/fibonacci.wat @@ -24,11 +24,11 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/fixed-size-memory.wat b/tests/disas/fixed-size-memory.wat index b488ee90540e..fec6ee9b6dab 100644 --- a/tests/disas/fixed-size-memory.wat +++ b/tests/disas/fixed-size-memory.wat @@ -21,11 +21,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/foo.wat b/tests/disas/foo.wat index 2d4b0b6278ab..7ad62a742e8e 100644 --- a/tests/disas/foo.wat +++ b/tests/disas/foo.wat @@ -15,20 +15,20 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" -;; region5 = 33 "VMTableImport+0x0" -;; region6 = 44 "VMTableDefinition+0x0" -;; region7 = 32 "VMTableDefinition+0x8" -;; region8 = 156 "PublicTable" -;; region9 = 105 "VMContext+0x28" -;; region10 = 182 "TypeIdsArray+0x4" -;; region11 = 79 "VMFuncRef+0x10" -;; region12 = 170 "VMFuncRef+0x8" -;; region13 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" +;; region5 = 21 "" +;; region6 = 93 "" +;; region7 = 211 "" +;; region8 = 99 "" +;; region9 = 130 "" +;; region10 = 191 "" +;; region11 = 106 "" +;; region12 = 116 "" +;; region13 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-copy-with-fuel.wat b/tests/disas/gc/array-copy-with-fuel.wat index 519ea7a27c96..f787eb77e8f3 100644 --- a/tests/disas/gc/array-copy-with-fuel.wat +++ b/tests/disas/gc/array-copy-with-fuel.wat @@ -12,13 +12,14 @@ ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32) tail { ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 178 "VMStoreContext+0x0" -;; region3 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 5 "GcHeap" -;; region6 = 48 "Stack(ss1)" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 7 "" +;; region3 = 196 "" +;; region4 = 206 "" +;; region5 = 108 "" +;; region6 = 232 "" +;; region7 = 240 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -28,9 +29,9 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32, v5: i32, v6: i32): ;; v162 = stack_addr.i64 ss0 -;; store notrap aligned region3 v2, v162 +;; store notrap aligned region6 v2, v162 ;; v163 = stack_addr.i64 ss1 -;; store notrap aligned region6 v4, v163 +;; store notrap aligned region7 v4, v163 ;; @0020 v7 = load.i64 notrap aligned readonly can_move region0 v0+8 ;; @0020 v8 = load.i64 notrap aligned region2 v7 ;; @0020 v9 = iconst.i64 1 @@ -47,7 +48,7 @@ ;; @0020 jump block3(v16) ;; ;; block3(v125: i64): -;; v161 = load.i32 notrap aligned region3 v162 +;; v161 = load.i32 notrap aligned region6 v162 ;; @002b trapz v161, user16 ;; @002b v24 = load.i64 notrap aligned readonly can_move region3 v7+32 ;; @002b v22 = uextend.i64 v161 @@ -61,7 +62,7 @@ ;; @002b v29 = uextend.i64 v28 ;; @002b v35 = icmp ugt v34, v29 ;; @002b trapnz v35, user17 -;; v155 = load.i32 notrap aligned region6 v163 +;; v155 = load.i32 notrap aligned region7 v163 ;; @002b trapz v155, user16 ;; @002b v46 = uextend.i64 v155 ;; @002b v49 = iadd v24, v46 diff --git a/tests/disas/gc/array-fill-i8.wat b/tests/disas/gc/array-fill-i8.wat index f4d6aa9f53af..d251980d8a4e 100644 --- a/tests/disas/gc/array-fill-i8.wat +++ b/tests/disas/gc/array-fill-i8.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-init-data.wat b/tests/disas/gc/array-init-data.wat index 68de34aa7bdf..5c0e1aa8e6f9 100644 --- a/tests/disas/gc/array-init-data.wat +++ b/tests/disas/gc/array-init-data.wat @@ -14,13 +14,13 @@ array.init_data $a $passive) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" -;; region5 = 138 "VMContext+0x38" -;; region6 = 120 "VMContext+0x30" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" +;; region5 = 90 "" +;; region6 = 136 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-data.wat b/tests/disas/gc/array-new-data.wat index 0e3f9a169f66..392836ea2d84 100644 --- a/tests/disas/gc/array-new-data.wat +++ b/tests/disas/gc/array-new-data.wat @@ -77,18 +77,19 @@ ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 138 "VMContext+0x38" -;; region3 = 120 "VMContext+0x30" -;; region4 = 198 "VMContext+0x20" -;; region5 = 191 "VMCopyingHeapData+0x0" -;; region6 = 209 "VMCopyingHeapData+0x4" -;; region7 = 105 "VMContext+0x28" -;; region8 = 172 "TypeIdsArray+0x0" -;; region9 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region10 = 5 "GcHeap" -;; region11 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 90 "" +;; region3 = 136 "" +;; region4 = 65 "" +;; region5 = 177 "" +;; region6 = 98 "" +;; region7 = 130 "" +;; region8 = 6 "" +;; region9 = 196 "" +;; region10 = 108 "" +;; region11 = 206 "" +;; region12 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -159,7 +160,7 @@ ;; ;; block4(v52: i32, v53: i64): ;; v112 = stack_addr.i64 ss0 -;; store notrap aligned region9 v52, v112 +;; store notrap aligned region12 v52, v112 ;; @0025 v54 = iconst.i64 16 ;; @0025 v55 = iadd v53, v54 ; v54 = 16 ;; @0025 store.i32 user2 region10 v3, v55 @@ -190,6 +191,6 @@ ;; @0029 jump block1 ;; ;; block1: -;; v105 = load.i32 notrap aligned region9 v112 +;; v105 = load.i32 notrap aligned region12 v112 ;; @0029 return v105 ;; } diff --git a/tests/disas/gc/array-new-default-anyref.wat b/tests/disas/gc/array-new-default-anyref.wat index 43916c3d8e9f..bcc69bd24f56 100644 --- a/tests/disas/gc/array-new-default-anyref.wat +++ b/tests/disas/gc/array-new-default-anyref.wat @@ -10,16 +10,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-default-exnref.wat b/tests/disas/gc/array-new-default-exnref.wat index 79da3b2dccfc..0729defc09d7 100644 --- a/tests/disas/gc/array-new-default-exnref.wat +++ b/tests/disas/gc/array-new-default-exnref.wat @@ -10,16 +10,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-default-externref.wat b/tests/disas/gc/array-new-default-externref.wat index 0448604e1ccc..50256f62a135 100644 --- a/tests/disas/gc/array-new-default-externref.wat +++ b/tests/disas/gc/array-new-default-externref.wat @@ -10,16 +10,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/array-new-default-f32.wat b/tests/disas/gc/array-new-default-f32.wat index a8aa0933388f..2d9e8a84025f 100644 --- a/tests/disas/gc/array-new-default-f32.wat +++ b/tests/disas/gc/array-new-default-f32.wat @@ -11,16 +11,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,7 +89,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region7 v40, v89 +;; store notrap aligned region10 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -114,6 +115,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region7 v89 +;; v82 = load.i32 notrap aligned region10 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-f64.wat b/tests/disas/gc/array-new-default-f64.wat index 645cbee3733e..4a4210267760 100644 --- a/tests/disas/gc/array-new-default-f64.wat +++ b/tests/disas/gc/array-new-default-f64.wat @@ -11,16 +11,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,7 +89,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region7 v40, v89 +;; store notrap aligned region10 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -114,6 +115,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region7 v89 +;; v82 = load.i32 notrap aligned region10 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-funcref.wat b/tests/disas/gc/array-new-default-funcref.wat index 1998991684d6..b32b30f63463 100644 --- a/tests/disas/gc/array-new-default-funcref.wat +++ b/tests/disas/gc/array-new-default-funcref.wat @@ -11,16 +11,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,7 +89,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v97 = stack_addr.i64 ss0 -;; store notrap aligned region7 v40, v97 +;; store notrap aligned region10 v40, v97 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -128,6 +129,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v90 = load.i32 notrap aligned region7 v97 +;; v90 = load.i32 notrap aligned region10 v97 ;; @0022 return v90 ;; } diff --git a/tests/disas/gc/array-new-default-i16.wat b/tests/disas/gc/array-new-default-i16.wat index e9cabc66e772..59f4c32ad9f0 100644 --- a/tests/disas/gc/array-new-default-i16.wat +++ b/tests/disas/gc/array-new-default-i16.wat @@ -11,16 +11,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -87,7 +88,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region7 v40, v89 +;; store notrap aligned region10 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -113,6 +114,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region7 v89 +;; v82 = load.i32 notrap aligned region10 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-i32.wat b/tests/disas/gc/array-new-default-i32.wat index 10451c9109ca..544024e0edf6 100644 --- a/tests/disas/gc/array-new-default-i32.wat +++ b/tests/disas/gc/array-new-default-i32.wat @@ -11,16 +11,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,7 +89,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region7 v40, v89 +;; store notrap aligned region10 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -114,6 +115,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region7 v89 +;; v82 = load.i32 notrap aligned region10 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-i64.wat b/tests/disas/gc/array-new-default-i64.wat index 146470bf63ed..92d11bd05d35 100644 --- a/tests/disas/gc/array-new-default-i64.wat +++ b/tests/disas/gc/array-new-default-i64.wat @@ -11,16 +11,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -88,7 +89,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v89 = stack_addr.i64 ss0 -;; store notrap aligned region7 v40, v89 +;; store notrap aligned region10 v40, v89 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -114,6 +115,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v82 = load.i32 notrap aligned region7 v89 +;; v82 = load.i32 notrap aligned region10 v89 ;; @0022 return v82 ;; } diff --git a/tests/disas/gc/array-new-default-i8.wat b/tests/disas/gc/array-new-default-i8.wat index 8588475749e4..8993608de826 100644 --- a/tests/disas/gc/array-new-default-i8.wat +++ b/tests/disas/gc/array-new-default-i8.wat @@ -11,16 +11,17 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -84,7 +85,7 @@ ;; ;; block4(v40: i32, v41: i64): ;; v88 = stack_addr.i64 ss0 -;; store notrap aligned region7 v40, v88 +;; store notrap aligned region10 v40, v88 ;; @001f v42 = iconst.i64 16 ;; @001f v43 = iadd v41, v42 ; v42 = 16 ;; @001f store.i32 user2 region8 v2, v43 @@ -110,6 +111,6 @@ ;; @0022 jump block1 ;; ;; block1: -;; v81 = load.i32 notrap aligned region7 v88 +;; v81 = load.i32 notrap aligned region10 v88 ;; @0022 return v81 ;; } diff --git a/tests/disas/gc/call-indirect-final-type.wat b/tests/disas/gc/call-indirect-final-type.wat index 2b0977b62898..852a5c8403a6 100644 --- a/tests/disas/gc/call-indirect-final-type.wat +++ b/tests/disas/gc/call-indirect-final-type.wat @@ -16,16 +16,16 @@ (return_call_indirect (type $f) (local.get 0) (local.get 1))) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 79 "VMFuncRef+0x10" -;; region8 = 170 "VMFuncRef+0x8" -;; region9 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 117 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 106 "" +;; region8 = 116 "" +;; region9 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,16 +71,16 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 79 "VMFuncRef+0x10" -;; region8 = 170 "VMFuncRef+0x8" -;; region9 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 117 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 106 "" +;; region8 = 116 "" +;; region9 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-fill.wat b/tests/disas/gc/copying/array-fill.wat index 3a52a1755746..1932aa6b5f6f 100644 --- a/tests/disas/gc/copying/array-fill.wat +++ b/tests/disas/gc/copying/array-fill.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-get-s.wat b/tests/disas/gc/copying/array-get-s.wat index 763f03323286..7b7223cb3003 100644 --- a/tests/disas/gc/copying/array-get-s.wat +++ b/tests/disas/gc/copying/array-get-s.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-get-u.wat b/tests/disas/gc/copying/array-get-u.wat index 6563149ad0df..9d76df848310 100644 --- a/tests/disas/gc/copying/array-get-u.wat +++ b/tests/disas/gc/copying/array-get-u.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-get.wat b/tests/disas/gc/copying/array-get.wat index 4d2cc2b0f9ad..2abbd3a8ae47 100644 --- a/tests/disas/gc/copying/array-get.wat +++ b/tests/disas/gc/copying/array-get.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-len.wat b/tests/disas/gc/copying/array-len.wat index 178fd717c2d8..e542e0bfb1ec 100644 --- a/tests/disas/gc/copying/array-len.wat +++ b/tests/disas/gc/copying/array-len.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat b/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat index 34e05c8e07fc..e4f7c700de6f 100644 --- a/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat +++ b/tests/disas/gc/copying/array-new-fixed-of-gc-refs.wat @@ -12,18 +12,19 @@ ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 ;; ss2 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" -;; region10 = 48 "Stack(ss1)" -;; region11 = 83 "Stack(ss2)" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" +;; region10 = 232 "" +;; region11 = 240 "" +;; region12 = 208 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -33,11 +34,11 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v137 = stack_addr.i64 ss2 -;; store notrap aligned region11 v2, v137 +;; store notrap aligned region12 v2, v137 ;; v138 = stack_addr.i64 ss1 -;; store notrap aligned region10 v3, v138 +;; store notrap aligned region11 v3, v138 ;; v139 = stack_addr.i64 ss0 -;; store notrap aligned region7 v4, v139 +;; store notrap aligned region10 v4, v139 ;; @0025 v14 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @0025 v15 = load.i32 notrap aligned region3 v14 ;; @0025 v16 = load.i32 notrap aligned region4 v14+4 @@ -101,7 +102,7 @@ ;; @0025 v6 = iconst.i32 20 ;; @0025 v63 = uadd_overflow_trap v180, v6, user2 ; v6 = 20 ;; @0025 v67 = uadd_overflow_trap v43, v63, user2 -;; v136 = load.i32 notrap aligned region11 v137 +;; v136 = load.i32 notrap aligned region12 v137 ;; @0025 v68 = uextend.i64 v67 ;; @0025 v71 = iadd v261, v68 ;; @0025 v72 = isub v63, v6 ; v6 = 20 @@ -119,7 +120,7 @@ ;; v204 = ishl v82, v179 ; v179 = 2 ;; @0025 v91 = uadd_overflow_trap v204, v6, user2 ; v6 = 20 ;; @0025 v95 = uadd_overflow_trap v43, v91, user2 -;; v134 = load.i32 notrap aligned region10 v138 +;; v134 = load.i32 notrap aligned region11 v138 ;; @0025 v96 = uextend.i64 v95 ;; @0025 v99 = iadd v261, v96 ;; v216 = iconst.i32 24 @@ -137,7 +138,7 @@ ;; v230 = ishl v110, v179 ; v179 = 2 ;; @0025 v119 = uadd_overflow_trap v230, v6, user2 ; v6 = 20 ;; @0025 v123 = uadd_overflow_trap v43, v119, user2 -;; v132 = load.i32 notrap aligned region7 v139 +;; v132 = load.i32 notrap aligned region10 v139 ;; @0025 v124 = uextend.i64 v123 ;; @0025 v127 = iadd v261, v124 ;; v247 = iconst.i32 28 diff --git a/tests/disas/gc/copying/array-new-fixed.wat b/tests/disas/gc/copying/array-new-fixed.wat index d91c2eed4ac7..90f918f87b52 100644 --- a/tests/disas/gc/copying/array-new-fixed.wat +++ b/tests/disas/gc/copying/array-new-fixed.wat @@ -9,16 +9,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-new.wat b/tests/disas/gc/copying/array-new.wat index aaa1e27dd322..d8052a284712 100644 --- a/tests/disas/gc/copying/array-new.wat +++ b/tests/disas/gc/copying/array-new.wat @@ -9,16 +9,16 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "VMStoreContext+0x20" -;; region8 = 5 "GcHeap" -;; region9 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/array-set.wat b/tests/disas/gc/copying/array-set.wat index 4431669dc054..5ef884de7e6b 100644 --- a/tests/disas/gc/copying/array-set.wat +++ b/tests/disas/gc/copying/array-set.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/br-on-cast-fail.wat b/tests/disas/gc/copying/br-on-cast-fail.wat index 0092cfdccc58..3daa16efff6a 100644 --- a/tests/disas/gc/copying/br-on-cast-fail.wat +++ b/tests/disas/gc/copying/br-on-cast-fail.wat @@ -16,15 +16,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" -;; region7 = 239 "VMFunctionImport+0x18" -;; region8 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" +;; region7 = 25 "" +;; region8 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/br-on-cast.wat b/tests/disas/gc/copying/br-on-cast.wat index b285c5d137cc..f98c11f3141b 100644 --- a/tests/disas/gc/copying/br-on-cast.wat +++ b/tests/disas/gc/copying/br-on-cast.wat @@ -16,15 +16,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" -;; region7 = 239 "VMFunctionImport+0x18" -;; region8 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" +;; region7 = 25 "" +;; region8 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/call-indirect-and-subtyping.wat b/tests/disas/gc/copying/call-indirect-and-subtyping.wat index 9657ec894508..355f7484fc8b 100644 --- a/tests/disas/gc/copying/call-indirect-and-subtyping.wat +++ b/tests/disas/gc/copying/call-indirect-and-subtyping.wat @@ -16,15 +16,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/externref-globals.wat b/tests/disas/gc/copying/externref-globals.wat index 9af13e975bfa..9f03f7b6a930 100644 --- a/tests/disas/gc/copying/externref-globals.wat +++ b/tests/disas/gc/copying/externref-globals.wat @@ -11,9 +11,9 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -30,9 +30,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/funcref-in-gc-heap-get.wat b/tests/disas/gc/copying/funcref-in-gc-heap-get.wat index 5bf39dd97ff7..84ac64d0326d 100644 --- a/tests/disas/gc/copying/funcref-in-gc-heap-get.wat +++ b/tests/disas/gc/copying/funcref-in-gc-heap-get.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/funcref-in-gc-heap-new.wat b/tests/disas/gc/copying/funcref-in-gc-heap-new.wat index 4bcd240e3314..32340a8407c9 100644 --- a/tests/disas/gc/copying/funcref-in-gc-heap-new.wat +++ b/tests/disas/gc/copying/funcref-in-gc-heap-new.wat @@ -10,15 +10,16 @@ ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,7 +71,7 @@ ;; ;; block4(v33: i32, v34: i64): ;; v41 = stack_addr.i64 ss0 -;; store notrap aligned region7 v33, v41 +;; store notrap aligned region9 v33, v41 ;; @0020 v37 = call fn1(v0, v2), stack_map=[i32 @ ss0+0] ;; @0020 v38 = ireduce.i32 v37 ;; @0020 v35 = iconst.i64 16 @@ -79,6 +80,6 @@ ;; @0023 jump block1 ;; ;; block1: -;; v40 = load.i32 notrap aligned region7 v41 +;; v40 = load.i32 notrap aligned region9 v41 ;; @0023 return v40 ;; } diff --git a/tests/disas/gc/copying/funcref-in-gc-heap-set.wat b/tests/disas/gc/copying/funcref-in-gc-heap-set.wat index 2cd018a13a53..657dabab52d4 100644 --- a/tests/disas/gc/copying/funcref-in-gc-heap-set.wat +++ b/tests/disas/gc/copying/funcref-in-gc-heap-set.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/i31ref-globals.wat b/tests/disas/gc/copying/i31ref-globals.wat index 147541fc5659..2b247bb2084e 100644 --- a/tests/disas/gc/copying/i31ref-globals.wat +++ b/tests/disas/gc/copying/i31ref-globals.wat @@ -11,9 +11,9 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -30,9 +30,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/multiple-array-get.wat b/tests/disas/gc/copying/multiple-array-get.wat index bcf6d1e9bed8..493b490da3f1 100644 --- a/tests/disas/gc/copying/multiple-array-get.wat +++ b/tests/disas/gc/copying/multiple-array-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/multiple-struct-get.wat b/tests/disas/gc/copying/multiple-struct-get.wat index 97346fc9bcca..905a866932ce 100644 --- a/tests/disas/gc/copying/multiple-struct-get.wat +++ b/tests/disas/gc/copying/multiple-struct-get.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-cast.wat b/tests/disas/gc/copying/ref-cast.wat index 3f6d57c983eb..38b814ee39f4 100644 --- a/tests/disas/gc/copying/ref-cast.wat +++ b/tests/disas/gc/copying/ref-cast.wat @@ -8,13 +8,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-is-null.wat b/tests/disas/gc/copying/ref-is-null.wat index 40e911a95652..052c49446df9 100644 --- a/tests/disas/gc/copying/ref-is-null.wat +++ b/tests/disas/gc/copying/ref-is-null.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -28,8 +28,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-any.wat b/tests/disas/gc/copying/ref-test-any.wat index 931b081c80f9..da7096053d8f 100644 --- a/tests/disas/gc/copying/ref-test-any.wat +++ b/tests/disas/gc/copying/ref-test-any.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -28,8 +28,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-array.wat b/tests/disas/gc/copying/ref-test-array.wat index dd6d99ea0cf1..ff53f363b6ea 100644 --- a/tests/disas/gc/copying/ref-test-array.wat +++ b/tests/disas/gc/copying/ref-test-array.wat @@ -7,11 +7,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-concrete-func-type.wat b/tests/disas/gc/copying/ref-test-concrete-func-type.wat index ed8ec456ea14..1543dbdb22ef 100644 --- a/tests/disas/gc/copying/ref-test-concrete-func-type.wat +++ b/tests/disas/gc/copying/ref-test-concrete-func-type.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 79 "VMFuncRef+0x10" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 106 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-concrete-type.wat b/tests/disas/gc/copying/ref-test-concrete-type.wat index 598f86b820d3..75b15f374740 100644 --- a/tests/disas/gc/copying/ref-test-concrete-type.wat +++ b/tests/disas/gc/copying/ref-test-concrete-type.wat @@ -8,13 +8,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-eq.wat b/tests/disas/gc/copying/ref-test-eq.wat index 40e03feb2edd..ec727df48f0b 100644 --- a/tests/disas/gc/copying/ref-test-eq.wat +++ b/tests/disas/gc/copying/ref-test-eq.wat @@ -7,11 +7,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-i31.wat b/tests/disas/gc/copying/ref-test-i31.wat index 6e7ab7442396..881e4c45c0d7 100644 --- a/tests/disas/gc/copying/ref-test-i31.wat +++ b/tests/disas/gc/copying/ref-test-i31.wat @@ -7,8 +7,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-none.wat b/tests/disas/gc/copying/ref-test-none.wat index 2edc497c77fa..ed32d27f85db 100644 --- a/tests/disas/gc/copying/ref-test-none.wat +++ b/tests/disas/gc/copying/ref-test-none.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -26,8 +26,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/ref-test-struct.wat b/tests/disas/gc/copying/ref-test-struct.wat index e0a067257bda..4cb4fb57c8b6 100644 --- a/tests/disas/gc/copying/ref-test-struct.wat +++ b/tests/disas/gc/copying/ref-test-struct.wat @@ -7,11 +7,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/struct-get.wat b/tests/disas/gc/copying/struct-get.wat index a7b8c681cf3b..7ecce01ad89e 100644 --- a/tests/disas/gc/copying/struct-get.wat +++ b/tests/disas/gc/copying/struct-get.wat @@ -23,11 +23,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -76,11 +76,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -103,11 +103,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/struct-new-default.wat b/tests/disas/gc/copying/struct-new-default.wat index 15ed647cf5f9..2acf7ec2701e 100644 --- a/tests/disas/gc/copying/struct-new-default.wat +++ b/tests/disas/gc/copying/struct-new-default.wat @@ -11,15 +11,15 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "VMStoreContext+0x20" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/struct-new.wat b/tests/disas/gc/copying/struct-new.wat index ad8e7801e523..a329233a9993 100644 --- a/tests/disas/gc/copying/struct-new.wat +++ b/tests/disas/gc/copying/struct-new.wat @@ -12,15 +12,16 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -30,7 +31,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v45 = stack_addr.i64 ss0 -;; store notrap aligned region7 v4, v45 +;; store notrap aligned region9 v4, v45 ;; @002a v6 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @002a v7 = load.i32 notrap aligned region3 v6 ;; @002a v8 = load.i32 notrap aligned region4 v6+4 @@ -77,7 +78,7 @@ ;; @002a v39 = iconst.i64 20 ;; @002a v40 = iadd v36, v39 ; v39 = 20 ;; @002a istore8.i32 user2 little region8 v3, v40 -;; v44 = load.i32 notrap aligned region7 v45 +;; v44 = load.i32 notrap aligned region9 v45 ;; @002a v41 = iconst.i64 24 ;; @002a v42 = iadd v36, v41 ; v41 = 24 ;; @002a store user2 little region8 v44, v42 diff --git a/tests/disas/gc/copying/struct-set.wat b/tests/disas/gc/copying/struct-set.wat index b8499c79a951..fb6ae9597f8d 100644 --- a/tests/disas/gc/copying/struct-set.wat +++ b/tests/disas/gc/copying/struct-set.wat @@ -19,11 +19,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,11 +71,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/copying/v128-fields.wat b/tests/disas/gc/copying/v128-fields.wat index 5bfffe2de657..850f965d3cb0 100644 --- a/tests/disas/gc/copying/v128-fields.wat +++ b/tests/disas/gc/copying/v128-fields.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-fill.wat b/tests/disas/gc/drc/array-fill.wat index 9e90f0ccd12c..0d1325a5d4cf 100644 --- a/tests/disas/gc/drc/array-fill.wat +++ b/tests/disas/gc/drc/array-fill.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-get-s.wat b/tests/disas/gc/drc/array-get-s.wat index a2a06ea9464e..f076a9630e58 100644 --- a/tests/disas/gc/drc/array-get-s.wat +++ b/tests/disas/gc/drc/array-get-s.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-get-u.wat b/tests/disas/gc/drc/array-get-u.wat index e50f28f7c709..131323b42c6f 100644 --- a/tests/disas/gc/drc/array-get-u.wat +++ b/tests/disas/gc/drc/array-get-u.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-get.wat b/tests/disas/gc/drc/array-get.wat index 24f9fbcf582f..7294e7d95211 100644 --- a/tests/disas/gc/drc/array-get.wat +++ b/tests/disas/gc/drc/array-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-len.wat b/tests/disas/gc/drc/array-len.wat index 1c57b5d1ac5d..9c69b1e6d298 100644 --- a/tests/disas/gc/drc/array-len.wat +++ b/tests/disas/gc/drc/array-len.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat b/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat index 387b893ee581..c4e68d26dadd 100644 --- a/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat +++ b/tests/disas/gc/drc/array-new-fixed-of-gc-refs.wat @@ -13,15 +13,16 @@ ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 ;; ss2 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region5 = 5 "GcHeap" -;; region6 = 35 "VMStoreContext+0x28" -;; region7 = 48 "Stack(ss1)" -;; region8 = 83 "Stack(ss2)" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 108 "" +;; region6 = 206 "" +;; region7 = 232 "" +;; region8 = 240 "" +;; region9 = 208 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -31,11 +32,11 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v202 = stack_addr.i64 ss2 -;; store notrap aligned region8 v2, v202 +;; store notrap aligned region9 v2, v202 ;; v203 = stack_addr.i64 ss1 -;; store notrap aligned region7 v3, v203 +;; store notrap aligned region8 v3, v203 ;; v204 = stack_addr.i64 ss0 -;; store notrap aligned region4 v4, v204 +;; store notrap aligned region7 v4, v204 ;; @0025 v14 = iconst.i32 -1476395008 ;; @0025 v15 = load.i64 notrap aligned readonly can_move region2 v0+40 ;; @0025 v16 = load.i32 notrap aligned readonly can_move region3 v15 @@ -52,7 +53,7 @@ ;; @0025 store user2 region5 v5, v24 ; v5 = 3 ;; @0025 trapz v18, user16 ;; @0025 v45 = uadd_overflow_trap v18, v216, user2 ; v216 = 40 -;; v201 = load.i32 notrap aligned region8 v202 +;; v201 = load.i32 notrap aligned region9 v202 ;; @0025 v53 = iconst.i32 1 ;; @0025 v54 = band v201, v53 ; v53 = 1 ;; @0025 v25 = iconst.i32 0 @@ -94,7 +95,7 @@ ;; @0025 v6 = iconst.i32 28 ;; @0025 v90 = uadd_overflow_trap v257, v6, user2 ; v6 = 28 ;; @0025 v94 = uadd_overflow_trap.i32 v18, v90, user2 -;; v191 = load.i32 notrap aligned region7 v203 +;; v191 = load.i32 notrap aligned region8 v203 ;; v308 = band v191, v306 ; v306 = 1 ;; v309 = iconst.i32 0 ;; v310 = icmp eq v191, v309 ; v309 = 0 @@ -136,7 +137,7 @@ ;; v321 = iconst.i32 28 ;; @0025 v139 = uadd_overflow_trap v320, v321, user2 ; v321 = 28 ;; @0025 v143 = uadd_overflow_trap.i32 v18, v139, user2 -;; v181 = load.i32 notrap aligned region4 v204 +;; v181 = load.i32 notrap aligned region7 v204 ;; v322 = iconst.i32 1 ;; v323 = band v181, v322 ; v322 = 1 ;; v324 = iconst.i32 0 diff --git a/tests/disas/gc/drc/array-new-fixed.wat b/tests/disas/gc/drc/array-new-fixed.wat index 779a9ad1b741..49b43a06cf84 100644 --- a/tests/disas/gc/drc/array-new-fixed.wat +++ b/tests/disas/gc/drc/array-new-fixed.wat @@ -10,13 +10,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 5 "GcHeap" -;; region6 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 108 "" +;; region6 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-new.wat b/tests/disas/gc/drc/array-new.wat index e8dafcc75ccc..454539ecec09 100644 --- a/tests/disas/gc/drc/array-new.wat +++ b/tests/disas/gc/drc/array-new.wat @@ -10,13 +10,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 5 "GcHeap" -;; region6 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 108 "" +;; region6 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/array-set.wat b/tests/disas/gc/drc/array-set.wat index 1dc51cd80e14..bfd8b06b55ea 100644 --- a/tests/disas/gc/drc/array-set.wat +++ b/tests/disas/gc/drc/array-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/br-on-cast-fail.wat b/tests/disas/gc/drc/br-on-cast-fail.wat index 1679fd96d508..9a0549922767 100644 --- a/tests/disas/gc/drc/br-on-cast-fail.wat +++ b/tests/disas/gc/drc/br-on-cast-fail.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" -;; region7 = 239 "VMFunctionImport+0x18" -;; region8 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" +;; region7 = 25 "" +;; region8 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/br-on-cast.wat b/tests/disas/gc/drc/br-on-cast.wat index 0e140ecedf91..53db4c35f2e7 100644 --- a/tests/disas/gc/drc/br-on-cast.wat +++ b/tests/disas/gc/drc/br-on-cast.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" -;; region7 = 239 "VMFunctionImport+0x18" -;; region8 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" +;; region7 = 25 "" +;; region8 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/call-indirect-and-subtyping.wat b/tests/disas/gc/drc/call-indirect-and-subtyping.wat index 2f1b0b28e802..07fadca7d47a 100644 --- a/tests/disas/gc/drc/call-indirect-and-subtyping.wat +++ b/tests/disas/gc/drc/call-indirect-and-subtyping.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/externref-globals.wat b/tests/disas/gc/drc/externref-globals.wat index 03f6a3c9b55b..e727f6ba9aae 100644 --- a/tests/disas/gc/drc/externref-globals.wat +++ b/tests/disas/gc/drc/externref-globals.wat @@ -14,16 +14,17 @@ ;; function u0:0(i64 vmctx, i64) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 5 "GcHeap" -;; region6 = 198 "VMContext+0x20" -;; region7 = 167 "VMDrcHeapData+0x0" -;; region8 = 254 "VMDrcHeapData+0x4" -;; region9 = 177 "VMDrcHeapData+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" +;; region3 = 196 "" +;; region4 = 206 "" +;; region5 = 108 "" +;; region6 = 65 "" +;; region7 = 210 "" +;; region8 = 115 "" +;; region9 = 137 "" +;; region10 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -36,7 +37,7 @@ ;; @0034 v3 = iadd v0, v2 ; v2 = 48 ;; @0034 v4 = load.i32 notrap aligned region2 v3 ;; v76 = stack_addr.i64 ss0 -;; store notrap aligned region3 v4, v76 +;; store notrap aligned region10 v4, v76 ;; @0034 v5 = iconst.i32 1 ;; @0034 v6 = band v4, v5 ; v5 = 1 ;; @0034 v7 = iconst.i32 0 @@ -93,17 +94,17 @@ ;; @0036 jump block1 ;; ;; block1: -;; v59 = load.i32 notrap aligned region3 v76 +;; v59 = load.i32 notrap aligned region10 v76 ;; @0036 return v59 ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 244 "VMStoreContext+0x20" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" +;; region3 = 196 "" +;; region4 = 206 "" +;; region5 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/funcref-in-gc-heap-get.wat b/tests/disas/gc/drc/funcref-in-gc-heap-get.wat index 171357cd310d..c4e0b6ff7177 100644 --- a/tests/disas/gc/drc/funcref-in-gc-heap-get.wat +++ b/tests/disas/gc/drc/funcref-in-gc-heap-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/funcref-in-gc-heap-new.wat b/tests/disas/gc/drc/funcref-in-gc-heap-new.wat index 8a52cb1fe407..4fe0d6552d15 100644 --- a/tests/disas/gc/drc/funcref-in-gc-heap-new.wat +++ b/tests/disas/gc/drc/funcref-in-gc-heap-new.wat @@ -11,12 +11,13 @@ ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region5 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 108 "" +;; region6 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -34,7 +35,7 @@ ;; @0020 v7 = iconst.i32 8 ;; @0020 v8 = call fn0(v0, v4, v6, v3, v7) ; v4 = -1342177280, v3 = 32, v7 = 8 ;; v21 = stack_addr.i64 ss0 -;; store notrap aligned region4 v8, v21 +;; store notrap aligned region6 v8, v21 ;; @0020 v15 = call fn1(v0, v2), stack_map=[i32 @ ss0+0] ;; @0020 v16 = ireduce.i32 v15 ;; @0020 v9 = load.i64 notrap aligned readonly can_move region0 v0+8 @@ -47,6 +48,6 @@ ;; @0023 jump block1 ;; ;; block1: -;; v18 = load.i32 notrap aligned region4 v21 +;; v18 = load.i32 notrap aligned region6 v21 ;; @0023 return v18 ;; } diff --git a/tests/disas/gc/drc/funcref-in-gc-heap-set.wat b/tests/disas/gc/drc/funcref-in-gc-heap-set.wat index ab6b648e2a0c..c29ad8b26cab 100644 --- a/tests/disas/gc/drc/funcref-in-gc-heap-set.wat +++ b/tests/disas/gc/drc/funcref-in-gc-heap-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/i31ref-globals.wat b/tests/disas/gc/drc/i31ref-globals.wat index 97e9e9506e52..6a4afcd3daa5 100644 --- a/tests/disas/gc/drc/i31ref-globals.wat +++ b/tests/disas/gc/drc/i31ref-globals.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,9 +32,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/multiple-array-get.wat b/tests/disas/gc/drc/multiple-array-get.wat index 37a9abe5fd45..bc9463649c74 100644 --- a/tests/disas/gc/drc/multiple-array-get.wat +++ b/tests/disas/gc/drc/multiple-array-get.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/multiple-struct-get.wat b/tests/disas/gc/drc/multiple-struct-get.wat index 8101b9ffa4d4..1a4ee9369431 100644 --- a/tests/disas/gc/drc/multiple-struct-get.wat +++ b/tests/disas/gc/drc/multiple-struct-get.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-cast.wat b/tests/disas/gc/drc/ref-cast.wat index d1f7dbfe0a38..bffe2a119c51 100644 --- a/tests/disas/gc/drc/ref-cast.wat +++ b/tests/disas/gc/drc/ref-cast.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-is-null.wat b/tests/disas/gc/drc/ref-is-null.wat index a7ad6c3635fa..f176095a9432 100644 --- a/tests/disas/gc/drc/ref-is-null.wat +++ b/tests/disas/gc/drc/ref-is-null.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-any.wat b/tests/disas/gc/drc/ref-test-any.wat index 97570b0967bb..3360f5e85557 100644 --- a/tests/disas/gc/drc/ref-test-any.wat +++ b/tests/disas/gc/drc/ref-test-any.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-array.wat b/tests/disas/gc/drc/ref-test-array.wat index 1e07f2388fa8..521b1061bbea 100644 --- a/tests/disas/gc/drc/ref-test-array.wat +++ b/tests/disas/gc/drc/ref-test-array.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-concrete-func-type.wat b/tests/disas/gc/drc/ref-test-concrete-func-type.wat index 45607ec472a4..3897b1845d14 100644 --- a/tests/disas/gc/drc/ref-test-concrete-func-type.wat +++ b/tests/disas/gc/drc/ref-test-concrete-func-type.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 79 "VMFuncRef+0x10" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 106 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-concrete-type.wat b/tests/disas/gc/drc/ref-test-concrete-type.wat index 443e61788471..ff1cf1150dd2 100644 --- a/tests/disas/gc/drc/ref-test-concrete-type.wat +++ b/tests/disas/gc/drc/ref-test-concrete-type.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-eq.wat b/tests/disas/gc/drc/ref-test-eq.wat index 52b479a002c4..28c36da5b5b0 100644 --- a/tests/disas/gc/drc/ref-test-eq.wat +++ b/tests/disas/gc/drc/ref-test-eq.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-i31.wat b/tests/disas/gc/drc/ref-test-i31.wat index b6fa08e24ff6..bb141266d89c 100644 --- a/tests/disas/gc/drc/ref-test-i31.wat +++ b/tests/disas/gc/drc/ref-test-i31.wat @@ -8,8 +8,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-none.wat b/tests/disas/gc/drc/ref-test-none.wat index 943aba369968..0145b08f5519 100644 --- a/tests/disas/gc/drc/ref-test-none.wat +++ b/tests/disas/gc/drc/ref-test-none.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -27,8 +27,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/ref-test-struct.wat b/tests/disas/gc/drc/ref-test-struct.wat index f19e61635e9e..f8050ee93989 100644 --- a/tests/disas/gc/drc/ref-test-struct.wat +++ b/tests/disas/gc/drc/ref-test-struct.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/struct-get.wat b/tests/disas/gc/drc/struct-get.wat index 652a011fb5f9..47c6e6d75f70 100644 --- a/tests/disas/gc/drc/struct-get.wat +++ b/tests/disas/gc/drc/struct-get.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,11 +50,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -77,11 +77,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -105,15 +105,16 @@ ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" -;; region5 = 198 "VMContext+0x20" -;; region6 = 167 "VMDrcHeapData+0x0" -;; region7 = 254 "VMDrcHeapData+0x4" -;; region8 = 177 "VMDrcHeapData+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" +;; region5 = 65 "" +;; region6 = 210 "" +;; region7 = 115 "" +;; region8 = 137 "" +;; region9 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -131,7 +132,7 @@ ;; @004e v8 = iadd v6, v7 ; v7 = 32 ;; @004e v9 = load.i32 user2 little region4 v8 ;; v81 = stack_addr.i64 ss0 -;; store notrap aligned region2 v9, v81 +;; store notrap aligned region9 v9, v81 ;; @004e v10 = iconst.i32 1 ;; @004e v11 = band v9, v10 ; v10 = 1 ;; @004e v12 = iconst.i32 0 @@ -186,6 +187,6 @@ ;; @0052 jump block1 ;; ;; block1: -;; v64 = load.i32 notrap aligned region2 v81 +;; v64 = load.i32 notrap aligned region9 v81 ;; @0052 return v64 ;; } diff --git a/tests/disas/gc/drc/struct-new-default.wat b/tests/disas/gc/drc/struct-new-default.wat index 611d0b630a8e..a11ac5f14b82 100644 --- a/tests/disas/gc/drc/struct-new-default.wat +++ b/tests/disas/gc/drc/struct-new-default.wat @@ -12,13 +12,13 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 5 "GcHeap" -;; region6 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 108 "" +;; region6 = 206 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/drc/struct-new.wat b/tests/disas/gc/drc/struct-new.wat index 178400952599..bc908530ada7 100644 --- a/tests/disas/gc/drc/struct-new.wat +++ b/tests/disas/gc/drc/struct-new.wat @@ -13,13 +13,14 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region5 = 5 "GcHeap" -;; region6 = 35 "VMStoreContext+0x28" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 108 "" +;; region6 = 206 "" +;; region7 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,7 +30,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v52 = stack_addr.i64 ss0 -;; store notrap aligned region4 v4, v52 +;; store notrap aligned region7 v4, v52 ;; @002a v6 = iconst.i32 -1342177280 ;; @002a v7 = load.i64 notrap aligned readonly can_move region2 v0+40 ;; @002a v8 = load.i32 notrap aligned readonly can_move region3 v7 @@ -46,7 +47,7 @@ ;; @002a v17 = iconst.i64 28 ;; @002a v18 = iadd v14, v17 ; v17 = 28 ;; @002a istore8 user2 little region5 v3, v18 -;; v51 = load.i32 notrap aligned region4 v52 +;; v51 = load.i32 notrap aligned region7 v52 ;; @002a v21 = iconst.i32 1 ;; @002a v22 = band v51, v21 ; v21 = 1 ;; @002a v23 = iconst.i32 0 diff --git a/tests/disas/gc/drc/struct-set.wat b/tests/disas/gc/drc/struct-set.wat index ead2c0c42c95..d931c8e02ad9 100644 --- a/tests/disas/gc/drc/struct-set.wat +++ b/tests/disas/gc/drc/struct-set.wat @@ -20,11 +20,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -72,11 +72,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-fill.wat b/tests/disas/gc/null/array-fill.wat index 128878ee3741..74520b2156af 100644 --- a/tests/disas/gc/null/array-fill.wat +++ b/tests/disas/gc/null/array-fill.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-get-s.wat b/tests/disas/gc/null/array-get-s.wat index d46391b1b761..9091036b78a3 100644 --- a/tests/disas/gc/null/array-get-s.wat +++ b/tests/disas/gc/null/array-get-s.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-get-u.wat b/tests/disas/gc/null/array-get-u.wat index 496e77a23142..e581086a75c8 100644 --- a/tests/disas/gc/null/array-get-u.wat +++ b/tests/disas/gc/null/array-get-u.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-get.wat b/tests/disas/gc/null/array-get.wat index b254c44dd5ed..4b886ca567eb 100644 --- a/tests/disas/gc/null/array-get.wat +++ b/tests/disas/gc/null/array-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-len.wat b/tests/disas/gc/null/array-len.wat index e8d88355549a..f9783770fd6d 100644 --- a/tests/disas/gc/null/array-len.wat +++ b/tests/disas/gc/null/array-len.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat b/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat index 07f8c979f265..b3fb1ed28090 100644 --- a/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat +++ b/tests/disas/gc/null/array-new-fixed-of-gc-refs.wat @@ -13,17 +13,18 @@ ;; ss0 = explicit_slot 4, align = 4 ;; ss1 = explicit_slot 4, align = 4 ;; ss2 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 34 "VMNullHeapData+0x0" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region6 = 105 "VMContext+0x28" -;; region7 = 172 "TypeIdsArray+0x0" -;; region8 = 5 "GcHeap" -;; region9 = 48 "Stack(ss1)" -;; region10 = 83 "Stack(ss2)" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 237 "" +;; region4 = 206 "" +;; region5 = 196 "" +;; region6 = 130 "" +;; region7 = 6 "" +;; region8 = 108 "" +;; region9 = 232 "" +;; region10 = 240 "" +;; region11 = 208 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -33,11 +34,11 @@ ;; ;; block0(v0: i64, v1: i64, v2: i32, v3: i32, v4: i32): ;; v131 = stack_addr.i64 ss2 -;; store notrap aligned region10 v2, v131 +;; store notrap aligned region11 v2, v131 ;; v132 = stack_addr.i64 ss1 -;; store notrap aligned region9 v3, v132 +;; store notrap aligned region10 v3, v132 ;; v133 = stack_addr.i64 ss0 -;; store notrap aligned region5 v4, v133 +;; store notrap aligned region9 v4, v133 ;; @0025 v17 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @0025 v18 = load.i32 notrap aligned region3 v17 ;; v151 = iconst.i32 7 @@ -70,7 +71,7 @@ ;; @0025 trapz v252, user16 ;; v254 = iconst.i32 24 ;; @0025 v61 = uadd_overflow_trap v252, v254, user2 ; v254 = 24 -;; v130 = load.i32 notrap aligned region10 v131 +;; v130 = load.i32 notrap aligned region11 v131 ;; @0025 v62 = uextend.i64 v61 ;; @0025 v65 = iadd v32, v62 ;; v135 = iconst.i64 12 @@ -91,7 +92,7 @@ ;; @0025 v6 = iconst.i32 12 ;; @0025 v85 = uadd_overflow_trap v204, v6, user2 ; v6 = 12 ;; @0025 v89 = uadd_overflow_trap v252, v85, user2 -;; v128 = load.i32 notrap aligned region9 v132 +;; v128 = load.i32 notrap aligned region10 v132 ;; @0025 v90 = uextend.i64 v89 ;; @0025 v93 = iadd v32, v90 ;; v216 = iconst.i32 16 @@ -109,7 +110,7 @@ ;; v230 = ishl v104, v175 ; v175 = 2 ;; @0025 v113 = uadd_overflow_trap v230, v6, user2 ; v6 = 12 ;; @0025 v117 = uadd_overflow_trap v252, v113, user2 -;; v126 = load.i32 notrap aligned region5 v133 +;; v126 = load.i32 notrap aligned region9 v133 ;; @0025 v118 = uextend.i64 v117 ;; @0025 v121 = iadd v32, v118 ;; v246 = iconst.i32 20 diff --git a/tests/disas/gc/null/array-new-fixed.wat b/tests/disas/gc/null/array-new-fixed.wat index 22024699c1dd..5ca8f625f5c0 100644 --- a/tests/disas/gc/null/array-new-fixed.wat +++ b/tests/disas/gc/null/array-new-fixed.wat @@ -10,15 +10,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 34 "VMNullHeapData+0x0" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 244 "VMStoreContext+0x20" -;; region6 = 105 "VMContext+0x28" -;; region7 = 172 "TypeIdsArray+0x0" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 237 "" +;; region4 = 206 "" +;; region5 = 196 "" +;; region6 = 130 "" +;; region7 = 6 "" +;; region8 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-new.wat b/tests/disas/gc/null/array-new.wat index f39e4ea00dc1..3e5dd5d53f32 100644 --- a/tests/disas/gc/null/array-new.wat +++ b/tests/disas/gc/null/array-new.wat @@ -10,15 +10,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 34 "VMNullHeapData+0x0" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 244 "VMStoreContext+0x20" -;; region6 = 105 "VMContext+0x28" -;; region7 = 172 "TypeIdsArray+0x0" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 237 "" +;; region4 = 206 "" +;; region5 = 196 "" +;; region6 = 130 "" +;; region7 = 6 "" +;; region8 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/array-set.wat b/tests/disas/gc/null/array-set.wat index ff7968a80c7f..3667bcaeec8b 100644 --- a/tests/disas/gc/null/array-set.wat +++ b/tests/disas/gc/null/array-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/br-on-cast-fail.wat b/tests/disas/gc/null/br-on-cast-fail.wat index 139236494645..fc48f30b2194 100644 --- a/tests/disas/gc/null/br-on-cast-fail.wat +++ b/tests/disas/gc/null/br-on-cast-fail.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" -;; region7 = 239 "VMFunctionImport+0x18" -;; region8 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" +;; region7 = 25 "" +;; region8 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/br-on-cast.wat b/tests/disas/gc/null/br-on-cast.wat index 19d92250a3f8..9f6490aa9620 100644 --- a/tests/disas/gc/null/br-on-cast.wat +++ b/tests/disas/gc/null/br-on-cast.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" -;; region7 = 239 "VMFunctionImport+0x18" -;; region8 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" +;; region7 = 25 "" +;; region8 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/call-indirect-and-subtyping.wat b/tests/disas/gc/null/call-indirect-and-subtyping.wat index 5aa3ee906f79..1c1ccb392d14 100644 --- a/tests/disas/gc/null/call-indirect-and-subtyping.wat +++ b/tests/disas/gc/null/call-indirect-and-subtyping.wat @@ -17,15 +17,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/externref-globals.wat b/tests/disas/gc/null/externref-globals.wat index dac0c8044033..08c3c39aab32 100644 --- a/tests/disas/gc/null/externref-globals.wat +++ b/tests/disas/gc/null/externref-globals.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,9 +32,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/funcref-in-gc-heap-get.wat b/tests/disas/gc/null/funcref-in-gc-heap-get.wat index c1801380fd7c..e5a7204e7c44 100644 --- a/tests/disas/gc/null/funcref-in-gc-heap-get.wat +++ b/tests/disas/gc/null/funcref-in-gc-heap-get.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/funcref-in-gc-heap-new.wat b/tests/disas/gc/null/funcref-in-gc-heap-new.wat index 0ff5a827a352..01bcc8a954e3 100644 --- a/tests/disas/gc/null/funcref-in-gc-heap-new.wat +++ b/tests/disas/gc/null/funcref-in-gc-heap-new.wat @@ -10,15 +10,15 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 34 "VMNullHeapData+0x0" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 244 "VMStoreContext+0x20" -;; region6 = 105 "VMContext+0x28" -;; region7 = 172 "TypeIdsArray+0x0" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 237 "" +;; region4 = 206 "" +;; region5 = 196 "" +;; region6 = 130 "" +;; region7 = 6 "" +;; region8 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/funcref-in-gc-heap-set.wat b/tests/disas/gc/null/funcref-in-gc-heap-set.wat index b26d6d613f84..5f9e97237e26 100644 --- a/tests/disas/gc/null/funcref-in-gc-heap-set.wat +++ b/tests/disas/gc/null/funcref-in-gc-heap-set.wat @@ -10,11 +10,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/i31ref-globals.wat b/tests/disas/gc/null/i31ref-globals.wat index 2da0c1cf3842..35319f04bca6 100644 --- a/tests/disas/gc/null/i31ref-globals.wat +++ b/tests/disas/gc/null/i31ref-globals.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -32,9 +32,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/multiple-array-get.wat b/tests/disas/gc/null/multiple-array-get.wat index b6651788c5ad..10ac0fad8629 100644 --- a/tests/disas/gc/null/multiple-array-get.wat +++ b/tests/disas/gc/null/multiple-array-get.wat @@ -11,11 +11,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/multiple-struct-get.wat b/tests/disas/gc/null/multiple-struct-get.wat index 62d6dee434f1..c9ba3c333b06 100644 --- a/tests/disas/gc/null/multiple-struct-get.wat +++ b/tests/disas/gc/null/multiple-struct-get.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32, i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-cast.wat b/tests/disas/gc/null/ref-cast.wat index d14f9f400513..beb055093f73 100644 --- a/tests/disas/gc/null/ref-cast.wat +++ b/tests/disas/gc/null/ref-cast.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-is-null.wat b/tests/disas/gc/null/ref-is-null.wat index 1cb33231f9a0..3dbdfccab079 100644 --- a/tests/disas/gc/null/ref-is-null.wat +++ b/tests/disas/gc/null/ref-is-null.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-any.wat b/tests/disas/gc/null/ref-test-any.wat index 63061346d7f1..5dfb2925e8d9 100644 --- a/tests/disas/gc/null/ref-test-any.wat +++ b/tests/disas/gc/null/ref-test-any.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-array.wat b/tests/disas/gc/null/ref-test-array.wat index badc923005ed..8027edb31ef2 100644 --- a/tests/disas/gc/null/ref-test-array.wat +++ b/tests/disas/gc/null/ref-test-array.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-concrete-func-type.wat b/tests/disas/gc/null/ref-test-concrete-func-type.wat index b60ccb8e8ee4..0e37ba601c79 100644 --- a/tests/disas/gc/null/ref-test-concrete-func-type.wat +++ b/tests/disas/gc/null/ref-test-concrete-func-type.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 79 "VMFuncRef+0x10" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 106 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-concrete-type.wat b/tests/disas/gc/null/ref-test-concrete-type.wat index 4f4395c28c22..ac3434bd7190 100644 --- a/tests/disas/gc/null/ref-test-concrete-type.wat +++ b/tests/disas/gc/null/ref-test-concrete-type.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-eq.wat b/tests/disas/gc/null/ref-test-eq.wat index f2f37ab63bfe..3d24222cd63a 100644 --- a/tests/disas/gc/null/ref-test-eq.wat +++ b/tests/disas/gc/null/ref-test-eq.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-i31.wat b/tests/disas/gc/null/ref-test-i31.wat index 9429a39f2785..07fba03d645c 100644 --- a/tests/disas/gc/null/ref-test-i31.wat +++ b/tests/disas/gc/null/ref-test-i31.wat @@ -8,8 +8,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-none.wat b/tests/disas/gc/null/ref-test-none.wat index 56e7f02e3e97..4662117ae3e5 100644 --- a/tests/disas/gc/null/ref-test-none.wat +++ b/tests/disas/gc/null/ref-test-none.wat @@ -11,8 +11,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -27,8 +27,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/ref-test-struct.wat b/tests/disas/gc/null/ref-test-struct.wat index 94a417a430fd..a5c6e00e0bfc 100644 --- a/tests/disas/gc/null/ref-test-struct.wat +++ b/tests/disas/gc/null/ref-test-struct.wat @@ -8,11 +8,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-get-guard-pages.wat b/tests/disas/gc/null/struct-get-guard-pages.wat index 67794dd50b0b..2dd7fcbeeee6 100644 --- a/tests/disas/gc/null/struct-get-guard-pages.wat +++ b/tests/disas/gc/null/struct-get-guard-pages.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,11 +50,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -77,11 +77,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -104,11 +104,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-get-no-guard-pages.wat b/tests/disas/gc/null/struct-get-no-guard-pages.wat index ad2ed52d7ca0..04355d77c291 100644 --- a/tests/disas/gc/null/struct-get-no-guard-pages.wat +++ b/tests/disas/gc/null/struct-get-no-guard-pages.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -56,11 +56,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,11 +89,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -122,11 +122,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-get.wat b/tests/disas/gc/null/struct-get.wat index 543ed6f42972..ac5ae2b066d3 100644 --- a/tests/disas/gc/null/struct-get.wat +++ b/tests/disas/gc/null/struct-get.wat @@ -24,11 +24,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> f32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,11 +50,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -77,11 +77,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -104,11 +104,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-new-default.wat b/tests/disas/gc/null/struct-new-default.wat index d9521c914905..1a9ecc10e63f 100644 --- a/tests/disas/gc/null/struct-new-default.wat +++ b/tests/disas/gc/null/struct-new-default.wat @@ -12,15 +12,15 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 34 "VMNullHeapData+0x0" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 244 "VMStoreContext+0x20" -;; region6 = 105 "VMContext+0x28" -;; region7 = 172 "TypeIdsArray+0x0" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 237 "" +;; region4 = 206 "" +;; region5 = 196 "" +;; region6 = 130 "" +;; region7 = 6 "" +;; region8 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/struct-new.wat b/tests/disas/gc/null/struct-new.wat index 9a245688c392..ade114c6494b 100644 --- a/tests/disas/gc/null/struct-new.wat +++ b/tests/disas/gc/null/struct-new.wat @@ -13,15 +13,16 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 34 "VMNullHeapData+0x0" -;; region4 = 35 "VMStoreContext+0x28" -;; region5 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region6 = 105 "VMContext+0x28" -;; region7 = 172 "TypeIdsArray+0x0" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 237 "" +;; region4 = 206 "" +;; region5 = 196 "" +;; region6 = 130 "" +;; region7 = 6 "" +;; region8 = 108 "" +;; region9 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -31,7 +32,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v39 = stack_addr.i64 ss0 -;; store notrap aligned region5 v4, v39 +;; store notrap aligned region9 v4, v39 ;; @002a v9 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @002a v10 = load.i32 notrap aligned region3 v9 ;; v46 = iconst.i32 7 @@ -63,7 +64,7 @@ ;; @002a v33 = iconst.i64 12 ;; @002a v34 = iadd v26, v33 ; v33 = 12 ;; @002a istore8.i32 user2 little region8 v3, v34 -;; v38 = load.i32 notrap aligned region5 v39 +;; v38 = load.i32 notrap aligned region9 v39 ;; @002a v35 = iconst.i64 16 ;; @002a v36 = iadd v26, v35 ; v35 = 16 ;; @002a store user2 little region8 v38, v36 diff --git a/tests/disas/gc/null/struct-set.wat b/tests/disas/gc/null/struct-set.wat index 9671e638ab61..6b04e0e7ab7a 100644 --- a/tests/disas/gc/null/struct-set.wat +++ b/tests/disas/gc/null/struct-set.wat @@ -20,11 +20,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, f32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -72,11 +72,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/null/v128-fields.wat b/tests/disas/gc/null/v128-fields.wat index 393ac691381f..590b4e7ff9bb 100644 --- a/tests/disas/gc/null/v128-fields.wat +++ b/tests/disas/gc/null/v128-fields.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "VMStoreContext+0x20" -;; region3 = 35 "VMStoreContext+0x28" -;; region4 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 196 "" +;; region3 = 206 "" +;; region4 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/ref-test-cast-final-type.wat b/tests/disas/gc/ref-test-cast-final-type.wat index eb19312d35f0..7c088bab9a6e 100644 --- a/tests/disas/gc/ref-test-cast-final-type.wat +++ b/tests/disas/gc/ref-test-cast-final-type.wat @@ -15,13 +15,13 @@ (ref.cast (ref $s) (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -60,13 +60,13 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 105 "VMContext+0x28" -;; region3 = 172 "TypeIdsArray+0x0" -;; region4 = 244 "VMStoreContext+0x20" -;; region5 = 35 "VMStoreContext+0x28" -;; region6 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 130 "" +;; region3 = 6 "" +;; region4 = 196 "" +;; region5 = 206 "" +;; region6 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/struct-new-default.wat b/tests/disas/gc/struct-new-default.wat index bd18c89fc541..34db67d9c17e 100644 --- a/tests/disas/gc/struct-new-default.wat +++ b/tests/disas/gc/struct-new-default.wat @@ -13,15 +13,15 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "VMStoreContext+0x20" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/gc/struct-new.wat b/tests/disas/gc/struct-new.wat index ee08b4da9d7d..9f2be42fb2b6 100644 --- a/tests/disas/gc/struct-new.wat +++ b/tests/disas/gc/struct-new.wat @@ -13,15 +13,16 @@ ) ;; function u0:0(i64 vmctx, i64, f32, i32, i32) -> i32 tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 198 "VMContext+0x20" -;; region3 = 191 "VMCopyingHeapData+0x0" -;; region4 = 209 "VMCopyingHeapData+0x4" -;; region5 = 105 "VMContext+0x28" -;; region6 = 172 "TypeIdsArray+0x0" -;; region7 = 244 "Stack(ss0) | VMStoreContext+0x20" -;; region8 = 5 "GcHeap" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 65 "" +;; region3 = 177 "" +;; region4 = 98 "" +;; region5 = 130 "" +;; region6 = 6 "" +;; region7 = 196 "" +;; region8 = 108 "" +;; region9 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -31,7 +32,7 @@ ;; ;; block0(v0: i64, v1: i64, v2: f32, v3: i32, v4: i32): ;; v45 = stack_addr.i64 ss0 -;; store notrap aligned region7 v4, v45 +;; store notrap aligned region9 v4, v45 ;; @002a v6 = load.i64 notrap aligned readonly can_move region2 v0+32 ;; @002a v7 = load.i32 notrap aligned region3 v6 ;; @002a v8 = load.i32 notrap aligned region4 v6+4 @@ -78,7 +79,7 @@ ;; @002a v39 = iconst.i64 20 ;; @002a v40 = iadd v36, v39 ; v39 = 20 ;; @002a istore8.i32 user2 little region8 v3, v40 -;; v44 = load.i32 notrap aligned region7 v45 +;; v44 = load.i32 notrap aligned region9 v45 ;; @002a v41 = iconst.i64 24 ;; @002a v42 = iadd v36, v41 ; v41 = 24 ;; @002a store user2 little region8 v44, v42 diff --git a/tests/disas/gc/typed-select-and-stack-maps.wat b/tests/disas/gc/typed-select-and-stack-maps.wat index bc952b10bed1..0bc9b4444c69 100644 --- a/tests/disas/gc/typed-select-and-stack-maps.wat +++ b/tests/disas/gc/typed-select-and-stack-maps.wat @@ -41,11 +41,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { ;; ss0 = explicit_slot 4, align = 4 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 59 "VMFunctionImport+0x8" -;; region4 = 244 "Stack(ss0)" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 68 "" +;; region4 = 232 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -71,10 +71,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/global-get.wat b/tests/disas/global-get.wat index 61e0697ad81a..9d324da7b2b6 100644 --- a/tests/disas/global-get.wat +++ b/tests/disas/global-get.wat @@ -31,10 +31,10 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,10 +50,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 190 "VMGlobalImport+0x0" -;; region3 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 44 "" +;; region3 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,8 +69,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -85,9 +85,9 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 135 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/globals.wat b/tests/disas/globals.wat index 03b95a45c40a..40cc8e697499 100644 --- a/tests/disas/globals.wat +++ b/tests/disas/globals.wat @@ -10,12 +10,12 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/guest-debugging.wat b/tests/disas/guest-debugging.wat index 88a87173599b..7baf8401426f 100644 --- a/tests/disas/guest-debugging.wat +++ b/tests/disas/guest-debugging.wat @@ -20,9 +20,9 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { ;; ss0 = explicit_slot 28, key = 0 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 244 "Stack(ss0)" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 232 "" ;; sig0 = (i64 vmctx, i8) tail ;; sig1 = (i64 vmctx) tail ;; sig2 = (i64) preserve_all diff --git a/tests/disas/i128-cmp.wat b/tests/disas/i128-cmp.wat index 23f95c6dacd2..7147799b667c 100644 --- a/tests/disas/i128-cmp.wat +++ b/tests/disas/i128-cmp.wat @@ -100,8 +100,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -119,8 +119,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -138,8 +138,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -157,8 +157,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -176,8 +176,8 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -195,8 +195,8 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -214,8 +214,8 @@ ;; } ;; ;; function u0:6(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -233,8 +233,8 @@ ;; } ;; ;; function u0:7(i64 vmctx, i64, i64, i64, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load.wat b/tests/disas/i32-load.wat index 0029c525f14a..6f63ba49bea9 100644 --- a/tests/disas/i32-load.wat +++ b/tests/disas/i32-load.wat @@ -9,11 +9,11 @@ i32.load)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load16-s.wat b/tests/disas/i32-load16-s.wat index fc0b616a8bae..acbb9f35922e 100644 --- a/tests/disas/i32-load16-s.wat +++ b/tests/disas/i32-load16-s.wat @@ -9,11 +9,11 @@ i32.load16_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load16-u.wat b/tests/disas/i32-load16-u.wat index b8c6d9a8d0fd..bf854f7545bb 100644 --- a/tests/disas/i32-load16-u.wat +++ b/tests/disas/i32-load16-u.wat @@ -9,11 +9,11 @@ i32.load16_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load8-s.wat b/tests/disas/i32-load8-s.wat index e2c37552f720..d2192abb9809 100644 --- a/tests/disas/i32-load8-s.wat +++ b/tests/disas/i32-load8-s.wat @@ -9,11 +9,11 @@ i32.load8_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-load8-u.wat b/tests/disas/i32-load8-u.wat index d595028a21ae..2171a30d4f2f 100644 --- a/tests/disas/i32-load8-u.wat +++ b/tests/disas/i32-load8-u.wat @@ -9,11 +9,11 @@ i32.load8_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-store.wat b/tests/disas/i32-store.wat index c3d32a8f54db..14a4d999102c 100644 --- a/tests/disas/i32-store.wat +++ b/tests/disas/i32-store.wat @@ -10,11 +10,11 @@ i32.store)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-store16.wat b/tests/disas/i32-store16.wat index ea4fc1866df0..f551076d541f 100644 --- a/tests/disas/i32-store16.wat +++ b/tests/disas/i32-store16.wat @@ -10,11 +10,11 @@ i32.store16)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i32-store8.wat b/tests/disas/i32-store8.wat index dca8ee34e660..ba3d400bdd07 100644 --- a/tests/disas/i32-store8.wat +++ b/tests/disas/i32-store8.wat @@ -10,11 +10,11 @@ i32.store8)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load.wat b/tests/disas/i64-load.wat index 492b750a7208..a3466302512b 100644 --- a/tests/disas/i64-load.wat +++ b/tests/disas/i64-load.wat @@ -9,11 +9,11 @@ i64.load)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load16-s.wat b/tests/disas/i64-load16-s.wat index cfbac98df3d9..da490a163190 100644 --- a/tests/disas/i64-load16-s.wat +++ b/tests/disas/i64-load16-s.wat @@ -9,11 +9,11 @@ i64.load16_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load16-u.wat b/tests/disas/i64-load16-u.wat index 83fbf9b73737..3a3551e5f61d 100644 --- a/tests/disas/i64-load16-u.wat +++ b/tests/disas/i64-load16-u.wat @@ -9,11 +9,11 @@ i64.load16_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load8-s.wat b/tests/disas/i64-load8-s.wat index 330b40e045d9..da688611bda4 100644 --- a/tests/disas/i64-load8-s.wat +++ b/tests/disas/i64-load8-s.wat @@ -9,11 +9,11 @@ i64.load8_s)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-load8-u.wat b/tests/disas/i64-load8-u.wat index 03906f363ec7..bf6da7c253ba 100644 --- a/tests/disas/i64-load8-u.wat +++ b/tests/disas/i64-load8-u.wat @@ -9,11 +9,11 @@ i64.load8_u)) ;; function u0:0(i64 vmctx, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store.wat b/tests/disas/i64-store.wat index a29d96d2fa41..18e57902349e 100644 --- a/tests/disas/i64-store.wat +++ b/tests/disas/i64-store.wat @@ -10,11 +10,11 @@ i64.store)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store16.wat b/tests/disas/i64-store16.wat index 05e0013b2b1c..3fa86346a0b5 100644 --- a/tests/disas/i64-store16.wat +++ b/tests/disas/i64-store16.wat @@ -10,11 +10,11 @@ i64.store16)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store32.wat b/tests/disas/i64-store32.wat index 17e4be7db212..ef63c8f21c17 100644 --- a/tests/disas/i64-store32.wat +++ b/tests/disas/i64-store32.wat @@ -10,11 +10,11 @@ i64.store32)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/i64-store8.wat b/tests/disas/i64-store8.wat index 1449f3af0345..39b40507a47a 100644 --- a/tests/disas/i64-store8.wat +++ b/tests/disas/i64-store8.wat @@ -10,11 +10,11 @@ i64.store8)) ;; function u0:0(i64 vmctx, i64, i32, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/icall-loop.wat b/tests/disas/icall-loop.wat index 3ea950f0da15..7ce1f2ff8eac 100644 --- a/tests/disas/icall-loop.wat +++ b/tests/disas/icall-loop.wat @@ -23,15 +23,15 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -78,15 +78,15 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/icall-simd.wat b/tests/disas/icall-simd.wat index ae90eea29ffd..c09643a28de2 100644 --- a/tests/disas/icall-simd.wat +++ b/tests/disas/icall-simd.wat @@ -9,15 +9,15 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/icall.wat b/tests/disas/icall.wat index f011234d76d4..3fff7193e498 100644 --- a/tests/disas/icall.wat +++ b/tests/disas/icall.wat @@ -9,15 +9,15 @@ ) ;; function u0:0(i64 vmctx, i64, i32, f32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/idempotent-store.wat b/tests/disas/idempotent-store.wat index 4b6ef3138cae..a4e8b3fdbc06 100644 --- a/tests/disas/idempotent-store.wat +++ b/tests/disas/idempotent-store.wat @@ -15,11 +15,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-0.wat b/tests/disas/if-reachability-translation-0.wat index 60bfbe53a093..f62fb0f7d6db 100644 --- a/tests/disas/if-reachability-translation-0.wat +++ b/tests/disas/if-reachability-translation-0.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-1.wat b/tests/disas/if-reachability-translation-1.wat index 51ae18dbe1e3..925e926a6c2a 100644 --- a/tests/disas/if-reachability-translation-1.wat +++ b/tests/disas/if-reachability-translation-1.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-2.wat b/tests/disas/if-reachability-translation-2.wat index 8d83d0761107..8f33c41964a7 100644 --- a/tests/disas/if-reachability-translation-2.wat +++ b/tests/disas/if-reachability-translation-2.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-3.wat b/tests/disas/if-reachability-translation-3.wat index 8510bb5ca6e7..2269916ac6ce 100644 --- a/tests/disas/if-reachability-translation-3.wat +++ b/tests/disas/if-reachability-translation-3.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-4.wat b/tests/disas/if-reachability-translation-4.wat index 37a53741e69b..c42c5808b972 100644 --- a/tests/disas/if-reachability-translation-4.wat +++ b/tests/disas/if-reachability-translation-4.wat @@ -14,8 +14,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-5.wat b/tests/disas/if-reachability-translation-5.wat index b0d0b678f05b..e246b390f26d 100644 --- a/tests/disas/if-reachability-translation-5.wat +++ b/tests/disas/if-reachability-translation-5.wat @@ -16,8 +16,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-reachability-translation-6.wat b/tests/disas/if-reachability-translation-6.wat index 78ce15369f5e..bfc8d68c1767 100644 --- a/tests/disas/if-reachability-translation-6.wat +++ b/tests/disas/if-reachability-translation-6.wat @@ -16,8 +16,8 @@ i32.const 0)) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-unreachable-else-params-2.wat b/tests/disas/if-unreachable-else-params-2.wat index b493a395812e..637bba810664 100644 --- a/tests/disas/if-unreachable-else-params-2.wat +++ b/tests/disas/if-unreachable-else-params-2.wat @@ -20,11 +20,11 @@ (export "memory" (memory 0))) ;; function u0:0(i64 vmctx, i64, i32, i32) -> f64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/if-unreachable-else-params.wat b/tests/disas/if-unreachable-else-params.wat index 980c39c49c6a..c5443b9eb437 100644 --- a/tests/disas/if-unreachable-else-params.wat +++ b/tests/disas/if-unreachable-else-params.wat @@ -43,11 +43,11 @@ (export "memory" (memory 0))) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/indirect-call-no-caching.wat b/tests/disas/indirect-call-no-caching.wat index 403e80f2d3ed..83ff5f9e84f8 100644 --- a/tests/disas/indirect-call-no-caching.wat +++ b/tests/disas/indirect-call-no-caching.wat @@ -21,8 +21,8 @@ (elem (i32.const 1) func $f1 $f2 $f3)) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -37,8 +37,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -53,8 +53,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,15 +69,15 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/intra-module-inlining.wat b/tests/disas/intra-module-inlining.wat index a41cbadf0a05..8498cf1b698d 100644 --- a/tests/disas/intra-module-inlining.wat +++ b/tests/disas/intra-module-inlining.wat @@ -10,8 +10,8 @@ (call 0))) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -26,8 +26,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/issue-10929-v128-icmp-egraphs.wat b/tests/disas/issue-10929-v128-icmp-egraphs.wat index d9b46e37813c..8db47c76c53b 100644 --- a/tests/disas/issue-10929-v128-icmp-egraphs.wat +++ b/tests/disas/issue-10929-v128-icmp-egraphs.wat @@ -11,8 +11,8 @@ i8x16.ne) ) ;; function u0:0(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/issue-5696.wat b/tests/disas/issue-5696.wat index da050608126b..fce61775a065 100644 --- a/tests/disas/issue-5696.wat +++ b/tests/disas/issue-5696.wat @@ -10,8 +10,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i64) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat index c66ae9f3d631..2aa9d149d83b 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index b947c90a6132..9544bcb8f901 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index 765ba373c3cb..4e4f4203e316 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat index ce35d4cb0919..a986aee9451e 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index 9df5f1ade7be..ccdd34fe9a90 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index b6d8c580cc22..6daaed1af599 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat index 0752f5eff76a..92bd44e11ab3 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index fd56cf2d446f..9ee7fe9323b9 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index ef0964fe74bf..2cc2e4f2dcb7 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat index 84282904d375..22f44d76642b 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index 968dd93c669d..a152a1431045 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index b07de08c10ea..8163efc0c266 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,11 +49,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index 489b6a192cb8..5652b96ac490 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index 5ee83f49deae..7d38a1ceb485 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index da3753379e9f..2a7affd8f9cc 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index 2f644abf0ef1..f672d999e470 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index 203f1efbf1aa..5d8dd5078459 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index f0c9f9c6be5d..626429833b61 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index 369ac6d8992b..2f5d2bc5e471 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index 2cf07dd3df47..5478f4603a24 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 8493178fcdbb..98ecbea6efc8 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index 6bca166d29b1..29b37aa5461e 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index a8dcde523fa4..0b20e908c4ea 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 3446af38a920..60fe986caaf0 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat index 607a218b77b2..28cbfd4896ab 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index 3619f59aeb76..5cb8538949e6 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index 5bfab3341730..7a9b4201aec3 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat index c6a9d925a8f2..82980677b53c 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index 29705756b4ff..4e9db4a67931 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index bb3e003ffd19..272789bd40a0 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat index da015dfbf5a1..42c44bffc036 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index a6ceed85ba92..5cef3b5a86e9 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index def06aa417e7..ee99d1257df0 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat index 51bee97bafa5..22edafd00765 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index e77427473dfb..b215358cc3c7 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 01bdcee798c6..509f414f046f 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -48,11 +48,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index 208517b0c01a..bf9b0a7fad26 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index 37163f48b8d3..87f208d42ef2 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index 0db9044cfacc..8b1b3c5591f7 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index 45693c28aaa2..68a7b0ad144f 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index 7db1a4b5f831..a7da9f24f302 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index 15ed4698af8c..8f55a6248e05 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index 93c4e4e88ead..c4fa26fa700b 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index 2feb16572927..c5ad7c739bd4 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index c638a00e5f40..5a0d77fee88b 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index b1ac32f111e0..4d186928b1f5 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index d89c99887f5c..03827f2359c7 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 4a9f4546fd05..041992306762 100644 --- a/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_dynamic_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat index 66619172cbeb..531d369466ed 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index 82935061fdac..a69400d8c2de 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index 7967bb47644a..721bba01e510 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat index d7b0e9db3ab7..829e46e698a1 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index ea66ddf60073..d68dde733dab 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index 76e15ff82f73..3ceefb92024e 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat index 5edc37697f80..e65acb19711c 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index 05e070b0725f..07aa0129d7ff 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index c035c296da3e..158d69e73fe1 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat index e29077a88302..1b3bb19dc69d 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index 22f3696e2be4..1f8ae22342f5 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 7dbc4468ef28..aa0557d5b13c 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index 3df0db84a685..abfacb7c7a6c 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index cb43d03dce68..036f984746ee 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index 2287d18fcb17..17daf9f6b22a 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index fbb02a1b042d..80dd6e3e6016 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index 1dff950c7f3f..3e5d4891856e 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index 3f531d276bf0..484e8a65de1c 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index ec60dded25bb..6e8a3a48e53f 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index 224137d10d89..e09a5c5f3edd 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 02295c20f446..8eed8093e32d 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index ff787ed19441..b6b174d0c026 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -41,11 +41,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index 74ee66c640ae..055643265b3d 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 5c68eeb2a157..7aa328b13e1b 100644 --- a/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i32_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat index 95f8b61d411d..10aef7454836 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat index 3c767127ed51..225f7f1f81e3 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat index 5f5b3f246d58..7745edad8d3d 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat index dc8dd0c9dff2..7dac2f62ce85 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat index cda080c51458..8394df48c58a 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat index a460491b0cd2..5f90a9528d9b 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat index a165e6dbfa08..5503938bc0c5 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat index 6437abdcd12c..289957d116d0 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 896dc6d2ff2a..6e1a5e398b70 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat index 13d4bd9d7f71..7940be591294 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat index 5254b67fed65..7bd4b8be090d 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat index d6185e28ec76..6e8a1580786e 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat index cf89c4602c42..47a000f58d6c 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat index 95f49c493729..f7cc57360530 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat index c3ee77ca2739..de4b193d96fe 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat index 0512a4c0ddf0..a0ef159d5f30 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -43,11 +43,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat index 4935f14fe57c..625e03f2f896 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat index 71a8f84fcdff..6c96211385f5 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_no_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat index d0f23c05b00a..ac28dbae433e 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat index b9f7b9766387..a395555c5708 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat index 25138c363be6..00db59a12255 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i32_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat index 4a3b95c0a3df..88f4fb7993c8 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,11 +44,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat index d5ee408d59c4..ac0d0b9b19de 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0x1000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0x1000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat index 73915e112c25..b56308fe540e 100644 --- a/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat +++ b/tests/disas/load-store/load_store_static_kind_i64_index_0xffffffff_guard_yes_spectre_i8_access_0xffff0000_offset.wat @@ -19,11 +19,11 @@ i32.load8_u offset=0xffff0000)) ;; function u0:0(i64 vmctx, i64, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-epochs.wat b/tests/disas/memory-copy-epochs.wat index c5dac6d75e5b..fcb83afe6753 100644 --- a/tests/disas/memory-copy-epochs.wat +++ b/tests/disas/memory-copy-epochs.wat @@ -9,13 +9,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 210 "VMContext+0x18" -;; region3 = 62 "EpochCounter+0x0" -;; region4 = 214 "VMStoreContext+0x8" -;; region5 = 193 "VMMemoryDefinition+0x0" -;; region6 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 235 "" +;; region3 = 18 "" +;; region4 = 109 "" +;; region5 = 215 "" +;; region6 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-fuel-const-len.wat b/tests/disas/memory-copy-fuel-const-len.wat index 4edcd946f7e1..275a4dc9e750 100644 --- a/tests/disas/memory-copy-fuel-const-len.wat +++ b/tests/disas/memory-copy-fuel-const-len.wat @@ -15,12 +15,12 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 178 "VMStoreContext+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 7 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,11 +70,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 178 "VMStoreContext+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 7 "" +;; region3 = 215 "" +;; region4 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -121,11 +121,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 178 "VMStoreContext+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 7 "" +;; region3 = 215 "" +;; region4 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-fuel.wat b/tests/disas/memory-copy-fuel.wat index 683e009463fc..fb711f1d7d3f 100644 --- a/tests/disas/memory-copy-fuel.wat +++ b/tests/disas/memory-copy-fuel.wat @@ -9,11 +9,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 178 "VMStoreContext+0x0" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 7 "" +;; region3 = 215 "" +;; region4 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-copy-inline.wat b/tests/disas/memory-copy-inline.wat index ab3a31a43472..ac4030a06b76 100644 --- a/tests/disas/memory-copy-inline.wat +++ b/tests/disas/memory-copy-inline.wat @@ -12,11 +12,11 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory-min-max-same.wat b/tests/disas/memory-min-max-same.wat index c2d80b28adea..439e68f58672 100644 --- a/tests/disas/memory-min-max-same.wat +++ b/tests/disas/memory-min-max-same.wat @@ -34,13 +34,13 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 239 "VMFunctionImport+0x18" -;; region3 = 59 "VMFunctionImport+0x8" -;; region4 = 193 "VMMemoryDefinition+0x0" -;; region5 = 213 "VMMemoryDefinition+0x8" -;; region6 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 25 "" +;; region3 = 68 "" +;; region4 = 215 "" +;; region5 = 105 "" +;; region6 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory.wat b/tests/disas/memory.wat index 288eda1f23c3..acaad4037452 100644 --- a/tests/disas/memory.wat +++ b/tests/disas/memory.wat @@ -13,11 +13,11 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory_copy_host32.wat b/tests/disas/memory_copy_host32.wat index efa338a1369b..ab6ada76d7a9 100644 --- a/tests/disas/memory_copy_host32.wat +++ b/tests/disas/memory_copy_host32.wat @@ -50,8 +50,8 @@ ) ) ;; function u0:0(i32 vmctx, i32, i32, i32, i32) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -78,8 +78,8 @@ ;; } ;; ;; function u0:1(i32 vmctx, i32, i32, i32, i32) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -109,8 +109,8 @@ ;; } ;; ;; function u0:2(i32 vmctx, i32, i64, i32, i32) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -140,8 +140,8 @@ ;; } ;; ;; function u0:3(i32 vmctx, i32, i64, i64, i64) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -168,8 +168,8 @@ ;; } ;; ;; function u0:4(i32 vmctx, i32, i64, i64, i64) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; @@ -199,8 +199,8 @@ ;; } ;; ;; function u0:5(i32 vmctx, i32, i32, i64, i32) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:1 sig0 ;; diff --git a/tests/disas/memory_copy_host64.wat b/tests/disas/memory_copy_host64.wat index a3a858a57fff..cb369966d103 100644 --- a/tests/disas/memory_copy_host64.wat +++ b/tests/disas/memory_copy_host64.wat @@ -50,10 +50,10 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -83,10 +83,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -118,10 +118,10 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -152,10 +152,10 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i64, i64, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -182,10 +182,10 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i64, i64, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -214,10 +214,10 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i32, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/memory_fill_host32.wat b/tests/disas/memory_fill_host32.wat index af00b717ba0c..87d7d8f38e9e 100644 --- a/tests/disas/memory_fill_host32.wat +++ b/tests/disas/memory_fill_host32.wat @@ -47,8 +47,8 @@ ) ) ;; function u0:0(i32 vmctx, i32, i32, i32) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -71,8 +71,8 @@ ;; } ;; ;; function u0:1(i32 vmctx, i32, i64, i64) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -95,8 +95,8 @@ ;; } ;; ;; function u0:2(i32 vmctx, i32, i32, i32) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -119,8 +119,8 @@ ;; } ;; ;; function u0:3(i32 vmctx, i32, i64, i64) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; @@ -143,8 +143,8 @@ ;; } ;; ;; function u0:4(i32 vmctx, i32, i32, i32) tail { -;; region0 = 193 "VMMemoryDefinition+0x0" -;; region1 = 83 "VMMemoryDefinition+0x4" +;; region0 = 215 "" +;; region1 = 153 "" ;; sig0 = (i32 vmctx, i32, i32, i32) tail ;; fn0 = colocated u805306368:2 sig0 ;; diff --git a/tests/disas/memory_fill_host64.wat b/tests/disas/memory_fill_host64.wat index 218bcc13bd7a..272a19939125 100644 --- a/tests/disas/memory_fill_host64.wat +++ b/tests/disas/memory_fill_host64.wat @@ -44,10 +44,10 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -73,10 +73,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i64, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -100,10 +100,10 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -129,10 +129,10 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i64, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -156,10 +156,10 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-0.wat b/tests/disas/multi-0.wat index e9cdb55efa09..cb44c0d48201 100644 --- a/tests/disas/multi-0.wat +++ b/tests/disas/multi-0.wat @@ -5,8 +5,8 @@ (local.get 0) (local.get 0))) ;; function u0:0(i64 vmctx, i64, i64) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-1.wat b/tests/disas/multi-1.wat index 9068ec55cd99..0e6ea38b6f61 100644 --- a/tests/disas/multi-1.wat +++ b/tests/disas/multi-1.wat @@ -8,8 +8,8 @@ (f64.const 1234.5)))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i32, i64, f64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-10.wat b/tests/disas/multi-10.wat index d8ff7f0253a0..a931be7087eb 100644 --- a/tests/disas/multi-10.wat +++ b/tests/disas/multi-10.wat @@ -12,8 +12,8 @@ (i64.const -2))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-11.wat b/tests/disas/multi-11.wat index c903c1f326f6..1e5b35ac12a6 100644 --- a/tests/disas/multi-11.wat +++ b/tests/disas/multi-11.wat @@ -9,8 +9,8 @@ return))) ;; function u0:0(i64 vmctx, i64, i64) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-12.wat b/tests/disas/multi-12.wat index fa18d66841a8..a9575b4ab667 100644 --- a/tests/disas/multi-12.wat +++ b/tests/disas/multi-12.wat @@ -11,8 +11,8 @@ return))) ;; function u0:0(i64 vmctx, i64, i64, i64, i64) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-13.wat b/tests/disas/multi-13.wat index 18454a799ce3..76da96463407 100644 --- a/tests/disas/multi-13.wat +++ b/tests/disas/multi-13.wat @@ -12,8 +12,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-14.wat b/tests/disas/multi-14.wat index 825117aa706e..3801b6f6c66e 100644 --- a/tests/disas/multi-14.wat +++ b/tests/disas/multi-14.wat @@ -12,8 +12,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-15.wat b/tests/disas/multi-15.wat index 4cbe079d8f33..97517c98f348 100644 --- a/tests/disas/multi-15.wat +++ b/tests/disas/multi-15.wat @@ -24,8 +24,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i64, f32, f32, i32, f64, f32, i32, i32, i32, f32, f64, f64, f64, i32, i32, f32) -> f64, f32, i32, i32, i32, i64, f32, i32, i32, f32, f64, f64, i32, f32, i32, f64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-16.wat b/tests/disas/multi-16.wat index 1b11a8e1e0e0..e618173d2f76 100644 --- a/tests/disas/multi-16.wat +++ b/tests/disas/multi-16.wat @@ -11,8 +11,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-17.wat b/tests/disas/multi-17.wat index 570b35fa0bae..dd36cb9e7e92 100644 --- a/tests/disas/multi-17.wat +++ b/tests/disas/multi-17.wat @@ -28,8 +28,8 @@ (export "main" (func $main))) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-2.wat b/tests/disas/multi-2.wat index 4b2d61284f26..447ce95bb2b9 100644 --- a/tests/disas/multi-2.wat +++ b/tests/disas/multi-2.wat @@ -8,8 +8,8 @@ return))) ;; function u0:0(i64 vmctx, i64, i64, i64) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-3.wat b/tests/disas/multi-3.wat index 923b8e2a14f0..fb7c0d97ad22 100644 --- a/tests/disas/multi-3.wat +++ b/tests/disas/multi-3.wat @@ -15,8 +15,8 @@ (i64.const 0))))) ;; function u0:0(i64 vmctx, i64, i32, i64, i64) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-4.wat b/tests/disas/multi-4.wat index 6ff9ad176574..7c48005625c9 100644 --- a/tests/disas/multi-4.wat +++ b/tests/disas/multi-4.wat @@ -15,8 +15,8 @@ i64.const 2)))) ;; function u0:0(i64 vmctx, i64, i32, i64, i64) -> i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-5.wat b/tests/disas/multi-5.wat index eefea70f37e5..a0ca54a0978b 100644 --- a/tests/disas/multi-5.wat +++ b/tests/disas/multi-5.wat @@ -13,8 +13,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-6.wat b/tests/disas/multi-6.wat index 62f1cc413e29..2c0d30a919d8 100644 --- a/tests/disas/multi-6.wat +++ b/tests/disas/multi-6.wat @@ -13,8 +13,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-7.wat b/tests/disas/multi-7.wat index 7842e722fc37..0b5943b17217 100644 --- a/tests/disas/multi-7.wat +++ b/tests/disas/multi-7.wat @@ -11,8 +11,8 @@ (i64.const -1))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-8.wat b/tests/disas/multi-8.wat index 0c69026d4c7f..ddb92252bcf9 100644 --- a/tests/disas/multi-8.wat +++ b/tests/disas/multi-8.wat @@ -14,8 +14,8 @@ (i64.const -2))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/multi-9.wat b/tests/disas/multi-9.wat index adf92ef9a7bb..7a9d61336e57 100644 --- a/tests/disas/multi-9.wat +++ b/tests/disas/multi-9.wat @@ -17,8 +17,8 @@ (i64.const -2))))) ;; function u0:0(i64 vmctx, i64, i64, i32) -> i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/non-fixed-size-memory.wat b/tests/disas/non-fixed-size-memory.wat index dfefaa79fc43..ebf0ef96547f 100644 --- a/tests/disas/non-fixed-size-memory.wat +++ b/tests/disas/non-fixed-size-memory.wat @@ -21,11 +21,11 @@ i32.load8_u offset=0)) ;; function u0:0(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -46,11 +46,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/nullref.wat b/tests/disas/nullref.wat index 293dad621032..7ed98aa5630d 100644 --- a/tests/disas/nullref.wat +++ b/tests/disas/nullref.wat @@ -13,8 +13,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -29,8 +29,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/passive-data.wat b/tests/disas/passive-data.wat index a3132dcc659d..c90e17095422 100644 --- a/tests/disas/passive-data.wat +++ b/tests/disas/passive-data.wat @@ -14,12 +14,12 @@ data.drop $passive)) ;; function u0:0(i64 vmctx, i64, i32, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 199 "VMContext+0x98" -;; region5 = 238 "VMContext+0x90" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 124 "" +;; region5 = 31 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -62,9 +62,9 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 199 "VMContext+0x98" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 124 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/pic.wat b/tests/disas/pic.wat index dbc78bde5733..c95162d5c132 100644 --- a/tests/disas/pic.wat +++ b/tests/disas/pic.wat @@ -48,11 +48,11 @@ ) ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,14 +70,14 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" -;; region6 = 239 "VMFunctionImport+0x18" -;; region7 = 59 "VMFunctionImport+0x8" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 171 "" +;; region6 = 25 "" +;; region7 = 68 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/pr2303.wat b/tests/disas/pr2303.wat index 3406ce03f5f2..8b6e28452c43 100644 --- a/tests/disas/pr2303.wat +++ b/tests/disas/pr2303.wat @@ -17,11 +17,11 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 53 "PublicMemory" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 61 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/pr2559.wat b/tests/disas/pr2559.wat index 857b577fb37f..e1619ab0f8cd 100644 --- a/tests/disas/pr2559.wat +++ b/tests/disas/pr2559.wat @@ -53,8 +53,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i8x16, i8x16, i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -95,8 +95,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i8x16, i8x16, i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-funcrefs.wat b/tests/disas/readonly-funcrefs.wat index 1d78303b929e..1eee75d24c69 100644 --- a/tests/disas/readonly-funcrefs.wat +++ b/tests/disas/readonly-funcrefs.wat @@ -19,8 +19,8 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -34,15 +34,15 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 105 "VMContext+0x28" -;; region5 = 172 "TypeIdsArray+0x0" -;; region6 = 79 "VMFuncRef+0x10" -;; region7 = 170 "VMFuncRef+0x8" -;; region8 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 130 "" +;; region5 = 6 "" +;; region6 = 106 "" +;; region7 = 116 "" +;; region8 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-heap-base-pointer1.wat b/tests/disas/readonly-heap-base-pointer1.wat index 17ea997a63fc..07f04c629d57 100644 --- a/tests/disas/readonly-heap-base-pointer1.wat +++ b/tests/disas/readonly-heap-base-pointer1.wat @@ -8,11 +8,11 @@ (i32.load (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-heap-base-pointer2.wat b/tests/disas/readonly-heap-base-pointer2.wat index 61cac30ede08..d90793f2a82a 100644 --- a/tests/disas/readonly-heap-base-pointer2.wat +++ b/tests/disas/readonly-heap-base-pointer2.wat @@ -8,12 +8,12 @@ (i32.load (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 120 "VMContext+0x30" -;; region3 = 193 "VMMemoryDefinition+0x0" -;; region4 = 213 "VMMemoryDefinition+0x8" -;; region5 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 136 "" +;; region3 = 215 "" +;; region4 = 105 "" +;; region5 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/readonly-heap-base-pointer3.wat b/tests/disas/readonly-heap-base-pointer3.wat index 10183df9a586..7528851504d8 100644 --- a/tests/disas/readonly-heap-base-pointer3.wat +++ b/tests/disas/readonly-heap-base-pointer3.wat @@ -8,11 +8,11 @@ (i32.load (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/ref-func-0.wat b/tests/disas/ref-func-0.wat index f69a085df612..dc4671e6caf8 100644 --- a/tests/disas/ref-func-0.wat +++ b/tests/disas/ref-func-0.wat @@ -14,9 +14,9 @@ (global (export "funcref-local") funcref (ref.func $local))) ;; function u0:0(i64 vmctx, i64) -> i32, i32, i64, i64 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 172 "PublicGlobal" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 87 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/riscv64-component-builtins.wat b/tests/disas/riscv64-component-builtins.wat index f909200a7367..4dec521ad35c 100644 --- a/tests/disas/riscv64-component-builtins.wat +++ b/tests/disas/riscv64-component-builtins.wat @@ -11,14 +11,14 @@ ) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 36 "VMStoreContext+0x30" -;; region2 = 239 "VMStoreContext+0x38" -;; region3 = 24 "VMComponentContext+0x20" -;; region4 = 196 "VMComponentContext+0x8" -;; region5 = 125 "ComponentBuiltinFunctionsArray+0x10" -;; region6 = 143 "VMContext+0x10" -;; region7 = 223 "BuiltinFunctionsArray+0x148" +;; region0 = 123 "" +;; region1 = 85 "" +;; region2 = 72 "" +;; region3 = 38 "" +;; region4 = 245 "" +;; region5 = 117 "" +;; region6 = 12 "" +;; region7 = 184 "" ;; sig0 = (i64 sext, i32 sext, i32 sext, i32 sext) -> i64 sext system_v ;; sig1 = (i64 sext vmctx) system_v ;; diff --git a/tests/disas/select.wat b/tests/disas/select.wat index 4d08d5e77524..e074c5d58b3f 100644 --- a/tests/disas/select.wat +++ b/tests/disas/select.wat @@ -21,8 +21,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -40,8 +40,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -59,8 +59,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/simd-store.wat b/tests/disas/simd-store.wat index dfc53edab838..e16142eb3613 100644 --- a/tests/disas/simd-store.wat +++ b/tests/disas/simd-store.wat @@ -85,11 +85,11 @@ ) ;; function u0:0(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -109,11 +109,11 @@ ;; } ;; ;; function u0:10(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -135,11 +135,11 @@ ;; } ;; ;; function u0:11(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -161,11 +161,11 @@ ;; } ;; ;; function u0:12(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -185,11 +185,11 @@ ;; } ;; ;; function u0:13(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -211,11 +211,11 @@ ;; } ;; ;; function u0:14(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -237,11 +237,11 @@ ;; } ;; ;; function u0:15(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -261,11 +261,11 @@ ;; } ;; ;; function u0:16(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -287,11 +287,11 @@ ;; } ;; ;; function u0:17(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -313,11 +313,11 @@ ;; } ;; ;; function u0:18(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -339,11 +339,11 @@ ;; } ;; ;; function u0:19(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -363,11 +363,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -389,11 +389,11 @@ ;; } ;; ;; function u0:20(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -415,11 +415,11 @@ ;; } ;; ;; function u0:21(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -441,11 +441,11 @@ ;; } ;; ;; function u0:22(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -467,11 +467,11 @@ ;; } ;; ;; function u0:23(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -493,11 +493,11 @@ ;; } ;; ;; function u0:24(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -519,11 +519,11 @@ ;; } ;; ;; function u0:25(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -545,11 +545,11 @@ ;; } ;; ;; function u0:26(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -571,11 +571,11 @@ ;; } ;; ;; function u0:27(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -597,11 +597,11 @@ ;; } ;; ;; function u0:28(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -623,11 +623,11 @@ ;; } ;; ;; function u0:29(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -649,11 +649,11 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -675,11 +675,11 @@ ;; } ;; ;; function u0:30(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -701,11 +701,11 @@ ;; } ;; ;; function u0:31(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -727,11 +727,11 @@ ;; } ;; ;; function u0:32(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -753,11 +753,11 @@ ;; } ;; ;; function u0:33(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -779,11 +779,11 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -805,11 +805,11 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -829,11 +829,11 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -855,11 +855,11 @@ ;; } ;; ;; function u0:6(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -881,11 +881,11 @@ ;; } ;; ;; function u0:7(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -907,11 +907,11 @@ ;; } ;; ;; function u0:8(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -931,11 +931,11 @@ ;; } ;; ;; function u0:9(i64 vmctx, i64, i8x16) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 193 "VMMemoryDefinition+0x0" -;; region3 = 213 "VMMemoryDefinition+0x8" -;; region4 = 39 "DefinedMemory(StaticModuleIndex(0), DefinedMemoryIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 215 "" +;; region3 = 105 "" +;; region4 = 171 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/simd.wat b/tests/disas/simd.wat index 4ffe183ff248..bf37f3c0fe38 100644 --- a/tests/disas/simd.wat +++ b/tests/disas/simd.wat @@ -31,8 +31,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -49,8 +49,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -70,8 +70,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -89,8 +89,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/simple.wat b/tests/disas/simple.wat index 21f533b57dfd..68afacd07026 100644 --- a/tests/disas/simple.wat +++ b/tests/disas/simple.wat @@ -19,8 +19,8 @@ ) ) ;; function u0:0(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -36,8 +36,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -50,8 +50,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/stack-switching/resume-suspend-data-passing.wat b/tests/disas/stack-switching/resume-suspend-data-passing.wat index 350d7872927b..2606be8d129b 100644 --- a/tests/disas/stack-switching/resume-suspend-data-passing.wat +++ b/tests/disas/stack-switching/resume-suspend-data-passing.wat @@ -39,18 +39,18 @@ ;; function u0:0(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 16, align = 65536 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 124 "VMStoreContext+0x58" -;; region3 = 66 "VMContRef+0x40" -;; region4 = 229 "VMHostArray+0x8" -;; region5 = 23 "VMCommonStackInformation+0x38" -;; region6 = 212 "ContinuationStackMemory+0x0" -;; region7 = 182 "VMContRef+0x50" -;; region8 = 20 "VMHostArray+0x4" -;; region9 = 126 "VMHostArray+0x0" -;; region10 = 176 "VMCommonStackInformation+0x20" -;; region11 = 151 "VMContRef+0x60" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 106 "" +;; region3 = 225 "" +;; region4 = 214 "" +;; region5 = 13 "" +;; region6 = 55 "" +;; region7 = 153 "" +;; region8 = 118 "" +;; region9 = 82 "" +;; region10 = 255 "" +;; region11 = 211 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -180,26 +180,25 @@ ;; ;; function u0:1(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 8, align = 256 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 84 "VMContRef+0x58" -;; region3 = 182 "VMContRef+0x50" -;; region4 = 124 "VMStoreContext+0x58" -;; region5 = 66 "VMContRef+0x40" -;; region6 = 176 "VMCommonStackInformation+0x20" -;; region7 = 108 "VMStoreContext+0x48" -;; region8 = 38 "VMStoreContext+0x40" -;; region9 = 203 "VMStoreContext+0x50" -;; region10 = 89 "VMStackLimits+0x8" -;; region11 = 150 "VMStackLimits+0x10" -;; region12 = 232 "VMStackLimits+0x18" -;; region13 = 180 "VMStackLimits+0x0" -;; region14 = 20 "VMHostArray+0x4" -;; region15 = 229 "VMHostArray+0x8" -;; region16 = 212 "ContinuationStackMemory+0x0" -;; region17 = 126 "VMHostArray+0x0" -;; region18 = 23 "VMCommonStackInformation+0x38" -;; region19 = 151 "VMContRef+0x60" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 206 "" +;; region3 = 153 "" +;; region4 = 106 "" +;; region5 = 225 "" +;; region6 = 255 "" +;; region7 = 231 "" +;; region8 = 243 "" +;; region9 = 209 "" +;; region10 = 23 "" +;; region11 = 224 "" +;; region12 = 13 "" +;; region13 = 179 "" +;; region14 = 118 "" +;; region15 = 214 "" +;; region16 = 55 "" +;; region17 = 82 "" +;; region18 = 211 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -289,10 +288,10 @@ ;; v155 = iadd.i64 v0, v52 ; v52 = 48 ;; @0062 store notrap aligned region16 v155, v51 ;; @0062 store notrap aligned region17 v151, v154 ; v151 = 1 -;; @0062 store notrap aligned region18 v151, v27+56 ; v151 = 1 +;; @0062 store notrap aligned region12 v151, v27+56 ; v151 = 1 ;; v156 = iconst.i64 96 ;; v157 = iadd v24, v156 ; v156 = 96 -;; @0062 v62 = load.i64 notrap aligned region19 v157 +;; @0062 v62 = load.i64 notrap aligned region18 v157 ;; v158 = iconst.i64 -24 ;; v159 = iadd v62, v158 ; v158 = -24 ;; v160 = iconst.i64 0x0001_0000_0000 @@ -306,7 +305,7 @@ ;; @0062 store notrap aligned region17 v161, v154 ; v161 = 0 ;; @0062 store notrap aligned region14 v161, v154+4 ; v161 = 0 ;; @0062 store notrap aligned region15 v149, v154+8 ; v149 = 0 -;; @0062 store notrap aligned region18 v149, v27+56 ; v149 = 0 +;; @0062 store notrap aligned region12 v149, v27+56 ; v149 = 0 ;; @0062 brif v65, block9, block6 ;; ;; block9: diff --git a/tests/disas/stack-switching/resume-suspend.wat b/tests/disas/stack-switching/resume-suspend.wat index 10b772ad847d..bff2ab520ab3 100644 --- a/tests/disas/stack-switching/resume-suspend.wat +++ b/tests/disas/stack-switching/resume-suspend.wat @@ -24,18 +24,18 @@ ;; function u0:0(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 16, align = 65536 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 124 "VMStoreContext+0x58" -;; region3 = 66 "VMContRef+0x40" -;; region4 = 229 "VMHostArray+0x8" -;; region5 = 23 "VMCommonStackInformation+0x38" -;; region6 = 212 "ContinuationStackMemory+0x0" -;; region7 = 182 "VMContRef+0x50" -;; region8 = 20 "VMHostArray+0x4" -;; region9 = 176 "VMCommonStackInformation+0x20" -;; region10 = 151 "VMContRef+0x60" -;; region11 = 126 "VMHostArray+0x0" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 106 "" +;; region3 = 225 "" +;; region4 = 214 "" +;; region5 = 13 "" +;; region6 = 55 "" +;; region7 = 153 "" +;; region8 = 118 "" +;; region9 = 255 "" +;; region10 = 211 "" +;; region11 = 82 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -146,26 +146,25 @@ ;; ;; function u0:1(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 8, align = 256 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 84 "VMContRef+0x58" -;; region3 = 182 "VMContRef+0x50" -;; region4 = 124 "VMStoreContext+0x58" -;; region5 = 66 "VMContRef+0x40" -;; region6 = 176 "VMCommonStackInformation+0x20" -;; region7 = 108 "VMStoreContext+0x48" -;; region8 = 38 "VMStoreContext+0x40" -;; region9 = 203 "VMStoreContext+0x50" -;; region10 = 89 "VMStackLimits+0x8" -;; region11 = 150 "VMStackLimits+0x10" -;; region12 = 232 "VMStackLimits+0x18" -;; region13 = 180 "VMStackLimits+0x0" -;; region14 = 20 "VMHostArray+0x4" -;; region15 = 229 "VMHostArray+0x8" -;; region16 = 212 "ContinuationStackMemory+0x0" -;; region17 = 126 "VMHostArray+0x0" -;; region18 = 23 "VMCommonStackInformation+0x38" -;; region19 = 151 "VMContRef+0x60" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 206 "" +;; region3 = 153 "" +;; region4 = 106 "" +;; region5 = 225 "" +;; region6 = 255 "" +;; region7 = 231 "" +;; region8 = 243 "" +;; region9 = 209 "" +;; region10 = 23 "" +;; region11 = 224 "" +;; region12 = 13 "" +;; region13 = 179 "" +;; region14 = 118 "" +;; region15 = 214 "" +;; region16 = 55 "" +;; region17 = 82 "" +;; region18 = 211 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -242,10 +241,10 @@ ;; @004e v59 = iadd.i64 v0, v58 ; v58 = 48 ;; @004e store notrap aligned region16 v59, v57 ;; @004e store notrap aligned region17 v39, v55 ; v39 = 1 -;; @004e store notrap aligned region18 v39, v33+56 ; v39 = 1 +;; @004e store notrap aligned region12 v39, v33+56 ; v39 = 1 ;; @004e v66 = iconst.i64 96 ;; @004e v67 = iadd v30, v66 ; v66 = 96 -;; @004e v68 = load.i64 notrap aligned region19 v67 +;; @004e v68 = load.i64 notrap aligned region18 v67 ;; @004e v69 = iconst.i64 -24 ;; @004e v70 = iadd v68, v69 ; v69 = -24 ;; v161 = iconst.i64 0x0001_0000_0000 @@ -259,7 +258,7 @@ ;; @004e store notrap aligned region17 v164, v55 ; v164 = 0 ;; @004e store notrap aligned region14 v164, v55+4 ; v164 = 0 ;; @004e store notrap aligned region15 v2, v55+8 ; v2 = 0 -;; @004e store notrap aligned region18 v2, v33+56 ; v2 = 0 +;; @004e store notrap aligned region12 v2, v33+56 ; v2 = 0 ;; @004e brif v71, block7, block4 ;; ;; block7: diff --git a/tests/disas/stack-switching/symmetric-switch.wat b/tests/disas/stack-switching/symmetric-switch.wat index 032378e13af1..8cc5e60c0814 100644 --- a/tests/disas/stack-switching/symmetric-switch.wat +++ b/tests/disas/stack-switching/symmetric-switch.wat @@ -28,27 +28,26 @@ ;; function u0:0(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 16, align = 65536 ;; ss1 = explicit_slot 24, align = 256 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 84 "VMContRef+0x58" -;; region3 = 124 "VMStoreContext+0x58" -;; region4 = 66 "VMContRef+0x40" -;; region5 = 229 "VMHostArray+0x8" -;; region6 = 23 "VMCommonStackInformation+0x38" -;; region7 = 126 "VMHostArray+0x0" -;; region8 = 212 "ContinuationStackMemory+0x0" -;; region9 = 182 "VMContRef+0x50" -;; region10 = 20 "VMHostArray+0x4" -;; region11 = 176 "VMCommonStackInformation+0x20" -;; region12 = 108 "VMStoreContext+0x48" -;; region13 = 38 "VMStoreContext+0x40" -;; region14 = 203 "VMStoreContext+0x50" -;; region15 = 89 "VMStackLimits+0x8" -;; region16 = 150 "VMStackLimits+0x10" -;; region17 = 232 "VMStackLimits+0x18" -;; region18 = 180 "VMStackLimits+0x0" -;; region19 = 151 "VMContRef+0x60" -;; region20 = 48 "Stack(ss1)" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 206 "" +;; region3 = 106 "" +;; region4 = 225 "" +;; region5 = 214 "" +;; region6 = 13 "" +;; region7 = 82 "" +;; region8 = 55 "" +;; region9 = 153 "" +;; region10 = 118 "" +;; region11 = 255 "" +;; region12 = 231 "" +;; region13 = 243 "" +;; region14 = 209 "" +;; region15 = 23 "" +;; region16 = 224 "" +;; region17 = 179 "" +;; region18 = 211 "" +;; region19 = 240 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -150,7 +149,7 @@ ;; @003e v63 = load.i64 notrap aligned region14 v58+80 ;; @003e store notrap aligned region15 v61, v60+8 ;; @003e store notrap aligned region16 v62, v60+16 -;; @003e store notrap aligned region17 v63, v60+24 +;; @003e store notrap aligned region6 v63, v60+24 ;; @003e v64 = load.i64 notrap aligned region2 v27+88 ;; @003e v65 = uextend.i128 v27 ;; @003e v66 = uextend.i128 v64 @@ -208,35 +207,35 @@ ;; @003e store.i64 notrap aligned region3 v14, v102+96 ;; @003e v103 = iconst.i64 0 ;; @003e v104 = iadd v98, v103 ; v103 = 0 -;; @003e v105 = load.i64 notrap aligned region18 v104 +;; @003e v105 = load.i64 notrap aligned region17 v104 ;; @003e store notrap aligned region1 v105, v58+24 ;; @003e v106 = load.i64 notrap aligned region15 v104+8 ;; @003e store notrap aligned region12 v106, v58+72 ;; @003e v107 = load.i64 notrap aligned region16 v104+16 ;; @003e store notrap aligned region13 v107, v58+64 -;; @003e v108 = load.i64 notrap aligned region17 v104+24 +;; @003e v108 = load.i64 notrap aligned region6 v104+24 ;; @003e store notrap aligned region14 v108, v58+80 ;; @003e v109 = iconst.i64 96 ;; @003e v110 = iadd.i64 v29, v109 ; v109 = 96 -;; @003e v111 = load.i64 notrap aligned region19 v110 +;; @003e v111 = load.i64 notrap aligned region18 v110 ;; @003e v112 = iconst.i64 -24 ;; @003e v113 = iadd v111, v112 ; v112 = -24 ;; @003e v114 = iconst.i64 96 ;; @003e v115 = iadd v100, v114 ; v114 = 96 -;; @003e v116 = load.i64 notrap aligned region19 v115 +;; @003e v116 = load.i64 notrap aligned region18 v115 ;; @003e v117 = iconst.i64 -24 ;; @003e v118 = iadd v116, v117 ; v117 = -24 ;; @003e v119 = stack_addr.i64 ss1 ;; @003e v120 = load.i64 notrap aligned region8 v118 -;; @003e store notrap aligned region20 v120, v119 +;; @003e store notrap aligned region19 v120, v119 ;; @003e v121 = load.i64 notrap aligned region8 v113 ;; @003e store notrap aligned region8 v121, v118 ;; @003e v122 = load.i64 notrap aligned region8 v118+8 -;; @003e store notrap aligned region20 v122, v119+8 +;; @003e store notrap aligned region19 v122, v119+8 ;; @003e v123 = load.i64 notrap aligned region8 v113+8 ;; @003e store notrap aligned region8 v123, v118+8 ;; @003e v124 = load.i64 notrap aligned region8 v118+16 -;; @003e store notrap aligned region20 v124, v119+16 +;; @003e store notrap aligned region19 v124, v119+16 ;; @003e v125 = load.i64 notrap aligned region8 v113+16 ;; @003e store notrap aligned region8 v125, v118+16 ;; @003e v126 = iconst.i64 3 @@ -282,8 +281,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i128) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -298,26 +297,25 @@ ;; ;; function u0:2(i64 vmctx, i64) tail { ;; ss0 = explicit_slot 8, align = 256 -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 84 "VMContRef+0x58" -;; region3 = 182 "VMContRef+0x50" -;; region4 = 124 "VMStoreContext+0x58" -;; region5 = 66 "VMContRef+0x40" -;; region6 = 176 "VMCommonStackInformation+0x20" -;; region7 = 108 "VMStoreContext+0x48" -;; region8 = 38 "VMStoreContext+0x40" -;; region9 = 203 "VMStoreContext+0x50" -;; region10 = 89 "VMStackLimits+0x8" -;; region11 = 150 "VMStackLimits+0x10" -;; region12 = 232 "VMStackLimits+0x18" -;; region13 = 180 "VMStackLimits+0x0" -;; region14 = 20 "VMHostArray+0x4" -;; region15 = 229 "VMHostArray+0x8" -;; region16 = 212 "ContinuationStackMemory+0x0" -;; region17 = 126 "VMHostArray+0x0" -;; region18 = 23 "VMCommonStackInformation+0x38" -;; region19 = 151 "VMContRef+0x60" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 206 "" +;; region3 = 153 "" +;; region4 = 106 "" +;; region5 = 225 "" +;; region6 = 255 "" +;; region7 = 231 "" +;; region8 = 243 "" +;; region9 = 209 "" +;; region10 = 23 "" +;; region11 = 224 "" +;; region12 = 13 "" +;; region13 = 179 "" +;; region14 = 118 "" +;; region15 = 214 "" +;; region16 = 55 "" +;; region17 = 82 "" +;; region18 = 211 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -410,13 +408,13 @@ ;; @004b store notrap aligned region16 v52, v54 ;; @004b store notrap aligned region17 v53, v48 ; v53 = 1 ;; @004b v55 = iconst.i32 0 -;; @004b store notrap aligned region18 v55, v26+56 ; v55 = 0 +;; @004b store notrap aligned region12 v55, v26+56 ; v55 = 0 ;; @004b v56 = iconst.i64 1 ;; @004b v57 = iconst.i64 32 ;; @004b v58 = ishl v56, v57 ; v56 = 1, v57 = 32 ;; @004b v59 = iconst.i64 96 ;; @004b v60 = iadd v23, v59 ; v59 = 96 -;; @004b v61 = load.i64 notrap aligned region19 v60 +;; @004b v61 = load.i64 notrap aligned region18 v60 ;; @004b v62 = iconst.i64 -24 ;; @004b v63 = iadd v61, v62 ; v62 = -24 ;; @004b v64 = stack_switch v63, v63, v58 @@ -434,7 +432,7 @@ ;; @004b store notrap aligned region14 v71, v48+4 ; v71 = 0 ;; @004b v72 = iconst.i64 0 ;; @004b store notrap aligned region15 v72, v48+8 ; v72 = 0 -;; @004b store notrap aligned region18 v27, v26+56 ; v27 = 0 +;; @004b store notrap aligned region12 v27, v26+56 ; v27 = 0 ;; @004b brif v64, block6, block3 ;; ;; block6: diff --git a/tests/disas/startup-data-active.wat b/tests/disas/startup-data-active.wat index 03950b3e4d58..d07e1612d99e 100644 --- a/tests/disas/startup-data-active.wat +++ b/tests/disas/startup-data-active.wat @@ -9,11 +9,11 @@ (data (i32.const 1) "hi") ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 15 "VMContext+0x8" -;; region1 = 108 "VMStoreContext+0x48" -;; region2 = 38 "VMStoreContext+0x40" -;; region3 = 203 "VMStoreContext+0x50" -;; region4 = 99 "VMStoreContext+0x88" +;; region0 = 123 "" +;; region1 = 231 "" +;; region2 = 243 "" +;; region3 = 209 "" +;; region4 = 68 "" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -42,10 +42,10 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 192 "VMContext+0x70" -;; region1 = 7 "VMContext+0x78" -;; region2 = 213 "VMMemoryDefinition+0x8" -;; region3 = 193 "VMMemoryDefinition+0x0" +;; region0 = 174 "" +;; region1 = 10 "" +;; region2 = 105 "" +;; region3 = 215 "" ;; sig0 = (i64 vmctx, i64, i64, i64) tail ;; fn0 = colocated u805306368:1 sig0 ;; diff --git a/tests/disas/startup-elem-active.wat b/tests/disas/startup-elem-active.wat index 2c1b2cf28b8e..c6f17ae3d8f9 100644 --- a/tests/disas/startup-elem-active.wat +++ b/tests/disas/startup-elem-active.wat @@ -13,11 +13,11 @@ ) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 15 "VMContext+0x8" -;; region1 = 108 "VMStoreContext+0x48" -;; region2 = 38 "VMStoreContext+0x40" -;; region3 = 203 "VMStoreContext+0x50" -;; region4 = 99 "VMStoreContext+0x88" +;; region0 = 123 "" +;; region1 = 231 "" +;; region2 = 243 "" +;; region3 = 209 "" +;; region4 = 68 "" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -46,9 +46,9 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 44 "VMTableDefinition+0x0" -;; region1 = 32 "VMTableDefinition+0x8" -;; region2 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 93 "" +;; region1 = 211 "" +;; region2 = 117 "" ;; ;; block0(v0: i64, v1: i64): ;; v4 = load.i64 notrap aligned region1 v0+56 diff --git a/tests/disas/startup-global.wat b/tests/disas/startup-global.wat index 33612c35858c..24e0a26a2fac 100644 --- a/tests/disas/startup-global.wat +++ b/tests/disas/startup-global.wat @@ -6,11 +6,11 @@ (global i64 i64.const 0 i64.const 0 i64.add) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 15 "VMContext+0x8" -;; region1 = 108 "VMStoreContext+0x48" -;; region2 = 38 "VMStoreContext+0x40" -;; region3 = 203 "VMStoreContext+0x50" -;; region4 = 99 "VMStoreContext+0x88" +;; region0 = 123 "" +;; region1 = 231 "" +;; region2 = 243 "" +;; region3 = 209 "" +;; region4 = 68 "" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -39,7 +39,7 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 250 "" ;; ;; block0(v0: i64, v1: i64): ;; v2 = iconst.i64 0 diff --git a/tests/disas/startup-passive-segment.wat b/tests/disas/startup-passive-segment.wat index 22f1d52adcdd..88c37ea6ba8c 100644 --- a/tests/disas/startup-passive-segment.wat +++ b/tests/disas/startup-passive-segment.wat @@ -7,11 +7,11 @@ (elem (ref i31) (item (ref.i31 (i32.const 0))) (item (ref.i31 (i32.const 1)))) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 15 "VMContext+0x8" -;; region1 = 108 "VMStoreContext+0x48" -;; region2 = 38 "VMStoreContext+0x40" -;; region3 = 203 "VMStoreContext+0x50" -;; region4 = 99 "VMStoreContext+0x88" +;; region0 = 123 "" +;; region1 = 231 "" +;; region2 = 243 "" +;; region3 = 209 "" +;; region4 = 68 "" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -40,7 +40,7 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 66 "ElementSegment" +;; region0 = 191 "" ;; sig0 = (i64 vmctx, i32) -> i64 tail ;; fn0 = colocated u805306368:4 sig0 ;; diff --git a/tests/disas/startup-start.wat b/tests/disas/startup-start.wat index 6b2810dd9204..7fedb1a17d4e 100644 --- a/tests/disas/startup-start.wat +++ b/tests/disas/startup-start.wat @@ -7,11 +7,11 @@ (start $f) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 15 "VMContext+0x8" -;; region1 = 108 "VMStoreContext+0x48" -;; region2 = 38 "VMStoreContext+0x40" -;; region3 = 203 "VMStoreContext+0x50" -;; region4 = 99 "VMStoreContext+0x88" +;; region0 = 123 "" +;; region1 = 231 "" +;; region2 = 243 "" +;; region3 = 209 "" +;; region4 = 68 "" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; diff --git a/tests/disas/startup-table-initial-value.wat b/tests/disas/startup-table-initial-value.wat index 0bae6b517ab8..c7e61fe2b919 100644 --- a/tests/disas/startup-table-initial-value.wat +++ b/tests/disas/startup-table-initial-value.wat @@ -7,11 +7,11 @@ (table 10 (ref i31) (ref.i31 (i32.const 0))) ) ;; function u2415919104:1(i64 vmctx, i64, i64, i64) -> i8 system_v { -;; region0 = 15 "VMContext+0x8" -;; region1 = 108 "VMStoreContext+0x48" -;; region2 = 38 "VMStoreContext+0x40" -;; region3 = 203 "VMStoreContext+0x50" -;; region4 = 99 "VMStoreContext+0x88" +;; region0 = 123 "" +;; region1 = 231 "" +;; region2 = 243 "" +;; region3 = 209 "" +;; region4 = 68 "" ;; sig0 = (i64 vmctx, i64) tail ;; fn0 = colocated u2415919104:0 sig0 ;; @@ -40,9 +40,9 @@ ;; } ;; ;; function u2415919104:0(i64 vmctx, i64) tail { -;; region0 = 44 "VMTableDefinition+0x0" -;; region1 = 32 "VMTableDefinition+0x8" -;; region2 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" +;; region0 = 93 "" +;; region1 = 211 "" +;; region2 = 117 "" ;; ;; block0(v0: i64, v1: i64): ;; v9 = load.i64 notrap aligned region1 v0+56 diff --git a/tests/disas/sub-global.wat b/tests/disas/sub-global.wat index cecff327c4af..52b447e2d0ed 100644 --- a/tests/disas/sub-global.wat +++ b/tests/disas/sub-global.wat @@ -13,9 +13,9 @@ ) ;; function u0:0(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-copy.wat b/tests/disas/table-copy.wat index 81eed74a9d77..589b13ff94cb 100644 --- a/tests/disas/table-copy.wat +++ b/tests/disas/table-copy.wat @@ -24,8 +24,8 @@ table.copy $u $t)) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -39,8 +39,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -54,8 +54,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -69,12 +69,12 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 33 "VMTableImport+0x0" -;; region3 = 44 "VMTableDefinition+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 21 "" +;; region3 = 93 "" +;; region4 = 211 "" +;; region5 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -209,12 +209,12 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 33 "VMTableImport+0x0" -;; region4 = 32 "VMTableDefinition+0x8" -;; region5 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 21 "" +;; region4 = 211 "" +;; region5 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-get-fixed-size.wat b/tests/disas/table-get-fixed-size.wat index 40e9dddd45c0..4bb1b5a3c4c1 100644 --- a/tests/disas/table-get-fixed-size.wat +++ b/tests/disas/table-get-fixed-size.wat @@ -16,10 +16,10 @@ table.get 0)) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -44,10 +44,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-get.wat b/tests/disas/table-get.wat index 80b1085b06b5..737ae283c8eb 100644 --- a/tests/disas/table-get.wat +++ b/tests/disas/table-get.wat @@ -15,11 +15,11 @@ table.get 0)) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,11 +45,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-set-fixed-size.wat b/tests/disas/table-set-fixed-size.wat index d53e90271fce..c05beeea1d70 100644 --- a/tests/disas/table-set-fixed-size.wat +++ b/tests/disas/table-set-fixed-size.wat @@ -17,10 +17,10 @@ local.get 1 table.set 0)) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,10 +45,10 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/table-set.wat b/tests/disas/table-set.wat index 43ebc985ae65..e5a007c29ef7 100644 --- a/tests/disas/table-set.wat +++ b/tests/disas/table-set.wat @@ -17,11 +17,11 @@ table.set 0)) ;; function u0:0(i64 vmctx, i64, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -47,11 +47,11 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 32 "VMTableDefinition+0x8" -;; region4 = 156 "PublicTable" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 211 "" +;; region4 = 99 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/typed-funcrefs-eager-init.wat b/tests/disas/typed-funcrefs-eager-init.wat index b2a7f7f7013f..ca91705e8354 100644 --- a/tests/disas/typed-funcrefs-eager-init.wat +++ b/tests/disas/typed-funcrefs-eager-init.wat @@ -114,8 +114,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -129,12 +129,12 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 170 "VMFuncRef+0x8" -;; region5 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 116 "" +;; region5 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -163,12 +163,12 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 170 "VMFuncRef+0x8" -;; region5 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 116 "" +;; region5 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -197,12 +197,12 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 170 "VMFuncRef+0x8" -;; region4 = 18 "VMFuncRef+0x18" -;; region5 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" +;; region3 = 116 "" +;; region4 = 60 "" +;; region5 = 135 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/typed-funcrefs.wat b/tests/disas/typed-funcrefs.wat index bc81e4ca63ec..1235c5de9fae 100644 --- a/tests/disas/typed-funcrefs.wat +++ b/tests/disas/typed-funcrefs.wat @@ -114,8 +114,8 @@ ) ;; function u0:0(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -129,12 +129,12 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 170 "VMFuncRef+0x8" -;; region5 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 116 "" +;; region5 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -187,12 +187,12 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 44 "VMTableDefinition+0x0" -;; region3 = 189 "DefinedTable(StaticModuleIndex(0), DefinedTableIndex(0))" -;; region4 = 170 "VMFuncRef+0x8" -;; region5 = 18 "VMFuncRef+0x18" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 93 "" +;; region3 = 117 "" +;; region4 = 116 "" +;; region5 = 60 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -245,12 +245,12 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i32, i32, i32, i32) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" -;; region2 = 112 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(0))" -;; region3 = 170 "VMFuncRef+0x8" -;; region4 = 18 "VMFuncRef+0x18" -;; region5 = 20 "DefinedGlobal(StaticModuleIndex(0), DefinedGlobalIndex(1))" +;; region0 = 123 "" +;; region1 = 160 "" +;; region2 = 250 "" +;; region3 = 116 "" +;; region4 = 60 "" +;; region5 = 135 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/unreachable_code.wat b/tests/disas/unreachable_code.wat index aaabe3d42ed8..cc79c8911fbc 100644 --- a/tests/disas/unreachable_code.wat +++ b/tests/disas/unreachable_code.wat @@ -79,8 +79,8 @@ ) ;; function u0:0(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -91,8 +91,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -106,8 +106,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64) -> i32 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -140,8 +140,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64) tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 diff --git a/tests/disas/x64-simd-round-without-sse41.wat b/tests/disas/x64-simd-round-without-sse41.wat index 3292a7f8b137..d597b99277dc 100644 --- a/tests/disas/x64-simd-round-without-sse41.wat +++ b/tests/disas/x64-simd-round-without-sse41.wat @@ -12,8 +12,8 @@ (func $i32x4.trunc_sat_f64x2_u_zero (param v128) (result v128) (i32x4.trunc_sat_f64x2_u_zero (local.get 0))) ) ;; function u0:0(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -45,8 +45,8 @@ ;; } ;; ;; function u0:1(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -78,8 +78,8 @@ ;; } ;; ;; function u0:2(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -111,8 +111,8 @@ ;; } ;; ;; function u0:3(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -144,8 +144,8 @@ ;; } ;; ;; function u0:4(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -171,8 +171,8 @@ ;; } ;; ;; function u0:5(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -198,8 +198,8 @@ ;; } ;; ;; function u0:6(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -225,8 +225,8 @@ ;; } ;; ;; function u0:7(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 @@ -252,8 +252,8 @@ ;; } ;; ;; function u0:8(i64 vmctx, i64, i8x16) -> i8x16 tail { -;; region0 = 15 "VMContext+0x8" -;; region1 = 114 "VMStoreContext+0x18" +;; region0 = 123 "" +;; region1 = 160 "" ;; gv0 = vmctx ;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8 ;; gv2 = load.i64 notrap aligned region1 gv1+24 From 5e005546963b5abc08c04a277d0f6d3e9ce95d77 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Fri, 4 Sep 2026 10:51:45 -0700 Subject: [PATCH 3/3] Fix clippy --- crates/cranelift/src/alias_region.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cranelift/src/alias_region.rs b/crates/cranelift/src/alias_region.rs index 2200038ace1b..3282f36ae27d 100644 --- a/crates/cranelift/src/alias_region.rs +++ b/crates/cranelift/src/alias_region.rs @@ -228,8 +228,8 @@ impl AliasRegionKey { } fn write_u128(&mut self, i: u128) { - self.add(i as u64); - self.add((i >> 64) as u64); + self.add(u64::try_from(i & u128::from(u64::MAX)).unwrap()); + self.add(u64::try_from(i >> 64).unwrap()); } fn write_usize(&mut self, i: usize) {