wasmtime 9.0.4 → 10.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +184 -101
- data/ext/Cargo.toml +6 -6
- data/ext/build.rs +2 -2
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.97.1/Cargo.toml +31 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/Cargo.toml +158 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/benches/x64-evex-encoding.rs +52 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/ir/trapcode.rs +144 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/abi.rs +1294 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit.rs +3684 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit_tests.rs +7895 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/imms.rs +1210 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/mod.rs +2966 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst.isle +4037 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower/isle.rs +816 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower.isle +2906 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/mod.rs +238 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/mod.rs +424 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/abi.rs +825 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/args.rs +1812 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit.rs +3008 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit_tests.rs +2338 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/encode.rs +262 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/imms.rs +250 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/mod.rs +1963 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/regs.rs +223 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/unwind/systemv.rs +174 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/vector.rs +669 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst.isle +2915 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst_vector.isle +760 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower/isle.rs +553 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower.isle +1409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/mod.rs +216 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/abi.rs +957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit.rs +3707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit_tests.rs +13409 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/mod.rs +3426 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst.isle +5046 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/lower.isle +3991 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/mod.rs +213 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/abi.rs +985 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/evex.rs +749 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/rex.rs +588 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/vex.rs +492 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/args.rs +2193 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit.rs +4090 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit_tests.rs +5674 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/mod.rs +2667 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst.isle +5104 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower/isle.rs +1148 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.isle +4481 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.rs +328 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/mod.rs +251 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isle_prelude.rs +862 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/abi.rs +2455 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/buffer.rs +2277 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/compile.rs +92 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/isle.rs +827 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/lower.rs +1388 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/mod.rs +549 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/reg.rs +537 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/vcode.rs +1580 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude.isle +578 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude_lower.isle +1012 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/settings.rs +600 -0
- data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/verifier/mod.rs +1884 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/Cargo.toml +23 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/isa/x86.rs +444 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/shared/settings.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/chaos.rs +125 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/lib.rs +45 -0
- data/ext/cargo-vendor/cranelift-control-0.97.1/src/zero_sized.rs +53 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-entity-0.97.1/src/list.rs +955 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.97.1/Cargo.toml +53 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.97.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/Cargo.toml +38 -0
- data/ext/cargo-vendor/cranelift-native-0.97.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/Cargo.toml +85 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/code_translator.rs +3538 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/dummy.rs +924 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/spec.rs +834 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/func_translator.rs +440 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/sections_translator.rs +417 -0
- data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/translation_utils.rs +99 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/CONTRIBUTING.md +48 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/COPYRIGHT +17 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Cargo.toml +84 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/Ideas.md +106 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-APACHE +202 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-WHATWG +26 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/README.md +827 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/ci/miri.sh +14 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Big5.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-JP.txt +12 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-KR.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/GBK.txt +16 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/IBM866.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-2022-JP.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-10.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-13.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-14.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-15.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-16.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-2.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-3.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-4.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-5.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-6.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-7.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8-I.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-R.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-U.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Shift_JIS.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16BE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16LE.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-8.txt +5 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/gb18030.txt +9 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/macintosh.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/replacement.txt +10 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1250.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1251.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1252.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1253.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1254.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1255.txt +8 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1256.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1257.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1258.txt +11 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-874.txt +7 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-mac-cyrillic.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-user-defined.txt +6 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/generate-encoding-data.py +2008 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/rustfmt.toml +1 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/ascii.rs +1546 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/big5.rs +427 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/data.rs +114378 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_jp.rs +469 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_kr.rs +442 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/gb18030.rs +767 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/handles.rs +1969 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/iso_2022_jp.rs +1068 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/lib.rs +6133 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/macros.rs +1622 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/mem.rs +3354 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/replacement.rs +104 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/shift_jis.rs +426 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/simd_funcs.rs +453 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/single_byte.rs +714 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in_ref.txt +19787 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out_ref.txt +14601 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out_ref.txt +17053 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in_ref.txt +23945 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out_ref.txt +23944 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out_ref.txt +7404 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out_ref.txt +7341 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in_ref.txt +8841 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in_ref.txt +11285 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out_ref.txt +7355 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_labels_names.rs +242 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/testing.rs +262 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_16.rs +472 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_8.rs +1629 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/variant.rs +400 -0
- data/ext/cargo-vendor/encoding_rs-0.8.32/src/x_user_defined.rs +249 -0
- data/ext/cargo-vendor/equivalent-1.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/equivalent-1.0.1/Cargo.toml +27 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/README.md +25 -0
- data/ext/cargo-vendor/equivalent-1.0.1/src/lib.rs +113 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +12 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +200 -0
- data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +323 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/CHANGELOG.md +475 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/Cargo.toml +131 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/README.md +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/bench.rs +331 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/benches/insert_unique_unchecked.rs +32 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/clippy.toml +1 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/mod.rs +6 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/helpers.rs +27 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/map.rs +731 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/mod.rs +4 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/raw.rs +231 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/set.rs +659 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_map.rs +125 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_set.rs +123 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/mod.rs +2 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/serde.rs +201 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/lib.rs +165 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/macros.rs +70 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/map.rs +8506 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/alloc.rs +86 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/bitmask.rs +133 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/generic.rs +157 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/mod.rs +3378 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/neon.rs +124 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/sse2.rs +149 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/rustc_entry.rs +630 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/scopeguard.rs +72 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/src/set.rs +2903 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/hasher.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/raw.rs +11 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/rayon.rs +535 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/serde.rs +65 -0
- data/ext/cargo-vendor/hashbrown-0.14.0/tests/set.rs +34 -0
- data/ext/cargo-vendor/indexmap-2.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/indexmap-2.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/indexmap-2.0.0/README.md +55 -0
- data/ext/cargo-vendor/indexmap-2.0.0/RELEASES.md +424 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/bench.rs +763 -0
- data/ext/cargo-vendor/indexmap-2.0.0/benches/faststring.rs +185 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/arbitrary.rs +77 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/lib.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/macros.rs +178 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core/raw.rs +217 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/core.rs +742 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/iter.rs +541 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/serde_seq.rs +138 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/slice.rs +471 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map/tests.rs +449 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/map.rs +1223 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/mutable_keys.rs +91 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/map.rs +679 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/mod.rs +27 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/set.rs +774 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/rustc.rs +158 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/serde.rs +151 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/iter.rs +543 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/slice.rs +278 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set/tests.rs +545 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/set.rs +1011 -0
- data/ext/cargo-vendor/indexmap-2.0.0/src/util.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/equivalent_trait.rs +53 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/macros_full_path.rs +19 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/quick.rs +579 -0
- data/ext/cargo-vendor/indexmap-2.0.0/tests/tests.rs +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/Cargo.toml +72 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/deny.toml +28 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/checker.rs +1089 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/fuzzing/func.rs +702 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/index.rs +268 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/data_structures.rs +857 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/liveranges.rs +961 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/merge.rs +368 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/mod.rs +150 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/moves.rs +1017 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/process.rs +1307 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/requirement.rs +174 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/spill.rs +165 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/stackmap.rs +79 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/lib.rs +1526 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/moves.rs +439 -0
- data/ext/cargo-vendor/regalloc2-0.9.2/src/serialize.rs +311 -0
- data/ext/cargo-vendor/semver-1.0.18/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/semver-1.0.18/Cargo.toml +47 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/semver-1.0.18/LICENSE-MIT +23 -0
- data/ext/cargo-vendor/semver-1.0.18/README.md +84 -0
- data/ext/cargo-vendor/semver-1.0.18/benches/parse.rs +24 -0
- data/ext/cargo-vendor/semver-1.0.18/build.rs +75 -0
- data/ext/cargo-vendor/semver-1.0.18/src/backport.rs +23 -0
- data/ext/cargo-vendor/semver-1.0.18/src/display.rs +165 -0
- data/ext/cargo-vendor/semver-1.0.18/src/error.rs +126 -0
- data/ext/cargo-vendor/semver-1.0.18/src/eval.rs +181 -0
- data/ext/cargo-vendor/semver-1.0.18/src/identifier.rs +422 -0
- data/ext/cargo-vendor/semver-1.0.18/src/impls.rs +156 -0
- data/ext/cargo-vendor/semver-1.0.18/src/lib.rs +533 -0
- data/ext/cargo-vendor/semver-1.0.18/src/parse.rs +409 -0
- data/ext/cargo-vendor/semver-1.0.18/src/serde.rs +109 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/node/mod.rs +43 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_autotrait.rs +14 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_identifier.rs +45 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version.rs +238 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/test_version_req.rs +443 -0
- data/ext/cargo-vendor/semver-1.0.18/tests/util/mod.rs +39 -0
- data/ext/cargo-vendor/sptr-0.3.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/sptr-0.3.2/Cargo.toml +28 -0
- data/ext/cargo-vendor/sptr-0.3.2/README.md +73 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/func.rs +83 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/int.rs +364 -0
- data/ext/cargo-vendor/sptr-0.3.2/src/lib.rs +756 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/dir.rs +464 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/lib.rs +141 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/Cargo.toml +87 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/file.rs +262 -0
- data/ext/cargo-vendor/wasi-common-10.0.1/src/snapshots/preview_1.rs +1490 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/Cargo.toml +33 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/exports.rs +127 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/imports.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/types.rs +759 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/code.rs +2913 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/custom.rs +55 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/data.rs +185 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/elements.rs +224 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/exports.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/globals.rs +90 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/imports.rs +142 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/memories.rs +99 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/names.rs +265 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/producers.rs +180 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tables.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tags.rs +85 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/types.rs +246 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.29.0/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.lock +621 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/benches/benchmark.rs +351 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/lib.rs +723 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/parser.rs +1535 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/canonicals.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/types.rs +874 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core.rs +35 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/component.rs +3082 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/core.rs +1334 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/operators.rs +3463 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/types.rs +3070 -0
- data/ext/cargo-vendor/wasmparser-0.107.0/src/validator.rs +1589 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +644 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +54 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/README.md +36 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/benches/benchmark.rs +349 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/examples/simple.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +1706 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +726 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +59 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/parser.rs +1612 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/aliases.rs +119 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/canonicals.rs +120 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/exports.rs +117 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/imports.rs +137 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/instances.rs +163 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/names.rs +102 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/start.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +548 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/code.rs +146 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/coredumps.rs +243 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/custom.rs +63 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/data.rs +96 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/dylink0.rs +132 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/elements.rs +152 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/exports.rs +65 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/functions.rs +17 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/globals.rs +49 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/imports.rs +76 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/init.rs +51 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/memories.rs +56 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/names.rs +153 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/operators.rs +354 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/producers.rs +83 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tables.rs +87 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tags.rs +32 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +1141 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core.rs +37 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/readers.rs +316 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/resources.rs +398 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +3148 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +1314 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/func.rs +348 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/names.rs +606 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +3466 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +3283 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +1568 -0
- data/ext/cargo-vendor/wasmparser-0.111.0/tests/big-module.rs +33 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +39 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/README.md +47 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +2962 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +873 -0
- data/ext/cargo-vendor/wasmprinter-0.2.63/tests/all.rs +278 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/Cargo.toml +183 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/compiler.rs +710 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/component.rs +382 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/instance.rs +727 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/matching.rs +112 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/component/mod.rs +313 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/config.rs +2066 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine/serialization.rs +622 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/engine.rs +757 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/externals.rs +763 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func/typed.rs +638 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/func.rs +2355 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/instance.rs +905 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/lib.rs +486 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/linker.rs +1479 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/memory.rs +950 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/module.rs +1274 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/ref.rs +109 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/context.rs +243 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store/func_refs.rs +85 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/store.rs +2166 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/func.rs +133 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/global.rs +67 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types/matching.rs +312 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/types.rs +572 -0
- data/ext/cargo-vendor/wasmtime-10.0.1/src/values.rs +290 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-10.0.1/Cargo.toml +73 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/src/bindgen.rs +316 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/char.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/conventions.wit +39 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/direct-import.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/empty.wit +2 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/flags.wit +55 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/floats.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/function-new.wit +4 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/integers.wit +40 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/lists.wit +85 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/many-arguments.wit +52 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/multi-return.wit +14 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/records.wit +61 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/rename.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/share-types.wit +21 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-functions.wit +17 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-lists.wit +13 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-wasi.wit +23 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/small-anonymous.wit +15 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-default.wit +5 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-export.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke.wit +7 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/strings.wit +12 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/unions.wit +66 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/use-paths.wit +29 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/variants.wit +147 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/worlds-with-types.wit +16 -0
- data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen.rs +24 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-10.0.1/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/Cargo.toml +90 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/compiler.rs +1200 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/debug/transform/simulate.rs +410 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/func_environ.rs +2206 -0
- data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/lib.rs +178 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/Cargo.toml +57 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/src/lib.rs +120 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.lock +681 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.toml +116 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/compiler.rs +84 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate/inline.rs +1067 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate.rs +1070 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/types.rs +1916 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/fact.rs +623 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module.rs +1083 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module_environ.rs +884 -0
- data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/trap_encoding.rs +238 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/lib.rs +305 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/unix.rs +212 -0
- data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/windows.rs +161 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/Cargo.toml +104 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/instantiate.rs +760 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/lib.rs +38 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/jitdump.rs +66 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/perfmap.rs +47 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/vtune.rs +80 -0
- data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling.rs +108 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/Cargo.toml +37 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/Cargo.toml +110 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/component.rs +701 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/cow.rs +1060 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/debug_builtins.rs +58 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/externref.rs +1073 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator/pooling.rs +1368 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator.rs +531 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance.rs +1345 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/lib.rs +285 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/libcalls.rs +578 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/memory.rs +958 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/miri.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/unix.rs +148 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/windows.rs +208 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/send_sync_ptr.rs +69 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/table.rs +595 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers/unix.rs +387 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers.rs +749 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext/vm_host_func_context.rs +137 -0
- data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext.rs +1221 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wasmtime-types-10.0.1/src/lib.rs +462 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/Cargo.toml +153 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/lib.rs +131 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks/host.rs +73 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks.rs +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/ctx.rs +206 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/error.rs +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/filesystem.rs +269 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/mod.rs +44 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/pipe.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview1/mod.rs +1860 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/clocks.rs +80 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/env.rs +48 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/exit.rs +12 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/filesystem.rs +1020 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/io.rs +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/mod.rs +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/poll.rs +84 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/random.rs +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/random.rs +58 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/subscription.rs +104 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/sync.rs +156 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched.rs +105 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stdio.rs +176 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stream.rs +210 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/table.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/command.rs +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/mod.rs +30 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/monotonic-clock.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/timezone.wit +63 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/wall-clock.wit +43 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/filesystem/filesystem.wit +782 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/incoming-handler.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/outgoing-handler.wit +18 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/types.wit +159 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/io/streams.wit +215 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/logging/handler.wit +34 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/poll/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command-extended.wit +36 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command.wit +26 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/proxy.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/reactor.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure-seed.wit +24 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure.wit +21 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/random.wit +25 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/instance-network.wit +9 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/ip-name-lookup.wit +69 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/network.wit +187 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp.wit +255 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp-create-socket.wit +27 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp.wit +211 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/environment.wit +16 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/exit.wit +4 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/preopens.wit +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/stdio.wit +17 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/main.wit +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/test.wit +19 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/typenames.witx +750 -0
- data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/wasi_snapshot_preview1.witx +521 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-winch-10.0.1/src/compiler.rs +220 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/Cargo.toml +29 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/lib.rs +1631 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/types.rs +179 -0
- data/ext/cargo-vendor/wiggle-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-10.0.1/Cargo.toml +106 -0
- data/ext/cargo-vendor/wiggle-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-10.0.1/README.md +18 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/Cargo.toml +58 -0
- data/ext/cargo-vendor/wiggle-generate-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/LICENSE +220 -0
- data/ext/cargo-vendor/wiggle-macro-10.0.1/src/lib.rs +210 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/Cargo.toml +62 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/local.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/mod.rs +237 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/call.rs +225 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/context.rs +270 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/env.rs +52 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/mod.rs +214 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/frame/mod.rs +172 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/abi.rs +243 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/asm.rs +300 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/masm.rs +230 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/mod.rs +127 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/regs.rs +166 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/mod.rs +215 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/abi.rs +369 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/address.rs +17 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/asm.rs +576 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/masm.rs +288 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/mod.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/regs.rs +192 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/lib.rs +21 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/masm.rs +255 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/regalloc.rs +70 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/stack.rs +235 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/trampoline.rs +494 -0
- data/ext/cargo-vendor/winch-codegen-0.8.1/src/visitor.rs +353 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/Cargo.toml +62 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/lex.rs +679 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/resolve.rs +1122 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/ast.rs +1207 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/lib.rs +622 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/live.rs +111 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/src/resolve.rs +1307 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/all.rs +168 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/comments.wit +25 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep1/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep2/types.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/join.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared1.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/world.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/embedded.wit.md +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/corp/saas.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/clocks.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/filesystem.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/root.wit +44 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/a.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/b.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/bar.wit +21 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-a.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-b.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/foo.wit +31 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax1.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax3.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax4.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/alias-no-type.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +2 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/root.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/a.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/b.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo2.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-md.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit.result +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +1 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/root.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit +6 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10/bar.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10.wit.result +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit +3 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit +8 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit +4 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit.result +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/shared-types.wit +10 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/type-then-eof.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/types.wit +61 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use-chain.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a1/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a2/foo.wit +5 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/foo.wit +7 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/wasi.wit +178 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-diamond.wit +22 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-iface-no-collide.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import1.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import2.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import3.wit +11 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-same-fields4.wit +13 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-top-level-funcs.wit +9 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-same-fields5.wit +17 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit +34 -0
- data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds.wit +37 -0
- data/ext/src/ruby_api/global.rs +3 -3
- data/ext/src/ruby_api/memory/unsafe_slice.rs +9 -3
- data/ext/src/ruby_api/params.rs +14 -12
- data/ext/src/ruby_api/table.rs +1 -1
- data/lib/wasmtime/version.rb +1 -1
- metadata +1418 -1079
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.96.4/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/Cargo.toml +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/benches/x64-evex-encoding.rs +0 -53
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/ir/trapcode.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/abi.rs +0 -1281
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit.rs +0 -3658
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit_tests.rs +0 -7868
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/imms.rs +0 -1215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/mod.rs +0 -2945
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst.isle +0 -4035
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower/isle.rs +0 -813
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower.isle +0 -2906
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/mod.rs +0 -240
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/mod.rs +0 -420
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/abi.rs +0 -726
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/args.rs +0 -1822
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit.rs +0 -2914
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit_tests.rs +0 -2317
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/encode.rs +0 -188
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/imms.rs +0 -244
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/mod.rs +0 -1823
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/regs.rs +0 -231
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/unwind/systemv.rs +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/vector.rs +0 -354
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst.isle +0 -2746
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst_vector.isle +0 -224
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower/isle.rs +0 -544
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/mod.rs +0 -219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/abi.rs +0 -947
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit.rs +0 -3697
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit_tests.rs +0 -13397
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/mod.rs +0 -3409
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst.isle +0 -5045
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/lower.isle +0 -3991
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/mod.rs +0 -215
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/abi.rs +0 -978
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/evex.rs +0 -403
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/rex.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/vex.rs +0 -498
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/args.rs +0 -2168
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit.rs +0 -3938
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit_tests.rs +0 -5669
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/mod.rs +0 -2763
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst.isle +0 -5186
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower/isle.rs +0 -1158
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.isle +0 -4262
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.rs +0 -328
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/mod.rs +0 -250
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isle_prelude.rs +0 -818
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/abi.rs +0 -2410
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/buffer.rs +0 -2219
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/compile.rs +0 -92
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/isle.rs +0 -827
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/lower.rs +0 -1366
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/mod.rs +0 -538
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/reg.rs +0 -532
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/vcode.rs +0 -1571
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude.isle +0 -552
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude_lower.isle +0 -1012
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/settings.rs +0 -599
- data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/verifier/mod.rs +0 -1881
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/Cargo.toml +0 -23
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/isa/x86.rs +0 -445
- data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/shared/settings.rs +0 -331
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.96.4/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/chaos.rs +0 -78
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/lib.rs +0 -30
- data/ext/cargo-vendor/cranelift-control-0.96.4/src/zero_sized.rs +0 -42
- data/ext/cargo-vendor/cranelift-entity-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.96.4/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-entity-0.96.4/src/list.rs +0 -868
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.96.4/Cargo.toml +0 -53
- data/ext/cargo-vendor/cranelift-isle-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.96.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-native-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.96.4/Cargo.toml +0 -38
- data/ext/cargo-vendor/cranelift-native-0.96.4/src/lib.rs +0 -216
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/Cargo.toml +0 -85
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/code_translator.rs +0 -3479
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/dummy.rs +0 -901
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/spec.rs +0 -807
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/func_translator.rs +0 -419
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/sections_translator.rs +0 -429
- data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/translation_utils.rs +0 -108
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/Cargo.toml +0 -36
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/run-tests.sh +0 -11
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/src/lib.rs +0 -162
- data/ext/cargo-vendor/file-per-thread-logger-0.1.6/tests/test.rs +0 -267
- data/ext/cargo-vendor/regalloc2-0.8.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/regalloc2-0.8.1/Cargo.toml +0 -72
- data/ext/cargo-vendor/regalloc2-0.8.1/deny.toml +0 -28
- data/ext/cargo-vendor/regalloc2-0.8.1/src/checker.rs +0 -1089
- data/ext/cargo-vendor/regalloc2-0.8.1/src/fuzzing/func.rs +0 -673
- data/ext/cargo-vendor/regalloc2-0.8.1/src/index.rs +0 -188
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/data_structures.rs +0 -688
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/liveranges.rs +0 -1012
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/merge.rs +0 -394
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/mod.rs +0 -152
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/moves.rs +0 -985
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/process.rs +0 -1322
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/requirement.rs +0 -174
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/spill.rs +0 -198
- data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/stackmap.rs +0 -74
- data/ext/cargo-vendor/regalloc2-0.8.1/src/lib.rs +0 -1523
- data/ext/cargo-vendor/regalloc2-0.8.1/src/moves.rs +0 -438
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/Cargo.toml +0 -89
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/dir.rs +0 -465
- data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/lib.rs +0 -140
- data/ext/cargo-vendor/wasi-common-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-9.0.4/Cargo.toml +0 -86
- data/ext/cargo-vendor/wasi-common-9.0.4/src/ctx.rs +0 -127
- data/ext/cargo-vendor/wasi-common-9.0.4/src/file.rs +0 -260
- data/ext/cargo-vendor/wasi-common-9.0.4/src/snapshots/preview_1.rs +0 -1490
- data/ext/cargo-vendor/wasmparser-0.103.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.lock +0 -692
- data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmparser-0.103.0/benches/benchmark.rs +0 -350
- data/ext/cargo-vendor/wasmparser-0.103.0/src/binary_reader.rs +0 -1682
- data/ext/cargo-vendor/wasmparser-0.103.0/src/lib.rs +0 -712
- data/ext/cargo-vendor/wasmparser-0.103.0/src/parser.rs +0 -1496
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/canonicals.rs +0 -95
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/exports.rs +0 -105
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/imports.rs +0 -109
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/instances.rs +0 -164
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/types.rs +0 -508
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/producers.rs +0 -78
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/types.rs +0 -511
- data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core.rs +0 -33
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/component.rs +0 -2097
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/core.rs +0 -1278
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/operators.rs +0 -3456
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/types.rs +0 -2159
- data/ext/cargo-vendor/wasmparser-0.103.0/src/validator.rs +0 -1514
- data/ext/cargo-vendor/wasmtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-9.0.4/Cargo.toml +0 -183
- data/ext/cargo-vendor/wasmtime-9.0.4/build.rs +0 -20
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/component.rs +0 -519
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/instance.rs +0 -728
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/matching.rs +0 -112
- data/ext/cargo-vendor/wasmtime-9.0.4/src/component/mod.rs +0 -313
- data/ext/cargo-vendor/wasmtime-9.0.4/src/config.rs +0 -2036
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine/serialization.rs +0 -613
- data/ext/cargo-vendor/wasmtime-9.0.4/src/engine.rs +0 -729
- data/ext/cargo-vendor/wasmtime-9.0.4/src/externals.rs +0 -762
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func/typed.rs +0 -638
- data/ext/cargo-vendor/wasmtime-9.0.4/src/func.rs +0 -2385
- data/ext/cargo-vendor/wasmtime-9.0.4/src/instance.rs +0 -905
- data/ext/cargo-vendor/wasmtime-9.0.4/src/lib.rs +0 -481
- data/ext/cargo-vendor/wasmtime-9.0.4/src/linker.rs +0 -1479
- data/ext/cargo-vendor/wasmtime-9.0.4/src/memory.rs +0 -948
- data/ext/cargo-vendor/wasmtime-9.0.4/src/module.rs +0 -1542
- data/ext/cargo-vendor/wasmtime-9.0.4/src/ref.rs +0 -108
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/context.rs +0 -243
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store/func_refs.rs +0 -110
- data/ext/cargo-vendor/wasmtime-9.0.4/src/store.rs +0 -2059
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/func.rs +0 -171
- data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/global.rs +0 -71
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types/matching.rs +0 -254
- data/ext/cargo-vendor/wasmtime-9.0.4/src/types.rs +0 -551
- data/ext/cargo-vendor/wasmtime-9.0.4/src/values.rs +0 -290
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-9.0.4/Cargo.toml +0 -73
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/src/bindgen.rs +0 -316
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/char.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/conventions.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/direct-import.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/empty.wit +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/flags.wit +0 -53
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/floats.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/function-new.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/integers.wit +0 -38
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/lists.wit +0 -83
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/many-arguments.wit +0 -50
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/multi-return.wit +0 -12
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/records.wit +0 -59
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/rename.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/share-types.wit +0 -19
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-functions.wit +0 -15
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-lists.wit +0 -11
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-wasi.wit +0 -21
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/small-anonymous.wit +0 -13
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-default.wit +0 -3
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-export.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke.wit +0 -5
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/strings.wit +0 -10
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/unions.wit +0 -64
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/use-paths.wit +0 -27
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/variants.wit +0 -145
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/worlds-with-types.wit +0 -14
- data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen.rs +0 -30
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-9.0.4/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/Cargo.toml +0 -90
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/compiler.rs +0 -1200
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/debug/transform/simulate.rs +0 -411
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/func_environ.rs +0 -2162
- data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/lib.rs +0 -177
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/Cargo.toml +0 -57
- data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/src/lib.rs +0 -119
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.lock +0 -735
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/compiler.rs +0 -84
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate/inline.rs +0 -1064
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate.rs +0 -1066
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/types.rs +0 -1903
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/fact.rs +0 -622
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module.rs +0 -1043
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module_environ.rs +0 -841
- data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/trap_encoding.rs +0 -234
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/unix.rs +0 -199
- data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/windows.rs +0 -156
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/Cargo.toml +0 -100
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/instantiate.rs +0 -786
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/lib.rs +0 -39
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_linux.rs +0 -444
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_disabled.rs +0 -28
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_linux.rs +0 -104
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune.rs +0 -147
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune_disabled.rs +0 -32
- data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling.rs +0 -74
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/Cargo.toml +0 -107
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/component.rs +0 -724
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/cow.rs +0 -1063
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/debug_builtins.rs +0 -56
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/externref.rs +0 -1078
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator/pooling.rs +0 -1371
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator.rs +0 -528
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance.rs +0 -1267
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/lib.rs +0 -286
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/libcalls.rs +0 -597
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/memory.rs +0 -945
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/miri.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/unix.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/windows.rs +0 -207
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/table.rs +0 -573
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers/unix.rs +0 -387
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers.rs +0 -664
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext/vm_host_func_context.rs +0 -147
- data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext.rs +0 -1244
- data/ext/cargo-vendor/wasmtime-types-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-9.0.4/Cargo.toml +0 -34
- data/ext/cargo-vendor/wasmtime-types-9.0.4/src/lib.rs +0 -413
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-wasi-9.0.4/src/lib.rs +0 -128
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmtime-winch-9.0.4/src/compiler.rs +0 -191
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/lib.rs +0 -1488
- data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/types.rs +0 -178
- data/ext/cargo-vendor/wiggle-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-9.0.4/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-9.0.4/README.md +0 -18
- data/ext/cargo-vendor/wiggle-generate-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-9.0.4/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-macro-9.0.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-9.0.4/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-9.0.4/src/lib.rs +0 -210
- data/ext/cargo-vendor/winch-codegen-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.7.4/Cargo.toml +0 -59
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/local.rs +0 -69
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/mod.rs +0 -223
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/call.rs +0 -215
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/context.rs +0 -259
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/env.rs +0 -19
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/mod.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/frame/mod.rs +0 -166
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/abi.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/asm.rs +0 -244
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/masm.rs +0 -221
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/mod.rs +0 -122
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/regs.rs +0 -160
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/mod.rs +0 -202
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/abi.rs +0 -337
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/address.rs +0 -17
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/asm.rs +0 -499
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/masm.rs +0 -267
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/mod.rs +0 -135
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/regs.rs +0 -178
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/lib.rs +0 -20
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/masm.rs +0 -213
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/regalloc.rs +0 -61
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/stack.rs +0 -230
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/trampoline.rs +0 -206
- data/ext/cargo-vendor/winch-codegen-0.7.4/src/visitor.rs +0 -215
- data/ext/cargo-vendor/winch-environ-0.7.4/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-environ-0.7.4/Cargo.toml +0 -28
- data/ext/cargo-vendor/winch-environ-0.7.4/src/lib.rs +0 -41
- data/ext/cargo-vendor/wit-parser-0.7.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/Cargo.toml +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/lex.rs +0 -662
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/resolve.rs +0 -1072
- data/ext/cargo-vendor/wit-parser-0.7.1/src/ast.rs +0 -1099
- data/ext/cargo-vendor/wit-parser-0.7.1/src/lib.rs +0 -617
- data/ext/cargo-vendor/wit-parser-0.7.1/src/live.rs +0 -123
- data/ext/cargo-vendor/wit-parser-0.7.1/src/resolve.rs +0 -1478
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/all.rs +0 -168
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/comments.wit +0 -23
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/world.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/embedded.wit.md +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/corp/saas.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -1
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/root.wit +0 -31
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/functions.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/bar.wit +0 -19
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/foo.wit +0 -15
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/alias-no-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/a.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/b.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/join.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-md.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit +0 -0
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit.result +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit +0 -13
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/bar.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/foo.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit +0 -10
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit.result +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit +0 -2
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit +0 -11
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit.result +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit +0 -6
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit +0 -4
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -5
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit +0 -16
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit.result +0 -9
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/shared-types.wit +0 -8
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/type-then-eof.wit +0 -3
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/types.wit +0 -59
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit +0 -33
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/wasi.wit +0 -176
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-diamond.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-top-level-funcs.wit +0 -7
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit +0 -32
- data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds.wit +0 -40
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/elaborate.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dfg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/cprop.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/README.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/DESIGN.md +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/TODO +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/cfg.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/domtree.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/fuzzing/mod.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/indexset.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/dump.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/redundant_moves.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/reg_traversal.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/postorder.rs +0 -0
- /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasm-encoder-0.29.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmparser-0.107.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmparser-0.111.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmprinter-0.2.63}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-9.0.4 → wasmtime-asm-macros-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-cache-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-9.0.4 → wasmtime-component-util-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-cranelift-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/compiler/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/expression.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-environ-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/compilation.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-fiber-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-jit-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/code_memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wasmtime-runtime-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/component/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/s390x.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/macos.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/windows.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wasmtime-types-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-types-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-9.0.4 → wasmtime-wasi-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/abi.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/sizealign.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-md.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1/tests/ui/empty.wit → wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit} +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
@@ -0,0 +1,2667 @@
|
|
1
|
+
//! This module defines x86_64-specific machine instruction types.
|
2
|
+
|
3
|
+
use crate::binemit::{Addend, CodeOffset, Reloc, StackMap};
|
4
|
+
use crate::ir::{types, ExternalName, LibCall, Opcode, RelSourceLoc, TrapCode, Type};
|
5
|
+
use crate::isa::x64::abi::X64ABIMachineSpec;
|
6
|
+
use crate::isa::x64::inst::regs::{pretty_print_reg, show_ireg_sized};
|
7
|
+
use crate::isa::x64::settings as x64_settings;
|
8
|
+
use crate::isa::{CallConv, FunctionAlignment};
|
9
|
+
use crate::{machinst::*, trace};
|
10
|
+
use crate::{settings, CodegenError, CodegenResult};
|
11
|
+
use alloc::boxed::Box;
|
12
|
+
use alloc::vec::Vec;
|
13
|
+
use cranelift_control::ControlPlane;
|
14
|
+
use regalloc2::{Allocation, PRegSet, VReg};
|
15
|
+
use smallvec::{smallvec, SmallVec};
|
16
|
+
use std::fmt::{self, Write};
|
17
|
+
use std::string::{String, ToString};
|
18
|
+
|
19
|
+
pub mod args;
|
20
|
+
mod emit;
|
21
|
+
#[cfg(test)]
|
22
|
+
mod emit_tests;
|
23
|
+
pub mod regs;
|
24
|
+
pub mod unwind;
|
25
|
+
|
26
|
+
use args::*;
|
27
|
+
|
28
|
+
//=============================================================================
|
29
|
+
// Instructions (top level): definition
|
30
|
+
|
31
|
+
// `Inst` is defined inside ISLE as `MInst`. We publicly re-export it here.
|
32
|
+
pub use super::lower::isle::generated_code::MInst as Inst;
|
33
|
+
|
34
|
+
/// Out-of-line data for calls, to keep the size of `Inst` down.
|
35
|
+
#[derive(Clone, Debug)]
|
36
|
+
pub struct CallInfo {
|
37
|
+
/// Register uses of this call.
|
38
|
+
pub uses: CallArgList,
|
39
|
+
/// Register defs of this call.
|
40
|
+
pub defs: CallRetList,
|
41
|
+
/// Registers clobbered by this call, as per its calling convention.
|
42
|
+
pub clobbers: PRegSet,
|
43
|
+
/// The opcode of this call.
|
44
|
+
pub opcode: Opcode,
|
45
|
+
}
|
46
|
+
|
47
|
+
#[test]
|
48
|
+
#[cfg(target_pointer_width = "64")]
|
49
|
+
fn inst_size_test() {
|
50
|
+
// This test will help with unintentionally growing the size
|
51
|
+
// of the Inst enum.
|
52
|
+
assert_eq!(40, std::mem::size_of::<Inst>());
|
53
|
+
}
|
54
|
+
|
55
|
+
pub(crate) fn low32_will_sign_extend_to_64(x: u64) -> bool {
|
56
|
+
let xs = x as i64;
|
57
|
+
xs == ((xs << 32) >> 32)
|
58
|
+
}
|
59
|
+
|
60
|
+
impl Inst {
|
61
|
+
/// Retrieve a list of ISA feature sets in which the instruction is available. An empty list
|
62
|
+
/// indicates that the instruction is available in the baseline feature set (i.e. SSE2 and
|
63
|
+
/// below); more than one `InstructionSet` in the list indicates that the instruction is present
|
64
|
+
/// *any* of the included ISA feature sets.
|
65
|
+
fn available_in_any_isa(&self) -> SmallVec<[InstructionSet; 2]> {
|
66
|
+
match self {
|
67
|
+
// These instructions are part of SSE2, which is a basic requirement in Cranelift, and
|
68
|
+
// don't have to be checked.
|
69
|
+
Inst::AluRmiR { .. }
|
70
|
+
| Inst::AluRM { .. }
|
71
|
+
| Inst::AtomicRmwSeq { .. }
|
72
|
+
| Inst::Bswap { .. }
|
73
|
+
| Inst::CallKnown { .. }
|
74
|
+
| Inst::CallUnknown { .. }
|
75
|
+
| Inst::CheckedSRemSeq { .. }
|
76
|
+
| Inst::CheckedSRemSeq8 { .. }
|
77
|
+
| Inst::Cmove { .. }
|
78
|
+
| Inst::CmpRmiR { .. }
|
79
|
+
| Inst::CvtFloatToSintSeq { .. }
|
80
|
+
| Inst::CvtFloatToUintSeq { .. }
|
81
|
+
| Inst::CvtUint64ToFloatSeq { .. }
|
82
|
+
| Inst::Div { .. }
|
83
|
+
| Inst::Div8 { .. }
|
84
|
+
| Inst::Fence { .. }
|
85
|
+
| Inst::Hlt
|
86
|
+
| Inst::Imm { .. }
|
87
|
+
| Inst::JmpCond { .. }
|
88
|
+
| Inst::JmpIf { .. }
|
89
|
+
| Inst::JmpKnown { .. }
|
90
|
+
| Inst::JmpTableSeq { .. }
|
91
|
+
| Inst::JmpUnknown { .. }
|
92
|
+
| Inst::LoadEffectiveAddress { .. }
|
93
|
+
| Inst::LoadExtName { .. }
|
94
|
+
| Inst::LockCmpxchg { .. }
|
95
|
+
| Inst::Mov64MR { .. }
|
96
|
+
| Inst::MovImmM { .. }
|
97
|
+
| Inst::MovRM { .. }
|
98
|
+
| Inst::MovRR { .. }
|
99
|
+
| Inst::MovFromPReg { .. }
|
100
|
+
| Inst::MovToPReg { .. }
|
101
|
+
| Inst::MovsxRmR { .. }
|
102
|
+
| Inst::MovzxRmR { .. }
|
103
|
+
| Inst::MulHi { .. }
|
104
|
+
| Inst::UMulLo { .. }
|
105
|
+
| Inst::Neg { .. }
|
106
|
+
| Inst::Not { .. }
|
107
|
+
| Inst::Nop { .. }
|
108
|
+
| Inst::Pop64 { .. }
|
109
|
+
| Inst::Push64 { .. }
|
110
|
+
| Inst::StackProbeLoop { .. }
|
111
|
+
| Inst::Args { .. }
|
112
|
+
| Inst::Ret { .. }
|
113
|
+
| Inst::Setcc { .. }
|
114
|
+
| Inst::ShiftR { .. }
|
115
|
+
| Inst::SignExtendData { .. }
|
116
|
+
| Inst::TrapIf { .. }
|
117
|
+
| Inst::TrapIfAnd { .. }
|
118
|
+
| Inst::TrapIfOr { .. }
|
119
|
+
| Inst::Ud2 { .. }
|
120
|
+
| Inst::VirtualSPOffsetAdj { .. }
|
121
|
+
| Inst::XmmCmove { .. }
|
122
|
+
| Inst::XmmCmpRmR { .. }
|
123
|
+
| Inst::XmmMinMaxSeq { .. }
|
124
|
+
| Inst::XmmUninitializedValue { .. }
|
125
|
+
| Inst::ElfTlsGetAddr { .. }
|
126
|
+
| Inst::MachOTlsGetAddr { .. }
|
127
|
+
| Inst::CoffTlsGetAddr { .. }
|
128
|
+
| Inst::Unwind { .. }
|
129
|
+
| Inst::DummyUse { .. }
|
130
|
+
| Inst::AluConstOp { .. } => smallvec![],
|
131
|
+
|
132
|
+
Inst::AluRmRVex { op, .. } => op.available_from(),
|
133
|
+
Inst::UnaryRmR { op, .. } => op.available_from(),
|
134
|
+
Inst::UnaryRmRVex { op, .. } => op.available_from(),
|
135
|
+
|
136
|
+
// These use dynamic SSE opcodes.
|
137
|
+
Inst::GprToXmm { op, .. }
|
138
|
+
| Inst::XmmMovRM { op, .. }
|
139
|
+
| Inst::XmmMovRMImm { op, .. }
|
140
|
+
| Inst::XmmRmiReg { opcode: op, .. }
|
141
|
+
| Inst::XmmRmR { op, .. }
|
142
|
+
| Inst::XmmRmRUnaligned { op, .. }
|
143
|
+
| Inst::XmmRmRBlend { op, .. }
|
144
|
+
| Inst::XmmRmRImm { op, .. }
|
145
|
+
| Inst::XmmToGpr { op, .. }
|
146
|
+
| Inst::XmmToGprImm { op, .. }
|
147
|
+
| Inst::XmmUnaryRmRImm { op, .. }
|
148
|
+
| Inst::XmmUnaryRmRUnaligned { op, .. }
|
149
|
+
| Inst::XmmUnaryRmR { op, .. } => smallvec![op.available_from()],
|
150
|
+
|
151
|
+
Inst::XmmUnaryRmREvex { op, .. }
|
152
|
+
| Inst::XmmRmREvex { op, .. }
|
153
|
+
| Inst::XmmRmREvex3 { op, .. }
|
154
|
+
| Inst::XmmUnaryRmRImmEvex { op, .. } => op.available_from(),
|
155
|
+
|
156
|
+
Inst::XmmRmiRVex { op, .. }
|
157
|
+
| Inst::XmmRmRVex3 { op, .. }
|
158
|
+
| Inst::XmmRmRImmVex { op, .. }
|
159
|
+
| Inst::XmmRmRBlendVex { op, .. }
|
160
|
+
| Inst::XmmVexPinsr { op, .. }
|
161
|
+
| Inst::XmmUnaryRmRVex { op, .. }
|
162
|
+
| Inst::XmmUnaryRmRImmVex { op, .. }
|
163
|
+
| Inst::XmmMovRMVex { op, .. }
|
164
|
+
| Inst::XmmMovRMImmVex { op, .. }
|
165
|
+
| Inst::XmmToGprImmVex { op, .. }
|
166
|
+
| Inst::XmmToGprVex { op, .. }
|
167
|
+
| Inst::GprToXmmVex { op, .. } => op.available_from(),
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
// Handy constructors for Insts.
|
173
|
+
|
174
|
+
impl Inst {
|
175
|
+
pub(crate) fn nop(len: u8) -> Self {
|
176
|
+
debug_assert!(len <= 15);
|
177
|
+
Self::Nop { len }
|
178
|
+
}
|
179
|
+
|
180
|
+
pub(crate) fn alu_rmi_r(
|
181
|
+
size: OperandSize,
|
182
|
+
op: AluRmiROpcode,
|
183
|
+
src: RegMemImm,
|
184
|
+
dst: Writable<Reg>,
|
185
|
+
) -> Self {
|
186
|
+
src.assert_regclass_is(RegClass::Int);
|
187
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
188
|
+
Self::AluRmiR {
|
189
|
+
size,
|
190
|
+
op,
|
191
|
+
src1: Gpr::new(dst.to_reg()).unwrap(),
|
192
|
+
src2: GprMemImm::new(src).unwrap(),
|
193
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
#[allow(dead_code)]
|
198
|
+
pub(crate) fn unary_rm_r(
|
199
|
+
size: OperandSize,
|
200
|
+
op: UnaryRmROpcode,
|
201
|
+
src: RegMem,
|
202
|
+
dst: Writable<Reg>,
|
203
|
+
) -> Self {
|
204
|
+
src.assert_regclass_is(RegClass::Int);
|
205
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
206
|
+
debug_assert!(size.is_one_of(&[
|
207
|
+
OperandSize::Size16,
|
208
|
+
OperandSize::Size32,
|
209
|
+
OperandSize::Size64
|
210
|
+
]));
|
211
|
+
Self::UnaryRmR {
|
212
|
+
size,
|
213
|
+
op,
|
214
|
+
src: GprMem::new(src).unwrap(),
|
215
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
pub(crate) fn not(size: OperandSize, src: Writable<Reg>) -> Inst {
|
220
|
+
debug_assert_eq!(src.to_reg().class(), RegClass::Int);
|
221
|
+
Inst::Not {
|
222
|
+
size,
|
223
|
+
src: Gpr::new(src.to_reg()).unwrap(),
|
224
|
+
dst: WritableGpr::from_writable_reg(src).unwrap(),
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
pub(crate) fn div(
|
229
|
+
size: OperandSize,
|
230
|
+
sign: DivSignedness,
|
231
|
+
trap: TrapCode,
|
232
|
+
divisor: RegMem,
|
233
|
+
dividend_lo: Gpr,
|
234
|
+
dividend_hi: Gpr,
|
235
|
+
dst_quotient: WritableGpr,
|
236
|
+
dst_remainder: WritableGpr,
|
237
|
+
) -> Inst {
|
238
|
+
divisor.assert_regclass_is(RegClass::Int);
|
239
|
+
Inst::Div {
|
240
|
+
size,
|
241
|
+
sign,
|
242
|
+
trap,
|
243
|
+
divisor: GprMem::new(divisor).unwrap(),
|
244
|
+
dividend_lo,
|
245
|
+
dividend_hi,
|
246
|
+
dst_quotient,
|
247
|
+
dst_remainder,
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
pub(crate) fn div8(
|
252
|
+
sign: DivSignedness,
|
253
|
+
trap: TrapCode,
|
254
|
+
divisor: RegMem,
|
255
|
+
dividend: Gpr,
|
256
|
+
dst: WritableGpr,
|
257
|
+
) -> Inst {
|
258
|
+
divisor.assert_regclass_is(RegClass::Int);
|
259
|
+
Inst::Div8 {
|
260
|
+
sign,
|
261
|
+
trap,
|
262
|
+
divisor: GprMem::new(divisor).unwrap(),
|
263
|
+
dividend,
|
264
|
+
dst,
|
265
|
+
}
|
266
|
+
}
|
267
|
+
|
268
|
+
pub(crate) fn imm(dst_size: OperandSize, simm64: u64, dst: Writable<Reg>) -> Inst {
|
269
|
+
debug_assert!(dst_size.is_one_of(&[OperandSize::Size32, OperandSize::Size64]));
|
270
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
271
|
+
// Try to generate a 32-bit immediate when the upper high bits are zeroed (which matches
|
272
|
+
// the semantics of movl).
|
273
|
+
let dst_size = match dst_size {
|
274
|
+
OperandSize::Size64 if simm64 > u32::max_value() as u64 => OperandSize::Size64,
|
275
|
+
_ => OperandSize::Size32,
|
276
|
+
};
|
277
|
+
Inst::Imm {
|
278
|
+
dst_size,
|
279
|
+
simm64,
|
280
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
pub(crate) fn mov_r_r(size: OperandSize, src: Reg, dst: Writable<Reg>) -> Inst {
|
285
|
+
debug_assert!(size.is_one_of(&[OperandSize::Size32, OperandSize::Size64]));
|
286
|
+
debug_assert!(src.class() == RegClass::Int);
|
287
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
288
|
+
let src = Gpr::new(src).unwrap();
|
289
|
+
let dst = WritableGpr::from_writable_reg(dst).unwrap();
|
290
|
+
Inst::MovRR { size, src, dst }
|
291
|
+
}
|
292
|
+
|
293
|
+
/// Convenient helper for unary float operations.
|
294
|
+
pub(crate) fn xmm_unary_rm_r(op: SseOpcode, src: RegMem, dst: Writable<Reg>) -> Inst {
|
295
|
+
src.assert_regclass_is(RegClass::Float);
|
296
|
+
debug_assert!(dst.to_reg().class() == RegClass::Float);
|
297
|
+
Inst::XmmUnaryRmR {
|
298
|
+
op,
|
299
|
+
src: XmmMemAligned::new(src).unwrap(),
|
300
|
+
dst: WritableXmm::from_writable_reg(dst).unwrap(),
|
301
|
+
}
|
302
|
+
}
|
303
|
+
|
304
|
+
pub(crate) fn xmm_rm_r(op: SseOpcode, src: RegMem, dst: Writable<Reg>) -> Self {
|
305
|
+
src.assert_regclass_is(RegClass::Float);
|
306
|
+
debug_assert!(dst.to_reg().class() == RegClass::Float);
|
307
|
+
Inst::XmmRmR {
|
308
|
+
op,
|
309
|
+
src1: Xmm::new(dst.to_reg()).unwrap(),
|
310
|
+
src2: XmmMemAligned::new(src).unwrap(),
|
311
|
+
dst: WritableXmm::from_writable_reg(dst).unwrap(),
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
#[cfg(test)]
|
316
|
+
pub(crate) fn xmm_rmr_vex3(op: AvxOpcode, src3: RegMem, src2: Reg, dst: Writable<Reg>) -> Self {
|
317
|
+
src3.assert_regclass_is(RegClass::Float);
|
318
|
+
debug_assert!(src2.class() == RegClass::Float);
|
319
|
+
debug_assert!(dst.to_reg().class() == RegClass::Float);
|
320
|
+
Inst::XmmRmRVex3 {
|
321
|
+
op,
|
322
|
+
src3: XmmMem::new(src3).unwrap(),
|
323
|
+
src2: Xmm::new(src2).unwrap(),
|
324
|
+
src1: Xmm::new(dst.to_reg()).unwrap(),
|
325
|
+
dst: WritableXmm::from_writable_reg(dst).unwrap(),
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
pub(crate) fn xmm_mov_r_m(op: SseOpcode, src: Reg, dst: impl Into<SyntheticAmode>) -> Inst {
|
330
|
+
debug_assert!(src.class() == RegClass::Float);
|
331
|
+
Inst::XmmMovRM {
|
332
|
+
op,
|
333
|
+
src: Xmm::new(src).unwrap(),
|
334
|
+
dst: dst.into(),
|
335
|
+
}
|
336
|
+
}
|
337
|
+
|
338
|
+
pub(crate) fn xmm_to_gpr(
|
339
|
+
op: SseOpcode,
|
340
|
+
src: Reg,
|
341
|
+
dst: Writable<Reg>,
|
342
|
+
dst_size: OperandSize,
|
343
|
+
) -> Inst {
|
344
|
+
debug_assert!(src.class() == RegClass::Float);
|
345
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
346
|
+
debug_assert!(dst_size.is_one_of(&[OperandSize::Size32, OperandSize::Size64]));
|
347
|
+
Inst::XmmToGpr {
|
348
|
+
op,
|
349
|
+
src: Xmm::new(src).unwrap(),
|
350
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
351
|
+
dst_size,
|
352
|
+
}
|
353
|
+
}
|
354
|
+
|
355
|
+
pub(crate) fn gpr_to_xmm(
|
356
|
+
op: SseOpcode,
|
357
|
+
src: RegMem,
|
358
|
+
src_size: OperandSize,
|
359
|
+
dst: Writable<Reg>,
|
360
|
+
) -> Inst {
|
361
|
+
src.assert_regclass_is(RegClass::Int);
|
362
|
+
debug_assert!(src_size.is_one_of(&[OperandSize::Size32, OperandSize::Size64]));
|
363
|
+
debug_assert!(dst.to_reg().class() == RegClass::Float);
|
364
|
+
Inst::GprToXmm {
|
365
|
+
op,
|
366
|
+
src: GprMem::new(src).unwrap(),
|
367
|
+
dst: WritableXmm::from_writable_reg(dst).unwrap(),
|
368
|
+
src_size,
|
369
|
+
}
|
370
|
+
}
|
371
|
+
|
372
|
+
pub(crate) fn xmm_cmp_rm_r(op: SseOpcode, src: RegMem, dst: Reg) -> Inst {
|
373
|
+
src.assert_regclass_is(RegClass::Float);
|
374
|
+
debug_assert!(dst.class() == RegClass::Float);
|
375
|
+
let src = XmmMemAligned::new(src).unwrap();
|
376
|
+
let dst = Xmm::new(dst).unwrap();
|
377
|
+
Inst::XmmCmpRmR { op, src, dst }
|
378
|
+
}
|
379
|
+
|
380
|
+
#[allow(dead_code)]
|
381
|
+
pub(crate) fn xmm_min_max_seq(
|
382
|
+
size: OperandSize,
|
383
|
+
is_min: bool,
|
384
|
+
lhs: Reg,
|
385
|
+
rhs: Reg,
|
386
|
+
dst: Writable<Reg>,
|
387
|
+
) -> Inst {
|
388
|
+
debug_assert!(size.is_one_of(&[OperandSize::Size32, OperandSize::Size64]));
|
389
|
+
debug_assert_eq!(lhs.class(), RegClass::Float);
|
390
|
+
debug_assert_eq!(rhs.class(), RegClass::Float);
|
391
|
+
debug_assert_eq!(dst.to_reg().class(), RegClass::Float);
|
392
|
+
Inst::XmmMinMaxSeq {
|
393
|
+
size,
|
394
|
+
is_min,
|
395
|
+
lhs: Xmm::new(lhs).unwrap(),
|
396
|
+
rhs: Xmm::new(rhs).unwrap(),
|
397
|
+
dst: WritableXmm::from_writable_reg(dst).unwrap(),
|
398
|
+
}
|
399
|
+
}
|
400
|
+
|
401
|
+
pub(crate) fn movzx_rm_r(ext_mode: ExtMode, src: RegMem, dst: Writable<Reg>) -> Inst {
|
402
|
+
src.assert_regclass_is(RegClass::Int);
|
403
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
404
|
+
let src = GprMem::new(src).unwrap();
|
405
|
+
let dst = WritableGpr::from_writable_reg(dst).unwrap();
|
406
|
+
Inst::MovzxRmR { ext_mode, src, dst }
|
407
|
+
}
|
408
|
+
|
409
|
+
pub(crate) fn movsx_rm_r(ext_mode: ExtMode, src: RegMem, dst: Writable<Reg>) -> Inst {
|
410
|
+
src.assert_regclass_is(RegClass::Int);
|
411
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
412
|
+
let src = GprMem::new(src).unwrap();
|
413
|
+
let dst = WritableGpr::from_writable_reg(dst).unwrap();
|
414
|
+
Inst::MovsxRmR { ext_mode, src, dst }
|
415
|
+
}
|
416
|
+
|
417
|
+
pub(crate) fn mov64_m_r(src: impl Into<SyntheticAmode>, dst: Writable<Reg>) -> Inst {
|
418
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
419
|
+
Inst::Mov64MR {
|
420
|
+
src: src.into(),
|
421
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
422
|
+
}
|
423
|
+
}
|
424
|
+
|
425
|
+
pub(crate) fn mov_r_m(size: OperandSize, src: Reg, dst: impl Into<SyntheticAmode>) -> Inst {
|
426
|
+
debug_assert!(src.class() == RegClass::Int);
|
427
|
+
Inst::MovRM {
|
428
|
+
size,
|
429
|
+
src: Gpr::new(src).unwrap(),
|
430
|
+
dst: dst.into(),
|
431
|
+
}
|
432
|
+
}
|
433
|
+
|
434
|
+
pub(crate) fn lea(addr: impl Into<SyntheticAmode>, dst: Writable<Reg>) -> Inst {
|
435
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
436
|
+
Inst::LoadEffectiveAddress {
|
437
|
+
addr: addr.into(),
|
438
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
439
|
+
size: OperandSize::Size64,
|
440
|
+
}
|
441
|
+
}
|
442
|
+
|
443
|
+
pub(crate) fn shift_r(
|
444
|
+
size: OperandSize,
|
445
|
+
kind: ShiftKind,
|
446
|
+
num_bits: Imm8Gpr,
|
447
|
+
src: Reg,
|
448
|
+
dst: Writable<Reg>,
|
449
|
+
) -> Inst {
|
450
|
+
if let Imm8Reg::Imm8 { imm: num_bits } = num_bits.clone().to_imm8_reg() {
|
451
|
+
debug_assert!(num_bits < size.to_bits());
|
452
|
+
}
|
453
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
454
|
+
Inst::ShiftR {
|
455
|
+
size,
|
456
|
+
kind,
|
457
|
+
src: Gpr::new(src).unwrap(),
|
458
|
+
num_bits,
|
459
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
460
|
+
}
|
461
|
+
}
|
462
|
+
|
463
|
+
/// Does a comparison of dst - src for operands of size `size`, as stated by the machine
|
464
|
+
/// instruction semantics. Be careful with the order of parameters!
|
465
|
+
pub(crate) fn cmp_rmi_r(size: OperandSize, src: RegMemImm, dst: Reg) -> Inst {
|
466
|
+
src.assert_regclass_is(RegClass::Int);
|
467
|
+
debug_assert_eq!(dst.class(), RegClass::Int);
|
468
|
+
Inst::CmpRmiR {
|
469
|
+
size,
|
470
|
+
src: GprMemImm::new(src).unwrap(),
|
471
|
+
dst: Gpr::new(dst).unwrap(),
|
472
|
+
opcode: CmpOpcode::Cmp,
|
473
|
+
}
|
474
|
+
}
|
475
|
+
|
476
|
+
pub(crate) fn trap(trap_code: TrapCode) -> Inst {
|
477
|
+
Inst::Ud2 { trap_code }
|
478
|
+
}
|
479
|
+
|
480
|
+
pub(crate) fn trap_if(cc: CC, trap_code: TrapCode) -> Inst {
|
481
|
+
Inst::TrapIf { cc, trap_code }
|
482
|
+
}
|
483
|
+
|
484
|
+
pub(crate) fn cmove(size: OperandSize, cc: CC, src: RegMem, dst: Writable<Reg>) -> Inst {
|
485
|
+
debug_assert!(size.is_one_of(&[
|
486
|
+
OperandSize::Size16,
|
487
|
+
OperandSize::Size32,
|
488
|
+
OperandSize::Size64
|
489
|
+
]));
|
490
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
491
|
+
Inst::Cmove {
|
492
|
+
size,
|
493
|
+
cc,
|
494
|
+
consequent: GprMem::new(src).unwrap(),
|
495
|
+
alternative: Gpr::new(dst.to_reg()).unwrap(),
|
496
|
+
dst: WritableGpr::from_writable_reg(dst).unwrap(),
|
497
|
+
}
|
498
|
+
}
|
499
|
+
|
500
|
+
pub(crate) fn push64(src: RegMemImm) -> Inst {
|
501
|
+
src.assert_regclass_is(RegClass::Int);
|
502
|
+
let src = GprMemImm::new(src).unwrap();
|
503
|
+
Inst::Push64 { src }
|
504
|
+
}
|
505
|
+
|
506
|
+
pub(crate) fn pop64(dst: Writable<Reg>) -> Inst {
|
507
|
+
debug_assert!(dst.to_reg().class() == RegClass::Int);
|
508
|
+
let dst = WritableGpr::from_writable_reg(dst).unwrap();
|
509
|
+
Inst::Pop64 { dst }
|
510
|
+
}
|
511
|
+
|
512
|
+
pub(crate) fn call_known(
|
513
|
+
dest: ExternalName,
|
514
|
+
uses: CallArgList,
|
515
|
+
defs: CallRetList,
|
516
|
+
clobbers: PRegSet,
|
517
|
+
opcode: Opcode,
|
518
|
+
) -> Inst {
|
519
|
+
Inst::CallKnown {
|
520
|
+
dest,
|
521
|
+
info: Box::new(CallInfo {
|
522
|
+
uses,
|
523
|
+
defs,
|
524
|
+
clobbers,
|
525
|
+
opcode,
|
526
|
+
}),
|
527
|
+
}
|
528
|
+
}
|
529
|
+
|
530
|
+
pub(crate) fn call_unknown(
|
531
|
+
dest: RegMem,
|
532
|
+
uses: CallArgList,
|
533
|
+
defs: CallRetList,
|
534
|
+
clobbers: PRegSet,
|
535
|
+
opcode: Opcode,
|
536
|
+
) -> Inst {
|
537
|
+
dest.assert_regclass_is(RegClass::Int);
|
538
|
+
Inst::CallUnknown {
|
539
|
+
dest,
|
540
|
+
info: Box::new(CallInfo {
|
541
|
+
uses,
|
542
|
+
defs,
|
543
|
+
clobbers,
|
544
|
+
opcode,
|
545
|
+
}),
|
546
|
+
}
|
547
|
+
}
|
548
|
+
|
549
|
+
pub(crate) fn ret(rets: Vec<RetPair>, stack_bytes_to_pop: u32) -> Inst {
|
550
|
+
Inst::Ret {
|
551
|
+
rets,
|
552
|
+
stack_bytes_to_pop,
|
553
|
+
}
|
554
|
+
}
|
555
|
+
|
556
|
+
pub(crate) fn jmp_known(dst: MachLabel) -> Inst {
|
557
|
+
Inst::JmpKnown { dst }
|
558
|
+
}
|
559
|
+
|
560
|
+
pub(crate) fn jmp_unknown(target: RegMem) -> Inst {
|
561
|
+
target.assert_regclass_is(RegClass::Int);
|
562
|
+
Inst::JmpUnknown { target }
|
563
|
+
}
|
564
|
+
|
565
|
+
/// Choose which instruction to use for loading a register value from memory. For loads smaller
|
566
|
+
/// than 64 bits, this method expects a way to extend the value (i.e. [ExtKind::SignExtend],
|
567
|
+
/// [ExtKind::ZeroExtend]); loads with no extension necessary will ignore this.
|
568
|
+
pub(crate) fn load(
|
569
|
+
ty: Type,
|
570
|
+
from_addr: impl Into<SyntheticAmode>,
|
571
|
+
to_reg: Writable<Reg>,
|
572
|
+
ext_kind: ExtKind,
|
573
|
+
) -> Inst {
|
574
|
+
let rc = to_reg.to_reg().class();
|
575
|
+
match rc {
|
576
|
+
RegClass::Int => {
|
577
|
+
let ext_mode = match ty.bytes() {
|
578
|
+
1 => Some(ExtMode::BQ),
|
579
|
+
2 => Some(ExtMode::WQ),
|
580
|
+
4 => Some(ExtMode::LQ),
|
581
|
+
8 => None,
|
582
|
+
_ => unreachable!("the type should never use a scalar load: {}", ty),
|
583
|
+
};
|
584
|
+
if let Some(ext_mode) = ext_mode {
|
585
|
+
// Values smaller than 64 bits must be extended in some way.
|
586
|
+
match ext_kind {
|
587
|
+
ExtKind::SignExtend => {
|
588
|
+
Inst::movsx_rm_r(ext_mode, RegMem::mem(from_addr), to_reg)
|
589
|
+
}
|
590
|
+
ExtKind::ZeroExtend => {
|
591
|
+
Inst::movzx_rm_r(ext_mode, RegMem::mem(from_addr), to_reg)
|
592
|
+
}
|
593
|
+
ExtKind::None => panic!(
|
594
|
+
"expected an extension kind for extension mode: {:?}",
|
595
|
+
ext_mode
|
596
|
+
),
|
597
|
+
}
|
598
|
+
} else {
|
599
|
+
// 64-bit values can be moved directly.
|
600
|
+
Inst::mov64_m_r(from_addr, to_reg)
|
601
|
+
}
|
602
|
+
}
|
603
|
+
RegClass::Float => {
|
604
|
+
let opcode = match ty {
|
605
|
+
types::F32 => SseOpcode::Movss,
|
606
|
+
types::F64 => SseOpcode::Movsd,
|
607
|
+
types::F32X4 => SseOpcode::Movups,
|
608
|
+
types::F64X2 => SseOpcode::Movupd,
|
609
|
+
_ if ty.is_vector() && ty.bits() == 128 => SseOpcode::Movdqu,
|
610
|
+
_ => unimplemented!("unable to load type: {}", ty),
|
611
|
+
};
|
612
|
+
Inst::xmm_unary_rm_r(opcode, RegMem::mem(from_addr), to_reg)
|
613
|
+
}
|
614
|
+
RegClass::Vector => unreachable!(),
|
615
|
+
}
|
616
|
+
}
|
617
|
+
|
618
|
+
/// Choose which instruction to use for storing a register value to memory.
|
619
|
+
pub(crate) fn store(ty: Type, from_reg: Reg, to_addr: impl Into<SyntheticAmode>) -> Inst {
|
620
|
+
let rc = from_reg.class();
|
621
|
+
match rc {
|
622
|
+
RegClass::Int => Inst::mov_r_m(OperandSize::from_ty(ty), from_reg, to_addr),
|
623
|
+
RegClass::Float => {
|
624
|
+
let opcode = match ty {
|
625
|
+
types::F32 => SseOpcode::Movss,
|
626
|
+
types::F64 => SseOpcode::Movsd,
|
627
|
+
types::F32X4 => SseOpcode::Movups,
|
628
|
+
types::F64X2 => SseOpcode::Movupd,
|
629
|
+
_ if ty.is_vector() && ty.bits() == 128 => SseOpcode::Movdqu,
|
630
|
+
_ => unimplemented!("unable to store type: {}", ty),
|
631
|
+
};
|
632
|
+
Inst::xmm_mov_r_m(opcode, from_reg, to_addr)
|
633
|
+
}
|
634
|
+
RegClass::Vector => unreachable!(),
|
635
|
+
}
|
636
|
+
}
|
637
|
+
}
|
638
|
+
|
639
|
+
//=============================================================================
|
640
|
+
// Instructions: printing
|
641
|
+
|
642
|
+
impl PrettyPrint for Inst {
|
643
|
+
fn pretty_print(&self, _size: u8, allocs: &mut AllocationConsumer<'_>) -> String {
|
644
|
+
fn ljustify(s: String) -> String {
|
645
|
+
let w = 7;
|
646
|
+
if s.len() >= w {
|
647
|
+
s
|
648
|
+
} else {
|
649
|
+
let need = usize::min(w, w - s.len());
|
650
|
+
s + &format!("{nil: <width$}", nil = "", width = need)
|
651
|
+
}
|
652
|
+
}
|
653
|
+
|
654
|
+
fn ljustify2(s1: String, s2: String) -> String {
|
655
|
+
ljustify(s1 + &s2)
|
656
|
+
}
|
657
|
+
|
658
|
+
fn suffix_lq(size: OperandSize) -> String {
|
659
|
+
match size {
|
660
|
+
OperandSize::Size32 => "l",
|
661
|
+
OperandSize::Size64 => "q",
|
662
|
+
_ => unreachable!(),
|
663
|
+
}
|
664
|
+
.to_string()
|
665
|
+
}
|
666
|
+
|
667
|
+
#[allow(dead_code)]
|
668
|
+
fn suffix_lqb(size: OperandSize) -> String {
|
669
|
+
match size {
|
670
|
+
OperandSize::Size32 => "l",
|
671
|
+
OperandSize::Size64 => "q",
|
672
|
+
_ => unreachable!(),
|
673
|
+
}
|
674
|
+
.to_string()
|
675
|
+
}
|
676
|
+
|
677
|
+
fn suffix_bwlq(size: OperandSize) -> String {
|
678
|
+
match size {
|
679
|
+
OperandSize::Size8 => "b".to_string(),
|
680
|
+
OperandSize::Size16 => "w".to_string(),
|
681
|
+
OperandSize::Size32 => "l".to_string(),
|
682
|
+
OperandSize::Size64 => "q".to_string(),
|
683
|
+
}
|
684
|
+
}
|
685
|
+
|
686
|
+
match self {
|
687
|
+
Inst::Nop { len } => format!("{} len={}", ljustify("nop".to_string()), len),
|
688
|
+
|
689
|
+
Inst::AluRmiR {
|
690
|
+
size,
|
691
|
+
op,
|
692
|
+
src1,
|
693
|
+
src2,
|
694
|
+
dst,
|
695
|
+
} => {
|
696
|
+
let size_bytes = size.to_bytes();
|
697
|
+
let src1 = pretty_print_reg(src1.to_reg(), size_bytes, allocs);
|
698
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size_bytes, allocs);
|
699
|
+
let src2 = src2.pretty_print(size_bytes, allocs);
|
700
|
+
let op = ljustify2(op.to_string(), suffix_bwlq(*size));
|
701
|
+
format!("{op} {src1}, {src2}, {dst}")
|
702
|
+
}
|
703
|
+
Inst::AluConstOp { op, dst, size } => {
|
704
|
+
let size_bytes = size.to_bytes();
|
705
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size_bytes, allocs);
|
706
|
+
let op = ljustify2(op.to_string(), suffix_lqb(*size));
|
707
|
+
format!("{op} {dst}, {dst}, {dst}")
|
708
|
+
}
|
709
|
+
Inst::AluRM {
|
710
|
+
size,
|
711
|
+
op,
|
712
|
+
src1_dst,
|
713
|
+
src2,
|
714
|
+
} => {
|
715
|
+
let size_bytes = size.to_bytes();
|
716
|
+
let src2 = pretty_print_reg(src2.to_reg(), size_bytes, allocs);
|
717
|
+
let src1_dst = src1_dst.pretty_print(size_bytes, allocs);
|
718
|
+
let op = ljustify2(op.to_string(), suffix_bwlq(*size));
|
719
|
+
format!("{op} {src2}, {src1_dst}")
|
720
|
+
}
|
721
|
+
Inst::AluRmRVex {
|
722
|
+
size,
|
723
|
+
op,
|
724
|
+
src1,
|
725
|
+
src2,
|
726
|
+
dst,
|
727
|
+
} => {
|
728
|
+
let size_bytes = size.to_bytes();
|
729
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
730
|
+
let src1 = pretty_print_reg(src1.to_reg(), size_bytes, allocs);
|
731
|
+
let src2 = pretty_print_reg(src2.to_reg(), size_bytes, allocs);
|
732
|
+
let op = ljustify2(op.to_string(), String::new());
|
733
|
+
format!("{op} {src2}, {src1}, {dst}")
|
734
|
+
}
|
735
|
+
Inst::UnaryRmR { src, dst, op, size } => {
|
736
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
737
|
+
let src = src.pretty_print(size.to_bytes(), allocs);
|
738
|
+
let op = ljustify2(op.to_string(), suffix_bwlq(*size));
|
739
|
+
format!("{op} {src}, {dst}")
|
740
|
+
}
|
741
|
+
|
742
|
+
Inst::UnaryRmRVex { src, dst, op, size } => {
|
743
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
744
|
+
let src = src.pretty_print(size.to_bytes(), allocs);
|
745
|
+
let op = ljustify2(op.to_string(), suffix_bwlq(*size));
|
746
|
+
format!("{op} {src}, {dst}")
|
747
|
+
}
|
748
|
+
|
749
|
+
Inst::Not { size, src, dst } => {
|
750
|
+
let src = pretty_print_reg(src.to_reg(), size.to_bytes(), allocs);
|
751
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
752
|
+
let op = ljustify2("not".to_string(), suffix_bwlq(*size));
|
753
|
+
format!("{op} {src}, {dst}")
|
754
|
+
}
|
755
|
+
|
756
|
+
Inst::Neg { size, src, dst } => {
|
757
|
+
let src = pretty_print_reg(src.to_reg(), size.to_bytes(), allocs);
|
758
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
759
|
+
let op = ljustify2("neg".to_string(), suffix_bwlq(*size));
|
760
|
+
format!("{op} {src}, {dst}")
|
761
|
+
}
|
762
|
+
|
763
|
+
Inst::Div {
|
764
|
+
size,
|
765
|
+
sign,
|
766
|
+
trap,
|
767
|
+
divisor,
|
768
|
+
dividend_lo,
|
769
|
+
dividend_hi,
|
770
|
+
dst_quotient,
|
771
|
+
dst_remainder,
|
772
|
+
} => {
|
773
|
+
let divisor = divisor.pretty_print(size.to_bytes(), allocs);
|
774
|
+
let dividend_lo = pretty_print_reg(dividend_lo.to_reg(), size.to_bytes(), allocs);
|
775
|
+
let dividend_hi = pretty_print_reg(dividend_hi.to_reg(), size.to_bytes(), allocs);
|
776
|
+
let dst_quotient =
|
777
|
+
pretty_print_reg(dst_quotient.to_reg().to_reg(), size.to_bytes(), allocs);
|
778
|
+
let dst_remainder =
|
779
|
+
pretty_print_reg(dst_remainder.to_reg().to_reg(), size.to_bytes(), allocs);
|
780
|
+
let op = ljustify(match sign {
|
781
|
+
DivSignedness::Signed => "idiv".to_string(),
|
782
|
+
DivSignedness::Unsigned => "div".to_string(),
|
783
|
+
});
|
784
|
+
format!(
|
785
|
+
"{op} {dividend_lo}, {dividend_hi}, {divisor}, {dst_quotient}, {dst_remainder} ; trap={trap}"
|
786
|
+
)
|
787
|
+
}
|
788
|
+
|
789
|
+
Inst::Div8 {
|
790
|
+
sign,
|
791
|
+
trap,
|
792
|
+
divisor,
|
793
|
+
dividend,
|
794
|
+
dst,
|
795
|
+
} => {
|
796
|
+
let divisor = divisor.pretty_print(1, allocs);
|
797
|
+
let dividend = pretty_print_reg(dividend.to_reg(), 1, allocs);
|
798
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 1, allocs);
|
799
|
+
let op = ljustify(match sign {
|
800
|
+
DivSignedness::Signed => "idiv".to_string(),
|
801
|
+
DivSignedness::Unsigned => "div".to_string(),
|
802
|
+
});
|
803
|
+
format!("{op} {dividend}, {divisor}, {dst} ; trap={trap}")
|
804
|
+
}
|
805
|
+
|
806
|
+
Inst::MulHi {
|
807
|
+
size,
|
808
|
+
signed,
|
809
|
+
src1,
|
810
|
+
src2,
|
811
|
+
dst_lo,
|
812
|
+
dst_hi,
|
813
|
+
} => {
|
814
|
+
let src1 = pretty_print_reg(src1.to_reg(), size.to_bytes(), allocs);
|
815
|
+
let dst_lo = pretty_print_reg(dst_lo.to_reg().to_reg(), size.to_bytes(), allocs);
|
816
|
+
let dst_hi = pretty_print_reg(dst_hi.to_reg().to_reg(), size.to_bytes(), allocs);
|
817
|
+
let src2 = src2.pretty_print(size.to_bytes(), allocs);
|
818
|
+
let op = ljustify(if *signed {
|
819
|
+
"imul".to_string()
|
820
|
+
} else {
|
821
|
+
"mul".to_string()
|
822
|
+
});
|
823
|
+
format!("{op} {src1}, {src2}, {dst_lo}, {dst_hi}")
|
824
|
+
}
|
825
|
+
|
826
|
+
Inst::UMulLo {
|
827
|
+
size,
|
828
|
+
src1,
|
829
|
+
src2,
|
830
|
+
dst,
|
831
|
+
} => {
|
832
|
+
let src1 = pretty_print_reg(src1.to_reg(), size.to_bytes(), allocs);
|
833
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
834
|
+
let src2 = src2.pretty_print(size.to_bytes(), allocs);
|
835
|
+
let op = ljustify2("mul".to_string(), suffix_bwlq(*size));
|
836
|
+
format!("{op} {src1}, {src2}, {dst}")
|
837
|
+
}
|
838
|
+
|
839
|
+
Inst::CheckedSRemSeq {
|
840
|
+
size,
|
841
|
+
divisor,
|
842
|
+
dividend_lo,
|
843
|
+
dividend_hi,
|
844
|
+
dst_quotient,
|
845
|
+
dst_remainder,
|
846
|
+
} => {
|
847
|
+
let divisor = pretty_print_reg(divisor.to_reg(), size.to_bytes(), allocs);
|
848
|
+
let dividend_lo = pretty_print_reg(dividend_lo.to_reg(), size.to_bytes(), allocs);
|
849
|
+
let dividend_hi = pretty_print_reg(dividend_hi.to_reg(), size.to_bytes(), allocs);
|
850
|
+
let dst_quotient =
|
851
|
+
pretty_print_reg(dst_quotient.to_reg().to_reg(), size.to_bytes(), allocs);
|
852
|
+
let dst_remainder =
|
853
|
+
pretty_print_reg(dst_remainder.to_reg().to_reg(), size.to_bytes(), allocs);
|
854
|
+
format!(
|
855
|
+
"checked_srem_seq {dividend_lo}, {dividend_hi}, \
|
856
|
+
{divisor}, {dst_quotient}, {dst_remainder}",
|
857
|
+
)
|
858
|
+
}
|
859
|
+
|
860
|
+
Inst::CheckedSRemSeq8 {
|
861
|
+
divisor,
|
862
|
+
dividend,
|
863
|
+
dst,
|
864
|
+
} => {
|
865
|
+
let divisor = pretty_print_reg(divisor.to_reg(), 1, allocs);
|
866
|
+
let dividend = pretty_print_reg(dividend.to_reg(), 1, allocs);
|
867
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 1, allocs);
|
868
|
+
format!("checked_srem_seq {dividend}, {divisor}, {dst}")
|
869
|
+
}
|
870
|
+
|
871
|
+
Inst::SignExtendData { size, src, dst } => {
|
872
|
+
let src = pretty_print_reg(src.to_reg(), size.to_bytes(), allocs);
|
873
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
874
|
+
let op = match size {
|
875
|
+
OperandSize::Size8 => "cbw",
|
876
|
+
OperandSize::Size16 => "cwd",
|
877
|
+
OperandSize::Size32 => "cdq",
|
878
|
+
OperandSize::Size64 => "cqo",
|
879
|
+
};
|
880
|
+
format!("{op} {src}, {dst}")
|
881
|
+
}
|
882
|
+
|
883
|
+
Inst::XmmUnaryRmR { op, src, dst, .. } => {
|
884
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), op.src_size(), allocs);
|
885
|
+
let src = src.pretty_print(op.src_size(), allocs);
|
886
|
+
let op = ljustify(op.to_string());
|
887
|
+
format!("{op} {src}, {dst}")
|
888
|
+
}
|
889
|
+
|
890
|
+
Inst::XmmUnaryRmRUnaligned { op, src, dst, .. } => {
|
891
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), op.src_size(), allocs);
|
892
|
+
let src = src.pretty_print(op.src_size(), allocs);
|
893
|
+
let op = ljustify(op.to_string());
|
894
|
+
format!("{op} {src}, {dst}")
|
895
|
+
}
|
896
|
+
|
897
|
+
Inst::XmmUnaryRmRImm {
|
898
|
+
op, src, dst, imm, ..
|
899
|
+
} => {
|
900
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), op.src_size(), allocs);
|
901
|
+
let src = src.pretty_print(op.src_size(), allocs);
|
902
|
+
let op = ljustify(op.to_string());
|
903
|
+
format!("{op} ${imm}, {src}, {dst}")
|
904
|
+
}
|
905
|
+
|
906
|
+
Inst::XmmUnaryRmRVex { op, src, dst, .. } => {
|
907
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
908
|
+
let src = src.pretty_print(8, allocs);
|
909
|
+
let op = ljustify(op.to_string());
|
910
|
+
format!("{op} {src}, {dst}")
|
911
|
+
}
|
912
|
+
|
913
|
+
Inst::XmmUnaryRmRImmVex {
|
914
|
+
op, src, dst, imm, ..
|
915
|
+
} => {
|
916
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
917
|
+
let src = src.pretty_print(8, allocs);
|
918
|
+
let op = ljustify(op.to_string());
|
919
|
+
format!("{op} ${imm}, {src}, {dst}")
|
920
|
+
}
|
921
|
+
|
922
|
+
Inst::XmmUnaryRmREvex { op, src, dst, .. } => {
|
923
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
924
|
+
let src = src.pretty_print(8, allocs);
|
925
|
+
let op = ljustify(op.to_string());
|
926
|
+
format!("{op} {src}, {dst}")
|
927
|
+
}
|
928
|
+
|
929
|
+
Inst::XmmUnaryRmRImmEvex {
|
930
|
+
op, src, dst, imm, ..
|
931
|
+
} => {
|
932
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
933
|
+
let src = src.pretty_print(8, allocs);
|
934
|
+
let op = ljustify(op.to_string());
|
935
|
+
format!("{op} ${imm}, {src}, {dst}")
|
936
|
+
}
|
937
|
+
|
938
|
+
Inst::XmmMovRM { op, src, dst, .. } => {
|
939
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
940
|
+
let dst = dst.pretty_print(8, allocs);
|
941
|
+
let op = ljustify(op.to_string());
|
942
|
+
format!("{op} {src}, {dst}")
|
943
|
+
}
|
944
|
+
|
945
|
+
Inst::XmmMovRMVex { op, src, dst, .. } => {
|
946
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
947
|
+
let dst = dst.pretty_print(8, allocs);
|
948
|
+
let op = ljustify(op.to_string());
|
949
|
+
format!("{op} {src}, {dst}")
|
950
|
+
}
|
951
|
+
|
952
|
+
Inst::XmmMovRMImm {
|
953
|
+
op, src, dst, imm, ..
|
954
|
+
} => {
|
955
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
956
|
+
let dst = dst.pretty_print(8, allocs);
|
957
|
+
let op = ljustify(op.to_string());
|
958
|
+
format!("{op} ${imm}, {src}, {dst}")
|
959
|
+
}
|
960
|
+
|
961
|
+
Inst::XmmMovRMImmVex {
|
962
|
+
op, src, dst, imm, ..
|
963
|
+
} => {
|
964
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
965
|
+
let dst = dst.pretty_print(8, allocs);
|
966
|
+
let op = ljustify(op.to_string());
|
967
|
+
format!("{op} ${imm}, {src}, {dst}")
|
968
|
+
}
|
969
|
+
|
970
|
+
Inst::XmmRmR {
|
971
|
+
op,
|
972
|
+
src1,
|
973
|
+
src2,
|
974
|
+
dst,
|
975
|
+
..
|
976
|
+
} => {
|
977
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
978
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
979
|
+
let src2 = src2.pretty_print(8, allocs);
|
980
|
+
let op = ljustify(op.to_string());
|
981
|
+
format!("{op} {src1}, {src2}, {dst}")
|
982
|
+
}
|
983
|
+
|
984
|
+
Inst::XmmRmRUnaligned {
|
985
|
+
op,
|
986
|
+
src1,
|
987
|
+
src2,
|
988
|
+
dst,
|
989
|
+
..
|
990
|
+
} => {
|
991
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
992
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
993
|
+
let src2 = src2.pretty_print(8, allocs);
|
994
|
+
let op = ljustify(op.to_string());
|
995
|
+
format!("{op} {src1}, {src2}, {dst}")
|
996
|
+
}
|
997
|
+
|
998
|
+
Inst::XmmRmRBlend {
|
999
|
+
op,
|
1000
|
+
src1,
|
1001
|
+
src2,
|
1002
|
+
mask,
|
1003
|
+
dst,
|
1004
|
+
} => {
|
1005
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1006
|
+
let mask = allocs.next(mask.to_reg());
|
1007
|
+
let mask = if mask.is_virtual() {
|
1008
|
+
format!(" <{}>", show_ireg_sized(mask, 8))
|
1009
|
+
} else {
|
1010
|
+
debug_assert_eq!(mask, regs::xmm0());
|
1011
|
+
String::new()
|
1012
|
+
};
|
1013
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1014
|
+
let src2 = src2.pretty_print(8, allocs);
|
1015
|
+
let op = ljustify(op.to_string());
|
1016
|
+
format!("{op} {src1}, {src2}, {dst}{mask}")
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
Inst::XmmRmiRVex {
|
1020
|
+
op,
|
1021
|
+
src1,
|
1022
|
+
src2,
|
1023
|
+
dst,
|
1024
|
+
..
|
1025
|
+
} => {
|
1026
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1027
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1028
|
+
let src2 = src2.pretty_print(8, allocs);
|
1029
|
+
let op = ljustify(op.to_string());
|
1030
|
+
format!("{op} {src1}, {src2}, {dst}")
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
Inst::XmmRmRImmVex {
|
1034
|
+
op,
|
1035
|
+
src1,
|
1036
|
+
src2,
|
1037
|
+
dst,
|
1038
|
+
imm,
|
1039
|
+
..
|
1040
|
+
} => {
|
1041
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1042
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1043
|
+
let src2 = src2.pretty_print(8, allocs);
|
1044
|
+
let op = ljustify(op.to_string());
|
1045
|
+
format!("{op} ${imm}, {src1}, {src2}, {dst}")
|
1046
|
+
}
|
1047
|
+
|
1048
|
+
Inst::XmmVexPinsr {
|
1049
|
+
op,
|
1050
|
+
src1,
|
1051
|
+
src2,
|
1052
|
+
dst,
|
1053
|
+
imm,
|
1054
|
+
..
|
1055
|
+
} => {
|
1056
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1057
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1058
|
+
let src2 = src2.pretty_print(8, allocs);
|
1059
|
+
let op = ljustify(op.to_string());
|
1060
|
+
format!("{op} ${imm}, {src1}, {src2}, {dst}")
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
Inst::XmmRmRVex3 {
|
1064
|
+
op,
|
1065
|
+
src1,
|
1066
|
+
src2,
|
1067
|
+
src3,
|
1068
|
+
dst,
|
1069
|
+
..
|
1070
|
+
} => {
|
1071
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1072
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1073
|
+
let src2 = pretty_print_reg(src2.to_reg(), 8, allocs);
|
1074
|
+
let src3 = src3.pretty_print(8, allocs);
|
1075
|
+
let op = ljustify(op.to_string());
|
1076
|
+
format!("{op} {src1}, {src2}, {src3}, {dst}")
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
Inst::XmmRmRBlendVex {
|
1080
|
+
op,
|
1081
|
+
src1,
|
1082
|
+
src2,
|
1083
|
+
mask,
|
1084
|
+
dst,
|
1085
|
+
..
|
1086
|
+
} => {
|
1087
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1088
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1089
|
+
let src2 = src2.pretty_print(8, allocs);
|
1090
|
+
let mask = pretty_print_reg(mask.to_reg(), 8, allocs);
|
1091
|
+
let op = ljustify(op.to_string());
|
1092
|
+
format!("{op} {src1}, {src2}, {mask}, {dst}")
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
Inst::XmmRmREvex {
|
1096
|
+
op,
|
1097
|
+
src1,
|
1098
|
+
src2,
|
1099
|
+
dst,
|
1100
|
+
..
|
1101
|
+
} => {
|
1102
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1103
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1104
|
+
let src2 = src2.pretty_print(8, allocs);
|
1105
|
+
let op = ljustify(op.to_string());
|
1106
|
+
format!("{op} {src1}, {src2}, {dst}")
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
Inst::XmmRmREvex3 {
|
1110
|
+
op,
|
1111
|
+
src1,
|
1112
|
+
src2,
|
1113
|
+
src3,
|
1114
|
+
dst,
|
1115
|
+
..
|
1116
|
+
} => {
|
1117
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1118
|
+
let src2 = pretty_print_reg(src2.to_reg(), 8, allocs);
|
1119
|
+
let src3 = src3.pretty_print(8, allocs);
|
1120
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1121
|
+
let op = ljustify(op.to_string());
|
1122
|
+
format!("{op} {src1}, {src2}, {src3}, {dst}")
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
Inst::XmmMinMaxSeq {
|
1126
|
+
lhs,
|
1127
|
+
rhs,
|
1128
|
+
dst,
|
1129
|
+
is_min,
|
1130
|
+
size,
|
1131
|
+
} => {
|
1132
|
+
let rhs = pretty_print_reg(rhs.to_reg(), 8, allocs);
|
1133
|
+
let lhs = pretty_print_reg(lhs.to_reg(), 8, allocs);
|
1134
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1135
|
+
let op = ljustify2(
|
1136
|
+
if *is_min {
|
1137
|
+
"xmm min seq ".to_string()
|
1138
|
+
} else {
|
1139
|
+
"xmm max seq ".to_string()
|
1140
|
+
},
|
1141
|
+
format!("f{}", size.to_bits()),
|
1142
|
+
);
|
1143
|
+
format!("{op} {lhs}, {rhs}, {dst}")
|
1144
|
+
}
|
1145
|
+
|
1146
|
+
Inst::XmmRmRImm {
|
1147
|
+
op,
|
1148
|
+
src1,
|
1149
|
+
src2,
|
1150
|
+
dst,
|
1151
|
+
imm,
|
1152
|
+
size,
|
1153
|
+
..
|
1154
|
+
} => {
|
1155
|
+
let src1 = pretty_print_reg(*src1, 8, allocs);
|
1156
|
+
let dst = pretty_print_reg(dst.to_reg(), 8, allocs);
|
1157
|
+
let src2 = src2.pretty_print(8, allocs);
|
1158
|
+
let op = ljustify(format!(
|
1159
|
+
"{}{}",
|
1160
|
+
op.to_string(),
|
1161
|
+
if *size == OperandSize::Size64 {
|
1162
|
+
".w"
|
1163
|
+
} else {
|
1164
|
+
""
|
1165
|
+
}
|
1166
|
+
));
|
1167
|
+
format!("{op} ${imm}, {src1}, {src2}, {dst}")
|
1168
|
+
}
|
1169
|
+
|
1170
|
+
Inst::XmmUninitializedValue { dst } => {
|
1171
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1172
|
+
let op = ljustify("uninit".into());
|
1173
|
+
format!("{op} {dst}")
|
1174
|
+
}
|
1175
|
+
|
1176
|
+
Inst::XmmToGpr {
|
1177
|
+
op,
|
1178
|
+
src,
|
1179
|
+
dst,
|
1180
|
+
dst_size,
|
1181
|
+
} => {
|
1182
|
+
let dst_size = dst_size.to_bytes();
|
1183
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
1184
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size, allocs);
|
1185
|
+
let op = ljustify(op.to_string());
|
1186
|
+
format!("{op} {src}, {dst}")
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
Inst::XmmToGprVex {
|
1190
|
+
op,
|
1191
|
+
src,
|
1192
|
+
dst,
|
1193
|
+
dst_size,
|
1194
|
+
} => {
|
1195
|
+
let dst_size = dst_size.to_bytes();
|
1196
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
1197
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size, allocs);
|
1198
|
+
let op = ljustify(op.to_string());
|
1199
|
+
format!("{op} {src}, {dst}")
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
Inst::XmmToGprImm { op, src, dst, imm } => {
|
1203
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
1204
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1205
|
+
let op = ljustify(op.to_string());
|
1206
|
+
format!("{op} ${imm}, {src}, {dst}")
|
1207
|
+
}
|
1208
|
+
|
1209
|
+
Inst::XmmToGprImmVex { op, src, dst, imm } => {
|
1210
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
1211
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1212
|
+
let op = ljustify(op.to_string());
|
1213
|
+
format!("{op} ${imm}, {src}, {dst}")
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
Inst::GprToXmm {
|
1217
|
+
op,
|
1218
|
+
src,
|
1219
|
+
src_size,
|
1220
|
+
dst,
|
1221
|
+
} => {
|
1222
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1223
|
+
let src = src.pretty_print(src_size.to_bytes(), allocs);
|
1224
|
+
let op = ljustify(op.to_string());
|
1225
|
+
format!("{op} {src}, {dst}")
|
1226
|
+
}
|
1227
|
+
|
1228
|
+
Inst::GprToXmmVex {
|
1229
|
+
op,
|
1230
|
+
src,
|
1231
|
+
src_size,
|
1232
|
+
dst,
|
1233
|
+
} => {
|
1234
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1235
|
+
let src = src.pretty_print(src_size.to_bytes(), allocs);
|
1236
|
+
let op = ljustify(op.to_string());
|
1237
|
+
format!("{op} {src}, {dst}")
|
1238
|
+
}
|
1239
|
+
|
1240
|
+
Inst::XmmCmpRmR { op, src, dst } => {
|
1241
|
+
let dst = pretty_print_reg(dst.to_reg(), 8, allocs);
|
1242
|
+
let src = src.pretty_print(8, allocs);
|
1243
|
+
let op = ljustify(op.to_string());
|
1244
|
+
format!("{op} {src}, {dst}")
|
1245
|
+
}
|
1246
|
+
|
1247
|
+
Inst::CvtUint64ToFloatSeq {
|
1248
|
+
src,
|
1249
|
+
dst,
|
1250
|
+
dst_size,
|
1251
|
+
tmp_gpr1,
|
1252
|
+
tmp_gpr2,
|
1253
|
+
..
|
1254
|
+
} => {
|
1255
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
1256
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size.to_bytes(), allocs);
|
1257
|
+
let tmp_gpr1 = pretty_print_reg(tmp_gpr1.to_reg().to_reg(), 8, allocs);
|
1258
|
+
let tmp_gpr2 = pretty_print_reg(tmp_gpr2.to_reg().to_reg(), 8, allocs);
|
1259
|
+
let op = ljustify(format!(
|
1260
|
+
"u64_to_{}_seq",
|
1261
|
+
if *dst_size == OperandSize::Size64 {
|
1262
|
+
"f64"
|
1263
|
+
} else {
|
1264
|
+
"f32"
|
1265
|
+
}
|
1266
|
+
));
|
1267
|
+
format!("{op} {src}, {dst}, {tmp_gpr1}, {tmp_gpr2}")
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
Inst::CvtFloatToSintSeq {
|
1271
|
+
src,
|
1272
|
+
dst,
|
1273
|
+
src_size,
|
1274
|
+
dst_size,
|
1275
|
+
tmp_xmm,
|
1276
|
+
tmp_gpr,
|
1277
|
+
is_saturating,
|
1278
|
+
} => {
|
1279
|
+
let src = pretty_print_reg(src.to_reg(), src_size.to_bytes(), allocs);
|
1280
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size.to_bytes(), allocs);
|
1281
|
+
let tmp_gpr = pretty_print_reg(tmp_gpr.to_reg().to_reg(), 8, allocs);
|
1282
|
+
let tmp_xmm = pretty_print_reg(tmp_xmm.to_reg().to_reg(), 8, allocs);
|
1283
|
+
let op = ljustify(format!(
|
1284
|
+
"cvt_float{}_to_sint{}{}_seq",
|
1285
|
+
src_size.to_bits(),
|
1286
|
+
dst_size.to_bits(),
|
1287
|
+
if *is_saturating { "_sat" } else { "" },
|
1288
|
+
));
|
1289
|
+
format!("{op} {src}, {dst}, {tmp_gpr}, {tmp_xmm}")
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
Inst::CvtFloatToUintSeq {
|
1293
|
+
src,
|
1294
|
+
dst,
|
1295
|
+
src_size,
|
1296
|
+
dst_size,
|
1297
|
+
tmp_gpr,
|
1298
|
+
tmp_xmm,
|
1299
|
+
tmp_xmm2,
|
1300
|
+
is_saturating,
|
1301
|
+
} => {
|
1302
|
+
let src = pretty_print_reg(src.to_reg(), src_size.to_bytes(), allocs);
|
1303
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size.to_bytes(), allocs);
|
1304
|
+
let tmp_gpr = pretty_print_reg(tmp_gpr.to_reg().to_reg(), 8, allocs);
|
1305
|
+
let tmp_xmm = pretty_print_reg(tmp_xmm.to_reg().to_reg(), 8, allocs);
|
1306
|
+
let tmp_xmm2 = pretty_print_reg(tmp_xmm2.to_reg().to_reg(), 8, allocs);
|
1307
|
+
let op = ljustify(format!(
|
1308
|
+
"cvt_float{}_to_uint{}{}_seq",
|
1309
|
+
src_size.to_bits(),
|
1310
|
+
dst_size.to_bits(),
|
1311
|
+
if *is_saturating { "_sat" } else { "" },
|
1312
|
+
));
|
1313
|
+
format!("{op} {src}, {dst}, {tmp_gpr}, {tmp_xmm}, {tmp_xmm2}")
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
Inst::Imm {
|
1317
|
+
dst_size,
|
1318
|
+
simm64,
|
1319
|
+
dst,
|
1320
|
+
} => {
|
1321
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size.to_bytes(), allocs);
|
1322
|
+
if *dst_size == OperandSize::Size64 {
|
1323
|
+
let op = ljustify("movabsq".to_string());
|
1324
|
+
let imm = *simm64 as i64;
|
1325
|
+
format!("{op} ${imm}, {dst}")
|
1326
|
+
} else {
|
1327
|
+
let op = ljustify("movl".to_string());
|
1328
|
+
let imm = (*simm64 as u32) as i32;
|
1329
|
+
format!("{op} ${imm}, {dst}")
|
1330
|
+
}
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
Inst::MovImmM { size, simm64, dst } => {
|
1334
|
+
let dst = dst.pretty_print(size.to_bytes(), allocs);
|
1335
|
+
let suffix = suffix_bwlq(*size);
|
1336
|
+
let imm = match *size {
|
1337
|
+
OperandSize::Size8 => ((*simm64 as u8) as i8).to_string(),
|
1338
|
+
OperandSize::Size16 => ((*simm64 as u16) as i16).to_string(),
|
1339
|
+
OperandSize::Size32 => ((*simm64 as u32) as i32).to_string(),
|
1340
|
+
OperandSize::Size64 => (*simm64 as i64).to_string(),
|
1341
|
+
};
|
1342
|
+
let op = ljustify2("mov".to_string(), suffix);
|
1343
|
+
format!("{op} ${imm}, {dst}")
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
Inst::MovRR { size, src, dst } => {
|
1347
|
+
let src = pretty_print_reg(src.to_reg(), size.to_bytes(), allocs);
|
1348
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
1349
|
+
let op = ljustify2("mov".to_string(), suffix_lq(*size));
|
1350
|
+
format!("{op} {src}, {dst}")
|
1351
|
+
}
|
1352
|
+
|
1353
|
+
Inst::MovFromPReg { src, dst } => {
|
1354
|
+
allocs.next_fixed_nonallocatable(*src);
|
1355
|
+
let src: Reg = (*src).into();
|
1356
|
+
let src = regs::show_ireg_sized(src, 8);
|
1357
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1358
|
+
let op = ljustify("movq".to_string());
|
1359
|
+
format!("{op} {src}, {dst}")
|
1360
|
+
}
|
1361
|
+
|
1362
|
+
Inst::MovToPReg { src, dst } => {
|
1363
|
+
let src = pretty_print_reg(src.to_reg(), 8, allocs);
|
1364
|
+
allocs.next_fixed_nonallocatable(*dst);
|
1365
|
+
let dst: Reg = (*dst).into();
|
1366
|
+
let dst = regs::show_ireg_sized(dst, 8);
|
1367
|
+
let op = ljustify("movq".to_string());
|
1368
|
+
format!("{op} {src}, {dst}")
|
1369
|
+
}
|
1370
|
+
|
1371
|
+
Inst::MovzxRmR {
|
1372
|
+
ext_mode, src, dst, ..
|
1373
|
+
} => {
|
1374
|
+
let dst_size = if *ext_mode == ExtMode::LQ {
|
1375
|
+
4
|
1376
|
+
} else {
|
1377
|
+
ext_mode.dst_size()
|
1378
|
+
};
|
1379
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), dst_size, allocs);
|
1380
|
+
let src = src.pretty_print(ext_mode.src_size(), allocs);
|
1381
|
+
|
1382
|
+
if *ext_mode == ExtMode::LQ {
|
1383
|
+
let op = ljustify("movl".to_string());
|
1384
|
+
format!("{op} {src}, {dst}")
|
1385
|
+
} else {
|
1386
|
+
let op = ljustify2("movz".to_string(), ext_mode.to_string());
|
1387
|
+
format!("{op} {src}, {dst}")
|
1388
|
+
}
|
1389
|
+
}
|
1390
|
+
|
1391
|
+
Inst::Mov64MR { src, dst, .. } => {
|
1392
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1393
|
+
let src = src.pretty_print(8, allocs);
|
1394
|
+
let op = ljustify("movq".to_string());
|
1395
|
+
format!("{op} {src}, {dst}")
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
Inst::LoadEffectiveAddress { addr, dst, size } => {
|
1399
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
1400
|
+
let addr = addr.pretty_print(8, allocs);
|
1401
|
+
let op = ljustify("lea".to_string());
|
1402
|
+
format!("{op} {addr}, {dst}")
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
Inst::MovsxRmR {
|
1406
|
+
ext_mode, src, dst, ..
|
1407
|
+
} => {
|
1408
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), ext_mode.dst_size(), allocs);
|
1409
|
+
let src = src.pretty_print(ext_mode.src_size(), allocs);
|
1410
|
+
let op = ljustify2("movs".to_string(), ext_mode.to_string());
|
1411
|
+
format!("{op} {src}, {dst}")
|
1412
|
+
}
|
1413
|
+
|
1414
|
+
Inst::MovRM { size, src, dst, .. } => {
|
1415
|
+
let src = pretty_print_reg(src.to_reg(), size.to_bytes(), allocs);
|
1416
|
+
let dst = dst.pretty_print(size.to_bytes(), allocs);
|
1417
|
+
let op = ljustify2("mov".to_string(), suffix_bwlq(*size));
|
1418
|
+
format!("{op} {src}, {dst}")
|
1419
|
+
}
|
1420
|
+
|
1421
|
+
Inst::ShiftR {
|
1422
|
+
size,
|
1423
|
+
kind,
|
1424
|
+
num_bits,
|
1425
|
+
src,
|
1426
|
+
dst,
|
1427
|
+
..
|
1428
|
+
} => {
|
1429
|
+
let src = pretty_print_reg(src.to_reg(), size.to_bytes(), allocs);
|
1430
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
1431
|
+
match num_bits.clone().to_imm8_reg() {
|
1432
|
+
Imm8Reg::Reg { reg } => {
|
1433
|
+
let reg = pretty_print_reg(reg, 1, allocs);
|
1434
|
+
let op = ljustify2(kind.to_string(), suffix_bwlq(*size));
|
1435
|
+
format!("{op} {reg}, {src}, {dst}")
|
1436
|
+
}
|
1437
|
+
|
1438
|
+
Imm8Reg::Imm8 { imm: num_bits } => {
|
1439
|
+
let op = ljustify2(kind.to_string(), suffix_bwlq(*size));
|
1440
|
+
format!("{op} ${num_bits}, {src}, {dst}")
|
1441
|
+
}
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
Inst::XmmRmiReg {
|
1446
|
+
opcode,
|
1447
|
+
src1,
|
1448
|
+
src2,
|
1449
|
+
dst,
|
1450
|
+
..
|
1451
|
+
} => {
|
1452
|
+
let src1 = pretty_print_reg(src1.to_reg(), 8, allocs);
|
1453
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1454
|
+
let src2 = src2.pretty_print(8, allocs);
|
1455
|
+
let op = ljustify(opcode.to_string());
|
1456
|
+
format!("{op} {src1}, {src2}, {dst}")
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
Inst::CmpRmiR {
|
1460
|
+
size,
|
1461
|
+
src,
|
1462
|
+
dst,
|
1463
|
+
opcode,
|
1464
|
+
} => {
|
1465
|
+
let dst = pretty_print_reg(dst.to_reg(), size.to_bytes(), allocs);
|
1466
|
+
let src = src.pretty_print(size.to_bytes(), allocs);
|
1467
|
+
let op = match opcode {
|
1468
|
+
CmpOpcode::Cmp => "cmp",
|
1469
|
+
CmpOpcode::Test => "test",
|
1470
|
+
};
|
1471
|
+
let op = ljustify2(op.to_string(), suffix_bwlq(*size));
|
1472
|
+
format!("{op} {src}, {dst}")
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
Inst::Setcc { cc, dst } => {
|
1476
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 1, allocs);
|
1477
|
+
let op = ljustify2("set".to_string(), cc.to_string());
|
1478
|
+
format!("{op} {dst}")
|
1479
|
+
}
|
1480
|
+
|
1481
|
+
Inst::Bswap { size, src, dst } => {
|
1482
|
+
let src = pretty_print_reg(src.to_reg(), size.to_bytes(), allocs);
|
1483
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
1484
|
+
let op = ljustify2("bswap".to_string(), suffix_bwlq(*size));
|
1485
|
+
format!("{op} {src}, {dst}")
|
1486
|
+
}
|
1487
|
+
|
1488
|
+
Inst::Cmove {
|
1489
|
+
size,
|
1490
|
+
cc,
|
1491
|
+
consequent,
|
1492
|
+
alternative,
|
1493
|
+
dst,
|
1494
|
+
} => {
|
1495
|
+
let alternative = pretty_print_reg(alternative.to_reg(), size.to_bytes(), allocs);
|
1496
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size.to_bytes(), allocs);
|
1497
|
+
let consequent = consequent.pretty_print(size.to_bytes(), allocs);
|
1498
|
+
let op = ljustify(format!("cmov{}{}", cc.to_string(), suffix_bwlq(*size)));
|
1499
|
+
format!("{op} {consequent}, {alternative}, {dst}")
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
Inst::XmmCmove {
|
1503
|
+
ty,
|
1504
|
+
cc,
|
1505
|
+
consequent,
|
1506
|
+
alternative,
|
1507
|
+
dst,
|
1508
|
+
..
|
1509
|
+
} => {
|
1510
|
+
let size = u8::try_from(ty.bytes()).unwrap();
|
1511
|
+
let alternative = pretty_print_reg(alternative.to_reg(), size, allocs);
|
1512
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), size, allocs);
|
1513
|
+
let consequent = consequent.pretty_print(size, allocs);
|
1514
|
+
let suffix = match *ty {
|
1515
|
+
types::F64 => "sd",
|
1516
|
+
types::F32 => "ss",
|
1517
|
+
types::F32X4 => "aps",
|
1518
|
+
types::F64X2 => "apd",
|
1519
|
+
_ => "dqa",
|
1520
|
+
};
|
1521
|
+
let cc = cc.invert();
|
1522
|
+
format!(
|
1523
|
+
"mov{suffix} {alternative}, {dst}; \
|
1524
|
+
j{cc} $next; \
|
1525
|
+
mov{suffix} {consequent}, {dst}; \
|
1526
|
+
$next:"
|
1527
|
+
)
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
Inst::Push64 { src } => {
|
1531
|
+
let src = src.pretty_print(8, allocs);
|
1532
|
+
let op = ljustify("pushq".to_string());
|
1533
|
+
format!("{op} {src}")
|
1534
|
+
}
|
1535
|
+
|
1536
|
+
Inst::StackProbeLoop {
|
1537
|
+
tmp,
|
1538
|
+
frame_size,
|
1539
|
+
guard_size,
|
1540
|
+
} => {
|
1541
|
+
let tmp = pretty_print_reg(tmp.to_reg(), 8, allocs);
|
1542
|
+
let op = ljustify("stack_probe_loop".to_string());
|
1543
|
+
format!("{op} {tmp}, frame_size={frame_size}, guard_size={guard_size}")
|
1544
|
+
}
|
1545
|
+
|
1546
|
+
Inst::Pop64 { dst } => {
|
1547
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1548
|
+
let op = ljustify("popq".to_string());
|
1549
|
+
format!("{op} {dst}")
|
1550
|
+
}
|
1551
|
+
|
1552
|
+
Inst::CallKnown { dest, .. } => {
|
1553
|
+
let op = ljustify("call".to_string());
|
1554
|
+
format!("{op} {dest:?}")
|
1555
|
+
}
|
1556
|
+
|
1557
|
+
Inst::CallUnknown { dest, .. } => {
|
1558
|
+
let dest = dest.pretty_print(8, allocs);
|
1559
|
+
let op = ljustify("call".to_string());
|
1560
|
+
format!("{op} *{dest}")
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
Inst::Args { args } => {
|
1564
|
+
let mut s = "args".to_string();
|
1565
|
+
for arg in args {
|
1566
|
+
let preg = regs::show_reg(arg.preg);
|
1567
|
+
let def = pretty_print_reg(arg.vreg.to_reg(), 8, allocs);
|
1568
|
+
write!(&mut s, " {def}={preg}").unwrap();
|
1569
|
+
}
|
1570
|
+
s
|
1571
|
+
}
|
1572
|
+
|
1573
|
+
Inst::Ret {
|
1574
|
+
rets,
|
1575
|
+
stack_bytes_to_pop,
|
1576
|
+
} => {
|
1577
|
+
let mut s = "ret".to_string();
|
1578
|
+
if *stack_bytes_to_pop != 0 {
|
1579
|
+
write!(&mut s, " {stack_bytes_to_pop}").unwrap();
|
1580
|
+
}
|
1581
|
+
for ret in rets {
|
1582
|
+
let preg = regs::show_reg(ret.preg);
|
1583
|
+
let vreg = pretty_print_reg(ret.vreg, 8, allocs);
|
1584
|
+
write!(&mut s, " {vreg}={preg}").unwrap();
|
1585
|
+
}
|
1586
|
+
s
|
1587
|
+
}
|
1588
|
+
|
1589
|
+
Inst::JmpKnown { dst } => {
|
1590
|
+
let op = ljustify("jmp".to_string());
|
1591
|
+
let dst = dst.to_string();
|
1592
|
+
format!("{op} {dst}")
|
1593
|
+
}
|
1594
|
+
|
1595
|
+
Inst::JmpIf { cc, taken } => {
|
1596
|
+
let taken = taken.to_string();
|
1597
|
+
let op = ljustify2("j".to_string(), cc.to_string());
|
1598
|
+
format!("{op} {taken}")
|
1599
|
+
}
|
1600
|
+
|
1601
|
+
Inst::JmpCond {
|
1602
|
+
cc,
|
1603
|
+
taken,
|
1604
|
+
not_taken,
|
1605
|
+
} => {
|
1606
|
+
let taken = taken.to_string();
|
1607
|
+
let not_taken = not_taken.to_string();
|
1608
|
+
let op = ljustify2("j".to_string(), cc.to_string());
|
1609
|
+
format!("{op} {taken}; j {not_taken}")
|
1610
|
+
}
|
1611
|
+
|
1612
|
+
Inst::JmpTableSeq {
|
1613
|
+
idx, tmp1, tmp2, ..
|
1614
|
+
} => {
|
1615
|
+
let idx = pretty_print_reg(*idx, 8, allocs);
|
1616
|
+
let tmp1 = pretty_print_reg(tmp1.to_reg(), 8, allocs);
|
1617
|
+
let tmp2 = pretty_print_reg(tmp2.to_reg(), 8, allocs);
|
1618
|
+
let op = ljustify("br_table".into());
|
1619
|
+
format!("{op} {idx}, {tmp1}, {tmp2}")
|
1620
|
+
}
|
1621
|
+
|
1622
|
+
Inst::JmpUnknown { target } => {
|
1623
|
+
let target = target.pretty_print(8, allocs);
|
1624
|
+
let op = ljustify("jmp".to_string());
|
1625
|
+
format!("{op} *{target}")
|
1626
|
+
}
|
1627
|
+
|
1628
|
+
Inst::TrapIf { cc, trap_code, .. } => {
|
1629
|
+
format!("j{cc} #trap={trap_code}")
|
1630
|
+
}
|
1631
|
+
|
1632
|
+
Inst::TrapIfAnd {
|
1633
|
+
cc1,
|
1634
|
+
cc2,
|
1635
|
+
trap_code,
|
1636
|
+
..
|
1637
|
+
} => {
|
1638
|
+
let cc1 = cc1.invert();
|
1639
|
+
let cc2 = cc2.invert();
|
1640
|
+
format!("trap_if_and {cc1}, {cc2}, {trap_code}")
|
1641
|
+
}
|
1642
|
+
|
1643
|
+
Inst::TrapIfOr {
|
1644
|
+
cc1,
|
1645
|
+
cc2,
|
1646
|
+
trap_code,
|
1647
|
+
..
|
1648
|
+
} => {
|
1649
|
+
let cc2 = cc2.invert();
|
1650
|
+
format!("trap_if_or {cc1}, {cc2}, {trap_code}")
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
Inst::LoadExtName {
|
1654
|
+
dst, name, offset, ..
|
1655
|
+
} => {
|
1656
|
+
let dst = pretty_print_reg(dst.to_reg(), 8, allocs);
|
1657
|
+
let name = name.display(None);
|
1658
|
+
let op = ljustify("load_ext_name".into());
|
1659
|
+
format!("{op} {name}+{offset}, {dst}")
|
1660
|
+
}
|
1661
|
+
|
1662
|
+
Inst::LockCmpxchg {
|
1663
|
+
ty,
|
1664
|
+
replacement,
|
1665
|
+
expected,
|
1666
|
+
mem,
|
1667
|
+
dst_old,
|
1668
|
+
..
|
1669
|
+
} => {
|
1670
|
+
let size = ty.bytes() as u8;
|
1671
|
+
let replacement = pretty_print_reg(*replacement, size, allocs);
|
1672
|
+
let expected = pretty_print_reg(*expected, size, allocs);
|
1673
|
+
let dst_old = pretty_print_reg(dst_old.to_reg(), size, allocs);
|
1674
|
+
let mem = mem.pretty_print(size, allocs);
|
1675
|
+
let suffix = suffix_bwlq(OperandSize::from_bytes(size as u32));
|
1676
|
+
format!(
|
1677
|
+
"lock cmpxchg{suffix} {replacement}, {mem}, expected={expected}, dst_old={dst_old}"
|
1678
|
+
)
|
1679
|
+
}
|
1680
|
+
|
1681
|
+
Inst::AtomicRmwSeq { ty, op, .. } => {
|
1682
|
+
let ty = ty.bits();
|
1683
|
+
format!(
|
1684
|
+
"atomically {{ {ty}_bits_at_[%r9]) {op:?}= %r10; %rax = old_value_at_[%r9]; %r11, %rflags = trash }}"
|
1685
|
+
)
|
1686
|
+
}
|
1687
|
+
|
1688
|
+
Inst::Fence { kind } => match kind {
|
1689
|
+
FenceKind::MFence => "mfence".to_string(),
|
1690
|
+
FenceKind::LFence => "lfence".to_string(),
|
1691
|
+
FenceKind::SFence => "sfence".to_string(),
|
1692
|
+
},
|
1693
|
+
|
1694
|
+
Inst::VirtualSPOffsetAdj { offset } => format!("virtual_sp_offset_adjust {offset}"),
|
1695
|
+
|
1696
|
+
Inst::Hlt => "hlt".into(),
|
1697
|
+
|
1698
|
+
Inst::Ud2 { trap_code } => format!("ud2 {trap_code}"),
|
1699
|
+
|
1700
|
+
Inst::ElfTlsGetAddr { ref symbol, dst } => {
|
1701
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1702
|
+
format!("{dst} = elf_tls_get_addr {symbol:?}")
|
1703
|
+
}
|
1704
|
+
|
1705
|
+
Inst::MachOTlsGetAddr { ref symbol, dst } => {
|
1706
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1707
|
+
format!("{dst} = macho_tls_get_addr {symbol:?}")
|
1708
|
+
}
|
1709
|
+
|
1710
|
+
Inst::CoffTlsGetAddr {
|
1711
|
+
ref symbol,
|
1712
|
+
dst,
|
1713
|
+
tmp,
|
1714
|
+
} => {
|
1715
|
+
let dst = pretty_print_reg(dst.to_reg().to_reg(), 8, allocs);
|
1716
|
+
let tmp = allocs.next(tmp.to_reg().to_reg());
|
1717
|
+
|
1718
|
+
let mut s = format!("{dst} = coff_tls_get_addr {symbol:?}");
|
1719
|
+
if tmp.is_virtual() {
|
1720
|
+
let tmp = show_ireg_sized(tmp, 8);
|
1721
|
+
write!(&mut s, ", {tmp}").unwrap();
|
1722
|
+
};
|
1723
|
+
|
1724
|
+
s
|
1725
|
+
}
|
1726
|
+
|
1727
|
+
Inst::Unwind { inst } => format!("unwind {inst:?}"),
|
1728
|
+
|
1729
|
+
Inst::DummyUse { reg } => {
|
1730
|
+
let reg = pretty_print_reg(*reg, 8, allocs);
|
1731
|
+
format!("dummy_use {reg}")
|
1732
|
+
}
|
1733
|
+
}
|
1734
|
+
}
|
1735
|
+
}
|
1736
|
+
|
1737
|
+
impl fmt::Debug for Inst {
|
1738
|
+
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
1739
|
+
write!(
|
1740
|
+
fmt,
|
1741
|
+
"{}",
|
1742
|
+
self.pretty_print_inst(&[], &mut Default::default())
|
1743
|
+
)
|
1744
|
+
}
|
1745
|
+
}
|
1746
|
+
|
1747
|
+
fn x64_get_operands<F: Fn(VReg) -> VReg>(inst: &Inst, collector: &mut OperandCollector<'_, F>) {
|
1748
|
+
// FIXME: remove all remaining `mod` operands here to get to pure
|
1749
|
+
// SSA.
|
1750
|
+
|
1751
|
+
// Note: because we need to statically know the indices of each
|
1752
|
+
// reg in the operands list in order to fetch its allocation
|
1753
|
+
// later, we put the variable-operand-count bits (the RegMem,
|
1754
|
+
// RegMemImm, etc args) last. regalloc2 doesn't care what order
|
1755
|
+
// the operands come in; they can be freely reordered.
|
1756
|
+
|
1757
|
+
// N.B.: we MUST keep the below in careful sync with (i) emission,
|
1758
|
+
// in `emit.rs`, and (ii) pretty-printing, in the `pretty_print`
|
1759
|
+
// method above.
|
1760
|
+
match inst {
|
1761
|
+
Inst::AluRmiR {
|
1762
|
+
size,
|
1763
|
+
op,
|
1764
|
+
src1,
|
1765
|
+
src2,
|
1766
|
+
dst,
|
1767
|
+
..
|
1768
|
+
} => {
|
1769
|
+
if *size == OperandSize::Size8 && *op == AluRmiROpcode::Mul {
|
1770
|
+
// 8-bit imul has RAX as a fixed input/output
|
1771
|
+
collector.reg_fixed_use(src1.to_reg(), regs::rax());
|
1772
|
+
collector.reg_fixed_def(dst.to_writable_reg(), regs::rax());
|
1773
|
+
src2.get_operands(collector);
|
1774
|
+
} else {
|
1775
|
+
collector.reg_use(src1.to_reg());
|
1776
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
1777
|
+
src2.get_operands(collector);
|
1778
|
+
}
|
1779
|
+
}
|
1780
|
+
Inst::AluConstOp { dst, .. } => collector.reg_def(dst.to_writable_reg()),
|
1781
|
+
Inst::AluRM { src1_dst, src2, .. } => {
|
1782
|
+
collector.reg_use(src2.to_reg());
|
1783
|
+
src1_dst.get_operands(collector);
|
1784
|
+
}
|
1785
|
+
Inst::AluRmRVex {
|
1786
|
+
src1, src2, dst, ..
|
1787
|
+
} => {
|
1788
|
+
collector.reg_def(dst.to_writable_reg());
|
1789
|
+
collector.reg_use(src1.to_reg());
|
1790
|
+
collector.reg_use(src2.to_reg());
|
1791
|
+
}
|
1792
|
+
Inst::Not { src, dst, .. } => {
|
1793
|
+
collector.reg_use(src.to_reg());
|
1794
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
1795
|
+
}
|
1796
|
+
Inst::Neg { src, dst, .. } => {
|
1797
|
+
collector.reg_use(src.to_reg());
|
1798
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
1799
|
+
}
|
1800
|
+
Inst::Div {
|
1801
|
+
dividend_lo,
|
1802
|
+
dividend_hi,
|
1803
|
+
dst_quotient,
|
1804
|
+
dst_remainder,
|
1805
|
+
..
|
1806
|
+
}
|
1807
|
+
| Inst::CheckedSRemSeq {
|
1808
|
+
dividend_lo,
|
1809
|
+
dividend_hi,
|
1810
|
+
dst_quotient,
|
1811
|
+
dst_remainder,
|
1812
|
+
..
|
1813
|
+
} => {
|
1814
|
+
match inst {
|
1815
|
+
Inst::Div { divisor, .. } => divisor.get_operands(collector),
|
1816
|
+
Inst::CheckedSRemSeq { divisor, .. } => collector.reg_use(divisor.to_reg()),
|
1817
|
+
_ => {}
|
1818
|
+
}
|
1819
|
+
collector.reg_fixed_use(dividend_lo.to_reg(), regs::rax());
|
1820
|
+
collector.reg_fixed_use(dividend_hi.to_reg(), regs::rdx());
|
1821
|
+
collector.reg_fixed_def(dst_quotient.to_writable_reg(), regs::rax());
|
1822
|
+
collector.reg_fixed_def(dst_remainder.to_writable_reg(), regs::rdx());
|
1823
|
+
}
|
1824
|
+
Inst::Div8 { dividend, dst, .. } | Inst::CheckedSRemSeq8 { dividend, dst, .. } => {
|
1825
|
+
match inst {
|
1826
|
+
Inst::Div8 { divisor, .. } => divisor.get_operands(collector),
|
1827
|
+
Inst::CheckedSRemSeq8 { divisor, .. } => collector.reg_use(divisor.to_reg()),
|
1828
|
+
_ => {}
|
1829
|
+
}
|
1830
|
+
collector.reg_fixed_use(dividend.to_reg(), regs::rax());
|
1831
|
+
collector.reg_fixed_def(dst.to_writable_reg(), regs::rax());
|
1832
|
+
}
|
1833
|
+
Inst::MulHi {
|
1834
|
+
src1,
|
1835
|
+
src2,
|
1836
|
+
dst_lo,
|
1837
|
+
dst_hi,
|
1838
|
+
..
|
1839
|
+
} => {
|
1840
|
+
collector.reg_fixed_use(src1.to_reg(), regs::rax());
|
1841
|
+
collector.reg_fixed_def(dst_lo.to_writable_reg(), regs::rax());
|
1842
|
+
collector.reg_fixed_def(dst_hi.to_writable_reg(), regs::rdx());
|
1843
|
+
src2.get_operands(collector);
|
1844
|
+
}
|
1845
|
+
Inst::UMulLo {
|
1846
|
+
size,
|
1847
|
+
src1,
|
1848
|
+
src2,
|
1849
|
+
dst,
|
1850
|
+
..
|
1851
|
+
} => {
|
1852
|
+
collector.reg_fixed_use(src1.to_reg(), regs::rax());
|
1853
|
+
collector.reg_fixed_def(dst.to_writable_reg(), regs::rax());
|
1854
|
+
if *size != OperandSize::Size8 {
|
1855
|
+
collector.reg_clobbers(PRegSet::empty().with(regs::gpr_preg(regs::ENC_RDX)));
|
1856
|
+
}
|
1857
|
+
src2.get_operands(collector);
|
1858
|
+
}
|
1859
|
+
Inst::SignExtendData { size, src, dst } => {
|
1860
|
+
match size {
|
1861
|
+
OperandSize::Size8 => {
|
1862
|
+
// Note `rax` on both src and dest: 8->16 extend
|
1863
|
+
// does AL -> AX.
|
1864
|
+
collector.reg_fixed_use(src.to_reg(), regs::rax());
|
1865
|
+
collector.reg_fixed_def(dst.to_writable_reg(), regs::rax());
|
1866
|
+
}
|
1867
|
+
_ => {
|
1868
|
+
// All other widths do RAX -> RDX (AX -> DX:AX,
|
1869
|
+
// EAX -> EDX:EAX).
|
1870
|
+
collector.reg_fixed_use(src.to_reg(), regs::rax());
|
1871
|
+
collector.reg_fixed_def(dst.to_writable_reg(), regs::rdx());
|
1872
|
+
}
|
1873
|
+
}
|
1874
|
+
}
|
1875
|
+
Inst::UnaryRmR { src, dst, .. } | Inst::UnaryRmRVex { src, dst, .. } => {
|
1876
|
+
collector.reg_def(dst.to_writable_reg());
|
1877
|
+
src.get_operands(collector);
|
1878
|
+
}
|
1879
|
+
Inst::XmmUnaryRmR { src, dst, .. } | Inst::XmmUnaryRmRImm { src, dst, .. } => {
|
1880
|
+
collector.reg_def(dst.to_writable_reg());
|
1881
|
+
src.get_operands(collector);
|
1882
|
+
}
|
1883
|
+
Inst::XmmUnaryRmREvex { src, dst, .. }
|
1884
|
+
| Inst::XmmUnaryRmRImmEvex { src, dst, .. }
|
1885
|
+
| Inst::XmmUnaryRmRUnaligned { src, dst, .. }
|
1886
|
+
| Inst::XmmUnaryRmRVex { src, dst, .. }
|
1887
|
+
| Inst::XmmUnaryRmRImmVex { src, dst, .. } => {
|
1888
|
+
collector.reg_def(dst.to_writable_reg());
|
1889
|
+
src.get_operands(collector);
|
1890
|
+
}
|
1891
|
+
Inst::XmmRmR {
|
1892
|
+
src1, src2, dst, ..
|
1893
|
+
} => {
|
1894
|
+
collector.reg_use(src1.to_reg());
|
1895
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
1896
|
+
src2.get_operands(collector);
|
1897
|
+
}
|
1898
|
+
Inst::XmmRmRUnaligned {
|
1899
|
+
src1, src2, dst, ..
|
1900
|
+
} => {
|
1901
|
+
collector.reg_use(src1.to_reg());
|
1902
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
1903
|
+
src2.get_operands(collector);
|
1904
|
+
}
|
1905
|
+
Inst::XmmRmRBlend {
|
1906
|
+
src1,
|
1907
|
+
src2,
|
1908
|
+
mask,
|
1909
|
+
dst,
|
1910
|
+
op,
|
1911
|
+
} => {
|
1912
|
+
assert!(
|
1913
|
+
*op == SseOpcode::Blendvpd
|
1914
|
+
|| *op == SseOpcode::Blendvps
|
1915
|
+
|| *op == SseOpcode::Pblendvb
|
1916
|
+
);
|
1917
|
+
collector.reg_use(src1.to_reg());
|
1918
|
+
collector.reg_fixed_use(mask.to_reg(), regs::xmm0());
|
1919
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
1920
|
+
src2.get_operands(collector);
|
1921
|
+
}
|
1922
|
+
Inst::XmmRmiRVex {
|
1923
|
+
src1, src2, dst, ..
|
1924
|
+
} => {
|
1925
|
+
collector.reg_def(dst.to_writable_reg());
|
1926
|
+
collector.reg_use(src1.to_reg());
|
1927
|
+
src2.get_operands(collector);
|
1928
|
+
}
|
1929
|
+
Inst::XmmRmRImmVex {
|
1930
|
+
src1, src2, dst, ..
|
1931
|
+
} => {
|
1932
|
+
collector.reg_def(dst.to_writable_reg());
|
1933
|
+
collector.reg_use(src1.to_reg());
|
1934
|
+
src2.get_operands(collector);
|
1935
|
+
}
|
1936
|
+
Inst::XmmVexPinsr {
|
1937
|
+
src1, src2, dst, ..
|
1938
|
+
} => {
|
1939
|
+
collector.reg_def(dst.to_writable_reg());
|
1940
|
+
collector.reg_use(src1.to_reg());
|
1941
|
+
src2.get_operands(collector);
|
1942
|
+
}
|
1943
|
+
Inst::XmmRmRVex3 {
|
1944
|
+
src1,
|
1945
|
+
src2,
|
1946
|
+
src3,
|
1947
|
+
dst,
|
1948
|
+
..
|
1949
|
+
} => {
|
1950
|
+
collector.reg_use(src1.to_reg());
|
1951
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
1952
|
+
collector.reg_use(src2.to_reg());
|
1953
|
+
src3.get_operands(collector);
|
1954
|
+
}
|
1955
|
+
Inst::XmmRmRBlendVex {
|
1956
|
+
src1,
|
1957
|
+
src2,
|
1958
|
+
mask,
|
1959
|
+
dst,
|
1960
|
+
..
|
1961
|
+
} => {
|
1962
|
+
collector.reg_def(dst.to_writable_reg());
|
1963
|
+
collector.reg_use(src1.to_reg());
|
1964
|
+
src2.get_operands(collector);
|
1965
|
+
collector.reg_use(mask.to_reg());
|
1966
|
+
}
|
1967
|
+
Inst::XmmRmREvex {
|
1968
|
+
op,
|
1969
|
+
src1,
|
1970
|
+
src2,
|
1971
|
+
dst,
|
1972
|
+
..
|
1973
|
+
} => {
|
1974
|
+
assert_ne!(*op, Avx512Opcode::Vpermi2b);
|
1975
|
+
collector.reg_use(src1.to_reg());
|
1976
|
+
src2.get_operands(collector);
|
1977
|
+
collector.reg_def(dst.to_writable_reg());
|
1978
|
+
}
|
1979
|
+
Inst::XmmRmREvex3 {
|
1980
|
+
op,
|
1981
|
+
src1,
|
1982
|
+
src2,
|
1983
|
+
src3,
|
1984
|
+
dst,
|
1985
|
+
..
|
1986
|
+
} => {
|
1987
|
+
assert_eq!(*op, Avx512Opcode::Vpermi2b);
|
1988
|
+
collector.reg_use(src1.to_reg());
|
1989
|
+
collector.reg_use(src2.to_reg());
|
1990
|
+
src3.get_operands(collector);
|
1991
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0); // Reuse `src1`.
|
1992
|
+
}
|
1993
|
+
Inst::XmmRmRImm {
|
1994
|
+
src1, src2, dst, ..
|
1995
|
+
} => {
|
1996
|
+
collector.reg_use(*src1);
|
1997
|
+
collector.reg_reuse_def(*dst, 0);
|
1998
|
+
src2.get_operands(collector);
|
1999
|
+
}
|
2000
|
+
Inst::XmmUninitializedValue { dst } => collector.reg_def(dst.to_writable_reg()),
|
2001
|
+
Inst::XmmMinMaxSeq { lhs, rhs, dst, .. } => {
|
2002
|
+
collector.reg_use(rhs.to_reg());
|
2003
|
+
collector.reg_use(lhs.to_reg());
|
2004
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0); // Reuse RHS.
|
2005
|
+
}
|
2006
|
+
Inst::XmmRmiReg {
|
2007
|
+
src1, src2, dst, ..
|
2008
|
+
} => {
|
2009
|
+
collector.reg_use(src1.to_reg());
|
2010
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0); // Reuse RHS.
|
2011
|
+
src2.get_operands(collector);
|
2012
|
+
}
|
2013
|
+
Inst::XmmMovRM { src, dst, .. }
|
2014
|
+
| Inst::XmmMovRMVex { src, dst, .. }
|
2015
|
+
| Inst::XmmMovRMImm { src, dst, .. }
|
2016
|
+
| Inst::XmmMovRMImmVex { src, dst, .. } => {
|
2017
|
+
collector.reg_use(src.to_reg());
|
2018
|
+
dst.get_operands(collector);
|
2019
|
+
}
|
2020
|
+
Inst::XmmCmpRmR { src, dst, .. } => {
|
2021
|
+
collector.reg_use(dst.to_reg());
|
2022
|
+
src.get_operands(collector);
|
2023
|
+
}
|
2024
|
+
Inst::Imm { dst, .. } => {
|
2025
|
+
collector.reg_def(dst.to_writable_reg());
|
2026
|
+
}
|
2027
|
+
Inst::MovRR { src, dst, .. } => {
|
2028
|
+
collector.reg_use(src.to_reg());
|
2029
|
+
collector.reg_def(dst.to_writable_reg());
|
2030
|
+
}
|
2031
|
+
Inst::MovFromPReg { dst, src } => {
|
2032
|
+
debug_assert!(dst.to_reg().to_reg().is_virtual());
|
2033
|
+
collector.reg_fixed_nonallocatable(*src);
|
2034
|
+
collector.reg_def(dst.to_writable_reg());
|
2035
|
+
}
|
2036
|
+
Inst::MovToPReg { dst, src } => {
|
2037
|
+
debug_assert!(src.to_reg().is_virtual());
|
2038
|
+
collector.reg_use(src.to_reg());
|
2039
|
+
collector.reg_fixed_nonallocatable(*dst);
|
2040
|
+
}
|
2041
|
+
Inst::XmmToGpr { src, dst, .. }
|
2042
|
+
| Inst::XmmToGprVex { src, dst, .. }
|
2043
|
+
| Inst::XmmToGprImm { src, dst, .. }
|
2044
|
+
| Inst::XmmToGprImmVex { src, dst, .. } => {
|
2045
|
+
collector.reg_use(src.to_reg());
|
2046
|
+
collector.reg_def(dst.to_writable_reg());
|
2047
|
+
}
|
2048
|
+
Inst::GprToXmm { src, dst, .. } | Inst::GprToXmmVex { src, dst, .. } => {
|
2049
|
+
collector.reg_def(dst.to_writable_reg());
|
2050
|
+
src.get_operands(collector);
|
2051
|
+
}
|
2052
|
+
Inst::CvtUint64ToFloatSeq {
|
2053
|
+
src,
|
2054
|
+
dst,
|
2055
|
+
tmp_gpr1,
|
2056
|
+
tmp_gpr2,
|
2057
|
+
..
|
2058
|
+
} => {
|
2059
|
+
collector.reg_use(src.to_reg());
|
2060
|
+
collector.reg_early_def(dst.to_writable_reg());
|
2061
|
+
collector.reg_early_def(tmp_gpr1.to_writable_reg());
|
2062
|
+
collector.reg_early_def(tmp_gpr2.to_writable_reg());
|
2063
|
+
}
|
2064
|
+
Inst::CvtFloatToSintSeq {
|
2065
|
+
src,
|
2066
|
+
dst,
|
2067
|
+
tmp_xmm,
|
2068
|
+
tmp_gpr,
|
2069
|
+
..
|
2070
|
+
} => {
|
2071
|
+
collector.reg_use(src.to_reg());
|
2072
|
+
collector.reg_early_def(dst.to_writable_reg());
|
2073
|
+
collector.reg_early_def(tmp_gpr.to_writable_reg());
|
2074
|
+
collector.reg_early_def(tmp_xmm.to_writable_reg());
|
2075
|
+
}
|
2076
|
+
Inst::CvtFloatToUintSeq {
|
2077
|
+
src,
|
2078
|
+
dst,
|
2079
|
+
tmp_gpr,
|
2080
|
+
tmp_xmm,
|
2081
|
+
tmp_xmm2,
|
2082
|
+
..
|
2083
|
+
} => {
|
2084
|
+
collector.reg_use(src.to_reg());
|
2085
|
+
collector.reg_early_def(dst.to_writable_reg());
|
2086
|
+
collector.reg_early_def(tmp_gpr.to_writable_reg());
|
2087
|
+
collector.reg_early_def(tmp_xmm.to_writable_reg());
|
2088
|
+
collector.reg_early_def(tmp_xmm2.to_writable_reg());
|
2089
|
+
}
|
2090
|
+
|
2091
|
+
Inst::MovImmM { dst, .. } => {
|
2092
|
+
dst.get_operands(collector);
|
2093
|
+
}
|
2094
|
+
|
2095
|
+
Inst::MovzxRmR { src, dst, .. } => {
|
2096
|
+
collector.reg_def(dst.to_writable_reg());
|
2097
|
+
src.get_operands(collector);
|
2098
|
+
}
|
2099
|
+
Inst::Mov64MR { src, dst, .. } => {
|
2100
|
+
collector.reg_def(dst.to_writable_reg());
|
2101
|
+
src.get_operands(collector);
|
2102
|
+
}
|
2103
|
+
Inst::LoadEffectiveAddress { addr: src, dst, .. } => {
|
2104
|
+
collector.reg_def(dst.to_writable_reg());
|
2105
|
+
src.get_operands(collector);
|
2106
|
+
}
|
2107
|
+
Inst::MovsxRmR { src, dst, .. } => {
|
2108
|
+
collector.reg_def(dst.to_writable_reg());
|
2109
|
+
src.get_operands(collector);
|
2110
|
+
}
|
2111
|
+
Inst::MovRM { src, dst, .. } => {
|
2112
|
+
collector.reg_use(src.to_reg());
|
2113
|
+
dst.get_operands(collector);
|
2114
|
+
}
|
2115
|
+
Inst::ShiftR {
|
2116
|
+
num_bits, src, dst, ..
|
2117
|
+
} => {
|
2118
|
+
collector.reg_use(src.to_reg());
|
2119
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
2120
|
+
if let Imm8Reg::Reg { reg } = num_bits.clone().to_imm8_reg() {
|
2121
|
+
collector.reg_fixed_use(reg, regs::rcx());
|
2122
|
+
}
|
2123
|
+
}
|
2124
|
+
Inst::CmpRmiR { src, dst, .. } => {
|
2125
|
+
// N.B.: use, not def (cmp doesn't write its result).
|
2126
|
+
collector.reg_use(dst.to_reg());
|
2127
|
+
src.get_operands(collector);
|
2128
|
+
}
|
2129
|
+
Inst::Setcc { dst, .. } => {
|
2130
|
+
collector.reg_def(dst.to_writable_reg());
|
2131
|
+
}
|
2132
|
+
Inst::Bswap { src, dst, .. } => {
|
2133
|
+
collector.reg_use(src.to_reg());
|
2134
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
2135
|
+
}
|
2136
|
+
Inst::Cmove {
|
2137
|
+
consequent,
|
2138
|
+
alternative,
|
2139
|
+
dst,
|
2140
|
+
..
|
2141
|
+
} => {
|
2142
|
+
collector.reg_use(alternative.to_reg());
|
2143
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
2144
|
+
consequent.get_operands(collector);
|
2145
|
+
}
|
2146
|
+
Inst::XmmCmove {
|
2147
|
+
consequent,
|
2148
|
+
alternative,
|
2149
|
+
dst,
|
2150
|
+
..
|
2151
|
+
} => {
|
2152
|
+
collector.reg_use(alternative.to_reg());
|
2153
|
+
collector.reg_reuse_def(dst.to_writable_reg(), 0);
|
2154
|
+
consequent.get_operands(collector);
|
2155
|
+
}
|
2156
|
+
Inst::Push64 { src } => {
|
2157
|
+
src.get_operands(collector);
|
2158
|
+
}
|
2159
|
+
Inst::Pop64 { dst } => {
|
2160
|
+
collector.reg_def(dst.to_writable_reg());
|
2161
|
+
}
|
2162
|
+
Inst::StackProbeLoop { tmp, .. } => {
|
2163
|
+
collector.reg_early_def(*tmp);
|
2164
|
+
}
|
2165
|
+
|
2166
|
+
Inst::CallKnown { dest, ref info, .. } => {
|
2167
|
+
// Probestack is special and is only inserted after
|
2168
|
+
// regalloc, so we do not need to represent its ABI to the
|
2169
|
+
// register allocator. Assert that we don't alter that
|
2170
|
+
// arrangement.
|
2171
|
+
debug_assert_ne!(*dest, ExternalName::LibCall(LibCall::Probestack));
|
2172
|
+
for u in &info.uses {
|
2173
|
+
collector.reg_fixed_use(u.vreg, u.preg);
|
2174
|
+
}
|
2175
|
+
for d in &info.defs {
|
2176
|
+
collector.reg_fixed_def(d.vreg, d.preg);
|
2177
|
+
}
|
2178
|
+
collector.reg_clobbers(info.clobbers);
|
2179
|
+
}
|
2180
|
+
|
2181
|
+
Inst::CallUnknown { ref info, dest, .. } => {
|
2182
|
+
dest.get_operands(collector);
|
2183
|
+
for u in &info.uses {
|
2184
|
+
collector.reg_fixed_use(u.vreg, u.preg);
|
2185
|
+
}
|
2186
|
+
for d in &info.defs {
|
2187
|
+
collector.reg_fixed_def(d.vreg, d.preg);
|
2188
|
+
}
|
2189
|
+
collector.reg_clobbers(info.clobbers);
|
2190
|
+
}
|
2191
|
+
|
2192
|
+
Inst::JmpTableSeq {
|
2193
|
+
ref idx,
|
2194
|
+
ref tmp1,
|
2195
|
+
ref tmp2,
|
2196
|
+
..
|
2197
|
+
} => {
|
2198
|
+
collector.reg_use(*idx);
|
2199
|
+
collector.reg_early_def(*tmp1);
|
2200
|
+
// In the sequence emitted for this pseudoinstruction in emit.rs,
|
2201
|
+
// tmp2 is only written after idx is read, so it doesn't need to be
|
2202
|
+
// an early def.
|
2203
|
+
collector.reg_def(*tmp2);
|
2204
|
+
}
|
2205
|
+
|
2206
|
+
Inst::JmpUnknown { target } => {
|
2207
|
+
target.get_operands(collector);
|
2208
|
+
}
|
2209
|
+
|
2210
|
+
Inst::LoadExtName { dst, .. } => {
|
2211
|
+
collector.reg_def(*dst);
|
2212
|
+
}
|
2213
|
+
|
2214
|
+
Inst::LockCmpxchg {
|
2215
|
+
replacement,
|
2216
|
+
expected,
|
2217
|
+
mem,
|
2218
|
+
dst_old,
|
2219
|
+
..
|
2220
|
+
} => {
|
2221
|
+
collector.reg_use(*replacement);
|
2222
|
+
collector.reg_fixed_use(*expected, regs::rax());
|
2223
|
+
collector.reg_fixed_def(*dst_old, regs::rax());
|
2224
|
+
mem.get_operands(collector);
|
2225
|
+
}
|
2226
|
+
|
2227
|
+
Inst::AtomicRmwSeq {
|
2228
|
+
operand,
|
2229
|
+
temp,
|
2230
|
+
dst_old,
|
2231
|
+
mem,
|
2232
|
+
..
|
2233
|
+
} => {
|
2234
|
+
collector.reg_late_use(*operand);
|
2235
|
+
collector.reg_early_def(*temp);
|
2236
|
+
// This `fixed_def` is needed because `CMPXCHG` always uses this
|
2237
|
+
// register implicitly.
|
2238
|
+
collector.reg_fixed_def(*dst_old, regs::rax());
|
2239
|
+
mem.get_operands_late(collector)
|
2240
|
+
}
|
2241
|
+
|
2242
|
+
Inst::Args { args } => {
|
2243
|
+
for arg in args {
|
2244
|
+
collector.reg_fixed_def(arg.vreg, arg.preg);
|
2245
|
+
}
|
2246
|
+
}
|
2247
|
+
|
2248
|
+
Inst::Ret {
|
2249
|
+
rets,
|
2250
|
+
stack_bytes_to_pop: _,
|
2251
|
+
} => {
|
2252
|
+
// The return value(s) are live-out; we represent this
|
2253
|
+
// with register uses on the return instruction.
|
2254
|
+
for ret in rets.iter() {
|
2255
|
+
collector.reg_fixed_use(ret.vreg, ret.preg);
|
2256
|
+
}
|
2257
|
+
}
|
2258
|
+
|
2259
|
+
Inst::JmpKnown { .. }
|
2260
|
+
| Inst::JmpIf { .. }
|
2261
|
+
| Inst::JmpCond { .. }
|
2262
|
+
| Inst::Nop { .. }
|
2263
|
+
| Inst::TrapIf { .. }
|
2264
|
+
| Inst::TrapIfAnd { .. }
|
2265
|
+
| Inst::TrapIfOr { .. }
|
2266
|
+
| Inst::VirtualSPOffsetAdj { .. }
|
2267
|
+
| Inst::Hlt
|
2268
|
+
| Inst::Ud2 { .. }
|
2269
|
+
| Inst::Fence { .. } => {
|
2270
|
+
// No registers are used.
|
2271
|
+
}
|
2272
|
+
|
2273
|
+
Inst::ElfTlsGetAddr { dst, .. } | Inst::MachOTlsGetAddr { dst, .. } => {
|
2274
|
+
collector.reg_fixed_def(dst.to_writable_reg(), regs::rax());
|
2275
|
+
// All caller-saves are clobbered.
|
2276
|
+
//
|
2277
|
+
// We use the SysV calling convention here because the
|
2278
|
+
// pseudoinstruction (and relocation that it emits) is specific to
|
2279
|
+
// ELF systems; other x86-64 targets with other conventions (i.e.,
|
2280
|
+
// Windows) use different TLS strategies.
|
2281
|
+
let mut clobbers = X64ABIMachineSpec::get_regs_clobbered_by_call(CallConv::SystemV);
|
2282
|
+
clobbers.remove(regs::gpr_preg(regs::ENC_RAX));
|
2283
|
+
collector.reg_clobbers(clobbers);
|
2284
|
+
}
|
2285
|
+
|
2286
|
+
Inst::CoffTlsGetAddr { dst, tmp, .. } => {
|
2287
|
+
// We also use the gs register. But that register is not allocatable by the
|
2288
|
+
// register allocator, so we don't need to mark it as used here.
|
2289
|
+
|
2290
|
+
// We use %rax to set the address
|
2291
|
+
collector.reg_fixed_def(dst.to_writable_reg(), regs::rax());
|
2292
|
+
|
2293
|
+
// We use %rcx as a temporary variable to load the _tls_index
|
2294
|
+
collector.reg_fixed_def(tmp.to_writable_reg(), regs::rcx());
|
2295
|
+
}
|
2296
|
+
|
2297
|
+
Inst::Unwind { .. } => {}
|
2298
|
+
|
2299
|
+
Inst::DummyUse { reg } => {
|
2300
|
+
collector.reg_use(*reg);
|
2301
|
+
}
|
2302
|
+
}
|
2303
|
+
}
|
2304
|
+
|
2305
|
+
//=============================================================================
|
2306
|
+
// Instructions: misc functions and external interface
|
2307
|
+
|
2308
|
+
impl MachInst for Inst {
|
2309
|
+
type ABIMachineSpec = X64ABIMachineSpec;
|
2310
|
+
|
2311
|
+
fn get_operands<F: Fn(VReg) -> VReg>(&self, collector: &mut OperandCollector<'_, F>) {
|
2312
|
+
x64_get_operands(&self, collector)
|
2313
|
+
}
|
2314
|
+
|
2315
|
+
fn is_move(&self) -> Option<(Writable<Reg>, Reg)> {
|
2316
|
+
match self {
|
2317
|
+
// Note (carefully!) that a 32-bit mov *isn't* a no-op since it zeroes
|
2318
|
+
// out the upper 32 bits of the destination. For example, we could
|
2319
|
+
// conceivably use `movl %reg, %reg` to zero out the top 32 bits of
|
2320
|
+
// %reg.
|
2321
|
+
Self::MovRR { size, src, dst, .. } if *size == OperandSize::Size64 => {
|
2322
|
+
Some((dst.to_writable_reg(), src.to_reg()))
|
2323
|
+
}
|
2324
|
+
// Note as well that MOVS[S|D] when used in the `XmmUnaryRmR` context are pure moves of
|
2325
|
+
// scalar floating-point values (and annotate `dst` as `def`s to the register allocator)
|
2326
|
+
// whereas the same operation in a packed context, e.g. `XMM_RM_R`, is used to merge a
|
2327
|
+
// value into the lowest lane of a vector (not a move).
|
2328
|
+
Self::XmmUnaryRmR { op, src, dst, .. }
|
2329
|
+
if *op == SseOpcode::Movss
|
2330
|
+
|| *op == SseOpcode::Movsd
|
2331
|
+
|| *op == SseOpcode::Movaps
|
2332
|
+
|| *op == SseOpcode::Movapd
|
2333
|
+
|| *op == SseOpcode::Movups
|
2334
|
+
|| *op == SseOpcode::Movupd
|
2335
|
+
|| *op == SseOpcode::Movdqa
|
2336
|
+
|| *op == SseOpcode::Movdqu =>
|
2337
|
+
{
|
2338
|
+
if let RegMem::Reg { reg } = src.clone().to_reg_mem() {
|
2339
|
+
Some((dst.to_writable_reg(), reg))
|
2340
|
+
} else {
|
2341
|
+
None
|
2342
|
+
}
|
2343
|
+
}
|
2344
|
+
_ => None,
|
2345
|
+
}
|
2346
|
+
}
|
2347
|
+
|
2348
|
+
fn is_included_in_clobbers(&self) -> bool {
|
2349
|
+
match self {
|
2350
|
+
&Inst::Args { .. } => false,
|
2351
|
+
_ => true,
|
2352
|
+
}
|
2353
|
+
}
|
2354
|
+
|
2355
|
+
fn is_trap(&self) -> bool {
|
2356
|
+
match self {
|
2357
|
+
Self::Ud2 { .. } => true,
|
2358
|
+
_ => false,
|
2359
|
+
}
|
2360
|
+
}
|
2361
|
+
|
2362
|
+
fn is_args(&self) -> bool {
|
2363
|
+
match self {
|
2364
|
+
Self::Args { .. } => true,
|
2365
|
+
_ => false,
|
2366
|
+
}
|
2367
|
+
}
|
2368
|
+
|
2369
|
+
fn is_term(&self) -> MachTerminator {
|
2370
|
+
match self {
|
2371
|
+
// Interesting cases.
|
2372
|
+
&Self::Ret { .. } => MachTerminator::Ret,
|
2373
|
+
&Self::JmpKnown { .. } => MachTerminator::Uncond,
|
2374
|
+
&Self::JmpCond { .. } => MachTerminator::Cond,
|
2375
|
+
&Self::JmpTableSeq { .. } => MachTerminator::Indirect,
|
2376
|
+
// All other cases are boring.
|
2377
|
+
_ => MachTerminator::None,
|
2378
|
+
}
|
2379
|
+
}
|
2380
|
+
|
2381
|
+
fn gen_move(dst_reg: Writable<Reg>, src_reg: Reg, ty: Type) -> Inst {
|
2382
|
+
trace!(
|
2383
|
+
"Inst::gen_move {:?} -> {:?} (type: {:?})",
|
2384
|
+
src_reg,
|
2385
|
+
dst_reg.to_reg(),
|
2386
|
+
ty
|
2387
|
+
);
|
2388
|
+
let rc_dst = dst_reg.to_reg().class();
|
2389
|
+
let rc_src = src_reg.class();
|
2390
|
+
// If this isn't true, we have gone way off the rails.
|
2391
|
+
debug_assert!(rc_dst == rc_src);
|
2392
|
+
match rc_dst {
|
2393
|
+
RegClass::Int => Inst::mov_r_r(OperandSize::Size64, src_reg, dst_reg),
|
2394
|
+
RegClass::Float => {
|
2395
|
+
// The Intel optimization manual, in "3.5.1.13 Zero-Latency MOV Instructions",
|
2396
|
+
// doesn't include MOVSS/MOVSD as instructions with zero-latency. Use movaps for
|
2397
|
+
// those, which may write more lanes that we need, but are specified to have
|
2398
|
+
// zero-latency.
|
2399
|
+
let opcode = match ty {
|
2400
|
+
types::F32 | types::F64 | types::F32X4 => SseOpcode::Movaps,
|
2401
|
+
types::F64X2 => SseOpcode::Movapd,
|
2402
|
+
_ if ty.is_vector() && ty.bits() == 128 => SseOpcode::Movdqa,
|
2403
|
+
_ => unimplemented!("unable to move type: {}", ty),
|
2404
|
+
};
|
2405
|
+
Inst::xmm_unary_rm_r(opcode, RegMem::reg(src_reg), dst_reg)
|
2406
|
+
}
|
2407
|
+
RegClass::Vector => unreachable!(),
|
2408
|
+
}
|
2409
|
+
}
|
2410
|
+
|
2411
|
+
fn gen_nop(preferred_size: usize) -> Inst {
|
2412
|
+
Inst::nop(std::cmp::min(preferred_size, 15) as u8)
|
2413
|
+
}
|
2414
|
+
|
2415
|
+
fn rc_for_type(ty: Type) -> CodegenResult<(&'static [RegClass], &'static [Type])> {
|
2416
|
+
match ty {
|
2417
|
+
types::I8 => Ok((&[RegClass::Int], &[types::I8])),
|
2418
|
+
types::I16 => Ok((&[RegClass::Int], &[types::I16])),
|
2419
|
+
types::I32 => Ok((&[RegClass::Int], &[types::I32])),
|
2420
|
+
types::I64 => Ok((&[RegClass::Int], &[types::I64])),
|
2421
|
+
types::R32 => panic!("32-bit reftype pointer should never be seen on x86-64"),
|
2422
|
+
types::R64 => Ok((&[RegClass::Int], &[types::R64])),
|
2423
|
+
types::F32 => Ok((&[RegClass::Float], &[types::F32])),
|
2424
|
+
types::F64 => Ok((&[RegClass::Float], &[types::F64])),
|
2425
|
+
types::I128 => Ok((&[RegClass::Int, RegClass::Int], &[types::I64, types::I64])),
|
2426
|
+
_ if ty.is_vector() => {
|
2427
|
+
assert!(ty.bits() <= 128);
|
2428
|
+
Ok((&[RegClass::Float], &[types::I8X16]))
|
2429
|
+
}
|
2430
|
+
_ => Err(CodegenError::Unsupported(format!(
|
2431
|
+
"Unexpected SSA-value type: {}",
|
2432
|
+
ty
|
2433
|
+
))),
|
2434
|
+
}
|
2435
|
+
}
|
2436
|
+
|
2437
|
+
fn canonical_type_for_rc(rc: RegClass) -> Type {
|
2438
|
+
match rc {
|
2439
|
+
RegClass::Float => types::I8X16,
|
2440
|
+
RegClass::Int => types::I64,
|
2441
|
+
RegClass::Vector => unreachable!(),
|
2442
|
+
}
|
2443
|
+
}
|
2444
|
+
|
2445
|
+
fn gen_jump(label: MachLabel) -> Inst {
|
2446
|
+
Inst::jmp_known(label)
|
2447
|
+
}
|
2448
|
+
|
2449
|
+
fn gen_imm_u64(value: u64, dst: Writable<Reg>) -> Option<Self> {
|
2450
|
+
Some(Inst::imm(OperandSize::Size64, value, dst))
|
2451
|
+
}
|
2452
|
+
|
2453
|
+
fn gen_imm_f64(value: f64, tmp: Writable<Reg>, dst: Writable<Reg>) -> SmallVec<[Self; 2]> {
|
2454
|
+
let imm_to_gpr = Inst::imm(OperandSize::Size64, value.to_bits(), tmp);
|
2455
|
+
let gpr_to_xmm = Self::gpr_to_xmm(
|
2456
|
+
SseOpcode::Movd,
|
2457
|
+
tmp.to_reg().into(),
|
2458
|
+
OperandSize::Size64,
|
2459
|
+
dst,
|
2460
|
+
);
|
2461
|
+
smallvec![imm_to_gpr, gpr_to_xmm]
|
2462
|
+
}
|
2463
|
+
|
2464
|
+
fn gen_dummy_use(reg: Reg) -> Self {
|
2465
|
+
Inst::DummyUse { reg }
|
2466
|
+
}
|
2467
|
+
|
2468
|
+
fn worst_case_size() -> CodeOffset {
|
2469
|
+
15
|
2470
|
+
}
|
2471
|
+
|
2472
|
+
fn ref_type_regclass(_: &settings::Flags) -> RegClass {
|
2473
|
+
RegClass::Int
|
2474
|
+
}
|
2475
|
+
|
2476
|
+
fn is_safepoint(&self) -> bool {
|
2477
|
+
match self {
|
2478
|
+
Inst::CallKnown { .. }
|
2479
|
+
| Inst::CallUnknown { .. }
|
2480
|
+
| Inst::TrapIf { .. }
|
2481
|
+
| Inst::Ud2 { .. } => true,
|
2482
|
+
_ => false,
|
2483
|
+
}
|
2484
|
+
}
|
2485
|
+
|
2486
|
+
fn function_alignment() -> FunctionAlignment {
|
2487
|
+
FunctionAlignment {
|
2488
|
+
minimum: 1,
|
2489
|
+
// Prefer an alignment of 16-bytes to hypothetically get the whole
|
2490
|
+
// function into a minimum number of lines.
|
2491
|
+
preferred: 16,
|
2492
|
+
}
|
2493
|
+
}
|
2494
|
+
|
2495
|
+
type LabelUse = LabelUse;
|
2496
|
+
|
2497
|
+
const TRAP_OPCODE: &'static [u8] = &[0x0f, 0x0b];
|
2498
|
+
}
|
2499
|
+
|
2500
|
+
/// State carried between emissions of a sequence of instructions.
|
2501
|
+
#[derive(Default, Clone, Debug)]
|
2502
|
+
pub struct EmitState {
|
2503
|
+
/// Addend to convert nominal-SP offsets to real-SP offsets at the current
|
2504
|
+
/// program point.
|
2505
|
+
pub(crate) virtual_sp_offset: i64,
|
2506
|
+
/// Offset of FP from nominal-SP.
|
2507
|
+
pub(crate) nominal_sp_to_fp: i64,
|
2508
|
+
/// Safepoint stack map for upcoming instruction, as provided to `pre_safepoint()`.
|
2509
|
+
stack_map: Option<StackMap>,
|
2510
|
+
/// Current source location.
|
2511
|
+
cur_srcloc: RelSourceLoc,
|
2512
|
+
/// Only used during fuzz-testing. Otherwise, it is a zero-sized struct and
|
2513
|
+
/// optimized away at compiletime. See [cranelift_control].
|
2514
|
+
ctrl_plane: ControlPlane,
|
2515
|
+
}
|
2516
|
+
|
2517
|
+
/// Constant state used during emissions of a sequence of instructions.
|
2518
|
+
pub struct EmitInfo {
|
2519
|
+
pub(super) flags: settings::Flags,
|
2520
|
+
isa_flags: x64_settings::Flags,
|
2521
|
+
}
|
2522
|
+
|
2523
|
+
impl EmitInfo {
|
2524
|
+
/// Create a constant state for emission of instructions.
|
2525
|
+
pub fn new(flags: settings::Flags, isa_flags: x64_settings::Flags) -> Self {
|
2526
|
+
Self { flags, isa_flags }
|
2527
|
+
}
|
2528
|
+
}
|
2529
|
+
|
2530
|
+
impl MachInstEmit for Inst {
|
2531
|
+
type State = EmitState;
|
2532
|
+
type Info = EmitInfo;
|
2533
|
+
|
2534
|
+
fn emit(
|
2535
|
+
&self,
|
2536
|
+
allocs: &[Allocation],
|
2537
|
+
sink: &mut MachBuffer<Inst>,
|
2538
|
+
info: &Self::Info,
|
2539
|
+
state: &mut Self::State,
|
2540
|
+
) {
|
2541
|
+
let mut allocs = AllocationConsumer::new(allocs);
|
2542
|
+
emit::emit(self, &mut allocs, sink, info, state);
|
2543
|
+
}
|
2544
|
+
|
2545
|
+
fn pretty_print_inst(&self, allocs: &[Allocation], _: &mut Self::State) -> String {
|
2546
|
+
PrettyPrint::pretty_print(self, 0, &mut AllocationConsumer::new(allocs))
|
2547
|
+
}
|
2548
|
+
}
|
2549
|
+
|
2550
|
+
impl MachInstEmitState<Inst> for EmitState {
|
2551
|
+
fn new(abi: &Callee<X64ABIMachineSpec>, ctrl_plane: ControlPlane) -> Self {
|
2552
|
+
EmitState {
|
2553
|
+
virtual_sp_offset: 0,
|
2554
|
+
nominal_sp_to_fp: abi.frame_size() as i64,
|
2555
|
+
stack_map: None,
|
2556
|
+
cur_srcloc: Default::default(),
|
2557
|
+
ctrl_plane,
|
2558
|
+
}
|
2559
|
+
}
|
2560
|
+
|
2561
|
+
fn pre_safepoint(&mut self, stack_map: StackMap) {
|
2562
|
+
self.stack_map = Some(stack_map);
|
2563
|
+
}
|
2564
|
+
|
2565
|
+
fn pre_sourceloc(&mut self, srcloc: RelSourceLoc) {
|
2566
|
+
self.cur_srcloc = srcloc;
|
2567
|
+
}
|
2568
|
+
|
2569
|
+
fn ctrl_plane_mut(&mut self) -> &mut ControlPlane {
|
2570
|
+
&mut self.ctrl_plane
|
2571
|
+
}
|
2572
|
+
|
2573
|
+
fn take_ctrl_plane(self) -> ControlPlane {
|
2574
|
+
self.ctrl_plane
|
2575
|
+
}
|
2576
|
+
}
|
2577
|
+
|
2578
|
+
impl EmitState {
|
2579
|
+
fn take_stack_map(&mut self) -> Option<StackMap> {
|
2580
|
+
self.stack_map.take()
|
2581
|
+
}
|
2582
|
+
|
2583
|
+
fn clear_post_insn(&mut self) {
|
2584
|
+
self.stack_map = None;
|
2585
|
+
}
|
2586
|
+
}
|
2587
|
+
|
2588
|
+
/// A label-use (internal relocation) in generated code.
|
2589
|
+
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
2590
|
+
pub enum LabelUse {
|
2591
|
+
/// A 32-bit offset from location of relocation itself, added to the existing value at that
|
2592
|
+
/// location. Used for control flow instructions which consider an offset from the start of the
|
2593
|
+
/// next instruction (so the size of the payload -- 4 bytes -- is subtracted from the payload).
|
2594
|
+
JmpRel32,
|
2595
|
+
|
2596
|
+
/// A 32-bit offset from location of relocation itself, added to the existing value at that
|
2597
|
+
/// location.
|
2598
|
+
PCRel32,
|
2599
|
+
}
|
2600
|
+
|
2601
|
+
impl MachInstLabelUse for LabelUse {
|
2602
|
+
const ALIGN: CodeOffset = 1;
|
2603
|
+
|
2604
|
+
fn max_pos_range(self) -> CodeOffset {
|
2605
|
+
match self {
|
2606
|
+
LabelUse::JmpRel32 | LabelUse::PCRel32 => 0x7fff_ffff,
|
2607
|
+
}
|
2608
|
+
}
|
2609
|
+
|
2610
|
+
fn max_neg_range(self) -> CodeOffset {
|
2611
|
+
match self {
|
2612
|
+
LabelUse::JmpRel32 | LabelUse::PCRel32 => 0x8000_0000,
|
2613
|
+
}
|
2614
|
+
}
|
2615
|
+
|
2616
|
+
fn patch_size(self) -> CodeOffset {
|
2617
|
+
match self {
|
2618
|
+
LabelUse::JmpRel32 | LabelUse::PCRel32 => 4,
|
2619
|
+
}
|
2620
|
+
}
|
2621
|
+
|
2622
|
+
fn patch(self, buffer: &mut [u8], use_offset: CodeOffset, label_offset: CodeOffset) {
|
2623
|
+
let pc_rel = (label_offset as i64) - (use_offset as i64);
|
2624
|
+
debug_assert!(pc_rel <= self.max_pos_range() as i64);
|
2625
|
+
debug_assert!(pc_rel >= -(self.max_neg_range() as i64));
|
2626
|
+
let pc_rel = pc_rel as u32;
|
2627
|
+
match self {
|
2628
|
+
LabelUse::JmpRel32 => {
|
2629
|
+
let addend = u32::from_le_bytes([buffer[0], buffer[1], buffer[2], buffer[3]]);
|
2630
|
+
let value = pc_rel.wrapping_add(addend).wrapping_sub(4);
|
2631
|
+
buffer.copy_from_slice(&value.to_le_bytes()[..]);
|
2632
|
+
}
|
2633
|
+
LabelUse::PCRel32 => {
|
2634
|
+
let addend = u32::from_le_bytes([buffer[0], buffer[1], buffer[2], buffer[3]]);
|
2635
|
+
let value = pc_rel.wrapping_add(addend);
|
2636
|
+
buffer.copy_from_slice(&value.to_le_bytes()[..]);
|
2637
|
+
}
|
2638
|
+
}
|
2639
|
+
}
|
2640
|
+
|
2641
|
+
fn supports_veneer(self) -> bool {
|
2642
|
+
match self {
|
2643
|
+
LabelUse::JmpRel32 | LabelUse::PCRel32 => false,
|
2644
|
+
}
|
2645
|
+
}
|
2646
|
+
|
2647
|
+
fn veneer_size(self) -> CodeOffset {
|
2648
|
+
match self {
|
2649
|
+
LabelUse::JmpRel32 | LabelUse::PCRel32 => 0,
|
2650
|
+
}
|
2651
|
+
}
|
2652
|
+
|
2653
|
+
fn generate_veneer(self, _: &mut [u8], _: CodeOffset) -> (CodeOffset, LabelUse) {
|
2654
|
+
match self {
|
2655
|
+
LabelUse::JmpRel32 | LabelUse::PCRel32 => {
|
2656
|
+
panic!("Veneer not supported for JumpRel32 label-use.");
|
2657
|
+
}
|
2658
|
+
}
|
2659
|
+
}
|
2660
|
+
|
2661
|
+
fn from_reloc(reloc: Reloc, addend: Addend) -> Option<Self> {
|
2662
|
+
match (reloc, addend) {
|
2663
|
+
(Reloc::X86CallPCRel4, -4) => Some(LabelUse::JmpRel32),
|
2664
|
+
_ => None,
|
2665
|
+
}
|
2666
|
+
}
|
2667
|
+
}
|