wasmtime 12.0.1 → 13.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +176 -221
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/cap-net-ext-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/COPYRIGHT +29 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/Cargo.toml +38 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/README.md +24 -0
- data/ext/cargo-vendor/cap-net-ext-2.0.0/src/lib.rs +771 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/lib.rs +184 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/map.rs +922 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/pool.rs +219 -0
- data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/set.rs +597 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/Cargo.toml +164 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/binemit/mod.rs +141 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/binemit/stack_map.rs +155 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/bitset.rs +166 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/context.rs +372 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/incremental_cache.rs +256 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/atomic_rmw_op.rs +104 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/condcodes.rs +404 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/constant.rs +463 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/dfg.rs +1686 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/dynamic_type.rs +55 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/entities.rs +567 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/extfunc.rs +411 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/extname.rs +333 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/function.rs +475 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/globalvalue.rs +155 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/immediates.rs +1615 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/instructions.rs +1000 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/jumptable.rs +168 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/known_symbol.rs +47 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/libcall.rs +232 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/memflags.rs +279 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/mod.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/sourceloc.rs +117 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/stackslot.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/table.rs +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/trapcode.rs +144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/types.rs +630 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/abi.rs +1573 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/args.rs +747 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/emit.rs +3911 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/emit_tests.rs +7951 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/mod.rs +3049 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst.isle +4173 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower/isle.rs +871 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower.isle +2889 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower.rs +132 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower_dynamic_neon.isle +98 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/call_conv.rs +119 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/abi.rs +981 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/args.rs +1900 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/emit.rs +3203 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/encode.rs +326 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/imms.rs +236 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/mod.rs +2162 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/vector.rs +1059 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst.isle +3092 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst_vector.isle +1887 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/lower/isle.rs +620 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/lower.isle +2119 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/abi.rs +949 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/inst/mod.rs +3430 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/inst.isle +5043 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/lower.isle +3982 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind/systemv.rs +272 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind/winx64.rs +334 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind.rs +182 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/abi.rs +1200 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/encoding/evex.rs +749 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/encoding/rex.rs +589 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/args.rs +2188 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/emit.rs +4300 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/emit_tests.rs +5474 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/mod.rs +2763 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst.isle +5110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower/isle.rs +1096 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower.isle +4675 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower.rs +340 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isle_prelude.rs +899 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/legalizer/mod.rs +356 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/lib.rs +107 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/abi.rs +2644 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/buffer.rs +2362 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/isle.rs +846 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/mod.rs +553 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/reg.rs +556 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/vcode.rs +1646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/bitops.isle +147 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/cprop.isle +200 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/extends.isle +34 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/icmp.isle +177 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/selects.isle +59 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/vector.isle +88 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/prelude.isle +603 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/prelude_lower.isle +1029 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/value_label.rs +32 -0
- data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/verifier/mod.rs +1986 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/Cargo.toml +26 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/constant_hash.rs +63 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/gen_inst.rs +1784 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/shared/instructions.rs +3810 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/src/lib.rs +12 -0
- data/ext/cargo-vendor/cranelift-control-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.100.0/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/lib.rs +316 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/list.rs +955 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/packed_option.rs +171 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/primary.rs +456 -0
- data/ext/cargo-vendor/cranelift-entity-0.100.0/src/sparse.rs +368 -0
- data/ext/cargo-vendor/cranelift-frontend-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.100.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/cranelift-frontend-0.100.0/src/lib.rs +191 -0
- data/ext/cargo-vendor/cranelift-isle-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.100.0/Cargo.toml +37 -0
- data/ext/cargo-vendor/cranelift-native-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.100.0/Cargo.toml +38 -0
- data/ext/cargo-vendor/cranelift-native-0.100.0/src/lib.rs +190 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/Cargo.toml +92 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/code_translator.rs +3641 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/environ/dummy.rs +942 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/environ/spec.rs +949 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/func_translator.rs +432 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/heap.rs +108 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/lib.rs +64 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/sections_translator.rs +408 -0
- data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/translation_utils.rs +97 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/CHANGELOG.md +39 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/Cargo.toml +29 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/README.md +16 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/src/lib.rs +2808 -0
- data/ext/cargo-vendor/fallible-iterator-0.3.0/src/test.rs +477 -0
- data/ext/cargo-vendor/serde-1.0.188/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde-1.0.188/Cargo.toml +69 -0
- data/ext/cargo-vendor/serde-1.0.188/build.rs +90 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/ignored_any.rs +238 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/impls.rs +2966 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/mod.rs +2290 -0
- data/ext/cargo-vendor/serde-1.0.188/src/de/value.rs +1708 -0
- data/ext/cargo-vendor/serde-1.0.188/src/integer128.rs +9 -0
- data/ext/cargo-vendor/serde-1.0.188/src/lib.rs +327 -0
- data/ext/cargo-vendor/serde-1.0.188/src/macros.rs +231 -0
- data/ext/cargo-vendor/serde-1.0.188/src/ser/fmt.rs +170 -0
- data/ext/cargo-vendor/serde-1.0.188/src/ser/impls.rs +998 -0
- data/ext/cargo-vendor/serde-1.0.188/src/ser/mod.rs +1952 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/Cargo.toml +59 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/src/lib.rs +102 -0
- data/ext/cargo-vendor/serde_derive-1.0.188/src/ser.rs +1359 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/Cargo.toml +96 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/src/lib.rs +161 -0
- data/ext/cargo-vendor/wasi-common-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-13.0.0/Cargo.toml +87 -0
- data/ext/cargo-vendor/wasm-encoder-0.32.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.32.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.32.0/src/component/types.rs +769 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/builder.rs +449 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/exports.rs +127 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/imports.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/types.rs +769 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/code.rs +2913 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/data.rs +185 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/elements.rs +220 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/globals.rs +90 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/imports.rs +142 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/memories.rs +99 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/names.rs +265 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/producers.rs +180 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/tables.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/types.rs +372 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.33.1/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/limits.rs +58 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/readers/component/types.rs +542 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/readers/core/types.rs +1303 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/component.rs +3120 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/core.rs +1352 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/types.rs +3239 -0
- data/ext/cargo-vendor/wasmparser-0.112.0/src/validator.rs +1569 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/lib.rs +726 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/limits.rs +58 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/component/types.rs +542 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core/dylink0.rs +132 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core/types.rs +1303 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/component.rs +3120 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/core.rs +1352 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/operators.rs +3466 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/types.rs +3239 -0
- data/ext/cargo-vendor/wasmparser-0.113.1/src/validator.rs +1595 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/Cargo.toml +39 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/src/lib.rs +2965 -0
- data/ext/cargo-vendor/wasmprinter-0.2.66/src/operator.rs +873 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/Cargo.toml +191 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/component.rs +474 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/func/typed.rs +2297 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/instance.rs +793 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/linker.rs +483 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/mod.rs +344 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/types.rs +523 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/component/values.rs +1272 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/config.rs +2313 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/engine/serialization.rs +657 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/engine.rs +790 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/instance.rs +884 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/limits.rs +398 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/module.rs +1349 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/store.rs +2246 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/trampoline/memory.rs +255 -0
- data/ext/cargo-vendor/wasmtime-13.0.0/src/trampoline.rs +76 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-13.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/Cargo.toml +72 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/config.rs +584 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/worker/tests.rs +758 -0
- data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/worker.rs +894 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/src/bindgen.rs +387 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/tests/codegen/resources-import.wit +87 -0
- data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/tests/codegen/variants.wit +136 -0
- data/ext/cargo-vendor/wasmtime-component-util-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-13.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/Cargo.toml +97 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/builder.rs +123 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/compiler.rs +1301 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/debug/transform/attr.rs +340 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/debug.rs +18 -0
- data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/func_environ.rs +2589 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-13.0.0/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/Cargo.lock +711 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/Cargo.toml +118 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/address_map.rs +192 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/builtin.rs +143 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/compilation.rs +403 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/compiler.rs +47 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/info.rs +583 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/types.rs +1866 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/fact/trampoline.rs +3229 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/fact/transcode.rs +168 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/lib.rs +59 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module.rs +1083 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module_environ.rs +876 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module_types.rs +78 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/stack_map.rs +36 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/tunables.rs +115 -0
- data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/vmoffsets.rs +919 -0
- data/ext/cargo-vendor/wasmtime-fiber-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-13.0.0/Cargo.toml +51 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/Cargo.toml +106 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/instantiate.rs +760 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/lib.rs +21 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/miri.rs +15 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/systemv.rs +90 -0
- data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/winx64.rs +44 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-13.0.0/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-13.0.0/Cargo.toml +37 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/Cargo.toml +122 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/on_demand.rs +154 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/index_allocator.rs +684 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/memory_pool.rs +460 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/stack_pool.rs +242 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/table_pool.rs +221 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling.rs +633 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator.rs +686 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance.rs +1382 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/lib.rs +276 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/libcalls.rs +775 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/memory.rs +958 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/parking_spot.rs +520 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/table.rs +598 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/trampolines/s390x.S +70 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/traphandlers/macos.rs +486 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/traphandlers.rs +815 -0
- data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/vmcontext.rs +1197 -0
- data/ext/cargo-vendor/wasmtime-types-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-13.0.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-13.0.0/src/lib.rs +504 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-13.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/Cargo.toml +232 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/lib.rs +135 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/command.rs +121 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/ctx.rs +351 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/filesystem.rs +277 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/clocks.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/env.rs +15 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/exit.rs +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/filesystem/sync.rs +645 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/filesystem.rs +1167 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/instance_network.rs +11 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/io.rs +553 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/mod.rs +10 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/network.rs +186 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/tcp.rs +511 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/tcp_create_socket.rs +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/mod.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/network.rs +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/pipe.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/preview1.rs +2078 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio/unix.rs +160 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio/worker_thread_stdin.rs +140 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio.rs +354 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stream.rs +347 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/table.rs +293 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/tcp.rs +280 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/command-extended.wit +39 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/command.wit +33 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/environment.wit +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/exit.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/run.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/terminal.wit +59 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/preopens.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/types.wit +824 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/world.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/http/proxy.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/http/types.wit +155 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/io/streams.wit +300 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/logging/logging.wit +37 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/ip-name-lookup.wit +69 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/network.wit +187 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/tcp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/tcp.wit +268 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/udp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/udp.wit +220 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/main.wit +33 -0
- data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/test.wit +41 -0
- data/ext/cargo-vendor/wasmtime-winch-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-13.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/lib.rs +1953 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/rust.rs +490 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/types.rs +194 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/src/lib.rs +404 -0
- data/ext/cargo-vendor/wast-65.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-65.0.1/Cargo.toml +50 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/binary.rs +1021 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/expand.rs +875 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/resolve.rs +1005 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/types.rs +991 -0
- data/ext/cargo-vendor/wast-65.0.1/src/component/wast.rs +160 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/binary.rs +1241 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/expr.rs +2021 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/table.rs +288 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/types.rs +847 -0
- data/ext/cargo-vendor/wast-65.0.1/src/core/wast.rs +256 -0
- data/ext/cargo-vendor/wast-65.0.1/src/lib.rs +536 -0
- data/ext/cargo-vendor/wat-1.0.73/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.0.73/Cargo.toml +27 -0
- data/ext/cargo-vendor/wiggle-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-13.0.0/Cargo.toml +106 -0
- data/ext/cargo-vendor/wiggle-13.0.0/src/lib.rs +1198 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/Cargo.toml +58 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/src/config.rs +663 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/src/types/record.rs +132 -0
- data/ext/cargo-vendor/wiggle-generate-13.0.0/src/wasmtime.rs +170 -0
- data/ext/cargo-vendor/wiggle-macro-13.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-13.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-13.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/Cargo.toml +62 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/abi/mod.rs +269 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/call.rs +219 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/context.rs +423 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/control.rs +456 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/mod.rs +337 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/abi.rs +260 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/address.rs +144 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/asm.rs +250 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/masm.rs +357 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/regs.rs +177 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/reg.rs +73 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/abi.rs +390 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/address.rs +34 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/asm.rs +847 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/masm.rs +659 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/mod.rs +148 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/regs.rs +233 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/masm.rs +465 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/regalloc.rs +73 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/regset.rs +118 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/stack.rs +338 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/trampoline.rs +489 -0
- data/ext/cargo-vendor/winch-codegen-0.11.0/src/visitor.rs +736 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/Cargo.toml +70 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/abi.rs +241 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/ast/lex.rs +714 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/ast/resolve.rs +1418 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/ast.rs +1361 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/lib.rs +711 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/live.rs +111 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/resolve.rs +1757 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/serde_.rs +108 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/src/sizealign.rs +144 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/all.rs +190 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/comments.wit.json +46 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/complex-include.wit.json +168 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/cross-package-resource.wit.json +67 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/diamond1.wit.json +55 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/disambiguate-diamond.wit.json +107 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/embedded.wit.md.json +40 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/empty.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/foreign-deps-union.wit.json +380 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/foreign-deps.wit.json +344 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/functions.wit.json +166 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/ignore-files-deps.wit.json +39 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/include-reps.wit.json +60 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/kebab-name-include-with.wit.json +70 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/many-names.wit.json +40 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/multi-file.wit.json +298 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/name-both-resource-and-type.wit.json +89 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax1.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax3.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax4.wit.json +12 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs/a.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs/b.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/random.wit +27 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/random.wit.json +64 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-empty.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple-returns-borrow.wit.json +74 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple-returns-own.wit.json +83 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple.wit.json +281 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-return-borrow.wit.json +69 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-return-own.wit.json +78 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources.wit.json +340 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources1.wit.json +96 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/shared-types.wit.json +83 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/stress-export-elaborate.wit.json +1136 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/type-then-eof.wit.json +32 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/types.wit +58 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/types.wit.json +751 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/union-fuzz-1.wit.json +35 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/use-chain.wit.json +53 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/use.wit.json +172 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/versions.wit.json +91 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/wasi.wit.json +296 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-diamond.wit +23 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-diamond.wit.json +118 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-iface-no-collide.wit.json +66 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import1.wit.json +75 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import2.wit.json +70 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import3.wit.json +71 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-same-fields4.wit.json +76 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-top-level-funcs.wit.json +86 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-top-level-resources.wit.json +240 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/worlds-union-dedup.wit.json +100 -0
- data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/worlds-with-types.wit.json +202 -0
- data/ext/src/ruby_api/wasi_ctx_builder.rs +8 -8
- data/lib/wasmtime/version.rb +1 -1
- metadata +1627 -1813
- data/ext/cargo-vendor/addr2line-0.20.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/addr2line-0.20.0/CHANGELOG.md +0 -321
- data/ext/cargo-vendor/addr2line-0.20.0/Cargo.lock +0 -548
- data/ext/cargo-vendor/addr2line-0.20.0/Cargo.toml +0 -145
- data/ext/cargo-vendor/addr2line-0.20.0/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/addr2line-0.20.0/README.md +0 -48
- data/ext/cargo-vendor/addr2line-0.20.0/bench.plot.r +0 -23
- data/ext/cargo-vendor/addr2line-0.20.0/benchmark.sh +0 -112
- data/ext/cargo-vendor/addr2line-0.20.0/coverage.sh +0 -5
- data/ext/cargo-vendor/addr2line-0.20.0/examples/addr2line.rs +0 -306
- data/ext/cargo-vendor/addr2line-0.20.0/rustfmt.toml +0 -1
- data/ext/cargo-vendor/addr2line-0.20.0/src/builtin_split_dwarf_loader.rs +0 -164
- data/ext/cargo-vendor/addr2line-0.20.0/src/function.rs +0 -555
- data/ext/cargo-vendor/addr2line-0.20.0/src/lazy.rs +0 -31
- data/ext/cargo-vendor/addr2line-0.20.0/src/lib.rs +0 -1729
- data/ext/cargo-vendor/addr2line-0.20.0/tests/correctness.rs +0 -126
- data/ext/cargo-vendor/addr2line-0.20.0/tests/output_equivalence.rs +0 -135
- data/ext/cargo-vendor/addr2line-0.20.0/tests/parse.rs +0 -114
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/lib.rs +0 -198
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/map.rs +0 -923
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/pool.rs +0 -220
- data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/set.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/Cargo.toml +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/binemit/mod.rs +0 -141
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/binemit/stack_map.rs +0 -152
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/bitset.rs +0 -163
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/context.rs +0 -368
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/incremental_cache.rs +0 -256
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/atomic_rmw_op.rs +0 -104
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/condcodes.rs +0 -404
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/constant.rs +0 -463
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/dfg.rs +0 -1686
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/dynamic_type.rs +0 -55
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/entities.rs +0 -567
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/extfunc.rs +0 -411
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/extname.rs +0 -333
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/function.rs +0 -469
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/globalvalue.rs +0 -155
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/immediates.rs +0 -1615
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/instructions.rs +0 -1000
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/jumptable.rs +0 -168
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/known_symbol.rs +0 -47
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/libcall.rs +0 -232
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/memflags.rs +0 -279
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/mod.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/sourceloc.rs +0 -117
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/stackslot.rs +0 -216
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/table.rs +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/trapcode.rs +0 -144
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/types.rs +0 -630
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/abi.rs +0 -1543
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/args.rs +0 -741
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/emit.rs +0 -3919
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/emit_tests.rs +0 -7897
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/mod.rs +0 -3039
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst.isle +0 -4048
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower/isle.rs +0 -873
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower.isle +0 -2907
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower.rs +0 -702
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower_dynamic_neon.isle +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/call_conv.rs +0 -119
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/abi.rs +0 -985
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/args.rs +0 -1812
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/emit.rs +0 -3254
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/encode.rs +0 -281
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/imms.rs +0 -250
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/mod.rs +0 -2125
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/vector.rs +0 -939
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst.isle +0 -2972
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst_vector.isle +0 -1650
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower/isle.rs +0 -620
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower.isle +0 -2002
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/abi.rs +0 -948
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/inst/mod.rs +0 -3426
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/inst.isle +0 -5043
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/lower.isle +0 -3983
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind/systemv.rs +0 -272
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind/winx64.rs +0 -334
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind.rs +0 -182
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/abi.rs +0 -1204
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/encoding/evex.rs +0 -749
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/encoding/rex.rs +0 -588
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/args.rs +0 -2193
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/emit.rs +0 -4298
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/emit_tests.rs +0 -5678
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/mod.rs +0 -2759
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst.isle +0 -5079
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower/isle.rs +0 -1096
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower.isle +0 -4651
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower.rs +0 -340
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isle_prelude.rs +0 -894
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/legalizer/mod.rs +0 -346
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/lib.rs +0 -140
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/abi.rs +0 -2641
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/buffer.rs +0 -2365
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/isle.rs +0 -837
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/mod.rs +0 -551
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/reg.rs +0 -556
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/vcode.rs +0 -1591
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/bitops.isle +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/cprop.isle +0 -200
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/extends.isle +0 -41
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/icmp.isle +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/selects.isle +0 -63
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/vector.isle +0 -8
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/prelude.isle +0 -594
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/prelude_lower.isle +0 -1024
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/value_label.rs +0 -32
- data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/verifier/mod.rs +0 -1884
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/Cargo.toml +0 -26
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/constant_hash.rs +0 -64
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/gen_inst.rs +0 -1785
- data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/shared/instructions.rs +0 -3847
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/src/lib.rs +0 -26
- data/ext/cargo-vendor/cranelift-control-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.99.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.99.1/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/lib.rs +0 -330
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/list.rs +0 -955
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/packed_option.rs +0 -171
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/primary.rs +0 -456
- data/ext/cargo-vendor/cranelift-entity-0.99.1/src/sparse.rs +0 -368
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-frontend-0.99.1/src/lib.rs +0 -204
- data/ext/cargo-vendor/cranelift-isle-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.99.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-native-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.99.1/Cargo.toml +0 -38
- data/ext/cargo-vendor/cranelift-native-0.99.1/src/lib.rs +0 -204
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/Cargo.toml +0 -85
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/code_translator.rs +0 -3608
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/dummy.rs +0 -942
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/spec.rs +0 -913
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/func_translator.rs +0 -431
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/heap.rs +0 -99
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/lib.rs +0 -78
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/sections_translator.rs +0 -420
- data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/translation_utils.rs +0 -99
- data/ext/cargo-vendor/env_logger-0.10.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/env_logger-0.10.0/Cargo.lock +0 -254
- data/ext/cargo-vendor/env_logger-0.10.0/Cargo.toml +0 -129
- data/ext/cargo-vendor/env_logger-0.10.0/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/env_logger-0.10.0/README.md +0 -183
- data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_default_format.rs +0 -40
- data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_format.rs +0 -54
- data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_logger.rs +0 -62
- data/ext/cargo-vendor/env_logger-0.10.0/examples/default.rs +0 -38
- data/ext/cargo-vendor/env_logger-0.10.0/examples/direct_logger.rs +0 -39
- data/ext/cargo-vendor/env_logger-0.10.0/examples/filters_from_code.rs +0 -20
- data/ext/cargo-vendor/env_logger-0.10.0/examples/in_tests.rs +0 -54
- data/ext/cargo-vendor/env_logger-0.10.0/examples/syslog_friendly_format.rs +0 -24
- data/ext/cargo-vendor/env_logger-0.10.0/src/filter/mod.rs +0 -868
- data/ext/cargo-vendor/env_logger-0.10.0/src/filter/regex.rs +0 -29
- data/ext/cargo-vendor/env_logger-0.10.0/src/filter/string.rs +0 -24
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/extern_impl.rs +0 -118
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/mod.rs +0 -11
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/shim_impl.rs +0 -5
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/mod.rs +0 -652
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/atty.rs +0 -33
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/mod.rs +0 -253
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/extern_impl.rs +0 -532
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/mod.rs +0 -12
- data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/shim_impl.rs +0 -72
- data/ext/cargo-vendor/env_logger-0.10.0/src/lib.rs +0 -1311
- data/ext/cargo-vendor/env_logger-0.10.0/tests/init-twice-retains-filter.rs +0 -40
- data/ext/cargo-vendor/env_logger-0.10.0/tests/log-in-log.rs +0 -39
- data/ext/cargo-vendor/env_logger-0.10.0/tests/log_tls_dtors.rs +0 -66
- data/ext/cargo-vendor/env_logger-0.10.0/tests/regexp_filter.rs +0 -57
- data/ext/cargo-vendor/fallible-iterator-0.2.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/fallible-iterator-0.2.0/CHANGELOG.md +0 -26
- data/ext/cargo-vendor/fallible-iterator-0.2.0/Cargo.toml +0 -27
- data/ext/cargo-vendor/fallible-iterator-0.2.0/README.md +0 -15
- data/ext/cargo-vendor/fallible-iterator-0.2.0/src/lib.rs +0 -2606
- data/ext/cargo-vendor/fallible-iterator-0.2.0/src/test.rs +0 -455
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +0 -36
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/README.md +0 -25
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +0 -12
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +0 -200
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +0 -323
- data/ext/cargo-vendor/gimli-0.27.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/gimli-0.27.3/CHANGELOG.md +0 -943
- data/ext/cargo-vendor/gimli-0.27.3/Cargo.lock +0 -345
- data/ext/cargo-vendor/gimli-0.27.3/Cargo.toml +0 -151
- data/ext/cargo-vendor/gimli-0.27.3/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/gimli-0.27.3/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/gimli-0.27.3/README.md +0 -78
- data/ext/cargo-vendor/gimli-0.27.3/examples/dwarf-validate.rs +0 -267
- data/ext/cargo-vendor/gimli-0.27.3/examples/dwarfdump.rs +0 -2369
- data/ext/cargo-vendor/gimli-0.27.3/examples/simple.rs +0 -67
- data/ext/cargo-vendor/gimli-0.27.3/examples/simple_line.rs +0 -106
- data/ext/cargo-vendor/gimli-0.27.3/src/arch.rs +0 -751
- data/ext/cargo-vendor/gimli-0.27.3/src/common.rs +0 -381
- data/ext/cargo-vendor/gimli-0.27.3/src/constants.rs +0 -1426
- data/ext/cargo-vendor/gimli-0.27.3/src/endianity.rs +0 -256
- data/ext/cargo-vendor/gimli-0.27.3/src/leb128.rs +0 -612
- data/ext/cargo-vendor/gimli-0.27.3/src/lib.rs +0 -79
- data/ext/cargo-vendor/gimli-0.27.3/src/read/abbrev.rs +0 -1089
- data/ext/cargo-vendor/gimli-0.27.3/src/read/addr.rs +0 -128
- data/ext/cargo-vendor/gimli-0.27.3/src/read/aranges.rs +0 -660
- data/ext/cargo-vendor/gimli-0.27.3/src/read/cfi.rs +0 -7574
- data/ext/cargo-vendor/gimli-0.27.3/src/read/dwarf.rs +0 -1184
- data/ext/cargo-vendor/gimli-0.27.3/src/read/endian_reader.rs +0 -639
- data/ext/cargo-vendor/gimli-0.27.3/src/read/endian_slice.rs +0 -350
- data/ext/cargo-vendor/gimli-0.27.3/src/read/index.rs +0 -535
- data/ext/cargo-vendor/gimli-0.27.3/src/read/lazy.rs +0 -116
- data/ext/cargo-vendor/gimli-0.27.3/src/read/line.rs +0 -3130
- data/ext/cargo-vendor/gimli-0.27.3/src/read/lists.rs +0 -68
- data/ext/cargo-vendor/gimli-0.27.3/src/read/loclists.rs +0 -1627
- data/ext/cargo-vendor/gimli-0.27.3/src/read/lookup.rs +0 -202
- data/ext/cargo-vendor/gimli-0.27.3/src/read/mod.rs +0 -830
- data/ext/cargo-vendor/gimli-0.27.3/src/read/op.rs +0 -4119
- data/ext/cargo-vendor/gimli-0.27.3/src/read/pubnames.rs +0 -141
- data/ext/cargo-vendor/gimli-0.27.3/src/read/pubtypes.rs +0 -141
- data/ext/cargo-vendor/gimli-0.27.3/src/read/reader.rs +0 -502
- data/ext/cargo-vendor/gimli-0.27.3/src/read/rnglists.rs +0 -1458
- data/ext/cargo-vendor/gimli-0.27.3/src/read/str.rs +0 -321
- data/ext/cargo-vendor/gimli-0.27.3/src/read/unit.rs +0 -6139
- data/ext/cargo-vendor/gimli-0.27.3/src/read/util.rs +0 -251
- data/ext/cargo-vendor/gimli-0.27.3/src/read/value.rs +0 -1621
- data/ext/cargo-vendor/gimli-0.27.3/src/test_util.rs +0 -53
- data/ext/cargo-vendor/gimli-0.27.3/src/write/abbrev.rs +0 -188
- data/ext/cargo-vendor/gimli-0.27.3/src/write/cfi.rs +0 -1025
- data/ext/cargo-vendor/gimli-0.27.3/src/write/dwarf.rs +0 -138
- data/ext/cargo-vendor/gimli-0.27.3/src/write/endian_vec.rs +0 -117
- data/ext/cargo-vendor/gimli-0.27.3/src/write/line.rs +0 -1957
- data/ext/cargo-vendor/gimli-0.27.3/src/write/loc.rs +0 -550
- data/ext/cargo-vendor/gimli-0.27.3/src/write/mod.rs +0 -425
- data/ext/cargo-vendor/gimli-0.27.3/src/write/op.rs +0 -1618
- data/ext/cargo-vendor/gimli-0.27.3/src/write/range.rs +0 -416
- data/ext/cargo-vendor/gimli-0.27.3/src/write/section.rs +0 -172
- data/ext/cargo-vendor/gimli-0.27.3/src/write/str.rs +0 -172
- data/ext/cargo-vendor/gimli-0.27.3/src/write/unit.rs +0 -3152
- data/ext/cargo-vendor/gimli-0.27.3/src/write/writer.rs +0 -494
- data/ext/cargo-vendor/hashbrown-0.12.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/hashbrown-0.12.3/CHANGELOG.md +0 -402
- data/ext/cargo-vendor/hashbrown-0.12.3/Cargo.toml +0 -113
- data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/hashbrown-0.12.3/README.md +0 -126
- data/ext/cargo-vendor/hashbrown-0.12.3/benches/bench.rs +0 -331
- data/ext/cargo-vendor/hashbrown-0.12.3/benches/insert_unique_unchecked.rs +0 -32
- data/ext/cargo-vendor/hashbrown-0.12.3/clippy.toml +0 -1
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/helpers.rs +0 -27
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/map.rs +0 -734
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/mod.rs +0 -4
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/raw.rs +0 -231
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/set.rs +0 -659
- data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/serde.rs +0 -201
- data/ext/cargo-vendor/hashbrown-0.12.3/src/lib.rs +0 -150
- data/ext/cargo-vendor/hashbrown-0.12.3/src/macros.rs +0 -70
- data/ext/cargo-vendor/hashbrown-0.12.3/src/map.rs +0 -8408
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/alloc.rs +0 -73
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/bitmask.rs +0 -122
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/generic.rs +0 -154
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/mod.rs +0 -2460
- data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/sse2.rs +0 -146
- data/ext/cargo-vendor/hashbrown-0.12.3/src/rustc_entry.rs +0 -630
- data/ext/cargo-vendor/hashbrown-0.12.3/src/scopeguard.rs +0 -74
- data/ext/cargo-vendor/hashbrown-0.12.3/src/set.rs +0 -2790
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/hasher.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/rayon.rs +0 -533
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/serde.rs +0 -65
- data/ext/cargo-vendor/hashbrown-0.12.3/tests/set.rs +0 -34
- data/ext/cargo-vendor/humantime-2.1.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/humantime-2.1.0/Cargo.toml +0 -37
- data/ext/cargo-vendor/humantime-2.1.0/LICENSE-APACHE +0 -202
- data/ext/cargo-vendor/humantime-2.1.0/LICENSE-MIT +0 -26
- data/ext/cargo-vendor/humantime-2.1.0/README.md +0 -68
- data/ext/cargo-vendor/humantime-2.1.0/benches/datetime_format.rs +0 -56
- data/ext/cargo-vendor/humantime-2.1.0/benches/datetime_parse.rs +0 -47
- data/ext/cargo-vendor/humantime-2.1.0/bulk.yaml +0 -8
- data/ext/cargo-vendor/humantime-2.1.0/src/date.rs +0 -623
- data/ext/cargo-vendor/humantime-2.1.0/src/duration.rs +0 -456
- data/ext/cargo-vendor/humantime-2.1.0/src/lib.rs +0 -34
- data/ext/cargo-vendor/humantime-2.1.0/src/wrapper.rs +0 -107
- data/ext/cargo-vendor/humantime-2.1.0/vagga.yaml +0 -92
- data/ext/cargo-vendor/indexmap-1.9.3/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/indexmap-1.9.3/Cargo.toml +0 -108
- data/ext/cargo-vendor/indexmap-1.9.3/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/indexmap-1.9.3/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/indexmap-1.9.3/README.md +0 -55
- data/ext/cargo-vendor/indexmap-1.9.3/RELEASES.md +0 -388
- data/ext/cargo-vendor/indexmap-1.9.3/benches/bench.rs +0 -763
- data/ext/cargo-vendor/indexmap-1.9.3/benches/faststring.rs +0 -185
- data/ext/cargo-vendor/indexmap-1.9.3/build.rs +0 -8
- data/ext/cargo-vendor/indexmap-1.9.3/src/arbitrary.rs +0 -75
- data/ext/cargo-vendor/indexmap-1.9.3/src/equivalent.rs +0 -27
- data/ext/cargo-vendor/indexmap-1.9.3/src/lib.rs +0 -194
- data/ext/cargo-vendor/indexmap-1.9.3/src/macros.rs +0 -178
- data/ext/cargo-vendor/indexmap-1.9.3/src/map/core/raw.rs +0 -191
- data/ext/cargo-vendor/indexmap-1.9.3/src/map/core.rs +0 -700
- data/ext/cargo-vendor/indexmap-1.9.3/src/map.rs +0 -1947
- data/ext/cargo-vendor/indexmap-1.9.3/src/mutable_keys.rs +0 -75
- data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/map.rs +0 -583
- data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/mod.rs +0 -27
- data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/set.rs +0 -741
- data/ext/cargo-vendor/indexmap-1.9.3/src/rustc.rs +0 -158
- data/ext/cargo-vendor/indexmap-1.9.3/src/serde.rs +0 -155
- data/ext/cargo-vendor/indexmap-1.9.3/src/serde_seq.rs +0 -112
- data/ext/cargo-vendor/indexmap-1.9.3/src/set.rs +0 -1912
- data/ext/cargo-vendor/indexmap-1.9.3/src/util.rs +0 -31
- data/ext/cargo-vendor/indexmap-1.9.3/tests/equivalent_trait.rs +0 -53
- data/ext/cargo-vendor/indexmap-1.9.3/tests/macros_full_path.rs +0 -19
- data/ext/cargo-vendor/indexmap-1.9.3/tests/quick.rs +0 -573
- data/ext/cargo-vendor/indexmap-1.9.3/tests/tests.rs +0 -28
- data/ext/cargo-vendor/object-0.31.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/object-0.31.1/CHANGELOG.md +0 -621
- data/ext/cargo-vendor/object-0.31.1/Cargo.toml +0 -161
- data/ext/cargo-vendor/object-0.31.1/LICENSE-APACHE +0 -201
- data/ext/cargo-vendor/object-0.31.1/LICENSE-MIT +0 -25
- data/ext/cargo-vendor/object-0.31.1/README.md +0 -58
- data/ext/cargo-vendor/object-0.31.1/clippy.toml +0 -1
- data/ext/cargo-vendor/object-0.31.1/src/archive.rs +0 -91
- data/ext/cargo-vendor/object-0.31.1/src/common.rs +0 -499
- data/ext/cargo-vendor/object-0.31.1/src/elf.rs +0 -6146
- data/ext/cargo-vendor/object-0.31.1/src/endian.rs +0 -831
- data/ext/cargo-vendor/object-0.31.1/src/lib.rs +0 -116
- data/ext/cargo-vendor/object-0.31.1/src/macho.rs +0 -3307
- data/ext/cargo-vendor/object-0.31.1/src/pe.rs +0 -3050
- data/ext/cargo-vendor/object-0.31.1/src/pod.rs +0 -239
- data/ext/cargo-vendor/object-0.31.1/src/read/any.rs +0 -1323
- data/ext/cargo-vendor/object-0.31.1/src/read/archive.rs +0 -739
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/comdat.rs +0 -207
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/file.rs +0 -364
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/mod.rs +0 -18
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/relocation.rs +0 -104
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/section.rs +0 -574
- data/ext/cargo-vendor/object-0.31.1/src/read/coff/symbol.rs +0 -626
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/attributes.rs +0 -303
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/comdat.rs +0 -160
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/compression.rs +0 -56
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/dynamic.rs +0 -117
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/file.rs +0 -910
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/hash.rs +0 -220
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/mod.rs +0 -42
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/note.rs +0 -263
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/relocation.rs +0 -571
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/section.rs +0 -1146
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/segment.rs +0 -332
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/symbol.rs +0 -577
- data/ext/cargo-vendor/object-0.31.1/src/read/elf/version.rs +0 -421
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/dyld_cache.rs +0 -343
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/fat.rs +0 -122
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/file.rs +0 -731
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/load_command.rs +0 -373
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/mod.rs +0 -30
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/relocation.rs +0 -127
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/section.rs +0 -387
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/segment.rs +0 -301
- data/ext/cargo-vendor/object-0.31.1/src/read/macho/symbol.rs +0 -488
- data/ext/cargo-vendor/object-0.31.1/src/read/mod.rs +0 -760
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/data_directory.rs +0 -211
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/export.rs +0 -331
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/file.rs +0 -1029
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/import.rs +0 -332
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/mod.rs +0 -34
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/relocation.rs +0 -90
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/resource.rs +0 -207
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/rich.rs +0 -91
- data/ext/cargo-vendor/object-0.31.1/src/read/pe/section.rs +0 -434
- data/ext/cargo-vendor/object-0.31.1/src/read/read_cache.rs +0 -182
- data/ext/cargo-vendor/object-0.31.1/src/read/read_ref.rs +0 -137
- data/ext/cargo-vendor/object-0.31.1/src/read/traits.rs +0 -469
- data/ext/cargo-vendor/object-0.31.1/src/read/util.rs +0 -425
- data/ext/cargo-vendor/object-0.31.1/src/read/wasm.rs +0 -951
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/comdat.rs +0 -129
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/file.rs +0 -629
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/mod.rs +0 -21
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/relocation.rs +0 -127
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/section.rs +0 -427
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/segment.rs +0 -113
- data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/symbol.rs +0 -695
- data/ext/cargo-vendor/object-0.31.1/src/write/coff.rs +0 -725
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/mod.rs +0 -9
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/object.rs +0 -891
- data/ext/cargo-vendor/object-0.31.1/src/write/elf/writer.rs +0 -2143
- data/ext/cargo-vendor/object-0.31.1/src/write/macho.rs +0 -978
- data/ext/cargo-vendor/object-0.31.1/src/write/mod.rs +0 -943
- data/ext/cargo-vendor/object-0.31.1/src/write/pe.rs +0 -847
- data/ext/cargo-vendor/object-0.31.1/src/write/string.rs +0 -159
- data/ext/cargo-vendor/object-0.31.1/src/write/util.rs +0 -260
- data/ext/cargo-vendor/object-0.31.1/src/write/xcoff.rs +0 -556
- data/ext/cargo-vendor/object-0.31.1/src/xcoff.rs +0 -893
- data/ext/cargo-vendor/object-0.31.1/tests/integration.rs +0 -2
- data/ext/cargo-vendor/object-0.31.1/tests/parse_self.rs +0 -25
- data/ext/cargo-vendor/object-0.31.1/tests/read/coff.rs +0 -23
- data/ext/cargo-vendor/object-0.31.1/tests/read/mod.rs +0 -3
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/bss.rs +0 -255
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/coff.rs +0 -56
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/comdat.rs +0 -225
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/common.rs +0 -245
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/elf.rs +0 -289
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/macho.rs +0 -24
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/mod.rs +0 -636
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/section_flags.rs +0 -90
- data/ext/cargo-vendor/object-0.31.1/tests/round_trip/tls.rs +0 -316
- data/ext/cargo-vendor/serde-1.0.185/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde-1.0.185/Cargo.toml +0 -66
- data/ext/cargo-vendor/serde-1.0.185/build.rs +0 -97
- data/ext/cargo-vendor/serde-1.0.185/src/de/ignored_any.rs +0 -242
- data/ext/cargo-vendor/serde-1.0.185/src/de/impls.rs +0 -2968
- data/ext/cargo-vendor/serde-1.0.185/src/de/mod.rs +0 -2299
- data/ext/cargo-vendor/serde-1.0.185/src/de/utf8.rs +0 -46
- data/ext/cargo-vendor/serde-1.0.185/src/de/value.rs +0 -1711
- data/ext/cargo-vendor/serde-1.0.185/src/integer128.rs +0 -82
- data/ext/cargo-vendor/serde-1.0.185/src/lib.rs +0 -327
- data/ext/cargo-vendor/serde-1.0.185/src/macros.rs +0 -235
- data/ext/cargo-vendor/serde-1.0.185/src/ser/fmt.rs +0 -175
- data/ext/cargo-vendor/serde-1.0.185/src/ser/impls.rs +0 -1012
- data/ext/cargo-vendor/serde-1.0.185/src/ser/mod.rs +0 -1958
- data/ext/cargo-vendor/serde_derive-1.0.185/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/serde_derive-1.0.185/Cargo.toml +0 -59
- data/ext/cargo-vendor/serde_derive-1.0.185/src/lib.rs +0 -102
- data/ext/cargo-vendor/serde_derive-1.0.185/src/ser.rs +0 -1359
- data/ext/cargo-vendor/termcolor-1.2.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/termcolor-1.2.0/COPYING +0 -3
- data/ext/cargo-vendor/termcolor-1.2.0/Cargo.toml +0 -40
- data/ext/cargo-vendor/termcolor-1.2.0/LICENSE-MIT +0 -21
- data/ext/cargo-vendor/termcolor-1.2.0/README.md +0 -115
- data/ext/cargo-vendor/termcolor-1.2.0/UNLICENSE +0 -24
- data/ext/cargo-vendor/termcolor-1.2.0/rustfmt.toml +0 -2
- data/ext/cargo-vendor/termcolor-1.2.0/src/lib.rs +0 -2350
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/Cargo.toml +0 -96
- data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/src/lib.rs +0 -141
- data/ext/cargo-vendor/wasi-common-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-12.0.1/Cargo.toml +0 -87
- data/ext/cargo-vendor/wasm-encoder-0.31.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.31.1/Cargo.toml +0 -33
- data/ext/cargo-vendor/wasm-encoder-0.31.1/src/component/types.rs +0 -784
- data/ext/cargo-vendor/wasmparser-0.110.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.lock +0 -644
- data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.110.0/src/limits.rs +0 -59
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/component/types.rs +0 -548
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core/types.rs +0 -1141
- data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core.rs +0 -35
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/component.rs +0 -3144
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/core.rs +0 -1314
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/types.rs +0 -3197
- data/ext/cargo-vendor/wasmparser-0.110.0/src/validator.rs +0 -1568
- data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +0 -644
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +0 -1706
- data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +0 -726
- data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +0 -59
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +0 -548
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +0 -1141
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +0 -3148
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +0 -1314
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +0 -3466
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +0 -3283
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +0 -1568
- data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +0 -39
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +0 -2962
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +0 -873
- data/ext/cargo-vendor/wasmtime-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-12.0.1/Cargo.toml +0 -186
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/component.rs +0 -466
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/func/typed.rs +0 -2326
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/instance.rs +0 -781
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/linker.rs +0 -479
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/mod.rs +0 -316
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/types.rs +0 -562
- data/ext/cargo-vendor/wasmtime-12.0.1/src/component/values.rs +0 -1376
- data/ext/cargo-vendor/wasmtime-12.0.1/src/config.rs +0 -2096
- data/ext/cargo-vendor/wasmtime-12.0.1/src/engine/serialization.rs +0 -629
- data/ext/cargo-vendor/wasmtime-12.0.1/src/engine.rs +0 -756
- data/ext/cargo-vendor/wasmtime-12.0.1/src/instance.rs +0 -883
- data/ext/cargo-vendor/wasmtime-12.0.1/src/limits.rs +0 -357
- data/ext/cargo-vendor/wasmtime-12.0.1/src/module.rs +0 -1346
- data/ext/cargo-vendor/wasmtime-12.0.1/src/store.rs +0 -2212
- data/ext/cargo-vendor/wasmtime-12.0.1/src/trampoline/memory.rs +0 -202
- data/ext/cargo-vendor/wasmtime-12.0.1/src/trampoline.rs +0 -76
- data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/Cargo.toml +0 -73
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/config.rs +0 -584
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/worker/tests.rs +0 -758
- data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/worker.rs +0 -903
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/bindgen.rs +0 -343
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/component.rs +0 -1319
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/tests/codegen/unions.wit +0 -66
- data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/tests/codegen/variants.wit +0 -147
- data/ext/cargo-vendor/wasmtime-component-util-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-12.0.1/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/Cargo.toml +0 -93
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/builder.rs +0 -116
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/compiler.rs +0 -1297
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug/transform/attr.rs +0 -339
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug.rs +0 -20
- data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/func_environ.rs +0 -2377
- data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/Cargo.toml +0 -57
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.lock +0 -736
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/address_map.rs +0 -192
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/builtin.rs +0 -127
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/compilation.rs +0 -400
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/info.rs +0 -583
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/types.rs +0 -1920
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/trampoline.rs +0 -3269
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/lib.rs +0 -76
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module.rs +0 -1083
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module_environ.rs +0 -887
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module_types.rs +0 -78
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/stack_map.rs +0 -36
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/tunables.rs +0 -115
- data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/vmoffsets.rs +0 -940
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-12.0.1/Cargo.toml +0 -51
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/Cargo.toml +0 -104
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/instantiate.rs +0 -760
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/lib.rs +0 -38
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/miri.rs +0 -15
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/systemv.rs +0 -90
- data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/winx64.rs +0 -44
- data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/Cargo.toml +0 -119
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/on_demand.rs +0 -127
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/pooling/index_allocator.rs +0 -599
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/pooling.rs +0 -1368
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator.rs +0 -414
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance.rs +0 -1345
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/lib.rs +0 -289
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/libcalls.rs +0 -627
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/memory.rs +0 -958
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/parking_spot.rs +0 -522
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/table.rs +0 -595
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/trampolines/s390x.S +0 -62
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers/macos.rs +0 -476
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers.rs +0 -782
- data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/vmcontext.rs +0 -1221
- data/ext/cargo-vendor/wasmtime-types-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-12.0.1/Cargo.toml +0 -34
- data/ext/cargo-vendor/wasmtime-types-12.0.1/src/lib.rs +0 -504
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/Cargo.toml +0 -191
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/lib.rs +0 -131
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/command.rs +0 -91
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/ctx.rs +0 -237
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/filesystem.rs +0 -216
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/mod.rs +0 -185
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/pipe.rs +0 -846
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview1/mod.rs +0 -1870
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/clocks.rs +0 -107
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/env.rs +0 -37
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/exit.rs +0 -11
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem/sync.rs +0 -613
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem.rs +0 -1096
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/io.rs +0 -494
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/mod.rs +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/unix.rs +0 -133
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/worker_thread_stdin.rs +0 -133
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio.rs +0 -218
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stream.rs +0 -302
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/table.rs +0 -287
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/filesystem/filesystem.wit +0 -782
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/http/types.wit +0 -159
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/io/streams.wit +0 -254
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/logging/handler.wit +0 -34
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/command-extended.wit +0 -36
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/command.wit +0 -26
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/proxy.wit +0 -9
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/reactor.wit +0 -24
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/ip-name-lookup.wit +0 -69
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/network.wit +0 -187
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/tcp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/tcp.wit +0 -255
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/udp-create-socket.wit +0 -27
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/udp.wit +0 -211
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/environment.wit +0 -16
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/exit.wit +0 -4
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/preopens.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/main.wit +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/test.wit +0 -28
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-12.0.1/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/lib.rs +0 -1705
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/rust.rs +0 -498
- data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/types.rs +0 -185
- data/ext/cargo-vendor/wast-63.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-63.0.0/Cargo.toml +0 -50
- data/ext/cargo-vendor/wast-63.0.0/src/component/binary.rs +0 -1022
- data/ext/cargo-vendor/wast-63.0.0/src/component/expand.rs +0 -880
- data/ext/cargo-vendor/wast-63.0.0/src/component/resolve.rs +0 -1010
- data/ext/cargo-vendor/wast-63.0.0/src/component/types.rs +0 -1013
- data/ext/cargo-vendor/wast-63.0.0/src/component/wast.rs +0 -166
- data/ext/cargo-vendor/wast-63.0.0/src/core/binary.rs +0 -1246
- data/ext/cargo-vendor/wast-63.0.0/src/core/expr.rs +0 -1970
- data/ext/cargo-vendor/wast-63.0.0/src/core/table.rs +0 -305
- data/ext/cargo-vendor/wast-63.0.0/src/core/types.rs +0 -843
- data/ext/cargo-vendor/wast-63.0.0/src/core/wast.rs +0 -236
- data/ext/cargo-vendor/wast-63.0.0/src/lib.rs +0 -537
- data/ext/cargo-vendor/wat-1.0.70/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.0.70/Cargo.toml +0 -27
- data/ext/cargo-vendor/wiggle-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-12.0.1/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-12.0.1/src/lib.rs +0 -1198
- data/ext/cargo-vendor/wiggle-generate-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-12.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/config.rs +0 -697
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/types/record.rs +0 -117
- data/ext/cargo-vendor/wiggle-generate-12.0.1/src/wasmtime.rs +0 -170
- data/ext/cargo-vendor/wiggle-macro-12.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-12.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/winapi-util-0.1.5/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winapi-util-0.1.5/COPYING +0 -3
- data/ext/cargo-vendor/winapi-util-0.1.5/Cargo.toml +0 -30
- data/ext/cargo-vendor/winapi-util-0.1.5/LICENSE-MIT +0 -21
- data/ext/cargo-vendor/winapi-util-0.1.5/README.md +0 -58
- data/ext/cargo-vendor/winapi-util-0.1.5/UNLICENSE +0 -24
- data/ext/cargo-vendor/winapi-util-0.1.5/rustfmt.toml +0 -2
- data/ext/cargo-vendor/winapi-util-0.1.5/src/console.rs +0 -402
- data/ext/cargo-vendor/winapi-util-0.1.5/src/file.rs +0 -168
- data/ext/cargo-vendor/winapi-util-0.1.5/src/lib.rs +0 -32
- data/ext/cargo-vendor/winapi-util-0.1.5/src/win.rs +0 -246
- data/ext/cargo-vendor/winch-codegen-0.10.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.10.1/Cargo.toml +0 -62
- data/ext/cargo-vendor/winch-codegen-0.10.1/LICENSE +0 -219
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/abi/mod.rs +0 -251
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/call.rs +0 -199
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/context.rs +0 -368
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/control.rs +0 -437
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/mod.rs +0 -330
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/abi.rs +0 -250
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/address.rs +0 -144
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/asm.rs +0 -312
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/masm.rs +0 -293
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/regs.rs +0 -166
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/reg.rs +0 -51
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/abi.rs +0 -375
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/address.rs +0 -17
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/asm.rs +0 -855
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/masm.rs +0 -516
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/mod.rs +0 -149
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/regs.rs +0 -192
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/masm.rs +0 -352
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/regalloc.rs +0 -70
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/regset.rs +0 -90
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/stack.rs +0 -235
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/trampoline.rs +0 -494
- data/ext/cargo-vendor/winch-codegen-0.10.1/src/visitor.rs +0 -656
- data/ext/cargo-vendor/wit-parser-0.9.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.9.2/Cargo.toml +0 -62
- data/ext/cargo-vendor/wit-parser-0.9.2/src/abi.rs +0 -2199
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/lex.rs +0 -717
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/resolve.rs +0 -1437
- data/ext/cargo-vendor/wit-parser-0.9.2/src/ast.rs +0 -1362
- data/ext/cargo-vendor/wit-parser-0.9.2/src/lib.rs +0 -666
- data/ext/cargo-vendor/wit-parser-0.9.2/src/live.rs +0 -116
- data/ext/cargo-vendor/wit-parser-0.9.2/src/resolve.rs +0 -1749
- data/ext/cargo-vendor/wit-parser-0.9.2/src/sizealign.rs +0 -145
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/all.rs +0 -168
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/empty-union.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/empty-union.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/types.wit +0 -61
- data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/world-diamond.wit +0 -22
- /data/ext/cargo-vendor/{addr2line-0.20.0 → cap-net-ext-2.0.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1/LICENSE → cap-net-ext-2.0.0/LICENSE-Apache-2.0_WITH_LLVM-exception} +0 -0
- /data/ext/cargo-vendor/{env_logger-0.10.0 → cap-net-ext-2.0.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-bforest-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/emit_state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-meta-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-codegen-shared-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-control-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-entity-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-frontend-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-native-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-native-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-native-0.100.0}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → cranelift-wasm-0.100.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{fallible-iterator-0.2.0 → fallible-iterator-0.3.0}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{fallible-iterator-0.2.0 → fallible-iterator-0.3.0}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/README.md +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/crates-io.md +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/format.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/seed.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/size_hint.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/de.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/doc.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/ser.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/ser/impossible.rs +0 -0
- /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/std_error.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/README.md +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/crates-io.md +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/bound.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/de.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/dummy.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/fragment.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/ast.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/attr.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/case.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/check.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/ctxt.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/mod.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/receiver.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/respan.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/symbol.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/pretend.rs +0 -0
- /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/this.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-cap-std-sync-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasi-common-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_1.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasm-encoder-0.32.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasm-encoder-0.33.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmparser-0.112.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.112.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.112.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmparser-0.113.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmprinter-0.2.66}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmprinter-0.2.66}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmprinter-0.2.66}/tests/all.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/ref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-12.0.1 → wasmtime-asm-macros-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-cache-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-12.0.1 → wasmtime-component-util-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-cranelift-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-environ-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-fiber-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-12.0.1 → wasmtime-jit-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-runtime-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/instance/allocator/pooling/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/instance/allocator/pooling/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wasmtime-types-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-12.0.1 → wasmtime-types-13.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-12.0.1 → wasmtime-versioned-export-macros-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.0.70 → wasmtime-wasi-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1/src/preview2/preview2 → wasmtime-wasi-13.0.0/src/preview2/host}/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base → wasmtime-wasi-13.0.0/wit/deps/cli}/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/timezone.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/http/incoming-handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/http/outgoing-handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/poll/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.2.0 → wasmtime-winch-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/compiler.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-12.0.1 → wasmtime-wit-bindgen-13.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wast-65.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/memory.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/deinline_import_export.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/types.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/token.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/wast.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/wat.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/annotations.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail.rs +0 -0
- /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wat-1.0.73}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wat-1.0.70 → wat-1.0.73}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.0.70 → wat-1.0.73}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-12.0.1 → wiggle-13.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-12.0.1 → wiggle-macro-13.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → winch-codegen-0.11.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/codegen/env.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/embedded.wit.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-md.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-md.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/union-fuzz-2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/union-fuzz-2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/worlds-with-types.wit +0 -0
@@ -1,4298 +0,0 @@
|
|
1
|
-
use crate::binemit::{Addend, Reloc};
|
2
|
-
use crate::ir;
|
3
|
-
use crate::ir::immediates::{Ieee32, Ieee64};
|
4
|
-
use crate::ir::TrapCode;
|
5
|
-
use crate::ir::{KnownSymbol, LibCall, MemFlags};
|
6
|
-
use crate::isa::x64::encoding::evex::{EvexInstruction, EvexVectorLength, RegisterOrAmode};
|
7
|
-
use crate::isa::x64::encoding::rex::{
|
8
|
-
emit_simm, emit_std_enc_enc, emit_std_enc_mem, emit_std_reg_mem, emit_std_reg_reg, int_reg_enc,
|
9
|
-
low8_will_sign_extend_to_32, low8_will_sign_extend_to_64, reg_enc, LegacyPrefixes, OpcodeMap,
|
10
|
-
RexFlags,
|
11
|
-
};
|
12
|
-
use crate::isa::x64::encoding::vex::{VexInstruction, VexVectorLength};
|
13
|
-
use crate::isa::x64::inst::args::*;
|
14
|
-
use crate::isa::x64::inst::*;
|
15
|
-
use crate::machinst::{inst_common, MachBuffer, MachInstEmit, MachLabel, Reg, Writable};
|
16
|
-
use core::convert::TryInto;
|
17
|
-
|
18
|
-
/// A small helper to generate a signed conversion instruction.
|
19
|
-
fn emit_signed_cvt(
|
20
|
-
sink: &mut MachBuffer<Inst>,
|
21
|
-
info: &EmitInfo,
|
22
|
-
state: &mut EmitState,
|
23
|
-
// Required to be RealRegs.
|
24
|
-
src: Reg,
|
25
|
-
dst: Writable<Reg>,
|
26
|
-
to_f64: bool,
|
27
|
-
) {
|
28
|
-
// Handle an unsigned int, which is the "easy" case: a signed conversion will do the
|
29
|
-
// right thing.
|
30
|
-
let op = if to_f64 {
|
31
|
-
SseOpcode::Cvtsi2sd
|
32
|
-
} else {
|
33
|
-
SseOpcode::Cvtsi2ss
|
34
|
-
};
|
35
|
-
let inst = Inst::gpr_to_xmm(op, RegMem::reg(src), OperandSize::Size64, dst);
|
36
|
-
inst.emit(&[], sink, info, state);
|
37
|
-
}
|
38
|
-
|
39
|
-
/// Emits a one way conditional jump if CC is set (true).
|
40
|
-
fn one_way_jmp(sink: &mut MachBuffer<Inst>, cc: CC, label: MachLabel) {
|
41
|
-
let cond_start = sink.cur_offset();
|
42
|
-
let cond_disp_off = cond_start + 2;
|
43
|
-
sink.use_label_at_offset(cond_disp_off, label, LabelUse::JmpRel32);
|
44
|
-
sink.put1(0x0F);
|
45
|
-
sink.put1(0x80 + cc.get_enc());
|
46
|
-
sink.put4(0x0);
|
47
|
-
}
|
48
|
-
|
49
|
-
/// Emits a relocation, attaching the current source location as well.
|
50
|
-
fn emit_reloc(sink: &mut MachBuffer<Inst>, kind: Reloc, name: &ExternalName, addend: Addend) {
|
51
|
-
sink.add_reloc(kind, name, addend);
|
52
|
-
}
|
53
|
-
|
54
|
-
/// The top-level emit function.
|
55
|
-
///
|
56
|
-
/// Important! Do not add improved (shortened) encoding cases to existing
|
57
|
-
/// instructions without also adding tests for those improved encodings. That
|
58
|
-
/// is a dangerous game that leads to hard-to-track-down errors in the emitted
|
59
|
-
/// code.
|
60
|
-
///
|
61
|
-
/// For all instructions, make sure to have test coverage for all of the
|
62
|
-
/// following situations. Do this by creating the cross product resulting from
|
63
|
-
/// applying the following rules to each operand:
|
64
|
-
///
|
65
|
-
/// (1) for any insn that mentions a register: one test using a register from
|
66
|
-
/// the group [rax, rcx, rdx, rbx, rsp, rbp, rsi, rdi] and a second one
|
67
|
-
/// using a register from the group [r8, r9, r10, r11, r12, r13, r14, r15].
|
68
|
-
/// This helps detect incorrect REX prefix construction.
|
69
|
-
///
|
70
|
-
/// (2) for any insn that mentions a byte register: one test for each of the
|
71
|
-
/// four encoding groups [al, cl, dl, bl], [spl, bpl, sil, dil],
|
72
|
-
/// [r8b .. r11b] and [r12b .. r15b]. This checks that
|
73
|
-
/// apparently-redundant REX prefixes are retained when required.
|
74
|
-
///
|
75
|
-
/// (3) for any insn that contains an immediate field, check the following
|
76
|
-
/// cases: field is zero, field is in simm8 range (-128 .. 127), field is
|
77
|
-
/// in simm32 range (-0x8000_0000 .. 0x7FFF_FFFF). This is because some
|
78
|
-
/// instructions that require a 32-bit immediate have a short-form encoding
|
79
|
-
/// when the imm is in simm8 range.
|
80
|
-
///
|
81
|
-
/// Rules (1), (2) and (3) don't apply for registers within address expressions
|
82
|
-
/// (`Addr`s). Those are already pretty well tested, and the registers in them
|
83
|
-
/// don't have any effect on the containing instruction (apart from possibly
|
84
|
-
/// require REX prefix bits).
|
85
|
-
///
|
86
|
-
/// When choosing registers for a test, avoid using registers with the same
|
87
|
-
/// offset within a given group. For example, don't use rax and r8, since they
|
88
|
-
/// both have the lowest 3 bits as 000, and so the test won't detect errors
|
89
|
-
/// where those 3-bit register sub-fields are confused by the emitter. Instead
|
90
|
-
/// use (eg) rax (lo3 = 000) and r9 (lo3 = 001). Similarly, don't use (eg) cl
|
91
|
-
/// and bpl since they have the same offset in their group; use instead (eg) cl
|
92
|
-
/// and sil.
|
93
|
-
///
|
94
|
-
/// For all instructions, also add a test that uses only low-half registers
|
95
|
-
/// (rax .. rdi, xmm0 .. xmm7) etc, so as to check that any redundant REX
|
96
|
-
/// prefixes are correctly omitted. This low-half restriction must apply to
|
97
|
-
/// _all_ registers in the insn, even those in address expressions.
|
98
|
-
///
|
99
|
-
/// Following these rules creates large numbers of test cases, but it's the
|
100
|
-
/// only way to make the emitter reliable.
|
101
|
-
///
|
102
|
-
/// Known possible improvements:
|
103
|
-
///
|
104
|
-
/// * there's a shorter encoding for shl/shr/sar by a 1-bit immediate. (Do we
|
105
|
-
/// care?)
|
106
|
-
pub(crate) fn emit(
|
107
|
-
inst: &Inst,
|
108
|
-
allocs: &mut AllocationConsumer<'_>,
|
109
|
-
sink: &mut MachBuffer<Inst>,
|
110
|
-
info: &EmitInfo,
|
111
|
-
state: &mut EmitState,
|
112
|
-
) {
|
113
|
-
let matches_isa_flags = |iset_requirement: &InstructionSet| -> bool {
|
114
|
-
match iset_requirement {
|
115
|
-
// Cranelift assumes SSE2 at least.
|
116
|
-
InstructionSet::SSE | InstructionSet::SSE2 => true,
|
117
|
-
InstructionSet::SSSE3 => info.isa_flags.use_ssse3(),
|
118
|
-
InstructionSet::SSE41 => info.isa_flags.use_sse41(),
|
119
|
-
InstructionSet::SSE42 => info.isa_flags.use_sse42(),
|
120
|
-
InstructionSet::Popcnt => info.isa_flags.use_popcnt(),
|
121
|
-
InstructionSet::Lzcnt => info.isa_flags.use_lzcnt(),
|
122
|
-
InstructionSet::BMI1 => info.isa_flags.use_bmi1(),
|
123
|
-
InstructionSet::BMI2 => info.isa_flags.has_bmi2(),
|
124
|
-
InstructionSet::FMA => info.isa_flags.has_fma(),
|
125
|
-
InstructionSet::AVX => info.isa_flags.has_avx(),
|
126
|
-
InstructionSet::AVX2 => info.isa_flags.has_avx2(),
|
127
|
-
InstructionSet::AVX512BITALG => info.isa_flags.has_avx512bitalg(),
|
128
|
-
InstructionSet::AVX512DQ => info.isa_flags.has_avx512dq(),
|
129
|
-
InstructionSet::AVX512F => info.isa_flags.has_avx512f(),
|
130
|
-
InstructionSet::AVX512VBMI => info.isa_flags.has_avx512vbmi(),
|
131
|
-
InstructionSet::AVX512VL => info.isa_flags.has_avx512vl(),
|
132
|
-
}
|
133
|
-
};
|
134
|
-
|
135
|
-
// Certain instructions may be present in more than one ISA feature set; we must at least match
|
136
|
-
// one of them in the target CPU.
|
137
|
-
let isa_requirements = inst.available_in_any_isa();
|
138
|
-
if !isa_requirements.is_empty() && !isa_requirements.iter().all(matches_isa_flags) {
|
139
|
-
panic!(
|
140
|
-
"Cannot emit inst '{:?}' for target; failed to match ISA requirements: {:?}",
|
141
|
-
inst, isa_requirements
|
142
|
-
)
|
143
|
-
}
|
144
|
-
|
145
|
-
match inst {
|
146
|
-
Inst::AluRmiR {
|
147
|
-
size,
|
148
|
-
op,
|
149
|
-
src1,
|
150
|
-
src2,
|
151
|
-
dst: reg_g,
|
152
|
-
} => {
|
153
|
-
let src1 = allocs.next(src1.to_reg());
|
154
|
-
let reg_g = allocs.next(reg_g.to_reg().to_reg());
|
155
|
-
debug_assert_eq!(src1, reg_g);
|
156
|
-
let src2 = src2.clone().to_reg_mem_imm().with_allocs(allocs);
|
157
|
-
|
158
|
-
let prefix = if *size == OperandSize::Size16 {
|
159
|
-
LegacyPrefixes::_66
|
160
|
-
} else {
|
161
|
-
LegacyPrefixes::None
|
162
|
-
};
|
163
|
-
|
164
|
-
let mut rex = RexFlags::from(*size);
|
165
|
-
if *op == AluRmiROpcode::Mul {
|
166
|
-
// We kinda freeloaded Mul into RMI_R_Op, but it doesn't fit the usual pattern, so
|
167
|
-
// we have to special-case it.
|
168
|
-
if *size == OperandSize::Size8 {
|
169
|
-
match src2 {
|
170
|
-
RegMemImm::Reg { reg: reg_e } => {
|
171
|
-
debug_assert!(reg_e.is_real());
|
172
|
-
rex.always_emit_if_8bit_needed(reg_e);
|
173
|
-
let enc_e = int_reg_enc(reg_e);
|
174
|
-
emit_std_enc_enc(sink, LegacyPrefixes::None, 0xF6, 1, 5, enc_e, rex);
|
175
|
-
}
|
176
|
-
|
177
|
-
RegMemImm::Mem { addr } => {
|
178
|
-
let amode = addr.finalize(state, sink);
|
179
|
-
emit_std_enc_mem(
|
180
|
-
sink,
|
181
|
-
LegacyPrefixes::None,
|
182
|
-
0xF6,
|
183
|
-
1,
|
184
|
-
5,
|
185
|
-
&amode,
|
186
|
-
rex,
|
187
|
-
0,
|
188
|
-
);
|
189
|
-
}
|
190
|
-
|
191
|
-
RegMemImm::Imm { .. } => {
|
192
|
-
panic!("Cannot emit 8bit imul with 8bit immediate");
|
193
|
-
}
|
194
|
-
}
|
195
|
-
} else {
|
196
|
-
match src2 {
|
197
|
-
RegMemImm::Reg { reg: reg_e } => {
|
198
|
-
emit_std_reg_reg(sink, prefix, 0x0FAF, 2, reg_g, reg_e, rex);
|
199
|
-
}
|
200
|
-
|
201
|
-
RegMemImm::Mem { addr } => {
|
202
|
-
let amode = addr.finalize(state, sink);
|
203
|
-
emit_std_reg_mem(sink, prefix, 0x0FAF, 2, reg_g, &amode, rex, 0);
|
204
|
-
}
|
205
|
-
|
206
|
-
RegMemImm::Imm { simm32 } => {
|
207
|
-
let imm_size = if low8_will_sign_extend_to_32(simm32) {
|
208
|
-
1
|
209
|
-
} else {
|
210
|
-
if *size == OperandSize::Size16 {
|
211
|
-
2
|
212
|
-
} else {
|
213
|
-
4
|
214
|
-
}
|
215
|
-
};
|
216
|
-
let opcode = if imm_size == 1 { 0x6B } else { 0x69 };
|
217
|
-
// Yes, really, reg_g twice.
|
218
|
-
emit_std_reg_reg(sink, prefix, opcode, 1, reg_g, reg_g, rex);
|
219
|
-
emit_simm(sink, imm_size, simm32);
|
220
|
-
}
|
221
|
-
}
|
222
|
-
}
|
223
|
-
} else {
|
224
|
-
let (opcode_r, opcode_m, subopcode_i) = match op {
|
225
|
-
AluRmiROpcode::Add => (0x01, 0x03, 0),
|
226
|
-
AluRmiROpcode::Adc => (0x11, 0x03, 0),
|
227
|
-
AluRmiROpcode::Sub => (0x29, 0x2B, 5),
|
228
|
-
AluRmiROpcode::Sbb => (0x19, 0x2B, 5),
|
229
|
-
AluRmiROpcode::And => (0x21, 0x23, 4),
|
230
|
-
AluRmiROpcode::Or => (0x09, 0x0B, 1),
|
231
|
-
AluRmiROpcode::Xor => (0x31, 0x33, 6),
|
232
|
-
AluRmiROpcode::Mul => panic!("unreachable"),
|
233
|
-
};
|
234
|
-
|
235
|
-
let (opcode_r, opcode_m) = if *size == OperandSize::Size8 {
|
236
|
-
(opcode_r - 1, opcode_m - 1)
|
237
|
-
} else {
|
238
|
-
(opcode_r, opcode_m)
|
239
|
-
};
|
240
|
-
|
241
|
-
if *size == OperandSize::Size8 {
|
242
|
-
debug_assert!(reg_g.is_real());
|
243
|
-
rex.always_emit_if_8bit_needed(reg_g);
|
244
|
-
}
|
245
|
-
|
246
|
-
match src2 {
|
247
|
-
RegMemImm::Reg { reg: reg_e } => {
|
248
|
-
if *size == OperandSize::Size8 {
|
249
|
-
debug_assert!(reg_e.is_real());
|
250
|
-
rex.always_emit_if_8bit_needed(reg_e);
|
251
|
-
}
|
252
|
-
|
253
|
-
// GCC/llvm use the swapped operand encoding (viz., the R/RM vs RM/R
|
254
|
-
// duality). Do this too, so as to be able to compare generated machine
|
255
|
-
// code easily.
|
256
|
-
emit_std_reg_reg(sink, prefix, opcode_r, 1, reg_e, reg_g, rex);
|
257
|
-
}
|
258
|
-
|
259
|
-
RegMemImm::Mem { addr } => {
|
260
|
-
let amode = addr.finalize(state, sink);
|
261
|
-
// Here we revert to the "normal" G-E ordering.
|
262
|
-
emit_std_reg_mem(sink, prefix, opcode_m, 1, reg_g, &amode, rex, 0);
|
263
|
-
}
|
264
|
-
|
265
|
-
RegMemImm::Imm { simm32 } => {
|
266
|
-
let imm_size = if *size == OperandSize::Size8 {
|
267
|
-
1
|
268
|
-
} else {
|
269
|
-
if low8_will_sign_extend_to_32(simm32) {
|
270
|
-
1
|
271
|
-
} else {
|
272
|
-
if *size == OperandSize::Size16 {
|
273
|
-
2
|
274
|
-
} else {
|
275
|
-
4
|
276
|
-
}
|
277
|
-
}
|
278
|
-
};
|
279
|
-
|
280
|
-
let opcode = if *size == OperandSize::Size8 {
|
281
|
-
0x80
|
282
|
-
} else if low8_will_sign_extend_to_32(simm32) {
|
283
|
-
0x83
|
284
|
-
} else {
|
285
|
-
0x81
|
286
|
-
};
|
287
|
-
|
288
|
-
// And also here we use the "normal" G-E ordering.
|
289
|
-
let enc_g = int_reg_enc(reg_g);
|
290
|
-
emit_std_enc_enc(sink, prefix, opcode, 1, subopcode_i, enc_g, rex);
|
291
|
-
emit_simm(sink, imm_size, simm32);
|
292
|
-
}
|
293
|
-
}
|
294
|
-
}
|
295
|
-
}
|
296
|
-
|
297
|
-
Inst::AluConstOp { op, size, dst } => {
|
298
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
299
|
-
emit(
|
300
|
-
&Inst::AluRmiR {
|
301
|
-
size: *size,
|
302
|
-
op: *op,
|
303
|
-
dst: Writable::from_reg(Gpr::new(dst).unwrap()),
|
304
|
-
src1: Gpr::new(dst).unwrap(),
|
305
|
-
src2: Gpr::new(dst).unwrap().into(),
|
306
|
-
},
|
307
|
-
allocs,
|
308
|
-
sink,
|
309
|
-
info,
|
310
|
-
state,
|
311
|
-
);
|
312
|
-
}
|
313
|
-
|
314
|
-
Inst::AluRM {
|
315
|
-
size,
|
316
|
-
src1_dst,
|
317
|
-
src2,
|
318
|
-
op,
|
319
|
-
} => {
|
320
|
-
let src2 = allocs.next(src2.to_reg());
|
321
|
-
let src1_dst = src1_dst.finalize(state, sink).with_allocs(allocs);
|
322
|
-
|
323
|
-
let opcode = match op {
|
324
|
-
AluRmiROpcode::Add => 0x01,
|
325
|
-
AluRmiROpcode::Sub => 0x29,
|
326
|
-
AluRmiROpcode::And => 0x21,
|
327
|
-
AluRmiROpcode::Or => 0x09,
|
328
|
-
AluRmiROpcode::Xor => 0x31,
|
329
|
-
_ => panic!("Unsupported read-modify-write ALU opcode"),
|
330
|
-
};
|
331
|
-
|
332
|
-
let prefix = if *size == OperandSize::Size16 {
|
333
|
-
LegacyPrefixes::_66
|
334
|
-
} else {
|
335
|
-
LegacyPrefixes::None
|
336
|
-
};
|
337
|
-
let opcode = if *size == OperandSize::Size8 {
|
338
|
-
opcode - 1
|
339
|
-
} else {
|
340
|
-
opcode
|
341
|
-
};
|
342
|
-
|
343
|
-
let mut rex = RexFlags::from(*size);
|
344
|
-
if *size == OperandSize::Size8 {
|
345
|
-
debug_assert!(src2.is_real());
|
346
|
-
rex.always_emit_if_8bit_needed(src2);
|
347
|
-
}
|
348
|
-
|
349
|
-
let enc_g = int_reg_enc(src2);
|
350
|
-
emit_std_enc_mem(sink, prefix, opcode, 1, enc_g, &src1_dst, rex, 0);
|
351
|
-
}
|
352
|
-
|
353
|
-
Inst::AluRmRVex {
|
354
|
-
size,
|
355
|
-
op,
|
356
|
-
dst,
|
357
|
-
src1,
|
358
|
-
src2,
|
359
|
-
} => {
|
360
|
-
use AluRmROpcode::*;
|
361
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
362
|
-
let src1 = allocs.next(src1.to_reg());
|
363
|
-
let src2 = allocs.next(src2.to_reg());
|
364
|
-
|
365
|
-
let w = match size {
|
366
|
-
OperandSize::Size32 => false,
|
367
|
-
OperandSize::Size64 => true,
|
368
|
-
|
369
|
-
// the other cases would be rejected by isle constructors
|
370
|
-
_ => unreachable!(),
|
371
|
-
};
|
372
|
-
|
373
|
-
let opcode = match op {
|
374
|
-
Andn => 0xf2,
|
375
|
-
};
|
376
|
-
|
377
|
-
VexInstruction::new()
|
378
|
-
.map(OpcodeMap::_0F38)
|
379
|
-
.w(w)
|
380
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
381
|
-
.vvvv(src1.to_real_reg().unwrap().hw_enc())
|
382
|
-
.rm(src2.to_real_reg().unwrap().hw_enc())
|
383
|
-
.opcode(opcode)
|
384
|
-
.encode(sink);
|
385
|
-
}
|
386
|
-
|
387
|
-
Inst::UnaryRmR { size, op, src, dst } => {
|
388
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
389
|
-
let rex_flags = RexFlags::from(*size);
|
390
|
-
use UnaryRmROpcode::*;
|
391
|
-
let prefix = match size {
|
392
|
-
OperandSize::Size16 => match op {
|
393
|
-
Bsr | Bsf => LegacyPrefixes::_66,
|
394
|
-
Lzcnt | Tzcnt | Popcnt => LegacyPrefixes::_66F3,
|
395
|
-
},
|
396
|
-
OperandSize::Size32 | OperandSize::Size64 => match op {
|
397
|
-
Bsr | Bsf => LegacyPrefixes::None,
|
398
|
-
Lzcnt | Tzcnt | Popcnt => LegacyPrefixes::_F3,
|
399
|
-
},
|
400
|
-
_ => unreachable!(),
|
401
|
-
};
|
402
|
-
|
403
|
-
let (opcode, num_opcodes) = match op {
|
404
|
-
Bsr => (0x0fbd, 2),
|
405
|
-
Bsf => (0x0fbc, 2),
|
406
|
-
Lzcnt => (0x0fbd, 2),
|
407
|
-
Tzcnt => (0x0fbc, 2),
|
408
|
-
Popcnt => (0x0fb8, 2),
|
409
|
-
};
|
410
|
-
|
411
|
-
match src.clone().into() {
|
412
|
-
RegMem::Reg { reg: src } => {
|
413
|
-
let src = allocs.next(src);
|
414
|
-
emit_std_reg_reg(sink, prefix, opcode, num_opcodes, dst, src, rex_flags);
|
415
|
-
}
|
416
|
-
RegMem::Mem { addr: src } => {
|
417
|
-
let amode = src.finalize(state, sink).with_allocs(allocs);
|
418
|
-
emit_std_reg_mem(sink, prefix, opcode, num_opcodes, dst, &amode, rex_flags, 0);
|
419
|
-
}
|
420
|
-
}
|
421
|
-
}
|
422
|
-
|
423
|
-
Inst::UnaryRmRVex { size, op, src, dst } => {
|
424
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
425
|
-
let src = match src.clone().to_reg_mem().with_allocs(allocs) {
|
426
|
-
RegMem::Reg { reg } => {
|
427
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
428
|
-
}
|
429
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
430
|
-
};
|
431
|
-
|
432
|
-
let (opcode, opcode_ext) = match op {
|
433
|
-
UnaryRmRVexOpcode::Blsr => (0xF3, 1),
|
434
|
-
UnaryRmRVexOpcode::Blsmsk => (0xF3, 2),
|
435
|
-
UnaryRmRVexOpcode::Blsi => (0xF3, 3),
|
436
|
-
};
|
437
|
-
|
438
|
-
VexInstruction::new()
|
439
|
-
.map(OpcodeMap::_0F38)
|
440
|
-
.w(*size == OperandSize::Size64)
|
441
|
-
.opcode(opcode)
|
442
|
-
.reg(opcode_ext)
|
443
|
-
.vvvv(dst.to_real_reg().unwrap().hw_enc())
|
444
|
-
.rm(src)
|
445
|
-
.encode(sink);
|
446
|
-
}
|
447
|
-
|
448
|
-
Inst::Not { size, src, dst } => {
|
449
|
-
let src = allocs.next(src.to_reg());
|
450
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
451
|
-
debug_assert_eq!(src, dst);
|
452
|
-
let rex_flags = RexFlags::from((*size, dst));
|
453
|
-
let (opcode, prefix) = match size {
|
454
|
-
OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
|
455
|
-
OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
|
456
|
-
OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
|
457
|
-
OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
|
458
|
-
};
|
459
|
-
|
460
|
-
let subopcode = 2;
|
461
|
-
let enc_src = int_reg_enc(dst);
|
462
|
-
emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_src, rex_flags)
|
463
|
-
}
|
464
|
-
|
465
|
-
Inst::Neg { size, src, dst } => {
|
466
|
-
let src = allocs.next(src.to_reg());
|
467
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
468
|
-
debug_assert_eq!(src, dst);
|
469
|
-
let rex_flags = RexFlags::from((*size, dst));
|
470
|
-
let (opcode, prefix) = match size {
|
471
|
-
OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
|
472
|
-
OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
|
473
|
-
OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
|
474
|
-
OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
|
475
|
-
};
|
476
|
-
|
477
|
-
let subopcode = 3;
|
478
|
-
let enc_src = int_reg_enc(dst);
|
479
|
-
emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_src, rex_flags)
|
480
|
-
}
|
481
|
-
|
482
|
-
Inst::Div {
|
483
|
-
sign,
|
484
|
-
trap,
|
485
|
-
divisor,
|
486
|
-
..
|
487
|
-
}
|
488
|
-
| Inst::Div8 {
|
489
|
-
sign,
|
490
|
-
trap,
|
491
|
-
divisor,
|
492
|
-
..
|
493
|
-
} => {
|
494
|
-
let divisor = divisor.clone().to_reg_mem().with_allocs(allocs);
|
495
|
-
let size = match inst {
|
496
|
-
Inst::Div {
|
497
|
-
size,
|
498
|
-
dividend_lo,
|
499
|
-
dividend_hi,
|
500
|
-
dst_quotient,
|
501
|
-
dst_remainder,
|
502
|
-
..
|
503
|
-
} => {
|
504
|
-
let dividend_lo = allocs.next(dividend_lo.to_reg());
|
505
|
-
let dividend_hi = allocs.next(dividend_hi.to_reg());
|
506
|
-
let dst_quotient = allocs.next(dst_quotient.to_reg().to_reg());
|
507
|
-
let dst_remainder = allocs.next(dst_remainder.to_reg().to_reg());
|
508
|
-
debug_assert_eq!(dividend_lo, regs::rax());
|
509
|
-
debug_assert_eq!(dividend_hi, regs::rdx());
|
510
|
-
debug_assert_eq!(dst_quotient, regs::rax());
|
511
|
-
debug_assert_eq!(dst_remainder, regs::rdx());
|
512
|
-
*size
|
513
|
-
}
|
514
|
-
Inst::Div8 { dividend, dst, .. } => {
|
515
|
-
let dividend = allocs.next(dividend.to_reg());
|
516
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
517
|
-
debug_assert_eq!(dividend, regs::rax());
|
518
|
-
debug_assert_eq!(dst, regs::rax());
|
519
|
-
OperandSize::Size8
|
520
|
-
}
|
521
|
-
_ => unreachable!(),
|
522
|
-
};
|
523
|
-
|
524
|
-
let (opcode, prefix) = match size {
|
525
|
-
OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
|
526
|
-
OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
|
527
|
-
OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
|
528
|
-
OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
|
529
|
-
};
|
530
|
-
|
531
|
-
sink.add_trap(*trap);
|
532
|
-
|
533
|
-
let subopcode = match sign {
|
534
|
-
DivSignedness::Signed => 7,
|
535
|
-
DivSignedness::Unsigned => 6,
|
536
|
-
};
|
537
|
-
match divisor {
|
538
|
-
RegMem::Reg { reg } => {
|
539
|
-
let src = int_reg_enc(reg);
|
540
|
-
emit_std_enc_enc(
|
541
|
-
sink,
|
542
|
-
prefix,
|
543
|
-
opcode,
|
544
|
-
1,
|
545
|
-
subopcode,
|
546
|
-
src,
|
547
|
-
RexFlags::from((size, reg)),
|
548
|
-
)
|
549
|
-
}
|
550
|
-
RegMem::Mem { addr: src } => {
|
551
|
-
let amode = src.finalize(state, sink);
|
552
|
-
emit_std_enc_mem(
|
553
|
-
sink,
|
554
|
-
prefix,
|
555
|
-
opcode,
|
556
|
-
1,
|
557
|
-
subopcode,
|
558
|
-
&amode,
|
559
|
-
RexFlags::from(size),
|
560
|
-
0,
|
561
|
-
);
|
562
|
-
}
|
563
|
-
}
|
564
|
-
}
|
565
|
-
|
566
|
-
Inst::MulHi {
|
567
|
-
size,
|
568
|
-
signed,
|
569
|
-
src1,
|
570
|
-
src2,
|
571
|
-
dst_lo,
|
572
|
-
dst_hi,
|
573
|
-
} => {
|
574
|
-
let src1 = allocs.next(src1.to_reg());
|
575
|
-
let dst_lo = allocs.next(dst_lo.to_reg().to_reg());
|
576
|
-
let dst_hi = allocs.next(dst_hi.to_reg().to_reg());
|
577
|
-
debug_assert_eq!(src1, regs::rax());
|
578
|
-
debug_assert_eq!(dst_lo, regs::rax());
|
579
|
-
debug_assert_eq!(dst_hi, regs::rdx());
|
580
|
-
|
581
|
-
let rex_flags = RexFlags::from(*size);
|
582
|
-
let prefix = match size {
|
583
|
-
OperandSize::Size16 => LegacyPrefixes::_66,
|
584
|
-
OperandSize::Size32 => LegacyPrefixes::None,
|
585
|
-
OperandSize::Size64 => LegacyPrefixes::None,
|
586
|
-
_ => unreachable!(),
|
587
|
-
};
|
588
|
-
|
589
|
-
let subopcode = if *signed { 5 } else { 4 };
|
590
|
-
match src2.clone().to_reg_mem() {
|
591
|
-
RegMem::Reg { reg } => {
|
592
|
-
let reg = allocs.next(reg);
|
593
|
-
let src = int_reg_enc(reg);
|
594
|
-
emit_std_enc_enc(sink, prefix, 0xF7, 1, subopcode, src, rex_flags)
|
595
|
-
}
|
596
|
-
RegMem::Mem { addr: src } => {
|
597
|
-
let amode = src.finalize(state, sink).with_allocs(allocs);
|
598
|
-
emit_std_enc_mem(sink, prefix, 0xF7, 1, subopcode, &amode, rex_flags, 0);
|
599
|
-
}
|
600
|
-
}
|
601
|
-
}
|
602
|
-
|
603
|
-
Inst::UMulLo {
|
604
|
-
size,
|
605
|
-
src1,
|
606
|
-
src2,
|
607
|
-
dst,
|
608
|
-
} => {
|
609
|
-
let src1 = allocs.next(src1.to_reg());
|
610
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
611
|
-
debug_assert_eq!(src1, regs::rax());
|
612
|
-
debug_assert_eq!(dst, regs::rax());
|
613
|
-
|
614
|
-
let mut rex = RexFlags::from(*size);
|
615
|
-
let prefix = match size {
|
616
|
-
OperandSize::Size16 => LegacyPrefixes::_66,
|
617
|
-
_ => LegacyPrefixes::None,
|
618
|
-
};
|
619
|
-
|
620
|
-
let opcode = if *size == OperandSize::Size8 {
|
621
|
-
0xF6
|
622
|
-
} else {
|
623
|
-
0xF7
|
624
|
-
};
|
625
|
-
|
626
|
-
match src2.clone().to_reg_mem() {
|
627
|
-
RegMem::Reg { reg } => {
|
628
|
-
let reg = allocs.next(reg);
|
629
|
-
if *size == OperandSize::Size8 {
|
630
|
-
rex.always_emit_if_8bit_needed(reg);
|
631
|
-
}
|
632
|
-
let reg_e = int_reg_enc(reg);
|
633
|
-
emit_std_enc_enc(sink, prefix, opcode, 1, 4, reg_e, rex);
|
634
|
-
}
|
635
|
-
RegMem::Mem { addr: src } => {
|
636
|
-
let amode = src.finalize(state, sink).with_allocs(allocs);
|
637
|
-
emit_std_enc_mem(sink, prefix, opcode, 1, 4, &amode, rex, 0);
|
638
|
-
}
|
639
|
-
}
|
640
|
-
}
|
641
|
-
|
642
|
-
Inst::SignExtendData { size, src, dst } => {
|
643
|
-
let src = allocs.next(src.to_reg());
|
644
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
645
|
-
debug_assert_eq!(src, regs::rax());
|
646
|
-
if *size == OperandSize::Size8 {
|
647
|
-
debug_assert_eq!(dst, regs::rax());
|
648
|
-
} else {
|
649
|
-
debug_assert_eq!(dst, regs::rdx());
|
650
|
-
}
|
651
|
-
match size {
|
652
|
-
OperandSize::Size8 => {
|
653
|
-
sink.put1(0x66);
|
654
|
-
sink.put1(0x98);
|
655
|
-
}
|
656
|
-
OperandSize::Size16 => {
|
657
|
-
sink.put1(0x66);
|
658
|
-
sink.put1(0x99);
|
659
|
-
}
|
660
|
-
OperandSize::Size32 => sink.put1(0x99),
|
661
|
-
OperandSize::Size64 => {
|
662
|
-
sink.put1(0x48);
|
663
|
-
sink.put1(0x99);
|
664
|
-
}
|
665
|
-
}
|
666
|
-
}
|
667
|
-
|
668
|
-
Inst::CheckedSRemSeq { divisor, .. } | Inst::CheckedSRemSeq8 { divisor, .. } => {
|
669
|
-
let divisor = allocs.next(divisor.to_reg());
|
670
|
-
|
671
|
-
// Validate that the register constraints of the dividend and the
|
672
|
-
// destination are all as expected.
|
673
|
-
let (dst, size) = match inst {
|
674
|
-
Inst::CheckedSRemSeq {
|
675
|
-
dividend_lo,
|
676
|
-
dividend_hi,
|
677
|
-
dst_quotient,
|
678
|
-
dst_remainder,
|
679
|
-
size,
|
680
|
-
..
|
681
|
-
} => {
|
682
|
-
let dividend_lo = allocs.next(dividend_lo.to_reg());
|
683
|
-
let dividend_hi = allocs.next(dividend_hi.to_reg());
|
684
|
-
let dst_quotient = allocs.next(dst_quotient.to_reg().to_reg());
|
685
|
-
let dst_remainder = allocs.next(dst_remainder.to_reg().to_reg());
|
686
|
-
debug_assert_eq!(dividend_lo, regs::rax());
|
687
|
-
debug_assert_eq!(dividend_hi, regs::rdx());
|
688
|
-
debug_assert_eq!(dst_quotient, regs::rax());
|
689
|
-
debug_assert_eq!(dst_remainder, regs::rdx());
|
690
|
-
(regs::rdx(), *size)
|
691
|
-
}
|
692
|
-
Inst::CheckedSRemSeq8 { dividend, dst, .. } => {
|
693
|
-
let dividend = allocs.next(dividend.to_reg());
|
694
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
695
|
-
debug_assert_eq!(dividend, regs::rax());
|
696
|
-
debug_assert_eq!(dst, regs::rax());
|
697
|
-
(regs::rax(), OperandSize::Size8)
|
698
|
-
}
|
699
|
-
_ => unreachable!(),
|
700
|
-
};
|
701
|
-
|
702
|
-
// Generates the following code sequence:
|
703
|
-
//
|
704
|
-
// cmp -1 %divisor
|
705
|
-
// jnz $do_op
|
706
|
-
//
|
707
|
-
// ;; for srem, result is 0
|
708
|
-
// mov #0, %dst
|
709
|
-
// j $done
|
710
|
-
//
|
711
|
-
// $do_op:
|
712
|
-
// idiv %divisor
|
713
|
-
//
|
714
|
-
// $done:
|
715
|
-
|
716
|
-
let do_op = sink.get_label();
|
717
|
-
let done_label = sink.get_label();
|
718
|
-
|
719
|
-
// Check if the divisor is -1, and if it isn't then immediately
|
720
|
-
// go to the `idiv`.
|
721
|
-
let inst = Inst::cmp_rmi_r(size, RegMemImm::imm(0xffffffff), divisor);
|
722
|
-
inst.emit(&[], sink, info, state);
|
723
|
-
one_way_jmp(sink, CC::NZ, do_op);
|
724
|
-
|
725
|
-
// ... otherwise the divisor is -1 and the result is always 0. This
|
726
|
-
// is written to the destination register which will be %rax for
|
727
|
-
// 8-bit srem and %rdx otherwise.
|
728
|
-
//
|
729
|
-
// Note that for 16-to-64-bit srem operations this leaves the
|
730
|
-
// second destination, %rax, unchanged. This isn't semantically
|
731
|
-
// correct if a lowering actually tries to use the `dst_quotient`
|
732
|
-
// output but for srem only the `dst_remainder` output is used for
|
733
|
-
// now.
|
734
|
-
let inst = Inst::imm(OperandSize::Size64, 0, Writable::from_reg(dst));
|
735
|
-
inst.emit(&[], sink, info, state);
|
736
|
-
let inst = Inst::jmp_known(done_label);
|
737
|
-
inst.emit(&[], sink, info, state);
|
738
|
-
|
739
|
-
// Here the `idiv` is executed, which is different depending on the
|
740
|
-
// size
|
741
|
-
sink.bind_label(do_op, state.ctrl_plane_mut());
|
742
|
-
let inst = match size {
|
743
|
-
OperandSize::Size8 => Inst::div8(
|
744
|
-
DivSignedness::Signed,
|
745
|
-
TrapCode::IntegerDivisionByZero,
|
746
|
-
RegMem::reg(divisor),
|
747
|
-
Gpr::new(regs::rax()).unwrap(),
|
748
|
-
Writable::from_reg(Gpr::new(regs::rax()).unwrap()),
|
749
|
-
),
|
750
|
-
_ => Inst::div(
|
751
|
-
size,
|
752
|
-
DivSignedness::Signed,
|
753
|
-
TrapCode::IntegerDivisionByZero,
|
754
|
-
RegMem::reg(divisor),
|
755
|
-
Gpr::new(regs::rax()).unwrap(),
|
756
|
-
Gpr::new(regs::rdx()).unwrap(),
|
757
|
-
Writable::from_reg(Gpr::new(regs::rax()).unwrap()),
|
758
|
-
Writable::from_reg(Gpr::new(regs::rdx()).unwrap()),
|
759
|
-
),
|
760
|
-
};
|
761
|
-
inst.emit(&[], sink, info, state);
|
762
|
-
|
763
|
-
sink.bind_label(done_label, state.ctrl_plane_mut());
|
764
|
-
}
|
765
|
-
|
766
|
-
Inst::Imm {
|
767
|
-
dst_size,
|
768
|
-
simm64,
|
769
|
-
dst,
|
770
|
-
} => {
|
771
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
772
|
-
let enc_dst = int_reg_enc(dst);
|
773
|
-
if *dst_size == OperandSize::Size64 {
|
774
|
-
if low32_will_sign_extend_to_64(*simm64) {
|
775
|
-
// Sign-extended move imm32.
|
776
|
-
emit_std_enc_enc(
|
777
|
-
sink,
|
778
|
-
LegacyPrefixes::None,
|
779
|
-
0xC7,
|
780
|
-
1,
|
781
|
-
/* subopcode */ 0,
|
782
|
-
enc_dst,
|
783
|
-
RexFlags::set_w(),
|
784
|
-
);
|
785
|
-
sink.put4(*simm64 as u32);
|
786
|
-
} else {
|
787
|
-
sink.put1(0x48 | ((enc_dst >> 3) & 1));
|
788
|
-
sink.put1(0xB8 | (enc_dst & 7));
|
789
|
-
sink.put8(*simm64);
|
790
|
-
}
|
791
|
-
} else {
|
792
|
-
if ((enc_dst >> 3) & 1) == 1 {
|
793
|
-
sink.put1(0x41);
|
794
|
-
}
|
795
|
-
sink.put1(0xB8 | (enc_dst & 7));
|
796
|
-
sink.put4(*simm64 as u32);
|
797
|
-
}
|
798
|
-
}
|
799
|
-
|
800
|
-
Inst::MovImmM { size, simm64, dst } => {
|
801
|
-
let dst = &dst.finalize(state, sink).with_allocs(allocs);
|
802
|
-
let default_rex = RexFlags::clear_w();
|
803
|
-
let default_opcode = 0xC7;
|
804
|
-
let bytes = size.to_bytes();
|
805
|
-
let prefix = LegacyPrefixes::None;
|
806
|
-
|
807
|
-
let (opcode, rex, size, prefix) = match *size {
|
808
|
-
// In the 8-bit case, we don't need to enforce REX flags via
|
809
|
-
// `always_emit_if_8bit_needed()` since the destination
|
810
|
-
// operand is a memory operand, not a possibly 8-bit register.
|
811
|
-
OperandSize::Size8 => (0xC6, default_rex, bytes, prefix),
|
812
|
-
OperandSize::Size16 => (0xC7, default_rex, bytes, LegacyPrefixes::_66),
|
813
|
-
OperandSize::Size64 => {
|
814
|
-
if !low32_will_sign_extend_to_64(*simm64) {
|
815
|
-
panic!("Immediate-to-memory moves require immediate operand to sign-extend to 64 bits.");
|
816
|
-
}
|
817
|
-
|
818
|
-
(default_opcode, RexFlags::from(*size), bytes, prefix)
|
819
|
-
}
|
820
|
-
|
821
|
-
_ => (default_opcode, default_rex, bytes, prefix),
|
822
|
-
};
|
823
|
-
|
824
|
-
// 8-bit C6 /0 ib
|
825
|
-
// 16-bit 0x66 C7 /0 iw
|
826
|
-
// 32-bit C7 /0 id
|
827
|
-
// 64-bit REX.W C7 /0 id
|
828
|
-
emit_std_enc_mem(sink, prefix, opcode, 1, /*subopcode*/ 0, dst, rex, 0);
|
829
|
-
emit_simm(sink, size, *simm64 as u32);
|
830
|
-
}
|
831
|
-
|
832
|
-
Inst::MovRR { size, src, dst } => {
|
833
|
-
let src = allocs.next(src.to_reg());
|
834
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
835
|
-
emit_std_reg_reg(
|
836
|
-
sink,
|
837
|
-
LegacyPrefixes::None,
|
838
|
-
0x89,
|
839
|
-
1,
|
840
|
-
src,
|
841
|
-
dst,
|
842
|
-
RexFlags::from(*size),
|
843
|
-
);
|
844
|
-
}
|
845
|
-
|
846
|
-
Inst::MovFromPReg { src, dst } => {
|
847
|
-
allocs.next_fixed_nonallocatable(*src);
|
848
|
-
let src: Reg = (*src).into();
|
849
|
-
debug_assert!([regs::rsp(), regs::rbp(), regs::pinned_reg()].contains(&src));
|
850
|
-
let src = Gpr::new(src).unwrap();
|
851
|
-
let size = OperandSize::Size64;
|
852
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
853
|
-
let dst = WritableGpr::from_writable_reg(Writable::from_reg(dst)).unwrap();
|
854
|
-
Inst::MovRR { size, src, dst }.emit(&[], sink, info, state);
|
855
|
-
}
|
856
|
-
|
857
|
-
Inst::MovToPReg { src, dst } => {
|
858
|
-
let src = allocs.next(src.to_reg());
|
859
|
-
let src = Gpr::new(src).unwrap();
|
860
|
-
allocs.next_fixed_nonallocatable(*dst);
|
861
|
-
let dst: Reg = (*dst).into();
|
862
|
-
debug_assert!([regs::rsp(), regs::rbp(), regs::pinned_reg()].contains(&dst));
|
863
|
-
let dst = WritableGpr::from_writable_reg(Writable::from_reg(dst)).unwrap();
|
864
|
-
let size = OperandSize::Size64;
|
865
|
-
Inst::MovRR { size, src, dst }.emit(&[], sink, info, state);
|
866
|
-
}
|
867
|
-
|
868
|
-
Inst::MovzxRmR { ext_mode, src, dst } => {
|
869
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
870
|
-
let (opcodes, num_opcodes, mut rex_flags) = match ext_mode {
|
871
|
-
ExtMode::BL => {
|
872
|
-
// MOVZBL is (REX.W==0) 0F B6 /r
|
873
|
-
(0x0FB6, 2, RexFlags::clear_w())
|
874
|
-
}
|
875
|
-
ExtMode::BQ => {
|
876
|
-
// MOVZBQ is (REX.W==1) 0F B6 /r
|
877
|
-
// I'm not sure why the Intel manual offers different
|
878
|
-
// encodings for MOVZBQ than for MOVZBL. AIUI they should
|
879
|
-
// achieve the same, since MOVZBL is just going to zero out
|
880
|
-
// the upper half of the destination anyway.
|
881
|
-
(0x0FB6, 2, RexFlags::set_w())
|
882
|
-
}
|
883
|
-
ExtMode::WL => {
|
884
|
-
// MOVZWL is (REX.W==0) 0F B7 /r
|
885
|
-
(0x0FB7, 2, RexFlags::clear_w())
|
886
|
-
}
|
887
|
-
ExtMode::WQ => {
|
888
|
-
// MOVZWQ is (REX.W==1) 0F B7 /r
|
889
|
-
(0x0FB7, 2, RexFlags::set_w())
|
890
|
-
}
|
891
|
-
ExtMode::LQ => {
|
892
|
-
// This is just a standard 32 bit load, and we rely on the
|
893
|
-
// default zero-extension rule to perform the extension.
|
894
|
-
// Note that in reg/reg mode, gcc seems to use the swapped form R/RM, which we
|
895
|
-
// don't do here, since it's the same encoding size.
|
896
|
-
// MOV r/m32, r32 is (REX.W==0) 8B /r
|
897
|
-
(0x8B, 1, RexFlags::clear_w())
|
898
|
-
}
|
899
|
-
};
|
900
|
-
|
901
|
-
match src.clone().to_reg_mem() {
|
902
|
-
RegMem::Reg { reg: src } => {
|
903
|
-
let src = allocs.next(src);
|
904
|
-
match ext_mode {
|
905
|
-
ExtMode::BL | ExtMode::BQ => {
|
906
|
-
// A redundant REX prefix must be emitted for certain register inputs.
|
907
|
-
rex_flags.always_emit_if_8bit_needed(src);
|
908
|
-
}
|
909
|
-
_ => {}
|
910
|
-
}
|
911
|
-
emit_std_reg_reg(
|
912
|
-
sink,
|
913
|
-
LegacyPrefixes::None,
|
914
|
-
opcodes,
|
915
|
-
num_opcodes,
|
916
|
-
dst,
|
917
|
-
src,
|
918
|
-
rex_flags,
|
919
|
-
)
|
920
|
-
}
|
921
|
-
|
922
|
-
RegMem::Mem { addr: src } => {
|
923
|
-
let src = &src.finalize(state, sink).with_allocs(allocs);
|
924
|
-
|
925
|
-
emit_std_reg_mem(
|
926
|
-
sink,
|
927
|
-
LegacyPrefixes::None,
|
928
|
-
opcodes,
|
929
|
-
num_opcodes,
|
930
|
-
dst,
|
931
|
-
src,
|
932
|
-
rex_flags,
|
933
|
-
0,
|
934
|
-
)
|
935
|
-
}
|
936
|
-
}
|
937
|
-
}
|
938
|
-
|
939
|
-
Inst::Mov64MR { src, dst } => {
|
940
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
941
|
-
let src = &src.finalize(state, sink).with_allocs(allocs);
|
942
|
-
|
943
|
-
emit_std_reg_mem(
|
944
|
-
sink,
|
945
|
-
LegacyPrefixes::None,
|
946
|
-
0x8B,
|
947
|
-
1,
|
948
|
-
dst,
|
949
|
-
src,
|
950
|
-
RexFlags::set_w(),
|
951
|
-
0,
|
952
|
-
)
|
953
|
-
}
|
954
|
-
|
955
|
-
Inst::LoadEffectiveAddress { addr, dst, size } => {
|
956
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
957
|
-
let amode = addr.finalize(state, sink).with_allocs(allocs);
|
958
|
-
|
959
|
-
// If this `lea` can actually get encoded as an `add` then do that
|
960
|
-
// instead. Currently all candidate `iadd`s become an `lea`
|
961
|
-
// pseudo-instruction here but maximizing the sue of `lea` is not
|
962
|
-
// necessarily optimal. The `lea` instruction goes through dedicated
|
963
|
-
// address units on cores which are finite and disjoint from the
|
964
|
-
// general ALU, so if everything uses `lea` then those units can get
|
965
|
-
// saturated while leaving the ALU idle.
|
966
|
-
//
|
967
|
-
// To help make use of more parts of a cpu, this attempts to use
|
968
|
-
// `add` when it's semantically equivalent to `lea`, or otherwise
|
969
|
-
// when the `dst` register is the same as the `base` or `index`
|
970
|
-
// register.
|
971
|
-
//
|
972
|
-
// FIXME: ideally regalloc is informed of this constraint. Register
|
973
|
-
// allocation of `lea` should "attempt" to put the `base` in the
|
974
|
-
// same register as `dst` but not at the expense of generating a
|
975
|
-
// `mov` instruction. Currently that's not possible but perhaps one
|
976
|
-
// day it may be worth it.
|
977
|
-
match amode {
|
978
|
-
// If `base == dst` then this is `add $imm, %dst`, so encode
|
979
|
-
// that instead.
|
980
|
-
Amode::ImmReg {
|
981
|
-
simm32,
|
982
|
-
base,
|
983
|
-
flags: _,
|
984
|
-
} if base == dst => {
|
985
|
-
let inst = Inst::alu_rmi_r(
|
986
|
-
*size,
|
987
|
-
AluRmiROpcode::Add,
|
988
|
-
RegMemImm::imm(simm32),
|
989
|
-
Writable::from_reg(dst),
|
990
|
-
);
|
991
|
-
inst.emit(&[], sink, info, state);
|
992
|
-
}
|
993
|
-
// If the offset is 0 and the shift is 0 (meaning multiplication
|
994
|
-
// by 1) then:
|
995
|
-
//
|
996
|
-
// * If `base == dst`, then this is `add %index, %base`
|
997
|
-
// * If `index == dst`, then this is `add %base, %index`
|
998
|
-
//
|
999
|
-
// Encode the appropriate instruction here in that case.
|
1000
|
-
Amode::ImmRegRegShift {
|
1001
|
-
simm32: 0,
|
1002
|
-
base,
|
1003
|
-
index,
|
1004
|
-
shift: 0,
|
1005
|
-
flags: _,
|
1006
|
-
} if base == dst || index == dst => {
|
1007
|
-
let (dst, operand) = if base == dst {
|
1008
|
-
(base, index)
|
1009
|
-
} else {
|
1010
|
-
(index, base)
|
1011
|
-
};
|
1012
|
-
let inst = Inst::alu_rmi_r(
|
1013
|
-
*size,
|
1014
|
-
AluRmiROpcode::Add,
|
1015
|
-
RegMemImm::reg(operand.to_reg()),
|
1016
|
-
Writable::from_reg(dst.to_reg()),
|
1017
|
-
);
|
1018
|
-
inst.emit(&[], sink, info, state);
|
1019
|
-
}
|
1020
|
-
|
1021
|
-
// If `lea`'s 3-operand mode is leveraged by regalloc, or if
|
1022
|
-
// it's fancy like imm-plus-shift-plus-base, then `lea` is
|
1023
|
-
// actually emitted.
|
1024
|
-
_ => {
|
1025
|
-
let flags = match size {
|
1026
|
-
OperandSize::Size32 => RexFlags::clear_w(),
|
1027
|
-
OperandSize::Size64 => RexFlags::set_w(),
|
1028
|
-
_ => unreachable!(),
|
1029
|
-
};
|
1030
|
-
emit_std_reg_mem(sink, LegacyPrefixes::None, 0x8D, 1, dst, &amode, flags, 0);
|
1031
|
-
}
|
1032
|
-
};
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
Inst::MovsxRmR { ext_mode, src, dst } => {
|
1036
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1037
|
-
let (opcodes, num_opcodes, mut rex_flags) = match ext_mode {
|
1038
|
-
ExtMode::BL => {
|
1039
|
-
// MOVSBL is (REX.W==0) 0F BE /r
|
1040
|
-
(0x0FBE, 2, RexFlags::clear_w())
|
1041
|
-
}
|
1042
|
-
ExtMode::BQ => {
|
1043
|
-
// MOVSBQ is (REX.W==1) 0F BE /r
|
1044
|
-
(0x0FBE, 2, RexFlags::set_w())
|
1045
|
-
}
|
1046
|
-
ExtMode::WL => {
|
1047
|
-
// MOVSWL is (REX.W==0) 0F BF /r
|
1048
|
-
(0x0FBF, 2, RexFlags::clear_w())
|
1049
|
-
}
|
1050
|
-
ExtMode::WQ => {
|
1051
|
-
// MOVSWQ is (REX.W==1) 0F BF /r
|
1052
|
-
(0x0FBF, 2, RexFlags::set_w())
|
1053
|
-
}
|
1054
|
-
ExtMode::LQ => {
|
1055
|
-
// MOVSLQ is (REX.W==1) 63 /r
|
1056
|
-
(0x63, 1, RexFlags::set_w())
|
1057
|
-
}
|
1058
|
-
};
|
1059
|
-
|
1060
|
-
match src.clone().to_reg_mem() {
|
1061
|
-
RegMem::Reg { reg: src } => {
|
1062
|
-
let src = allocs.next(src);
|
1063
|
-
match ext_mode {
|
1064
|
-
ExtMode::BL | ExtMode::BQ => {
|
1065
|
-
// A redundant REX prefix must be emitted for certain register inputs.
|
1066
|
-
rex_flags.always_emit_if_8bit_needed(src);
|
1067
|
-
}
|
1068
|
-
_ => {}
|
1069
|
-
}
|
1070
|
-
emit_std_reg_reg(
|
1071
|
-
sink,
|
1072
|
-
LegacyPrefixes::None,
|
1073
|
-
opcodes,
|
1074
|
-
num_opcodes,
|
1075
|
-
dst,
|
1076
|
-
src,
|
1077
|
-
rex_flags,
|
1078
|
-
)
|
1079
|
-
}
|
1080
|
-
|
1081
|
-
RegMem::Mem { addr: src } => {
|
1082
|
-
let src = &src.finalize(state, sink).with_allocs(allocs);
|
1083
|
-
|
1084
|
-
emit_std_reg_mem(
|
1085
|
-
sink,
|
1086
|
-
LegacyPrefixes::None,
|
1087
|
-
opcodes,
|
1088
|
-
num_opcodes,
|
1089
|
-
dst,
|
1090
|
-
src,
|
1091
|
-
rex_flags,
|
1092
|
-
0,
|
1093
|
-
)
|
1094
|
-
}
|
1095
|
-
}
|
1096
|
-
}
|
1097
|
-
|
1098
|
-
Inst::MovRM { size, src, dst } => {
|
1099
|
-
let src = allocs.next(src.to_reg());
|
1100
|
-
let dst = &dst.finalize(state, sink).with_allocs(allocs);
|
1101
|
-
|
1102
|
-
let prefix = match size {
|
1103
|
-
OperandSize::Size16 => LegacyPrefixes::_66,
|
1104
|
-
_ => LegacyPrefixes::None,
|
1105
|
-
};
|
1106
|
-
|
1107
|
-
let opcode = match size {
|
1108
|
-
OperandSize::Size8 => 0x88,
|
1109
|
-
_ => 0x89,
|
1110
|
-
};
|
1111
|
-
|
1112
|
-
// This is one of the few places where the presence of a
|
1113
|
-
// redundant REX prefix changes the meaning of the
|
1114
|
-
// instruction.
|
1115
|
-
let rex = RexFlags::from((*size, src));
|
1116
|
-
|
1117
|
-
// 8-bit: MOV r8, r/m8 is (REX.W==0) 88 /r
|
1118
|
-
// 16-bit: MOV r16, r/m16 is 66 (REX.W==0) 89 /r
|
1119
|
-
// 32-bit: MOV r32, r/m32 is (REX.W==0) 89 /r
|
1120
|
-
// 64-bit: MOV r64, r/m64 is (REX.W==1) 89 /r
|
1121
|
-
emit_std_reg_mem(sink, prefix, opcode, 1, src, dst, rex, 0);
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
Inst::ShiftR {
|
1125
|
-
size,
|
1126
|
-
kind,
|
1127
|
-
src,
|
1128
|
-
num_bits,
|
1129
|
-
dst,
|
1130
|
-
} => {
|
1131
|
-
let src = allocs.next(src.to_reg());
|
1132
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1133
|
-
debug_assert_eq!(src, dst);
|
1134
|
-
let subopcode = match kind {
|
1135
|
-
ShiftKind::RotateLeft => 0,
|
1136
|
-
ShiftKind::RotateRight => 1,
|
1137
|
-
ShiftKind::ShiftLeft => 4,
|
1138
|
-
ShiftKind::ShiftRightLogical => 5,
|
1139
|
-
ShiftKind::ShiftRightArithmetic => 7,
|
1140
|
-
};
|
1141
|
-
let enc_dst = int_reg_enc(dst);
|
1142
|
-
let rex_flags = RexFlags::from((*size, dst));
|
1143
|
-
match num_bits.clone().to_imm8_reg() {
|
1144
|
-
Imm8Reg::Reg { reg } => {
|
1145
|
-
let reg = allocs.next(reg);
|
1146
|
-
debug_assert_eq!(reg, regs::rcx());
|
1147
|
-
let (opcode, prefix) = match size {
|
1148
|
-
OperandSize::Size8 => (0xD2, LegacyPrefixes::None),
|
1149
|
-
OperandSize::Size16 => (0xD3, LegacyPrefixes::_66),
|
1150
|
-
OperandSize::Size32 => (0xD3, LegacyPrefixes::None),
|
1151
|
-
OperandSize::Size64 => (0xD3, LegacyPrefixes::None),
|
1152
|
-
};
|
1153
|
-
|
1154
|
-
// SHL/SHR/SAR %cl, reg8 is (REX.W==0) D2 /subopcode
|
1155
|
-
// SHL/SHR/SAR %cl, reg16 is 66 (REX.W==0) D3 /subopcode
|
1156
|
-
// SHL/SHR/SAR %cl, reg32 is (REX.W==0) D3 /subopcode
|
1157
|
-
// SHL/SHR/SAR %cl, reg64 is (REX.W==1) D3 /subopcode
|
1158
|
-
emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_dst, rex_flags);
|
1159
|
-
}
|
1160
|
-
|
1161
|
-
Imm8Reg::Imm8 { imm: num_bits } => {
|
1162
|
-
let (opcode, prefix) = match size {
|
1163
|
-
OperandSize::Size8 => (0xC0, LegacyPrefixes::None),
|
1164
|
-
OperandSize::Size16 => (0xC1, LegacyPrefixes::_66),
|
1165
|
-
OperandSize::Size32 => (0xC1, LegacyPrefixes::None),
|
1166
|
-
OperandSize::Size64 => (0xC1, LegacyPrefixes::None),
|
1167
|
-
};
|
1168
|
-
|
1169
|
-
// SHL/SHR/SAR $ib, reg8 is (REX.W==0) C0 /subopcode
|
1170
|
-
// SHL/SHR/SAR $ib, reg16 is 66 (REX.W==0) C1 /subopcode
|
1171
|
-
// SHL/SHR/SAR $ib, reg32 is (REX.W==0) C1 /subopcode ib
|
1172
|
-
// SHL/SHR/SAR $ib, reg64 is (REX.W==1) C1 /subopcode ib
|
1173
|
-
// When the shift amount is 1, there's an even shorter encoding, but we don't
|
1174
|
-
// bother with that nicety here.
|
1175
|
-
emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_dst, rex_flags);
|
1176
|
-
sink.put1(num_bits);
|
1177
|
-
}
|
1178
|
-
}
|
1179
|
-
}
|
1180
|
-
|
1181
|
-
Inst::XmmRmiReg {
|
1182
|
-
opcode,
|
1183
|
-
src1,
|
1184
|
-
src2,
|
1185
|
-
dst,
|
1186
|
-
} => {
|
1187
|
-
let src1 = allocs.next(src1.to_reg());
|
1188
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1189
|
-
debug_assert_eq!(src1, dst);
|
1190
|
-
let rex = RexFlags::clear_w();
|
1191
|
-
let prefix = LegacyPrefixes::_66;
|
1192
|
-
let src2 = src2.clone().to_reg_mem_imm();
|
1193
|
-
if let RegMemImm::Imm { simm32 } = src2 {
|
1194
|
-
let (opcode_bytes, reg_digit) = match opcode {
|
1195
|
-
SseOpcode::Psllw => (0x0F71, 6),
|
1196
|
-
SseOpcode::Pslld => (0x0F72, 6),
|
1197
|
-
SseOpcode::Psllq => (0x0F73, 6),
|
1198
|
-
SseOpcode::Psraw => (0x0F71, 4),
|
1199
|
-
SseOpcode::Psrad => (0x0F72, 4),
|
1200
|
-
SseOpcode::Psrlw => (0x0F71, 2),
|
1201
|
-
SseOpcode::Psrld => (0x0F72, 2),
|
1202
|
-
SseOpcode::Psrlq => (0x0F73, 2),
|
1203
|
-
_ => panic!("invalid opcode: {}", opcode),
|
1204
|
-
};
|
1205
|
-
let dst_enc = reg_enc(dst);
|
1206
|
-
emit_std_enc_enc(sink, prefix, opcode_bytes, 2, reg_digit, dst_enc, rex);
|
1207
|
-
let imm = (simm32)
|
1208
|
-
.try_into()
|
1209
|
-
.expect("the immediate must be convertible to a u8");
|
1210
|
-
sink.put1(imm);
|
1211
|
-
} else {
|
1212
|
-
let opcode_bytes = match opcode {
|
1213
|
-
SseOpcode::Psllw => 0x0FF1,
|
1214
|
-
SseOpcode::Pslld => 0x0FF2,
|
1215
|
-
SseOpcode::Psllq => 0x0FF3,
|
1216
|
-
SseOpcode::Psraw => 0x0FE1,
|
1217
|
-
SseOpcode::Psrad => 0x0FE2,
|
1218
|
-
SseOpcode::Psrlw => 0x0FD1,
|
1219
|
-
SseOpcode::Psrld => 0x0FD2,
|
1220
|
-
SseOpcode::Psrlq => 0x0FD3,
|
1221
|
-
_ => panic!("invalid opcode: {}", opcode),
|
1222
|
-
};
|
1223
|
-
|
1224
|
-
match src2 {
|
1225
|
-
RegMemImm::Reg { reg } => {
|
1226
|
-
let reg = allocs.next(reg);
|
1227
|
-
emit_std_reg_reg(sink, prefix, opcode_bytes, 2, dst, reg, rex);
|
1228
|
-
}
|
1229
|
-
RegMemImm::Mem { addr } => {
|
1230
|
-
let addr = &addr.finalize(state, sink).with_allocs(allocs);
|
1231
|
-
emit_std_reg_mem(sink, prefix, opcode_bytes, 2, dst, addr, rex, 0);
|
1232
|
-
}
|
1233
|
-
RegMemImm::Imm { .. } => unreachable!(),
|
1234
|
-
}
|
1235
|
-
};
|
1236
|
-
}
|
1237
|
-
|
1238
|
-
Inst::CmpRmiR {
|
1239
|
-
size,
|
1240
|
-
src: src_e,
|
1241
|
-
dst: reg_g,
|
1242
|
-
opcode,
|
1243
|
-
} => {
|
1244
|
-
let reg_g = allocs.next(reg_g.to_reg());
|
1245
|
-
|
1246
|
-
let is_cmp = match opcode {
|
1247
|
-
CmpOpcode::Cmp => true,
|
1248
|
-
CmpOpcode::Test => false,
|
1249
|
-
};
|
1250
|
-
|
1251
|
-
let mut prefix = LegacyPrefixes::None;
|
1252
|
-
if *size == OperandSize::Size16 {
|
1253
|
-
prefix = LegacyPrefixes::_66;
|
1254
|
-
}
|
1255
|
-
// A redundant REX prefix can change the meaning of this instruction.
|
1256
|
-
let mut rex = RexFlags::from((*size, reg_g));
|
1257
|
-
|
1258
|
-
match src_e.clone().to_reg_mem_imm() {
|
1259
|
-
RegMemImm::Reg { reg: reg_e } => {
|
1260
|
-
let reg_e = allocs.next(reg_e);
|
1261
|
-
if *size == OperandSize::Size8 {
|
1262
|
-
// Check whether the E register forces the use of a redundant REX.
|
1263
|
-
rex.always_emit_if_8bit_needed(reg_e);
|
1264
|
-
}
|
1265
|
-
|
1266
|
-
// Use the swapped operands encoding for CMP, to stay consistent with the output of
|
1267
|
-
// gcc/llvm.
|
1268
|
-
let opcode = match (*size, is_cmp) {
|
1269
|
-
(OperandSize::Size8, true) => 0x38,
|
1270
|
-
(_, true) => 0x39,
|
1271
|
-
(OperandSize::Size8, false) => 0x84,
|
1272
|
-
(_, false) => 0x85,
|
1273
|
-
};
|
1274
|
-
emit_std_reg_reg(sink, prefix, opcode, 1, reg_e, reg_g, rex);
|
1275
|
-
}
|
1276
|
-
|
1277
|
-
RegMemImm::Mem { addr } => {
|
1278
|
-
let addr = &addr.finalize(state, sink).with_allocs(allocs);
|
1279
|
-
// Whereas here we revert to the "normal" G-E ordering for CMP.
|
1280
|
-
let opcode = match (*size, is_cmp) {
|
1281
|
-
(OperandSize::Size8, true) => 0x3A,
|
1282
|
-
(_, true) => 0x3B,
|
1283
|
-
(OperandSize::Size8, false) => 0x84,
|
1284
|
-
(_, false) => 0x85,
|
1285
|
-
};
|
1286
|
-
emit_std_reg_mem(sink, prefix, opcode, 1, reg_g, addr, rex, 0);
|
1287
|
-
}
|
1288
|
-
|
1289
|
-
RegMemImm::Imm { simm32 } => {
|
1290
|
-
// FIXME JRS 2020Feb11: there are shorter encodings for
|
1291
|
-
// cmp $imm, rax/eax/ax/al.
|
1292
|
-
let use_imm8 = is_cmp && low8_will_sign_extend_to_32(simm32);
|
1293
|
-
|
1294
|
-
// And also here we use the "normal" G-E ordering.
|
1295
|
-
let opcode = if is_cmp {
|
1296
|
-
if *size == OperandSize::Size8 {
|
1297
|
-
0x80
|
1298
|
-
} else if use_imm8 {
|
1299
|
-
0x83
|
1300
|
-
} else {
|
1301
|
-
0x81
|
1302
|
-
}
|
1303
|
-
} else {
|
1304
|
-
if *size == OperandSize::Size8 {
|
1305
|
-
0xF6
|
1306
|
-
} else {
|
1307
|
-
0xF7
|
1308
|
-
}
|
1309
|
-
};
|
1310
|
-
let subopcode = if is_cmp { 7 } else { 0 };
|
1311
|
-
|
1312
|
-
let enc_g = int_reg_enc(reg_g);
|
1313
|
-
emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_g, rex);
|
1314
|
-
emit_simm(sink, if use_imm8 { 1 } else { size.to_bytes() }, simm32);
|
1315
|
-
}
|
1316
|
-
}
|
1317
|
-
}
|
1318
|
-
|
1319
|
-
Inst::Setcc { cc, dst } => {
|
1320
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1321
|
-
let opcode = 0x0f90 + cc.get_enc() as u32;
|
1322
|
-
let mut rex_flags = RexFlags::clear_w();
|
1323
|
-
rex_flags.always_emit();
|
1324
|
-
emit_std_enc_enc(
|
1325
|
-
sink,
|
1326
|
-
LegacyPrefixes::None,
|
1327
|
-
opcode,
|
1328
|
-
2,
|
1329
|
-
0,
|
1330
|
-
reg_enc(dst),
|
1331
|
-
rex_flags,
|
1332
|
-
);
|
1333
|
-
}
|
1334
|
-
|
1335
|
-
Inst::Bswap { size, src, dst } => {
|
1336
|
-
let src = allocs.next(src.to_reg());
|
1337
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1338
|
-
debug_assert_eq!(src, dst);
|
1339
|
-
let enc_reg = int_reg_enc(dst);
|
1340
|
-
|
1341
|
-
// BSWAP reg32 is (REX.W==0) 0F C8
|
1342
|
-
// BSWAP reg64 is (REX.W==1) 0F C8
|
1343
|
-
let rex_flags = RexFlags::from(*size);
|
1344
|
-
rex_flags.emit_one_op(sink, enc_reg);
|
1345
|
-
|
1346
|
-
sink.put1(0x0F);
|
1347
|
-
sink.put1(0xC8 | (enc_reg & 7));
|
1348
|
-
}
|
1349
|
-
|
1350
|
-
Inst::Cmove {
|
1351
|
-
size,
|
1352
|
-
cc,
|
1353
|
-
consequent,
|
1354
|
-
alternative,
|
1355
|
-
dst,
|
1356
|
-
} => {
|
1357
|
-
let alternative = allocs.next(alternative.to_reg());
|
1358
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1359
|
-
debug_assert_eq!(alternative, dst);
|
1360
|
-
let rex_flags = RexFlags::from(*size);
|
1361
|
-
let prefix = match size {
|
1362
|
-
OperandSize::Size16 => LegacyPrefixes::_66,
|
1363
|
-
OperandSize::Size32 => LegacyPrefixes::None,
|
1364
|
-
OperandSize::Size64 => LegacyPrefixes::None,
|
1365
|
-
_ => unreachable!("invalid size spec for cmove"),
|
1366
|
-
};
|
1367
|
-
let opcode = 0x0F40 + cc.get_enc() as u32;
|
1368
|
-
match consequent.clone().to_reg_mem() {
|
1369
|
-
RegMem::Reg { reg } => {
|
1370
|
-
let reg = allocs.next(reg);
|
1371
|
-
emit_std_reg_reg(sink, prefix, opcode, 2, dst, reg, rex_flags);
|
1372
|
-
}
|
1373
|
-
RegMem::Mem { addr } => {
|
1374
|
-
let addr = &addr.finalize(state, sink).with_allocs(allocs);
|
1375
|
-
emit_std_reg_mem(sink, prefix, opcode, 2, dst, addr, rex_flags, 0);
|
1376
|
-
}
|
1377
|
-
}
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
Inst::XmmCmove {
|
1381
|
-
ty,
|
1382
|
-
cc,
|
1383
|
-
consequent,
|
1384
|
-
alternative,
|
1385
|
-
dst,
|
1386
|
-
} => {
|
1387
|
-
let alternative = allocs.next(alternative.to_reg());
|
1388
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1389
|
-
debug_assert_eq!(alternative, dst);
|
1390
|
-
let consequent = consequent.clone().to_reg_mem().with_allocs(allocs);
|
1391
|
-
|
1392
|
-
// Lowering of the Select IR opcode when the input is an fcmp relies on the fact that
|
1393
|
-
// this doesn't clobber flags. Make sure to not do so here.
|
1394
|
-
let next = sink.get_label();
|
1395
|
-
|
1396
|
-
// Jump if cc is *not* set.
|
1397
|
-
one_way_jmp(sink, cc.invert(), next);
|
1398
|
-
|
1399
|
-
let op = match *ty {
|
1400
|
-
types::F64 => SseOpcode::Movsd,
|
1401
|
-
types::F32 => SseOpcode::Movsd,
|
1402
|
-
types::F32X4 => SseOpcode::Movaps,
|
1403
|
-
types::F64X2 => SseOpcode::Movapd,
|
1404
|
-
ty => {
|
1405
|
-
debug_assert!(ty.is_vector() && ty.bytes() == 16);
|
1406
|
-
SseOpcode::Movdqa
|
1407
|
-
}
|
1408
|
-
};
|
1409
|
-
let inst = Inst::xmm_unary_rm_r(op, consequent, Writable::from_reg(dst));
|
1410
|
-
inst.emit(&[], sink, info, state);
|
1411
|
-
|
1412
|
-
sink.bind_label(next, state.ctrl_plane_mut());
|
1413
|
-
}
|
1414
|
-
|
1415
|
-
Inst::Push64 { src } => {
|
1416
|
-
let src = src.clone().to_reg_mem_imm().with_allocs(allocs);
|
1417
|
-
|
1418
|
-
match src {
|
1419
|
-
RegMemImm::Reg { reg } => {
|
1420
|
-
let enc_reg = int_reg_enc(reg);
|
1421
|
-
let rex = 0x40 | ((enc_reg >> 3) & 1);
|
1422
|
-
if rex != 0x40 {
|
1423
|
-
sink.put1(rex);
|
1424
|
-
}
|
1425
|
-
sink.put1(0x50 | (enc_reg & 7));
|
1426
|
-
}
|
1427
|
-
|
1428
|
-
RegMemImm::Mem { addr } => {
|
1429
|
-
let addr = &addr.finalize(state, sink);
|
1430
|
-
emit_std_enc_mem(
|
1431
|
-
sink,
|
1432
|
-
LegacyPrefixes::None,
|
1433
|
-
0xFF,
|
1434
|
-
1,
|
1435
|
-
6, /*subopcode*/
|
1436
|
-
addr,
|
1437
|
-
RexFlags::clear_w(),
|
1438
|
-
0,
|
1439
|
-
);
|
1440
|
-
}
|
1441
|
-
|
1442
|
-
RegMemImm::Imm { simm32 } => {
|
1443
|
-
if low8_will_sign_extend_to_64(simm32) {
|
1444
|
-
sink.put1(0x6A);
|
1445
|
-
sink.put1(simm32 as u8);
|
1446
|
-
} else {
|
1447
|
-
sink.put1(0x68);
|
1448
|
-
sink.put4(simm32);
|
1449
|
-
}
|
1450
|
-
}
|
1451
|
-
}
|
1452
|
-
}
|
1453
|
-
|
1454
|
-
Inst::Pop64 { dst } => {
|
1455
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1456
|
-
let enc_dst = int_reg_enc(dst);
|
1457
|
-
if enc_dst >= 8 {
|
1458
|
-
// 0x41 == REX.{W=0, B=1}. It seems that REX.W is irrelevant here.
|
1459
|
-
sink.put1(0x41);
|
1460
|
-
}
|
1461
|
-
sink.put1(0x58 + (enc_dst & 7));
|
1462
|
-
}
|
1463
|
-
|
1464
|
-
Inst::StackProbeLoop {
|
1465
|
-
tmp,
|
1466
|
-
frame_size,
|
1467
|
-
guard_size,
|
1468
|
-
} => {
|
1469
|
-
assert!(info.flags.enable_probestack());
|
1470
|
-
assert!(guard_size.is_power_of_two());
|
1471
|
-
|
1472
|
-
let tmp = allocs.next_writable(*tmp);
|
1473
|
-
|
1474
|
-
// Number of probes that we need to perform
|
1475
|
-
let probe_count = align_to(*frame_size, *guard_size) / guard_size;
|
1476
|
-
|
1477
|
-
// The inline stack probe loop has 3 phases:
|
1478
|
-
//
|
1479
|
-
// We generate the "guard area" register which is essentially the frame_size aligned to
|
1480
|
-
// guard_size. We copy the stack pointer and subtract the guard area from it. This
|
1481
|
-
// gets us a register that we can use to compare when looping.
|
1482
|
-
//
|
1483
|
-
// After that we emit the loop. Essentially we just adjust the stack pointer one guard_size'd
|
1484
|
-
// distance at a time and then touch the stack by writing anything to it. We use the previously
|
1485
|
-
// created "guard area" register to know when to stop looping.
|
1486
|
-
//
|
1487
|
-
// When we have touched all the pages that we need, we have to restore the stack pointer
|
1488
|
-
// to where it was before.
|
1489
|
-
//
|
1490
|
-
// Generate the following code:
|
1491
|
-
// mov tmp_reg, rsp
|
1492
|
-
// sub tmp_reg, guard_size * probe_count
|
1493
|
-
// .loop_start:
|
1494
|
-
// sub rsp, guard_size
|
1495
|
-
// mov [rsp], rsp
|
1496
|
-
// cmp rsp, tmp_reg
|
1497
|
-
// jne .loop_start
|
1498
|
-
// add rsp, guard_size * probe_count
|
1499
|
-
|
1500
|
-
// Create the guard bound register
|
1501
|
-
// mov tmp_reg, rsp
|
1502
|
-
let inst = Inst::gen_move(tmp, regs::rsp(), types::I64);
|
1503
|
-
inst.emit(&[], sink, info, state);
|
1504
|
-
|
1505
|
-
// sub tmp_reg, GUARD_SIZE * probe_count
|
1506
|
-
let inst = Inst::alu_rmi_r(
|
1507
|
-
OperandSize::Size64,
|
1508
|
-
AluRmiROpcode::Sub,
|
1509
|
-
RegMemImm::imm(guard_size * probe_count),
|
1510
|
-
tmp,
|
1511
|
-
);
|
1512
|
-
inst.emit(&[], sink, info, state);
|
1513
|
-
|
1514
|
-
// Emit the main loop!
|
1515
|
-
let loop_start = sink.get_label();
|
1516
|
-
sink.bind_label(loop_start, state.ctrl_plane_mut());
|
1517
|
-
|
1518
|
-
// sub rsp, GUARD_SIZE
|
1519
|
-
let inst = Inst::alu_rmi_r(
|
1520
|
-
OperandSize::Size64,
|
1521
|
-
AluRmiROpcode::Sub,
|
1522
|
-
RegMemImm::imm(*guard_size),
|
1523
|
-
Writable::from_reg(regs::rsp()),
|
1524
|
-
);
|
1525
|
-
inst.emit(&[], sink, info, state);
|
1526
|
-
|
1527
|
-
// TODO: `mov [rsp], 0` would be better, but we don't have that instruction
|
1528
|
-
// Probe the stack! We don't use Inst::gen_store_stack here because we need a predictable
|
1529
|
-
// instruction size.
|
1530
|
-
// mov [rsp], rsp
|
1531
|
-
let inst = Inst::mov_r_m(
|
1532
|
-
OperandSize::Size32, // Use Size32 since it saves us one byte
|
1533
|
-
regs::rsp(),
|
1534
|
-
SyntheticAmode::Real(Amode::imm_reg(0, regs::rsp())),
|
1535
|
-
);
|
1536
|
-
inst.emit(&[], sink, info, state);
|
1537
|
-
|
1538
|
-
// Compare and jump if we are not done yet
|
1539
|
-
// cmp rsp, tmp_reg
|
1540
|
-
let inst = Inst::cmp_rmi_r(
|
1541
|
-
OperandSize::Size64,
|
1542
|
-
RegMemImm::reg(regs::rsp()),
|
1543
|
-
tmp.to_reg(),
|
1544
|
-
);
|
1545
|
-
inst.emit(&[], sink, info, state);
|
1546
|
-
|
1547
|
-
// jne .loop_start
|
1548
|
-
// TODO: Encoding the JmpIf as a short jump saves us 4 bytes here.
|
1549
|
-
one_way_jmp(sink, CC::NZ, loop_start);
|
1550
|
-
|
1551
|
-
// The regular prologue code is going to emit a `sub` after this, so we need to
|
1552
|
-
// reset the stack pointer
|
1553
|
-
//
|
1554
|
-
// TODO: It would be better if we could avoid the `add` + `sub` that is generated here
|
1555
|
-
// and in the stack adj portion of the prologue
|
1556
|
-
//
|
1557
|
-
// add rsp, GUARD_SIZE * probe_count
|
1558
|
-
let inst = Inst::alu_rmi_r(
|
1559
|
-
OperandSize::Size64,
|
1560
|
-
AluRmiROpcode::Add,
|
1561
|
-
RegMemImm::imm(guard_size * probe_count),
|
1562
|
-
Writable::from_reg(regs::rsp()),
|
1563
|
-
);
|
1564
|
-
inst.emit(&[], sink, info, state);
|
1565
|
-
}
|
1566
|
-
|
1567
|
-
Inst::CallKnown {
|
1568
|
-
dest,
|
1569
|
-
info: call_info,
|
1570
|
-
..
|
1571
|
-
} => {
|
1572
|
-
if let Some(s) = state.take_stack_map() {
|
1573
|
-
sink.add_stack_map(StackMapExtent::UpcomingBytes(5), s);
|
1574
|
-
}
|
1575
|
-
sink.put1(0xE8);
|
1576
|
-
// The addend adjusts for the difference between the end of the instruction and the
|
1577
|
-
// beginning of the immediate field.
|
1578
|
-
emit_reloc(sink, Reloc::X86CallPCRel4, &dest, -4);
|
1579
|
-
sink.put4(0);
|
1580
|
-
if call_info.opcode.is_call() {
|
1581
|
-
sink.add_call_site(call_info.opcode);
|
1582
|
-
}
|
1583
|
-
|
1584
|
-
let callee_pop_size = i64::from(call_info.callee_pop_size);
|
1585
|
-
state.adjust_virtual_sp_offset(-callee_pop_size);
|
1586
|
-
}
|
1587
|
-
|
1588
|
-
Inst::ReturnCallKnown {
|
1589
|
-
callee,
|
1590
|
-
info: call_info,
|
1591
|
-
} => {
|
1592
|
-
emit_return_call_common_sequence(
|
1593
|
-
allocs,
|
1594
|
-
sink,
|
1595
|
-
info,
|
1596
|
-
state,
|
1597
|
-
call_info.new_stack_arg_size,
|
1598
|
-
call_info.old_stack_arg_size,
|
1599
|
-
call_info.ret_addr,
|
1600
|
-
call_info.fp,
|
1601
|
-
call_info.tmp,
|
1602
|
-
&call_info.uses,
|
1603
|
-
);
|
1604
|
-
|
1605
|
-
// Finally, jump to the callee!
|
1606
|
-
//
|
1607
|
-
// Note: this is not `Inst::Jmp { .. }.emit(..)` because we have
|
1608
|
-
// different metadata in this case: we don't have a label for the
|
1609
|
-
// target, but rather a function relocation.
|
1610
|
-
sink.put1(0xE9);
|
1611
|
-
// The addend adjusts for the difference between the end of the instruction and the
|
1612
|
-
// beginning of the immediate field.
|
1613
|
-
emit_reloc(sink, Reloc::X86CallPCRel4, &callee, -4);
|
1614
|
-
sink.put4(0);
|
1615
|
-
sink.add_call_site(ir::Opcode::ReturnCall);
|
1616
|
-
}
|
1617
|
-
|
1618
|
-
Inst::ReturnCallUnknown {
|
1619
|
-
callee,
|
1620
|
-
info: call_info,
|
1621
|
-
} => {
|
1622
|
-
let callee = callee.with_allocs(allocs);
|
1623
|
-
|
1624
|
-
emit_return_call_common_sequence(
|
1625
|
-
allocs,
|
1626
|
-
sink,
|
1627
|
-
info,
|
1628
|
-
state,
|
1629
|
-
call_info.new_stack_arg_size,
|
1630
|
-
call_info.old_stack_arg_size,
|
1631
|
-
call_info.ret_addr,
|
1632
|
-
call_info.fp,
|
1633
|
-
call_info.tmp,
|
1634
|
-
&call_info.uses,
|
1635
|
-
);
|
1636
|
-
|
1637
|
-
Inst::JmpUnknown { target: callee }.emit(&[], sink, info, state);
|
1638
|
-
sink.add_call_site(ir::Opcode::ReturnCallIndirect);
|
1639
|
-
}
|
1640
|
-
|
1641
|
-
Inst::CallUnknown {
|
1642
|
-
dest,
|
1643
|
-
info: call_info,
|
1644
|
-
..
|
1645
|
-
} => {
|
1646
|
-
let dest = dest.with_allocs(allocs);
|
1647
|
-
|
1648
|
-
let start_offset = sink.cur_offset();
|
1649
|
-
match dest {
|
1650
|
-
RegMem::Reg { reg } => {
|
1651
|
-
let reg_enc = int_reg_enc(reg);
|
1652
|
-
emit_std_enc_enc(
|
1653
|
-
sink,
|
1654
|
-
LegacyPrefixes::None,
|
1655
|
-
0xFF,
|
1656
|
-
1,
|
1657
|
-
2, /*subopcode*/
|
1658
|
-
reg_enc,
|
1659
|
-
RexFlags::clear_w(),
|
1660
|
-
);
|
1661
|
-
}
|
1662
|
-
|
1663
|
-
RegMem::Mem { addr } => {
|
1664
|
-
let addr = &addr.finalize(state, sink);
|
1665
|
-
emit_std_enc_mem(
|
1666
|
-
sink,
|
1667
|
-
LegacyPrefixes::None,
|
1668
|
-
0xFF,
|
1669
|
-
1,
|
1670
|
-
2, /*subopcode*/
|
1671
|
-
addr,
|
1672
|
-
RexFlags::clear_w(),
|
1673
|
-
0,
|
1674
|
-
);
|
1675
|
-
}
|
1676
|
-
}
|
1677
|
-
if let Some(s) = state.take_stack_map() {
|
1678
|
-
sink.add_stack_map(StackMapExtent::StartedAtOffset(start_offset), s);
|
1679
|
-
}
|
1680
|
-
if call_info.opcode.is_call() {
|
1681
|
-
sink.add_call_site(call_info.opcode);
|
1682
|
-
}
|
1683
|
-
|
1684
|
-
let callee_pop_size = i64::from(call_info.callee_pop_size);
|
1685
|
-
state.adjust_virtual_sp_offset(-callee_pop_size);
|
1686
|
-
}
|
1687
|
-
|
1688
|
-
Inst::Args { .. } => {}
|
1689
|
-
|
1690
|
-
Inst::Ret {
|
1691
|
-
stack_bytes_to_pop: 0,
|
1692
|
-
..
|
1693
|
-
} => sink.put1(0xC3),
|
1694
|
-
|
1695
|
-
Inst::Ret {
|
1696
|
-
stack_bytes_to_pop, ..
|
1697
|
-
} => {
|
1698
|
-
sink.put1(0xC2);
|
1699
|
-
sink.put2(u16::try_from(*stack_bytes_to_pop).unwrap());
|
1700
|
-
}
|
1701
|
-
|
1702
|
-
Inst::JmpKnown { dst } => {
|
1703
|
-
let br_start = sink.cur_offset();
|
1704
|
-
let br_disp_off = br_start + 1;
|
1705
|
-
let br_end = br_start + 5;
|
1706
|
-
|
1707
|
-
sink.use_label_at_offset(br_disp_off, *dst, LabelUse::JmpRel32);
|
1708
|
-
sink.add_uncond_branch(br_start, br_end, *dst);
|
1709
|
-
|
1710
|
-
sink.put1(0xE9);
|
1711
|
-
// Placeholder for the label value.
|
1712
|
-
sink.put4(0x0);
|
1713
|
-
}
|
1714
|
-
|
1715
|
-
Inst::JmpIf { cc, taken } => {
|
1716
|
-
let cond_start = sink.cur_offset();
|
1717
|
-
let cond_disp_off = cond_start + 2;
|
1718
|
-
|
1719
|
-
sink.use_label_at_offset(cond_disp_off, *taken, LabelUse::JmpRel32);
|
1720
|
-
// Since this is not a terminator, don't enroll in the branch inversion mechanism.
|
1721
|
-
|
1722
|
-
sink.put1(0x0F);
|
1723
|
-
sink.put1(0x80 + cc.get_enc());
|
1724
|
-
// Placeholder for the label value.
|
1725
|
-
sink.put4(0x0);
|
1726
|
-
}
|
1727
|
-
|
1728
|
-
Inst::JmpCond {
|
1729
|
-
cc,
|
1730
|
-
taken,
|
1731
|
-
not_taken,
|
1732
|
-
} => {
|
1733
|
-
// If taken.
|
1734
|
-
let cond_start = sink.cur_offset();
|
1735
|
-
let cond_disp_off = cond_start + 2;
|
1736
|
-
let cond_end = cond_start + 6;
|
1737
|
-
|
1738
|
-
sink.use_label_at_offset(cond_disp_off, *taken, LabelUse::JmpRel32);
|
1739
|
-
let inverted: [u8; 6] = [0x0F, 0x80 + (cc.invert().get_enc()), 0x00, 0x00, 0x00, 0x00];
|
1740
|
-
sink.add_cond_branch(cond_start, cond_end, *taken, &inverted[..]);
|
1741
|
-
|
1742
|
-
sink.put1(0x0F);
|
1743
|
-
sink.put1(0x80 + cc.get_enc());
|
1744
|
-
// Placeholder for the label value.
|
1745
|
-
sink.put4(0x0);
|
1746
|
-
|
1747
|
-
// If not taken.
|
1748
|
-
let uncond_start = sink.cur_offset();
|
1749
|
-
let uncond_disp_off = uncond_start + 1;
|
1750
|
-
let uncond_end = uncond_start + 5;
|
1751
|
-
|
1752
|
-
sink.use_label_at_offset(uncond_disp_off, *not_taken, LabelUse::JmpRel32);
|
1753
|
-
sink.add_uncond_branch(uncond_start, uncond_end, *not_taken);
|
1754
|
-
|
1755
|
-
sink.put1(0xE9);
|
1756
|
-
// Placeholder for the label value.
|
1757
|
-
sink.put4(0x0);
|
1758
|
-
}
|
1759
|
-
|
1760
|
-
Inst::JmpUnknown { target } => {
|
1761
|
-
let target = target.with_allocs(allocs);
|
1762
|
-
|
1763
|
-
match target {
|
1764
|
-
RegMem::Reg { reg } => {
|
1765
|
-
let reg_enc = int_reg_enc(reg);
|
1766
|
-
emit_std_enc_enc(
|
1767
|
-
sink,
|
1768
|
-
LegacyPrefixes::None,
|
1769
|
-
0xFF,
|
1770
|
-
1,
|
1771
|
-
4, /*subopcode*/
|
1772
|
-
reg_enc,
|
1773
|
-
RexFlags::clear_w(),
|
1774
|
-
);
|
1775
|
-
}
|
1776
|
-
|
1777
|
-
RegMem::Mem { addr } => {
|
1778
|
-
let addr = &addr.finalize(state, sink);
|
1779
|
-
emit_std_enc_mem(
|
1780
|
-
sink,
|
1781
|
-
LegacyPrefixes::None,
|
1782
|
-
0xFF,
|
1783
|
-
1,
|
1784
|
-
4, /*subopcode*/
|
1785
|
-
addr,
|
1786
|
-
RexFlags::clear_w(),
|
1787
|
-
0,
|
1788
|
-
);
|
1789
|
-
}
|
1790
|
-
}
|
1791
|
-
}
|
1792
|
-
|
1793
|
-
Inst::JmpTableSeq {
|
1794
|
-
idx,
|
1795
|
-
tmp1,
|
1796
|
-
tmp2,
|
1797
|
-
ref targets,
|
1798
|
-
default_target,
|
1799
|
-
..
|
1800
|
-
} => {
|
1801
|
-
let idx = allocs.next(*idx);
|
1802
|
-
let tmp1 = Writable::from_reg(allocs.next(tmp1.to_reg()));
|
1803
|
-
let tmp2 = Writable::from_reg(allocs.next(tmp2.to_reg()));
|
1804
|
-
|
1805
|
-
// This sequence is *one* instruction in the vcode, and is expanded only here at
|
1806
|
-
// emission time, because we cannot allow the regalloc to insert spills/reloads in
|
1807
|
-
// the middle; we depend on hardcoded PC-rel addressing below.
|
1808
|
-
//
|
1809
|
-
// We don't have to worry about emitting islands, because the only label-use type has a
|
1810
|
-
// maximum range of 2 GB. If we later consider using shorter-range label references,
|
1811
|
-
// this will need to be revisited.
|
1812
|
-
|
1813
|
-
// We generate the following sequence. Note that the only read of %idx is before the
|
1814
|
-
// write to %tmp2, so regalloc may use the same register for both; fix x64/inst/mod.rs
|
1815
|
-
// if you change this.
|
1816
|
-
// lea start_of_jump_table_offset(%rip), %tmp1
|
1817
|
-
// movslq [%tmp1, %idx, 4], %tmp2 ;; shift of 2, viz. multiply index by 4
|
1818
|
-
// addq %tmp2, %tmp1
|
1819
|
-
// j *%tmp1
|
1820
|
-
// $start_of_jump_table:
|
1821
|
-
// -- jump table entries
|
1822
|
-
|
1823
|
-
// Load base address of jump table.
|
1824
|
-
let start_of_jumptable = sink.get_label();
|
1825
|
-
let inst = Inst::lea(Amode::rip_relative(start_of_jumptable), tmp1);
|
1826
|
-
inst.emit(&[], sink, info, state);
|
1827
|
-
|
1828
|
-
// Load value out of the jump table. It's a relative offset to the target block, so it
|
1829
|
-
// might be negative; use a sign-extension.
|
1830
|
-
let inst = Inst::movsx_rm_r(
|
1831
|
-
ExtMode::LQ,
|
1832
|
-
RegMem::mem(Amode::imm_reg_reg_shift(
|
1833
|
-
0,
|
1834
|
-
Gpr::new(tmp1.to_reg()).unwrap(),
|
1835
|
-
Gpr::new(idx).unwrap(),
|
1836
|
-
2,
|
1837
|
-
)),
|
1838
|
-
tmp2,
|
1839
|
-
);
|
1840
|
-
inst.emit(&[], sink, info, state);
|
1841
|
-
|
1842
|
-
// Add base of jump table to jump-table-sourced block offset.
|
1843
|
-
let inst = Inst::alu_rmi_r(
|
1844
|
-
OperandSize::Size64,
|
1845
|
-
AluRmiROpcode::Add,
|
1846
|
-
RegMemImm::reg(tmp2.to_reg()),
|
1847
|
-
tmp1,
|
1848
|
-
);
|
1849
|
-
inst.emit(&[], sink, info, state);
|
1850
|
-
|
1851
|
-
// Branch to computed address.
|
1852
|
-
let inst = Inst::jmp_unknown(RegMem::reg(tmp1.to_reg()));
|
1853
|
-
inst.emit(&[], sink, info, state);
|
1854
|
-
|
1855
|
-
// Emit jump table (table of 32-bit offsets).
|
1856
|
-
sink.bind_label(start_of_jumptable, state.ctrl_plane_mut());
|
1857
|
-
let jt_off = sink.cur_offset();
|
1858
|
-
for &target in targets.iter().chain(std::iter::once(default_target)) {
|
1859
|
-
let word_off = sink.cur_offset();
|
1860
|
-
// off_into_table is an addend here embedded in the label to be later patched at
|
1861
|
-
// the end of codegen. The offset is initially relative to this jump table entry;
|
1862
|
-
// with the extra addend, it'll be relative to the jump table's start, after
|
1863
|
-
// patching.
|
1864
|
-
let off_into_table = word_off - jt_off;
|
1865
|
-
sink.use_label_at_offset(word_off, target, LabelUse::PCRel32);
|
1866
|
-
sink.put4(off_into_table);
|
1867
|
-
}
|
1868
|
-
}
|
1869
|
-
|
1870
|
-
Inst::TrapIf { cc, trap_code } => {
|
1871
|
-
let trap_label = sink.defer_trap(*trap_code, state.take_stack_map());
|
1872
|
-
one_way_jmp(sink, *cc, trap_label);
|
1873
|
-
}
|
1874
|
-
|
1875
|
-
Inst::TrapIfAnd {
|
1876
|
-
cc1,
|
1877
|
-
cc2,
|
1878
|
-
trap_code,
|
1879
|
-
} => {
|
1880
|
-
let trap_label = sink.defer_trap(*trap_code, state.take_stack_map());
|
1881
|
-
let else_label = sink.get_label();
|
1882
|
-
|
1883
|
-
// Jump to the end if the first condition isn't true, and then if
|
1884
|
-
// the second condition is true go to the trap.
|
1885
|
-
one_way_jmp(sink, cc1.invert(), else_label);
|
1886
|
-
one_way_jmp(sink, *cc2, trap_label);
|
1887
|
-
|
1888
|
-
sink.bind_label(else_label, state.ctrl_plane_mut());
|
1889
|
-
}
|
1890
|
-
|
1891
|
-
Inst::TrapIfOr {
|
1892
|
-
cc1,
|
1893
|
-
cc2,
|
1894
|
-
trap_code,
|
1895
|
-
} => {
|
1896
|
-
let trap_label = sink.defer_trap(*trap_code, state.take_stack_map());
|
1897
|
-
|
1898
|
-
// Emit two jumps to the same trap if either condition code is true.
|
1899
|
-
one_way_jmp(sink, *cc1, trap_label);
|
1900
|
-
one_way_jmp(sink, *cc2, trap_label);
|
1901
|
-
}
|
1902
|
-
|
1903
|
-
Inst::XmmUnaryRmR { op, src, dst } => {
|
1904
|
-
emit(
|
1905
|
-
&Inst::XmmUnaryRmRUnaligned {
|
1906
|
-
op: *op,
|
1907
|
-
src: XmmMem::new(src.clone().into()).unwrap(),
|
1908
|
-
dst: *dst,
|
1909
|
-
},
|
1910
|
-
allocs,
|
1911
|
-
sink,
|
1912
|
-
info,
|
1913
|
-
state,
|
1914
|
-
);
|
1915
|
-
}
|
1916
|
-
|
1917
|
-
Inst::XmmUnaryRmRUnaligned {
|
1918
|
-
op,
|
1919
|
-
src: src_e,
|
1920
|
-
dst: reg_g,
|
1921
|
-
} => {
|
1922
|
-
let reg_g = allocs.next(reg_g.to_reg().to_reg());
|
1923
|
-
let src_e = src_e.clone().to_reg_mem().with_allocs(allocs);
|
1924
|
-
|
1925
|
-
let rex = RexFlags::clear_w();
|
1926
|
-
|
1927
|
-
let (prefix, opcode, num_opcodes) = match op {
|
1928
|
-
SseOpcode::Cvtdq2pd => (LegacyPrefixes::_F3, 0x0FE6, 2),
|
1929
|
-
SseOpcode::Cvtpd2ps => (LegacyPrefixes::_66, 0x0F5A, 2),
|
1930
|
-
SseOpcode::Cvtps2pd => (LegacyPrefixes::None, 0x0F5A, 2),
|
1931
|
-
SseOpcode::Cvtdq2ps => (LegacyPrefixes::None, 0x0F5B, 2),
|
1932
|
-
SseOpcode::Cvtss2sd => (LegacyPrefixes::_F3, 0x0F5A, 2),
|
1933
|
-
SseOpcode::Cvtsd2ss => (LegacyPrefixes::_F2, 0x0F5A, 2),
|
1934
|
-
SseOpcode::Cvttpd2dq => (LegacyPrefixes::_66, 0x0FE6, 2),
|
1935
|
-
SseOpcode::Cvttps2dq => (LegacyPrefixes::_F3, 0x0F5B, 2),
|
1936
|
-
SseOpcode::Movaps => (LegacyPrefixes::None, 0x0F28, 2),
|
1937
|
-
SseOpcode::Movapd => (LegacyPrefixes::_66, 0x0F28, 2),
|
1938
|
-
SseOpcode::Movdqa => (LegacyPrefixes::_66, 0x0F6F, 2),
|
1939
|
-
SseOpcode::Movdqu => (LegacyPrefixes::_F3, 0x0F6F, 2),
|
1940
|
-
SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F10, 2),
|
1941
|
-
SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F10, 2),
|
1942
|
-
SseOpcode::Movups => (LegacyPrefixes::None, 0x0F10, 2),
|
1943
|
-
SseOpcode::Movupd => (LegacyPrefixes::_66, 0x0F10, 2),
|
1944
|
-
SseOpcode::Pabsb => (LegacyPrefixes::_66, 0x0F381C, 3),
|
1945
|
-
SseOpcode::Pabsw => (LegacyPrefixes::_66, 0x0F381D, 3),
|
1946
|
-
SseOpcode::Pabsd => (LegacyPrefixes::_66, 0x0F381E, 3),
|
1947
|
-
SseOpcode::Pmovsxbd => (LegacyPrefixes::_66, 0x0F3821, 3),
|
1948
|
-
SseOpcode::Pmovsxbw => (LegacyPrefixes::_66, 0x0F3820, 3),
|
1949
|
-
SseOpcode::Pmovsxbq => (LegacyPrefixes::_66, 0x0F3822, 3),
|
1950
|
-
SseOpcode::Pmovsxwd => (LegacyPrefixes::_66, 0x0F3823, 3),
|
1951
|
-
SseOpcode::Pmovsxwq => (LegacyPrefixes::_66, 0x0F3824, 3),
|
1952
|
-
SseOpcode::Pmovsxdq => (LegacyPrefixes::_66, 0x0F3825, 3),
|
1953
|
-
SseOpcode::Pmovzxbd => (LegacyPrefixes::_66, 0x0F3831, 3),
|
1954
|
-
SseOpcode::Pmovzxbw => (LegacyPrefixes::_66, 0x0F3830, 3),
|
1955
|
-
SseOpcode::Pmovzxbq => (LegacyPrefixes::_66, 0x0F3832, 3),
|
1956
|
-
SseOpcode::Pmovzxwd => (LegacyPrefixes::_66, 0x0F3833, 3),
|
1957
|
-
SseOpcode::Pmovzxwq => (LegacyPrefixes::_66, 0x0F3834, 3),
|
1958
|
-
SseOpcode::Pmovzxdq => (LegacyPrefixes::_66, 0x0F3835, 3),
|
1959
|
-
SseOpcode::Sqrtps => (LegacyPrefixes::None, 0x0F51, 2),
|
1960
|
-
SseOpcode::Sqrtpd => (LegacyPrefixes::_66, 0x0F51, 2),
|
1961
|
-
SseOpcode::Sqrtss => (LegacyPrefixes::_F3, 0x0F51, 2),
|
1962
|
-
SseOpcode::Sqrtsd => (LegacyPrefixes::_F2, 0x0F51, 2),
|
1963
|
-
SseOpcode::Movddup => (LegacyPrefixes::_F2, 0x0F12, 2),
|
1964
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
1965
|
-
};
|
1966
|
-
|
1967
|
-
match src_e {
|
1968
|
-
RegMem::Reg { reg: reg_e } => {
|
1969
|
-
emit_std_reg_reg(sink, prefix, opcode, num_opcodes, reg_g, reg_e, rex);
|
1970
|
-
}
|
1971
|
-
RegMem::Mem { addr } => {
|
1972
|
-
let addr = &addr.finalize(state, sink);
|
1973
|
-
emit_std_reg_mem(sink, prefix, opcode, num_opcodes, reg_g, addr, rex, 0);
|
1974
|
-
}
|
1975
|
-
};
|
1976
|
-
}
|
1977
|
-
|
1978
|
-
Inst::XmmUnaryRmRImm { op, src, dst, imm } => {
|
1979
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
1980
|
-
let src = src.clone().to_reg_mem().with_allocs(allocs);
|
1981
|
-
let rex = RexFlags::clear_w();
|
1982
|
-
|
1983
|
-
let (prefix, opcode, len) = match op {
|
1984
|
-
SseOpcode::Roundps => (LegacyPrefixes::_66, 0x0F3A08, 3),
|
1985
|
-
SseOpcode::Roundss => (LegacyPrefixes::_66, 0x0F3A0A, 3),
|
1986
|
-
SseOpcode::Roundpd => (LegacyPrefixes::_66, 0x0F3A09, 3),
|
1987
|
-
SseOpcode::Roundsd => (LegacyPrefixes::_66, 0x0F3A0B, 3),
|
1988
|
-
SseOpcode::Pshufd => (LegacyPrefixes::_66, 0x0F70, 2),
|
1989
|
-
SseOpcode::Pshuflw => (LegacyPrefixes::_F2, 0x0F70, 2),
|
1990
|
-
SseOpcode::Pshufhw => (LegacyPrefixes::_F3, 0x0F70, 2),
|
1991
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
1992
|
-
};
|
1993
|
-
match src {
|
1994
|
-
RegMem::Reg { reg } => {
|
1995
|
-
emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
|
1996
|
-
}
|
1997
|
-
RegMem::Mem { addr } => {
|
1998
|
-
let addr = &addr.finalize(state, sink);
|
1999
|
-
// N.B.: bytes_at_end == 1, because of the `imm` byte below.
|
2000
|
-
emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 1);
|
2001
|
-
}
|
2002
|
-
}
|
2003
|
-
sink.put1(*imm);
|
2004
|
-
}
|
2005
|
-
|
2006
|
-
Inst::XmmUnaryRmREvex { op, src, dst } => {
|
2007
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2008
|
-
let src = match src.clone().to_reg_mem().with_allocs(allocs) {
|
2009
|
-
RegMem::Reg { reg } => {
|
2010
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2011
|
-
}
|
2012
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2013
|
-
};
|
2014
|
-
|
2015
|
-
let (prefix, map, w, opcode) = match op {
|
2016
|
-
Avx512Opcode::Vcvtudq2ps => (LegacyPrefixes::_F2, OpcodeMap::_0F, false, 0x7a),
|
2017
|
-
Avx512Opcode::Vpabsq => (LegacyPrefixes::_66, OpcodeMap::_0F38, true, 0x1f),
|
2018
|
-
Avx512Opcode::Vpopcntb => (LegacyPrefixes::_66, OpcodeMap::_0F38, false, 0x54),
|
2019
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2020
|
-
};
|
2021
|
-
EvexInstruction::new()
|
2022
|
-
.length(EvexVectorLength::V128)
|
2023
|
-
.prefix(prefix)
|
2024
|
-
.map(map)
|
2025
|
-
.w(w)
|
2026
|
-
.opcode(opcode)
|
2027
|
-
.tuple_type(op.tuple_type())
|
2028
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2029
|
-
.rm(src)
|
2030
|
-
.encode(sink);
|
2031
|
-
}
|
2032
|
-
|
2033
|
-
Inst::XmmUnaryRmRImmEvex { op, src, dst, imm } => {
|
2034
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2035
|
-
let src = match src.clone().to_reg_mem().with_allocs(allocs) {
|
2036
|
-
RegMem::Reg { reg } => {
|
2037
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2038
|
-
}
|
2039
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2040
|
-
};
|
2041
|
-
|
2042
|
-
let (opcode, opcode_ext, w) = match op {
|
2043
|
-
Avx512Opcode::VpsraqImm => (0x72, 4, true),
|
2044
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2045
|
-
};
|
2046
|
-
EvexInstruction::new()
|
2047
|
-
.length(EvexVectorLength::V128)
|
2048
|
-
.prefix(LegacyPrefixes::_66)
|
2049
|
-
.map(OpcodeMap::_0F)
|
2050
|
-
.w(w)
|
2051
|
-
.opcode(opcode)
|
2052
|
-
.reg(opcode_ext)
|
2053
|
-
.vvvvv(dst.to_real_reg().unwrap().hw_enc())
|
2054
|
-
.tuple_type(op.tuple_type())
|
2055
|
-
.rm(src)
|
2056
|
-
.imm(*imm)
|
2057
|
-
.encode(sink);
|
2058
|
-
}
|
2059
|
-
|
2060
|
-
Inst::XmmRmR {
|
2061
|
-
op,
|
2062
|
-
src1,
|
2063
|
-
src2,
|
2064
|
-
dst,
|
2065
|
-
} => emit(
|
2066
|
-
&Inst::XmmRmRUnaligned {
|
2067
|
-
op: *op,
|
2068
|
-
dst: *dst,
|
2069
|
-
src1: *src1,
|
2070
|
-
src2: XmmMem::new(src2.clone().to_reg_mem()).unwrap(),
|
2071
|
-
},
|
2072
|
-
allocs,
|
2073
|
-
sink,
|
2074
|
-
info,
|
2075
|
-
state,
|
2076
|
-
),
|
2077
|
-
|
2078
|
-
Inst::XmmRmRUnaligned {
|
2079
|
-
op,
|
2080
|
-
src1,
|
2081
|
-
src2: src_e,
|
2082
|
-
dst: reg_g,
|
2083
|
-
} => {
|
2084
|
-
let src1 = allocs.next(src1.to_reg());
|
2085
|
-
let reg_g = allocs.next(reg_g.to_reg().to_reg());
|
2086
|
-
let src_e = src_e.clone().to_reg_mem().with_allocs(allocs);
|
2087
|
-
debug_assert_eq!(src1, reg_g);
|
2088
|
-
|
2089
|
-
let rex = RexFlags::clear_w();
|
2090
|
-
let (prefix, opcode, length) = match op {
|
2091
|
-
SseOpcode::Addps => (LegacyPrefixes::None, 0x0F58, 2),
|
2092
|
-
SseOpcode::Addpd => (LegacyPrefixes::_66, 0x0F58, 2),
|
2093
|
-
SseOpcode::Addss => (LegacyPrefixes::_F3, 0x0F58, 2),
|
2094
|
-
SseOpcode::Addsd => (LegacyPrefixes::_F2, 0x0F58, 2),
|
2095
|
-
SseOpcode::Andps => (LegacyPrefixes::None, 0x0F54, 2),
|
2096
|
-
SseOpcode::Andpd => (LegacyPrefixes::_66, 0x0F54, 2),
|
2097
|
-
SseOpcode::Andnps => (LegacyPrefixes::None, 0x0F55, 2),
|
2098
|
-
SseOpcode::Andnpd => (LegacyPrefixes::_66, 0x0F55, 2),
|
2099
|
-
SseOpcode::Divps => (LegacyPrefixes::None, 0x0F5E, 2),
|
2100
|
-
SseOpcode::Divpd => (LegacyPrefixes::_66, 0x0F5E, 2),
|
2101
|
-
SseOpcode::Divss => (LegacyPrefixes::_F3, 0x0F5E, 2),
|
2102
|
-
SseOpcode::Divsd => (LegacyPrefixes::_F2, 0x0F5E, 2),
|
2103
|
-
SseOpcode::Maxps => (LegacyPrefixes::None, 0x0F5F, 2),
|
2104
|
-
SseOpcode::Maxpd => (LegacyPrefixes::_66, 0x0F5F, 2),
|
2105
|
-
SseOpcode::Maxss => (LegacyPrefixes::_F3, 0x0F5F, 2),
|
2106
|
-
SseOpcode::Maxsd => (LegacyPrefixes::_F2, 0x0F5F, 2),
|
2107
|
-
SseOpcode::Minps => (LegacyPrefixes::None, 0x0F5D, 2),
|
2108
|
-
SseOpcode::Minpd => (LegacyPrefixes::_66, 0x0F5D, 2),
|
2109
|
-
SseOpcode::Minss => (LegacyPrefixes::_F3, 0x0F5D, 2),
|
2110
|
-
SseOpcode::Minsd => (LegacyPrefixes::_F2, 0x0F5D, 2),
|
2111
|
-
SseOpcode::Movlhps => (LegacyPrefixes::None, 0x0F16, 2),
|
2112
|
-
SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F10, 2),
|
2113
|
-
SseOpcode::Mulps => (LegacyPrefixes::None, 0x0F59, 2),
|
2114
|
-
SseOpcode::Mulpd => (LegacyPrefixes::_66, 0x0F59, 2),
|
2115
|
-
SseOpcode::Mulss => (LegacyPrefixes::_F3, 0x0F59, 2),
|
2116
|
-
SseOpcode::Mulsd => (LegacyPrefixes::_F2, 0x0F59, 2),
|
2117
|
-
SseOpcode::Orpd => (LegacyPrefixes::_66, 0x0F56, 2),
|
2118
|
-
SseOpcode::Orps => (LegacyPrefixes::None, 0x0F56, 2),
|
2119
|
-
SseOpcode::Packssdw => (LegacyPrefixes::_66, 0x0F6B, 2),
|
2120
|
-
SseOpcode::Packsswb => (LegacyPrefixes::_66, 0x0F63, 2),
|
2121
|
-
SseOpcode::Packusdw => (LegacyPrefixes::_66, 0x0F382B, 3),
|
2122
|
-
SseOpcode::Packuswb => (LegacyPrefixes::_66, 0x0F67, 2),
|
2123
|
-
SseOpcode::Paddb => (LegacyPrefixes::_66, 0x0FFC, 2),
|
2124
|
-
SseOpcode::Paddd => (LegacyPrefixes::_66, 0x0FFE, 2),
|
2125
|
-
SseOpcode::Paddq => (LegacyPrefixes::_66, 0x0FD4, 2),
|
2126
|
-
SseOpcode::Paddw => (LegacyPrefixes::_66, 0x0FFD, 2),
|
2127
|
-
SseOpcode::Paddsb => (LegacyPrefixes::_66, 0x0FEC, 2),
|
2128
|
-
SseOpcode::Paddsw => (LegacyPrefixes::_66, 0x0FED, 2),
|
2129
|
-
SseOpcode::Paddusb => (LegacyPrefixes::_66, 0x0FDC, 2),
|
2130
|
-
SseOpcode::Paddusw => (LegacyPrefixes::_66, 0x0FDD, 2),
|
2131
|
-
SseOpcode::Pmaddubsw => (LegacyPrefixes::_66, 0x0F3804, 3),
|
2132
|
-
SseOpcode::Pand => (LegacyPrefixes::_66, 0x0FDB, 2),
|
2133
|
-
SseOpcode::Pandn => (LegacyPrefixes::_66, 0x0FDF, 2),
|
2134
|
-
SseOpcode::Pavgb => (LegacyPrefixes::_66, 0x0FE0, 2),
|
2135
|
-
SseOpcode::Pavgw => (LegacyPrefixes::_66, 0x0FE3, 2),
|
2136
|
-
SseOpcode::Pcmpeqb => (LegacyPrefixes::_66, 0x0F74, 2),
|
2137
|
-
SseOpcode::Pcmpeqw => (LegacyPrefixes::_66, 0x0F75, 2),
|
2138
|
-
SseOpcode::Pcmpeqd => (LegacyPrefixes::_66, 0x0F76, 2),
|
2139
|
-
SseOpcode::Pcmpeqq => (LegacyPrefixes::_66, 0x0F3829, 3),
|
2140
|
-
SseOpcode::Pcmpgtb => (LegacyPrefixes::_66, 0x0F64, 2),
|
2141
|
-
SseOpcode::Pcmpgtw => (LegacyPrefixes::_66, 0x0F65, 2),
|
2142
|
-
SseOpcode::Pcmpgtd => (LegacyPrefixes::_66, 0x0F66, 2),
|
2143
|
-
SseOpcode::Pcmpgtq => (LegacyPrefixes::_66, 0x0F3837, 3),
|
2144
|
-
SseOpcode::Pmaddwd => (LegacyPrefixes::_66, 0x0FF5, 2),
|
2145
|
-
SseOpcode::Pmaxsb => (LegacyPrefixes::_66, 0x0F383C, 3),
|
2146
|
-
SseOpcode::Pmaxsw => (LegacyPrefixes::_66, 0x0FEE, 2),
|
2147
|
-
SseOpcode::Pmaxsd => (LegacyPrefixes::_66, 0x0F383D, 3),
|
2148
|
-
SseOpcode::Pmaxub => (LegacyPrefixes::_66, 0x0FDE, 2),
|
2149
|
-
SseOpcode::Pmaxuw => (LegacyPrefixes::_66, 0x0F383E, 3),
|
2150
|
-
SseOpcode::Pmaxud => (LegacyPrefixes::_66, 0x0F383F, 3),
|
2151
|
-
SseOpcode::Pminsb => (LegacyPrefixes::_66, 0x0F3838, 3),
|
2152
|
-
SseOpcode::Pminsw => (LegacyPrefixes::_66, 0x0FEA, 2),
|
2153
|
-
SseOpcode::Pminsd => (LegacyPrefixes::_66, 0x0F3839, 3),
|
2154
|
-
SseOpcode::Pminub => (LegacyPrefixes::_66, 0x0FDA, 2),
|
2155
|
-
SseOpcode::Pminuw => (LegacyPrefixes::_66, 0x0F383A, 3),
|
2156
|
-
SseOpcode::Pminud => (LegacyPrefixes::_66, 0x0F383B, 3),
|
2157
|
-
SseOpcode::Pmuldq => (LegacyPrefixes::_66, 0x0F3828, 3),
|
2158
|
-
SseOpcode::Pmulhw => (LegacyPrefixes::_66, 0x0FE5, 2),
|
2159
|
-
SseOpcode::Pmulhrsw => (LegacyPrefixes::_66, 0x0F380B, 3),
|
2160
|
-
SseOpcode::Pmulhuw => (LegacyPrefixes::_66, 0x0FE4, 2),
|
2161
|
-
SseOpcode::Pmulld => (LegacyPrefixes::_66, 0x0F3840, 3),
|
2162
|
-
SseOpcode::Pmullw => (LegacyPrefixes::_66, 0x0FD5, 2),
|
2163
|
-
SseOpcode::Pmuludq => (LegacyPrefixes::_66, 0x0FF4, 2),
|
2164
|
-
SseOpcode::Por => (LegacyPrefixes::_66, 0x0FEB, 2),
|
2165
|
-
SseOpcode::Pshufb => (LegacyPrefixes::_66, 0x0F3800, 3),
|
2166
|
-
SseOpcode::Psubb => (LegacyPrefixes::_66, 0x0FF8, 2),
|
2167
|
-
SseOpcode::Psubd => (LegacyPrefixes::_66, 0x0FFA, 2),
|
2168
|
-
SseOpcode::Psubq => (LegacyPrefixes::_66, 0x0FFB, 2),
|
2169
|
-
SseOpcode::Psubw => (LegacyPrefixes::_66, 0x0FF9, 2),
|
2170
|
-
SseOpcode::Psubsb => (LegacyPrefixes::_66, 0x0FE8, 2),
|
2171
|
-
SseOpcode::Psubsw => (LegacyPrefixes::_66, 0x0FE9, 2),
|
2172
|
-
SseOpcode::Psubusb => (LegacyPrefixes::_66, 0x0FD8, 2),
|
2173
|
-
SseOpcode::Psubusw => (LegacyPrefixes::_66, 0x0FD9, 2),
|
2174
|
-
SseOpcode::Punpckhbw => (LegacyPrefixes::_66, 0x0F68, 2),
|
2175
|
-
SseOpcode::Punpckhwd => (LegacyPrefixes::_66, 0x0F69, 2),
|
2176
|
-
SseOpcode::Punpcklbw => (LegacyPrefixes::_66, 0x0F60, 2),
|
2177
|
-
SseOpcode::Punpcklwd => (LegacyPrefixes::_66, 0x0F61, 2),
|
2178
|
-
SseOpcode::Punpckldq => (LegacyPrefixes::_66, 0x0F62, 2),
|
2179
|
-
SseOpcode::Punpcklqdq => (LegacyPrefixes::_66, 0x0F6C, 2),
|
2180
|
-
SseOpcode::Punpckhdq => (LegacyPrefixes::_66, 0x0F6A, 2),
|
2181
|
-
SseOpcode::Punpckhqdq => (LegacyPrefixes::_66, 0x0F6D, 2),
|
2182
|
-
SseOpcode::Pxor => (LegacyPrefixes::_66, 0x0FEF, 2),
|
2183
|
-
SseOpcode::Subps => (LegacyPrefixes::None, 0x0F5C, 2),
|
2184
|
-
SseOpcode::Subpd => (LegacyPrefixes::_66, 0x0F5C, 2),
|
2185
|
-
SseOpcode::Subss => (LegacyPrefixes::_F3, 0x0F5C, 2),
|
2186
|
-
SseOpcode::Subsd => (LegacyPrefixes::_F2, 0x0F5C, 2),
|
2187
|
-
SseOpcode::Unpcklps => (LegacyPrefixes::None, 0x0F14, 2),
|
2188
|
-
SseOpcode::Unpckhps => (LegacyPrefixes::None, 0x0F15, 2),
|
2189
|
-
SseOpcode::Xorps => (LegacyPrefixes::None, 0x0F57, 2),
|
2190
|
-
SseOpcode::Xorpd => (LegacyPrefixes::_66, 0x0F57, 2),
|
2191
|
-
SseOpcode::Phaddw => (LegacyPrefixes::_66, 0x0F3801, 3),
|
2192
|
-
SseOpcode::Phaddd => (LegacyPrefixes::_66, 0x0F3802, 3),
|
2193
|
-
SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F10, 2),
|
2194
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2195
|
-
};
|
2196
|
-
|
2197
|
-
match src_e {
|
2198
|
-
RegMem::Reg { reg: reg_e } => {
|
2199
|
-
emit_std_reg_reg(sink, prefix, opcode, length, reg_g, reg_e, rex);
|
2200
|
-
}
|
2201
|
-
RegMem::Mem { addr } => {
|
2202
|
-
let addr = &addr.finalize(state, sink);
|
2203
|
-
emit_std_reg_mem(sink, prefix, opcode, length, reg_g, addr, rex, 0);
|
2204
|
-
}
|
2205
|
-
}
|
2206
|
-
}
|
2207
|
-
|
2208
|
-
Inst::XmmRmRBlend {
|
2209
|
-
op,
|
2210
|
-
src1,
|
2211
|
-
src2,
|
2212
|
-
dst,
|
2213
|
-
mask,
|
2214
|
-
} => {
|
2215
|
-
let src1 = allocs.next(src1.to_reg());
|
2216
|
-
let mask = allocs.next(mask.to_reg());
|
2217
|
-
debug_assert_eq!(mask, regs::xmm0());
|
2218
|
-
let reg_g = allocs.next(dst.to_reg().to_reg());
|
2219
|
-
debug_assert_eq!(src1, reg_g);
|
2220
|
-
let src_e = src2.clone().to_reg_mem().with_allocs(allocs);
|
2221
|
-
|
2222
|
-
let rex = RexFlags::clear_w();
|
2223
|
-
let (prefix, opcode, length) = match op {
|
2224
|
-
SseOpcode::Blendvps => (LegacyPrefixes::_66, 0x0F3814, 3),
|
2225
|
-
SseOpcode::Blendvpd => (LegacyPrefixes::_66, 0x0F3815, 3),
|
2226
|
-
SseOpcode::Pblendvb => (LegacyPrefixes::_66, 0x0F3810, 3),
|
2227
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2228
|
-
};
|
2229
|
-
|
2230
|
-
match src_e {
|
2231
|
-
RegMem::Reg { reg: reg_e } => {
|
2232
|
-
emit_std_reg_reg(sink, prefix, opcode, length, reg_g, reg_e, rex);
|
2233
|
-
}
|
2234
|
-
RegMem::Mem { addr } => {
|
2235
|
-
let addr = &addr.finalize(state, sink);
|
2236
|
-
emit_std_reg_mem(sink, prefix, opcode, length, reg_g, addr, rex, 0);
|
2237
|
-
}
|
2238
|
-
}
|
2239
|
-
}
|
2240
|
-
|
2241
|
-
Inst::XmmRmiRVex {
|
2242
|
-
op,
|
2243
|
-
src1,
|
2244
|
-
src2,
|
2245
|
-
dst,
|
2246
|
-
} => {
|
2247
|
-
use LegacyPrefixes as LP;
|
2248
|
-
use OpcodeMap as OM;
|
2249
|
-
|
2250
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2251
|
-
let src1 = allocs.next(src1.to_reg());
|
2252
|
-
let src2 = src2.clone().to_reg_mem_imm().with_allocs(allocs);
|
2253
|
-
|
2254
|
-
let src2 = match src2 {
|
2255
|
-
// For opcodes where one of the operands is an immediate the
|
2256
|
-
// encoding is a bit different, notably the usage of
|
2257
|
-
// `opcode_ext`, so handle that specially here.
|
2258
|
-
RegMemImm::Imm { simm32 } => {
|
2259
|
-
let (opcode, opcode_ext, prefix) = match op {
|
2260
|
-
AvxOpcode::Vpsrlw => (0x71, 2, LegacyPrefixes::_66),
|
2261
|
-
AvxOpcode::Vpsrld => (0x72, 2, LegacyPrefixes::_66),
|
2262
|
-
AvxOpcode::Vpsrlq => (0x73, 2, LegacyPrefixes::_66),
|
2263
|
-
AvxOpcode::Vpsllw => (0x71, 6, LegacyPrefixes::_66),
|
2264
|
-
AvxOpcode::Vpslld => (0x72, 6, LegacyPrefixes::_66),
|
2265
|
-
AvxOpcode::Vpsllq => (0x73, 6, LegacyPrefixes::_66),
|
2266
|
-
AvxOpcode::Vpsraw => (0x71, 4, LegacyPrefixes::_66),
|
2267
|
-
AvxOpcode::Vpsrad => (0x72, 4, LegacyPrefixes::_66),
|
2268
|
-
_ => panic!("unexpected rmi_r_vex opcode with immediate {op:?}"),
|
2269
|
-
};
|
2270
|
-
VexInstruction::new()
|
2271
|
-
.length(VexVectorLength::V128)
|
2272
|
-
.prefix(prefix)
|
2273
|
-
.map(OpcodeMap::_0F)
|
2274
|
-
.opcode(opcode)
|
2275
|
-
.opcode_ext(opcode_ext)
|
2276
|
-
.vvvv(dst.to_real_reg().unwrap().hw_enc())
|
2277
|
-
.prefix(LegacyPrefixes::_66)
|
2278
|
-
.rm(src1.to_real_reg().unwrap().hw_enc())
|
2279
|
-
.imm(simm32.try_into().unwrap())
|
2280
|
-
.encode(sink);
|
2281
|
-
return;
|
2282
|
-
}
|
2283
|
-
RegMemImm::Reg { reg } => {
|
2284
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2285
|
-
}
|
2286
|
-
RegMemImm::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2287
|
-
};
|
2288
|
-
let (prefix, map, opcode) = match op {
|
2289
|
-
AvxOpcode::Vminps => (LP::None, OM::_0F, 0x5D),
|
2290
|
-
AvxOpcode::Vminpd => (LP::_66, OM::_0F, 0x5D),
|
2291
|
-
AvxOpcode::Vmaxps => (LP::None, OM::_0F, 0x5F),
|
2292
|
-
AvxOpcode::Vmaxpd => (LP::_66, OM::_0F, 0x5F),
|
2293
|
-
AvxOpcode::Vandnps => (LP::None, OM::_0F, 0x55),
|
2294
|
-
AvxOpcode::Vandnpd => (LP::_66, OM::_0F, 0x55),
|
2295
|
-
AvxOpcode::Vpandn => (LP::_66, OM::_0F, 0xDF),
|
2296
|
-
AvxOpcode::Vpsrlw => (LP::_66, OM::_0F, 0xD1),
|
2297
|
-
AvxOpcode::Vpsrld => (LP::_66, OM::_0F, 0xD2),
|
2298
|
-
AvxOpcode::Vpsrlq => (LP::_66, OM::_0F, 0xD3),
|
2299
|
-
AvxOpcode::Vpaddb => (LP::_66, OM::_0F, 0xFC),
|
2300
|
-
AvxOpcode::Vpaddw => (LP::_66, OM::_0F, 0xFD),
|
2301
|
-
AvxOpcode::Vpaddd => (LP::_66, OM::_0F, 0xFE),
|
2302
|
-
AvxOpcode::Vpaddq => (LP::_66, OM::_0F, 0xD4),
|
2303
|
-
AvxOpcode::Vpaddsb => (LP::_66, OM::_0F, 0xEC),
|
2304
|
-
AvxOpcode::Vpaddsw => (LP::_66, OM::_0F, 0xED),
|
2305
|
-
AvxOpcode::Vpaddusb => (LP::_66, OM::_0F, 0xDC),
|
2306
|
-
AvxOpcode::Vpaddusw => (LP::_66, OM::_0F, 0xDD),
|
2307
|
-
AvxOpcode::Vpsubb => (LP::_66, OM::_0F, 0xF8),
|
2308
|
-
AvxOpcode::Vpsubw => (LP::_66, OM::_0F, 0xF9),
|
2309
|
-
AvxOpcode::Vpsubd => (LP::_66, OM::_0F, 0xFA),
|
2310
|
-
AvxOpcode::Vpsubq => (LP::_66, OM::_0F, 0xFB),
|
2311
|
-
AvxOpcode::Vpsubsb => (LP::_66, OM::_0F, 0xE8),
|
2312
|
-
AvxOpcode::Vpsubsw => (LP::_66, OM::_0F, 0xE9),
|
2313
|
-
AvxOpcode::Vpsubusb => (LP::_66, OM::_0F, 0xD8),
|
2314
|
-
AvxOpcode::Vpsubusw => (LP::_66, OM::_0F, 0xD9),
|
2315
|
-
AvxOpcode::Vpavgb => (LP::_66, OM::_0F, 0xE0),
|
2316
|
-
AvxOpcode::Vpavgw => (LP::_66, OM::_0F, 0xE3),
|
2317
|
-
AvxOpcode::Vpand => (LP::_66, OM::_0F, 0xDB),
|
2318
|
-
AvxOpcode::Vandps => (LP::None, OM::_0F, 0x54),
|
2319
|
-
AvxOpcode::Vandpd => (LP::_66, OM::_0F, 0x54),
|
2320
|
-
AvxOpcode::Vpor => (LP::_66, OM::_0F, 0xEB),
|
2321
|
-
AvxOpcode::Vorps => (LP::None, OM::_0F, 0x56),
|
2322
|
-
AvxOpcode::Vorpd => (LP::_66, OM::_0F, 0x56),
|
2323
|
-
AvxOpcode::Vpxor => (LP::_66, OM::_0F, 0xEF),
|
2324
|
-
AvxOpcode::Vxorps => (LP::None, OM::_0F, 0x57),
|
2325
|
-
AvxOpcode::Vxorpd => (LP::_66, OM::_0F, 0x57),
|
2326
|
-
AvxOpcode::Vpmullw => (LP::_66, OM::_0F, 0xD5),
|
2327
|
-
AvxOpcode::Vpmulld => (LP::_66, OM::_0F38, 0x40),
|
2328
|
-
AvxOpcode::Vpmulhw => (LP::_66, OM::_0F, 0xE5),
|
2329
|
-
AvxOpcode::Vpmulhrsw => (LP::_66, OM::_0F38, 0x0B),
|
2330
|
-
AvxOpcode::Vpmulhuw => (LP::_66, OM::_0F, 0xE4),
|
2331
|
-
AvxOpcode::Vpmuldq => (LP::_66, OM::_0F38, 0x28),
|
2332
|
-
AvxOpcode::Vpmuludq => (LP::_66, OM::_0F, 0xF4),
|
2333
|
-
AvxOpcode::Vpunpckhwd => (LP::_66, OM::_0F, 0x69),
|
2334
|
-
AvxOpcode::Vpunpcklwd => (LP::_66, OM::_0F, 0x61),
|
2335
|
-
AvxOpcode::Vunpcklps => (LP::None, OM::_0F, 0x14),
|
2336
|
-
AvxOpcode::Vunpckhps => (LP::None, OM::_0F, 0x15),
|
2337
|
-
AvxOpcode::Vaddps => (LP::None, OM::_0F, 0x58),
|
2338
|
-
AvxOpcode::Vaddpd => (LP::_66, OM::_0F, 0x58),
|
2339
|
-
AvxOpcode::Vsubps => (LP::None, OM::_0F, 0x5C),
|
2340
|
-
AvxOpcode::Vsubpd => (LP::_66, OM::_0F, 0x5C),
|
2341
|
-
AvxOpcode::Vmulps => (LP::None, OM::_0F, 0x59),
|
2342
|
-
AvxOpcode::Vmulpd => (LP::_66, OM::_0F, 0x59),
|
2343
|
-
AvxOpcode::Vdivps => (LP::None, OM::_0F, 0x5E),
|
2344
|
-
AvxOpcode::Vdivpd => (LP::_66, OM::_0F, 0x5E),
|
2345
|
-
AvxOpcode::Vpcmpeqb => (LP::_66, OM::_0F, 0x74),
|
2346
|
-
AvxOpcode::Vpcmpeqw => (LP::_66, OM::_0F, 0x75),
|
2347
|
-
AvxOpcode::Vpcmpeqd => (LP::_66, OM::_0F, 0x76),
|
2348
|
-
AvxOpcode::Vpcmpeqq => (LP::_66, OM::_0F38, 0x29),
|
2349
|
-
AvxOpcode::Vpcmpgtb => (LP::_66, OM::_0F, 0x64),
|
2350
|
-
AvxOpcode::Vpcmpgtw => (LP::_66, OM::_0F, 0x65),
|
2351
|
-
AvxOpcode::Vpcmpgtd => (LP::_66, OM::_0F, 0x66),
|
2352
|
-
AvxOpcode::Vpcmpgtq => (LP::_66, OM::_0F38, 0x37),
|
2353
|
-
AvxOpcode::Vmovlhps => (LP::None, OM::_0F, 0x16),
|
2354
|
-
AvxOpcode::Vpminsb => (LP::_66, OM::_0F38, 0x38),
|
2355
|
-
AvxOpcode::Vpminsw => (LP::_66, OM::_0F, 0xEA),
|
2356
|
-
AvxOpcode::Vpminsd => (LP::_66, OM::_0F38, 0x39),
|
2357
|
-
AvxOpcode::Vpmaxsb => (LP::_66, OM::_0F38, 0x3C),
|
2358
|
-
AvxOpcode::Vpmaxsw => (LP::_66, OM::_0F, 0xEE),
|
2359
|
-
AvxOpcode::Vpmaxsd => (LP::_66, OM::_0F38, 0x3D),
|
2360
|
-
AvxOpcode::Vpminub => (LP::_66, OM::_0F, 0xDA),
|
2361
|
-
AvxOpcode::Vpminuw => (LP::_66, OM::_0F38, 0x3A),
|
2362
|
-
AvxOpcode::Vpminud => (LP::_66, OM::_0F38, 0x3B),
|
2363
|
-
AvxOpcode::Vpmaxub => (LP::_66, OM::_0F, 0xDE),
|
2364
|
-
AvxOpcode::Vpmaxuw => (LP::_66, OM::_0F38, 0x3E),
|
2365
|
-
AvxOpcode::Vpmaxud => (LP::_66, OM::_0F38, 0x3F),
|
2366
|
-
AvxOpcode::Vpunpcklbw => (LP::_66, OM::_0F, 0x60),
|
2367
|
-
AvxOpcode::Vpunpckhbw => (LP::_66, OM::_0F, 0x68),
|
2368
|
-
AvxOpcode::Vpacksswb => (LP::_66, OM::_0F, 0x63),
|
2369
|
-
AvxOpcode::Vpackssdw => (LP::_66, OM::_0F, 0x6B),
|
2370
|
-
AvxOpcode::Vpackuswb => (LP::_66, OM::_0F, 0x67),
|
2371
|
-
AvxOpcode::Vpackusdw => (LP::_66, OM::_0F38, 0x2B),
|
2372
|
-
AvxOpcode::Vpmaddwd => (LP::_66, OM::_0F, 0xF5),
|
2373
|
-
AvxOpcode::Vpmaddubsw => (LP::_66, OM::_0F38, 0x04),
|
2374
|
-
AvxOpcode::Vpshufb => (LP::_66, OM::_0F38, 0x00),
|
2375
|
-
AvxOpcode::Vpsllw => (LP::_66, OM::_0F, 0xF1),
|
2376
|
-
AvxOpcode::Vpslld => (LP::_66, OM::_0F, 0xF2),
|
2377
|
-
AvxOpcode::Vpsllq => (LP::_66, OM::_0F, 0xF3),
|
2378
|
-
AvxOpcode::Vpsraw => (LP::_66, OM::_0F, 0xE1),
|
2379
|
-
AvxOpcode::Vpsrad => (LP::_66, OM::_0F, 0xE2),
|
2380
|
-
AvxOpcode::Vaddss => (LP::_F3, OM::_0F, 0x58),
|
2381
|
-
AvxOpcode::Vaddsd => (LP::_F2, OM::_0F, 0x58),
|
2382
|
-
AvxOpcode::Vmulss => (LP::_F3, OM::_0F, 0x59),
|
2383
|
-
AvxOpcode::Vmulsd => (LP::_F2, OM::_0F, 0x59),
|
2384
|
-
AvxOpcode::Vsubss => (LP::_F3, OM::_0F, 0x5C),
|
2385
|
-
AvxOpcode::Vsubsd => (LP::_F2, OM::_0F, 0x5C),
|
2386
|
-
AvxOpcode::Vdivss => (LP::_F3, OM::_0F, 0x5E),
|
2387
|
-
AvxOpcode::Vdivsd => (LP::_F2, OM::_0F, 0x5E),
|
2388
|
-
AvxOpcode::Vminss => (LP::_F3, OM::_0F, 0x5D),
|
2389
|
-
AvxOpcode::Vminsd => (LP::_F2, OM::_0F, 0x5D),
|
2390
|
-
AvxOpcode::Vmaxss => (LP::_F3, OM::_0F, 0x5F),
|
2391
|
-
AvxOpcode::Vmaxsd => (LP::_F2, OM::_0F, 0x5F),
|
2392
|
-
AvxOpcode::Vphaddw => (LP::_66, OM::_0F38, 0x01),
|
2393
|
-
AvxOpcode::Vphaddd => (LP::_66, OM::_0F38, 0x02),
|
2394
|
-
AvxOpcode::Vpunpckldq => (LP::_66, OM::_0F, 0x62),
|
2395
|
-
AvxOpcode::Vpunpckhdq => (LP::_66, OM::_0F, 0x6A),
|
2396
|
-
AvxOpcode::Vpunpcklqdq => (LP::_66, OM::_0F, 0x6C),
|
2397
|
-
AvxOpcode::Vpunpckhqdq => (LP::_66, OM::_0F, 0x6D),
|
2398
|
-
AvxOpcode::Vmovsd => (LP::_F2, OM::_0F, 0x10),
|
2399
|
-
AvxOpcode::Vmovss => (LP::_F3, OM::_0F, 0x10),
|
2400
|
-
_ => panic!("unexpected rmir vex opcode {op:?}"),
|
2401
|
-
};
|
2402
|
-
VexInstruction::new()
|
2403
|
-
.length(VexVectorLength::V128)
|
2404
|
-
.prefix(prefix)
|
2405
|
-
.map(map)
|
2406
|
-
.opcode(opcode)
|
2407
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2408
|
-
.vvvv(src1.to_real_reg().unwrap().hw_enc())
|
2409
|
-
.rm(src2)
|
2410
|
-
.encode(sink);
|
2411
|
-
}
|
2412
|
-
|
2413
|
-
Inst::XmmRmRImmVex {
|
2414
|
-
op,
|
2415
|
-
src1,
|
2416
|
-
src2,
|
2417
|
-
dst,
|
2418
|
-
imm,
|
2419
|
-
} => {
|
2420
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2421
|
-
let src1 = allocs.next(src1.to_reg());
|
2422
|
-
let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
|
2423
|
-
RegMem::Reg { reg } => {
|
2424
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2425
|
-
}
|
2426
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2427
|
-
};
|
2428
|
-
|
2429
|
-
let (w, prefix, map, opcode) = match op {
|
2430
|
-
AvxOpcode::Vcmpps => (false, LegacyPrefixes::None, OpcodeMap::_0F, 0xC2),
|
2431
|
-
AvxOpcode::Vcmppd => (false, LegacyPrefixes::_66, OpcodeMap::_0F, 0xC2),
|
2432
|
-
AvxOpcode::Vpalignr => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0F),
|
2433
|
-
AvxOpcode::Vinsertps => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x21),
|
2434
|
-
AvxOpcode::Vshufps => (false, LegacyPrefixes::None, OpcodeMap::_0F, 0xC6),
|
2435
|
-
AvxOpcode::Vpblendw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0E),
|
2436
|
-
_ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
|
2437
|
-
};
|
2438
|
-
|
2439
|
-
VexInstruction::new()
|
2440
|
-
.length(VexVectorLength::V128)
|
2441
|
-
.prefix(prefix)
|
2442
|
-
.map(map)
|
2443
|
-
.w(w)
|
2444
|
-
.opcode(opcode)
|
2445
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2446
|
-
.vvvv(src1.to_real_reg().unwrap().hw_enc())
|
2447
|
-
.rm(src2)
|
2448
|
-
.imm(*imm)
|
2449
|
-
.encode(sink);
|
2450
|
-
}
|
2451
|
-
|
2452
|
-
Inst::XmmVexPinsr {
|
2453
|
-
op,
|
2454
|
-
src1,
|
2455
|
-
src2,
|
2456
|
-
dst,
|
2457
|
-
imm,
|
2458
|
-
} => {
|
2459
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2460
|
-
let src1 = allocs.next(src1.to_reg());
|
2461
|
-
let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
|
2462
|
-
RegMem::Reg { reg } => {
|
2463
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2464
|
-
}
|
2465
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2466
|
-
};
|
2467
|
-
|
2468
|
-
let (w, map, opcode) = match op {
|
2469
|
-
AvxOpcode::Vpinsrb => (false, OpcodeMap::_0F3A, 0x20),
|
2470
|
-
AvxOpcode::Vpinsrw => (false, OpcodeMap::_0F, 0xC4),
|
2471
|
-
AvxOpcode::Vpinsrd => (false, OpcodeMap::_0F3A, 0x22),
|
2472
|
-
AvxOpcode::Vpinsrq => (true, OpcodeMap::_0F3A, 0x22),
|
2473
|
-
_ => panic!("unexpected vex_pinsr opcode {op:?}"),
|
2474
|
-
};
|
2475
|
-
|
2476
|
-
VexInstruction::new()
|
2477
|
-
.length(VexVectorLength::V128)
|
2478
|
-
.prefix(LegacyPrefixes::_66)
|
2479
|
-
.map(map)
|
2480
|
-
.w(w)
|
2481
|
-
.opcode(opcode)
|
2482
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2483
|
-
.vvvv(src1.to_real_reg().unwrap().hw_enc())
|
2484
|
-
.rm(src2)
|
2485
|
-
.imm(*imm)
|
2486
|
-
.encode(sink);
|
2487
|
-
}
|
2488
|
-
|
2489
|
-
Inst::XmmRmRVex3 {
|
2490
|
-
op,
|
2491
|
-
src1,
|
2492
|
-
src2,
|
2493
|
-
src3,
|
2494
|
-
dst,
|
2495
|
-
} => {
|
2496
|
-
let src1 = allocs.next(src1.to_reg());
|
2497
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2498
|
-
debug_assert_eq!(src1, dst);
|
2499
|
-
let src2 = allocs.next(src2.to_reg());
|
2500
|
-
let src3 = match src3.clone().to_reg_mem().with_allocs(allocs) {
|
2501
|
-
RegMem::Reg { reg } => {
|
2502
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2503
|
-
}
|
2504
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2505
|
-
};
|
2506
|
-
|
2507
|
-
let (w, map, opcode) = match op {
|
2508
|
-
AvxOpcode::Vfmadd132ss => (false, OpcodeMap::_0F38, 0x99),
|
2509
|
-
AvxOpcode::Vfmadd213ss => (false, OpcodeMap::_0F38, 0xA9),
|
2510
|
-
AvxOpcode::Vfnmadd132ss => (false, OpcodeMap::_0F38, 0x9D),
|
2511
|
-
AvxOpcode::Vfnmadd213ss => (false, OpcodeMap::_0F38, 0xAD),
|
2512
|
-
AvxOpcode::Vfmadd132sd => (true, OpcodeMap::_0F38, 0x99),
|
2513
|
-
AvxOpcode::Vfmadd213sd => (true, OpcodeMap::_0F38, 0xA9),
|
2514
|
-
AvxOpcode::Vfnmadd132sd => (true, OpcodeMap::_0F38, 0x9D),
|
2515
|
-
AvxOpcode::Vfnmadd213sd => (true, OpcodeMap::_0F38, 0xAD),
|
2516
|
-
AvxOpcode::Vfmadd132ps => (false, OpcodeMap::_0F38, 0x98),
|
2517
|
-
AvxOpcode::Vfmadd213ps => (false, OpcodeMap::_0F38, 0xA8),
|
2518
|
-
AvxOpcode::Vfnmadd132ps => (false, OpcodeMap::_0F38, 0x9C),
|
2519
|
-
AvxOpcode::Vfnmadd213ps => (false, OpcodeMap::_0F38, 0xAC),
|
2520
|
-
AvxOpcode::Vfmadd132pd => (true, OpcodeMap::_0F38, 0x98),
|
2521
|
-
AvxOpcode::Vfmadd213pd => (true, OpcodeMap::_0F38, 0xA8),
|
2522
|
-
AvxOpcode::Vfnmadd132pd => (true, OpcodeMap::_0F38, 0x9C),
|
2523
|
-
AvxOpcode::Vfnmadd213pd => (true, OpcodeMap::_0F38, 0xAC),
|
2524
|
-
AvxOpcode::Vblendvps => (false, OpcodeMap::_0F3A, 0x4A),
|
2525
|
-
AvxOpcode::Vblendvpd => (false, OpcodeMap::_0F3A, 0x4B),
|
2526
|
-
AvxOpcode::Vpblendvb => (false, OpcodeMap::_0F3A, 0x4C),
|
2527
|
-
_ => unreachable!(),
|
2528
|
-
};
|
2529
|
-
|
2530
|
-
VexInstruction::new()
|
2531
|
-
.length(VexVectorLength::V128)
|
2532
|
-
.prefix(LegacyPrefixes::_66)
|
2533
|
-
.map(map)
|
2534
|
-
.w(w)
|
2535
|
-
.opcode(opcode)
|
2536
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2537
|
-
.rm(src3)
|
2538
|
-
.vvvv(src2.to_real_reg().unwrap().hw_enc())
|
2539
|
-
.encode(sink);
|
2540
|
-
}
|
2541
|
-
|
2542
|
-
Inst::XmmRmRBlendVex {
|
2543
|
-
op,
|
2544
|
-
src1,
|
2545
|
-
src2,
|
2546
|
-
mask,
|
2547
|
-
dst,
|
2548
|
-
} => {
|
2549
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2550
|
-
let src1 = allocs.next(src1.to_reg());
|
2551
|
-
let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
|
2552
|
-
RegMem::Reg { reg } => {
|
2553
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2554
|
-
}
|
2555
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2556
|
-
};
|
2557
|
-
let mask = allocs.next(mask.to_reg());
|
2558
|
-
|
2559
|
-
let opcode = match op {
|
2560
|
-
AvxOpcode::Vblendvps => 0x4A,
|
2561
|
-
AvxOpcode::Vblendvpd => 0x4B,
|
2562
|
-
AvxOpcode::Vpblendvb => 0x4C,
|
2563
|
-
_ => unreachable!(),
|
2564
|
-
};
|
2565
|
-
|
2566
|
-
VexInstruction::new()
|
2567
|
-
.length(VexVectorLength::V128)
|
2568
|
-
.prefix(LegacyPrefixes::_66)
|
2569
|
-
.map(OpcodeMap::_0F3A)
|
2570
|
-
.opcode(opcode)
|
2571
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2572
|
-
.vvvv(src1.to_real_reg().unwrap().hw_enc())
|
2573
|
-
.rm(src2)
|
2574
|
-
.imm(mask.to_real_reg().unwrap().hw_enc() << 4)
|
2575
|
-
.encode(sink);
|
2576
|
-
}
|
2577
|
-
|
2578
|
-
Inst::XmmUnaryRmRVex { op, src, dst } => {
|
2579
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2580
|
-
let src = match src.clone().to_reg_mem().with_allocs(allocs) {
|
2581
|
-
RegMem::Reg { reg } => {
|
2582
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2583
|
-
}
|
2584
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2585
|
-
};
|
2586
|
-
|
2587
|
-
let (prefix, map, opcode) = match op {
|
2588
|
-
AvxOpcode::Vpmovsxbw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x20),
|
2589
|
-
AvxOpcode::Vpmovzxbw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x30),
|
2590
|
-
AvxOpcode::Vpmovsxwd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x23),
|
2591
|
-
AvxOpcode::Vpmovzxwd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x33),
|
2592
|
-
AvxOpcode::Vpmovsxdq => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x25),
|
2593
|
-
AvxOpcode::Vpmovzxdq => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x35),
|
2594
|
-
AvxOpcode::Vpabsb => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1C),
|
2595
|
-
AvxOpcode::Vpabsw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1D),
|
2596
|
-
AvxOpcode::Vpabsd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1E),
|
2597
|
-
AvxOpcode::Vsqrtps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x51),
|
2598
|
-
AvxOpcode::Vsqrtpd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x51),
|
2599
|
-
AvxOpcode::Vcvtdq2pd => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0xE6),
|
2600
|
-
AvxOpcode::Vcvtdq2ps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x5B),
|
2601
|
-
AvxOpcode::Vcvtpd2ps => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x5A),
|
2602
|
-
AvxOpcode::Vcvtps2pd => (LegacyPrefixes::None, OpcodeMap::_0F, 0x5A),
|
2603
|
-
AvxOpcode::Vcvttpd2dq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0xE6),
|
2604
|
-
AvxOpcode::Vcvttps2dq => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x5B),
|
2605
|
-
AvxOpcode::Vmovdqu => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x6F),
|
2606
|
-
AvxOpcode::Vmovups => (LegacyPrefixes::None, OpcodeMap::_0F, 0x10),
|
2607
|
-
AvxOpcode::Vmovupd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x10),
|
2608
|
-
|
2609
|
-
// Note that for `vmov{s,d}` the `inst.isle` rules should
|
2610
|
-
// statically ensure that only `Amode` operands are used here.
|
2611
|
-
// Otherwise the other encodings of `vmovss` are more like
|
2612
|
-
// 2-operand instructions which this unary encoding does not
|
2613
|
-
// have.
|
2614
|
-
AvxOpcode::Vmovss => match &src {
|
2615
|
-
RegisterOrAmode::Amode(_) => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x10),
|
2616
|
-
_ => unreachable!(),
|
2617
|
-
},
|
2618
|
-
AvxOpcode::Vmovsd => match &src {
|
2619
|
-
RegisterOrAmode::Amode(_) => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x10),
|
2620
|
-
_ => unreachable!(),
|
2621
|
-
},
|
2622
|
-
|
2623
|
-
AvxOpcode::Vpbroadcastb => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x78),
|
2624
|
-
AvxOpcode::Vpbroadcastw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x79),
|
2625
|
-
AvxOpcode::Vpbroadcastd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x58),
|
2626
|
-
AvxOpcode::Vbroadcastss => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x18),
|
2627
|
-
AvxOpcode::Vmovddup => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x12),
|
2628
|
-
|
2629
|
-
AvxOpcode::Vcvtss2sd => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x5A),
|
2630
|
-
AvxOpcode::Vcvtsd2ss => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x5A),
|
2631
|
-
AvxOpcode::Vsqrtss => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x51),
|
2632
|
-
AvxOpcode::Vsqrtsd => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x51),
|
2633
|
-
|
2634
|
-
_ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
|
2635
|
-
};
|
2636
|
-
|
2637
|
-
let vex = VexInstruction::new()
|
2638
|
-
.length(VexVectorLength::V128)
|
2639
|
-
.prefix(prefix)
|
2640
|
-
.map(map)
|
2641
|
-
.opcode(opcode)
|
2642
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2643
|
-
.rm(src);
|
2644
|
-
|
2645
|
-
// These opcodes take a second operand through `vvvv` which copies
|
2646
|
-
// the upper bits into the destination register. That's not
|
2647
|
-
// reflected in the CLIF instruction, however, since the SSE version
|
2648
|
-
// doesn't have this functionality. Instead just copy whatever
|
2649
|
-
// happens to already be in the destination, which at least is what
|
2650
|
-
// LLVM seems to do.
|
2651
|
-
let vex = match op {
|
2652
|
-
AvxOpcode::Vcvtss2sd
|
2653
|
-
| AvxOpcode::Vcvtsd2ss
|
2654
|
-
| AvxOpcode::Vsqrtss
|
2655
|
-
| AvxOpcode::Vsqrtsd => vex.vvvv(dst.to_real_reg().unwrap().hw_enc()),
|
2656
|
-
_ => vex,
|
2657
|
-
};
|
2658
|
-
vex.encode(sink);
|
2659
|
-
}
|
2660
|
-
|
2661
|
-
Inst::XmmUnaryRmRImmVex { op, src, dst, imm } => {
|
2662
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2663
|
-
let src = match src.clone().to_reg_mem().with_allocs(allocs) {
|
2664
|
-
RegMem::Reg { reg } => {
|
2665
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2666
|
-
}
|
2667
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2668
|
-
};
|
2669
|
-
|
2670
|
-
let (prefix, map, opcode) = match op {
|
2671
|
-
AvxOpcode::Vroundps => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x08),
|
2672
|
-
AvxOpcode::Vroundpd => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x09),
|
2673
|
-
AvxOpcode::Vpshuflw => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x70),
|
2674
|
-
AvxOpcode::Vpshufhw => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x70),
|
2675
|
-
AvxOpcode::Vpshufd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x70),
|
2676
|
-
AvxOpcode::Vroundss => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0A),
|
2677
|
-
AvxOpcode::Vroundsd => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0B),
|
2678
|
-
_ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
|
2679
|
-
};
|
2680
|
-
|
2681
|
-
let vex = VexInstruction::new()
|
2682
|
-
.length(VexVectorLength::V128)
|
2683
|
-
.prefix(prefix)
|
2684
|
-
.map(map)
|
2685
|
-
.opcode(opcode)
|
2686
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2687
|
-
.rm(src)
|
2688
|
-
.imm(*imm);
|
2689
|
-
|
2690
|
-
// See comments in similar block above in `XmmUnaryRmRVex` for what
|
2691
|
-
// this is doing.
|
2692
|
-
let vex = match op {
|
2693
|
-
AvxOpcode::Vroundss | AvxOpcode::Vroundsd => {
|
2694
|
-
vex.vvvv(dst.to_real_reg().unwrap().hw_enc())
|
2695
|
-
}
|
2696
|
-
_ => vex,
|
2697
|
-
};
|
2698
|
-
vex.encode(sink);
|
2699
|
-
}
|
2700
|
-
|
2701
|
-
Inst::XmmMovRMVex { op, src, dst } => {
|
2702
|
-
let src = allocs.next(src.to_reg());
|
2703
|
-
let dst = dst.with_allocs(allocs).finalize(state, sink);
|
2704
|
-
|
2705
|
-
let (prefix, map, opcode) = match op {
|
2706
|
-
AvxOpcode::Vmovdqu => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x7F),
|
2707
|
-
AvxOpcode::Vmovss => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x11),
|
2708
|
-
AvxOpcode::Vmovsd => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x11),
|
2709
|
-
AvxOpcode::Vmovups => (LegacyPrefixes::None, OpcodeMap::_0F, 0x11),
|
2710
|
-
AvxOpcode::Vmovupd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x11),
|
2711
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2712
|
-
};
|
2713
|
-
VexInstruction::new()
|
2714
|
-
.length(VexVectorLength::V128)
|
2715
|
-
.prefix(prefix)
|
2716
|
-
.map(map)
|
2717
|
-
.opcode(opcode)
|
2718
|
-
.rm(dst)
|
2719
|
-
.reg(src.to_real_reg().unwrap().hw_enc())
|
2720
|
-
.encode(sink);
|
2721
|
-
}
|
2722
|
-
|
2723
|
-
Inst::XmmMovRMImmVex { op, src, dst, imm } => {
|
2724
|
-
let src = allocs.next(src.to_reg());
|
2725
|
-
let dst = dst.with_allocs(allocs).finalize(state, sink);
|
2726
|
-
|
2727
|
-
let (w, prefix, map, opcode) = match op {
|
2728
|
-
AvxOpcode::Vpextrb => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x14),
|
2729
|
-
AvxOpcode::Vpextrw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x15),
|
2730
|
-
AvxOpcode::Vpextrd => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
|
2731
|
-
AvxOpcode::Vpextrq => (true, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
|
2732
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2733
|
-
};
|
2734
|
-
VexInstruction::new()
|
2735
|
-
.length(VexVectorLength::V128)
|
2736
|
-
.w(w)
|
2737
|
-
.prefix(prefix)
|
2738
|
-
.map(map)
|
2739
|
-
.opcode(opcode)
|
2740
|
-
.rm(dst)
|
2741
|
-
.reg(src.to_real_reg().unwrap().hw_enc())
|
2742
|
-
.imm(*imm)
|
2743
|
-
.encode(sink);
|
2744
|
-
}
|
2745
|
-
|
2746
|
-
Inst::XmmToGprImmVex { op, src, dst, imm } => {
|
2747
|
-
let src = allocs.next(src.to_reg());
|
2748
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2749
|
-
|
2750
|
-
let (w, prefix, map, opcode) = match op {
|
2751
|
-
AvxOpcode::Vpextrb => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x14),
|
2752
|
-
AvxOpcode::Vpextrw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x15),
|
2753
|
-
AvxOpcode::Vpextrd => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
|
2754
|
-
AvxOpcode::Vpextrq => (true, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
|
2755
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2756
|
-
};
|
2757
|
-
VexInstruction::new()
|
2758
|
-
.length(VexVectorLength::V128)
|
2759
|
-
.w(w)
|
2760
|
-
.prefix(prefix)
|
2761
|
-
.map(map)
|
2762
|
-
.opcode(opcode)
|
2763
|
-
.rm(dst.to_real_reg().unwrap().hw_enc())
|
2764
|
-
.reg(src.to_real_reg().unwrap().hw_enc())
|
2765
|
-
.imm(*imm)
|
2766
|
-
.encode(sink);
|
2767
|
-
}
|
2768
|
-
|
2769
|
-
Inst::XmmToGprVex {
|
2770
|
-
op,
|
2771
|
-
src,
|
2772
|
-
dst,
|
2773
|
-
dst_size,
|
2774
|
-
} => {
|
2775
|
-
let src = allocs.next(src.to_reg());
|
2776
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2777
|
-
|
2778
|
-
let (prefix, map, opcode) = match op {
|
2779
|
-
// vmovd/vmovq are differentiated by `w`
|
2780
|
-
AvxOpcode::Vmovd | AvxOpcode::Vmovq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x7E),
|
2781
|
-
AvxOpcode::Vmovmskps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x50),
|
2782
|
-
AvxOpcode::Vmovmskpd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x50),
|
2783
|
-
AvxOpcode::Vpmovmskb => (LegacyPrefixes::_66, OpcodeMap::_0F, 0xD7),
|
2784
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2785
|
-
};
|
2786
|
-
let w = match dst_size {
|
2787
|
-
OperandSize::Size64 => true,
|
2788
|
-
_ => false,
|
2789
|
-
};
|
2790
|
-
let mut vex = VexInstruction::new()
|
2791
|
-
.length(VexVectorLength::V128)
|
2792
|
-
.w(w)
|
2793
|
-
.prefix(prefix)
|
2794
|
-
.map(map)
|
2795
|
-
.opcode(opcode);
|
2796
|
-
vex = match op {
|
2797
|
-
// The `vmovq/vmovd` reverse the order of the destination/source
|
2798
|
-
// relative to other opcodes using this shape of instruction.
|
2799
|
-
AvxOpcode::Vmovd | AvxOpcode::Vmovq => vex
|
2800
|
-
.rm(dst.to_real_reg().unwrap().hw_enc())
|
2801
|
-
.reg(src.to_real_reg().unwrap().hw_enc()),
|
2802
|
-
_ => vex
|
2803
|
-
.rm(src.to_real_reg().unwrap().hw_enc())
|
2804
|
-
.reg(dst.to_real_reg().unwrap().hw_enc()),
|
2805
|
-
};
|
2806
|
-
vex.encode(sink);
|
2807
|
-
}
|
2808
|
-
|
2809
|
-
Inst::GprToXmmVex {
|
2810
|
-
op,
|
2811
|
-
src,
|
2812
|
-
dst,
|
2813
|
-
src_size,
|
2814
|
-
} => {
|
2815
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2816
|
-
let src = match src.clone().to_reg_mem().with_allocs(allocs) {
|
2817
|
-
RegMem::Reg { reg } => {
|
2818
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2819
|
-
}
|
2820
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2821
|
-
};
|
2822
|
-
|
2823
|
-
let (prefix, map, opcode) = match op {
|
2824
|
-
// vmovd/vmovq are differentiated by `w`
|
2825
|
-
AvxOpcode::Vmovd | AvxOpcode::Vmovq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x6E),
|
2826
|
-
AvxOpcode::Vcvtsi2ss => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x2A),
|
2827
|
-
AvxOpcode::Vcvtsi2sd => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x2A),
|
2828
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2829
|
-
};
|
2830
|
-
let w = match src_size {
|
2831
|
-
OperandSize::Size64 => true,
|
2832
|
-
_ => false,
|
2833
|
-
};
|
2834
|
-
let mut insn = VexInstruction::new()
|
2835
|
-
.length(VexVectorLength::V128)
|
2836
|
-
.w(w)
|
2837
|
-
.prefix(prefix)
|
2838
|
-
.map(map)
|
2839
|
-
.opcode(opcode)
|
2840
|
-
.rm(src)
|
2841
|
-
.reg(dst.to_real_reg().unwrap().hw_enc());
|
2842
|
-
// These opcodes technically take a second operand which is the
|
2843
|
-
// upper bits to preserve during the float conversion. We don't
|
2844
|
-
// actually use this in this backend right now so reuse the
|
2845
|
-
// destination register. This at least matches what LLVM does.
|
2846
|
-
if let AvxOpcode::Vcvtsi2ss | AvxOpcode::Vcvtsi2sd = op {
|
2847
|
-
insn = insn.vvvv(dst.to_real_reg().unwrap().hw_enc());
|
2848
|
-
}
|
2849
|
-
insn.encode(sink);
|
2850
|
-
}
|
2851
|
-
|
2852
|
-
Inst::XmmRmREvex {
|
2853
|
-
op,
|
2854
|
-
src1,
|
2855
|
-
src2,
|
2856
|
-
dst,
|
2857
|
-
}
|
2858
|
-
| Inst::XmmRmREvex3 {
|
2859
|
-
op,
|
2860
|
-
src1: _, // `dst` reuses `src1`.
|
2861
|
-
src2: src1,
|
2862
|
-
src3: src2,
|
2863
|
-
dst,
|
2864
|
-
} => {
|
2865
|
-
let reused_src = match inst {
|
2866
|
-
Inst::XmmRmREvex3 { src1, .. } => Some(allocs.next(src1.to_reg())),
|
2867
|
-
_ => None,
|
2868
|
-
};
|
2869
|
-
let src1 = allocs.next(src1.to_reg());
|
2870
|
-
let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
|
2871
|
-
RegMem::Reg { reg } => {
|
2872
|
-
RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
|
2873
|
-
}
|
2874
|
-
RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
|
2875
|
-
};
|
2876
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2877
|
-
if let Some(src1) = reused_src {
|
2878
|
-
debug_assert_eq!(src1, dst);
|
2879
|
-
}
|
2880
|
-
|
2881
|
-
let (w, opcode, map) = match op {
|
2882
|
-
Avx512Opcode::Vpermi2b => (false, 0x75, OpcodeMap::_0F38),
|
2883
|
-
Avx512Opcode::Vpmullq => (true, 0x40, OpcodeMap::_0F38),
|
2884
|
-
Avx512Opcode::Vpsraq => (true, 0xE2, OpcodeMap::_0F),
|
2885
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
2886
|
-
};
|
2887
|
-
EvexInstruction::new()
|
2888
|
-
.length(EvexVectorLength::V128)
|
2889
|
-
.prefix(LegacyPrefixes::_66)
|
2890
|
-
.map(map)
|
2891
|
-
.w(w)
|
2892
|
-
.opcode(opcode)
|
2893
|
-
.tuple_type(op.tuple_type())
|
2894
|
-
.reg(dst.to_real_reg().unwrap().hw_enc())
|
2895
|
-
.vvvvv(src1.to_real_reg().unwrap().hw_enc())
|
2896
|
-
.rm(src2)
|
2897
|
-
.encode(sink);
|
2898
|
-
}
|
2899
|
-
|
2900
|
-
Inst::XmmMinMaxSeq {
|
2901
|
-
size,
|
2902
|
-
is_min,
|
2903
|
-
lhs,
|
2904
|
-
rhs,
|
2905
|
-
dst,
|
2906
|
-
} => {
|
2907
|
-
let rhs = allocs.next(rhs.to_reg());
|
2908
|
-
let lhs = allocs.next(lhs.to_reg());
|
2909
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
2910
|
-
debug_assert_eq!(rhs, dst);
|
2911
|
-
|
2912
|
-
// Generates the following sequence:
|
2913
|
-
// cmpss/cmpsd %lhs, %rhs_dst
|
2914
|
-
// jnz do_min_max
|
2915
|
-
// jp propagate_nan
|
2916
|
-
//
|
2917
|
-
// ;; ordered and equal: propagate the sign bit (for -0 vs 0):
|
2918
|
-
// {and,or}{ss,sd} %lhs, %rhs_dst
|
2919
|
-
// j done
|
2920
|
-
//
|
2921
|
-
// ;; to get the desired NaN behavior (signalling NaN transformed into a quiet NaN, the
|
2922
|
-
// ;; NaN value is returned), we add both inputs.
|
2923
|
-
// propagate_nan:
|
2924
|
-
// add{ss,sd} %lhs, %rhs_dst
|
2925
|
-
// j done
|
2926
|
-
//
|
2927
|
-
// do_min_max:
|
2928
|
-
// {min,max}{ss,sd} %lhs, %rhs_dst
|
2929
|
-
//
|
2930
|
-
// done:
|
2931
|
-
let done = sink.get_label();
|
2932
|
-
let propagate_nan = sink.get_label();
|
2933
|
-
let do_min_max = sink.get_label();
|
2934
|
-
|
2935
|
-
let (add_op, cmp_op, and_op, or_op, min_max_op) = match size {
|
2936
|
-
OperandSize::Size32 => (
|
2937
|
-
SseOpcode::Addss,
|
2938
|
-
SseOpcode::Ucomiss,
|
2939
|
-
SseOpcode::Andps,
|
2940
|
-
SseOpcode::Orps,
|
2941
|
-
if *is_min {
|
2942
|
-
SseOpcode::Minss
|
2943
|
-
} else {
|
2944
|
-
SseOpcode::Maxss
|
2945
|
-
},
|
2946
|
-
),
|
2947
|
-
OperandSize::Size64 => (
|
2948
|
-
SseOpcode::Addsd,
|
2949
|
-
SseOpcode::Ucomisd,
|
2950
|
-
SseOpcode::Andpd,
|
2951
|
-
SseOpcode::Orpd,
|
2952
|
-
if *is_min {
|
2953
|
-
SseOpcode::Minsd
|
2954
|
-
} else {
|
2955
|
-
SseOpcode::Maxsd
|
2956
|
-
},
|
2957
|
-
),
|
2958
|
-
_ => unreachable!(),
|
2959
|
-
};
|
2960
|
-
|
2961
|
-
let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(lhs), dst);
|
2962
|
-
inst.emit(&[], sink, info, state);
|
2963
|
-
|
2964
|
-
one_way_jmp(sink, CC::NZ, do_min_max);
|
2965
|
-
one_way_jmp(sink, CC::P, propagate_nan);
|
2966
|
-
|
2967
|
-
// Ordered and equal. The operands are bit-identical unless they are zero
|
2968
|
-
// and negative zero. These instructions merge the sign bits in that
|
2969
|
-
// case, and are no-ops otherwise.
|
2970
|
-
let op = if *is_min { or_op } else { and_op };
|
2971
|
-
let inst = Inst::xmm_rm_r(op, RegMem::reg(lhs), Writable::from_reg(dst));
|
2972
|
-
inst.emit(&[], sink, info, state);
|
2973
|
-
|
2974
|
-
let inst = Inst::jmp_known(done);
|
2975
|
-
inst.emit(&[], sink, info, state);
|
2976
|
-
|
2977
|
-
// x86's min/max are not symmetric; if either operand is a NaN, they return the
|
2978
|
-
// read-only operand: perform an addition between the two operands, which has the
|
2979
|
-
// desired NaN propagation effects.
|
2980
|
-
sink.bind_label(propagate_nan, state.ctrl_plane_mut());
|
2981
|
-
let inst = Inst::xmm_rm_r(add_op, RegMem::reg(lhs), Writable::from_reg(dst));
|
2982
|
-
inst.emit(&[], sink, info, state);
|
2983
|
-
|
2984
|
-
one_way_jmp(sink, CC::P, done);
|
2985
|
-
|
2986
|
-
sink.bind_label(do_min_max, state.ctrl_plane_mut());
|
2987
|
-
|
2988
|
-
let inst = Inst::xmm_rm_r(min_max_op, RegMem::reg(lhs), Writable::from_reg(dst));
|
2989
|
-
inst.emit(&[], sink, info, state);
|
2990
|
-
|
2991
|
-
sink.bind_label(done, state.ctrl_plane_mut());
|
2992
|
-
}
|
2993
|
-
|
2994
|
-
Inst::XmmRmRImm {
|
2995
|
-
op,
|
2996
|
-
src1,
|
2997
|
-
src2,
|
2998
|
-
dst,
|
2999
|
-
imm,
|
3000
|
-
size,
|
3001
|
-
} => {
|
3002
|
-
let src1 = allocs.next(*src1);
|
3003
|
-
let dst = allocs.next(dst.to_reg());
|
3004
|
-
let src2 = src2.with_allocs(allocs);
|
3005
|
-
debug_assert_eq!(src1, dst);
|
3006
|
-
|
3007
|
-
let (prefix, opcode, len) = match op {
|
3008
|
-
SseOpcode::Cmpps => (LegacyPrefixes::None, 0x0FC2, 2),
|
3009
|
-
SseOpcode::Cmppd => (LegacyPrefixes::_66, 0x0FC2, 2),
|
3010
|
-
SseOpcode::Cmpss => (LegacyPrefixes::_F3, 0x0FC2, 2),
|
3011
|
-
SseOpcode::Cmpsd => (LegacyPrefixes::_F2, 0x0FC2, 2),
|
3012
|
-
SseOpcode::Insertps => (LegacyPrefixes::_66, 0x0F3A21, 3),
|
3013
|
-
SseOpcode::Palignr => (LegacyPrefixes::_66, 0x0F3A0F, 3),
|
3014
|
-
SseOpcode::Pinsrb => (LegacyPrefixes::_66, 0x0F3A20, 3),
|
3015
|
-
SseOpcode::Pinsrw => (LegacyPrefixes::_66, 0x0FC4, 2),
|
3016
|
-
SseOpcode::Pinsrd => (LegacyPrefixes::_66, 0x0F3A22, 3),
|
3017
|
-
SseOpcode::Shufps => (LegacyPrefixes::None, 0x0FC6, 2),
|
3018
|
-
SseOpcode::Pblendw => (LegacyPrefixes::_66, 0x0F3A0E, 3),
|
3019
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
3020
|
-
};
|
3021
|
-
let rex = RexFlags::from(*size);
|
3022
|
-
let regs_swapped = match *op {
|
3023
|
-
// These opcodes (and not the SSE2 version of PEXTRW) flip the operand
|
3024
|
-
// encoding: `dst` in ModRM's r/m, `src` in ModRM's reg field.
|
3025
|
-
SseOpcode::Pextrb | SseOpcode::Pextrd => true,
|
3026
|
-
// The rest of the opcodes have the customary encoding: `dst` in ModRM's reg,
|
3027
|
-
// `src` in ModRM's r/m field.
|
3028
|
-
_ => false,
|
3029
|
-
};
|
3030
|
-
match src2 {
|
3031
|
-
RegMem::Reg { reg } => {
|
3032
|
-
if regs_swapped {
|
3033
|
-
emit_std_reg_reg(sink, prefix, opcode, len, reg, dst, rex);
|
3034
|
-
} else {
|
3035
|
-
emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
|
3036
|
-
}
|
3037
|
-
}
|
3038
|
-
RegMem::Mem { addr } => {
|
3039
|
-
let addr = &addr.finalize(state, sink);
|
3040
|
-
assert!(
|
3041
|
-
!regs_swapped,
|
3042
|
-
"No existing way to encode a mem argument in the ModRM r/m field."
|
3043
|
-
);
|
3044
|
-
// N.B.: bytes_at_end == 1, because of the `imm` byte below.
|
3045
|
-
emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 1);
|
3046
|
-
}
|
3047
|
-
}
|
3048
|
-
sink.put1(*imm);
|
3049
|
-
}
|
3050
|
-
|
3051
|
-
Inst::XmmUninitializedValue { .. } => {
|
3052
|
-
// This instruction format only exists to declare a register as a `def`; no code is
|
3053
|
-
// emitted.
|
3054
|
-
}
|
3055
|
-
|
3056
|
-
Inst::XmmMovRM { op, src, dst } => {
|
3057
|
-
let src = allocs.next(src.to_reg());
|
3058
|
-
let dst = dst.with_allocs(allocs);
|
3059
|
-
|
3060
|
-
let (prefix, opcode) = match op {
|
3061
|
-
SseOpcode::Movaps => (LegacyPrefixes::None, 0x0F29),
|
3062
|
-
SseOpcode::Movapd => (LegacyPrefixes::_66, 0x0F29),
|
3063
|
-
SseOpcode::Movdqu => (LegacyPrefixes::_F3, 0x0F7F),
|
3064
|
-
SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F11),
|
3065
|
-
SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F11),
|
3066
|
-
SseOpcode::Movups => (LegacyPrefixes::None, 0x0F11),
|
3067
|
-
SseOpcode::Movupd => (LegacyPrefixes::_66, 0x0F11),
|
3068
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
3069
|
-
};
|
3070
|
-
let dst = &dst.finalize(state, sink);
|
3071
|
-
emit_std_reg_mem(sink, prefix, opcode, 2, src, dst, RexFlags::clear_w(), 0);
|
3072
|
-
}
|
3073
|
-
|
3074
|
-
Inst::XmmMovRMImm { op, src, dst, imm } => {
|
3075
|
-
let src = allocs.next(src.to_reg());
|
3076
|
-
let dst = dst.with_allocs(allocs);
|
3077
|
-
|
3078
|
-
let (w, prefix, opcode) = match op {
|
3079
|
-
SseOpcode::Pextrb => (false, LegacyPrefixes::_66, 0x0F3A14),
|
3080
|
-
SseOpcode::Pextrw => (false, LegacyPrefixes::_66, 0x0F3A15),
|
3081
|
-
SseOpcode::Pextrd => (false, LegacyPrefixes::_66, 0x0F3A16),
|
3082
|
-
SseOpcode::Pextrq => (true, LegacyPrefixes::_66, 0x0F3A16),
|
3083
|
-
_ => unimplemented!("Opcode {:?} not implemented", op),
|
3084
|
-
};
|
3085
|
-
let rex = if w {
|
3086
|
-
RexFlags::set_w()
|
3087
|
-
} else {
|
3088
|
-
RexFlags::clear_w()
|
3089
|
-
};
|
3090
|
-
let dst = &dst.finalize(state, sink);
|
3091
|
-
emit_std_reg_mem(sink, prefix, opcode, 3, src, dst, rex, 1);
|
3092
|
-
sink.put1(*imm);
|
3093
|
-
}
|
3094
|
-
|
3095
|
-
Inst::XmmToGpr {
|
3096
|
-
op,
|
3097
|
-
src,
|
3098
|
-
dst,
|
3099
|
-
dst_size,
|
3100
|
-
} => {
|
3101
|
-
let src = allocs.next(src.to_reg());
|
3102
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
3103
|
-
|
3104
|
-
let (prefix, opcode, dst_first) = match op {
|
3105
|
-
SseOpcode::Cvttss2si => (LegacyPrefixes::_F3, 0x0F2C, true),
|
3106
|
-
SseOpcode::Cvttsd2si => (LegacyPrefixes::_F2, 0x0F2C, true),
|
3107
|
-
// Movd and movq use the same opcode; the presence of the REX prefix (set below)
|
3108
|
-
// actually determines which is used.
|
3109
|
-
SseOpcode::Movd | SseOpcode::Movq => (LegacyPrefixes::_66, 0x0F7E, false),
|
3110
|
-
SseOpcode::Movmskps => (LegacyPrefixes::None, 0x0F50, true),
|
3111
|
-
SseOpcode::Movmskpd => (LegacyPrefixes::_66, 0x0F50, true),
|
3112
|
-
SseOpcode::Pmovmskb => (LegacyPrefixes::_66, 0x0FD7, true),
|
3113
|
-
_ => panic!("unexpected opcode {:?}", op),
|
3114
|
-
};
|
3115
|
-
let rex = RexFlags::from(*dst_size);
|
3116
|
-
let (src, dst) = if dst_first { (dst, src) } else { (src, dst) };
|
3117
|
-
|
3118
|
-
emit_std_reg_reg(sink, prefix, opcode, 2, src, dst, rex);
|
3119
|
-
}
|
3120
|
-
|
3121
|
-
Inst::XmmToGprImm { op, src, dst, imm } => {
|
3122
|
-
use OperandSize as OS;
|
3123
|
-
|
3124
|
-
let src = allocs.next(src.to_reg());
|
3125
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
3126
|
-
|
3127
|
-
let (prefix, opcode, opcode_bytes, dst_size, dst_first) = match op {
|
3128
|
-
SseOpcode::Pextrb => (LegacyPrefixes::_66, 0x0F3A14, 3, OS::Size32, false),
|
3129
|
-
SseOpcode::Pextrw => (LegacyPrefixes::_66, 0x0FC5, 2, OS::Size32, true),
|
3130
|
-
SseOpcode::Pextrd => (LegacyPrefixes::_66, 0x0F3A16, 3, OS::Size32, false),
|
3131
|
-
SseOpcode::Pextrq => (LegacyPrefixes::_66, 0x0F3A16, 3, OS::Size64, false),
|
3132
|
-
_ => panic!("unexpected opcode {:?}", op),
|
3133
|
-
};
|
3134
|
-
let rex = RexFlags::from(dst_size);
|
3135
|
-
let (src, dst) = if dst_first { (dst, src) } else { (src, dst) };
|
3136
|
-
|
3137
|
-
emit_std_reg_reg(sink, prefix, opcode, opcode_bytes, src, dst, rex);
|
3138
|
-
sink.put1(*imm);
|
3139
|
-
}
|
3140
|
-
|
3141
|
-
Inst::GprToXmm {
|
3142
|
-
op,
|
3143
|
-
src: src_e,
|
3144
|
-
dst: reg_g,
|
3145
|
-
src_size,
|
3146
|
-
} => {
|
3147
|
-
let reg_g = allocs.next(reg_g.to_reg().to_reg());
|
3148
|
-
let src_e = src_e.clone().to_reg_mem().with_allocs(allocs);
|
3149
|
-
|
3150
|
-
let (prefix, opcode) = match op {
|
3151
|
-
// Movd and movq use the same opcode; the presence of the REX prefix (set below)
|
3152
|
-
// actually determines which is used.
|
3153
|
-
SseOpcode::Movd | SseOpcode::Movq => (LegacyPrefixes::_66, 0x0F6E),
|
3154
|
-
SseOpcode::Cvtsi2ss => (LegacyPrefixes::_F3, 0x0F2A),
|
3155
|
-
SseOpcode::Cvtsi2sd => (LegacyPrefixes::_F2, 0x0F2A),
|
3156
|
-
_ => panic!("unexpected opcode {:?}", op),
|
3157
|
-
};
|
3158
|
-
let rex = RexFlags::from(*src_size);
|
3159
|
-
match src_e {
|
3160
|
-
RegMem::Reg { reg: reg_e } => {
|
3161
|
-
emit_std_reg_reg(sink, prefix, opcode, 2, reg_g, reg_e, rex);
|
3162
|
-
}
|
3163
|
-
RegMem::Mem { addr } => {
|
3164
|
-
let addr = &addr.finalize(state, sink);
|
3165
|
-
emit_std_reg_mem(sink, prefix, opcode, 2, reg_g, addr, rex, 0);
|
3166
|
-
}
|
3167
|
-
}
|
3168
|
-
}
|
3169
|
-
|
3170
|
-
Inst::XmmCmpRmR { op, src, dst } => {
|
3171
|
-
let dst = allocs.next(dst.to_reg());
|
3172
|
-
let src = src.clone().to_reg_mem().with_allocs(allocs);
|
3173
|
-
|
3174
|
-
let rex = RexFlags::clear_w();
|
3175
|
-
let (prefix, opcode, len) = match op {
|
3176
|
-
SseOpcode::Ptest => (LegacyPrefixes::_66, 0x0F3817, 3),
|
3177
|
-
SseOpcode::Ucomisd => (LegacyPrefixes::_66, 0x0F2E, 2),
|
3178
|
-
SseOpcode::Ucomiss => (LegacyPrefixes::None, 0x0F2E, 2),
|
3179
|
-
_ => unimplemented!("Emit xmm cmp rm r"),
|
3180
|
-
};
|
3181
|
-
|
3182
|
-
match src {
|
3183
|
-
RegMem::Reg { reg } => {
|
3184
|
-
emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
|
3185
|
-
}
|
3186
|
-
RegMem::Mem { addr } => {
|
3187
|
-
let addr = &addr.finalize(state, sink);
|
3188
|
-
emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 0);
|
3189
|
-
}
|
3190
|
-
}
|
3191
|
-
}
|
3192
|
-
|
3193
|
-
Inst::CvtUint64ToFloatSeq {
|
3194
|
-
dst_size,
|
3195
|
-
src,
|
3196
|
-
dst,
|
3197
|
-
tmp_gpr1,
|
3198
|
-
tmp_gpr2,
|
3199
|
-
} => {
|
3200
|
-
let src = allocs.next(src.to_reg());
|
3201
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
3202
|
-
let tmp_gpr1 = allocs.next(tmp_gpr1.to_reg().to_reg());
|
3203
|
-
let tmp_gpr2 = allocs.next(tmp_gpr2.to_reg().to_reg());
|
3204
|
-
|
3205
|
-
// Note: this sequence is specific to 64-bit mode; a 32-bit mode would require a
|
3206
|
-
// different sequence.
|
3207
|
-
//
|
3208
|
-
// Emit the following sequence:
|
3209
|
-
//
|
3210
|
-
// cmp 0, %src
|
3211
|
-
// jl handle_negative
|
3212
|
-
//
|
3213
|
-
// ;; handle positive, which can't overflow
|
3214
|
-
// cvtsi2sd/cvtsi2ss %src, %dst
|
3215
|
-
// j done
|
3216
|
-
//
|
3217
|
-
// ;; handle negative: see below for an explanation of what it's doing.
|
3218
|
-
// handle_negative:
|
3219
|
-
// mov %src, %tmp_gpr1
|
3220
|
-
// shr $1, %tmp_gpr1
|
3221
|
-
// mov %src, %tmp_gpr2
|
3222
|
-
// and $1, %tmp_gpr2
|
3223
|
-
// or %tmp_gpr1, %tmp_gpr2
|
3224
|
-
// cvtsi2sd/cvtsi2ss %tmp_gpr2, %dst
|
3225
|
-
// addsd/addss %dst, %dst
|
3226
|
-
//
|
3227
|
-
// done:
|
3228
|
-
|
3229
|
-
assert_ne!(src, tmp_gpr1);
|
3230
|
-
assert_ne!(src, tmp_gpr2);
|
3231
|
-
assert_ne!(tmp_gpr1, tmp_gpr2);
|
3232
|
-
|
3233
|
-
let handle_negative = sink.get_label();
|
3234
|
-
let done = sink.get_label();
|
3235
|
-
|
3236
|
-
// If x seen as a signed int64 is not negative, a signed-conversion will do the right
|
3237
|
-
// thing.
|
3238
|
-
// TODO use tst src, src here.
|
3239
|
-
let inst = Inst::cmp_rmi_r(OperandSize::Size64, RegMemImm::imm(0), src);
|
3240
|
-
inst.emit(&[], sink, info, state);
|
3241
|
-
|
3242
|
-
one_way_jmp(sink, CC::L, handle_negative);
|
3243
|
-
|
3244
|
-
// Handle a positive int64, which is the "easy" case: a signed conversion will do the
|
3245
|
-
// right thing.
|
3246
|
-
emit_signed_cvt(
|
3247
|
-
sink,
|
3248
|
-
info,
|
3249
|
-
state,
|
3250
|
-
src,
|
3251
|
-
Writable::from_reg(dst),
|
3252
|
-
*dst_size == OperandSize::Size64,
|
3253
|
-
);
|
3254
|
-
|
3255
|
-
let inst = Inst::jmp_known(done);
|
3256
|
-
inst.emit(&[], sink, info, state);
|
3257
|
-
|
3258
|
-
sink.bind_label(handle_negative, state.ctrl_plane_mut());
|
3259
|
-
|
3260
|
-
// Divide x by two to get it in range for the signed conversion, keep the LSB, and
|
3261
|
-
// scale it back up on the FP side.
|
3262
|
-
let inst = Inst::gen_move(Writable::from_reg(tmp_gpr1), src, types::I64);
|
3263
|
-
inst.emit(&[], sink, info, state);
|
3264
|
-
|
3265
|
-
// tmp_gpr1 := src >> 1
|
3266
|
-
let inst = Inst::shift_r(
|
3267
|
-
OperandSize::Size64,
|
3268
|
-
ShiftKind::ShiftRightLogical,
|
3269
|
-
Imm8Gpr::new(Imm8Reg::Imm8 { imm: 1 }).unwrap(),
|
3270
|
-
tmp_gpr1,
|
3271
|
-
Writable::from_reg(tmp_gpr1),
|
3272
|
-
);
|
3273
|
-
inst.emit(&[], sink, info, state);
|
3274
|
-
|
3275
|
-
let inst = Inst::gen_move(Writable::from_reg(tmp_gpr2), src, types::I64);
|
3276
|
-
inst.emit(&[], sink, info, state);
|
3277
|
-
|
3278
|
-
let inst = Inst::alu_rmi_r(
|
3279
|
-
OperandSize::Size64,
|
3280
|
-
AluRmiROpcode::And,
|
3281
|
-
RegMemImm::imm(1),
|
3282
|
-
Writable::from_reg(tmp_gpr2),
|
3283
|
-
);
|
3284
|
-
inst.emit(&[], sink, info, state);
|
3285
|
-
|
3286
|
-
let inst = Inst::alu_rmi_r(
|
3287
|
-
OperandSize::Size64,
|
3288
|
-
AluRmiROpcode::Or,
|
3289
|
-
RegMemImm::reg(tmp_gpr1),
|
3290
|
-
Writable::from_reg(tmp_gpr2),
|
3291
|
-
);
|
3292
|
-
inst.emit(&[], sink, info, state);
|
3293
|
-
|
3294
|
-
emit_signed_cvt(
|
3295
|
-
sink,
|
3296
|
-
info,
|
3297
|
-
state,
|
3298
|
-
tmp_gpr2,
|
3299
|
-
Writable::from_reg(dst),
|
3300
|
-
*dst_size == OperandSize::Size64,
|
3301
|
-
);
|
3302
|
-
|
3303
|
-
let add_op = if *dst_size == OperandSize::Size64 {
|
3304
|
-
SseOpcode::Addsd
|
3305
|
-
} else {
|
3306
|
-
SseOpcode::Addss
|
3307
|
-
};
|
3308
|
-
let inst = Inst::xmm_rm_r(add_op, RegMem::reg(dst), Writable::from_reg(dst));
|
3309
|
-
inst.emit(&[], sink, info, state);
|
3310
|
-
|
3311
|
-
sink.bind_label(done, state.ctrl_plane_mut());
|
3312
|
-
}
|
3313
|
-
|
3314
|
-
Inst::CvtFloatToSintSeq {
|
3315
|
-
src_size,
|
3316
|
-
dst_size,
|
3317
|
-
is_saturating,
|
3318
|
-
src,
|
3319
|
-
dst,
|
3320
|
-
tmp_gpr,
|
3321
|
-
tmp_xmm,
|
3322
|
-
} => {
|
3323
|
-
let src = allocs.next(src.to_reg());
|
3324
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
3325
|
-
let tmp_gpr = allocs.next(tmp_gpr.to_reg().to_reg());
|
3326
|
-
let tmp_xmm = allocs.next(tmp_xmm.to_reg().to_reg());
|
3327
|
-
|
3328
|
-
// Emits the following common sequence:
|
3329
|
-
//
|
3330
|
-
// cvttss2si/cvttsd2si %src, %dst
|
3331
|
-
// cmp %dst, 1
|
3332
|
-
// jno done
|
3333
|
-
//
|
3334
|
-
// Then, for saturating conversions:
|
3335
|
-
//
|
3336
|
-
// ;; check for NaN
|
3337
|
-
// cmpss/cmpsd %src, %src
|
3338
|
-
// jnp not_nan
|
3339
|
-
// xor %dst, %dst
|
3340
|
-
//
|
3341
|
-
// ;; positive inputs get saturated to INT_MAX; negative ones to INT_MIN, which is
|
3342
|
-
// ;; already in %dst.
|
3343
|
-
// xorpd %tmp_xmm, %tmp_xmm
|
3344
|
-
// cmpss/cmpsd %src, %tmp_xmm
|
3345
|
-
// jnb done
|
3346
|
-
// mov/movaps $INT_MAX, %dst
|
3347
|
-
//
|
3348
|
-
// done:
|
3349
|
-
//
|
3350
|
-
// Then, for non-saturating conversions:
|
3351
|
-
//
|
3352
|
-
// ;; check for NaN
|
3353
|
-
// cmpss/cmpsd %src, %src
|
3354
|
-
// jnp not_nan
|
3355
|
-
// ud2 trap BadConversionToInteger
|
3356
|
-
//
|
3357
|
-
// ;; check if INT_MIN was the correct result, against a magic constant:
|
3358
|
-
// not_nan:
|
3359
|
-
// movaps/mov $magic, %tmp_gpr
|
3360
|
-
// movq/movd %tmp_gpr, %tmp_xmm
|
3361
|
-
// cmpss/cmpsd %tmp_xmm, %src
|
3362
|
-
// jnb/jnbe $check_positive
|
3363
|
-
// ud2 trap IntegerOverflow
|
3364
|
-
//
|
3365
|
-
// ;; if positive, it was a real overflow
|
3366
|
-
// check_positive:
|
3367
|
-
// xorpd %tmp_xmm, %tmp_xmm
|
3368
|
-
// cmpss/cmpsd %src, %tmp_xmm
|
3369
|
-
// jnb done
|
3370
|
-
// ud2 trap IntegerOverflow
|
3371
|
-
//
|
3372
|
-
// done:
|
3373
|
-
|
3374
|
-
let (cast_op, cmp_op, trunc_op) = match src_size {
|
3375
|
-
OperandSize::Size64 => (SseOpcode::Movq, SseOpcode::Ucomisd, SseOpcode::Cvttsd2si),
|
3376
|
-
OperandSize::Size32 => (SseOpcode::Movd, SseOpcode::Ucomiss, SseOpcode::Cvttss2si),
|
3377
|
-
_ => unreachable!(),
|
3378
|
-
};
|
3379
|
-
|
3380
|
-
let done = sink.get_label();
|
3381
|
-
|
3382
|
-
// The truncation.
|
3383
|
-
let inst = Inst::xmm_to_gpr(trunc_op, src, Writable::from_reg(dst), *dst_size);
|
3384
|
-
inst.emit(&[], sink, info, state);
|
3385
|
-
|
3386
|
-
// Compare against 1, in case of overflow the dst operand was INT_MIN.
|
3387
|
-
let inst = Inst::cmp_rmi_r(*dst_size, RegMemImm::imm(1), dst);
|
3388
|
-
inst.emit(&[], sink, info, state);
|
3389
|
-
|
3390
|
-
one_way_jmp(sink, CC::NO, done); // no overflow => done
|
3391
|
-
|
3392
|
-
// Check for NaN.
|
3393
|
-
|
3394
|
-
let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(src), src);
|
3395
|
-
inst.emit(&[], sink, info, state);
|
3396
|
-
|
3397
|
-
if *is_saturating {
|
3398
|
-
let not_nan = sink.get_label();
|
3399
|
-
one_way_jmp(sink, CC::NP, not_nan); // go to not_nan if not a NaN
|
3400
|
-
|
3401
|
-
// For NaN, emit 0.
|
3402
|
-
let inst = Inst::alu_rmi_r(
|
3403
|
-
*dst_size,
|
3404
|
-
AluRmiROpcode::Xor,
|
3405
|
-
RegMemImm::reg(dst),
|
3406
|
-
Writable::from_reg(dst),
|
3407
|
-
);
|
3408
|
-
inst.emit(&[], sink, info, state);
|
3409
|
-
|
3410
|
-
let inst = Inst::jmp_known(done);
|
3411
|
-
inst.emit(&[], sink, info, state);
|
3412
|
-
|
3413
|
-
sink.bind_label(not_nan, state.ctrl_plane_mut());
|
3414
|
-
|
3415
|
-
// If the input was positive, saturate to INT_MAX.
|
3416
|
-
|
3417
|
-
// Zero out tmp_xmm.
|
3418
|
-
let inst = Inst::xmm_rm_r(
|
3419
|
-
SseOpcode::Xorpd,
|
3420
|
-
RegMem::reg(tmp_xmm),
|
3421
|
-
Writable::from_reg(tmp_xmm),
|
3422
|
-
);
|
3423
|
-
inst.emit(&[], sink, info, state);
|
3424
|
-
|
3425
|
-
let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(src), tmp_xmm);
|
3426
|
-
inst.emit(&[], sink, info, state);
|
3427
|
-
|
3428
|
-
// Jump if >= to done.
|
3429
|
-
one_way_jmp(sink, CC::NB, done);
|
3430
|
-
|
3431
|
-
// Otherwise, put INT_MAX.
|
3432
|
-
if *dst_size == OperandSize::Size64 {
|
3433
|
-
let inst = Inst::imm(
|
3434
|
-
OperandSize::Size64,
|
3435
|
-
0x7fffffffffffffff,
|
3436
|
-
Writable::from_reg(dst),
|
3437
|
-
);
|
3438
|
-
inst.emit(&[], sink, info, state);
|
3439
|
-
} else {
|
3440
|
-
let inst = Inst::imm(OperandSize::Size32, 0x7fffffff, Writable::from_reg(dst));
|
3441
|
-
inst.emit(&[], sink, info, state);
|
3442
|
-
}
|
3443
|
-
} else {
|
3444
|
-
let inst = Inst::trap_if(CC::P, TrapCode::BadConversionToInteger);
|
3445
|
-
inst.emit(&[], sink, info, state);
|
3446
|
-
|
3447
|
-
// Check if INT_MIN was the correct result: determine the smallest floating point
|
3448
|
-
// number that would convert to INT_MIN, put it in a temporary register, and compare
|
3449
|
-
// against the src register.
|
3450
|
-
// If the src register is less (or in some cases, less-or-equal) than the threshold,
|
3451
|
-
// trap!
|
3452
|
-
|
3453
|
-
let mut no_overflow_cc = CC::NB; // >=
|
3454
|
-
let output_bits = dst_size.to_bits();
|
3455
|
-
match *src_size {
|
3456
|
-
OperandSize::Size32 => {
|
3457
|
-
let cst = Ieee32::pow2(output_bits - 1).neg().bits();
|
3458
|
-
let inst =
|
3459
|
-
Inst::imm(OperandSize::Size32, cst as u64, Writable::from_reg(tmp_gpr));
|
3460
|
-
inst.emit(&[], sink, info, state);
|
3461
|
-
}
|
3462
|
-
OperandSize::Size64 => {
|
3463
|
-
// An f64 can represent `i32::min_value() - 1` exactly with precision to spare,
|
3464
|
-
// so there are values less than -2^(N-1) that convert correctly to INT_MIN.
|
3465
|
-
let cst = if output_bits < 64 {
|
3466
|
-
no_overflow_cc = CC::NBE; // >
|
3467
|
-
Ieee64::fcvt_to_sint_negative_overflow(output_bits)
|
3468
|
-
} else {
|
3469
|
-
Ieee64::pow2(output_bits - 1).neg()
|
3470
|
-
};
|
3471
|
-
let inst =
|
3472
|
-
Inst::imm(OperandSize::Size64, cst.bits(), Writable::from_reg(tmp_gpr));
|
3473
|
-
inst.emit(&[], sink, info, state);
|
3474
|
-
}
|
3475
|
-
_ => unreachable!(),
|
3476
|
-
}
|
3477
|
-
|
3478
|
-
let inst = Inst::gpr_to_xmm(
|
3479
|
-
cast_op,
|
3480
|
-
RegMem::reg(tmp_gpr),
|
3481
|
-
*src_size,
|
3482
|
-
Writable::from_reg(tmp_xmm),
|
3483
|
-
);
|
3484
|
-
inst.emit(&[], sink, info, state);
|
3485
|
-
|
3486
|
-
let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(tmp_xmm), src);
|
3487
|
-
inst.emit(&[], sink, info, state);
|
3488
|
-
|
3489
|
-
// no trap if src >= or > threshold
|
3490
|
-
let inst = Inst::trap_if(no_overflow_cc.invert(), TrapCode::IntegerOverflow);
|
3491
|
-
inst.emit(&[], sink, info, state);
|
3492
|
-
|
3493
|
-
// If positive, it was a real overflow.
|
3494
|
-
|
3495
|
-
// Zero out the tmp_xmm register.
|
3496
|
-
let inst = Inst::xmm_rm_r(
|
3497
|
-
SseOpcode::Xorpd,
|
3498
|
-
RegMem::reg(tmp_xmm),
|
3499
|
-
Writable::from_reg(tmp_xmm),
|
3500
|
-
);
|
3501
|
-
inst.emit(&[], sink, info, state);
|
3502
|
-
|
3503
|
-
let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(src), tmp_xmm);
|
3504
|
-
inst.emit(&[], sink, info, state);
|
3505
|
-
|
3506
|
-
// no trap if 0 >= src
|
3507
|
-
let inst = Inst::trap_if(CC::B, TrapCode::IntegerOverflow);
|
3508
|
-
inst.emit(&[], sink, info, state);
|
3509
|
-
}
|
3510
|
-
|
3511
|
-
sink.bind_label(done, state.ctrl_plane_mut());
|
3512
|
-
}
|
3513
|
-
|
3514
|
-
Inst::CvtFloatToUintSeq {
|
3515
|
-
src_size,
|
3516
|
-
dst_size,
|
3517
|
-
is_saturating,
|
3518
|
-
src,
|
3519
|
-
dst,
|
3520
|
-
tmp_gpr,
|
3521
|
-
tmp_xmm,
|
3522
|
-
tmp_xmm2,
|
3523
|
-
} => {
|
3524
|
-
let src = allocs.next(src.to_reg());
|
3525
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
3526
|
-
let tmp_gpr = allocs.next(tmp_gpr.to_reg().to_reg());
|
3527
|
-
let tmp_xmm = allocs.next(tmp_xmm.to_reg().to_reg());
|
3528
|
-
let tmp_xmm2 = allocs.next(tmp_xmm2.to_reg().to_reg());
|
3529
|
-
|
3530
|
-
// The only difference in behavior between saturating and non-saturating is how we
|
3531
|
-
// handle errors. Emits the following sequence:
|
3532
|
-
//
|
3533
|
-
// movaps/mov 2**(int_width - 1), %tmp_gpr
|
3534
|
-
// movq/movd %tmp_gpr, %tmp_xmm
|
3535
|
-
// cmpss/cmpsd %tmp_xmm, %src
|
3536
|
-
// jnb is_large
|
3537
|
-
//
|
3538
|
-
// ;; check for NaN inputs
|
3539
|
-
// jnp not_nan
|
3540
|
-
// -- non-saturating: ud2 trap BadConversionToInteger
|
3541
|
-
// -- saturating: xor %dst, %dst; j done
|
3542
|
-
//
|
3543
|
-
// not_nan:
|
3544
|
-
// cvttss2si/cvttsd2si %src, %dst
|
3545
|
-
// cmp 0, %dst
|
3546
|
-
// jnl done
|
3547
|
-
// -- non-saturating: ud2 trap IntegerOverflow
|
3548
|
-
// -- saturating: xor %dst, %dst; j done
|
3549
|
-
//
|
3550
|
-
// is_large:
|
3551
|
-
// mov %src, %tmp_xmm2
|
3552
|
-
// subss/subsd %tmp_xmm, %tmp_xmm2
|
3553
|
-
// cvttss2si/cvttss2sd %tmp_x, %dst
|
3554
|
-
// cmp 0, %dst
|
3555
|
-
// jnl next_is_large
|
3556
|
-
// -- non-saturating: ud2 trap IntegerOverflow
|
3557
|
-
// -- saturating: movaps $UINT_MAX, %dst; j done
|
3558
|
-
//
|
3559
|
-
// next_is_large:
|
3560
|
-
// add 2**(int_width -1), %dst ;; 2 instructions for 64-bits integers
|
3561
|
-
//
|
3562
|
-
// done:
|
3563
|
-
|
3564
|
-
assert_ne!(tmp_xmm, src, "tmp_xmm clobbers src!");
|
3565
|
-
|
3566
|
-
let (sub_op, cast_op, cmp_op, trunc_op) = match src_size {
|
3567
|
-
OperandSize::Size32 => (
|
3568
|
-
SseOpcode::Subss,
|
3569
|
-
SseOpcode::Movd,
|
3570
|
-
SseOpcode::Ucomiss,
|
3571
|
-
SseOpcode::Cvttss2si,
|
3572
|
-
),
|
3573
|
-
OperandSize::Size64 => (
|
3574
|
-
SseOpcode::Subsd,
|
3575
|
-
SseOpcode::Movq,
|
3576
|
-
SseOpcode::Ucomisd,
|
3577
|
-
SseOpcode::Cvttsd2si,
|
3578
|
-
),
|
3579
|
-
_ => unreachable!(),
|
3580
|
-
};
|
3581
|
-
|
3582
|
-
let done = sink.get_label();
|
3583
|
-
|
3584
|
-
let cst = match src_size {
|
3585
|
-
OperandSize::Size32 => Ieee32::pow2(dst_size.to_bits() - 1).bits() as u64,
|
3586
|
-
OperandSize::Size64 => Ieee64::pow2(dst_size.to_bits() - 1).bits(),
|
3587
|
-
_ => unreachable!(),
|
3588
|
-
};
|
3589
|
-
|
3590
|
-
let inst = Inst::imm(*src_size, cst, Writable::from_reg(tmp_gpr));
|
3591
|
-
inst.emit(&[], sink, info, state);
|
3592
|
-
|
3593
|
-
let inst = Inst::gpr_to_xmm(
|
3594
|
-
cast_op,
|
3595
|
-
RegMem::reg(tmp_gpr),
|
3596
|
-
*src_size,
|
3597
|
-
Writable::from_reg(tmp_xmm),
|
3598
|
-
);
|
3599
|
-
inst.emit(&[], sink, info, state);
|
3600
|
-
|
3601
|
-
let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(tmp_xmm), src);
|
3602
|
-
inst.emit(&[], sink, info, state);
|
3603
|
-
|
3604
|
-
let handle_large = sink.get_label();
|
3605
|
-
one_way_jmp(sink, CC::NB, handle_large); // jump to handle_large if src >= large_threshold
|
3606
|
-
|
3607
|
-
if *is_saturating {
|
3608
|
-
// If not NaN jump over this 0-return, otherwise return 0
|
3609
|
-
let not_nan = sink.get_label();
|
3610
|
-
one_way_jmp(sink, CC::NP, not_nan);
|
3611
|
-
let inst = Inst::alu_rmi_r(
|
3612
|
-
*dst_size,
|
3613
|
-
AluRmiROpcode::Xor,
|
3614
|
-
RegMemImm::reg(dst),
|
3615
|
-
Writable::from_reg(dst),
|
3616
|
-
);
|
3617
|
-
inst.emit(&[], sink, info, state);
|
3618
|
-
|
3619
|
-
let inst = Inst::jmp_known(done);
|
3620
|
-
inst.emit(&[], sink, info, state);
|
3621
|
-
sink.bind_label(not_nan, state.ctrl_plane_mut());
|
3622
|
-
} else {
|
3623
|
-
// Trap.
|
3624
|
-
let inst = Inst::trap_if(CC::P, TrapCode::BadConversionToInteger);
|
3625
|
-
inst.emit(&[], sink, info, state);
|
3626
|
-
}
|
3627
|
-
|
3628
|
-
// Actual truncation for small inputs: if the result is not positive, then we had an
|
3629
|
-
// overflow.
|
3630
|
-
|
3631
|
-
let inst = Inst::xmm_to_gpr(trunc_op, src, Writable::from_reg(dst), *dst_size);
|
3632
|
-
inst.emit(&[], sink, info, state);
|
3633
|
-
|
3634
|
-
let inst = Inst::cmp_rmi_r(*dst_size, RegMemImm::imm(0), dst);
|
3635
|
-
inst.emit(&[], sink, info, state);
|
3636
|
-
|
3637
|
-
one_way_jmp(sink, CC::NL, done); // if dst >= 0, jump to done
|
3638
|
-
|
3639
|
-
if *is_saturating {
|
3640
|
-
// The input was "small" (< 2**(width -1)), so the only way to get an integer
|
3641
|
-
// overflow is because the input was too small: saturate to the min value, i.e. 0.
|
3642
|
-
let inst = Inst::alu_rmi_r(
|
3643
|
-
*dst_size,
|
3644
|
-
AluRmiROpcode::Xor,
|
3645
|
-
RegMemImm::reg(dst),
|
3646
|
-
Writable::from_reg(dst),
|
3647
|
-
);
|
3648
|
-
inst.emit(&[], sink, info, state);
|
3649
|
-
|
3650
|
-
let inst = Inst::jmp_known(done);
|
3651
|
-
inst.emit(&[], sink, info, state);
|
3652
|
-
} else {
|
3653
|
-
// Trap.
|
3654
|
-
let inst = Inst::trap(TrapCode::IntegerOverflow);
|
3655
|
-
inst.emit(&[], sink, info, state);
|
3656
|
-
}
|
3657
|
-
|
3658
|
-
// Now handle large inputs.
|
3659
|
-
|
3660
|
-
sink.bind_label(handle_large, state.ctrl_plane_mut());
|
3661
|
-
|
3662
|
-
let inst = Inst::gen_move(Writable::from_reg(tmp_xmm2), src, types::F64);
|
3663
|
-
inst.emit(&[], sink, info, state);
|
3664
|
-
|
3665
|
-
let inst = Inst::xmm_rm_r(sub_op, RegMem::reg(tmp_xmm), Writable::from_reg(tmp_xmm2));
|
3666
|
-
inst.emit(&[], sink, info, state);
|
3667
|
-
|
3668
|
-
let inst = Inst::xmm_to_gpr(trunc_op, tmp_xmm2, Writable::from_reg(dst), *dst_size);
|
3669
|
-
inst.emit(&[], sink, info, state);
|
3670
|
-
|
3671
|
-
let inst = Inst::cmp_rmi_r(*dst_size, RegMemImm::imm(0), dst);
|
3672
|
-
inst.emit(&[], sink, info, state);
|
3673
|
-
|
3674
|
-
if *is_saturating {
|
3675
|
-
let next_is_large = sink.get_label();
|
3676
|
-
one_way_jmp(sink, CC::NL, next_is_large); // if dst >= 0, jump to next_is_large
|
3677
|
-
|
3678
|
-
// The input was "large" (>= 2**(width -1)), so the only way to get an integer
|
3679
|
-
// overflow is because the input was too large: saturate to the max value.
|
3680
|
-
let inst = Inst::imm(
|
3681
|
-
OperandSize::Size64,
|
3682
|
-
if *dst_size == OperandSize::Size64 {
|
3683
|
-
u64::max_value()
|
3684
|
-
} else {
|
3685
|
-
u32::max_value() as u64
|
3686
|
-
},
|
3687
|
-
Writable::from_reg(dst),
|
3688
|
-
);
|
3689
|
-
inst.emit(&[], sink, info, state);
|
3690
|
-
|
3691
|
-
let inst = Inst::jmp_known(done);
|
3692
|
-
inst.emit(&[], sink, info, state);
|
3693
|
-
sink.bind_label(next_is_large, state.ctrl_plane_mut());
|
3694
|
-
} else {
|
3695
|
-
let inst = Inst::trap_if(CC::L, TrapCode::IntegerOverflow);
|
3696
|
-
inst.emit(&[], sink, info, state);
|
3697
|
-
}
|
3698
|
-
|
3699
|
-
if *dst_size == OperandSize::Size64 {
|
3700
|
-
let inst = Inst::imm(OperandSize::Size64, 1 << 63, Writable::from_reg(tmp_gpr));
|
3701
|
-
inst.emit(&[], sink, info, state);
|
3702
|
-
|
3703
|
-
let inst = Inst::alu_rmi_r(
|
3704
|
-
OperandSize::Size64,
|
3705
|
-
AluRmiROpcode::Add,
|
3706
|
-
RegMemImm::reg(tmp_gpr),
|
3707
|
-
Writable::from_reg(dst),
|
3708
|
-
);
|
3709
|
-
inst.emit(&[], sink, info, state);
|
3710
|
-
} else {
|
3711
|
-
let inst = Inst::alu_rmi_r(
|
3712
|
-
OperandSize::Size32,
|
3713
|
-
AluRmiROpcode::Add,
|
3714
|
-
RegMemImm::imm(1 << 31),
|
3715
|
-
Writable::from_reg(dst),
|
3716
|
-
);
|
3717
|
-
inst.emit(&[], sink, info, state);
|
3718
|
-
}
|
3719
|
-
|
3720
|
-
sink.bind_label(done, state.ctrl_plane_mut());
|
3721
|
-
}
|
3722
|
-
|
3723
|
-
Inst::LoadExtName {
|
3724
|
-
dst,
|
3725
|
-
name,
|
3726
|
-
offset,
|
3727
|
-
distance,
|
3728
|
-
} => {
|
3729
|
-
let dst = allocs.next(dst.to_reg());
|
3730
|
-
|
3731
|
-
if info.flags.is_pic() {
|
3732
|
-
// Generates: movq symbol@GOTPCREL(%rip), %dst
|
3733
|
-
let enc_dst = int_reg_enc(dst);
|
3734
|
-
sink.put1(0x48 | ((enc_dst >> 3) & 1) << 2);
|
3735
|
-
sink.put1(0x8B);
|
3736
|
-
sink.put1(0x05 | ((enc_dst & 7) << 3));
|
3737
|
-
emit_reloc(sink, Reloc::X86GOTPCRel4, name, -4);
|
3738
|
-
sink.put4(0);
|
3739
|
-
// Offset in the relocation above applies to the address of the *GOT entry*, not
|
3740
|
-
// the loaded address; so we emit a separate add or sub instruction if needed.
|
3741
|
-
if *offset < 0 {
|
3742
|
-
assert!(*offset >= -i32::MAX as i64);
|
3743
|
-
sink.put1(0x48 | ((enc_dst >> 3) & 1));
|
3744
|
-
sink.put1(0x81);
|
3745
|
-
sink.put1(0xe8 | (enc_dst & 7));
|
3746
|
-
sink.put4((-*offset) as u32);
|
3747
|
-
} else if *offset > 0 {
|
3748
|
-
assert!(*offset <= i32::MAX as i64);
|
3749
|
-
sink.put1(0x48 | ((enc_dst >> 3) & 1));
|
3750
|
-
sink.put1(0x81);
|
3751
|
-
sink.put1(0xc0 | (enc_dst & 7));
|
3752
|
-
sink.put4(*offset as u32);
|
3753
|
-
}
|
3754
|
-
} else if distance == &RelocDistance::Near {
|
3755
|
-
// If we know the distance to the name is within 2GB (e.g., a module-local function),
|
3756
|
-
// we can generate a RIP-relative address, with a relocation.
|
3757
|
-
// Generates: lea $name(%rip), $dst
|
3758
|
-
let enc_dst = int_reg_enc(dst);
|
3759
|
-
sink.put1(0x48 | ((enc_dst >> 3) & 1) << 2);
|
3760
|
-
sink.put1(0x8D);
|
3761
|
-
sink.put1(0x05 | ((enc_dst & 7) << 3));
|
3762
|
-
emit_reloc(sink, Reloc::X86CallPCRel4, name, -4);
|
3763
|
-
sink.put4(0);
|
3764
|
-
} else {
|
3765
|
-
// The full address can be encoded in the register, with a relocation.
|
3766
|
-
// Generates: movabsq $name, %dst
|
3767
|
-
let enc_dst = int_reg_enc(dst);
|
3768
|
-
sink.put1(0x48 | ((enc_dst >> 3) & 1));
|
3769
|
-
sink.put1(0xB8 | (enc_dst & 7));
|
3770
|
-
emit_reloc(sink, Reloc::Abs8, name, *offset);
|
3771
|
-
sink.put8(0);
|
3772
|
-
}
|
3773
|
-
}
|
3774
|
-
|
3775
|
-
Inst::LockCmpxchg {
|
3776
|
-
ty,
|
3777
|
-
replacement,
|
3778
|
-
expected,
|
3779
|
-
mem,
|
3780
|
-
dst_old,
|
3781
|
-
} => {
|
3782
|
-
let replacement = allocs.next(*replacement);
|
3783
|
-
let expected = allocs.next(*expected);
|
3784
|
-
let dst_old = allocs.next(dst_old.to_reg());
|
3785
|
-
let mem = mem.with_allocs(allocs);
|
3786
|
-
|
3787
|
-
debug_assert_eq!(expected, regs::rax());
|
3788
|
-
debug_assert_eq!(dst_old, regs::rax());
|
3789
|
-
|
3790
|
-
// lock cmpxchg{b,w,l,q} %replacement, (mem)
|
3791
|
-
// Note that 0xF0 is the Lock prefix.
|
3792
|
-
let (prefix, opcodes) = match *ty {
|
3793
|
-
types::I8 => (LegacyPrefixes::_F0, 0x0FB0),
|
3794
|
-
types::I16 => (LegacyPrefixes::_66F0, 0x0FB1),
|
3795
|
-
types::I32 => (LegacyPrefixes::_F0, 0x0FB1),
|
3796
|
-
types::I64 => (LegacyPrefixes::_F0, 0x0FB1),
|
3797
|
-
_ => unreachable!(),
|
3798
|
-
};
|
3799
|
-
let rex = RexFlags::from((OperandSize::from_ty(*ty), replacement));
|
3800
|
-
let amode = mem.finalize(state, sink);
|
3801
|
-
emit_std_reg_mem(sink, prefix, opcodes, 2, replacement, &amode, rex, 0);
|
3802
|
-
}
|
3803
|
-
|
3804
|
-
Inst::AtomicRmwSeq {
|
3805
|
-
ty,
|
3806
|
-
op,
|
3807
|
-
mem,
|
3808
|
-
operand,
|
3809
|
-
temp,
|
3810
|
-
dst_old,
|
3811
|
-
} => {
|
3812
|
-
let operand = allocs.next(*operand);
|
3813
|
-
let temp = allocs.next_writable(*temp);
|
3814
|
-
let dst_old = allocs.next_writable(*dst_old);
|
3815
|
-
debug_assert_eq!(dst_old.to_reg(), regs::rax());
|
3816
|
-
let mem = mem.finalize(state, sink).with_allocs(allocs);
|
3817
|
-
|
3818
|
-
// Emit this:
|
3819
|
-
// mov{zbq,zwq,zlq,q} (%r_address), %rax // rax = old value
|
3820
|
-
// again:
|
3821
|
-
// movq %rax, %r_temp // rax = old value, r_temp = old value
|
3822
|
-
// `op`q %r_operand, %r_temp // rax = old value, r_temp = new value
|
3823
|
-
// lock cmpxchg{b,w,l,q} %r_temp, (%r_address) // try to store new value
|
3824
|
-
// jnz again // If this is taken, rax will have a "revised" old value
|
3825
|
-
//
|
3826
|
-
// Operand conventions: IN: %r_address, %r_operand OUT: %rax (old
|
3827
|
-
// value), %r_temp (trashed), %rflags (trashed)
|
3828
|
-
//
|
3829
|
-
// In the case where the operation is 'xchg', the "`op`q"
|
3830
|
-
// instruction is instead: movq %r_operand,
|
3831
|
-
// %r_temp so that we simply write in the destination, the "2nd
|
3832
|
-
// arg for `op`".
|
3833
|
-
//
|
3834
|
-
// TODO: this sequence can be significantly improved (e.g., to `lock
|
3835
|
-
// <op>`) when it is known that `dst_old` is not used later, see
|
3836
|
-
// https://github.com/bytecodealliance/wasmtime/issues/2153.
|
3837
|
-
let again_label = sink.get_label();
|
3838
|
-
|
3839
|
-
// mov{zbq,zwq,zlq,q} (%r_address), %rax
|
3840
|
-
// No need to call `add_trap` here, since the `i1` emit will do that.
|
3841
|
-
let i1 = Inst::load(*ty, mem.clone(), dst_old, ExtKind::ZeroExtend);
|
3842
|
-
i1.emit(&[], sink, info, state);
|
3843
|
-
|
3844
|
-
// again:
|
3845
|
-
sink.bind_label(again_label, state.ctrl_plane_mut());
|
3846
|
-
|
3847
|
-
// movq %rax, %r_temp
|
3848
|
-
let i2 = Inst::mov_r_r(OperandSize::Size64, dst_old.to_reg(), temp);
|
3849
|
-
i2.emit(&[], sink, info, state);
|
3850
|
-
|
3851
|
-
let operand_rmi = RegMemImm::reg(operand);
|
3852
|
-
use inst_common::MachAtomicRmwOp as RmwOp;
|
3853
|
-
match op {
|
3854
|
-
RmwOp::Xchg => {
|
3855
|
-
// movq %r_operand, %r_temp
|
3856
|
-
let i3 = Inst::mov_r_r(OperandSize::Size64, operand, temp);
|
3857
|
-
i3.emit(&[], sink, info, state);
|
3858
|
-
}
|
3859
|
-
RmwOp::Nand => {
|
3860
|
-
// andq %r_operand, %r_temp
|
3861
|
-
let i3 =
|
3862
|
-
Inst::alu_rmi_r(OperandSize::Size64, AluRmiROpcode::And, operand_rmi, temp);
|
3863
|
-
i3.emit(&[], sink, info, state);
|
3864
|
-
|
3865
|
-
// notq %r_temp
|
3866
|
-
let i4 = Inst::not(OperandSize::Size64, temp);
|
3867
|
-
i4.emit(&[], sink, info, state);
|
3868
|
-
}
|
3869
|
-
RmwOp::Umin | RmwOp::Umax | RmwOp::Smin | RmwOp::Smax => {
|
3870
|
-
// cmp %r_temp, %r_operand
|
3871
|
-
let i3 = Inst::cmp_rmi_r(
|
3872
|
-
OperandSize::from_ty(*ty),
|
3873
|
-
RegMemImm::reg(temp.to_reg()),
|
3874
|
-
operand,
|
3875
|
-
);
|
3876
|
-
i3.emit(&[], sink, info, state);
|
3877
|
-
|
3878
|
-
// cmovcc %r_operand, %r_temp
|
3879
|
-
let cc = match op {
|
3880
|
-
RmwOp::Umin => CC::BE,
|
3881
|
-
RmwOp::Umax => CC::NB,
|
3882
|
-
RmwOp::Smin => CC::LE,
|
3883
|
-
RmwOp::Smax => CC::NL,
|
3884
|
-
_ => unreachable!(),
|
3885
|
-
};
|
3886
|
-
let i4 = Inst::cmove(OperandSize::Size64, cc, RegMem::reg(operand), temp);
|
3887
|
-
i4.emit(&[], sink, info, state);
|
3888
|
-
}
|
3889
|
-
_ => {
|
3890
|
-
// opq %r_operand, %r_temp
|
3891
|
-
let alu_op = match op {
|
3892
|
-
RmwOp::Add => AluRmiROpcode::Add,
|
3893
|
-
RmwOp::Sub => AluRmiROpcode::Sub,
|
3894
|
-
RmwOp::And => AluRmiROpcode::And,
|
3895
|
-
RmwOp::Or => AluRmiROpcode::Or,
|
3896
|
-
RmwOp::Xor => AluRmiROpcode::Xor,
|
3897
|
-
RmwOp::Xchg
|
3898
|
-
| RmwOp::Nand
|
3899
|
-
| RmwOp::Umin
|
3900
|
-
| RmwOp::Umax
|
3901
|
-
| RmwOp::Smin
|
3902
|
-
| RmwOp::Smax => unreachable!(),
|
3903
|
-
};
|
3904
|
-
let i3 = Inst::alu_rmi_r(OperandSize::Size64, alu_op, operand_rmi, temp);
|
3905
|
-
i3.emit(&[], sink, info, state);
|
3906
|
-
}
|
3907
|
-
}
|
3908
|
-
|
3909
|
-
// lock cmpxchg{b,w,l,q} %r_temp, (%r_address)
|
3910
|
-
// No need to call `add_trap` here, since the `i4` emit will do that.
|
3911
|
-
let i4 = Inst::LockCmpxchg {
|
3912
|
-
ty: *ty,
|
3913
|
-
replacement: temp.to_reg(),
|
3914
|
-
expected: dst_old.to_reg(),
|
3915
|
-
mem: mem.into(),
|
3916
|
-
dst_old,
|
3917
|
-
};
|
3918
|
-
i4.emit(&[], sink, info, state);
|
3919
|
-
|
3920
|
-
// jnz again
|
3921
|
-
one_way_jmp(sink, CC::NZ, again_label);
|
3922
|
-
}
|
3923
|
-
|
3924
|
-
Inst::Fence { kind } => {
|
3925
|
-
sink.put1(0x0F);
|
3926
|
-
sink.put1(0xAE);
|
3927
|
-
match kind {
|
3928
|
-
FenceKind::MFence => sink.put1(0xF0), // mfence = 0F AE F0
|
3929
|
-
FenceKind::LFence => sink.put1(0xE8), // lfence = 0F AE E8
|
3930
|
-
FenceKind::SFence => sink.put1(0xF8), // sfence = 0F AE F8
|
3931
|
-
}
|
3932
|
-
}
|
3933
|
-
|
3934
|
-
Inst::Hlt => {
|
3935
|
-
sink.put1(0xcc);
|
3936
|
-
}
|
3937
|
-
|
3938
|
-
Inst::Ud2 { trap_code } => {
|
3939
|
-
sink.add_trap(*trap_code);
|
3940
|
-
if let Some(s) = state.take_stack_map() {
|
3941
|
-
sink.add_stack_map(StackMapExtent::UpcomingBytes(2), s);
|
3942
|
-
}
|
3943
|
-
sink.put_data(Inst::TRAP_OPCODE);
|
3944
|
-
}
|
3945
|
-
|
3946
|
-
Inst::VirtualSPOffsetAdj { offset } => {
|
3947
|
-
state.adjust_virtual_sp_offset(*offset);
|
3948
|
-
}
|
3949
|
-
|
3950
|
-
Inst::Nop { len } => {
|
3951
|
-
// These encodings can all be found in Intel's architecture manual, at the NOP
|
3952
|
-
// instruction description.
|
3953
|
-
let mut len = *len;
|
3954
|
-
while len != 0 {
|
3955
|
-
let emitted = u8::min(len, 9);
|
3956
|
-
match emitted {
|
3957
|
-
0 => {}
|
3958
|
-
1 => sink.put1(0x90), // NOP
|
3959
|
-
2 => {
|
3960
|
-
// 66 NOP
|
3961
|
-
sink.put1(0x66);
|
3962
|
-
sink.put1(0x90);
|
3963
|
-
}
|
3964
|
-
3 => {
|
3965
|
-
// NOP [EAX]
|
3966
|
-
sink.put1(0x0F);
|
3967
|
-
sink.put1(0x1F);
|
3968
|
-
sink.put1(0x00);
|
3969
|
-
}
|
3970
|
-
4 => {
|
3971
|
-
// NOP 0(EAX), with 0 a 1-byte immediate.
|
3972
|
-
sink.put1(0x0F);
|
3973
|
-
sink.put1(0x1F);
|
3974
|
-
sink.put1(0x40);
|
3975
|
-
sink.put1(0x00);
|
3976
|
-
}
|
3977
|
-
5 => {
|
3978
|
-
// NOP [EAX, EAX, 1]
|
3979
|
-
sink.put1(0x0F);
|
3980
|
-
sink.put1(0x1F);
|
3981
|
-
sink.put1(0x44);
|
3982
|
-
sink.put1(0x00);
|
3983
|
-
sink.put1(0x00);
|
3984
|
-
}
|
3985
|
-
6 => {
|
3986
|
-
// 66 NOP [EAX, EAX, 1]
|
3987
|
-
sink.put1(0x66);
|
3988
|
-
sink.put1(0x0F);
|
3989
|
-
sink.put1(0x1F);
|
3990
|
-
sink.put1(0x44);
|
3991
|
-
sink.put1(0x00);
|
3992
|
-
sink.put1(0x00);
|
3993
|
-
}
|
3994
|
-
7 => {
|
3995
|
-
// NOP 0[EAX], but 0 is a 4 bytes immediate.
|
3996
|
-
sink.put1(0x0F);
|
3997
|
-
sink.put1(0x1F);
|
3998
|
-
sink.put1(0x80);
|
3999
|
-
sink.put1(0x00);
|
4000
|
-
sink.put1(0x00);
|
4001
|
-
sink.put1(0x00);
|
4002
|
-
sink.put1(0x00);
|
4003
|
-
}
|
4004
|
-
8 => {
|
4005
|
-
// NOP 0[EAX, EAX, 1], with 0 a 4 bytes immediate.
|
4006
|
-
sink.put1(0x0F);
|
4007
|
-
sink.put1(0x1F);
|
4008
|
-
sink.put1(0x84);
|
4009
|
-
sink.put1(0x00);
|
4010
|
-
sink.put1(0x00);
|
4011
|
-
sink.put1(0x00);
|
4012
|
-
sink.put1(0x00);
|
4013
|
-
sink.put1(0x00);
|
4014
|
-
}
|
4015
|
-
9 => {
|
4016
|
-
// 66 NOP 0[EAX, EAX, 1], with 0 a 4 bytes immediate.
|
4017
|
-
sink.put1(0x66);
|
4018
|
-
sink.put1(0x0F);
|
4019
|
-
sink.put1(0x1F);
|
4020
|
-
sink.put1(0x84);
|
4021
|
-
sink.put1(0x00);
|
4022
|
-
sink.put1(0x00);
|
4023
|
-
sink.put1(0x00);
|
4024
|
-
sink.put1(0x00);
|
4025
|
-
sink.put1(0x00);
|
4026
|
-
}
|
4027
|
-
_ => unreachable!(),
|
4028
|
-
}
|
4029
|
-
len -= emitted;
|
4030
|
-
}
|
4031
|
-
}
|
4032
|
-
|
4033
|
-
Inst::ElfTlsGetAddr { ref symbol, dst } => {
|
4034
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
4035
|
-
debug_assert_eq!(dst, regs::rax());
|
4036
|
-
|
4037
|
-
// N.B.: Must be exactly this byte sequence; the linker requires it,
|
4038
|
-
// because it must know how to rewrite the bytes.
|
4039
|
-
|
4040
|
-
// data16 lea gv@tlsgd(%rip),%rdi
|
4041
|
-
sink.put1(0x66); // data16
|
4042
|
-
sink.put1(0b01001000); // REX.W
|
4043
|
-
sink.put1(0x8d); // LEA
|
4044
|
-
sink.put1(0x3d); // ModRM byte
|
4045
|
-
emit_reloc(sink, Reloc::ElfX86_64TlsGd, symbol, -4);
|
4046
|
-
sink.put4(0); // offset
|
4047
|
-
|
4048
|
-
// data16 data16 callq __tls_get_addr-4
|
4049
|
-
sink.put1(0x66); // data16
|
4050
|
-
sink.put1(0x66); // data16
|
4051
|
-
sink.put1(0b01001000); // REX.W
|
4052
|
-
sink.put1(0xe8); // CALL
|
4053
|
-
emit_reloc(
|
4054
|
-
sink,
|
4055
|
-
Reloc::X86CallPLTRel4,
|
4056
|
-
&ExternalName::LibCall(LibCall::ElfTlsGetAddr),
|
4057
|
-
-4,
|
4058
|
-
);
|
4059
|
-
sink.put4(0); // offset
|
4060
|
-
}
|
4061
|
-
|
4062
|
-
Inst::MachOTlsGetAddr { ref symbol, dst } => {
|
4063
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
4064
|
-
debug_assert_eq!(dst, regs::rax());
|
4065
|
-
|
4066
|
-
// movq gv@tlv(%rip), %rdi
|
4067
|
-
sink.put1(0x48); // REX.w
|
4068
|
-
sink.put1(0x8b); // MOV
|
4069
|
-
sink.put1(0x3d); // ModRM byte
|
4070
|
-
emit_reloc(sink, Reloc::MachOX86_64Tlv, symbol, -4);
|
4071
|
-
sink.put4(0); // offset
|
4072
|
-
|
4073
|
-
// callq *(%rdi)
|
4074
|
-
sink.put1(0xff);
|
4075
|
-
sink.put1(0x17);
|
4076
|
-
}
|
4077
|
-
|
4078
|
-
Inst::CoffTlsGetAddr {
|
4079
|
-
ref symbol,
|
4080
|
-
dst,
|
4081
|
-
tmp,
|
4082
|
-
} => {
|
4083
|
-
let dst = allocs.next(dst.to_reg().to_reg());
|
4084
|
-
debug_assert_eq!(dst, regs::rax());
|
4085
|
-
|
4086
|
-
// tmp is used below directly as %rcx
|
4087
|
-
let tmp = allocs.next(tmp.to_reg().to_reg());
|
4088
|
-
debug_assert_eq!(tmp, regs::rcx());
|
4089
|
-
|
4090
|
-
// See: https://gcc.godbolt.org/z/M8or9x6ss
|
4091
|
-
// And: https://github.com/bjorn3/rustc_codegen_cranelift/issues/388#issuecomment-532930282
|
4092
|
-
|
4093
|
-
// Emit the following sequence
|
4094
|
-
// movl (%rip), %eax ; IMAGE_REL_AMD64_REL32 _tls_index
|
4095
|
-
// movq %gs:88, %rcx
|
4096
|
-
// movq (%rcx,%rax,8), %rax
|
4097
|
-
// leaq (%rax), %rax ; Reloc: IMAGE_REL_AMD64_SECREL symbol
|
4098
|
-
|
4099
|
-
// Load TLS index for current thread
|
4100
|
-
// movl (%rip), %eax
|
4101
|
-
sink.put1(0x8b); // mov
|
4102
|
-
sink.put1(0x05);
|
4103
|
-
emit_reloc(
|
4104
|
-
sink,
|
4105
|
-
Reloc::X86PCRel4,
|
4106
|
-
&ExternalName::KnownSymbol(KnownSymbol::CoffTlsIndex),
|
4107
|
-
-4,
|
4108
|
-
);
|
4109
|
-
sink.put4(0); // offset
|
4110
|
-
|
4111
|
-
// movq %gs:88, %rcx
|
4112
|
-
// Load the TLS Storage Array pointer
|
4113
|
-
// The gs segment register refers to the base address of the TEB on x64.
|
4114
|
-
// 0x58 is the offset in the TEB for the ThreadLocalStoragePointer member on x64:
|
4115
|
-
sink.put_data(&[
|
4116
|
-
0x65, 0x48, // REX.W
|
4117
|
-
0x8b, // MOV
|
4118
|
-
0x0c, 0x25, 0x58, // 0x58 - ThreadLocalStoragePointer offset
|
4119
|
-
0x00, 0x00, 0x00,
|
4120
|
-
]);
|
4121
|
-
|
4122
|
-
// movq (%rcx,%rax,8), %rax
|
4123
|
-
// Load the actual TLS entry for this thread.
|
4124
|
-
// Computes ThreadLocalStoragePointer + _tls_index*8
|
4125
|
-
sink.put_data(&[0x48, 0x8b, 0x04, 0xc1]);
|
4126
|
-
|
4127
|
-
// leaq (%rax), %rax
|
4128
|
-
sink.put1(0x48);
|
4129
|
-
sink.put1(0x8d);
|
4130
|
-
sink.put1(0x80);
|
4131
|
-
emit_reloc(sink, Reloc::X86SecRel, symbol, 0);
|
4132
|
-
sink.put4(0); // offset
|
4133
|
-
}
|
4134
|
-
|
4135
|
-
Inst::Unwind { ref inst } => {
|
4136
|
-
sink.add_unwind(inst.clone());
|
4137
|
-
}
|
4138
|
-
|
4139
|
-
Inst::DummyUse { .. } => {
|
4140
|
-
// Nothing.
|
4141
|
-
}
|
4142
|
-
}
|
4143
|
-
|
4144
|
-
state.clear_post_insn();
|
4145
|
-
}
|
4146
|
-
|
4147
|
-
/// Emit the common sequence used for both direct and indirect tail calls:
|
4148
|
-
///
|
4149
|
-
/// * Copy the new frame's stack arguments over the top of our current frame.
|
4150
|
-
///
|
4151
|
-
/// * Restore the old frame pointer.
|
4152
|
-
///
|
4153
|
-
/// * Initialize the tail callee's stack pointer (simultaneously deallocating
|
4154
|
-
/// the temporary stack space we allocated when creating the new frame's stack
|
4155
|
-
/// arguments).
|
4156
|
-
///
|
4157
|
-
/// * Move the return address into its stack slot.
|
4158
|
-
fn emit_return_call_common_sequence(
|
4159
|
-
allocs: &mut AllocationConsumer<'_>,
|
4160
|
-
sink: &mut MachBuffer<Inst>,
|
4161
|
-
info: &EmitInfo,
|
4162
|
-
state: &mut EmitState,
|
4163
|
-
new_stack_arg_size: u32,
|
4164
|
-
old_stack_arg_size: u32,
|
4165
|
-
ret_addr: Option<Gpr>,
|
4166
|
-
fp: Gpr,
|
4167
|
-
tmp: WritableGpr,
|
4168
|
-
uses: &CallArgList,
|
4169
|
-
) {
|
4170
|
-
assert!(
|
4171
|
-
info.flags.preserve_frame_pointers(),
|
4172
|
-
"frame pointers aren't fundamentally required for tail calls, \
|
4173
|
-
but the current implementation relies on them being present"
|
4174
|
-
);
|
4175
|
-
|
4176
|
-
for u in uses {
|
4177
|
-
let _ = allocs.next(u.vreg);
|
4178
|
-
}
|
4179
|
-
|
4180
|
-
let ret_addr = ret_addr.map(|r| Gpr::new(allocs.next(*r)).unwrap());
|
4181
|
-
|
4182
|
-
let fp = allocs.next(*fp);
|
4183
|
-
|
4184
|
-
let tmp = allocs.next(tmp.to_reg().to_reg());
|
4185
|
-
let tmp = Gpr::new(tmp).unwrap();
|
4186
|
-
let tmp_w = WritableGpr::from_reg(tmp);
|
4187
|
-
|
4188
|
-
// Copy the new frame (which is `frame_size` bytes above the SP)
|
4189
|
-
// onto our current frame, using only volatile, non-argument
|
4190
|
-
// registers.
|
4191
|
-
//
|
4192
|
-
//
|
4193
|
-
// The current stack layout is the following:
|
4194
|
-
//
|
4195
|
-
// | ... |
|
4196
|
-
// +---------------------+
|
4197
|
-
// | ... |
|
4198
|
-
// | stack arguments |
|
4199
|
-
// | ... |
|
4200
|
-
// current | return address |
|
4201
|
-
// frame | old FP | <-- FP
|
4202
|
-
// | ... |
|
4203
|
-
// | old stack slots |
|
4204
|
-
// | ... |
|
4205
|
-
// +---------------------+
|
4206
|
-
// | ... |
|
4207
|
-
// new | new stack arguments |
|
4208
|
-
// frame | ... | <-- SP
|
4209
|
-
// +---------------------+
|
4210
|
-
//
|
4211
|
-
// We need to restore the old FP, copy the new stack arguments over the old
|
4212
|
-
// stack arguments, write the return address into the correct slot just
|
4213
|
-
// after the new stack arguments, adjust SP to point to the new return
|
4214
|
-
// address, and then jump to the callee (which will push the old FP again).
|
4215
|
-
|
4216
|
-
// Restore the old FP into `rbp`.
|
4217
|
-
Inst::Mov64MR {
|
4218
|
-
src: SyntheticAmode::Real(Amode::ImmReg {
|
4219
|
-
simm32: 0,
|
4220
|
-
base: fp,
|
4221
|
-
flags: MemFlags::trusted(),
|
4222
|
-
}),
|
4223
|
-
dst: Writable::from_reg(Gpr::new(regs::rbp()).unwrap()),
|
4224
|
-
}
|
4225
|
-
.emit(&[], sink, info, state);
|
4226
|
-
|
4227
|
-
// The new lowest address (top of stack) -- relative to FP -- for
|
4228
|
-
// our tail callee. We compute this now so that we can move our
|
4229
|
-
// stack arguments into place.
|
4230
|
-
let callee_sp_relative_to_fp = old_stack_arg_size.wrapping_sub(new_stack_arg_size);
|
4231
|
-
|
4232
|
-
// Copy over each word, using `tmp` as a temporary register.
|
4233
|
-
//
|
4234
|
-
// Note that we have to do this from stack slots with the highest
|
4235
|
-
// address to lowest address because in the case of when the tail
|
4236
|
-
// callee has more stack arguments than we do, we might otherwise
|
4237
|
-
// overwrite some of our stack arguments before they've been copied
|
4238
|
-
// into place.
|
4239
|
-
assert_eq!(
|
4240
|
-
new_stack_arg_size % 8,
|
4241
|
-
0,
|
4242
|
-
"stack argument space sizes should always be 8-byte aligned"
|
4243
|
-
);
|
4244
|
-
for i in (0..new_stack_arg_size / 8).rev() {
|
4245
|
-
Inst::Mov64MR {
|
4246
|
-
src: SyntheticAmode::Real(Amode::ImmReg {
|
4247
|
-
simm32: i * 8,
|
4248
|
-
base: regs::rsp(),
|
4249
|
-
flags: MemFlags::trusted(),
|
4250
|
-
}),
|
4251
|
-
dst: tmp_w,
|
4252
|
-
}
|
4253
|
-
.emit(&[], sink, info, state);
|
4254
|
-
Inst::MovRM {
|
4255
|
-
size: OperandSize::Size64,
|
4256
|
-
src: tmp,
|
4257
|
-
dst: SyntheticAmode::Real(Amode::ImmReg {
|
4258
|
-
// Add 2 because we need to skip over the old FP and the
|
4259
|
-
// return address.
|
4260
|
-
simm32: callee_sp_relative_to_fp.wrapping_add((i + 2) * 8),
|
4261
|
-
base: fp,
|
4262
|
-
flags: MemFlags::trusted(),
|
4263
|
-
}),
|
4264
|
-
}
|
4265
|
-
.emit(&[], sink, info, state);
|
4266
|
-
}
|
4267
|
-
|
4268
|
-
// Initialize SP for the tail callee, deallocating the temporary
|
4269
|
-
// stack arguments space at the same time.
|
4270
|
-
Inst::LoadEffectiveAddress {
|
4271
|
-
size: OperandSize::Size64,
|
4272
|
-
addr: SyntheticAmode::Real(Amode::ImmReg {
|
4273
|
-
// NB: We add a word to `callee_sp_relative_to_fp` here because the
|
4274
|
-
// callee will push FP, not us.
|
4275
|
-
simm32: callee_sp_relative_to_fp.wrapping_add(8),
|
4276
|
-
base: fp,
|
4277
|
-
flags: MemFlags::trusted(),
|
4278
|
-
}),
|
4279
|
-
dst: Writable::from_reg(Gpr::new(regs::rsp()).unwrap()),
|
4280
|
-
}
|
4281
|
-
.emit(&[], sink, info, state);
|
4282
|
-
|
4283
|
-
state.adjust_virtual_sp_offset(-i64::from(new_stack_arg_size));
|
4284
|
-
|
4285
|
-
// Write the return address into the correct stack slot.
|
4286
|
-
if let Some(ret_addr) = ret_addr {
|
4287
|
-
Inst::MovRM {
|
4288
|
-
size: OperandSize::Size64,
|
4289
|
-
src: ret_addr,
|
4290
|
-
dst: SyntheticAmode::Real(Amode::ImmReg {
|
4291
|
-
simm32: 0,
|
4292
|
-
base: regs::rsp(),
|
4293
|
-
flags: MemFlags::trusted(),
|
4294
|
-
}),
|
4295
|
-
}
|
4296
|
-
.emit(&[], sink, info, state);
|
4297
|
-
}
|
4298
|
-
}
|