wasmtime 19.0.2 → 20.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +116 -120
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/anyhow-1.0.83/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/anyhow-1.0.83/Cargo.toml +130 -0
- data/ext/cargo-vendor/anyhow-1.0.83/README.md +181 -0
- data/ext/cargo-vendor/anyhow-1.0.83/build.rs +179 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/backtrace.rs +406 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/chain.rs +102 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/fmt.rs +158 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/kind.rs +121 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/lib.rs +702 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/macros.rs +241 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/wrapper.rs +84 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_ensure.rs +724 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_macros.rs +81 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_repr.rs +30 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/ui/no-impl.stderr +32 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +178 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +396 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +403 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/bitset.rs +187 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +386 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +838 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/inst_predicates.rs +236 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/constant.rs +462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/dfg.rs +1777 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/entities.rs +562 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/function.rs +490 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +1019 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/memflags.rs +452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/mod.rs +108 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/trapcode.rs +149 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/types.rs +629 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +1707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +3932 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +3083 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +4218 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +884 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower.isle +2933 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/mod.rs +242 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +565 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/call_conv.rs +127 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +1109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +1968 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +3466 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/encode.rs +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +2944 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +625 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +2872 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +1047 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +347 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +3646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst.isle +5033 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/lower.isle +3995 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +1369 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/evex.rs +748 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/rex.rs +596 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/vex.rs +491 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +2289 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +4383 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_state.rs +74 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +2798 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +5304 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +1066 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +4809 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +339 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/mod.rs +234 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +1003 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/legalizer/mod.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +2594 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/buffer.rs +2512 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/inst_common.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +914 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +1452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +555 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/pcc.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +1807 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/cprop.isle +281 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/spectre.isle +14 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts.rs +295 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/prelude.isle +646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/result.rs +111 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/verifier/mod.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/write.rs +631 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/entities.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/formats.rs +205 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/instructions.rs +3791 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +69 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +45 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +107 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +3683 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +912 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/mod.rs +8 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +945 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/func_translator.rs +296 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/lib.rs +58 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/state.rs +522 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/table.rs +104 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +48 -0
- data/ext/cargo-vendor/mach2-0.4.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/mach2-0.4.2/Cargo.toml +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-BSD +23 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/mach2-0.4.2/README.md +116 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/exc.rs +73 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/kern_return.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/lib.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/mach_port.rs +50 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/message.rs +345 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/ndr.rs +19 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/port.rs +67 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/semaphore.rs +22 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/structs.rs +66 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/sync_policy.rs +9 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task.rs +46 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task_info.rs +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_act.rs +36 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_policy.rs +121 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_status.rs +53 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/traps.rs +37 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm.rs +248 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_attributes.rs +18 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_page_size.rs +40 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_prot.rs +13 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_purgable.rs +42 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_region.rs +238 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_statistics.rs +58 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_sync.rs +11 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_types.rs +19 -0
- data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +797 -0
- data/ext/cargo-vendor/object-0.33.0/Cargo.toml +179 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/object-0.33.0/README.md +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/archive.rs +91 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +141 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +3033 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/error.rs +41 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/mod.rs +18 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/table.rs +128 -0
- data/ext/cargo-vendor/object-0.33.0/src/common.rs +568 -0
- data/ext/cargo-vendor/object-0.33.0/src/elf.rs +6291 -0
- data/ext/cargo-vendor/object-0.33.0/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.33.0/src/lib.rs +107 -0
- data/ext/cargo-vendor/object-0.33.0/src/macho.rs +3309 -0
- data/ext/cargo-vendor/object-0.33.0/src/pe.rs +3056 -0
- data/ext/cargo-vendor/object-0.33.0/src/pod.rs +239 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +1328 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +759 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +211 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +383 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/import.rs +223 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/mod.rs +66 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +108 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +585 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +635 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +306 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +162 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/compression.rs +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/dynamic.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +918 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +224 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/mod.rs +78 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +271 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +629 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +1150 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +356 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +595 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +424 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +345 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/fat.rs +140 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +783 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +386 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/mod.rs +72 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/relocation.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +389 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +303 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +492 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +880 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/data_directory.rs +214 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/export.rs +334 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +1053 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +339 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/mod.rs +68 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/resource.rs +210 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/rich.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +440 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +213 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_ref.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +551 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/util.rs +425 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +966 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/comdat.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +697 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/mod.rs +63 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +433 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/segment.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +784 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/mod.rs +10 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +678 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +518 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/mod.rs +9 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +885 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +2309 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +1107 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +990 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +847 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/string.rs +186 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/util.rs +261 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +589 -0
- data/ext/cargo-vendor/object-0.33.0/src/xcoff.rs +905 -0
- data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +2 -0
- data/ext/cargo-vendor/object-0.33.0/tests/parse_self.rs +25 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/coff.rs +23 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/elf.rs +47 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +4 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +255 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/coff.rs +58 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +225 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +245 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +289 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/macho.rs +64 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +704 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +90 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +316 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/Cargo.toml +220 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/lib.rs +193 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/snapshots/preview_1.rs +1497 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/async_.rs +293 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/sync.rs +279 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/builder.rs +455 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/exports.rs +124 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/imports.rs +175 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/code.rs +3595 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/elements.rs +221 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/exports.rs +98 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/globals.rs +112 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/imports.rs +157 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/memories.rs +128 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/names.rs +298 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/producers.rs +181 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tables.rs +134 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tags.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +744 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +66 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +549 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +4076 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +4449 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +45 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +3202 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +1131 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +279 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/Cargo.toml +268 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/code_builder.rs +201 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile.rs +897 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/config.rs +2695 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine/serialization.rs +849 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine.rs +741 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/lib.rs +303 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/code_memory.rs +335 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/component.rs +661 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/host.rs +439 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/options.rs +554 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/typed.rs +2484 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func.rs +747 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/instance.rs +804 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/linker.rs +786 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/mod.rs +756 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/resources.rs +1133 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/types.rs +892 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/values.rs +978 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/coredump.rs +336 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/global.rs +300 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func/typed.rs +898 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func.rs +2633 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/anyref.rs +46 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/externref.rs +50 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/i31.rs +14 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/rooting.rs +222 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled.rs +17 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/anyref.rs +472 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/externref.rs +644 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/i31.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/rooting.rs +1543 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled.rs +12 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc.rs +87 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instantiate.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/linker.rs +1521 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/memory.rs +999 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module/registry.rs +354 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/profiling.rs +224 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store/data.rs +289 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store.rs +2796 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/func.rs +138 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/global.rs +68 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/memory.rs +286 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/table.rs +34 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trap.rs +641 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/type_registry.rs +632 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types/matching.rs +367 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types.rs +1378 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/v128.rs +131 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/values.rs +945 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime.rs +112 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/dead-code.wit +27 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen.rs +342 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/Cargo.toml +114 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/builder.rs +127 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiled_function.rs +225 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler/component.rs +962 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler.rs +1369 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/address_transform.rs +783 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/func_environ.rs +2672 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/disabled.rs +116 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/enabled.rs +649 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc.rs +198 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/lib.rs +505 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/obj.rs +545 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.lock +782 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.toml +144 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/address_map.rs +125 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/builtin.rs +184 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/address_map.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/mod.rs +389 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/module_artifacts.rs +300 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/trap_encoding.rs +69 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/artifacts.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/compiler.rs +19 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/adapt.rs +459 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/inline.rs +1332 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/types.rs +1972 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component.rs +103 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/trampoline.rs +3233 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/transcode.rs +89 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact.rs +711 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/gc.rs +60 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/lib.rs +70 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module.rs +780 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_artifacts.rs +145 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_environ.rs +1288 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/obj.rs +173 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/trap_encoding.rs +188 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/tunables.rs +158 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/vmoffsets.rs +952 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/Cargo.toml +147 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/build.rs +24 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/aarch64.rs +76 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/riscv64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.S +70 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.rs +34 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/x86_64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/async_yield.rs +35 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component.rs +860 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/drc.rs +963 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/externref.rs +115 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/free_list.rs +767 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled.rs +18 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_ref.rs +486 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_runtime.rs +503 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/host_data.rs +81 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/i31.rs +86 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc.rs +244 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/on_demand.rs +217 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/gc_heap_pool.rs +92 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/table_pool.rs +231 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling.rs +699 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator.rs +780 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance.rs +1566 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/lib.rs +289 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/libcalls.rs +777 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/memory.rs +751 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/send_sync_ptr.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/mmap.rs +111 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/traphandlers.rs +55 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/miri/mmap.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/machports.rs +416 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/mmap.rs +151 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/signals.rs +401 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/windows/traphandlers.rs +104 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/table.rs +851 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/mod.rs +12 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory.rs +230 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory_disabled.rs +100 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_disabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_enabled.rs +40 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers.rs +785 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/vmcontext.rs +1293 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/src/lib.rs +493 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +832 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/Cargo.toml +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/bindings.rs +283 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ctx.rs +659 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/filesystem.rs +433 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem/sync.rs +518 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem.rs +1079 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/io.rs +367 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/network.rs +539 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/tcp.rs +306 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ip_name_lookup.rs +126 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/lib.rs +404 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/network.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/pipe.rs +826 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/poll.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview0.rs +879 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview1.rs +2601 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio/worker_thread_stdin.rs +177 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio.rs +507 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/tcp.rs +847 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/udp.rs +125 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/write_stream.rs +203 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/api.rs +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/preview1.rs +251 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/sync.rs +333 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/wit/deps/io/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/builder.rs +85 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/compiler.rs +257 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/lib.rs +2213 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/rust.rs +421 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/types.rs +202 -0
- data/ext/cargo-vendor/wast-208.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-208.0.1/Cargo.toml +60 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/binary.rs +1000 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/resolve.rs +1007 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/types.rs +999 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/wast.rs +160 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/binary.rs +1396 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/expr.rs +2016 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/func.rs +136 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/memory.rs +284 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/deinline_import_export.rs +235 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/names.rs +751 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/types.rs +267 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/table.rs +302 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/types.rs +901 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/wast.rs +256 -0
- data/ext/cargo-vendor/wast-208.0.1/src/lib.rs +551 -0
- data/ext/cargo-vendor/wast-208.0.1/src/names.rs +67 -0
- data/ext/cargo-vendor/wast-208.0.1/src/parser.rs +1377 -0
- data/ext/cargo-vendor/wast-208.0.1/src/token.rs +737 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wast.rs +459 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wat.rs +71 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/annotations.rs +200 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/parse-fail.rs +80 -0
- data/ext/cargo-vendor/wat-1.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.208.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wiggle-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-20.0.0/Cargo.toml +122 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/borrow.rs +113 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/guest_type.rs +237 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/lib.rs +1184 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/wasmtime.rs +97 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/abi/mod.rs +671 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/bounds.rs +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/builtin.rs +263 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/call.rs +413 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/env.rs +435 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/mod.rs +756 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/abi.rs +291 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/asm.rs +252 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/masm.rs +573 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/mod.rs +154 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/regs.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/mod.rs +223 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/abi.rs +517 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/masm.rs +1256 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/mod.rs +169 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/lib.rs +19 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/masm.rs +947 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/visitor.rs +2149 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/abi.rs +309 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/lex.rs +747 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +1443 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast.rs +1348 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +1764 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +765 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +2240 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/serde_.rs +108 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/sizealign.rs +179 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/all.rs +153 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit.json +166 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit +20 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit.json +281 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit +60 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit.json +774 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/wasi.wit +178 -0
- data/ext/src/ruby_api/convert.rs +15 -7
- data/ext/src/ruby_api/func.rs +2 -2
- data/ext/src/ruby_api/global.rs +2 -2
- data/ext/src/ruby_api/params.rs +5 -5
- data/ext/src/ruby_api/table.rs +3 -3
- data/lib/wasmtime/version.rb +1 -1
- metadata +1737 -1630
- data/ext/cargo-vendor/anyhow-1.0.79/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/anyhow-1.0.79/Cargo.toml +0 -67
- data/ext/cargo-vendor/anyhow-1.0.79/README.md +0 -179
- data/ext/cargo-vendor/anyhow-1.0.79/build.rs +0 -167
- data/ext/cargo-vendor/anyhow-1.0.79/src/backtrace.rs +0 -405
- data/ext/cargo-vendor/anyhow-1.0.79/src/chain.rs +0 -102
- data/ext/cargo-vendor/anyhow-1.0.79/src/fmt.rs +0 -156
- data/ext/cargo-vendor/anyhow-1.0.79/src/kind.rs +0 -119
- data/ext/cargo-vendor/anyhow-1.0.79/src/lib.rs +0 -698
- data/ext/cargo-vendor/anyhow-1.0.79/src/macros.rs +0 -231
- data/ext/cargo-vendor/anyhow-1.0.79/src/wrapper.rs +0 -81
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_ensure.rs +0 -722
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_macros.rs +0 -80
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_repr.rs +0 -31
- data/ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/Cargo.toml +0 -175
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/build.rs +0 -395
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/alias_analysis.rs +0 -409
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/bitset.rs +0 -165
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/context.rs +0 -384
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph/elaborate.rs +0 -836
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph.rs +0 -702
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/inst_predicates.rs +0 -217
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/constant.rs +0 -462
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/dfg.rs +0 -1734
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/entities.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/function.rs +0 -500
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/instructions.rs +0 -1000
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/memflags.rs +0 -310
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/mod.rs +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/table.rs +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/trapcode.rs +0 -144
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/types.rs +0 -629
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/abi.rs +0 -1707
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/emit.rs +0 -3958
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/mod.rs +0 -3082
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst.isle +0 -4197
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower/isle.rs +0 -879
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower.isle +0 -2917
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/mod.rs +0 -241
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/pcc.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/call_conv.rs +0 -119
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/abi.rs +0 -1097
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/args.rs +0 -1974
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/emit.rs +0 -3485
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/encode.rs +0 -654
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst.isle +0 -2928
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower/isle.rs +0 -620
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower.isle +0 -2864
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/abi.rs +0 -1041
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/args.rs +0 -355
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/emit.rs +0 -3663
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst.isle +0 -5031
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/lower.isle +0 -3979
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/abi.rs +0 -1303
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/evex.rs +0 -749
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/rex.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/vex.rs +0 -492
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/args.rs +0 -2269
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit.rs +0 -4390
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit_state.rs +0 -72
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/mod.rs +0 -2852
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst.isle +0 -5232
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower/isle.rs +0 -1065
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.isle +0 -4770
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.rs +0 -353
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/mod.rs +0 -233
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/pcc.rs +0 -939
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/mod.rs +0 -356
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/table.rs +0 -114
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/abi.rs +0 -2657
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/buffer.rs +0 -2509
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/inst_common.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/isle.rs +0 -914
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/lower.rs +0 -1443
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/mod.rs +0 -558
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/pcc.rs +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/vcode.rs +0 -1809
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/nan_canonicalization.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts/cprop.isle +0 -266
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts.rs +0 -284
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/prelude.isle +0 -641
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/result.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/settings.rs +0 -602
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/verifier/mod.rs +0 -2033
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/write.rs +0 -647
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/entities.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/formats.rs +0 -213
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/instructions.rs +0 -3810
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.106.2/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.106.2/Cargo.toml +0 -50
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/Cargo.toml +0 -68
- data/ext/cargo-vendor/cranelift-isle-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.106.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-native-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.106.2/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/Cargo.toml +0 -106
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/code_translator.rs +0 -3680
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/dummy.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/mod.rs +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/spec.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/func_translator.rs +0 -432
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/lib.rs +0 -62
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/state.rs +0 -542
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/tests/wasm_testsuite.rs +0 -153
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/arith.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/br_table.wat +0 -30
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call-simd.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fannkuch.wat +0 -12180
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fasta.wat +0 -12056
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_ifs.wat +0 -11505
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_primes.wat +0 -11185
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fac-multi-value.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fibonacci.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/globals.wat +0 -8
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall-simd.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-1.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-2.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-3.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-4.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-5.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-6.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params-2.wat +0 -18
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params.wat +0 -41
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/memory.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-0.wat +0 -3
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-1.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-10.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-11.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-12.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-13.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-14.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-15.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-16.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-17.wat +0 -26
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-2.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-3.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-4.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-5.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-6.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-7.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-8.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-9.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/nullref.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/passive-data.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2303.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2559.wat +0 -51
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/ref-func-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/rust_fannkuch.wat +0 -1723
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/select.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd-store.wat +0 -83
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd.wat +0 -29
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/table-copy.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/unreachable_code.wat +0 -77
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/Cargo.toml +0 -49
- data/ext/cargo-vendor/mach-0.3.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/mach-0.3.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/mach-0.3.2/LICENSE.md +0 -23
- data/ext/cargo-vendor/mach-0.3.2/README.md +0 -55
- data/ext/cargo-vendor/mach-0.3.2/ci/build_fail.sh +0 -7
- data/ext/cargo-vendor/mach-0.3.2/ci/deploy_and_run_on_ios_simulator.rs +0 -175
- data/ext/cargo-vendor/mach-0.3.2/ci/run.sh +0 -57
- data/ext/cargo-vendor/mach-0.3.2/examples/dump_process_registers.rs +0 -136
- data/ext/cargo-vendor/mach-0.3.2/src/exc.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/kern_return.rs +0 -58
- data/ext/cargo-vendor/mach-0.3.2/src/lib.rs +0 -60
- data/ext/cargo-vendor/mach-0.3.2/src/mach_port.rs +0 -29
- data/ext/cargo-vendor/mach-0.3.2/src/message.rs +0 -248
- data/ext/cargo-vendor/mach-0.3.2/src/port.rs +0 -26
- data/ext/cargo-vendor/mach-0.3.2/src/structs.rs +0 -62
- data/ext/cargo-vendor/mach-0.3.2/src/task.rs +0 -41
- data/ext/cargo-vendor/mach-0.3.2/src/task_info.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/thread_act.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/thread_status.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/traps.rs +0 -35
- data/ext/cargo-vendor/mach-0.3.2/src/vm.rs +0 -247
- data/ext/cargo-vendor/mach-0.3.2/src/vm_attributes.rs +0 -18
- data/ext/cargo-vendor/mach-0.3.2/src/vm_page_size.rs +0 -33
- data/ext/cargo-vendor/mach-0.3.2/src/vm_prot.rs +0 -14
- data/ext/cargo-vendor/mach-0.3.2/src/vm_purgable.rs +0 -42
- data/ext/cargo-vendor/mach-0.3.2/src/vm_region.rs +0 -238
- data/ext/cargo-vendor/mach-0.3.2/src/vm_statistics.rs +0 -78
- data/ext/cargo-vendor/mach-0.3.2/src/vm_sync.rs +0 -11
- data/ext/cargo-vendor/mach-0.3.2/src/vm_types.rs +0 -19
- data/ext/cargo-vendor/wasi-common-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-19.0.2/Cargo.toml +0 -221
- data/ext/cargo-vendor/wasi-common-19.0.2/src/ctx.rs +0 -128
- data/ext/cargo-vendor/wasi-common-19.0.2/src/lib.rs +0 -189
- data/ext/cargo-vendor/wasi-common-19.0.2/src/snapshots/preview_1.rs +0 -1491
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/async_.rs +0 -289
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/sync.rs +0 -275
- data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasmparser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.lock +0 -744
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmparser-0.201.0/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/operators.rs +0 -4074
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/types.rs +0 -4449
- data/ext/cargo-vendor/wasmprinter-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.201.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/lib.rs +0 -3143
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/operator.rs +0 -1110
- data/ext/cargo-vendor/wasmprinter-0.201.0/tests/all.rs +0 -279
- data/ext/cargo-vendor/wasmtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-19.0.2/Cargo.toml +0 -261
- data/ext/cargo-vendor/wasmtime-19.0.2/src/compile.rs +0 -835
- data/ext/cargo-vendor/wasmtime-19.0.2/src/config.rs +0 -2649
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine/serialization.rs +0 -809
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine.rs +0 -735
- data/ext/cargo-vendor/wasmtime-19.0.2/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/code_memory.rs +0 -335
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/component.rs +0 -586
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/host.rs +0 -456
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/options.rs +0 -541
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/typed.rs +0 -2484
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func.rs +0 -752
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/instance.rs +0 -818
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/linker.rs +0 -788
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/matching.rs +0 -212
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/mod.rs +0 -678
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/resources.rs +0 -1169
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/types.rs +0 -961
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/values.rs +0 -1388
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/coredump.rs +0 -321
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/global.rs +0 -249
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/table.rs +0 -416
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func/typed.rs +0 -985
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func.rs +0 -2585
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instance.rs +0 -981
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instantiate.rs +0 -423
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/linker.rs +0 -1518
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/memory.rs +0 -997
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module/registry.rs +0 -360
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module.rs +0 -1367
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/profiling.rs +0 -222
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/gc_ref.rs +0 -110
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/no_gc_ref.rs +0 -60
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref.rs +0 -9
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store/data.rs +0 -289
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store.rs +0 -2445
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/func.rs +0 -144
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/global.rs +0 -70
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/memory.rs +0 -268
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/table.rs +0 -20
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trap.rs +0 -641
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/type_registry.rs +0 -640
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types/matching.rs +0 -334
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types.rs +0 -1236
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/values.rs +0 -771
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime.rs +0 -112
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/tests/codegen.rs +0 -191
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/builder.rs +0 -127
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler/component.rs +0 -960
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler.rs +0 -1316
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/address_transform.rs +0 -784
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/expression.rs +0 -1252
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/func_environ.rs +0 -2846
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/lib.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/Cargo.toml +0 -71
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/compiled_function.rs +0 -231
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/lib.rs +0 -130
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/obj.rs +0 -564
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.lock +0 -782
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.toml +0 -141
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/address_map.rs +0 -191
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/builtin.rs +0 -155
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/artifacts.rs +0 -45
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/info.rs +0 -594
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/adapt.rs +0 -457
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/inline.rs +0 -1332
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/types.rs +0 -1933
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component.rs +0 -97
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/trampoline.rs +0 -3229
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact.rs +0 -713
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/lib.rs +0 -66
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module.rs +0 -1117
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_artifacts.rs +0 -377
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_environ.rs +0 -903
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/obj.rs +0 -172
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/trap_encoding.rs +0 -245
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/tunables.rs +0 -154
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/vmoffsets.rs +0 -918
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/Cargo.toml +0 -140
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/build.rs +0 -28
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/aarch64.rs +0 -120
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/riscv64.rs +0 -88
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.S +0 -70
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.rs +0 -61
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/x86_64.rs +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component/libcalls.rs +0 -572
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component.rs +0 -864
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/export.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/gc.rs +0 -1058
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/no_gc.rs +0 -125
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref.rs +0 -24
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/on_demand.rs +0 -196
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling/table_pool.rs +0 -227
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling.rs +0 -658
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator.rs +0 -730
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance.rs +0 -1527
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/lib.rs +0 -264
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/libcalls.rs +0 -776
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/memory.rs +0 -972
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/send_sync_ptr.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/mmap.rs +0 -111
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/traphandlers.rs +0 -51
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/miri/mmap.rs +0 -94
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/machports.rs +0 -488
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/mmap.rs +0 -151
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/signals.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/windows/traphandlers.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/table.rs +0 -643
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers/coredump.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers.rs +0 -736
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/vmcontext.rs +0 -1215
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/src/lib.rs +0 -450
- data/ext/cargo-vendor/wasmtime-types-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-19.0.2/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-19.0.2/src/lib.rs +0 -640
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/Cargo.toml +0 -194
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/command.rs +0 -122
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ctx.rs +0 -353
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/filesystem.rs +0 -373
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem/sync.rs +0 -517
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem.rs +0 -1081
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/io.rs +0 -366
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/network.rs +0 -519
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/tcp.rs +0 -677
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ip_name_lookup.rs +0 -123
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/lib.rs +0 -323
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/network.rs +0 -108
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/p1ctx.rs +0 -37
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/poll.rs +0 -179
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview0.rs +0 -872
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview1.rs +0 -2361
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio/worker_thread_stdin.rs +0 -173
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio.rs +0 -443
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/tcp.rs +0 -350
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/udp.rs +0 -125
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/write_stream.rs +0 -203
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/api.rs +0 -210
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/async_.rs +0 -380
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/main.rs +0 -106
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/preview1.rs +0 -243
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/sync.rs +0 -315
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/wit/deps/io/poll.wit +0 -42
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/builder.rs +0 -65
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/compiler.rs +0 -283
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/Cargo.toml +0 -41
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/lib.rs +0 -2104
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/rust.rs +0 -421
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/types.rs +0 -194
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/src/lib.rs +0 -404
- data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +0 -59
- data/ext/cargo-vendor/wast-201.0.0/src/component/binary.rs +0 -1004
- data/ext/cargo-vendor/wast-201.0.0/src/component/resolve.rs +0 -1006
- data/ext/cargo-vendor/wast-201.0.0/src/component/types.rs +0 -991
- data/ext/cargo-vendor/wast-201.0.0/src/component/wast.rs +0 -160
- data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +0 -1365
- data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +0 -1993
- data/ext/cargo-vendor/wast-201.0.0/src/core/func.rs +0 -136
- data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +0 -281
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +0 -233
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +0 -763
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/types.rs +0 -271
- data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +0 -289
- data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +0 -861
- data/ext/cargo-vendor/wast-201.0.0/src/core/wast.rs +0 -256
- data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +0 -542
- data/ext/cargo-vendor/wast-201.0.0/src/names.rs +0 -89
- data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +0 -1374
- data/ext/cargo-vendor/wast-201.0.0/src/token.rs +0 -718
- data/ext/cargo-vendor/wast-201.0.0/src/wast.rs +0 -420
- data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +0 -63
- data/ext/cargo-vendor/wast-201.0.0/tests/annotations.rs +0 -200
- data/ext/cargo-vendor/wast-201.0.0/tests/parse-fail.rs +0 -98
- data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +0 -33
- data/ext/cargo-vendor/wiggle-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-19.0.2/Cargo.toml +0 -122
- data/ext/cargo-vendor/wiggle-19.0.2/src/borrow.rs +0 -259
- data/ext/cargo-vendor/wiggle-19.0.2/src/guest_type.rs +0 -237
- data/ext/cargo-vendor/wiggle-19.0.2/src/lib.rs +0 -1199
- data/ext/cargo-vendor/wiggle-19.0.2/src/wasmtime.rs +0 -101
- data/ext/cargo-vendor/wiggle-generate-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-19.0.2/Cargo.toml +0 -65
- data/ext/cargo-vendor/wiggle-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-19.0.2/Cargo.toml +0 -55
- data/ext/cargo-vendor/winch-codegen-0.17.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.17.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/abi/mod.rs +0 -737
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/bounds.rs +0 -220
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/builtin.rs +0 -272
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/call.rs +0 -413
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/env.rs +0 -399
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/mod.rs +0 -672
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/abi.rs +0 -309
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/asm.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/masm.rs +0 -557
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/mod.rs +0 -152
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/regs.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/mod.rs +0 -232
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/abi.rs +0 -543
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/asm.rs +0 -1418
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/masm.rs +0 -1300
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/mod.rs +0 -192
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/lib.rs +0 -21
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/masm.rs +0 -955
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/trampoline.rs +0 -626
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/visitor.rs +0 -2101
- data/ext/cargo-vendor/wit-parser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.201.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wit-parser-0.201.0/src/abi.rs +0 -295
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/lex.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/resolve.rs +0 -1427
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast.rs +0 -1348
- data/ext/cargo-vendor/wit-parser-0.201.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.201.0/src/lib.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/resolve.rs +0 -2239
- data/ext/cargo-vendor/wit-parser-0.201.0/src/serde_.rs +0 -108
- data/ext/cargo-vendor/wit-parser-0.201.0/src/sizealign.rs +0 -144
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/all.rs +0 -185
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit +0 -14
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit.json +0 -166
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit.json +0 -281
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit +0 -60
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit.json +0 -774
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit.json +0 -72
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/wasi.wit +0 -178
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/build/probe.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/rust-toolchain.toml +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ptr.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/compiletest.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/drop/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_autotrait.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_backtrace.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_boxed.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_chain.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_convert.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_downcast.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_ffi.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_fmt.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_source.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/no-impl.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.stderr +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isle_prelude.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/boolean.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/bootstrap.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_priv.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_reply.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/dyld_kernel.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/exception_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_init.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_time.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/memory_object_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_behavior.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_inherit.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasm-encoder-0.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmparser-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core/canonical.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmprinter-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmprinter-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-19.0.2 → wasmtime-asm-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cache-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-19.0.2 → wasmtime-component-util-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-cranelift-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-19.0.2 → wasmtime-cranelift-20.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-environ-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-fiber-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-runtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/memory_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2/src → wasmtime-runtime-20.0.0/src/threads}/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-types-20.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-types-20.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-19.0.2 → wasmtime-versioned-export-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wasmtime-wasi-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-19.0.2 → wasmtime-wit-bindgen-20.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wast-208.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/expand.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wat-1.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-generate-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/context.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/docs.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,3979 +0,0 @@
|
|
1
|
-
;; s390x instruction selection and CLIF-to-MachInst lowering.
|
2
|
-
|
3
|
-
;; The main lowering constructor term: takes a clif `Inst` and returns the
|
4
|
-
;; register(s) within which the lowered instruction's result values live.
|
5
|
-
(decl partial lower (Inst) InstOutput)
|
6
|
-
|
7
|
-
;; A variant of the main lowering constructor term, used for branches.
|
8
|
-
;; The only difference is that it gets an extra argument holding a vector
|
9
|
-
;; of branch targets to be used.
|
10
|
-
(decl partial lower_branch (Inst MachLabelSlice) Unit)
|
11
|
-
|
12
|
-
|
13
|
-
;;;; Rules for `iconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
14
|
-
|
15
|
-
(rule (lower (has_type ty (iconst (u64_from_imm64 n))))
|
16
|
-
(imm ty n))
|
17
|
-
|
18
|
-
|
19
|
-
;;;; Rules for `f32const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
20
|
-
|
21
|
-
(rule (lower (f32const (u32_from_ieee32 x)))
|
22
|
-
(imm $F32 x))
|
23
|
-
|
24
|
-
|
25
|
-
;;;; Rules for `f64const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
26
|
-
|
27
|
-
(rule (lower (f64const (u64_from_ieee64 x)))
|
28
|
-
(imm $F64 x))
|
29
|
-
|
30
|
-
|
31
|
-
;;;; Rules for `vconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
32
|
-
|
33
|
-
(rule (lower (has_type ty (vconst (u128_from_constant x))))
|
34
|
-
(vec_imm ty (be_vec_const ty x)))
|
35
|
-
|
36
|
-
|
37
|
-
;;;; Rules for `null` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
38
|
-
|
39
|
-
(rule (lower (has_type ty (null)))
|
40
|
-
(imm ty 0))
|
41
|
-
|
42
|
-
|
43
|
-
;;;; Rules for `nop` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
44
|
-
|
45
|
-
(rule (lower (nop))
|
46
|
-
(invalid_reg))
|
47
|
-
|
48
|
-
|
49
|
-
;;;; Rules for `iconcat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
50
|
-
|
51
|
-
(rule (lower (has_type (vr128_ty ty) (iconcat x y)))
|
52
|
-
(mov_to_vec128 ty y x))
|
53
|
-
|
54
|
-
|
55
|
-
;;;; Rules for `isplit` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
56
|
-
|
57
|
-
(rule (lower (isplit x @ (value_type $I128)))
|
58
|
-
(let ((x_reg Reg x)
|
59
|
-
(x_hi Reg (vec_extract_lane $I64X2 x_reg 0 (zero_reg)))
|
60
|
-
(x_lo Reg (vec_extract_lane $I64X2 x_reg 1 (zero_reg))))
|
61
|
-
(output_pair x_lo x_hi)))
|
62
|
-
|
63
|
-
|
64
|
-
;;;; Rules for `iadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
65
|
-
|
66
|
-
;; Add two registers.
|
67
|
-
(rule 0 (lower (has_type (fits_in_64 ty) (iadd x y)))
|
68
|
-
(add_reg ty x y))
|
69
|
-
|
70
|
-
;; Add a register and a sign-extended register.
|
71
|
-
(rule 8 (lower (has_type (fits_in_64 ty) (iadd x (sext32_value y))))
|
72
|
-
(add_reg_sext32 ty x y))
|
73
|
-
(rule 15 (lower (has_type (fits_in_64 ty) (iadd (sext32_value x) y)))
|
74
|
-
(add_reg_sext32 ty y x))
|
75
|
-
|
76
|
-
;; Add a register and an immediate.
|
77
|
-
(rule 7 (lower (has_type (fits_in_64 ty) (iadd x (i16_from_value y))))
|
78
|
-
(add_simm16 ty x y))
|
79
|
-
(rule 14 (lower (has_type (fits_in_64 ty) (iadd (i16_from_value x) y)))
|
80
|
-
(add_simm16 ty y x))
|
81
|
-
(rule 6 (lower (has_type (fits_in_64 ty) (iadd x (i32_from_value y))))
|
82
|
-
(add_simm32 ty x y))
|
83
|
-
(rule 13 (lower (has_type (fits_in_64 ty) (iadd (i32_from_value x) y)))
|
84
|
-
(add_simm32 ty y x))
|
85
|
-
|
86
|
-
;; Add a register and memory (32/64-bit types).
|
87
|
-
(rule 5 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_load_32_64 y))))
|
88
|
-
(add_mem ty x (sink_load y)))
|
89
|
-
(rule 12 (lower (has_type (fits_in_64 ty) (iadd (sinkable_load_32_64 x) y)))
|
90
|
-
(add_mem ty y (sink_load x)))
|
91
|
-
|
92
|
-
;; Add a register and memory (16-bit types).
|
93
|
-
(rule 4 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_load_16 y))))
|
94
|
-
(add_mem_sext16 ty x (sink_load y)))
|
95
|
-
(rule 11 (lower (has_type (fits_in_64 ty) (iadd (sinkable_load_16 x) y)))
|
96
|
-
(add_mem_sext16 ty y (sink_load x)))
|
97
|
-
|
98
|
-
;; Add a register and sign-extended memory.
|
99
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_sload16 y))))
|
100
|
-
(add_mem_sext16 ty x (sink_sload16 y)))
|
101
|
-
(rule 10 (lower (has_type (fits_in_64 ty) (iadd (sinkable_sload16 x) y)))
|
102
|
-
(add_mem_sext16 ty y (sink_sload16 x)))
|
103
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_sload32 y))))
|
104
|
-
(add_mem_sext32 ty x (sink_sload32 y)))
|
105
|
-
(rule 9 (lower (has_type (fits_in_64 ty) (iadd (sinkable_sload32 x) y)))
|
106
|
-
(add_mem_sext32 ty y (sink_sload32 x)))
|
107
|
-
|
108
|
-
;; Add two vector registers.
|
109
|
-
(rule 1 (lower (has_type (vr128_ty ty) (iadd x y)))
|
110
|
-
(vec_add ty x y))
|
111
|
-
|
112
|
-
|
113
|
-
;;;; Rules for `uadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
114
|
-
|
115
|
-
;; Add (saturate unsigned) two vector registers.
|
116
|
-
(rule (lower (has_type (ty_vec128 ty) (uadd_sat x y)))
|
117
|
-
(let ((sum Reg (vec_add ty x y)))
|
118
|
-
(vec_or ty sum (vec_cmphl ty x sum))))
|
119
|
-
|
120
|
-
|
121
|
-
;;;; Rules for `sadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
122
|
-
|
123
|
-
;; Add (saturate signed) two vector registers. $I64X2 not supported.
|
124
|
-
(rule (lower (has_type (ty_vec128 ty) (sadd_sat x y)))
|
125
|
-
(vec_pack_ssat (vec_widen_type ty)
|
126
|
-
(vec_add (vec_widen_type ty) (vec_unpacks_high ty x)
|
127
|
-
(vec_unpacks_high ty y))
|
128
|
-
(vec_add (vec_widen_type ty) (vec_unpacks_low ty x)
|
129
|
-
(vec_unpacks_low ty y))))
|
130
|
-
|
131
|
-
|
132
|
-
;;;; Rules for `iadd_pairwise` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
133
|
-
|
134
|
-
;; Lane-wise integer pairwise addition for 8-/16/32-bit vector registers.
|
135
|
-
(rule (lower (has_type ty @ (multi_lane bits _) (iadd_pairwise x y)))
|
136
|
-
(let ((size Reg (vec_imm_splat $I8X16 (u32_as_u64 bits))))
|
137
|
-
(vec_pack_lane_order (vec_widen_type ty)
|
138
|
-
(vec_add ty x (vec_lshr_by_byte x size))
|
139
|
-
(vec_add ty y (vec_lshr_by_byte y size)))))
|
140
|
-
|
141
|
-
;; special case for the `i32x4.dot_i16x8_s` wasm instruction
|
142
|
-
(rule 1 (lower
|
143
|
-
(has_type dst_ty (iadd_pairwise
|
144
|
-
(imul (swiden_low x @ (value_type src_ty)) (swiden_low y))
|
145
|
-
(imul (swiden_high x) (swiden_high y)))))
|
146
|
-
(vec_add dst_ty (vec_smul_even src_ty x y)
|
147
|
-
(vec_smul_odd src_ty x y)))
|
148
|
-
|
149
|
-
|
150
|
-
;;;; Rules for `isub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
151
|
-
|
152
|
-
;; Sub two registers.
|
153
|
-
(rule 0 (lower (has_type (fits_in_64 ty) (isub x y)))
|
154
|
-
(sub_reg ty x y))
|
155
|
-
|
156
|
-
;; Sub a register and a sign-extended register.
|
157
|
-
(rule 8 (lower (has_type (fits_in_64 ty) (isub x (sext32_value y))))
|
158
|
-
(sub_reg_sext32 ty x y))
|
159
|
-
|
160
|
-
;; Sub a register and an immediate (using add of the negated value).
|
161
|
-
(rule 7 (lower (has_type (fits_in_64 ty) (isub x (i16_from_negated_value y))))
|
162
|
-
(add_simm16 ty x y))
|
163
|
-
(rule 6 (lower (has_type (fits_in_64 ty) (isub x (i32_from_negated_value y))))
|
164
|
-
(add_simm32 ty x y))
|
165
|
-
|
166
|
-
;; Sub a register and memory (32/64-bit types).
|
167
|
-
(rule 5 (lower (has_type (fits_in_64 ty) (isub x (sinkable_load_32_64 y))))
|
168
|
-
(sub_mem ty x (sink_load y)))
|
169
|
-
|
170
|
-
;; Sub a register and memory (16-bit types).
|
171
|
-
(rule 4 (lower (has_type (fits_in_64 ty) (isub x (sinkable_load_16 y))))
|
172
|
-
(sub_mem_sext16 ty x (sink_load y)))
|
173
|
-
|
174
|
-
;; Sub a register and sign-extended memory.
|
175
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (isub x (sinkable_sload16 y))))
|
176
|
-
(sub_mem_sext16 ty x (sink_sload16 y)))
|
177
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (isub x (sinkable_sload32 y))))
|
178
|
-
(sub_mem_sext32 ty x (sink_sload32 y)))
|
179
|
-
|
180
|
-
;; Sub two vector registers.
|
181
|
-
(rule 1 (lower (has_type (vr128_ty ty) (isub x y)))
|
182
|
-
(vec_sub ty x y))
|
183
|
-
|
184
|
-
|
185
|
-
;;;; Rules for `usub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
186
|
-
|
187
|
-
;; Add (saturate unsigned) two vector registers.
|
188
|
-
(rule (lower (has_type (ty_vec128 ty) (usub_sat x y)))
|
189
|
-
(vec_and ty (vec_sub ty x y) (vec_cmphl ty x y)))
|
190
|
-
|
191
|
-
|
192
|
-
;;;; Rules for `ssub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
193
|
-
|
194
|
-
;; Add (saturate signed) two vector registers. $I64X2 not supported.
|
195
|
-
(rule (lower (has_type (ty_vec128 ty) (ssub_sat x y)))
|
196
|
-
(vec_pack_ssat (vec_widen_type ty)
|
197
|
-
(vec_sub (vec_widen_type ty) (vec_unpacks_high ty x)
|
198
|
-
(vec_unpacks_high ty y))
|
199
|
-
(vec_sub (vec_widen_type ty) (vec_unpacks_low ty x)
|
200
|
-
(vec_unpacks_low ty y))))
|
201
|
-
|
202
|
-
|
203
|
-
;;;; Rules for `iabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
204
|
-
|
205
|
-
;; Absolute value of a register.
|
206
|
-
;; For types smaller than 32-bit, the input value must be sign-extended.
|
207
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (iabs x)))
|
208
|
-
(abs_reg (ty_ext32 ty) (put_in_reg_sext32 x)))
|
209
|
-
|
210
|
-
;; Absolute value of a sign-extended register.
|
211
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (iabs (sext32_value x))))
|
212
|
-
(abs_reg_sext32 ty x))
|
213
|
-
|
214
|
-
;; Absolute value of a vector register.
|
215
|
-
(rule 1 (lower (has_type (ty_vec128 ty) (iabs x)))
|
216
|
-
(vec_abs ty x))
|
217
|
-
|
218
|
-
;; Absolute value of a 128-bit integer.
|
219
|
-
(rule 0 (lower (has_type $I128 (iabs x)))
|
220
|
-
(let ((zero Reg (vec_imm $I128 0))
|
221
|
-
(pos Reg x)
|
222
|
-
(neg Reg (vec_sub $I128 zero pos))
|
223
|
-
(rep Reg (vec_replicate_lane $I64X2 pos 0))
|
224
|
-
(mask Reg (vec_cmph $I64X2 zero rep)))
|
225
|
-
(vec_select $I128 neg pos mask)))
|
226
|
-
|
227
|
-
|
228
|
-
;;;; Rules for `ineg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
229
|
-
|
230
|
-
;; Negate a register.
|
231
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (ineg x)))
|
232
|
-
(neg_reg ty x))
|
233
|
-
|
234
|
-
;; Negate a sign-extended register.
|
235
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (ineg (sext32_value x))))
|
236
|
-
(neg_reg_sext32 ty x))
|
237
|
-
|
238
|
-
;; Negate a vector register.
|
239
|
-
(rule 1 (lower (has_type (ty_vec128 ty) (ineg x)))
|
240
|
-
(vec_neg ty x))
|
241
|
-
|
242
|
-
;; Negate a 128-bit integer.
|
243
|
-
(rule 0 (lower (has_type $I128 (ineg x)))
|
244
|
-
(vec_sub $I128 (vec_imm $I128 0) x))
|
245
|
-
|
246
|
-
|
247
|
-
;;;; Rules for `umax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
248
|
-
|
249
|
-
;; Unsigned maximum of two scalar integers - expand to icmp + select.
|
250
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (umax x y)))
|
251
|
-
(let ((x_ext Reg (put_in_reg_zext32 x))
|
252
|
-
(y_ext Reg (put_in_reg_zext32 y))
|
253
|
-
(cond ProducesBool (bool (icmpu_reg (ty_ext32 ty) x_ext y_ext)
|
254
|
-
(intcc_as_cond (IntCC.UnsignedLessThan)))))
|
255
|
-
(select_bool_reg ty cond y_ext x_ext)))
|
256
|
-
|
257
|
-
;; Unsigned maximum of two 128-bit integers - expand to icmp + select.
|
258
|
-
(rule 1 (lower (has_type $I128 (umax x y)))
|
259
|
-
(let ((x_reg Reg (put_in_reg x))
|
260
|
-
(y_reg Reg (put_in_reg y))
|
261
|
-
(cond ProducesBool (vec_int128_ucmphi y_reg x_reg)))
|
262
|
-
(select_bool_reg $I128 cond y_reg x_reg)))
|
263
|
-
|
264
|
-
;; Unsigned maximum of two vector registers.
|
265
|
-
(rule 0 (lower (has_type (ty_vec128 ty) (umax x y)))
|
266
|
-
(vec_umax ty x y))
|
267
|
-
|
268
|
-
|
269
|
-
;;;; Rules for `umin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
270
|
-
|
271
|
-
;; Unsigned minimum of two scalar integers - expand to icmp + select.
|
272
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (umin x y)))
|
273
|
-
(let ((x_ext Reg (put_in_reg_zext32 x))
|
274
|
-
(y_ext Reg (put_in_reg_zext32 y))
|
275
|
-
(cond ProducesBool (bool (icmpu_reg (ty_ext32 ty) x_ext y_ext)
|
276
|
-
(intcc_as_cond (IntCC.UnsignedGreaterThan)))))
|
277
|
-
(select_bool_reg ty cond y_ext x_ext)))
|
278
|
-
|
279
|
-
;; Unsigned maximum of two 128-bit integers - expand to icmp + select.
|
280
|
-
(rule 1 (lower (has_type $I128 (umin x y)))
|
281
|
-
(let ((x_reg Reg (put_in_reg x))
|
282
|
-
(y_reg Reg (put_in_reg y))
|
283
|
-
(cond ProducesBool (vec_int128_ucmphi x_reg y_reg)))
|
284
|
-
(select_bool_reg $I128 cond y_reg x_reg)))
|
285
|
-
|
286
|
-
;; Unsigned minimum of two vector registers.
|
287
|
-
(rule 0 (lower (has_type (ty_vec128 ty) (umin x y)))
|
288
|
-
(vec_umin ty x y))
|
289
|
-
|
290
|
-
|
291
|
-
;;;; Rules for `smax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
292
|
-
|
293
|
-
;; Signed maximum of two scalar integers - expand to icmp + select.
|
294
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (smax x y)))
|
295
|
-
(let ((x_ext Reg (put_in_reg_sext32 x))
|
296
|
-
(y_ext Reg (put_in_reg_sext32 y))
|
297
|
-
(cond ProducesBool (bool (icmps_reg (ty_ext32 ty) x_ext y_ext)
|
298
|
-
(intcc_as_cond (IntCC.SignedLessThan)))))
|
299
|
-
(select_bool_reg ty cond y_ext x_ext)))
|
300
|
-
|
301
|
-
;; Signed maximum of two 128-bit integers - expand to icmp + select.
|
302
|
-
(rule 1 (lower (has_type $I128 (smax x y)))
|
303
|
-
(let ((x_reg Reg (put_in_reg x))
|
304
|
-
(y_reg Reg (put_in_reg y))
|
305
|
-
(cond ProducesBool (vec_int128_scmphi y_reg x_reg)))
|
306
|
-
(select_bool_reg $I128 cond y_reg x_reg)))
|
307
|
-
|
308
|
-
;; Signed maximum of two vector registers.
|
309
|
-
(rule (lower (has_type (ty_vec128 ty) (smax x y)))
|
310
|
-
(vec_smax ty x y))
|
311
|
-
|
312
|
-
|
313
|
-
;;;; Rules for `smin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
314
|
-
|
315
|
-
;; Signed minimum of two scalar integers - expand to icmp + select.
|
316
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (smin x y)))
|
317
|
-
(let ((x_ext Reg (put_in_reg_sext32 x))
|
318
|
-
(y_ext Reg (put_in_reg_sext32 y))
|
319
|
-
(cond ProducesBool (bool (icmps_reg (ty_ext32 ty) x_ext y_ext)
|
320
|
-
(intcc_as_cond (IntCC.SignedGreaterThan)))))
|
321
|
-
(select_bool_reg ty cond y_ext x_ext)))
|
322
|
-
|
323
|
-
;; Signed maximum of two 128-bit integers - expand to icmp + select.
|
324
|
-
(rule 1 (lower (has_type $I128 (smin x y)))
|
325
|
-
(let ((x_reg Reg (put_in_reg x))
|
326
|
-
(y_reg Reg (put_in_reg y))
|
327
|
-
(cond ProducesBool (vec_int128_scmphi x_reg y_reg)))
|
328
|
-
(select_bool_reg $I128 cond y_reg x_reg)))
|
329
|
-
|
330
|
-
;; Signed minimum of two vector registers.
|
331
|
-
(rule (lower (has_type (ty_vec128 ty) (smin x y)))
|
332
|
-
(vec_smin ty x y))
|
333
|
-
|
334
|
-
|
335
|
-
;;;; Rules for `avg_round` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
336
|
-
|
337
|
-
;; Unsigned average of two vector registers.
|
338
|
-
(rule (lower (has_type (ty_vec128 ty) (avg_round x y)))
|
339
|
-
(vec_uavg ty x y))
|
340
|
-
|
341
|
-
|
342
|
-
;;;; Rules for `imul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
343
|
-
|
344
|
-
;; Multiply two registers.
|
345
|
-
(rule 0 (lower (has_type (fits_in_64 ty) (imul x y)))
|
346
|
-
(mul_reg ty x y))
|
347
|
-
|
348
|
-
;; Multiply a register and a sign-extended register.
|
349
|
-
(rule 8 (lower (has_type (fits_in_64 ty) (imul x (sext32_value y))))
|
350
|
-
(mul_reg_sext32 ty x y))
|
351
|
-
(rule 15 (lower (has_type (fits_in_64 ty) (imul (sext32_value x) y)))
|
352
|
-
(mul_reg_sext32 ty y x))
|
353
|
-
|
354
|
-
;; Multiply a register and an immediate.
|
355
|
-
(rule 7 (lower (has_type (fits_in_64 ty) (imul x (i16_from_value y))))
|
356
|
-
(mul_simm16 ty x y))
|
357
|
-
(rule 14 (lower (has_type (fits_in_64 ty) (imul (i16_from_value x) y)))
|
358
|
-
(mul_simm16 ty y x))
|
359
|
-
(rule 6 (lower (has_type (fits_in_64 ty) (imul x (i32_from_value y))))
|
360
|
-
(mul_simm32 ty x y))
|
361
|
-
(rule 13 (lower (has_type (fits_in_64 ty) (imul (i32_from_value x) y)))
|
362
|
-
(mul_simm32 ty y x))
|
363
|
-
|
364
|
-
;; Multiply a register and memory (32/64-bit types).
|
365
|
-
(rule 5 (lower (has_type (fits_in_64 ty) (imul x (sinkable_load_32_64 y))))
|
366
|
-
(mul_mem ty x (sink_load y)))
|
367
|
-
(rule 12 (lower (has_type (fits_in_64 ty) (imul (sinkable_load_32_64 x) y)))
|
368
|
-
(mul_mem ty y (sink_load x)))
|
369
|
-
|
370
|
-
;; Multiply a register and memory (16-bit types).
|
371
|
-
(rule 4 (lower (has_type (fits_in_64 ty) (imul x (sinkable_load_16 y))))
|
372
|
-
(mul_mem_sext16 ty x (sink_load y)))
|
373
|
-
(rule 11 (lower (has_type (fits_in_64 ty) (imul (sinkable_load_16 x) y)))
|
374
|
-
(mul_mem_sext16 ty y (sink_load x)))
|
375
|
-
|
376
|
-
;; Multiply a register and sign-extended memory.
|
377
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (imul x (sinkable_sload16 y))))
|
378
|
-
(mul_mem_sext16 ty x (sink_sload16 y)))
|
379
|
-
(rule 10 (lower (has_type (fits_in_64 ty) (imul (sinkable_sload16 x) y)))
|
380
|
-
(mul_mem_sext16 ty y (sink_sload16 x)))
|
381
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (imul x (sinkable_sload32 y))))
|
382
|
-
(mul_mem_sext32 ty x (sink_sload32 y)))
|
383
|
-
(rule 9 (lower (has_type (fits_in_64 ty) (imul (sinkable_sload32 x) y)))
|
384
|
-
(mul_mem_sext32 ty y (sink_sload32 x)))
|
385
|
-
|
386
|
-
;; Multiply two vector registers, using a helper.
|
387
|
-
(decl vec_mul_impl (Type Reg Reg) Reg)
|
388
|
-
(rule 1 (lower (has_type (vr128_ty ty) (imul x y)))
|
389
|
-
(vec_mul_impl ty x y))
|
390
|
-
|
391
|
-
;; Multiply two vector registers - byte, halfword, and word.
|
392
|
-
(rule (vec_mul_impl $I8X16 x y) (vec_mul $I8X16 x y))
|
393
|
-
(rule (vec_mul_impl $I16X8 x y) (vec_mul $I16X8 x y))
|
394
|
-
(rule (vec_mul_impl $I32X4 x y) (vec_mul $I32X4 x y))
|
395
|
-
|
396
|
-
;; Multiply two vector registers - doubleword. Has to be scalarized.
|
397
|
-
(rule (vec_mul_impl $I64X2 x y)
|
398
|
-
(mov_to_vec128 $I64X2
|
399
|
-
(mul_reg $I64 (vec_extract_lane $I64X2 x 0 (zero_reg))
|
400
|
-
(vec_extract_lane $I64X2 y 0 (zero_reg)))
|
401
|
-
(mul_reg $I64 (vec_extract_lane $I64X2 x 1 (zero_reg))
|
402
|
-
(vec_extract_lane $I64X2 y 1 (zero_reg)))))
|
403
|
-
|
404
|
-
;; Multiply two vector registers - quadword.
|
405
|
-
(rule (vec_mul_impl $I128 x y)
|
406
|
-
(let ((x_hi Reg (vec_extract_lane $I64X2 x 0 (zero_reg)))
|
407
|
-
(x_lo Reg (vec_extract_lane $I64X2 x 1 (zero_reg)))
|
408
|
-
(y_hi Reg (vec_extract_lane $I64X2 y 0 (zero_reg)))
|
409
|
-
(y_lo Reg (vec_extract_lane $I64X2 y 1 (zero_reg)))
|
410
|
-
(lo_pair RegPair (umul_wide x_lo y_lo))
|
411
|
-
(res_lo Reg (regpair_lo lo_pair))
|
412
|
-
(res_hi_1 Reg (regpair_hi lo_pair))
|
413
|
-
(res_hi_2 Reg (mul_reg $I64 x_lo y_hi))
|
414
|
-
(res_hi_3 Reg (mul_reg $I64 x_hi y_lo))
|
415
|
-
(res_hi Reg (add_reg $I64 res_hi_3 (add_reg $I64 res_hi_2 res_hi_1))))
|
416
|
-
(mov_to_vec128 $I64X2 res_hi res_lo)))
|
417
|
-
|
418
|
-
|
419
|
-
;;;; Rules for `umulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
420
|
-
|
421
|
-
;; Multiply high part unsigned, 8-bit or 16-bit types. (Uses 32-bit multiply.)
|
422
|
-
(rule -1 (lower (has_type (ty_8_or_16 ty) (umulhi x y)))
|
423
|
-
(let ((ext_reg_x Reg (put_in_reg_zext32 x))
|
424
|
-
(ext_reg_y Reg (put_in_reg_zext32 y))
|
425
|
-
(ext_mul Reg (mul_reg $I32 ext_reg_x ext_reg_y)))
|
426
|
-
(lshr_imm $I32 ext_mul (ty_bits ty))))
|
427
|
-
|
428
|
-
;; Multiply high part unsigned, 32-bit types. (Uses 64-bit multiply.)
|
429
|
-
(rule (lower (has_type $I32 (umulhi x y)))
|
430
|
-
(let ((ext_reg_x Reg (put_in_reg_zext64 x))
|
431
|
-
(ext_reg_y Reg (put_in_reg_zext64 y))
|
432
|
-
(ext_mul Reg (mul_reg $I64 ext_reg_x ext_reg_y)))
|
433
|
-
(lshr_imm $I64 ext_mul 32)))
|
434
|
-
|
435
|
-
;; Multiply high part unsigned, 64-bit types. (Uses umul_wide.)
|
436
|
-
(rule (lower (has_type $I64 (umulhi x y)))
|
437
|
-
(let ((pair RegPair (umul_wide x y)))
|
438
|
-
(regpair_hi pair)))
|
439
|
-
|
440
|
-
;; Multiply high part unsigned, vector types with 8-, 16-, or 32-bit elements.
|
441
|
-
(rule (lower (has_type $I8X16 (umulhi x y))) (vec_umulhi $I8X16 x y))
|
442
|
-
(rule (lower (has_type $I16X8 (umulhi x y))) (vec_umulhi $I16X8 x y))
|
443
|
-
(rule (lower (has_type $I32X4 (umulhi x y))) (vec_umulhi $I32X4 x y))
|
444
|
-
|
445
|
-
;; Multiply high part unsigned, vector types with 64-bit elements.
|
446
|
-
;; Has to be scalarized.
|
447
|
-
(rule (lower (has_type $I64X2 (umulhi x y)))
|
448
|
-
(let ((pair_0 RegPair (umul_wide (vec_extract_lane $I64X2 x 0 (zero_reg))
|
449
|
-
(vec_extract_lane $I64X2 y 0 (zero_reg))))
|
450
|
-
(res_0 Reg (regpair_hi pair_0))
|
451
|
-
(pair_1 RegPair (umul_wide (vec_extract_lane $I64X2 x 1 (zero_reg))
|
452
|
-
(vec_extract_lane $I64X2 y 1 (zero_reg))))
|
453
|
-
(res_1 Reg (regpair_hi pair_1)))
|
454
|
-
(mov_to_vec128 $I64X2 res_0 res_1)))
|
455
|
-
|
456
|
-
|
457
|
-
;;;; Rules for `smulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
458
|
-
|
459
|
-
;; Multiply high part signed, 8-bit or 16-bit types. (Uses 32-bit multiply.)
|
460
|
-
(rule -1 (lower (has_type (ty_8_or_16 ty) (smulhi x y)))
|
461
|
-
(let ((ext_reg_x Reg (put_in_reg_sext32 x))
|
462
|
-
(ext_reg_y Reg (put_in_reg_sext32 y))
|
463
|
-
(ext_mul Reg (mul_reg $I32 ext_reg_x ext_reg_y)))
|
464
|
-
(ashr_imm $I32 ext_mul (ty_bits ty))))
|
465
|
-
|
466
|
-
;; Multiply high part signed, 32-bit types. (Uses 64-bit multiply.)
|
467
|
-
(rule (lower (has_type $I32 (smulhi x y)))
|
468
|
-
(let ((ext_reg_x Reg (put_in_reg_sext64 x))
|
469
|
-
(ext_reg_y Reg (put_in_reg_sext64 y))
|
470
|
-
(ext_mul Reg (mul_reg $I64 ext_reg_x ext_reg_y)))
|
471
|
-
(ashr_imm $I64 ext_mul 32)))
|
472
|
-
|
473
|
-
;; Multiply high part signed, 64-bit types. (Uses smul_wide.)
|
474
|
-
(rule (lower (has_type $I64 (smulhi x y)))
|
475
|
-
(let ((pair RegPair (smul_wide x y)))
|
476
|
-
(regpair_hi pair)))
|
477
|
-
|
478
|
-
;; Multiply high part signed, vector types with 8-, 16-, or 32-bit elements.
|
479
|
-
(rule (lower (has_type $I8X16 (smulhi x y))) (vec_smulhi $I8X16 x y))
|
480
|
-
(rule (lower (has_type $I16X8 (smulhi x y))) (vec_smulhi $I16X8 x y))
|
481
|
-
(rule (lower (has_type $I32X4 (smulhi x y))) (vec_smulhi $I32X4 x y))
|
482
|
-
|
483
|
-
;; Multiply high part unsigned, vector types with 64-bit elements.
|
484
|
-
;; Has to be scalarized.
|
485
|
-
(rule (lower (has_type $I64X2 (smulhi x y)))
|
486
|
-
(let ((pair_0 RegPair (smul_wide (vec_extract_lane $I64X2 x 0 (zero_reg))
|
487
|
-
(vec_extract_lane $I64X2 y 0 (zero_reg))))
|
488
|
-
(res_0 Reg (copy_reg $I64 (regpair_hi pair_0)))
|
489
|
-
(pair_1 RegPair (smul_wide (vec_extract_lane $I64X2 x 1 (zero_reg))
|
490
|
-
(vec_extract_lane $I64X2 y 1 (zero_reg))))
|
491
|
-
(res_1 Reg (regpair_hi pair_1)))
|
492
|
-
(mov_to_vec128 $I64X2 res_0 res_1)))
|
493
|
-
|
494
|
-
|
495
|
-
;;;; Rules for `sqmul_round_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
496
|
-
|
497
|
-
;; Fixed-point multiplication of two vector registers.
|
498
|
-
(rule (lower (has_type (ty_vec128 ty) (sqmul_round_sat x y)))
|
499
|
-
(vec_pack_ssat (vec_widen_type ty)
|
500
|
-
(sqmul_impl (vec_widen_type ty)
|
501
|
-
(vec_unpacks_high ty x)
|
502
|
-
(vec_unpacks_high ty y))
|
503
|
-
(sqmul_impl (vec_widen_type ty)
|
504
|
-
(vec_unpacks_low ty x)
|
505
|
-
(vec_unpacks_low ty y))))
|
506
|
-
|
507
|
-
;; Helper to perform the rounded multiply in the wider type.
|
508
|
-
(decl sqmul_impl (Type Reg Reg) Reg)
|
509
|
-
(rule (sqmul_impl $I32X4 x y)
|
510
|
-
(vec_ashr_imm $I32X4 (vec_add $I32X4 (vec_mul_impl $I32X4 x y)
|
511
|
-
(vec_imm_bit_mask $I32X4 17 17))
|
512
|
-
15))
|
513
|
-
(rule (sqmul_impl $I64X2 x y)
|
514
|
-
(vec_ashr_imm $I64X2 (vec_add $I64X2 (vec_mul_impl $I64X2 x y)
|
515
|
-
(vec_imm_bit_mask $I64X2 33 33))
|
516
|
-
31))
|
517
|
-
|
518
|
-
|
519
|
-
;;;; Rules for `udiv` and `urem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
520
|
-
|
521
|
-
;; Divide two registers. The architecture provides combined udiv / urem
|
522
|
-
;; instructions with the following combination of data types:
|
523
|
-
;;
|
524
|
-
;; - 64-bit dividend (split across a 2x32-bit register pair),
|
525
|
-
;; 32-bit divisor (in a single input register)
|
526
|
-
;; 32-bit quotient & remainder (in a 2x32-bit register pair)
|
527
|
-
;;
|
528
|
-
;; - 128-bit dividend (split across a 2x64-bit register pair),
|
529
|
-
;; 64-bit divisor (in a single input register)
|
530
|
-
;; 64-bit quotient & remainder (in a 2x64-bit register pair)
|
531
|
-
;;
|
532
|
-
;; We use the first variant for 32-bit and smaller input types,
|
533
|
-
;; and the second variant for 64-bit input types.
|
534
|
-
|
535
|
-
;; Implement `udiv`.
|
536
|
-
(rule (lower (has_type (fits_in_64 ty) (udiv x y)))
|
537
|
-
(let (;; Look at the divisor to determine whether we need to generate
|
538
|
-
;; an explicit division-by zero check.
|
539
|
-
;; Load up the dividend, by loading the input (possibly zero-
|
540
|
-
;; extended) input into the low half of the register pair,
|
541
|
-
;; and setting the high half to zero.
|
542
|
-
(ext_x RegPair (regpair (imm (ty_ext32 ty) 0)
|
543
|
-
(put_in_reg_zext32 x)))
|
544
|
-
;; Load up the divisor, zero-extended if necessary.
|
545
|
-
(ext_y Reg (put_in_reg_zext32 y))
|
546
|
-
(ext_ty Type (ty_ext32 ty))
|
547
|
-
;; Emit the actual divide instruction.
|
548
|
-
(pair RegPair (udivmod ext_ty ext_x ext_y)))
|
549
|
-
;; The quotient can be found in the low half of the result.
|
550
|
-
(regpair_lo pair)))
|
551
|
-
|
552
|
-
;; Implement `urem`. Same as `udiv`, but finds the remainder in
|
553
|
-
;; the high half of the result register pair instead.
|
554
|
-
(rule (lower (has_type (fits_in_64 ty) (urem x y)))
|
555
|
-
(let ((ext_x RegPair (regpair (imm (ty_ext32 ty) 0)
|
556
|
-
(put_in_reg_zext32 x)))
|
557
|
-
(ext_y Reg (put_in_reg_zext32 y))
|
558
|
-
(ext_ty Type (ty_ext32 ty))
|
559
|
-
(pair RegPair (udivmod ext_ty ext_x ext_y)))
|
560
|
-
(regpair_hi pair)))
|
561
|
-
|
562
|
-
|
563
|
-
;;;; Rules for `sdiv` and `srem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
564
|
-
|
565
|
-
;; Divide two registers. The architecture provides combined sdiv / srem
|
566
|
-
;; instructions with the following combination of data types:
|
567
|
-
;;
|
568
|
-
;; - 64-bit dividend (in the low half of a 2x64-bit register pair),
|
569
|
-
;; 32-bit divisor (in a single input register)
|
570
|
-
;; 64-bit quotient & remainder (in a 2x64-bit register pair)
|
571
|
-
;;
|
572
|
-
;; - 64-bit dividend (in the low half of a 2x64-bit register pair),
|
573
|
-
;; 64-bit divisor (in a single input register)
|
574
|
-
;; 64-bit quotient & remainder (in a 2x64-bit register pair)
|
575
|
-
;;
|
576
|
-
;; We use the first variant for 32-bit and smaller input types,
|
577
|
-
;; and the second variant for 64-bit input types.
|
578
|
-
|
579
|
-
;; Implement `sdiv`.
|
580
|
-
(rule (lower (has_type (fits_in_64 ty) (sdiv x y)))
|
581
|
-
(let (;; Look at the divisor to determine whether we need to generate
|
582
|
-
;; explicit division-by-zero and/or integer-overflow checks.
|
583
|
-
(OFcheck bool (div_overflow_check_needed y))
|
584
|
-
;; Load up the dividend (sign-extended to 64-bit)
|
585
|
-
(ext_x Reg (put_in_reg_sext64 x))
|
586
|
-
;; Load up the divisor (sign-extended if necessary).
|
587
|
-
(ext_y Reg (put_in_reg_sext32 y))
|
588
|
-
(ext_ty Type (ty_ext32 ty))
|
589
|
-
;; Perform integer-overflow check if necessary.
|
590
|
-
(_ Reg (maybe_trap_if_sdiv_overflow OFcheck ext_ty ty ext_x ext_y))
|
591
|
-
;; Emit the actual divide instruction.
|
592
|
-
(pair RegPair (sdivmod ext_ty ext_x ext_y)))
|
593
|
-
;; The quotient can be found in the low half of the result.
|
594
|
-
(regpair_lo pair)))
|
595
|
-
|
596
|
-
;; Implement `srem`. Same as `sdiv`, but finds the remainder in
|
597
|
-
;; the high half of the result register pair instead. Also, handle
|
598
|
-
;; the integer overflow case differently, see below.
|
599
|
-
(rule (lower (has_type (fits_in_64 ty) (srem x y)))
|
600
|
-
(let ((OFcheck bool (div_overflow_check_needed y))
|
601
|
-
(ext_x Reg (put_in_reg_sext64 x))
|
602
|
-
(ext_y Reg (put_in_reg_sext32 y))
|
603
|
-
(ext_ty Type (ty_ext32 ty))
|
604
|
-
(checked_x Reg (maybe_avoid_srem_overflow OFcheck ext_ty ext_x ext_y))
|
605
|
-
(pair RegPair (sdivmod ext_ty checked_x ext_y)))
|
606
|
-
(regpair_hi pair)))
|
607
|
-
|
608
|
-
;; Determine whether we need to perform an integer-overflow check.
|
609
|
-
;;
|
610
|
-
;; We never rely on the divide instruction itself to trap; while that trap
|
611
|
-
;; would indeed happen, we have no way of signalling two different trap
|
612
|
-
;; conditions from the same instruction. By explicity checking for the
|
613
|
-
;; integer-overflow case ahead of time, any hardware trap in the divide
|
614
|
-
;; instruction is guaranteed to indicate divison-by-zero.
|
615
|
-
;;
|
616
|
-
;; In addition, for types smaller than 64 bits we would have to perform
|
617
|
-
;; the check explicitly anyway, since the instruction provides a 64-bit
|
618
|
-
;; quotient and only traps if *that* overflows.
|
619
|
-
;;
|
620
|
-
;; However, the only case where integer overflow can occur is if the
|
621
|
-
;; minimum (signed) integer value is divided by -1, so if the divisor
|
622
|
-
;; is any immediate different from -1, the check can be omitted.
|
623
|
-
(decl div_overflow_check_needed (Value) bool)
|
624
|
-
(rule 1 (div_overflow_check_needed (i64_from_value x))
|
625
|
-
(if (i64_not_neg1 x))
|
626
|
-
$false)
|
627
|
-
(rule (div_overflow_check_needed _) $true)
|
628
|
-
|
629
|
-
;; Perform the integer-overflow check if necessary. This implements:
|
630
|
-
;;
|
631
|
-
;; if divisor == INT_MIN && dividend == -1 { trap }
|
632
|
-
;;
|
633
|
-
;; but to avoid introducing control flow, it is actually done as:
|
634
|
-
;;
|
635
|
-
;; if ((divisor ^ INT_MAX) & dividend) == -1 { trap }
|
636
|
-
;;
|
637
|
-
;; instead, using a single conditional trap instruction.
|
638
|
-
(decl maybe_trap_if_sdiv_overflow (bool Type Type Reg Reg) Reg)
|
639
|
-
(rule (maybe_trap_if_sdiv_overflow $false ext_ty _ _ _) (invalid_reg))
|
640
|
-
(rule (maybe_trap_if_sdiv_overflow $true ext_ty ty x y)
|
641
|
-
(let ((int_max Reg (imm ext_ty (int_max ty)))
|
642
|
-
(reg Reg (and_reg ext_ty (xor_reg ext_ty int_max x) y)))
|
643
|
-
(icmps_simm16_and_trap ext_ty reg -1
|
644
|
-
(intcc_as_cond (IntCC.Equal))
|
645
|
-
(trap_code_integer_overflow))))
|
646
|
-
(decl int_max (Type) u64)
|
647
|
-
(rule (int_max $I8) 0x7f)
|
648
|
-
(rule (int_max $I16) 0x7fff)
|
649
|
-
(rule (int_max $I32) 0x7fffffff)
|
650
|
-
(rule (int_max $I64) 0x7fffffffffffffff)
|
651
|
-
|
652
|
-
;; When performing `srem`, we do not want to trap in the
|
653
|
-
;; integer-overflow scenario, because it is only the quotient
|
654
|
-
;; that overflows, not the remainder.
|
655
|
-
;;
|
656
|
-
;; For types smaller than 64 bits, we can simply let the
|
657
|
-
;; instruction execute, since (as above) it will never trap.
|
658
|
-
;;
|
659
|
-
;; For 64-bit inputs, we check whether the divisor is -1, and
|
660
|
-
;; if so simply replace the dividend by zero, which will give
|
661
|
-
;; the correct result, since any value modulo -1 is zero.
|
662
|
-
;;
|
663
|
-
;; (We could in fact avoid executing the divide instruction
|
664
|
-
;; at all in this case, but that would require introducing
|
665
|
-
;; control flow.)
|
666
|
-
(decl maybe_avoid_srem_overflow (bool Type Reg Reg) Reg)
|
667
|
-
(rule (maybe_avoid_srem_overflow $false _ x _) x)
|
668
|
-
(rule (maybe_avoid_srem_overflow $true $I32 x _) x)
|
669
|
-
(rule (maybe_avoid_srem_overflow $true $I64 x y)
|
670
|
-
(with_flags_reg (icmps_simm16 $I64 y -1)
|
671
|
-
(cmov_imm $I64 (intcc_as_cond (IntCC.Equal)) 0 x)))
|
672
|
-
|
673
|
-
|
674
|
-
;;;; Rules for `ishl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
675
|
-
|
676
|
-
;; Shift left, shift amount in register.
|
677
|
-
(rule 0 (lower (has_type (fits_in_64 ty) (ishl x y)))
|
678
|
-
(let ((masked_amt Reg (mask_amt_reg ty (amt_reg y))))
|
679
|
-
(lshl_reg ty x masked_amt)))
|
680
|
-
|
681
|
-
;; Shift left, immediate shift amount.
|
682
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (ishl x (i64_from_value y))))
|
683
|
-
(let ((masked_amt u8 (mask_amt_imm ty y)))
|
684
|
-
(lshl_imm ty x masked_amt)))
|
685
|
-
|
686
|
-
;; Vector shift left, shift amount in register.
|
687
|
-
(rule 2 (lower (has_type (ty_vec128 ty) (ishl x y)))
|
688
|
-
(vec_lshl_reg ty x (amt_reg y)))
|
689
|
-
|
690
|
-
;; Vector shift left, immediate shift amount.
|
691
|
-
(rule 3 (lower (has_type (ty_vec128 ty) (ishl x (i64_from_value y))))
|
692
|
-
(let ((masked_amt u8 (mask_amt_imm ty y)))
|
693
|
-
(vec_lshl_imm ty x masked_amt)))
|
694
|
-
|
695
|
-
;; 128-bit vector shift left.
|
696
|
-
(rule 4 (lower (has_type $I128 (ishl x y)))
|
697
|
-
(let ((amt Reg (amt_vr y)))
|
698
|
-
(vec_lshl_by_bit (vec_lshl_by_byte x amt) amt)))
|
699
|
-
|
700
|
-
|
701
|
-
;;;; Rules for `ushr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
702
|
-
|
703
|
-
;; Shift right logical, shift amount in register.
|
704
|
-
;; For types smaller than 32-bit, the input value must be zero-extended.
|
705
|
-
(rule 0 (lower (has_type (fits_in_64 ty) (ushr x y)))
|
706
|
-
(let ((ext_reg Reg (put_in_reg_zext32 x))
|
707
|
-
(masked_amt Reg (mask_amt_reg ty (amt_reg y))))
|
708
|
-
(lshr_reg (ty_ext32 ty) ext_reg masked_amt)))
|
709
|
-
|
710
|
-
;; Shift right logical, immediate shift amount.
|
711
|
-
;; For types smaller than 32-bit, the input value must be zero-extended.
|
712
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (ushr x (i64_from_value y))))
|
713
|
-
(let ((ext_reg Reg (put_in_reg_zext32 x))
|
714
|
-
(masked_amt u8 (mask_amt_imm ty y)))
|
715
|
-
(lshr_imm (ty_ext32 ty) ext_reg masked_amt)))
|
716
|
-
|
717
|
-
;; Vector shift right logical, shift amount in register.
|
718
|
-
(rule 2 (lower (has_type (ty_vec128 ty) (ushr x y)))
|
719
|
-
(vec_lshr_reg ty x (amt_reg y)))
|
720
|
-
|
721
|
-
;; Vector shift right logical, immediate shift amount.
|
722
|
-
(rule 3 (lower (has_type (ty_vec128 ty) (ushr x (i64_from_value y))))
|
723
|
-
(let ((masked_amt u8 (mask_amt_imm ty y)))
|
724
|
-
(vec_lshr_imm ty x masked_amt)))
|
725
|
-
|
726
|
-
;; 128-bit vector shift right logical.
|
727
|
-
(rule 4 (lower (has_type $I128 (ushr x y)))
|
728
|
-
(let ((amt Reg (amt_vr y)))
|
729
|
-
(vec_lshr_by_bit (vec_lshr_by_byte x amt) amt)))
|
730
|
-
|
731
|
-
|
732
|
-
;;;; Rules for `sshr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
733
|
-
|
734
|
-
;; Shift right arithmetic, shift amount in register.
|
735
|
-
;; For types smaller than 32-bit, the input value must be sign-extended.
|
736
|
-
(rule 0 (lower (has_type (fits_in_64 ty) (sshr x y)))
|
737
|
-
(let ((ext_reg Reg (put_in_reg_sext32 x))
|
738
|
-
(masked_amt Reg (mask_amt_reg ty (amt_reg y))))
|
739
|
-
(ashr_reg (ty_ext32 ty) ext_reg masked_amt)))
|
740
|
-
|
741
|
-
;; Shift right arithmetic, immediate shift amount.
|
742
|
-
;; For types smaller than 32-bit, the input value must be sign-extended.
|
743
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (sshr x (i64_from_value y))))
|
744
|
-
(let ((ext_reg Reg (put_in_reg_sext32 x))
|
745
|
-
(masked_amt u8 (mask_amt_imm ty y)))
|
746
|
-
(ashr_imm (ty_ext32 ty) ext_reg masked_amt)))
|
747
|
-
|
748
|
-
;; Vector shift right arithmetic, shift amount in register.
|
749
|
-
(rule 2 (lower (has_type (ty_vec128 ty) (sshr x y)))
|
750
|
-
(vec_ashr_reg ty x (amt_reg y)))
|
751
|
-
|
752
|
-
;; Vector shift right arithmetic, immediate shift amount.
|
753
|
-
(rule 3 (lower (has_type (ty_vec128 ty) (sshr x (i64_from_value y))))
|
754
|
-
(let ((masked_amt u8 (mask_amt_imm ty y)))
|
755
|
-
(vec_ashr_imm ty x masked_amt)))
|
756
|
-
|
757
|
-
;; 128-bit vector shift right arithmetic.
|
758
|
-
(rule 4 (lower (has_type $I128 (sshr x y)))
|
759
|
-
(let ((amt Reg (amt_vr y)))
|
760
|
-
(vec_ashr_by_bit (vec_ashr_by_byte x amt) amt)))
|
761
|
-
|
762
|
-
|
763
|
-
;;;; Rules for `rotl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
764
|
-
|
765
|
-
;; Rotate left, shift amount in register. 32-bit or 64-bit types.
|
766
|
-
(rule 0 (lower (has_type (ty_32_or_64 ty) (rotl x y)))
|
767
|
-
(rot_reg ty x (amt_reg y)))
|
768
|
-
|
769
|
-
;; Rotate left arithmetic, immediate shift amount. 32-bit or 64-bit types.
|
770
|
-
(rule 1 (lower (has_type (ty_32_or_64 ty) (rotl x (i64_from_value y))))
|
771
|
-
(let ((masked_amt u8 (mask_amt_imm ty y)))
|
772
|
-
(rot_imm ty x masked_amt)))
|
773
|
-
|
774
|
-
;; Rotate left, shift amount in register. 8-bit or 16-bit types.
|
775
|
-
;; Implemented via a pair of 32-bit shifts on the zero-extended input.
|
776
|
-
(rule 2 (lower (has_type (ty_8_or_16 ty) (rotl x y)))
|
777
|
-
(let ((ext_reg Reg (put_in_reg_zext32 x))
|
778
|
-
(ext_ty Type (ty_ext32 ty))
|
779
|
-
(pos_amt Reg (amt_reg y))
|
780
|
-
(neg_amt Reg (neg_reg $I32 pos_amt))
|
781
|
-
(masked_pos_amt Reg (mask_amt_reg ty pos_amt))
|
782
|
-
(masked_neg_amt Reg (mask_amt_reg ty neg_amt)))
|
783
|
-
(or_reg ty (lshl_reg ext_ty ext_reg masked_pos_amt)
|
784
|
-
(lshr_reg ext_ty ext_reg masked_neg_amt))))
|
785
|
-
|
786
|
-
;; Rotate left, immediate shift amount. 8-bit or 16-bit types.
|
787
|
-
;; Implemented via a pair of 32-bit shifts on the zero-extended input.
|
788
|
-
(rule 3 (lower (has_type (ty_8_or_16 ty) (rotl x (and (i64_from_value pos_amt)
|
789
|
-
(i64_from_negated_value neg_amt)))))
|
790
|
-
(let ((ext_reg Reg (put_in_reg_zext32 x))
|
791
|
-
(ext_ty Type (ty_ext32 ty))
|
792
|
-
(masked_pos_amt u8 (mask_amt_imm ty pos_amt))
|
793
|
-
(masked_neg_amt u8 (mask_amt_imm ty neg_amt)))
|
794
|
-
(or_reg ty (lshl_imm ext_ty ext_reg masked_pos_amt)
|
795
|
-
(lshr_imm ext_ty ext_reg masked_neg_amt))))
|
796
|
-
|
797
|
-
;; Vector rotate left, shift amount in register.
|
798
|
-
(rule 4 (lower (has_type (ty_vec128 ty) (rotl x y)))
|
799
|
-
(vec_rot_reg ty x (amt_reg y)))
|
800
|
-
|
801
|
-
;; Vector rotate left, immediate shift amount.
|
802
|
-
(rule 5 (lower (has_type (ty_vec128 ty) (rotl x (i64_from_value y))))
|
803
|
-
(let ((masked_amt u8 (mask_amt_imm ty y)))
|
804
|
-
(vec_rot_imm ty x masked_amt)))
|
805
|
-
|
806
|
-
;; 128-bit full vector rotate left.
|
807
|
-
;; Implemented via a pair of 128-bit full vector shifts.
|
808
|
-
(rule 6 (lower (has_type $I128 (rotl x y)))
|
809
|
-
(let ((x_reg Reg x)
|
810
|
-
(pos_amt Reg (amt_vr y))
|
811
|
-
(neg_amt Reg (vec_neg $I8X16 pos_amt)))
|
812
|
-
(vec_or $I128
|
813
|
-
(vec_lshl_by_bit (vec_lshl_by_byte x_reg pos_amt) pos_amt)
|
814
|
-
(vec_lshr_by_bit (vec_lshr_by_byte x_reg neg_amt) neg_amt))))
|
815
|
-
|
816
|
-
|
817
|
-
;;;; Rules for `rotr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
818
|
-
|
819
|
-
;; Rotate right, shift amount in register. 32-bit or 64-bit types.
|
820
|
-
;; Implemented as rotate left with negated rotate amount.
|
821
|
-
(rule 0 (lower (has_type (ty_32_or_64 ty) (rotr x y)))
|
822
|
-
(let ((negated_amt Reg (neg_reg $I32 (amt_reg y))))
|
823
|
-
(rot_reg ty x negated_amt)))
|
824
|
-
|
825
|
-
;; Rotate right arithmetic, immediate shift amount. 32-bit or 64-bit types.
|
826
|
-
;; Implemented as rotate left with negated rotate amount.
|
827
|
-
(rule 1 (lower (has_type (ty_32_or_64 ty) (rotr x (i64_from_negated_value y))))
|
828
|
-
(let ((negated_amt u8 (mask_amt_imm ty y)))
|
829
|
-
(rot_imm ty x negated_amt)))
|
830
|
-
|
831
|
-
;; Rotate right, shift amount in register. 8-bit or 16-bit types.
|
832
|
-
;; Implemented as rotate left with negated rotate amount.
|
833
|
-
(rule 2 (lower (has_type (ty_8_or_16 ty) (rotr x y)))
|
834
|
-
(let ((ext_reg Reg (put_in_reg_zext32 x))
|
835
|
-
(ext_ty Type (ty_ext32 ty))
|
836
|
-
(pos_amt Reg (amt_reg y))
|
837
|
-
(neg_amt Reg (neg_reg $I32 pos_amt))
|
838
|
-
(masked_pos_amt Reg (mask_amt_reg ty pos_amt))
|
839
|
-
(masked_neg_amt Reg (mask_amt_reg ty neg_amt)))
|
840
|
-
(or_reg ty (lshl_reg ext_ty ext_reg masked_neg_amt)
|
841
|
-
(lshr_reg ext_ty ext_reg masked_pos_amt))))
|
842
|
-
|
843
|
-
;; Rotate right, immediate shift amount. 8-bit or 16-bit types.
|
844
|
-
;; Implemented as rotate left with negated rotate amount.
|
845
|
-
(rule 3 (lower (has_type (ty_8_or_16 ty) (rotr x (and (i64_from_value pos_amt)
|
846
|
-
(i64_from_negated_value neg_amt)))))
|
847
|
-
(let ((ext_reg Reg (put_in_reg_zext32 x))
|
848
|
-
(ext_ty Type (ty_ext32 ty))
|
849
|
-
(masked_pos_amt u8 (mask_amt_imm ty pos_amt))
|
850
|
-
(masked_neg_amt u8 (mask_amt_imm ty neg_amt)))
|
851
|
-
(or_reg ty (lshl_imm ext_ty ext_reg masked_neg_amt)
|
852
|
-
(lshr_imm ext_ty ext_reg masked_pos_amt))))
|
853
|
-
|
854
|
-
;; Vector rotate right, shift amount in register.
|
855
|
-
;; Implemented as rotate left with negated rotate amount.
|
856
|
-
(rule 4 (lower (has_type (ty_vec128 ty) (rotr x y)))
|
857
|
-
(let ((negated_amt Reg (neg_reg $I32 (amt_reg y))))
|
858
|
-
(vec_rot_reg ty x negated_amt)))
|
859
|
-
|
860
|
-
;; Vector rotate right, immediate shift amount.
|
861
|
-
;; Implemented as rotate left with negated rotate amount.
|
862
|
-
(rule 5 (lower (has_type (ty_vec128 ty) (rotr x (i64_from_negated_value y))))
|
863
|
-
(let ((negated_amt u8 (mask_amt_imm ty y)))
|
864
|
-
(vec_rot_imm ty x negated_amt)))
|
865
|
-
|
866
|
-
;; 128-bit full vector rotate right.
|
867
|
-
;; Implemented via a pair of 128-bit full vector shifts.
|
868
|
-
(rule 6 (lower (has_type $I128 (rotr x y)))
|
869
|
-
(let ((x_reg Reg x)
|
870
|
-
(pos_amt Reg (amt_vr y))
|
871
|
-
(neg_amt Reg (vec_neg $I8X16 pos_amt)))
|
872
|
-
(vec_or $I128
|
873
|
-
(vec_lshl_by_bit (vec_lshl_by_byte x_reg neg_amt) neg_amt)
|
874
|
-
(vec_lshr_by_bit (vec_lshr_by_byte x_reg pos_amt) pos_amt))))
|
875
|
-
|
876
|
-
|
877
|
-
;;;; Rules for `ireduce` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
878
|
-
|
879
|
-
;; Up to 64-bit source type: Always a no-op.
|
880
|
-
(rule 1 (lower (ireduce x @ (value_type (fits_in_64 _ty))))
|
881
|
-
x)
|
882
|
-
|
883
|
-
;; 128-bit source type: Extract the low half.
|
884
|
-
(rule (lower (ireduce x @ (value_type (vr128_ty _ty))))
|
885
|
-
(vec_extract_lane $I64X2 x 1 (zero_reg)))
|
886
|
-
|
887
|
-
|
888
|
-
;;;; Rules for `uextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
889
|
-
|
890
|
-
;; 16- or 32-bit target types.
|
891
|
-
(rule 1 (lower (has_type (gpr32_ty _ty) (uextend x)))
|
892
|
-
(put_in_reg_zext32 x))
|
893
|
-
|
894
|
-
;; 64-bit target types.
|
895
|
-
(rule 2 (lower (has_type (gpr64_ty _ty) (uextend x)))
|
896
|
-
(put_in_reg_zext64 x))
|
897
|
-
|
898
|
-
;; 128-bit target types.
|
899
|
-
(rule (lower (has_type $I128 (uextend x @ (value_type $I8))))
|
900
|
-
(vec_insert_lane $I8X16 (vec_imm $I128 0) x 15 (zero_reg)))
|
901
|
-
(rule (lower (has_type $I128 (uextend x @ (value_type $I16))))
|
902
|
-
(vec_insert_lane $I16X8 (vec_imm $I128 0) x 7 (zero_reg)))
|
903
|
-
(rule (lower (has_type $I128 (uextend x @ (value_type $I32))))
|
904
|
-
(vec_insert_lane $I32X4 (vec_imm $I128 0) x 3 (zero_reg)))
|
905
|
-
(rule (lower (has_type $I128 (uextend x @ (value_type $I64))))
|
906
|
-
(vec_insert_lane $I64X2 (vec_imm $I128 0) x 1 (zero_reg)))
|
907
|
-
|
908
|
-
|
909
|
-
;;;; Rules for `sextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
910
|
-
|
911
|
-
;; 16- or 32-bit target types.
|
912
|
-
(rule 1 (lower (has_type (gpr32_ty _ty) (sextend x)))
|
913
|
-
(put_in_reg_sext32 x))
|
914
|
-
|
915
|
-
;; 64-bit target types.
|
916
|
-
(rule 2 (lower (has_type (gpr64_ty _ty) (sextend x)))
|
917
|
-
(put_in_reg_sext64 x))
|
918
|
-
|
919
|
-
;; 128-bit target types.
|
920
|
-
(rule (lower (has_type $I128 (sextend x)))
|
921
|
-
(let ((x_ext Reg (put_in_reg_sext64 x)))
|
922
|
-
(mov_to_vec128 $I128 (ashr_imm $I64 x_ext 63) x_ext)))
|
923
|
-
|
924
|
-
|
925
|
-
;;;; Rules for `snarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
926
|
-
|
927
|
-
(rule (lower (snarrow x @ (value_type (ty_vec128 ty)) y))
|
928
|
-
(vec_pack_ssat_lane_order ty x y))
|
929
|
-
|
930
|
-
|
931
|
-
;;;; Rules for `uunarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
932
|
-
|
933
|
-
(rule (lower (uunarrow x @ (value_type (ty_vec128 ty)) y))
|
934
|
-
(vec_pack_usat_lane_order ty x y))
|
935
|
-
|
936
|
-
|
937
|
-
;;;; Rules for `unarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
938
|
-
|
939
|
-
(rule (lower (unarrow x @ (value_type (ty_vec128 ty)) y))
|
940
|
-
(let ((zero Reg (vec_imm ty 0)))
|
941
|
-
(vec_pack_usat_lane_order ty (vec_smax ty x zero) (vec_smax ty y zero))))
|
942
|
-
|
943
|
-
|
944
|
-
;;;; Rules for `swiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
945
|
-
|
946
|
-
(rule (lower (swiden_low x @ (value_type (ty_vec128 ty))))
|
947
|
-
(vec_unpacks_low_lane_order ty x))
|
948
|
-
|
949
|
-
|
950
|
-
;;;; Rules for `swiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
951
|
-
|
952
|
-
(rule (lower (swiden_high x @ (value_type (ty_vec128 ty))))
|
953
|
-
(vec_unpacks_high_lane_order ty x))
|
954
|
-
|
955
|
-
|
956
|
-
;;;; Rules for `uwiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
957
|
-
|
958
|
-
(rule (lower (uwiden_low x @ (value_type (ty_vec128 ty))))
|
959
|
-
(vec_unpacku_low_lane_order ty x))
|
960
|
-
|
961
|
-
|
962
|
-
;;;; Rules for `uwiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
963
|
-
|
964
|
-
(rule (lower (uwiden_high x @ (value_type (ty_vec128 ty))))
|
965
|
-
(vec_unpacku_high_lane_order ty x))
|
966
|
-
|
967
|
-
|
968
|
-
;;;; Rules for `bnot` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
969
|
-
|
970
|
-
;; z15 version using a single instruction (NOR).
|
971
|
-
(rule 2 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bnot x)))
|
972
|
-
(let ((rx Reg x))
|
973
|
-
(not_or_reg ty rx rx)))
|
974
|
-
|
975
|
-
;; z14 version using XOR with -1.
|
976
|
-
(rule 1 (lower (has_type (and (mie2_disabled) (fits_in_64 ty)) (bnot x)))
|
977
|
-
(not_reg ty x))
|
978
|
-
|
979
|
-
;; Vector version using vector NOR.
|
980
|
-
(rule (lower (has_type (vr128_ty ty) (bnot x)))
|
981
|
-
(vec_not ty x))
|
982
|
-
|
983
|
-
;; With z15 (bnot (bxor ...)) can be a single instruction, similar to the
|
984
|
-
;; (bxor _ (bnot _)) lowering.
|
985
|
-
(rule 3 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bnot (bxor x y))))
|
986
|
-
(not_xor_reg ty x y))
|
987
|
-
|
988
|
-
;; Combine a not/xor operation of vector types into one.
|
989
|
-
(rule 4 (lower (has_type (vr128_ty ty) (bnot (bxor x y))))
|
990
|
-
(vec_not_xor ty x y))
|
991
|
-
|
992
|
-
|
993
|
-
;;;; Rules for `band` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
994
|
-
|
995
|
-
;; And two registers.
|
996
|
-
(rule -1 (lower (has_type (fits_in_64 ty) (band x y)))
|
997
|
-
(and_reg ty x y))
|
998
|
-
|
999
|
-
;; And a register and an immediate.
|
1000
|
-
(rule 5 (lower (has_type (fits_in_64 ty) (band x (uimm16shifted_from_inverted_value y))))
|
1001
|
-
(and_uimm16shifted ty x y))
|
1002
|
-
(rule 6 (lower (has_type (fits_in_64 ty) (band (uimm16shifted_from_inverted_value x) y)))
|
1003
|
-
(and_uimm16shifted ty y x))
|
1004
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (band x (uimm32shifted_from_inverted_value y))))
|
1005
|
-
(and_uimm32shifted ty x y))
|
1006
|
-
(rule 4 (lower (has_type (fits_in_64 ty) (band (uimm32shifted_from_inverted_value x) y)))
|
1007
|
-
(and_uimm32shifted ty y x))
|
1008
|
-
|
1009
|
-
;; And a register and memory (32/64-bit types).
|
1010
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (band x (sinkable_load_32_64 y))))
|
1011
|
-
(and_mem ty x (sink_load y)))
|
1012
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (band (sinkable_load_32_64 x) y)))
|
1013
|
-
(and_mem ty y (sink_load x)))
|
1014
|
-
|
1015
|
-
;; And two vector registers.
|
1016
|
-
(rule 0 (lower (has_type (vr128_ty ty) (band x y)))
|
1017
|
-
(vec_and ty x y))
|
1018
|
-
|
1019
|
-
;; Specialized lowerings for `(band x (bnot y))` which is additionally produced
|
1020
|
-
;; by Cranelift's `band_not` instruction that is legalized into the simpler
|
1021
|
-
;; forms early on.
|
1022
|
-
|
1023
|
-
;; z15 version using a single instruction.
|
1024
|
-
(rule 7 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (band x (bnot y))))
|
1025
|
-
(and_not_reg ty x y))
|
1026
|
-
(rule 8 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (band (bnot y) x)))
|
1027
|
-
(and_not_reg ty x y))
|
1028
|
-
|
1029
|
-
;; And-not two vector registers.
|
1030
|
-
(rule 9 (lower (has_type (vr128_ty ty) (band x (bnot y))))
|
1031
|
-
(vec_and_not ty x y))
|
1032
|
-
(rule 10 (lower (has_type (vr128_ty ty) (band (bnot y) x)))
|
1033
|
-
(vec_and_not ty x y))
|
1034
|
-
|
1035
|
-
;;;; Rules for `bor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1036
|
-
|
1037
|
-
;; Or two registers.
|
1038
|
-
(rule -1 (lower (has_type (fits_in_64 ty) (bor x y)))
|
1039
|
-
(or_reg ty x y))
|
1040
|
-
|
1041
|
-
;; Or a register and an immediate.
|
1042
|
-
(rule 5 (lower (has_type (fits_in_64 ty) (bor x (uimm16shifted_from_value y))))
|
1043
|
-
(or_uimm16shifted ty x y))
|
1044
|
-
(rule 6 (lower (has_type (fits_in_64 ty) (bor (uimm16shifted_from_value x) y)))
|
1045
|
-
(or_uimm16shifted ty y x))
|
1046
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (bor x (uimm32shifted_from_value y))))
|
1047
|
-
(or_uimm32shifted ty x y))
|
1048
|
-
(rule 4 (lower (has_type (fits_in_64 ty) (bor (uimm32shifted_from_value x) y)))
|
1049
|
-
(or_uimm32shifted ty y x))
|
1050
|
-
|
1051
|
-
;; Or a register and memory (32/64-bit types).
|
1052
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (bor x (sinkable_load_32_64 y))))
|
1053
|
-
(or_mem ty x (sink_load y)))
|
1054
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (bor (sinkable_load_32_64 x) y)))
|
1055
|
-
(or_mem ty y (sink_load x)))
|
1056
|
-
|
1057
|
-
;; Or two vector registers.
|
1058
|
-
(rule 0 (lower (has_type (vr128_ty ty) (bor x y)))
|
1059
|
-
(vec_or ty x y))
|
1060
|
-
|
1061
|
-
;; Specialized lowerings for `(bor x (bnot y))` which is additionally produced
|
1062
|
-
;; by Cranelift's `bor_not` instruction that is legalized into the simpler
|
1063
|
-
;; forms early on.
|
1064
|
-
|
1065
|
-
;; z15 version using a single instruction.
|
1066
|
-
(rule 7 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bor x (bnot y))))
|
1067
|
-
(or_not_reg ty x y))
|
1068
|
-
(rule 8 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bor (bnot y) x)))
|
1069
|
-
(or_not_reg ty x y))
|
1070
|
-
|
1071
|
-
;; Or-not two vector registers.
|
1072
|
-
(rule 9 (lower (has_type (vr128_ty ty) (bor x (bnot y))))
|
1073
|
-
(vec_or_not ty x y))
|
1074
|
-
(rule 10 (lower (has_type (vr128_ty ty) (bor (bnot y) x)))
|
1075
|
-
(vec_or_not ty x y))
|
1076
|
-
|
1077
|
-
|
1078
|
-
;;;; Rules for `bxor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1079
|
-
|
1080
|
-
;; Xor two registers.
|
1081
|
-
(rule -1 (lower (has_type (fits_in_64 ty) (bxor x y)))
|
1082
|
-
(xor_reg ty x y))
|
1083
|
-
|
1084
|
-
;; Xor a register and an immediate.
|
1085
|
-
(rule 3 (lower (has_type (fits_in_64 ty) (bxor x (uimm32shifted_from_value y))))
|
1086
|
-
(xor_uimm32shifted ty x y))
|
1087
|
-
(rule 4 (lower (has_type (fits_in_64 ty) (bxor (uimm32shifted_from_value x) y)))
|
1088
|
-
(xor_uimm32shifted ty y x))
|
1089
|
-
|
1090
|
-
;; Xor a register and memory (32/64-bit types).
|
1091
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (bxor x (sinkable_load_32_64 y))))
|
1092
|
-
(xor_mem ty x (sink_load y)))
|
1093
|
-
(rule 2 (lower (has_type (fits_in_64 ty) (bxor (sinkable_load_32_64 x) y)))
|
1094
|
-
(xor_mem ty y (sink_load x)))
|
1095
|
-
|
1096
|
-
;; Xor two vector registers.
|
1097
|
-
(rule 0 (lower (has_type (vr128_ty ty) (bxor x y)))
|
1098
|
-
(vec_xor ty x y))
|
1099
|
-
|
1100
|
-
;; Specialized lowerings for `(bxor x (bnot y))` which is additionally produced
|
1101
|
-
;; by Cranelift's `bxor_not` instruction that is legalized into the simpler
|
1102
|
-
;; forms early on.
|
1103
|
-
|
1104
|
-
;; z15 version using a single instruction.
|
1105
|
-
(rule 5 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bxor x (bnot y))))
|
1106
|
-
(not_xor_reg ty x y))
|
1107
|
-
(rule 6 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bxor (bnot y) x)))
|
1108
|
-
(not_xor_reg ty x y))
|
1109
|
-
|
1110
|
-
;; Xor-not two vector registers.
|
1111
|
-
(rule 7 (lower (has_type (vr128_ty ty) (bxor x (bnot y))))
|
1112
|
-
(vec_not_xor ty x y))
|
1113
|
-
(rule 8 (lower (has_type (vr128_ty ty) (bxor (bnot y) x)))
|
1114
|
-
(vec_not_xor ty x y))
|
1115
|
-
|
1116
|
-
|
1117
|
-
;;;; Rules for `bitselect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1118
|
-
|
1119
|
-
;; z15 version using a NAND instruction.
|
1120
|
-
(rule 2 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bitselect x y z)))
|
1121
|
-
(let ((rx Reg x)
|
1122
|
-
(if_true Reg (and_reg ty y rx))
|
1123
|
-
(if_false Reg (and_not_reg ty z rx)))
|
1124
|
-
(or_reg ty if_false if_true)))
|
1125
|
-
|
1126
|
-
;; z14 version using XOR with -1.
|
1127
|
-
(rule 1 (lower (has_type (and (mie2_disabled) (fits_in_64 ty)) (bitselect x y z)))
|
1128
|
-
(let ((rx Reg x)
|
1129
|
-
(if_true Reg (and_reg ty y rx))
|
1130
|
-
(if_false Reg (and_reg ty z (not_reg ty rx))))
|
1131
|
-
(or_reg ty if_false if_true)))
|
1132
|
-
|
1133
|
-
;; Bitselect vector registers.
|
1134
|
-
(rule (lower (has_type (vr128_ty ty) (bitselect x y z)))
|
1135
|
-
(vec_select ty y z x))
|
1136
|
-
|
1137
|
-
;; Special-case some float-selection instructions for min/max
|
1138
|
-
(rule 3 (lower (has_type (ty_vec128 ty) (bitselect (bitcast _ (fcmp (FloatCC.LessThan) x y)) x y)))
|
1139
|
-
(fmin_pseudo_reg ty y x))
|
1140
|
-
(rule 4 (lower (has_type (ty_vec128 ty) (bitselect (bitcast _ (fcmp (FloatCC.LessThan) y x)) x y)))
|
1141
|
-
(fmax_pseudo_reg ty y x))
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
;;;; Rules for `bmask` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1146
|
-
|
1147
|
-
(rule (lower (has_type ty (bmask x)))
|
1148
|
-
(lower_bool_to_mask ty (value_nonzero x)))
|
1149
|
-
|
1150
|
-
|
1151
|
-
;;;; Rules for `bitrev` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1152
|
-
|
1153
|
-
(rule (lower (has_type ty (bitrev x)))
|
1154
|
-
(bitrev_bytes ty
|
1155
|
-
(bitrev_bits 4 0xf0f0_f0f0_f0f0_f0f0 ty
|
1156
|
-
(bitrev_bits 2 0xcccc_cccc_cccc_cccc ty
|
1157
|
-
(bitrev_bits 1 0xaaaa_aaaa_aaaa_aaaa ty x)))))
|
1158
|
-
|
1159
|
-
(decl bitrev_bits (u8 u64 Type Reg) Reg)
|
1160
|
-
(rule 1 (bitrev_bits size bitmask (fits_in_64 ty) x)
|
1161
|
-
(let ((mask Reg (imm ty bitmask))
|
1162
|
-
(xh Reg (lshl_imm (ty_ext32 ty) x size))
|
1163
|
-
(xl Reg (lshr_imm (ty_ext32 ty) x size))
|
1164
|
-
(xh_masked Reg (and_reg ty xh mask))
|
1165
|
-
(xl_masked Reg (and_reg ty xl (not_reg ty mask))))
|
1166
|
-
(or_reg ty xh_masked xl_masked)))
|
1167
|
-
|
1168
|
-
(rule (bitrev_bits size bitmask (vr128_ty ty) x)
|
1169
|
-
(let ((mask Reg (vec_imm_splat $I64X2 bitmask))
|
1170
|
-
(size_reg Reg (vec_imm_splat $I8X16 (u8_as_u64 size)))
|
1171
|
-
(xh Reg (vec_lshl_by_bit x size_reg))
|
1172
|
-
(xl Reg (vec_lshr_by_bit x size_reg)))
|
1173
|
-
(vec_select ty xh xl mask)))
|
1174
|
-
|
1175
|
-
(decl bitrev_bytes (Type Reg) Reg)
|
1176
|
-
(rule (bitrev_bytes $I8 x) x)
|
1177
|
-
(rule (bitrev_bytes $I16 x) (lshr_imm $I32 (bswap_reg $I32 x) 16))
|
1178
|
-
(rule (bitrev_bytes $I32 x) (bswap_reg $I32 x))
|
1179
|
-
(rule (bitrev_bytes $I64 x) (bswap_reg $I64 x))
|
1180
|
-
(rule (bitrev_bytes $I128 x)
|
1181
|
-
(vec_permute $I128 x x
|
1182
|
-
(vec_imm $I8X16 (imm8x16 15 14 13 12 11 10 9 8
|
1183
|
-
7 6 5 4 3 2 1 0))))
|
1184
|
-
|
1185
|
-
|
1186
|
-
;;;; Rules for `bswap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1187
|
-
|
1188
|
-
(rule (lower (has_type ty (bswap x)))
|
1189
|
-
(bitrev_bytes ty x))
|
1190
|
-
|
1191
|
-
;;;; Rules for `clz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1192
|
-
|
1193
|
-
;; The FLOGR hardware instruction always operates on the full 64-bit register.
|
1194
|
-
;; We can zero-extend smaller types, but then we have to compensate for the
|
1195
|
-
;; additional leading zero bits the instruction will actually see.
|
1196
|
-
(decl clz_offset (Type Reg) Reg)
|
1197
|
-
(rule (clz_offset $I8 x) (add_simm16 $I8 x -56))
|
1198
|
-
(rule (clz_offset $I16 x) (add_simm16 $I16 x -48))
|
1199
|
-
(rule (clz_offset $I32 x) (add_simm16 $I32 x -32))
|
1200
|
-
(rule (clz_offset $I64 x) x)
|
1201
|
-
|
1202
|
-
;; Count leading zeros, via FLOGR on an input zero-extended to 64 bits,
|
1203
|
-
;; with the result compensated for the extra bits.
|
1204
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (clz x)))
|
1205
|
-
(let ((ext_reg Reg (put_in_reg_zext64 x))
|
1206
|
-
;; Ask for a value of 64 in the all-zero 64-bit input case.
|
1207
|
-
;; After compensation this will match the expected semantics.
|
1208
|
-
(clz Reg (clz_reg 64 ext_reg)))
|
1209
|
-
(clz_offset ty clz)))
|
1210
|
-
|
1211
|
-
;; Count leading zeros, 128-bit full vector.
|
1212
|
-
(rule (lower (has_type $I128 (clz x)))
|
1213
|
-
(let ((clz_vec Reg (vec_clz $I64X2 x))
|
1214
|
-
(zero Reg (vec_imm $I64X2 0))
|
1215
|
-
(clz_hi Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 0))
|
1216
|
-
(clz_lo Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 1))
|
1217
|
-
(clz_sum Reg (vec_add $I64X2 clz_hi clz_lo))
|
1218
|
-
(mask Reg (vec_cmpeq $I64X2 clz_hi (vec_imm_splat $I64X2 64))))
|
1219
|
-
(vec_select $I128 clz_sum clz_hi mask)))
|
1220
|
-
|
1221
|
-
|
1222
|
-
;;;; Rules for `cls` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1223
|
-
|
1224
|
-
;; The result of cls is not supposed to count the sign bit itself, just
|
1225
|
-
;; additional copies of it. Therefore, when computing cls in terms of clz,
|
1226
|
-
;; we need to subtract one. Fold this into the offset computation.
|
1227
|
-
(decl cls_offset (Type Reg) Reg)
|
1228
|
-
(rule (cls_offset $I8 x) (add_simm16 $I8 x -57))
|
1229
|
-
(rule (cls_offset $I16 x) (add_simm16 $I16 x -49))
|
1230
|
-
(rule (cls_offset $I32 x) (add_simm16 $I32 x -33))
|
1231
|
-
(rule (cls_offset $I64 x) (add_simm16 $I64 x -1))
|
1232
|
-
|
1233
|
-
;; Count leading sign-bit copies. We don't have any instruction for that,
|
1234
|
-
;; so we instead count the leading zeros after inverting the input if negative,
|
1235
|
-
;; i.e. computing
|
1236
|
-
;; cls(x) == clz(x ^ (x >> 63)) - 1
|
1237
|
-
;; where x is the sign-extended input.
|
1238
|
-
(rule 1 (lower (has_type (fits_in_64 ty) (cls x)))
|
1239
|
-
(let ((ext_reg Reg (put_in_reg_sext64 x))
|
1240
|
-
(signbit_copies Reg (ashr_imm $I64 ext_reg 63))
|
1241
|
-
(inv_reg Reg (xor_reg $I64 ext_reg signbit_copies))
|
1242
|
-
(clz Reg (clz_reg 64 inv_reg)))
|
1243
|
-
(cls_offset ty clz)))
|
1244
|
-
|
1245
|
-
;; Count leading sign-bit copies, 128-bit full vector.
|
1246
|
-
(rule (lower (has_type $I128 (cls x)))
|
1247
|
-
(let ((x_reg Reg x)
|
1248
|
-
(ones Reg (vec_imm_splat $I8X16 255))
|
1249
|
-
(signbit_copies Reg (vec_ashr_by_bit (vec_ashr_by_byte x_reg ones) ones))
|
1250
|
-
(inv_reg Reg (vec_xor $I128 x_reg signbit_copies))
|
1251
|
-
(clz_vec Reg (vec_clz $I64X2 inv_reg))
|
1252
|
-
(zero Reg (vec_imm $I64X2 0))
|
1253
|
-
(clz_hi Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 0))
|
1254
|
-
(clz_lo Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 1))
|
1255
|
-
(clz_sum Reg (vec_add $I64X2 clz_hi clz_lo))
|
1256
|
-
(mask Reg (vec_cmpeq $I64X2 clz_hi (vec_imm_splat $I64X2 64))))
|
1257
|
-
(vec_add $I128 (vec_select $I128 clz_sum clz_hi mask) ones)))
|
1258
|
-
|
1259
|
-
|
1260
|
-
;;;; Rules for `ctz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1261
|
-
|
1262
|
-
;; To count trailing zeros, we find the last bit set in the input via (x & -x),
|
1263
|
-
;; count the leading zeros of that value, and subtract from 63:
|
1264
|
-
;;
|
1265
|
-
;; ctz(x) == 63 - clz(x & -x)
|
1266
|
-
;;
|
1267
|
-
;; This works for all cases except a zero input, where the above formula would
|
1268
|
-
;; return -1, but we are expected to return the type size. The compensation
|
1269
|
-
;; for this case is handled differently for 64-bit types vs. smaller types.
|
1270
|
-
|
1271
|
-
;; For smaller types, we simply ensure that the extended 64-bit input is
|
1272
|
-
;; never zero by setting a "guard bit" in the position corresponding to
|
1273
|
-
;; the input type size. This way the 64-bit algorithm above will handle
|
1274
|
-
;; that case correctly automatically.
|
1275
|
-
(rule 2 (lower (has_type (gpr32_ty ty) (ctz x)))
|
1276
|
-
(let ((rx Reg (or_uimm16shifted $I64 x (ctz_guardbit ty)))
|
1277
|
-
(lastbit Reg (and_reg $I64 rx (neg_reg $I64 rx)))
|
1278
|
-
(clz Reg (clz_reg 64 lastbit)))
|
1279
|
-
(sub_reg ty (imm ty 63) clz)))
|
1280
|
-
|
1281
|
-
(decl ctz_guardbit (Type) UImm16Shifted)
|
1282
|
-
(rule (ctz_guardbit $I8) (uimm16shifted 256 0))
|
1283
|
-
(rule (ctz_guardbit $I16) (uimm16shifted 1 16))
|
1284
|
-
(rule (ctz_guardbit $I32) (uimm16shifted 1 32))
|
1285
|
-
|
1286
|
-
;; For 64-bit types, the FLOGR instruction will indicate the zero input case
|
1287
|
-
;; via its condition code. We check for that and replace the instruction
|
1288
|
-
;; result with the value -1 via a conditional move, which will then lead to
|
1289
|
-
;; the correct result after the final subtraction from 63.
|
1290
|
-
(rule 1 (lower (has_type (gpr64_ty _ty) (ctz x)))
|
1291
|
-
(let ((rx Reg x)
|
1292
|
-
(lastbit Reg (and_reg $I64 rx (neg_reg $I64 rx)))
|
1293
|
-
(clz Reg (clz_reg -1 lastbit)))
|
1294
|
-
(sub_reg $I64 (imm $I64 63) clz)))
|
1295
|
-
|
1296
|
-
;; Count trailing zeros, 128-bit full vector.
|
1297
|
-
(rule 0 (lower (has_type $I128 (ctz x)))
|
1298
|
-
(let ((ctz_vec Reg (vec_ctz $I64X2 x))
|
1299
|
-
(zero Reg (vec_imm $I64X2 0))
|
1300
|
-
(ctz_hi Reg (vec_permute_dw_imm $I64X2 zero 0 ctz_vec 0))
|
1301
|
-
(ctz_lo Reg (vec_permute_dw_imm $I64X2 zero 0 ctz_vec 1))
|
1302
|
-
(ctz_sum Reg (vec_add $I64X2 ctz_hi ctz_lo))
|
1303
|
-
(mask Reg (vec_cmpeq $I64X2 ctz_lo (vec_imm_splat $I64X2 64))))
|
1304
|
-
(vec_select $I128 ctz_sum ctz_lo mask)))
|
1305
|
-
|
1306
|
-
|
1307
|
-
;;;; Rules for `popcnt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1308
|
-
|
1309
|
-
;; Population count for 8-bit types is supported by the POPCNT instruction.
|
1310
|
-
(rule (lower (has_type $I8 (popcnt x)))
|
1311
|
-
(popcnt_byte x))
|
1312
|
-
|
1313
|
-
;; On z15, the POPCNT instruction has a variant to compute a full 64-bit
|
1314
|
-
;; population count, which we also use for 16- and 32-bit types.
|
1315
|
-
(rule -1 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (popcnt x)))
|
1316
|
-
(popcnt_reg (put_in_reg_zext64 x)))
|
1317
|
-
|
1318
|
-
;; On z14, we use the regular POPCNT, which computes the population count
|
1319
|
-
;; of each input byte separately, so we need to accumulate those partial
|
1320
|
-
;; results via a series of log2(type size in bytes) - 1 additions. We
|
1321
|
-
;; accumulate in the high byte, so that a final right shift will zero out
|
1322
|
-
;; any unrelated bits to give a clean result. (This does not work with
|
1323
|
-
;; $I16, where we instead accumulate in the low byte and clear high bits
|
1324
|
-
;; via an explicit and operation.)
|
1325
|
-
|
1326
|
-
(rule (lower (has_type (and (mie2_disabled) $I16) (popcnt x)))
|
1327
|
-
(let ((cnt2 Reg (popcnt_byte x))
|
1328
|
-
(cnt1 Reg (add_reg $I32 cnt2 (lshr_imm $I32 cnt2 8))))
|
1329
|
-
(and_uimm16shifted $I32 cnt1 (uimm16shifted 255 0))))
|
1330
|
-
|
1331
|
-
(rule (lower (has_type (and (mie2_disabled) $I32) (popcnt x)))
|
1332
|
-
(let ((cnt4 Reg (popcnt_byte x))
|
1333
|
-
(cnt2 Reg (add_reg $I32 cnt4 (lshl_imm $I32 cnt4 16)))
|
1334
|
-
(cnt1 Reg (add_reg $I32 cnt2 (lshl_imm $I32 cnt2 8))))
|
1335
|
-
(lshr_imm $I32 cnt1 24)))
|
1336
|
-
|
1337
|
-
(rule (lower (has_type (and (mie2_disabled) $I64) (popcnt x)))
|
1338
|
-
(let ((cnt8 Reg (popcnt_byte x))
|
1339
|
-
(cnt4 Reg (add_reg $I64 cnt8 (lshl_imm $I64 cnt8 32)))
|
1340
|
-
(cnt2 Reg (add_reg $I64 cnt4 (lshl_imm $I64 cnt4 16)))
|
1341
|
-
(cnt1 Reg (add_reg $I64 cnt2 (lshl_imm $I64 cnt2 8))))
|
1342
|
-
(lshr_imm $I64 cnt1 56)))
|
1343
|
-
|
1344
|
-
;; Population count for vector types.
|
1345
|
-
(rule 1 (lower (has_type (ty_vec128 ty) (popcnt x)))
|
1346
|
-
(vec_popcnt ty x))
|
1347
|
-
|
1348
|
-
;; Population count, 128-bit full vector.
|
1349
|
-
(rule (lower (has_type $I128 (popcnt x)))
|
1350
|
-
(let ((popcnt_vec Reg (vec_popcnt $I64X2 x))
|
1351
|
-
(zero Reg (vec_imm $I64X2 0))
|
1352
|
-
(popcnt_hi Reg (vec_permute_dw_imm $I64X2 zero 0 popcnt_vec 0))
|
1353
|
-
(popcnt_lo Reg (vec_permute_dw_imm $I64X2 zero 0 popcnt_vec 1)))
|
1354
|
-
(vec_add $I64X2 popcnt_hi popcnt_lo)))
|
1355
|
-
|
1356
|
-
|
1357
|
-
;;;; Rules for `fadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1358
|
-
|
1359
|
-
;; Add two registers.
|
1360
|
-
(rule (lower (has_type ty (fadd x y)))
|
1361
|
-
(fadd_reg ty x y))
|
1362
|
-
|
1363
|
-
|
1364
|
-
;;;; Rules for `fsub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1365
|
-
|
1366
|
-
;; Subtract two registers.
|
1367
|
-
(rule (lower (has_type ty (fsub x y)))
|
1368
|
-
(fsub_reg ty x y))
|
1369
|
-
|
1370
|
-
|
1371
|
-
;;;; Rules for `fmul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1372
|
-
|
1373
|
-
;; Multiply two registers.
|
1374
|
-
(rule (lower (has_type ty (fmul x y)))
|
1375
|
-
(fmul_reg ty x y))
|
1376
|
-
|
1377
|
-
|
1378
|
-
;;;; Rules for `fdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1379
|
-
|
1380
|
-
;; Divide two registers.
|
1381
|
-
(rule (lower (has_type ty (fdiv x y)))
|
1382
|
-
(fdiv_reg ty x y))
|
1383
|
-
|
1384
|
-
|
1385
|
-
;;;; Rules for `fmin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1386
|
-
|
1387
|
-
;; Minimum of two registers.
|
1388
|
-
(rule (lower (has_type ty (fmin x y)))
|
1389
|
-
(fmin_reg ty x y))
|
1390
|
-
|
1391
|
-
|
1392
|
-
;;;; Rules for `fmax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1393
|
-
|
1394
|
-
;; Maximum of two registers.
|
1395
|
-
(rule (lower (has_type ty (fmax x y)))
|
1396
|
-
(fmax_reg ty x y))
|
1397
|
-
|
1398
|
-
|
1399
|
-
;;;; Rules for `fcopysign` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1400
|
-
|
1401
|
-
;; Copysign of two registers.
|
1402
|
-
(rule (lower (has_type $F32 (fcopysign x y)))
|
1403
|
-
(vec_select $F32 x y (imm $F32 2147483647)))
|
1404
|
-
(rule (lower (has_type $F64 (fcopysign x y)))
|
1405
|
-
(vec_select $F64 x y (imm $F64 9223372036854775807)))
|
1406
|
-
(rule (lower (has_type $F32X4 (fcopysign x y)))
|
1407
|
-
(vec_select $F32X4 x y (vec_imm_bit_mask $F32X4 1 31)))
|
1408
|
-
(rule (lower (has_type $F64X2 (fcopysign x y)))
|
1409
|
-
(vec_select $F64X2 x y (vec_imm_bit_mask $F64X2 1 63)))
|
1410
|
-
|
1411
|
-
|
1412
|
-
;;;; Rules for `fma` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1413
|
-
|
1414
|
-
;; Multiply-and-add of three registers.
|
1415
|
-
(rule (lower (has_type ty (fma x y z)))
|
1416
|
-
(fma_reg ty x y z))
|
1417
|
-
|
1418
|
-
|
1419
|
-
;;;; Rules for `sqrt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1420
|
-
|
1421
|
-
;; Square root of a register.
|
1422
|
-
(rule (lower (has_type ty (sqrt x)))
|
1423
|
-
(sqrt_reg ty x))
|
1424
|
-
|
1425
|
-
|
1426
|
-
;;;; Rules for `fneg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1427
|
-
|
1428
|
-
;; Negated value of a register.
|
1429
|
-
(rule (lower (has_type ty (fneg x)))
|
1430
|
-
(fneg_reg ty x))
|
1431
|
-
|
1432
|
-
|
1433
|
-
;;;; Rules for `fabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1434
|
-
|
1435
|
-
;; Absolute value of a register.
|
1436
|
-
(rule (lower (has_type ty (fabs x)))
|
1437
|
-
(fabs_reg ty x))
|
1438
|
-
|
1439
|
-
|
1440
|
-
;;;; Rules for `ceil` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1441
|
-
|
1442
|
-
;; Round value in a register towards positive infinity.
|
1443
|
-
(rule (lower (has_type ty (ceil x)))
|
1444
|
-
(ceil_reg ty x))
|
1445
|
-
|
1446
|
-
|
1447
|
-
;;;; Rules for `floor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1448
|
-
|
1449
|
-
;; Round value in a register towards negative infinity.
|
1450
|
-
(rule (lower (has_type ty (floor x)))
|
1451
|
-
(floor_reg ty x))
|
1452
|
-
|
1453
|
-
|
1454
|
-
;;;; Rules for `trunc` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1455
|
-
|
1456
|
-
;; Round value in a register towards zero.
|
1457
|
-
(rule (lower (has_type ty (trunc x)))
|
1458
|
-
(trunc_reg ty x))
|
1459
|
-
|
1460
|
-
|
1461
|
-
;;;; Rules for `nearest` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1462
|
-
|
1463
|
-
;; Round value in a register towards nearest.
|
1464
|
-
(rule (lower (has_type ty (nearest x)))
|
1465
|
-
(nearest_reg ty x))
|
1466
|
-
|
1467
|
-
|
1468
|
-
;;;; Rules for `fpromote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1469
|
-
|
1470
|
-
;; Promote a register.
|
1471
|
-
(rule (lower (has_type (fits_in_64 dst_ty) (fpromote x @ (value_type src_ty))))
|
1472
|
-
(fpromote_reg dst_ty src_ty x))
|
1473
|
-
|
1474
|
-
|
1475
|
-
;;;; Rules for `fvpromote_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1476
|
-
|
1477
|
-
;; Promote a register.
|
1478
|
-
(rule (lower (has_type $F64X2 (fvpromote_low x @ (value_type $F32X4))))
|
1479
|
-
(fpromote_reg $F64X2 $F32X4 (vec_merge_low_lane_order $I32X4 x x)))
|
1480
|
-
|
1481
|
-
|
1482
|
-
;;;; Rules for `fdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1483
|
-
|
1484
|
-
;; Demote a register.
|
1485
|
-
(rule (lower (has_type (fits_in_64 dst_ty) (fdemote x @ (value_type src_ty))))
|
1486
|
-
(fdemote_reg dst_ty src_ty (FpuRoundMode.Current) x))
|
1487
|
-
|
1488
|
-
|
1489
|
-
;;;; Rules for `fvdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1490
|
-
|
1491
|
-
;; Demote a register.
|
1492
|
-
(rule (lower (has_type $F32X4 (fvdemote x @ (value_type $F64X2))))
|
1493
|
-
(let ((dst Reg (fdemote_reg $F32X4 $F64X2 (FpuRoundMode.Current) x)))
|
1494
|
-
(vec_pack_lane_order $I64X2 (vec_lshr_imm $I64X2 dst 32)
|
1495
|
-
(vec_imm $I64X2 0))))
|
1496
|
-
|
1497
|
-
|
1498
|
-
;;;; Rules for `fcvt_from_uint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1499
|
-
|
1500
|
-
;; Convert a 32-bit or smaller unsigned integer to $F32 (z15 instruction).
|
1501
|
-
(rule 1 (lower (has_type $F32
|
1502
|
-
(fcvt_from_uint x @ (value_type (and (vxrs_ext2_enabled) (fits_in_32 ty))))))
|
1503
|
-
(fcvt_from_uint_reg $F32 (FpuRoundMode.ToNearestTiesToEven)
|
1504
|
-
(put_in_reg_zext32 x)))
|
1505
|
-
|
1506
|
-
;; Convert a 64-bit or smaller unsigned integer to $F32, via an intermediate $F64.
|
1507
|
-
(rule (lower (has_type $F32 (fcvt_from_uint x @ (value_type (fits_in_64 ty)))))
|
1508
|
-
(fdemote_reg $F32 $F64 (FpuRoundMode.ToNearestTiesToEven)
|
1509
|
-
(fcvt_from_uint_reg $F64 (FpuRoundMode.ShorterPrecision)
|
1510
|
-
(put_in_reg_zext64 x))))
|
1511
|
-
|
1512
|
-
;; Convert a 64-bit or smaller unsigned integer to $F64.
|
1513
|
-
(rule (lower (has_type $F64 (fcvt_from_uint x @ (value_type (fits_in_64 ty)))))
|
1514
|
-
(fcvt_from_uint_reg $F64 (FpuRoundMode.ToNearestTiesToEven)
|
1515
|
-
(put_in_reg_zext64 x)))
|
1516
|
-
|
1517
|
-
;; Convert $I32X4 to $F32X4 (z15 instruction).
|
1518
|
-
(rule 1 (lower (has_type (and (vxrs_ext2_enabled) $F32X4)
|
1519
|
-
(fcvt_from_uint x @ (value_type $I32X4))))
|
1520
|
-
(fcvt_from_uint_reg $F32X4 (FpuRoundMode.ToNearestTiesToEven) x))
|
1521
|
-
|
1522
|
-
;; Convert $I32X4 to $F32X4 (via two $F64X2 on z14).
|
1523
|
-
(rule (lower (has_type (and (vxrs_ext2_disabled) $F32X4)
|
1524
|
-
(fcvt_from_uint x @ (value_type $I32X4))))
|
1525
|
-
(vec_permute $F32X4
|
1526
|
-
(fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
|
1527
|
-
(fcvt_from_uint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
|
1528
|
-
(vec_unpacku_high $I32X4 x)))
|
1529
|
-
(fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
|
1530
|
-
(fcvt_from_uint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
|
1531
|
-
(vec_unpacku_low $I32X4 x)))
|
1532
|
-
(vec_imm $I8X16 (imm8x16 0 1 2 3 8 9 10 11 16 17 18 19 24 25 26 27))))
|
1533
|
-
|
1534
|
-
;; Convert $I64X2 to $F64X2.
|
1535
|
-
(rule (lower (has_type $F64X2 (fcvt_from_uint x @ (value_type $I64X2))))
|
1536
|
-
(fcvt_from_uint_reg $F64X2 (FpuRoundMode.ToNearestTiesToEven) x))
|
1537
|
-
|
1538
|
-
|
1539
|
-
;;;; Rules for `fcvt_from_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1540
|
-
|
1541
|
-
;; Convert a 32-bit or smaller signed integer to $F32 (z15 instruction).
|
1542
|
-
(rule 1 (lower (has_type $F32
|
1543
|
-
(fcvt_from_sint x @ (value_type (and (vxrs_ext2_enabled) (fits_in_32 ty))))))
|
1544
|
-
(fcvt_from_sint_reg $F32 (FpuRoundMode.ToNearestTiesToEven)
|
1545
|
-
(put_in_reg_sext32 x)))
|
1546
|
-
|
1547
|
-
;; Convert a 64-bit or smaller signed integer to $F32, via an intermediate $F64.
|
1548
|
-
(rule (lower (has_type $F32 (fcvt_from_sint x @ (value_type (fits_in_64 ty)))))
|
1549
|
-
(fdemote_reg $F32 $F64 (FpuRoundMode.ToNearestTiesToEven)
|
1550
|
-
(fcvt_from_sint_reg $F64 (FpuRoundMode.ShorterPrecision)
|
1551
|
-
(put_in_reg_sext64 x))))
|
1552
|
-
|
1553
|
-
;; Convert a 64-bit or smaller signed integer to $F64.
|
1554
|
-
(rule (lower (has_type $F64 (fcvt_from_sint x @ (value_type (fits_in_64 ty)))))
|
1555
|
-
(fcvt_from_sint_reg $F64 (FpuRoundMode.ToNearestTiesToEven)
|
1556
|
-
(put_in_reg_sext64 x)))
|
1557
|
-
|
1558
|
-
;; Convert $I32X4 to $F32X4 (z15 instruction).
|
1559
|
-
(rule 1 (lower (has_type (and (vxrs_ext2_enabled) $F32X4)
|
1560
|
-
(fcvt_from_sint x @ (value_type $I32X4))))
|
1561
|
-
(fcvt_from_sint_reg $F32X4 (FpuRoundMode.ToNearestTiesToEven) x))
|
1562
|
-
|
1563
|
-
;; Convert $I32X4 to $F32X4 (via two $F64X2 on z14).
|
1564
|
-
(rule (lower (has_type (and (vxrs_ext2_disabled) $F32X4)
|
1565
|
-
(fcvt_from_sint x @ (value_type $I32X4))))
|
1566
|
-
(vec_permute $F32X4
|
1567
|
-
(fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
|
1568
|
-
(fcvt_from_sint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
|
1569
|
-
(vec_unpacks_high $I32X4 x)))
|
1570
|
-
(fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
|
1571
|
-
(fcvt_from_sint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
|
1572
|
-
(vec_unpacks_low $I32X4 x)))
|
1573
|
-
(vec_imm $I8X16 (imm8x16 0 1 2 3 8 9 10 11 16 17 18 19 24 25 26 27))))
|
1574
|
-
|
1575
|
-
;; Convert $I64X2 to $F64X2.
|
1576
|
-
(rule (lower (has_type $F64X2 (fcvt_from_sint x @ (value_type $I64X2))))
|
1577
|
-
(fcvt_from_sint_reg $F64X2 (FpuRoundMode.ToNearestTiesToEven) x))
|
1578
|
-
|
1579
|
-
|
1580
|
-
;;;; Rules for `fcvt_to_uint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1581
|
-
|
1582
|
-
;; Convert a scalar floating-point value in a register to an unsigned integer.
|
1583
|
-
;; Traps if the input cannot be represented in the output type.
|
1584
|
-
(rule (lower (has_type (fits_in_64 dst_ty)
|
1585
|
-
(fcvt_to_uint x @ (value_type src_ty))))
|
1586
|
-
(let ((src Reg (put_in_reg x))
|
1587
|
-
;; First, check whether the input is a NaN, and trap if so.
|
1588
|
-
(_ Reg (trap_if (fcmp_reg src_ty src src)
|
1589
|
-
(floatcc_as_cond (FloatCC.Unordered))
|
1590
|
-
(trap_code_bad_conversion_to_integer)))
|
1591
|
-
;; Now check whether the input is out of range for the target type.
|
1592
|
-
(_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_uint_ub src_ty dst_ty))
|
1593
|
-
(floatcc_as_cond (FloatCC.GreaterThanOrEqual))
|
1594
|
-
(trap_code_integer_overflow)))
|
1595
|
-
(_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_uint_lb src_ty))
|
1596
|
-
(floatcc_as_cond (FloatCC.LessThanOrEqual))
|
1597
|
-
(trap_code_integer_overflow)))
|
1598
|
-
;; Perform the conversion using the larger type size.
|
1599
|
-
(flt_ty Type (fcvt_flt_ty dst_ty src_ty))
|
1600
|
-
(src_ext Reg (fpromote_reg flt_ty src_ty src)))
|
1601
|
-
(fcvt_to_uint_reg flt_ty (FpuRoundMode.ToZero) src_ext)))
|
1602
|
-
|
1603
|
-
|
1604
|
-
;;;; Rules for `fcvt_to_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1605
|
-
|
1606
|
-
;; Convert a scalar floating-point value in a register to a signed integer.
|
1607
|
-
;; Traps if the input cannot be represented in the output type.
|
1608
|
-
(rule (lower (has_type (fits_in_64 dst_ty)
|
1609
|
-
(fcvt_to_sint x @ (value_type src_ty))))
|
1610
|
-
(let ((src Reg (put_in_reg x))
|
1611
|
-
;; First, check whether the input is a NaN, and trap if so.
|
1612
|
-
(_ Reg (trap_if (fcmp_reg src_ty src src)
|
1613
|
-
(floatcc_as_cond (FloatCC.Unordered))
|
1614
|
-
(trap_code_bad_conversion_to_integer)))
|
1615
|
-
;; Now check whether the input is out of range for the target type.
|
1616
|
-
(_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_sint_ub src_ty dst_ty))
|
1617
|
-
(floatcc_as_cond (FloatCC.GreaterThanOrEqual))
|
1618
|
-
(trap_code_integer_overflow)))
|
1619
|
-
(_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_sint_lb src_ty dst_ty))
|
1620
|
-
(floatcc_as_cond (FloatCC.LessThanOrEqual))
|
1621
|
-
(trap_code_integer_overflow)))
|
1622
|
-
;; Perform the conversion using the larger type size.
|
1623
|
-
(flt_ty Type (fcvt_flt_ty dst_ty src_ty))
|
1624
|
-
(src_ext Reg (fpromote_reg flt_ty src_ty src)))
|
1625
|
-
;; Perform the conversion.
|
1626
|
-
(fcvt_to_sint_reg flt_ty (FpuRoundMode.ToZero) src_ext)))
|
1627
|
-
|
1628
|
-
|
1629
|
-
;;;; Rules for `fcvt_to_uint_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1630
|
-
|
1631
|
-
;; Convert a scalar floating-point value in a register to an unsigned integer.
|
1632
|
-
(rule -1 (lower (has_type (fits_in_64 dst_ty)
|
1633
|
-
(fcvt_to_uint_sat x @ (value_type src_ty))))
|
1634
|
-
(let ((src Reg (put_in_reg x))
|
1635
|
-
;; Perform the conversion using the larger type size.
|
1636
|
-
(flt_ty Type (fcvt_flt_ty dst_ty src_ty))
|
1637
|
-
(int_ty Type (fcvt_int_ty dst_ty src_ty))
|
1638
|
-
(src_ext Reg (fpromote_reg flt_ty src_ty src))
|
1639
|
-
(dst Reg (fcvt_to_uint_reg flt_ty (FpuRoundMode.ToZero) src_ext)))
|
1640
|
-
;; Clamp the output to the destination type bounds.
|
1641
|
-
(uint_sat_reg dst_ty int_ty dst)))
|
1642
|
-
|
1643
|
-
;; Convert $F32X4 to $I32X4 (z15 instruction).
|
1644
|
-
(rule 1 (lower (has_type (and (vxrs_ext2_enabled) $I32X4)
|
1645
|
-
(fcvt_to_uint_sat x @ (value_type $F32X4))))
|
1646
|
-
(fcvt_to_uint_reg $F32X4 (FpuRoundMode.ToZero) x))
|
1647
|
-
|
1648
|
-
;; Convert $F32X4 to $I32X4 (via two $F64X2 on z14).
|
1649
|
-
(rule (lower (has_type (and (vxrs_ext2_disabled) $I32X4)
|
1650
|
-
(fcvt_to_uint_sat x @ (value_type $F32X4))))
|
1651
|
-
(vec_pack_usat $I64X2
|
1652
|
-
(fcvt_to_uint_reg $F64X2 (FpuRoundMode.ToZero)
|
1653
|
-
(fpromote_reg $F64X2 $F32X4 (vec_merge_high $I32X4 x x)))
|
1654
|
-
(fcvt_to_uint_reg $F64X2 (FpuRoundMode.ToZero)
|
1655
|
-
(fpromote_reg $F64X2 $F32X4 (vec_merge_low $I32X4 x x)))))
|
1656
|
-
|
1657
|
-
;; Convert $F64X2 to $I64X2.
|
1658
|
-
(rule (lower (has_type $I64X2 (fcvt_to_uint_sat x @ (value_type $F64X2))))
|
1659
|
-
(fcvt_to_uint_reg $F64X2 (FpuRoundMode.ToZero) x))
|
1660
|
-
|
1661
|
-
|
1662
|
-
;;;; Rules for `fcvt_to_sint_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1663
|
-
|
1664
|
-
;; Convert a scalar floating-point value in a register to a signed integer.
|
1665
|
-
(rule -1 (lower (has_type (fits_in_64 dst_ty)
|
1666
|
-
(fcvt_to_sint_sat x @ (value_type src_ty))))
|
1667
|
-
(let ((src Reg (put_in_reg x))
|
1668
|
-
;; Perform the conversion using the larger type size.
|
1669
|
-
(flt_ty Type (fcvt_flt_ty dst_ty src_ty))
|
1670
|
-
(int_ty Type (fcvt_int_ty dst_ty src_ty))
|
1671
|
-
(src_ext Reg (fpromote_reg flt_ty src_ty src))
|
1672
|
-
(dst Reg (fcvt_to_sint_reg flt_ty (FpuRoundMode.ToZero) src_ext))
|
1673
|
-
;; In most special cases, the Z instruction already yields the
|
1674
|
-
;; result expected by Cranelift semantics. The only exception
|
1675
|
-
;; it the case where the input was a NaN. We explicitly check
|
1676
|
-
;; for that and force the output to 0 in that case.
|
1677
|
-
(sat Reg (with_flags_reg (fcmp_reg src_ty src src)
|
1678
|
-
(cmov_imm int_ty
|
1679
|
-
(floatcc_as_cond (FloatCC.Unordered)) 0 dst))))
|
1680
|
-
;; Clamp the output to the destination type bounds.
|
1681
|
-
(sint_sat_reg dst_ty int_ty sat)))
|
1682
|
-
|
1683
|
-
;; Convert $F32X4 to $I32X4 (z15 instruction).
|
1684
|
-
(rule 1 (lower (has_type (and (vxrs_ext2_enabled) $I32X4)
|
1685
|
-
(fcvt_to_sint_sat src @ (value_type $F32X4))))
|
1686
|
-
;; See above for why we need to handle NaNs specially.
|
1687
|
-
(vec_select $I32X4
|
1688
|
-
(fcvt_to_sint_reg $F32X4 (FpuRoundMode.ToZero) src)
|
1689
|
-
(vec_imm $I32X4 0) (vec_fcmpeq $F32X4 src src)))
|
1690
|
-
|
1691
|
-
;; Convert $F32X4 to $I32X4 (via two $F64X2 on z14).
|
1692
|
-
(rule (lower (has_type (and (vxrs_ext2_disabled) $I32X4)
|
1693
|
-
(fcvt_to_sint_sat src @ (value_type $F32X4))))
|
1694
|
-
;; See above for why we need to handle NaNs specially.
|
1695
|
-
(vec_select $I32X4
|
1696
|
-
(vec_pack_ssat $I64X2
|
1697
|
-
(fcvt_to_sint_reg $F64X2 (FpuRoundMode.ToZero)
|
1698
|
-
(fpromote_reg $F64X2 $F32X4 (vec_merge_high $I32X4 src src)))
|
1699
|
-
(fcvt_to_sint_reg $F64X2 (FpuRoundMode.ToZero)
|
1700
|
-
(fpromote_reg $F64X2 $F32X4 (vec_merge_low $I32X4 src src))))
|
1701
|
-
(vec_imm $I32X4 0) (vec_fcmpeq $F32X4 src src)))
|
1702
|
-
|
1703
|
-
;; Convert $F64X2 to $I64X2.
|
1704
|
-
(rule (lower (has_type $I64X2 (fcvt_to_sint_sat src @ (value_type $F64X2))))
|
1705
|
-
;; See above for why we need to handle NaNs specially.
|
1706
|
-
(vec_select $I64X2
|
1707
|
-
(fcvt_to_sint_reg $F64X2 (FpuRoundMode.ToZero) src)
|
1708
|
-
(vec_imm $I64X2 0) (vec_fcmpeq $F64X2 src src)))
|
1709
|
-
|
1710
|
-
|
1711
|
-
;;;; Rules for `bitcast` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1712
|
-
|
1713
|
-
;; Reinterpret a 64-bit integer value as floating-point.
|
1714
|
-
(rule (lower (has_type $F64 (bitcast _ x @ (value_type $I64))))
|
1715
|
-
(vec_insert_lane_undef $F64X2 x 0 (zero_reg)))
|
1716
|
-
|
1717
|
-
;; Reinterpret a 64-bit floating-point value as integer.
|
1718
|
-
(rule (lower (has_type $I64 (bitcast _ x @ (value_type $F64))))
|
1719
|
-
(vec_extract_lane $F64X2 x 0 (zero_reg)))
|
1720
|
-
|
1721
|
-
;; Reinterpret a 32-bit integer value as floating-point.
|
1722
|
-
(rule (lower (has_type $F32 (bitcast _ x @ (value_type $I32))))
|
1723
|
-
(vec_insert_lane_undef $F32X4 x 0 (zero_reg)))
|
1724
|
-
|
1725
|
-
;; Reinterpret a 32-bit floating-point value as integer.
|
1726
|
-
(rule (lower (has_type $I32 (bitcast _ x @ (value_type $F32))))
|
1727
|
-
(vec_extract_lane $F32X4 x 0 (zero_reg)))
|
1728
|
-
|
1729
|
-
;; Bitcast between types residing in GPRs is a no-op.
|
1730
|
-
(rule 1 (lower (has_type (gpr32_ty _)
|
1731
|
-
(bitcast _ x @ (value_type (gpr32_ty _))))) x)
|
1732
|
-
(rule 2 (lower (has_type (gpr64_ty _)
|
1733
|
-
(bitcast _ x @ (value_type (gpr64_ty _))))) x)
|
1734
|
-
|
1735
|
-
;; Bitcast between types residing in FPRs is a no-op.
|
1736
|
-
(rule 3 (lower (has_type (ty_scalar_float _)
|
1737
|
-
(bitcast _ x @ (value_type (ty_scalar_float _))))) x)
|
1738
|
-
|
1739
|
-
;; Bitcast between types residing in VRs is a no-op if lane count is unchanged.
|
1740
|
-
(rule 5 (lower (has_type (multi_lane bits count)
|
1741
|
-
(bitcast _ x @ (value_type (multi_lane bits count))))) x)
|
1742
|
-
|
1743
|
-
;; Bitcast between types residing in VRs with different lane counts is a
|
1744
|
-
;; no-op if the operation's MemFlags indicate a byte order compatible with
|
1745
|
-
;; the current lane order. Otherwise, lane elements need to be swapped,
|
1746
|
-
;; first in the input type, and then again in the output type. This could
|
1747
|
-
;; be optimized further, but we don't bother at the moment since due to our
|
1748
|
-
;; choice of lane order depending on the current function ABI, this case will
|
1749
|
-
;; currently never arise in practice.
|
1750
|
-
(rule 4 (lower (has_type (vr128_ty out_ty)
|
1751
|
-
(bitcast flags x @ (value_type (vr128_ty in_ty)))))
|
1752
|
-
(abi_vec_elt_rev (lane_order_from_memflags flags) out_ty
|
1753
|
-
(abi_vec_elt_rev (lane_order_from_memflags flags) in_ty x)))
|
1754
|
-
|
1755
|
-
|
1756
|
-
;;;; Rules for `insertlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1757
|
-
|
1758
|
-
;; Insert vector lane from general-purpose register.
|
1759
|
-
(rule 1 (lower (insertlane x @ (value_type ty)
|
1760
|
-
y @ (value_type in_ty)
|
1761
|
-
(u8_from_uimm8 idx)))
|
1762
|
-
(if (ty_int_ref_scalar_64 in_ty))
|
1763
|
-
(vec_insert_lane ty x y (be_lane_idx ty idx) (zero_reg)))
|
1764
|
-
|
1765
|
-
;; Insert vector lane from floating-point register.
|
1766
|
-
(rule 0 (lower (insertlane x @ (value_type ty)
|
1767
|
-
y @ (value_type (ty_scalar_float _))
|
1768
|
-
(u8_from_uimm8 idx)))
|
1769
|
-
(vec_move_lane_and_insert ty x (be_lane_idx ty idx) y 0))
|
1770
|
-
|
1771
|
-
;; Insert vector lane from another vector lane.
|
1772
|
-
(rule 2 (lower (insertlane x @ (value_type ty)
|
1773
|
-
(extractlane y (u8_from_uimm8 src_idx))
|
1774
|
-
(u8_from_uimm8 dst_idx)))
|
1775
|
-
(vec_move_lane_and_insert ty x (be_lane_idx ty dst_idx)
|
1776
|
-
y (be_lane_idx ty src_idx)))
|
1777
|
-
|
1778
|
-
;; Insert vector lane from signed 16-bit immediate.
|
1779
|
-
(rule 3 (lower (insertlane x @ (value_type ty) (i16_from_value y)
|
1780
|
-
(u8_from_uimm8 idx)))
|
1781
|
-
(vec_insert_lane_imm ty x y (be_lane_idx ty idx)))
|
1782
|
-
|
1783
|
-
;; Insert vector lane from big-endian memory.
|
1784
|
-
(rule 4 (lower (insertlane x @ (value_type ty) (sinkable_load y)
|
1785
|
-
(u8_from_uimm8 idx)))
|
1786
|
-
(vec_load_lane ty x (sink_load y) (be_lane_idx ty idx)))
|
1787
|
-
|
1788
|
-
;; Insert vector lane from little-endian memory.
|
1789
|
-
(rule 5 (lower (insertlane x @ (value_type ty) (sinkable_load_little y)
|
1790
|
-
(u8_from_uimm8 idx)))
|
1791
|
-
(vec_load_lane_little ty x (sink_load y) (be_lane_idx ty idx)))
|
1792
|
-
|
1793
|
-
|
1794
|
-
;; Helper to extract one lane from a vector and insert it into another.
|
1795
|
-
(decl vec_move_lane_and_insert (Type Reg u8 Reg u8) Reg)
|
1796
|
-
|
1797
|
-
;; For 64-bit elements we always use VPDI.
|
1798
|
-
(rule (vec_move_lane_and_insert ty @ (multi_lane 64 _) dst 0 src src_idx)
|
1799
|
-
(vec_permute_dw_imm ty src src_idx dst 1))
|
1800
|
-
(rule (vec_move_lane_and_insert ty @ (multi_lane 64 _) dst 1 src src_idx)
|
1801
|
-
(vec_permute_dw_imm ty dst 0 src src_idx))
|
1802
|
-
|
1803
|
-
;; If source and destination index are the same, use vec_select.
|
1804
|
-
(rule -1 (vec_move_lane_and_insert ty dst idx src idx)
|
1805
|
-
(vec_select ty src
|
1806
|
-
dst (vec_imm_byte_mask ty (lane_byte_mask ty idx))))
|
1807
|
-
|
1808
|
-
;; Otherwise replicate source first and then use vec_select.
|
1809
|
-
(rule -2 (vec_move_lane_and_insert ty dst dst_idx src src_idx)
|
1810
|
-
(vec_select ty (vec_replicate_lane ty src src_idx)
|
1811
|
-
dst (vec_imm_byte_mask ty (lane_byte_mask ty dst_idx))))
|
1812
|
-
|
1813
|
-
|
1814
|
-
;; Helper to implement a generic little-endian variant of vec_load_lane.
|
1815
|
-
(decl vec_load_lane_little (Type Reg MemArg u8) Reg)
|
1816
|
-
|
1817
|
-
;; 8-byte little-endian loads can be performed via a normal load.
|
1818
|
-
(rule (vec_load_lane_little ty @ (multi_lane 8 _) dst addr lane_imm)
|
1819
|
-
(vec_load_lane ty dst addr lane_imm))
|
1820
|
-
|
1821
|
-
;; On z15, we have instructions to perform little-endian loads.
|
1822
|
-
(rule 1 (vec_load_lane_little (and (vxrs_ext2_enabled)
|
1823
|
-
ty @ (multi_lane 16 _)) dst addr lane_imm)
|
1824
|
-
(vec_load_lane_rev ty dst addr lane_imm))
|
1825
|
-
(rule 1 (vec_load_lane_little (and (vxrs_ext2_enabled)
|
1826
|
-
ty @ (multi_lane 32 _)) dst addr lane_imm)
|
1827
|
-
(vec_load_lane_rev ty dst addr lane_imm))
|
1828
|
-
(rule 1 (vec_load_lane_little (and (vxrs_ext2_enabled)
|
1829
|
-
ty @ (multi_lane 64 _)) dst addr lane_imm)
|
1830
|
-
(vec_load_lane_rev ty dst addr lane_imm))
|
1831
|
-
|
1832
|
-
;; On z14, use a little-endian load to GPR followed by vec_insert_lane.
|
1833
|
-
(rule (vec_load_lane_little (and (vxrs_ext2_disabled)
|
1834
|
-
ty @ (multi_lane 16 _)) dst addr lane_imm)
|
1835
|
-
(vec_insert_lane ty dst (loadrev16 addr) lane_imm (zero_reg)))
|
1836
|
-
(rule (vec_load_lane_little (and (vxrs_ext2_disabled)
|
1837
|
-
ty @ (multi_lane 32 _)) dst addr lane_imm)
|
1838
|
-
(vec_insert_lane ty dst (loadrev32 addr) lane_imm (zero_reg)))
|
1839
|
-
(rule (vec_load_lane_little (and (vxrs_ext2_disabled)
|
1840
|
-
ty @ (multi_lane 64 _)) dst addr lane_imm)
|
1841
|
-
(vec_insert_lane ty dst (loadrev64 addr) lane_imm (zero_reg)))
|
1842
|
-
|
1843
|
-
;; Helper to implement a generic little-endian variant of vec_load_lane_undef.
|
1844
|
-
(decl vec_load_lane_little_undef (Type MemArg u8) Reg)
|
1845
|
-
|
1846
|
-
;; 8-byte little-endian loads can be performed via a normal load.
|
1847
|
-
(rule (vec_load_lane_little_undef ty @ (multi_lane 8 _) addr lane_imm)
|
1848
|
-
(vec_load_lane_undef ty addr lane_imm))
|
1849
|
-
|
1850
|
-
;; On z15, we have instructions to perform little-endian loads.
|
1851
|
-
(rule 1 (vec_load_lane_little_undef (and (vxrs_ext2_enabled)
|
1852
|
-
ty @ (multi_lane 16 _)) addr lane_imm)
|
1853
|
-
(vec_load_lane_rev_undef ty addr lane_imm))
|
1854
|
-
(rule 1 (vec_load_lane_little_undef (and (vxrs_ext2_enabled)
|
1855
|
-
ty @ (multi_lane 32 _)) addr lane_imm)
|
1856
|
-
(vec_load_lane_rev_undef ty addr lane_imm))
|
1857
|
-
(rule 1 (vec_load_lane_little_undef (and (vxrs_ext2_enabled)
|
1858
|
-
ty @ (multi_lane 64 _)) addr lane_imm)
|
1859
|
-
(vec_load_lane_rev_undef ty addr lane_imm))
|
1860
|
-
|
1861
|
-
;; On z14, use a little-endian load to GPR followed by vec_insert_lane_undef.
|
1862
|
-
(rule (vec_load_lane_little_undef (and (vxrs_ext2_disabled)
|
1863
|
-
ty @ (multi_lane 16 _)) addr lane_imm)
|
1864
|
-
(vec_insert_lane_undef ty (loadrev16 addr) lane_imm (zero_reg)))
|
1865
|
-
(rule (vec_load_lane_little_undef (and (vxrs_ext2_disabled)
|
1866
|
-
ty @ (multi_lane 32 _)) addr lane_imm)
|
1867
|
-
(vec_insert_lane_undef ty (loadrev32 addr) lane_imm (zero_reg)))
|
1868
|
-
(rule (vec_load_lane_little_undef (and (vxrs_ext2_disabled)
|
1869
|
-
ty @ (multi_lane 64 _)) addr lane_imm)
|
1870
|
-
(vec_insert_lane_undef ty (loadrev64 addr) lane_imm (zero_reg)))
|
1871
|
-
|
1872
|
-
|
1873
|
-
;;;; Rules for `extractlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1874
|
-
|
1875
|
-
;; Extract vector lane to general-purpose register.
|
1876
|
-
(rule 1 (lower (has_type out_ty
|
1877
|
-
(extractlane x @ (value_type ty) (u8_from_uimm8 idx))))
|
1878
|
-
(if (ty_int_ref_scalar_64 out_ty))
|
1879
|
-
(vec_extract_lane ty x (be_lane_idx ty idx) (zero_reg)))
|
1880
|
-
|
1881
|
-
;; Extract vector lane to floating-point register.
|
1882
|
-
(rule 0 (lower (has_type (ty_scalar_float _)
|
1883
|
-
(extractlane x @ (value_type ty) (u8_from_uimm8 idx))))
|
1884
|
-
(vec_replicate_lane ty x (be_lane_idx ty idx)))
|
1885
|
-
|
1886
|
-
;; Extract vector lane and store to big-endian memory.
|
1887
|
-
(rule 6 (lower (store flags @ (bigendian)
|
1888
|
-
(extractlane x @ (value_type ty) (u8_from_uimm8 idx))
|
1889
|
-
addr offset))
|
1890
|
-
(side_effect (vec_store_lane ty x
|
1891
|
-
(lower_address flags addr offset) (be_lane_idx ty idx))))
|
1892
|
-
|
1893
|
-
;; Extract vector lane and store to little-endian memory.
|
1894
|
-
(rule 5 (lower (store flags @ (littleendian)
|
1895
|
-
(extractlane x @ (value_type ty) (u8_from_uimm8 idx))
|
1896
|
-
addr offset))
|
1897
|
-
(side_effect (vec_store_lane_little ty x
|
1898
|
-
(lower_address flags addr offset) (be_lane_idx ty idx))))
|
1899
|
-
|
1900
|
-
|
1901
|
-
;; Helper to implement a generic little-endian variant of vec_store_lane.
|
1902
|
-
(decl vec_store_lane_little (Type Reg MemArg u8) SideEffectNoResult)
|
1903
|
-
|
1904
|
-
;; 8-byte little-endian stores can be performed via a normal store.
|
1905
|
-
(rule (vec_store_lane_little ty @ (multi_lane 8 _) src addr lane_imm)
|
1906
|
-
(vec_store_lane ty src addr lane_imm))
|
1907
|
-
|
1908
|
-
;; On z15, we have instructions to perform little-endian stores.
|
1909
|
-
(rule 1 (vec_store_lane_little (and (vxrs_ext2_enabled)
|
1910
|
-
ty @ (multi_lane 16 _)) src addr lane_imm)
|
1911
|
-
(vec_store_lane_rev ty src addr lane_imm))
|
1912
|
-
(rule 1 (vec_store_lane_little (and (vxrs_ext2_enabled)
|
1913
|
-
ty @ (multi_lane 32 _)) src addr lane_imm)
|
1914
|
-
(vec_store_lane_rev ty src addr lane_imm))
|
1915
|
-
(rule 1 (vec_store_lane_little (and (vxrs_ext2_enabled)
|
1916
|
-
ty @ (multi_lane 64 _)) src addr lane_imm)
|
1917
|
-
(vec_store_lane_rev ty src addr lane_imm))
|
1918
|
-
|
1919
|
-
;; On z14, use vec_extract_lane followed by a little-endian store from GPR.
|
1920
|
-
(rule (vec_store_lane_little (and (vxrs_ext2_disabled)
|
1921
|
-
ty @ (multi_lane 16 _)) src addr lane_imm)
|
1922
|
-
(storerev16 (vec_extract_lane ty src lane_imm (zero_reg)) addr))
|
1923
|
-
(rule (vec_store_lane_little (and (vxrs_ext2_disabled)
|
1924
|
-
ty @ (multi_lane 32 _)) src addr lane_imm)
|
1925
|
-
(storerev32 (vec_extract_lane ty src lane_imm (zero_reg)) addr))
|
1926
|
-
(rule (vec_store_lane_little (and (vxrs_ext2_disabled)
|
1927
|
-
ty @ (multi_lane 64 _)) src addr lane_imm)
|
1928
|
-
(storerev64 (vec_extract_lane ty src lane_imm (zero_reg)) addr))
|
1929
|
-
|
1930
|
-
|
1931
|
-
;;;; Rules for `splat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1932
|
-
|
1933
|
-
;; Load replicated value from general-purpose register.
|
1934
|
-
(rule 1 (lower (has_type ty (splat x @ (value_type in_ty))))
|
1935
|
-
(if (ty_int_ref_scalar_64 in_ty))
|
1936
|
-
(vec_replicate_lane ty (vec_insert_lane_undef ty x 0 (zero_reg)) 0))
|
1937
|
-
|
1938
|
-
;; Load replicated value from floating-point register.
|
1939
|
-
(rule 0 (lower (has_type ty (splat
|
1940
|
-
x @ (value_type (ty_scalar_float _)))))
|
1941
|
-
(vec_replicate_lane ty x 0))
|
1942
|
-
|
1943
|
-
;; Load replicated value from vector lane.
|
1944
|
-
(rule 2 (lower (has_type ty (splat (extractlane x (u8_from_uimm8 idx)))))
|
1945
|
-
(vec_replicate_lane ty x (be_lane_idx ty idx)))
|
1946
|
-
|
1947
|
-
;; Load replicated 16-bit immediate value.
|
1948
|
-
(rule 3 (lower (has_type ty (splat (i16_from_value x))))
|
1949
|
-
(vec_imm_replicate ty x))
|
1950
|
-
|
1951
|
-
;; Load replicated value from big-endian memory.
|
1952
|
-
(rule 4 (lower (has_type ty (splat (sinkable_load x))))
|
1953
|
-
(vec_load_replicate ty (sink_load x)))
|
1954
|
-
|
1955
|
-
;; Load replicated value from little-endian memory.
|
1956
|
-
(rule 5 (lower (has_type ty (splat (sinkable_load_little x))))
|
1957
|
-
(vec_load_replicate_little ty (sink_load x)))
|
1958
|
-
|
1959
|
-
|
1960
|
-
;; Helper to implement a generic little-endian variant of vec_load_replicate
|
1961
|
-
(decl vec_load_replicate_little (Type MemArg) Reg)
|
1962
|
-
|
1963
|
-
;; 8-byte little-endian loads can be performed via a normal load.
|
1964
|
-
(rule (vec_load_replicate_little ty @ (multi_lane 8 _) addr)
|
1965
|
-
(vec_load_replicate ty addr))
|
1966
|
-
|
1967
|
-
;; On z15, we have instructions to perform little-endian loads.
|
1968
|
-
(rule 1 (vec_load_replicate_little (and (vxrs_ext2_enabled)
|
1969
|
-
ty @ (multi_lane 16 _)) addr)
|
1970
|
-
(vec_load_replicate_rev ty addr))
|
1971
|
-
(rule 1 (vec_load_replicate_little (and (vxrs_ext2_enabled)
|
1972
|
-
ty @ (multi_lane 32 _)) addr)
|
1973
|
-
(vec_load_replicate_rev ty addr))
|
1974
|
-
(rule 1 (vec_load_replicate_little (and (vxrs_ext2_enabled)
|
1975
|
-
ty @ (multi_lane 64 _)) addr)
|
1976
|
-
(vec_load_replicate_rev ty addr))
|
1977
|
-
|
1978
|
-
;; On z14, use a little-endian load (via GPR) and replicate.
|
1979
|
-
(rule (vec_load_replicate_little (and (vxrs_ext2_disabled)
|
1980
|
-
ty @ (multi_lane 16 _)) addr)
|
1981
|
-
(vec_replicate_lane ty (vec_load_lane_little_undef ty addr 0) 0))
|
1982
|
-
(rule (vec_load_replicate_little (and (vxrs_ext2_disabled)
|
1983
|
-
ty @ (multi_lane 32 _)) addr)
|
1984
|
-
(vec_replicate_lane ty (vec_load_lane_little_undef ty addr 0) 0))
|
1985
|
-
(rule (vec_load_replicate_little (and (vxrs_ext2_disabled)
|
1986
|
-
ty @ (multi_lane 64 _)) addr)
|
1987
|
-
(vec_replicate_lane ty (vec_load_lane_little_undef ty addr 0) 0))
|
1988
|
-
|
1989
|
-
|
1990
|
-
;;;; Rules for `scalar_to_vector` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1991
|
-
|
1992
|
-
;; Load scalar value from general-purpose register.
|
1993
|
-
(rule 1 (lower (has_type ty (scalar_to_vector
|
1994
|
-
x @ (value_type in_ty))))
|
1995
|
-
(if (ty_int_ref_scalar_64 in_ty))
|
1996
|
-
(vec_insert_lane ty (vec_imm ty 0) x (be_lane_idx ty 0) (zero_reg)))
|
1997
|
-
|
1998
|
-
;; Load scalar value from floating-point register.
|
1999
|
-
(rule 0 (lower (has_type ty (scalar_to_vector
|
2000
|
-
x @ (value_type (ty_scalar_float _)))))
|
2001
|
-
(vec_move_lane_and_zero ty (be_lane_idx ty 0) x 0))
|
2002
|
-
|
2003
|
-
;; Load scalar value from vector lane.
|
2004
|
-
(rule 2 (lower (has_type ty (scalar_to_vector
|
2005
|
-
(extractlane x (u8_from_uimm8 idx)))))
|
2006
|
-
(vec_move_lane_and_zero ty (be_lane_idx ty 0) x (be_lane_idx ty idx)))
|
2007
|
-
|
2008
|
-
;; Load scalar 16-bit immediate value.
|
2009
|
-
(rule 3 (lower (has_type ty (scalar_to_vector (i16_from_value x))))
|
2010
|
-
(vec_insert_lane_imm ty (vec_imm ty 0) x (be_lane_idx ty 0)))
|
2011
|
-
|
2012
|
-
;; Load scalar value from big-endian memory.
|
2013
|
-
(rule 4 (lower (has_type ty (scalar_to_vector (sinkable_load x))))
|
2014
|
-
(vec_load_lane ty (vec_imm ty 0) (sink_load x) (be_lane_idx ty 0)))
|
2015
|
-
|
2016
|
-
;; Load scalar value lane from little-endian memory.
|
2017
|
-
(rule 5 (lower (has_type ty (scalar_to_vector (sinkable_load_little x))))
|
2018
|
-
(vec_load_lane_little ty (vec_imm ty 0) (sink_load x) (be_lane_idx ty 0)))
|
2019
|
-
|
2020
|
-
|
2021
|
-
;; Helper to extract one lane from a vector and insert it into a zero vector.
|
2022
|
-
(decl vec_move_lane_and_zero (Type u8 Reg u8) Reg)
|
2023
|
-
|
2024
|
-
;; For 64-bit elements we always use VPDI.
|
2025
|
-
(rule (vec_move_lane_and_zero ty @ (multi_lane 64 _) 0 src src_idx)
|
2026
|
-
(vec_permute_dw_imm ty src src_idx (vec_imm ty 0) 0))
|
2027
|
-
(rule (vec_move_lane_and_zero ty @ (multi_lane 64 _) 1 src src_idx)
|
2028
|
-
(vec_permute_dw_imm ty (vec_imm ty 0) 0 src src_idx))
|
2029
|
-
|
2030
|
-
;; If source and destination index are the same, simply mask to this lane.
|
2031
|
-
(rule -1 (vec_move_lane_and_zero ty idx src idx)
|
2032
|
-
(vec_and ty src
|
2033
|
-
(vec_imm_byte_mask ty (lane_byte_mask ty idx))))
|
2034
|
-
|
2035
|
-
;; Otherwise replicate source first and then mask to the lane.
|
2036
|
-
(rule -2 (vec_move_lane_and_zero ty dst_idx src src_idx)
|
2037
|
-
(vec_and ty (vec_replicate_lane ty src src_idx)
|
2038
|
-
(vec_imm_byte_mask ty (lane_byte_mask ty dst_idx))))
|
2039
|
-
|
2040
|
-
|
2041
|
-
;;;; Rules for `shuffle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2042
|
-
|
2043
|
-
;; General case: use vec_permute and then mask off zero lanes.
|
2044
|
-
(rule -2 (lower (shuffle x y (shuffle_mask permute_mask and_mask)))
|
2045
|
-
(vec_and $I8X16 (vec_imm_byte_mask $I8X16 and_mask)
|
2046
|
-
(vec_permute $I8X16 x y (vec_imm $I8X16 permute_mask))))
|
2047
|
-
|
2048
|
-
;; If the pattern has no zero lanes, just a vec_permute suffices.
|
2049
|
-
(rule -1 (lower (shuffle x y (shuffle_mask permute_mask 65535)))
|
2050
|
-
(vec_permute $I8X16 x y (vec_imm $I8X16 permute_mask)))
|
2051
|
-
|
2052
|
-
;; Special patterns that can be implemented via MERGE HIGH.
|
2053
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23) 65535)))
|
2054
|
-
(vec_merge_high $I64X2 x y))
|
2055
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 16 17 18 19 4 5 6 7 20 21 22 23) 65535)))
|
2056
|
-
(vec_merge_high $I32X4 x y))
|
2057
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 16 17 2 3 18 19 4 5 20 21 6 7 22 23) 65535)))
|
2058
|
-
(vec_merge_high $I16X8 x y))
|
2059
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 16 1 17 2 18 3 19 4 20 5 21 6 22 7 23) 65535)))
|
2060
|
-
(vec_merge_high $I8X16 x y))
|
2061
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7) 65535)))
|
2062
|
-
(vec_merge_high $I64X2 y x))
|
2063
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 0 1 2 3 20 21 22 23 4 5 6 7) 65535)))
|
2064
|
-
(vec_merge_high $I32X4 y x))
|
2065
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 0 1 18 19 2 3 20 21 4 5 22 23 6 7) 65535)))
|
2066
|
-
(vec_merge_high $I16X8 y x))
|
2067
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 0 17 1 18 2 19 3 20 4 21 5 22 6 23 7) 65535)))
|
2068
|
-
(vec_merge_high $I8X16 y x))
|
2069
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7) 65535)))
|
2070
|
-
(vec_merge_high $I64X2 x x))
|
2071
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 0 1 2 3 4 5 6 7 4 5 6 7) 65535)))
|
2072
|
-
(vec_merge_high $I32X4 x x))
|
2073
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 0 1 2 3 2 3 4 5 4 5 6 7 6 7) 65535)))
|
2074
|
-
(vec_merge_high $I16X8 x x))
|
2075
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7) 65535)))
|
2076
|
-
(vec_merge_high $I8X16 x x))
|
2077
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 16 17 18 19 20 21 22 23) 65535)))
|
2078
|
-
(vec_merge_high $I64X2 y y))
|
2079
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 16 17 18 19 20 21 22 23 20 21 22 23) 65535)))
|
2080
|
-
(vec_merge_high $I32X4 y y))
|
2081
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 16 17 18 19 18 19 20 21 20 21 22 23 22 23) 65535)))
|
2082
|
-
(vec_merge_high $I16X8 y y))
|
2083
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23) 65535)))
|
2084
|
-
(vec_merge_high $I8X16 y y))
|
2085
|
-
|
2086
|
-
;; Special patterns that can be implemented via MERGE LOW.
|
2087
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31) 65535)))
|
2088
|
-
(vec_merge_low $I64X2 x y))
|
2089
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 24 25 26 27 12 13 14 15 28 29 30 31) 65535)))
|
2090
|
-
(vec_merge_low $I32X4 x y))
|
2091
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 24 25 10 11 26 27 12 13 28 29 14 15 30 31) 65535)))
|
2092
|
-
(vec_merge_low $I16X8 x y))
|
2093
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 24 9 25 10 26 11 27 12 28 13 29 14 30 15 31) 65535)))
|
2094
|
-
(vec_merge_low $I8X16 x y))
|
2095
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 8 9 10 11 12 13 14 15) 65535)))
|
2096
|
-
(vec_merge_low $I64X2 y x))
|
2097
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 8 9 10 11 28 29 30 31 12 13 14 15) 65535)))
|
2098
|
-
(vec_merge_low $I32X4 y x))
|
2099
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 8 9 26 27 10 11 28 29 12 13 30 31 14 15) 65535)))
|
2100
|
-
(vec_merge_low $I16X8 y x))
|
2101
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 8 25 9 26 10 27 11 28 12 29 13 30 14 31 15) 65535)))
|
2102
|
-
(vec_merge_low $I8X16 y x))
|
2103
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 8 9 10 11 12 13 14 15) 65535)))
|
2104
|
-
(vec_merge_low $I64X2 x x))
|
2105
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 8 9 10 11 12 13 14 15 12 13 14 15) 65535)))
|
2106
|
-
(vec_merge_low $I32X4 x x))
|
2107
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 8 9 10 11 10 11 12 13 12 13 14 15 14 15) 65535)))
|
2108
|
-
(vec_merge_low $I16X8 x x))
|
2109
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15) 65535)))
|
2110
|
-
(vec_merge_low $I8X16 x x))
|
2111
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 24 25 26 27 28 29 30 31) 65535)))
|
2112
|
-
(vec_merge_low $I64X2 y y))
|
2113
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 24 25 26 27 28 29 30 31 28 29 30 31) 65535)))
|
2114
|
-
(vec_merge_low $I32X4 y y))
|
2115
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 24 25 26 27 26 27 28 29 28 29 30 31 30 31) 65535)))
|
2116
|
-
(vec_merge_low $I16X8 y y))
|
2117
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31) 65535)))
|
2118
|
-
(vec_merge_low $I8X16 y y))
|
2119
|
-
|
2120
|
-
;; Special patterns that can be implemented via PACK.
|
2121
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31) 65535)))
|
2122
|
-
(vec_pack $I64X2 x y))
|
2123
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31) 65535)))
|
2124
|
-
(vec_pack $I32X4 x y))
|
2125
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31) 65535)))
|
2126
|
-
(vec_pack $I16X8 x y))
|
2127
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 20 21 22 23 28 29 30 31 4 5 6 7 12 13 14 15) 65535)))
|
2128
|
-
(vec_pack $I64X2 y x))
|
2129
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 18 19 22 23 26 27 30 31 2 3 6 7 10 11 14 15) 65535)))
|
2130
|
-
(vec_pack $I32X4 y x))
|
2131
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 17 19 21 23 25 27 29 31 1 3 5 7 9 11 13 15) 65535)))
|
2132
|
-
(vec_pack $I16X8 y x))
|
2133
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 4 5 6 7 12 13 14 15 4 5 6 7 12 13 14 15) 65535)))
|
2134
|
-
(vec_pack $I64X2 x x))
|
2135
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 2 3 6 7 10 11 14 15 2 3 6 7 10 11 14 15) 65535)))
|
2136
|
-
(vec_pack $I32X4 x x))
|
2137
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 1 3 5 7 9 11 13 15 1 3 5 7 9 11 13 15) 65535)))
|
2138
|
-
(vec_pack $I16X8 x x))
|
2139
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 20 21 22 23 28 29 30 31 20 21 22 23 28 29 30 31) 65535)))
|
2140
|
-
(vec_pack $I64X2 y y))
|
2141
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 18 19 22 23 26 27 30 31 18 19 22 23 26 27 30 31) 65535)))
|
2142
|
-
(vec_pack $I32X4 y y))
|
2143
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 17 19 21 23 25 27 29 31 17 19 21 23 25 27 29 31) 65535)))
|
2144
|
-
(vec_pack $I16X8 y y))
|
2145
|
-
|
2146
|
-
;; Special patterns that can be implemented via UNPACK HIGH.
|
2147
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 0 1 2 3 _ _ _ _ 4 5 6 7) 3855)))
|
2148
|
-
(vec_unpacku_high $I32X4 x))
|
2149
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 0 1 _ _ 2 3 _ _ 4 5 _ _ 6 7) 13107)))
|
2150
|
-
(vec_unpacku_high $I16X8 x))
|
2151
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 0 _ 1 _ 2 _ 3 _ 4 _ 5 _ 6 _ 7) 21845)))
|
2152
|
-
(vec_unpacku_high $I8X16 x))
|
2153
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 16 17 18 19 _ _ _ _ 20 21 22 23) 3855)))
|
2154
|
-
(vec_unpacku_high $I32X4 y))
|
2155
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 16 17 _ _ 18 19 _ _ 20 21 _ _ 22 23) 13107)))
|
2156
|
-
(vec_unpacku_high $I16X8 y))
|
2157
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 16 _ 17 _ 18 _ 19 _ 20 _ 21 _ 22 _ 23) 21845)))
|
2158
|
-
(vec_unpacku_high $I8X16 y))
|
2159
|
-
|
2160
|
-
;; Special patterns that can be implemented via UNPACK LOW.
|
2161
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 8 9 10 11 _ _ _ _ 12 13 14 15) 3855)))
|
2162
|
-
(vec_unpacku_low $I32X4 x))
|
2163
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 8 9 _ _ 10 11 _ _ 12 13 _ _ 14 15) 13107)))
|
2164
|
-
(vec_unpacku_low $I16X8 x))
|
2165
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 8 _ 9 _ 10 _ 11 _ 12 _ 13 _ 14 _ 15) 21845)))
|
2166
|
-
(vec_unpacku_low $I8X16 x))
|
2167
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 24 25 26 27 _ _ _ _ 28 29 30 31) 3855)))
|
2168
|
-
(vec_unpacku_low $I32X4 y))
|
2169
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 24 25 _ _ 26 27 _ _ 28 29 _ _ 30 31) 13107)))
|
2170
|
-
(vec_unpacku_low $I16X8 y))
|
2171
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 24 _ 25 _ 26 _ 27 _ 28 _ 29 _ 30 _ 31) 21845)))
|
2172
|
-
(vec_unpacku_low $I8X16 y))
|
2173
|
-
|
2174
|
-
;; Special patterns that can be implemented via PERMUTE DOUBLEWORD IMMEDIATE.
|
2175
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31) 65535)))
|
2176
|
-
(vec_permute_dw_imm $I8X16 x 0 y 1))
|
2177
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23) 65535)))
|
2178
|
-
(vec_permute_dw_imm $I8X16 x 1 y 0))
|
2179
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 8 9 10 11 12 13 14 15) 65535)))
|
2180
|
-
(vec_permute_dw_imm $I8X16 y 0 x 1))
|
2181
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 0 1 2 3 4 5 6 7) 65535)))
|
2182
|
-
(vec_permute_dw_imm $I8X16 y 1 x 0))
|
2183
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15) 65535)))
|
2184
|
-
(vec_permute_dw_imm $I8X16 x 0 x 1))
|
2185
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7) 65535)))
|
2186
|
-
(vec_permute_dw_imm $I8X16 x 1 x 0))
|
2187
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31) 65535)))
|
2188
|
-
(vec_permute_dw_imm $I8X16 y 0 y 1))
|
2189
|
-
(rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 16 17 18 19 20 21 22 23) 65535)))
|
2190
|
-
(vec_permute_dw_imm $I8X16 y 1 y 0))
|
2191
|
-
|
2192
|
-
|
2193
|
-
;;;; Rules for `swizzle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2194
|
-
|
2195
|
-
;; When using big-endian lane order, the lane mask is mostly correct, but we
|
2196
|
-
;; need to handle mask elements outside the range 0..15 by zeroing the lane.
|
2197
|
-
;;
|
2198
|
-
;; To do so efficiently, we compute:
|
2199
|
-
;; permute-lane-element := umin (16, swizzle-lane-element)
|
2200
|
-
;; and pass a zero vector as second operand to the permute instruction.
|
2201
|
-
|
2202
|
-
(rule 1 (lower (has_type (ty_vec128 ty) (swizzle x y)))
|
2203
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2204
|
-
(vec_permute ty x (vec_imm ty 0)
|
2205
|
-
(vec_umin $I8X16 (vec_imm_splat $I8X16 16) y)))
|
2206
|
-
|
2207
|
-
;; When using little-endian lane order, in addition to zeroing (as above),
|
2208
|
-
;; we need to convert from little-endian to big-endian lane numbering.
|
2209
|
-
;;
|
2210
|
-
;; To do so efficiently, we compute:
|
2211
|
-
;; permute-lane-element := umax (239, ~ swizzle-lane-element)
|
2212
|
-
;; which has the following effect:
|
2213
|
-
;; elements 0 .. 15 --> 255 .. 240 (i.e. 31 .. 16 mod 32)
|
2214
|
-
;; everything else --> 239 (i.e. 15 mod 32)
|
2215
|
-
;;
|
2216
|
-
;; Then, we can use a single permute instruction with
|
2217
|
-
;; a zero vector as first operand (covering lane 15)
|
2218
|
-
;; the input vector as second operand (covering lanes 16 .. 31)
|
2219
|
-
;; to implement the required swizzle semantics.
|
2220
|
-
|
2221
|
-
(rule (lower (has_type (ty_vec128 ty) (swizzle x y)))
|
2222
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2223
|
-
(vec_permute ty (vec_imm ty 0) x
|
2224
|
-
(vec_umax $I8X16 (vec_imm_splat $I8X16 239)
|
2225
|
-
(vec_not $I8X16 y))))
|
2226
|
-
|
2227
|
-
|
2228
|
-
;;;; Rules for `stack_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2229
|
-
|
2230
|
-
;; Load the address of a stack slot.
|
2231
|
-
(rule (lower (has_type ty (stack_addr stack_slot offset)))
|
2232
|
-
(stack_addr_impl ty stack_slot offset))
|
2233
|
-
|
2234
|
-
|
2235
|
-
;;;; Rules for `func_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2236
|
-
|
2237
|
-
;; Load the address of a function, target reachable via PC-relative instruction.
|
2238
|
-
(rule 1 (lower (func_addr (func_ref_data _ name (reloc_distance_near))))
|
2239
|
-
(load_addr (memarg_symbol name 0 (memflags_trusted))))
|
2240
|
-
|
2241
|
-
;; Load the address of a function, general case.
|
2242
|
-
(rule (lower (func_addr (func_ref_data _ name _)))
|
2243
|
-
(load_symbol_reloc (SymbolReloc.Absolute name 0)))
|
2244
|
-
|
2245
|
-
|
2246
|
-
;;;; Rules for `symbol_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2247
|
-
|
2248
|
-
;; Load the address of a symbol, target reachable via PC-relative instruction.
|
2249
|
-
(rule 1 (lower (symbol_value (symbol_value_data name (reloc_distance_near)
|
2250
|
-
off)))
|
2251
|
-
(if-let offset (memarg_symbol_offset off))
|
2252
|
-
(load_addr (memarg_symbol name offset (memflags_trusted))))
|
2253
|
-
|
2254
|
-
;; Load the address of a symbol, general case.
|
2255
|
-
(rule (lower (symbol_value (symbol_value_data name _ offset)))
|
2256
|
-
(load_symbol_reloc (SymbolReloc.Absolute name offset)))
|
2257
|
-
|
2258
|
-
|
2259
|
-
;;;; Rules for `tls_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2260
|
-
|
2261
|
-
;; Load the address of a TLS symbol (ELF general-dynamic model).
|
2262
|
-
(rule (lower (tls_value (symbol_value_data name _ 0)))
|
2263
|
-
(if (tls_model_is_elf_gd))
|
2264
|
-
(let ((symbol SymbolReloc (SymbolReloc.TlsGd name))
|
2265
|
-
(got Reg (load_addr (memarg_got)))
|
2266
|
-
(got_offset Reg (load_symbol_reloc symbol))
|
2267
|
-
(tls_offset Reg (lib_call_tls_get_offset got got_offset symbol)))
|
2268
|
-
(add_reg $I64 tls_offset (thread_pointer))))
|
2269
|
-
|
2270
|
-
;; Helper to perform a call to the __tls_get_offset library routine.
|
2271
|
-
(decl lib_call_tls_get_offset (Reg Reg SymbolReloc) Reg)
|
2272
|
-
(rule (lib_call_tls_get_offset got got_offset symbol)
|
2273
|
-
(let ((tls_offset WritableReg (temp_writable_reg $I64))
|
2274
|
-
(libcall LibCallInfo (lib_call_info_tls_get_offset tls_offset got got_offset symbol))
|
2275
|
-
(_ Unit (lib_accumulate_outgoing_args_size libcall))
|
2276
|
-
(_ InstOutput (side_effect (lib_call libcall))))
|
2277
|
-
tls_offset))
|
2278
|
-
|
2279
|
-
;; Helper to extract the current thread pointer from %a0/%a1.
|
2280
|
-
(decl thread_pointer () Reg)
|
2281
|
-
(rule (thread_pointer)
|
2282
|
-
(insert_ar (lshl_imm $I64 (load_ar 0) 32) 1))
|
2283
|
-
|
2284
|
-
|
2285
|
-
;;;; Rules for `load` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2286
|
-
|
2287
|
-
;; Load 8-bit integers.
|
2288
|
-
(rule (lower (has_type $I8 (load flags addr offset)))
|
2289
|
-
(zext32_mem $I8 (lower_address flags addr offset)))
|
2290
|
-
|
2291
|
-
;; Load 16-bit big-endian integers.
|
2292
|
-
(rule (lower (has_type $I16 (load flags @ (bigendian) addr offset)))
|
2293
|
-
(zext32_mem $I16 (lower_address flags addr offset)))
|
2294
|
-
|
2295
|
-
;; Load 16-bit little-endian integers.
|
2296
|
-
(rule -1 (lower (has_type $I16 (load flags @ (littleendian) addr offset)))
|
2297
|
-
(loadrev16 (lower_address flags addr offset)))
|
2298
|
-
|
2299
|
-
;; Load 32-bit big-endian integers.
|
2300
|
-
(rule (lower (has_type $I32 (load flags @ (bigendian) addr offset)))
|
2301
|
-
(load32 (lower_address flags addr offset)))
|
2302
|
-
|
2303
|
-
;; Load 32-bit little-endian integers.
|
2304
|
-
(rule -1 (lower (has_type $I32 (load flags @ (littleendian) addr offset)))
|
2305
|
-
(loadrev32 (lower_address flags addr offset)))
|
2306
|
-
|
2307
|
-
;; Load 64-bit big-endian integers.
|
2308
|
-
(rule (lower (has_type $I64 (load flags @ (bigendian) addr offset)))
|
2309
|
-
(load64 (lower_address flags addr offset)))
|
2310
|
-
|
2311
|
-
;; Load 64-bit little-endian integers.
|
2312
|
-
(rule -1 (lower (has_type $I64 (load flags @ (littleendian) addr offset)))
|
2313
|
-
(loadrev64 (lower_address flags addr offset)))
|
2314
|
-
|
2315
|
-
;; Load 64-bit big-endian references.
|
2316
|
-
(rule (lower (has_type $R64 (load flags @ (bigendian) addr offset)))
|
2317
|
-
(load64 (lower_address flags addr offset)))
|
2318
|
-
|
2319
|
-
;; Load 64-bit little-endian references.
|
2320
|
-
(rule -1 (lower (has_type $R64 (load flags @ (littleendian) addr offset)))
|
2321
|
-
(loadrev64 (lower_address flags addr offset)))
|
2322
|
-
|
2323
|
-
;; Load 32-bit big-endian floating-point values (as vector lane).
|
2324
|
-
(rule (lower (has_type $F32 (load flags @ (bigendian) addr offset)))
|
2325
|
-
(vec_load_lane_undef $F32X4 (lower_address flags addr offset) 0))
|
2326
|
-
|
2327
|
-
;; Load 32-bit little-endian floating-point values (as vector lane).
|
2328
|
-
(rule -1 (lower (has_type $F32 (load flags @ (littleendian) addr offset)))
|
2329
|
-
(vec_load_lane_little_undef $F32X4 (lower_address flags addr offset) 0))
|
2330
|
-
|
2331
|
-
;; Load 64-bit big-endian floating-point values (as vector lane).
|
2332
|
-
(rule (lower (has_type $F64 (load flags @ (bigendian) addr offset)))
|
2333
|
-
(vec_load_lane_undef $F64X2 (lower_address flags addr offset) 0))
|
2334
|
-
|
2335
|
-
;; Load 64-bit little-endian floating-point values (as vector lane).
|
2336
|
-
(rule -1 (lower (has_type $F64 (load flags @ (littleendian) addr offset)))
|
2337
|
-
(vec_load_lane_little_undef $F64X2 (lower_address flags addr offset) 0))
|
2338
|
-
|
2339
|
-
;; Load 128-bit big-endian vector values, BE lane order - direct load.
|
2340
|
-
(rule 4 (lower (has_type (vr128_ty ty) (load flags @ (bigendian) addr offset)))
|
2341
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2342
|
-
(vec_load ty (lower_address flags addr offset)))
|
2343
|
-
|
2344
|
-
;; Load 128-bit little-endian vector values, BE lane order - byte-reversed load.
|
2345
|
-
(rule 3 (lower (has_type (vr128_ty ty) (load flags @ (littleendian) addr offset)))
|
2346
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2347
|
-
(vec_load_byte_rev ty flags addr offset))
|
2348
|
-
|
2349
|
-
;; Load 128-bit big-endian vector values, LE lane order - element-reversed load.
|
2350
|
-
(rule 2 (lower (has_type (vr128_ty ty) (load flags @ (bigendian) addr offset)))
|
2351
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2352
|
-
(vec_load_elt_rev ty flags addr offset))
|
2353
|
-
|
2354
|
-
;; Load 128-bit little-endian vector values, LE lane order - fully-reversed load.
|
2355
|
-
(rule 1 (lower (has_type (vr128_ty ty) (load flags @ (littleendian) addr offset)))
|
2356
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2357
|
-
(vec_load_full_rev ty flags addr offset))
|
2358
|
-
|
2359
|
-
|
2360
|
-
;; Helper to perform a 128-bit full-vector byte-reversed load.
|
2361
|
-
(decl vec_load_full_rev (Type MemFlags Value Offset32) Reg)
|
2362
|
-
|
2363
|
-
;; Full-vector byte-reversed load via single instruction on z15.
|
2364
|
-
(rule 1 (vec_load_full_rev (and (vxrs_ext2_enabled) (vr128_ty ty)) flags addr offset)
|
2365
|
-
(vec_loadrev ty (lower_address flags addr offset)))
|
2366
|
-
|
2367
|
-
;; Full-vector byte-reversed load via GPRs on z14.
|
2368
|
-
(rule (vec_load_full_rev (and (vxrs_ext2_disabled) (vr128_ty ty)) flags addr offset)
|
2369
|
-
(let ((lo_addr MemArg (lower_address_bias flags addr offset 0))
|
2370
|
-
(hi_addr MemArg (lower_address_bias flags addr offset 8))
|
2371
|
-
(lo_val Reg (loadrev64 lo_addr))
|
2372
|
-
(hi_val Reg (loadrev64 hi_addr)))
|
2373
|
-
(mov_to_vec128 ty hi_val lo_val)))
|
2374
|
-
|
2375
|
-
|
2376
|
-
;; Helper to perform an element-wise byte-reversed load.
|
2377
|
-
(decl vec_load_byte_rev (Type MemFlags Value Offset32) Reg)
|
2378
|
-
|
2379
|
-
;; Element-wise byte-reversed 1x128-bit load is a full byte-reversed load.
|
2380
|
-
(rule -1 (vec_load_byte_rev $I128 flags addr offset)
|
2381
|
-
(vec_load_full_rev $I128 flags addr offset))
|
2382
|
-
|
2383
|
-
;; Element-wise byte-reversed 16x8-bit load is a direct load.
|
2384
|
-
(rule (vec_load_byte_rev ty @ (multi_lane 8 16) flags addr offset)
|
2385
|
-
(vec_load ty (lower_address flags addr offset)))
|
2386
|
-
|
2387
|
-
;; Element-wise byte-reversed load via single instruction on z15.
|
2388
|
-
(rule 1 (vec_load_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
|
2389
|
-
flags addr offset)
|
2390
|
-
(vec_load_byte64rev ty (lower_address flags addr offset)))
|
2391
|
-
(rule 1 (vec_load_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
|
2392
|
-
flags addr offset)
|
2393
|
-
(vec_load_byte32rev ty (lower_address flags addr offset)))
|
2394
|
-
(rule 1 (vec_load_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
|
2395
|
-
flags addr offset)
|
2396
|
-
(vec_load_byte16rev ty (lower_address flags addr offset)))
|
2397
|
-
|
2398
|
-
;; Element-wise byte-reversed load as element-swapped byte-reversed load on z14.
|
2399
|
-
(rule (vec_load_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
|
2400
|
-
flags addr offset)
|
2401
|
-
(vec_elt_rev ty (vec_load_full_rev ty flags addr offset)))
|
2402
|
-
(rule (vec_load_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
|
2403
|
-
flags addr offset)
|
2404
|
-
(vec_elt_rev ty (vec_load_full_rev ty flags addr offset)))
|
2405
|
-
(rule (vec_load_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
|
2406
|
-
flags addr offset)
|
2407
|
-
(vec_elt_rev ty (vec_load_full_rev ty flags addr offset)))
|
2408
|
-
|
2409
|
-
|
2410
|
-
;; Helper to perform an element-reversed load.
|
2411
|
-
(decl vec_load_elt_rev (Type MemFlags Value Offset32) Reg)
|
2412
|
-
|
2413
|
-
;; Element-reversed 1x128-bit load is a direct load.
|
2414
|
-
;; For 1x128-bit types, this is a direct load.
|
2415
|
-
(rule -1 (vec_load_elt_rev $I128 flags addr offset)
|
2416
|
-
(vec_load $I128 (lower_address flags addr offset)))
|
2417
|
-
|
2418
|
-
;; Element-reversed 16x8-bit load is a full byte-reversed load.
|
2419
|
-
(rule (vec_load_elt_rev ty @ (multi_lane 8 16) flags addr offset)
|
2420
|
-
(vec_load_full_rev ty flags addr offset))
|
2421
|
-
|
2422
|
-
;; Element-reversed load via single instruction on z15.
|
2423
|
-
(rule 1 (vec_load_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
|
2424
|
-
flags addr offset)
|
2425
|
-
(vec_load_elt64rev ty (lower_address flags addr offset)))
|
2426
|
-
(rule 1 (vec_load_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
|
2427
|
-
flags addr offset)
|
2428
|
-
(vec_load_elt32rev ty (lower_address flags addr offset)))
|
2429
|
-
(rule 1 (vec_load_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
|
2430
|
-
flags addr offset)
|
2431
|
-
(vec_load_elt16rev ty (lower_address flags addr offset)))
|
2432
|
-
|
2433
|
-
;; Element-reversed load as element-swapped direct load on z14.
|
2434
|
-
(rule (vec_load_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
|
2435
|
-
flags addr offset)
|
2436
|
-
(vec_elt_rev ty (vec_load ty (lower_address flags addr offset))))
|
2437
|
-
(rule (vec_load_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
|
2438
|
-
flags addr offset)
|
2439
|
-
(vec_elt_rev ty (vec_load ty (lower_address flags addr offset))))
|
2440
|
-
(rule (vec_load_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
|
2441
|
-
flags addr offset)
|
2442
|
-
(vec_elt_rev ty (vec_load ty (lower_address flags addr offset))))
|
2443
|
-
|
2444
|
-
|
2445
|
-
;;;; Rules for `uload8` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2446
|
-
|
2447
|
-
;; 16- or 32-bit target types.
|
2448
|
-
(rule (lower (has_type (gpr32_ty _ty) (uload8 flags addr offset)))
|
2449
|
-
(zext32_mem $I8 (lower_address flags addr offset)))
|
2450
|
-
|
2451
|
-
;; 64-bit target types.
|
2452
|
-
(rule 1 (lower (has_type (gpr64_ty _ty) (uload8 flags addr offset)))
|
2453
|
-
(zext64_mem $I8 (lower_address flags addr offset)))
|
2454
|
-
|
2455
|
-
|
2456
|
-
;;;; Rules for `sload8` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2457
|
-
|
2458
|
-
;; 16- or 32-bit target types.
|
2459
|
-
(rule (lower (has_type (gpr32_ty _ty) (sload8 flags addr offset)))
|
2460
|
-
(sext32_mem $I8 (lower_address flags addr offset)))
|
2461
|
-
|
2462
|
-
;; 64-bit target types.
|
2463
|
-
(rule 1 (lower (has_type (gpr64_ty _ty) (sload8 flags addr offset)))
|
2464
|
-
(sext64_mem $I8 (lower_address flags addr offset)))
|
2465
|
-
|
2466
|
-
|
2467
|
-
;;;; Rules for `uload16` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2468
|
-
|
2469
|
-
;; 32-bit target type, big-endian source value.
|
2470
|
-
(rule 3 (lower (has_type (gpr32_ty _ty)
|
2471
|
-
(uload16 flags @ (bigendian) addr offset)))
|
2472
|
-
(zext32_mem $I16 (lower_address flags addr offset)))
|
2473
|
-
|
2474
|
-
;; 32-bit target type, little-endian source value (via explicit extension).
|
2475
|
-
(rule 1 (lower (has_type (gpr32_ty _ty)
|
2476
|
-
(uload16 flags @ (littleendian) addr offset)))
|
2477
|
-
(let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
|
2478
|
-
(zext32_reg $I16 reg16)))
|
2479
|
-
|
2480
|
-
;; 64-bit target type, big-endian source value.
|
2481
|
-
(rule 4 (lower (has_type (gpr64_ty _ty)
|
2482
|
-
(uload16 flags @ (bigendian) addr offset)))
|
2483
|
-
(zext64_mem $I16 (lower_address flags addr offset)))
|
2484
|
-
|
2485
|
-
;; 64-bit target type, little-endian source value (via explicit extension).
|
2486
|
-
(rule 2 (lower (has_type (gpr64_ty _ty)
|
2487
|
-
(uload16 flags @ (littleendian) addr offset)))
|
2488
|
-
(let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
|
2489
|
-
(zext64_reg $I16 reg16)))
|
2490
|
-
|
2491
|
-
|
2492
|
-
;;;; Rules for `sload16` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2493
|
-
|
2494
|
-
;; 32-bit target type, big-endian source value.
|
2495
|
-
(rule 2 (lower (has_type (gpr32_ty _ty)
|
2496
|
-
(sload16 flags @ (bigendian) addr offset)))
|
2497
|
-
(sext32_mem $I16 (lower_address flags addr offset)))
|
2498
|
-
|
2499
|
-
;; 32-bit target type, little-endian source value (via explicit extension).
|
2500
|
-
(rule 0 (lower (has_type (gpr32_ty _ty)
|
2501
|
-
(sload16 flags @ (littleendian) addr offset)))
|
2502
|
-
(let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
|
2503
|
-
(sext32_reg $I16 reg16)))
|
2504
|
-
|
2505
|
-
;; 64-bit target type, big-endian source value.
|
2506
|
-
(rule 3 (lower (has_type (gpr64_ty _ty)
|
2507
|
-
(sload16 flags @ (bigendian) addr offset)))
|
2508
|
-
(sext64_mem $I16 (lower_address flags addr offset)))
|
2509
|
-
|
2510
|
-
;; 64-bit target type, little-endian source value (via explicit extension).
|
2511
|
-
(rule 1 (lower (has_type (gpr64_ty _ty)
|
2512
|
-
(sload16 flags @ (littleendian) addr offset)))
|
2513
|
-
(let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
|
2514
|
-
(sext64_reg $I16 reg16)))
|
2515
|
-
|
2516
|
-
|
2517
|
-
;;;; Rules for `uload32` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2518
|
-
|
2519
|
-
;; 64-bit target type, big-endian source value.
|
2520
|
-
(rule 1 (lower (has_type (gpr64_ty _ty)
|
2521
|
-
(uload32 flags @ (bigendian) addr offset)))
|
2522
|
-
(zext64_mem $I32 (lower_address flags addr offset)))
|
2523
|
-
|
2524
|
-
;; 64-bit target type, little-endian source value (via explicit extension).
|
2525
|
-
(rule (lower (has_type (gpr64_ty _ty)
|
2526
|
-
(uload32 flags @ (littleendian) addr offset)))
|
2527
|
-
(let ((reg32 Reg (loadrev32 (lower_address flags addr offset))))
|
2528
|
-
(zext64_reg $I32 reg32)))
|
2529
|
-
|
2530
|
-
|
2531
|
-
;;;; Rules for `sload32` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2532
|
-
|
2533
|
-
;; 64-bit target type, big-endian source value.
|
2534
|
-
(rule 1 (lower (has_type (gpr64_ty _ty)
|
2535
|
-
(sload32 flags @ (bigendian) addr offset)))
|
2536
|
-
(sext64_mem $I32 (lower_address flags addr offset)))
|
2537
|
-
|
2538
|
-
;; 64-bit target type, little-endian source value (via explicit extension).
|
2539
|
-
(rule (lower (has_type (gpr64_ty _ty)
|
2540
|
-
(sload32 flags @ (littleendian) addr offset)))
|
2541
|
-
(let ((reg32 Reg (loadrev32 (lower_address flags addr offset))))
|
2542
|
-
(sext64_reg $I32 reg32)))
|
2543
|
-
|
2544
|
-
|
2545
|
-
;;;; Rules for `uloadNxM` and `sloadNxM` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2546
|
-
|
2547
|
-
;; Unsigned 8->16 bit extension.
|
2548
|
-
(rule (lower (has_type $I16X8 (uload8x8 flags addr offset)))
|
2549
|
-
(vec_unpacku_high $I8X16 (load_v64 $I8X16 flags addr offset)))
|
2550
|
-
|
2551
|
-
;; Signed 8->16 bit extension.
|
2552
|
-
(rule (lower (has_type $I16X8 (sload8x8 flags addr offset)))
|
2553
|
-
(vec_unpacks_high $I8X16 (load_v64 $I8X16 flags addr offset)))
|
2554
|
-
|
2555
|
-
;; Unsigned 16->32 bit extension.
|
2556
|
-
(rule (lower (has_type $I32X4 (uload16x4 flags addr offset)))
|
2557
|
-
(vec_unpacku_high $I16X8 (load_v64 $I16X8 flags addr offset)))
|
2558
|
-
|
2559
|
-
;; Signed 16->32 bit extension.
|
2560
|
-
(rule (lower (has_type $I32X4 (sload16x4 flags addr offset)))
|
2561
|
-
(vec_unpacks_high $I16X8 (load_v64 $I16X8 flags addr offset)))
|
2562
|
-
|
2563
|
-
;; Unsigned 32->64 bit extension.
|
2564
|
-
(rule (lower (has_type $I64X2 (uload32x2 flags addr offset)))
|
2565
|
-
(vec_unpacku_high $I32X4 (load_v64 $I32X4 flags addr offset)))
|
2566
|
-
|
2567
|
-
;; Signed 32->64 bit extension.
|
2568
|
-
(rule (lower (has_type $I64X2 (sload32x2 flags addr offset)))
|
2569
|
-
(vec_unpacks_high $I32X4 (load_v64 $I32X4 flags addr offset)))
|
2570
|
-
|
2571
|
-
|
2572
|
-
;; Helper to load a 64-bit half-size vector from memory.
|
2573
|
-
(decl load_v64 (Type MemFlags Value Offset32) Reg)
|
2574
|
-
|
2575
|
-
;; Any big-endian source value, BE lane order.
|
2576
|
-
(rule -1 (load_v64 _ flags @ (bigendian) addr offset)
|
2577
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2578
|
-
(vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0))
|
2579
|
-
|
2580
|
-
;; Any little-endian source value, LE lane order.
|
2581
|
-
(rule -2 (load_v64 _ flags @ (littleendian) addr offset)
|
2582
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2583
|
-
(vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0))
|
2584
|
-
|
2585
|
-
;; Big-endian or little-endian 8x8-bit source value, BE lane order.
|
2586
|
-
(rule (load_v64 (multi_lane 8 16) flags addr offset)
|
2587
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2588
|
-
(vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0))
|
2589
|
-
|
2590
|
-
;; Big-endian or little-endian 8x8-bit source value, LE lane order.
|
2591
|
-
(rule 1 (load_v64 (multi_lane 8 16) flags addr offset)
|
2592
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2593
|
-
(vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0))
|
2594
|
-
|
2595
|
-
;; Little-endian 4x16-bit source value, BE lane order.
|
2596
|
-
(rule (load_v64 (multi_lane 16 8) flags @ (littleendian) addr offset)
|
2597
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2598
|
-
(vec_rot_imm $I16X8
|
2599
|
-
(vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0) 8))
|
2600
|
-
|
2601
|
-
;; Big-endian 4x16-bit source value, LE lane order.
|
2602
|
-
(rule 1 (load_v64 (multi_lane 16 8) flags @ (bigendian) addr offset)
|
2603
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2604
|
-
(vec_rot_imm $I16X8
|
2605
|
-
(vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0) 8))
|
2606
|
-
|
2607
|
-
;; Little-endian 2x32-bit source value, BE lane order.
|
2608
|
-
(rule (load_v64 (multi_lane 32 4) flags @ (littleendian) addr offset)
|
2609
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2610
|
-
(vec_rot_imm $I64X2
|
2611
|
-
(vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0) 32))
|
2612
|
-
|
2613
|
-
;; Big-endian 2x32-bit source value, LE lane order.
|
2614
|
-
(rule 1 (load_v64 (multi_lane 32 4) flags @ (bigendian) addr offset)
|
2615
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2616
|
-
(vec_rot_imm $I64X2
|
2617
|
-
(vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0) 32))
|
2618
|
-
|
2619
|
-
|
2620
|
-
;;;; Rules for `store` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2621
|
-
|
2622
|
-
;; The actual store logic for integer types is identical for the `store`,
|
2623
|
-
;; `istoreNN`, and `atomic_store` instructions, so we share common helpers.
|
2624
|
-
|
2625
|
-
;; Store 8-bit integer type, main lowering entry point.
|
2626
|
-
(rule (lower (store flags val @ (value_type $I8) addr offset))
|
2627
|
-
(side_effect (istore8_impl flags val addr offset)))
|
2628
|
-
|
2629
|
-
;; Store 16-bit integer type, main lowering entry point.
|
2630
|
-
(rule (lower (store flags val @ (value_type $I16) addr offset))
|
2631
|
-
(side_effect (istore16_impl flags val addr offset)))
|
2632
|
-
|
2633
|
-
;; Store 32-bit integer type, main lowering entry point.
|
2634
|
-
(rule (lower (store flags val @ (value_type $I32) addr offset))
|
2635
|
-
(side_effect (istore32_impl flags val addr offset)))
|
2636
|
-
|
2637
|
-
;; Store 64-bit integer type, main lowering entry point.
|
2638
|
-
(rule (lower (store flags val @ (value_type $I64) addr offset))
|
2639
|
-
(side_effect (istore64_impl flags val addr offset)))
|
2640
|
-
|
2641
|
-
;; Store 64-bit reference type, main lowering entry point.
|
2642
|
-
(rule (lower (store flags val @ (value_type $R64) addr offset))
|
2643
|
-
(side_effect (istore64_impl flags val addr offset)))
|
2644
|
-
|
2645
|
-
;; Store 32-bit big-endian floating-point type (as vector lane).
|
2646
|
-
(rule -1 (lower (store flags @ (bigendian)
|
2647
|
-
val @ (value_type $F32) addr offset))
|
2648
|
-
(side_effect (vec_store_lane $F32X4 val
|
2649
|
-
(lower_address flags addr offset) 0)))
|
2650
|
-
|
2651
|
-
;; Store 32-bit little-endian floating-point type (as vector lane).
|
2652
|
-
(rule (lower (store flags @ (littleendian)
|
2653
|
-
val @ (value_type $F32) addr offset))
|
2654
|
-
(side_effect (vec_store_lane_little $F32X4 val
|
2655
|
-
(lower_address flags addr offset) 0)))
|
2656
|
-
|
2657
|
-
;; Store 64-bit big-endian floating-point type (as vector lane).
|
2658
|
-
(rule -1 (lower (store flags @ (bigendian)
|
2659
|
-
val @ (value_type $F64) addr offset))
|
2660
|
-
(side_effect (vec_store_lane $F64X2 val
|
2661
|
-
(lower_address flags addr offset) 0)))
|
2662
|
-
|
2663
|
-
;; Store 64-bit little-endian floating-point type (as vector lane).
|
2664
|
-
(rule (lower (store flags @ (littleendian)
|
2665
|
-
val @ (value_type $F64) addr offset))
|
2666
|
-
(side_effect (vec_store_lane_little $F64X2 val
|
2667
|
-
(lower_address flags addr offset) 0)))
|
2668
|
-
|
2669
|
-
;; Store 128-bit big-endian vector type, BE lane order - direct store.
|
2670
|
-
(rule 4 (lower (store flags @ (bigendian)
|
2671
|
-
val @ (value_type (vr128_ty ty)) addr offset))
|
2672
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2673
|
-
(side_effect (vec_store val (lower_address flags addr offset))))
|
2674
|
-
|
2675
|
-
;; Store 128-bit little-endian vector type, BE lane order - byte-reversed store.
|
2676
|
-
(rule 3 (lower (store flags @ (littleendian)
|
2677
|
-
val @ (value_type (vr128_ty ty)) addr offset))
|
2678
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
2679
|
-
(side_effect (vec_store_byte_rev ty val flags addr offset)))
|
2680
|
-
|
2681
|
-
;; Store 128-bit big-endian vector type, LE lane order - element-reversed store.
|
2682
|
-
(rule 2 (lower (store flags @ (bigendian)
|
2683
|
-
val @ (value_type (vr128_ty ty)) addr offset))
|
2684
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2685
|
-
(side_effect (vec_store_elt_rev ty val flags addr offset)))
|
2686
|
-
|
2687
|
-
;; Store 128-bit little-endian vector type, LE lane order - fully-reversed store.
|
2688
|
-
(rule 1 (lower (store flags @ (littleendian)
|
2689
|
-
val @ (value_type (vr128_ty ty)) addr offset))
|
2690
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
2691
|
-
(side_effect (vec_store_full_rev ty val flags addr offset)))
|
2692
|
-
|
2693
|
-
|
2694
|
-
;; Helper to perform a 128-bit full-vector byte-reversed store.
|
2695
|
-
(decl vec_store_full_rev (Type Reg MemFlags Value Offset32) SideEffectNoResult)
|
2696
|
-
|
2697
|
-
;; Full-vector byte-reversed store via single instruction on z15.
|
2698
|
-
(rule 1 (vec_store_full_rev (vxrs_ext2_enabled) val flags addr offset)
|
2699
|
-
(vec_storerev val (lower_address flags addr offset)))
|
2700
|
-
|
2701
|
-
;; Full-vector byte-reversed store via GPRs on z14.
|
2702
|
-
(rule (vec_store_full_rev (vxrs_ext2_disabled) val flags addr offset)
|
2703
|
-
(let ((lo_addr MemArg (lower_address_bias flags addr offset 0))
|
2704
|
-
(hi_addr MemArg (lower_address_bias flags addr offset 8))
|
2705
|
-
(lo_val Reg (vec_extract_lane $I64X2 val 1 (zero_reg)))
|
2706
|
-
(hi_val Reg (vec_extract_lane $I64X2 val 0 (zero_reg))))
|
2707
|
-
(side_effect_concat (storerev64 lo_val lo_addr)
|
2708
|
-
(storerev64 hi_val hi_addr))))
|
2709
|
-
|
2710
|
-
|
2711
|
-
;; Helper to perform an element-wise byte-reversed store.
|
2712
|
-
(decl vec_store_byte_rev (Type Reg MemFlags Value Offset32) SideEffectNoResult)
|
2713
|
-
|
2714
|
-
;; Element-wise byte-reversed 1x128-bit store is a full byte-reversed store.
|
2715
|
-
(rule -1 (vec_store_byte_rev $I128 val flags addr offset)
|
2716
|
-
(vec_store_full_rev $I128 val flags addr offset))
|
2717
|
-
|
2718
|
-
;; Element-wise byte-reversed 16x8-bit store is a direct store.
|
2719
|
-
(rule (vec_store_byte_rev (multi_lane 8 16) val flags addr offset)
|
2720
|
-
(vec_store val (lower_address flags addr offset)))
|
2721
|
-
|
2722
|
-
;; Element-wise byte-reversed store via single instruction on z15.
|
2723
|
-
(rule 1 (vec_store_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
|
2724
|
-
val flags addr offset)
|
2725
|
-
(vec_store_byte64rev val (lower_address flags addr offset)))
|
2726
|
-
(rule 1 (vec_store_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
|
2727
|
-
val flags addr offset)
|
2728
|
-
(vec_store_byte32rev val (lower_address flags addr offset)))
|
2729
|
-
(rule 1 (vec_store_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
|
2730
|
-
val flags addr offset)
|
2731
|
-
(vec_store_byte16rev val (lower_address flags addr offset)))
|
2732
|
-
|
2733
|
-
;; Element-wise byte-reversed load as element-swapped byte-reversed store on z14.
|
2734
|
-
(rule (vec_store_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
|
2735
|
-
val flags addr offset)
|
2736
|
-
(vec_store_full_rev ty (vec_elt_rev ty val) flags addr offset))
|
2737
|
-
(rule (vec_store_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
|
2738
|
-
val flags addr offset)
|
2739
|
-
(vec_store_full_rev ty (vec_elt_rev ty val) flags addr offset))
|
2740
|
-
(rule (vec_store_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
|
2741
|
-
val flags addr offset)
|
2742
|
-
(vec_store_full_rev ty (vec_elt_rev ty val) flags addr offset))
|
2743
|
-
|
2744
|
-
|
2745
|
-
;; Helper to perform an element-reversed store.
|
2746
|
-
(decl vec_store_elt_rev (Type Reg MemFlags Value Offset32) SideEffectNoResult)
|
2747
|
-
|
2748
|
-
;; Element-reversed 1x128-bit store is a direct store.
|
2749
|
-
(rule -1 (vec_store_elt_rev $I128 val flags addr offset)
|
2750
|
-
(vec_store val (lower_address flags addr offset)))
|
2751
|
-
|
2752
|
-
;; Element-reversed 16x8-bit store is a full byte-reversed store.
|
2753
|
-
(rule (vec_store_elt_rev ty @ (multi_lane 8 16) val flags addr offset)
|
2754
|
-
(vec_store_full_rev ty val flags addr offset))
|
2755
|
-
|
2756
|
-
;; Element-reversed store via single instruction on z15.
|
2757
|
-
(rule 1 (vec_store_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
|
2758
|
-
val flags addr offset)
|
2759
|
-
(vec_store_elt64rev val (lower_address flags addr offset)))
|
2760
|
-
(rule 1 (vec_store_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
|
2761
|
-
val flags addr offset)
|
2762
|
-
(vec_store_elt32rev val (lower_address flags addr offset)))
|
2763
|
-
(rule 1 (vec_store_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
|
2764
|
-
val flags addr offset)
|
2765
|
-
(vec_store_elt16rev val (lower_address flags addr offset)))
|
2766
|
-
|
2767
|
-
;; Element-reversed store as element-swapped direct store on z14.
|
2768
|
-
(rule (vec_store_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
|
2769
|
-
val flags addr offset)
|
2770
|
-
(vec_store (vec_elt_rev ty val) (lower_address flags addr offset)))
|
2771
|
-
(rule (vec_store_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
|
2772
|
-
val flags addr offset)
|
2773
|
-
(vec_store (vec_elt_rev ty val) (lower_address flags addr offset)))
|
2774
|
-
(rule (vec_store_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
|
2775
|
-
val flags addr offset)
|
2776
|
-
(vec_store (vec_elt_rev ty val) (lower_address flags addr offset)))
|
2777
|
-
|
2778
|
-
|
2779
|
-
;;;; Rules for 8-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2780
|
-
|
2781
|
-
;; Main `istore8` lowering entry point, dispatching to the helper.
|
2782
|
-
(rule (lower (istore8 flags val addr offset))
|
2783
|
-
(side_effect (istore8_impl flags val addr offset)))
|
2784
|
-
|
2785
|
-
;; Helper to store 8-bit integer types.
|
2786
|
-
(decl istore8_impl (MemFlags Value Value Offset32) SideEffectNoResult)
|
2787
|
-
|
2788
|
-
;; Store 8-bit integer types, register input.
|
2789
|
-
(rule (istore8_impl flags val addr offset)
|
2790
|
-
(store8 (put_in_reg val) (lower_address flags addr offset)))
|
2791
|
-
|
2792
|
-
;; Store 8-bit integer types, immediate input.
|
2793
|
-
(rule 1 (istore8_impl flags (u8_from_value imm) addr offset)
|
2794
|
-
(store8_imm imm (lower_address flags addr offset)))
|
2795
|
-
|
2796
|
-
|
2797
|
-
;;;; Rules for 16-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2798
|
-
|
2799
|
-
;; Main `istore16` lowering entry point, dispatching to the helper.
|
2800
|
-
(rule (lower (istore16 flags val addr offset))
|
2801
|
-
(side_effect (istore16_impl flags val addr offset)))
|
2802
|
-
|
2803
|
-
;; Helper to store 16-bit integer types.
|
2804
|
-
(decl istore16_impl (MemFlags Value Value Offset32) SideEffectNoResult)
|
2805
|
-
|
2806
|
-
;; Store 16-bit big-endian integer types, register input.
|
2807
|
-
(rule 2 (istore16_impl flags @ (bigendian) val addr offset)
|
2808
|
-
(store16 (put_in_reg val) (lower_address flags addr offset)))
|
2809
|
-
|
2810
|
-
;; Store 16-bit little-endian integer types, register input.
|
2811
|
-
(rule 0 (istore16_impl flags @ (littleendian) val addr offset)
|
2812
|
-
(storerev16 (put_in_reg val) (lower_address flags addr offset)))
|
2813
|
-
|
2814
|
-
;; Store 16-bit big-endian integer types, immediate input.
|
2815
|
-
(rule 3 (istore16_impl flags @ (bigendian) (i16_from_value imm) addr offset)
|
2816
|
-
(store16_imm imm (lower_address flags addr offset)))
|
2817
|
-
|
2818
|
-
;; Store 16-bit little-endian integer types, immediate input.
|
2819
|
-
(rule 1 (istore16_impl flags @ (littleendian) (i16_from_swapped_value imm) addr offset)
|
2820
|
-
(store16_imm imm (lower_address flags addr offset)))
|
2821
|
-
|
2822
|
-
|
2823
|
-
;;;; Rules for 32-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2824
|
-
|
2825
|
-
;; Main `istore32` lowering entry point, dispatching to the helper.
|
2826
|
-
(rule (lower (istore32 flags val addr offset))
|
2827
|
-
(side_effect (istore32_impl flags val addr offset)))
|
2828
|
-
|
2829
|
-
;; Helper to store 32-bit integer types.
|
2830
|
-
(decl istore32_impl (MemFlags Value Value Offset32) SideEffectNoResult)
|
2831
|
-
|
2832
|
-
;; Store 32-bit big-endian integer types, register input.
|
2833
|
-
(rule 1 (istore32_impl flags @ (bigendian) val addr offset)
|
2834
|
-
(store32 (put_in_reg val) (lower_address flags addr offset)))
|
2835
|
-
|
2836
|
-
;; Store 32-bit big-endian integer types, immediate input.
|
2837
|
-
(rule 2 (istore32_impl flags @ (bigendian) (i16_from_value imm) addr offset)
|
2838
|
-
(store32_simm16 imm (lower_address flags addr offset)))
|
2839
|
-
|
2840
|
-
;; Store 32-bit little-endian integer types.
|
2841
|
-
(rule 0 (istore32_impl flags @ (littleendian) val addr offset)
|
2842
|
-
(storerev32 (put_in_reg val) (lower_address flags addr offset)))
|
2843
|
-
|
2844
|
-
|
2845
|
-
;;;; Rules for 64-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2846
|
-
|
2847
|
-
;; Helper to store 64-bit integer types.
|
2848
|
-
(decl istore64_impl (MemFlags Value Value Offset32) SideEffectNoResult)
|
2849
|
-
|
2850
|
-
;; Store 64-bit big-endian integer types, register input.
|
2851
|
-
(rule 1 (istore64_impl flags @ (bigendian) val addr offset)
|
2852
|
-
(store64 (put_in_reg val) (lower_address flags addr offset)))
|
2853
|
-
|
2854
|
-
;; Store 64-bit big-endian integer types, immediate input.
|
2855
|
-
(rule 2 (istore64_impl flags @ (bigendian) (i16_from_value imm) addr offset)
|
2856
|
-
(store64_simm16 imm (lower_address flags addr offset)))
|
2857
|
-
|
2858
|
-
;; Store 64-bit little-endian integer types.
|
2859
|
-
(rule 0 (istore64_impl flags @ (littleendian) val addr offset)
|
2860
|
-
(storerev64 (put_in_reg val) (lower_address flags addr offset)))
|
2861
|
-
|
2862
|
-
|
2863
|
-
;;;; Rules for `atomic_rmw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
2864
|
-
|
2865
|
-
;; Atomic operations that do not require a compare-and-swap loop.
|
2866
|
-
|
2867
|
-
;; Atomic AND for 32/64-bit big-endian types, using a single instruction.
|
2868
|
-
(rule 1 (lower (has_type (ty_32_or_64 ty)
|
2869
|
-
(atomic_rmw flags @ (bigendian) (AtomicRmwOp.And) addr src)))
|
2870
|
-
(atomic_rmw_and ty (put_in_reg src)
|
2871
|
-
(lower_address flags addr (zero_offset))))
|
2872
|
-
|
2873
|
-
;; Atomic AND for 32/64-bit big-endian types, using byte-swapped input/output.
|
2874
|
-
(rule (lower (has_type (ty_32_or_64 ty)
|
2875
|
-
(atomic_rmw flags @ (littleendian) (AtomicRmwOp.And) addr src)))
|
2876
|
-
(bswap_reg ty (atomic_rmw_and ty (bswap_reg ty (put_in_reg src))
|
2877
|
-
(lower_address flags addr (zero_offset)))))
|
2878
|
-
|
2879
|
-
;; Atomic OR for 32/64-bit big-endian types, using a single instruction.
|
2880
|
-
(rule 1 (lower (has_type (ty_32_or_64 ty)
|
2881
|
-
(atomic_rmw flags @ (bigendian) (AtomicRmwOp.Or) addr src)))
|
2882
|
-
(atomic_rmw_or ty (put_in_reg src)
|
2883
|
-
(lower_address flags addr (zero_offset))))
|
2884
|
-
|
2885
|
-
;; Atomic OR for 32/64-bit little-endian types, using byte-swapped input/output.
|
2886
|
-
(rule (lower (has_type (ty_32_or_64 ty)
|
2887
|
-
(atomic_rmw flags @ (littleendian) (AtomicRmwOp.Or) addr src)))
|
2888
|
-
(bswap_reg ty (atomic_rmw_or ty (bswap_reg ty (put_in_reg src))
|
2889
|
-
(lower_address flags addr (zero_offset)))))
|
2890
|
-
|
2891
|
-
;; Atomic XOR for 32/64-bit big-endian types, using a single instruction.
|
2892
|
-
(rule 1 (lower (has_type (ty_32_or_64 ty)
|
2893
|
-
(atomic_rmw flags @ (bigendian) (AtomicRmwOp.Xor) addr src)))
|
2894
|
-
(atomic_rmw_xor ty (put_in_reg src)
|
2895
|
-
(lower_address flags addr (zero_offset))))
|
2896
|
-
|
2897
|
-
;; Atomic XOR for 32/64-bit little-endian types, using byte-swapped input/output.
|
2898
|
-
(rule (lower (has_type (ty_32_or_64 ty)
|
2899
|
-
(atomic_rmw flags @ (littleendian) (AtomicRmwOp.Xor) addr src)))
|
2900
|
-
(bswap_reg ty (atomic_rmw_xor ty (bswap_reg ty (put_in_reg src))
|
2901
|
-
(lower_address flags addr (zero_offset)))))
|
2902
|
-
|
2903
|
-
;; Atomic ADD for 32/64-bit big-endian types, using a single instruction.
|
2904
|
-
(rule (lower (has_type (ty_32_or_64 ty)
|
2905
|
-
(atomic_rmw flags @ (bigendian) (AtomicRmwOp.Add) addr src)))
|
2906
|
-
(atomic_rmw_add ty (put_in_reg src)
|
2907
|
-
(lower_address flags addr (zero_offset))))
|
2908
|
-
|
2909
|
-
;; Atomic SUB for 32/64-bit big-endian types, using atomic ADD with negated input.
|
2910
|
-
(rule (lower (has_type (ty_32_or_64 ty)
|
2911
|
-
(atomic_rmw flags @ (bigendian) (AtomicRmwOp.Sub) addr src)))
|
2912
|
-
(atomic_rmw_add ty (neg_reg ty (put_in_reg src))
|
2913
|
-
(lower_address flags addr (zero_offset))))
|
2914
|
-
|
2915
|
-
|
2916
|
-
;; Atomic operations that require a compare-and-swap loop.
|
2917
|
-
|
2918
|
-
;; Operations for 32/64-bit types can use a fullword compare-and-swap loop.
|
2919
|
-
(rule -1 (lower (has_type (ty_32_or_64 ty) (atomic_rmw flags op addr src)))
|
2920
|
-
(let ((src_reg Reg (put_in_reg src))
|
2921
|
-
(addr_reg Reg (put_in_reg addr))
|
2922
|
-
;; Create body of compare-and-swap loop.
|
2923
|
-
(ib VecMInstBuilder (inst_builder_new))
|
2924
|
-
(val0 Reg (writable_reg_to_reg (casloop_val_reg)))
|
2925
|
-
(val1 Reg (atomic_rmw_body ib ty flags op
|
2926
|
-
(casloop_tmp_reg) val0 src_reg)))
|
2927
|
-
;; Emit compare-and-swap loop and extract final result.
|
2928
|
-
(casloop ib ty flags addr_reg val1)))
|
2929
|
-
|
2930
|
-
;; Operations for 8/16-bit types must operate on the surrounding aligned word.
|
2931
|
-
(rule -2 (lower (has_type (ty_8_or_16 ty) (atomic_rmw flags op addr src)))
|
2932
|
-
(let ((src_reg Reg (put_in_reg src))
|
2933
|
-
(addr_reg Reg (put_in_reg addr))
|
2934
|
-
;; Prepare access to surrounding aligned word.
|
2935
|
-
(bitshift Reg (casloop_bitshift addr_reg))
|
2936
|
-
(aligned_addr Reg (casloop_aligned_addr addr_reg))
|
2937
|
-
;; Create body of compare-and-swap loop.
|
2938
|
-
(ib VecMInstBuilder (inst_builder_new))
|
2939
|
-
(val0 Reg (writable_reg_to_reg (casloop_val_reg)))
|
2940
|
-
(val1 Reg (casloop_rotate_in ib ty flags bitshift val0))
|
2941
|
-
(val2 Reg (atomic_rmw_body ib ty flags op
|
2942
|
-
(casloop_tmp_reg) val1 src_reg))
|
2943
|
-
(val3 Reg (casloop_rotate_out ib ty flags bitshift val2)))
|
2944
|
-
;; Emit compare-and-swap loop and extract final result.
|
2945
|
-
(casloop_subword ib ty flags aligned_addr bitshift val3)))
|
2946
|
-
|
2947
|
-
;; Loop bodies for atomic read-modify-write operations.
|
2948
|
-
(decl atomic_rmw_body (VecMInstBuilder Type MemFlags AtomicRmwOp
|
2949
|
-
WritableReg Reg Reg) Reg)
|
2950
|
-
|
2951
|
-
;; Loop bodies for 32-/64-bit atomic XCHG operations.
|
2952
|
-
;; Simply use the source (possibly byte-swapped) as new target value.
|
2953
|
-
(rule 2 (atomic_rmw_body ib (ty_32_or_64 ty) (bigendian)
|
2954
|
-
(AtomicRmwOp.Xchg) tmp val src)
|
2955
|
-
src)
|
2956
|
-
(rule 1 (atomic_rmw_body ib (ty_32_or_64 ty) (littleendian)
|
2957
|
-
(AtomicRmwOp.Xchg) tmp val src)
|
2958
|
-
(bswap_reg ty src))
|
2959
|
-
|
2960
|
-
;; Loop bodies for 32-/64-bit atomic NAND operations.
|
2961
|
-
;; On z15 this can use the NN(G)RK instruction. On z14, perform an And
|
2962
|
-
;; operation and invert the result. In the little-endian case, we can
|
2963
|
-
;; simply byte-swap the source operand.
|
2964
|
-
(rule 4 (atomic_rmw_body ib (and (mie2_enabled) (ty_32_or_64 ty)) (bigendian)
|
2965
|
-
(AtomicRmwOp.Nand) tmp val src)
|
2966
|
-
(push_alu_reg ib (aluop_not_and ty) tmp val src))
|
2967
|
-
(rule 3 (atomic_rmw_body ib (and (mie2_enabled) (ty_32_or_64 ty)) (littleendian)
|
2968
|
-
(AtomicRmwOp.Nand) tmp val src)
|
2969
|
-
(push_alu_reg ib (aluop_not_and ty) tmp val (bswap_reg ty src)))
|
2970
|
-
(rule 2 (atomic_rmw_body ib (and (mie2_disabled) (ty_32_or_64 ty)) (bigendian)
|
2971
|
-
(AtomicRmwOp.Nand) tmp val src)
|
2972
|
-
(push_not_reg ib ty tmp
|
2973
|
-
(push_alu_reg ib (aluop_and ty) tmp val src)))
|
2974
|
-
(rule 1 (atomic_rmw_body ib (and (mie2_disabled) (ty_32_or_64 ty)) (littleendian)
|
2975
|
-
(AtomicRmwOp.Nand) tmp val src)
|
2976
|
-
(push_not_reg ib ty tmp
|
2977
|
-
(push_alu_reg ib (aluop_and ty) tmp val (bswap_reg ty src))))
|
2978
|
-
|
2979
|
-
;; Loop bodies for 8-/16-bit atomic bit operations.
|
2980
|
-
;; These use the "rotate-then-<op>-selected bits" family of instructions.
|
2981
|
-
;; For the Nand operation, we again perform And and invert the result.
|
2982
|
-
(rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Xchg) tmp val src)
|
2983
|
-
(atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.Insert) tmp val src))
|
2984
|
-
(rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.And) tmp val src)
|
2985
|
-
(atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.And) tmp val src))
|
2986
|
-
(rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Or) tmp val src)
|
2987
|
-
(atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.Or) tmp val src))
|
2988
|
-
(rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Xor) tmp val src)
|
2989
|
-
(atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.Xor) tmp val src))
|
2990
|
-
(rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Nand) tmp val src)
|
2991
|
-
(atomic_rmw_body_invert ib ty flags tmp
|
2992
|
-
(atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.And) tmp val src)))
|
2993
|
-
|
2994
|
-
;; RxSBG subword operation.
|
2995
|
-
(decl atomic_rmw_body_rxsbg (VecMInstBuilder Type MemFlags RxSBGOp
|
2996
|
-
WritableReg Reg Reg) Reg)
|
2997
|
-
;; 8-bit case: use the low byte of "src" and the high byte of "val".
|
2998
|
-
(rule (atomic_rmw_body_rxsbg ib $I8 _ op tmp val src)
|
2999
|
-
(push_rxsbg ib op tmp val src 32 40 24))
|
3000
|
-
;; 16-bit big-endian case: use the low two bytes of "src" and the
|
3001
|
-
;; high two bytes of "val".
|
3002
|
-
(rule 1 (atomic_rmw_body_rxsbg ib $I16 (bigendian) op tmp val src)
|
3003
|
-
(push_rxsbg ib op tmp val src 32 48 16))
|
3004
|
-
;; 16-bit little-endian case: use the low two bytes of "src", byte-swapped
|
3005
|
-
;; so they end up in the high two bytes, and the low two bytes of "val".
|
3006
|
-
(rule (atomic_rmw_body_rxsbg ib $I16 (littleendian) op tmp val src)
|
3007
|
-
(push_rxsbg ib op tmp val (bswap_reg $I32 src) 48 64 -16))
|
3008
|
-
|
3009
|
-
;; Invert a subword.
|
3010
|
-
(decl atomic_rmw_body_invert (VecMInstBuilder Type MemFlags WritableReg Reg) Reg)
|
3011
|
-
;; 8-bit case: invert the high byte.
|
3012
|
-
(rule (atomic_rmw_body_invert ib $I8 _ tmp val)
|
3013
|
-
(push_xor_uimm32shifted ib $I32 tmp val (uimm32shifted 0xff000000 0)))
|
3014
|
-
;; 16-bit big-endian case: invert the two high bytes.
|
3015
|
-
(rule 1 (atomic_rmw_body_invert ib $I16 (bigendian) tmp val)
|
3016
|
-
(push_xor_uimm32shifted ib $I32 tmp val (uimm32shifted 0xffff0000 0)))
|
3017
|
-
;; 16-bit little-endian case: invert the two low bytes.
|
3018
|
-
(rule (atomic_rmw_body_invert ib $I16 (littleendian) tmp val)
|
3019
|
-
(push_xor_uimm32shifted ib $I32 tmp val (uimm32shifted 0xffff 0)))
|
3020
|
-
|
3021
|
-
;; Loop bodies for atomic ADD/SUB operations.
|
3022
|
-
(rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Add) tmp val src)
|
3023
|
-
(atomic_rmw_body_addsub ib ty flags (aluop_add (ty_ext32 ty)) tmp val src))
|
3024
|
-
(rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Sub) tmp val src)
|
3025
|
-
(atomic_rmw_body_addsub ib ty flags (aluop_sub (ty_ext32 ty)) tmp val src))
|
3026
|
-
|
3027
|
-
;; Addition or subtraction operation.
|
3028
|
-
(decl atomic_rmw_body_addsub (VecMInstBuilder Type MemFlags ALUOp
|
3029
|
-
WritableReg Reg Reg) Reg)
|
3030
|
-
;; 32/64-bit big-endian case: just a regular add/sub operation.
|
3031
|
-
(rule 2 (atomic_rmw_body_addsub ib (ty_32_or_64 ty) (bigendian) op tmp val src)
|
3032
|
-
(push_alu_reg ib op tmp val src))
|
3033
|
-
;; 32/64-bit little-endian case: byte-swap the value loaded from memory before
|
3034
|
-
;; and after performing the operation in native endianness.
|
3035
|
-
(rule 1 (atomic_rmw_body_addsub ib (ty_32_or_64 ty) (littleendian) op tmp val src)
|
3036
|
-
(let ((val_swapped Reg (push_bswap_reg ib ty tmp val))
|
3037
|
-
(res_swapped Reg (push_alu_reg ib op tmp val_swapped src)))
|
3038
|
-
(push_bswap_reg ib ty tmp res_swapped)))
|
3039
|
-
;; 8-bit case: perform a 32-bit addition of the source value shifted by 24 bits
|
3040
|
-
;; to the memory value, which contains the target in its high byte.
|
3041
|
-
(rule (atomic_rmw_body_addsub ib $I8 _ op tmp val src)
|
3042
|
-
(let ((src_shifted Reg (lshl_imm $I32 src 24)))
|
3043
|
-
(push_alu_reg ib op tmp val src_shifted)))
|
3044
|
-
;; 16-bit big-endian case: similar, just shift the source by 16 bits.
|
3045
|
-
(rule 3 (atomic_rmw_body_addsub ib $I16 (bigendian) op tmp val src)
|
3046
|
-
(let ((src_shifted Reg (lshl_imm $I32 src 16)))
|
3047
|
-
(push_alu_reg ib op tmp val src_shifted)))
|
3048
|
-
;; 16-bit little-endian case: the same, but in addition we need to byte-swap
|
3049
|
-
;; the memory value before and after the operation. Since the value was placed
|
3050
|
-
;; in the low two bytes by our standard rotation, we can use a 32-bit byte-swap
|
3051
|
-
;; and the native-endian value will end up in the high bytes where we need it
|
3052
|
-
;; to perform the operation.
|
3053
|
-
(rule (atomic_rmw_body_addsub ib $I16 (littleendian) op tmp val src)
|
3054
|
-
(let ((src_shifted Reg (lshl_imm $I32 src 16))
|
3055
|
-
(val_swapped Reg (push_bswap_reg ib $I32 tmp val))
|
3056
|
-
(res_swapped Reg (push_alu_reg ib op tmp val_swapped src_shifted)))
|
3057
|
-
(push_bswap_reg ib $I32 tmp res_swapped)))
|
3058
|
-
|
3059
|
-
;; Loop bodies for atomic MIN/MAX operations.
|
3060
|
-
(rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Smin) tmp val src)
|
3061
|
-
(atomic_rmw_body_minmax ib ty flags (cmpop_cmps (ty_ext32 ty))
|
3062
|
-
(intcc_as_cond (IntCC.SignedLessThan)) tmp val src))
|
3063
|
-
(rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Smax) tmp val src)
|
3064
|
-
(atomic_rmw_body_minmax ib ty flags (cmpop_cmps (ty_ext32 ty))
|
3065
|
-
(intcc_as_cond (IntCC.SignedGreaterThan)) tmp val src))
|
3066
|
-
(rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Umin) tmp val src)
|
3067
|
-
(atomic_rmw_body_minmax ib ty flags (cmpop_cmpu (ty_ext32 ty))
|
3068
|
-
(intcc_as_cond (IntCC.UnsignedLessThan)) tmp val src))
|
3069
|
-
(rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Umax) tmp val src)
|
3070
|
-
(atomic_rmw_body_minmax ib ty flags (cmpop_cmpu (ty_ext32 ty))
|
3071
|
-
(intcc_as_cond (IntCC.UnsignedGreaterThan)) tmp val src))
|
3072
|
-
|
3073
|
-
;; Minimum or maximum operation.
|
3074
|
-
(decl atomic_rmw_body_minmax (VecMInstBuilder Type MemFlags CmpOp Cond
|
3075
|
-
WritableReg Reg Reg) Reg)
|
3076
|
-
;; 32/64-bit big-endian case: just a comparison followed by a conditional
|
3077
|
-
;; break out of the loop if the memory value does not need to change.
|
3078
|
-
;; If it does need to change, the new value is simply the source operand.
|
3079
|
-
(rule 2 (atomic_rmw_body_minmax ib (ty_32_or_64 ty) (bigendian)
|
3080
|
-
op cond tmp val src)
|
3081
|
-
(let ((_ Reg (push_break_if ib (cmp_rr op src val) (invert_cond cond))))
|
3082
|
-
src))
|
3083
|
-
;; 32/64-bit little-endian case: similar, but we need to byte-swap the
|
3084
|
-
;; memory value before the comparison. If we need to store the new value,
|
3085
|
-
;; it also needs to be byte-swapped.
|
3086
|
-
(rule 1 (atomic_rmw_body_minmax ib (ty_32_or_64 ty) (littleendian)
|
3087
|
-
op cond tmp val src)
|
3088
|
-
(let ((val_swapped Reg (push_bswap_reg ib ty tmp val))
|
3089
|
-
(_ Reg (push_break_if ib (cmp_rr op src val_swapped)
|
3090
|
-
(invert_cond cond))))
|
3091
|
-
(push_bswap_reg ib ty tmp src)))
|
3092
|
-
;; 8-bit case: compare the memory value (which contains the target in the
|
3093
|
-
;; high byte) with the source operand shifted by 24 bits. Note that in
|
3094
|
-
;; the case where the high bytes are equal, the comparison may succeed
|
3095
|
-
;; or fail depending on the unrelated low bits of the memory value, and
|
3096
|
-
;; so we either may or may not perform the update. But it would be an
|
3097
|
-
;; update with the same value in any case, so this does not matter.
|
3098
|
-
(rule (atomic_rmw_body_minmax ib $I8 _ op cond tmp val src)
|
3099
|
-
(let ((src_shifted Reg (lshl_imm $I32 src 24))
|
3100
|
-
(_ Reg (push_break_if ib (cmp_rr op src_shifted val)
|
3101
|
-
(invert_cond cond))))
|
3102
|
-
(push_rxsbg ib (RxSBGOp.Insert) tmp val src_shifted 32 40 0)))
|
3103
|
-
;; 16-bit big-endian case: similar, just shift the source by 16 bits.
|
3104
|
-
(rule 3 (atomic_rmw_body_minmax ib $I16 (bigendian) op cond tmp val src)
|
3105
|
-
(let ((src_shifted Reg (lshl_imm $I32 src 16))
|
3106
|
-
(_ Reg (push_break_if ib (cmp_rr op src_shifted val)
|
3107
|
-
(invert_cond cond))))
|
3108
|
-
(push_rxsbg ib (RxSBGOp.Insert) tmp val src_shifted 32 48 0)))
|
3109
|
-
;; 16-bit little-endian case: similar, but in addition byte-swap the
|
3110
|
-
;; memory value before and after the operation, like for _addsub_.
|
3111
|
-
(rule (atomic_rmw_body_minmax ib $I16 (littleendian) op cond tmp val src)
|
3112
|
-
(let ((src_shifted Reg (lshl_imm $I32 src 16))
|
3113
|
-
(val_swapped Reg (push_bswap_reg ib $I32 tmp val))
|
3114
|
-
(_ Reg (push_break_if ib (cmp_rr op src_shifted val_swapped)
|
3115
|
-
(invert_cond cond)))
|
3116
|
-
(res_swapped Reg (push_rxsbg ib (RxSBGOp.Insert)
|
3117
|
-
tmp val_swapped src_shifted 32 48 0)))
|
3118
|
-
(push_bswap_reg ib $I32 tmp res_swapped)))
|
3119
|
-
|
3120
|
-
|
3121
|
-
;;;; Rules for `atomic_cas` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3122
|
-
|
3123
|
-
;; 32/64-bit big-endian atomic compare-and-swap instruction.
|
3124
|
-
(rule 2 (lower (has_type (ty_32_or_64 ty)
|
3125
|
-
(atomic_cas flags @ (bigendian) addr src1 src2)))
|
3126
|
-
(atomic_cas_impl ty (put_in_reg src1) (put_in_reg src2)
|
3127
|
-
(lower_address flags addr (zero_offset))))
|
3128
|
-
|
3129
|
-
;; 32/64-bit little-endian atomic compare-and-swap instruction.
|
3130
|
-
;; Implemented by byte-swapping old/new inputs and the output.
|
3131
|
-
(rule 1 (lower (has_type (ty_32_or_64 ty)
|
3132
|
-
(atomic_cas flags @ (littleendian) addr src1 src2)))
|
3133
|
-
(bswap_reg ty (atomic_cas_impl ty (bswap_reg ty (put_in_reg src1))
|
3134
|
-
(bswap_reg ty (put_in_reg src2))
|
3135
|
-
(lower_address flags addr (zero_offset)))))
|
3136
|
-
|
3137
|
-
;; 8/16-bit atomic compare-and-swap implemented via loop.
|
3138
|
-
(rule (lower (has_type (ty_8_or_16 ty) (atomic_cas flags addr src1 src2)))
|
3139
|
-
(let ((src1_reg Reg (put_in_reg src1))
|
3140
|
-
(src2_reg Reg (put_in_reg src2))
|
3141
|
-
(addr_reg Reg (put_in_reg addr))
|
3142
|
-
;; Prepare access to the surrounding aligned word.
|
3143
|
-
(bitshift Reg (casloop_bitshift addr_reg))
|
3144
|
-
(aligned_addr Reg (casloop_aligned_addr addr_reg))
|
3145
|
-
;; Create body of compare-and-swap loop.
|
3146
|
-
(ib VecMInstBuilder (inst_builder_new))
|
3147
|
-
(val0 Reg (writable_reg_to_reg (casloop_val_reg)))
|
3148
|
-
(val1 Reg (casloop_rotate_in ib ty flags bitshift val0))
|
3149
|
-
(val2 Reg (atomic_cas_body ib ty flags
|
3150
|
-
(casloop_tmp_reg) val1 src1_reg src2_reg))
|
3151
|
-
(val3 Reg (casloop_rotate_out ib ty flags bitshift val2)))
|
3152
|
-
;; Emit compare-and-swap loop and extract final result.
|
3153
|
-
(casloop_subword ib ty flags aligned_addr bitshift val3)))
|
3154
|
-
|
3155
|
-
;; Emit loop body instructions to perform a subword compare-and-swap.
|
3156
|
-
(decl atomic_cas_body (VecMInstBuilder Type MemFlags
|
3157
|
-
WritableReg Reg Reg Reg) Reg)
|
3158
|
-
|
3159
|
-
;; 8-bit case: "val" contains the value loaded from memory in the high byte.
|
3160
|
-
;; Compare with the comparison value in the low byte of "src1". If unequal,
|
3161
|
-
;; break out of the loop, otherwise replace the target byte in "val" with
|
3162
|
-
;; the low byte of "src2".
|
3163
|
-
(rule (atomic_cas_body ib $I8 _ tmp val src1 src2)
|
3164
|
-
(let ((_ Reg (push_break_if ib (rxsbg_test (RxSBGOp.Xor) val src1 32 40 24)
|
3165
|
-
(intcc_as_cond (IntCC.NotEqual)))))
|
3166
|
-
(push_rxsbg ib (RxSBGOp.Insert) tmp val src2 32 40 24)))
|
3167
|
-
|
3168
|
-
;; 16-bit big-endian case: Same as above, except with values in the high
|
3169
|
-
;; two bytes of "val" and low two bytes of "src1" and "src2".
|
3170
|
-
(rule 1 (atomic_cas_body ib $I16 (bigendian) tmp val src1 src2)
|
3171
|
-
(let ((_ Reg (push_break_if ib (rxsbg_test (RxSBGOp.Xor) val src1 32 48 16)
|
3172
|
-
(intcc_as_cond (IntCC.NotEqual)))))
|
3173
|
-
(push_rxsbg ib (RxSBGOp.Insert) tmp val src2 32 48 16)))
|
3174
|
-
|
3175
|
-
;; 16-bit little-endian case: "val" here contains a little-endian value in the
|
3176
|
-
;; *low* two bytes. "src1" and "src2" contain native (i.e. big-endian) values
|
3177
|
-
;; in their low two bytes. Perform the operation in little-endian mode by
|
3178
|
-
;; byte-swapping "src1" and "src" ahead of the loop. Note that this is a
|
3179
|
-
;; 32-bit operation so the little-endian 16-bit values end up in the *high*
|
3180
|
-
;; two bytes of the swapped values.
|
3181
|
-
(rule (atomic_cas_body ib $I16 (littleendian) tmp val src1 src2)
|
3182
|
-
(let ((src1_swapped Reg (bswap_reg $I32 src1))
|
3183
|
-
(src2_swapped Reg (bswap_reg $I32 src2))
|
3184
|
-
(_ Reg (push_break_if ib
|
3185
|
-
(rxsbg_test (RxSBGOp.Xor) val src1_swapped 48 64 -16)
|
3186
|
-
(intcc_as_cond (IntCC.NotEqual)))))
|
3187
|
-
(push_rxsbg ib (RxSBGOp.Insert) tmp val src2_swapped 48 64 -16)))
|
3188
|
-
|
3189
|
-
|
3190
|
-
;;;; Rules for `atomic_load` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3191
|
-
|
3192
|
-
;; Atomic loads can be implemented via regular loads on this platform.
|
3193
|
-
|
3194
|
-
;; 8-bit atomic load.
|
3195
|
-
(rule (lower (has_type $I8 (atomic_load flags addr)))
|
3196
|
-
(zext32_mem $I8 (lower_address flags addr (zero_offset))))
|
3197
|
-
|
3198
|
-
;; 16-bit big-endian atomic load.
|
3199
|
-
(rule 1 (lower (has_type $I16 (atomic_load flags @ (bigendian) addr)))
|
3200
|
-
(zext32_mem $I16 (lower_address flags addr (zero_offset))))
|
3201
|
-
|
3202
|
-
;; 16-bit little-endian atomic load.
|
3203
|
-
(rule (lower (has_type $I16 (atomic_load flags @ (littleendian) addr)))
|
3204
|
-
(loadrev16 (lower_address flags addr (zero_offset))))
|
3205
|
-
|
3206
|
-
;; 32-bit big-endian atomic load.
|
3207
|
-
(rule 1 (lower (has_type $I32 (atomic_load flags @ (bigendian) addr)))
|
3208
|
-
(load32 (lower_address flags addr (zero_offset))))
|
3209
|
-
|
3210
|
-
;; 32-bit little-endian atomic load.
|
3211
|
-
(rule (lower (has_type $I32 (atomic_load flags @ (littleendian) addr)))
|
3212
|
-
(loadrev32 (lower_address flags addr (zero_offset))))
|
3213
|
-
|
3214
|
-
;; 64-bit big-endian atomic load.
|
3215
|
-
(rule 1 (lower (has_type $I64 (atomic_load flags @ (bigendian) addr)))
|
3216
|
-
(load64 (lower_address flags addr (zero_offset))))
|
3217
|
-
|
3218
|
-
;; 64-bit little-endian atomic load.
|
3219
|
-
(rule (lower (has_type $I64 (atomic_load flags @ (littleendian) addr)))
|
3220
|
-
(loadrev64 (lower_address flags addr (zero_offset))))
|
3221
|
-
|
3222
|
-
|
3223
|
-
;;;; Rules for `atomic_store` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3224
|
-
|
3225
|
-
;; Atomic stores can be implemented via regular stores followed by a fence.
|
3226
|
-
(decl atomic_store_impl (SideEffectNoResult) InstOutput)
|
3227
|
-
(rule (atomic_store_impl store)
|
3228
|
-
(let ((_ InstOutput (side_effect store)))
|
3229
|
-
(side_effect (fence_impl))))
|
3230
|
-
|
3231
|
-
;; 8-bit atomic store.
|
3232
|
-
(rule (lower (atomic_store flags val @ (value_type $I8) addr))
|
3233
|
-
(atomic_store_impl (istore8_impl flags val addr (zero_offset))))
|
3234
|
-
|
3235
|
-
;; 16-bit atomic store.
|
3236
|
-
(rule (lower (atomic_store flags val @ (value_type $I16) addr))
|
3237
|
-
(atomic_store_impl (istore16_impl flags val addr (zero_offset))))
|
3238
|
-
|
3239
|
-
;; 32-bit atomic store.
|
3240
|
-
(rule (lower (atomic_store flags val @ (value_type $I32) addr))
|
3241
|
-
(atomic_store_impl (istore32_impl flags val addr (zero_offset))))
|
3242
|
-
|
3243
|
-
;; 64-bit atomic store.
|
3244
|
-
(rule (lower (atomic_store flags val @ (value_type $I64) addr))
|
3245
|
-
(atomic_store_impl (istore64_impl flags val addr (zero_offset))))
|
3246
|
-
|
3247
|
-
|
3248
|
-
;;;; Rules for `fence` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3249
|
-
|
3250
|
-
;; Fence to ensure sequential consistency.
|
3251
|
-
(rule (lower (fence))
|
3252
|
-
(side_effect (fence_impl)))
|
3253
|
-
|
3254
|
-
|
3255
|
-
;;;; Rules for `icmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3256
|
-
|
3257
|
-
;; We want to optimize the typical use of `icmp` (generating an integer 0/1
|
3258
|
-
;; result) followed by some user, like a `select` or a conditional branch.
|
3259
|
-
;; Instead of first generating the integer result and later testing it again,
|
3260
|
-
;; we want to sink the comparison to be performed at the site of use.
|
3261
|
-
;;
|
3262
|
-
;; To enable this, we provide generic helpers that return a `ProducesBool`
|
3263
|
-
;; encapsulating the comparison in question, which can be used by all the
|
3264
|
-
;; above scenarios.
|
3265
|
-
;;
|
3266
|
-
;; N.B. There are specific considerations when sinking a memory load into a
|
3267
|
-
;; comparison. When emitting an `icmp` directly, this can of course be done
|
3268
|
-
;; as usual. However, when we use the `ProducesBool` elsewhere, we need to
|
3269
|
-
;; consider *three* instructions: the load, the `icmp`, and the final user
|
3270
|
-
;; (e.g. a conditional branch). The only way to safely sink the load would
|
3271
|
-
;; be to sink it direct into the final user, which is only possible if there
|
3272
|
-
;; is no *other* user of the `icmp` result. This is not currently being
|
3273
|
-
;; verified by the `SinkableInst` logic, so to be safe we do not perform this
|
3274
|
-
;; optimization at all.
|
3275
|
-
;;
|
3276
|
-
;; The generic `icmp_val` helper therefore has a flag indicating whether
|
3277
|
-
;; it is being invoked in a context where it is safe to sink memory loads
|
3278
|
-
;; (e.g. when directly emitting an `icmp`), or whether it is not (e.g. when
|
3279
|
-
;; sinking the `icmp` result into a conditional branch or select).
|
3280
|
-
|
3281
|
-
;; Main `icmp` entry point. Generate a `ProducesBool` capturing the
|
3282
|
-
;; integer comparison and immediately lower it to a 0/1 integer result.
|
3283
|
-
;; In this case, it is safe to sink memory loads.
|
3284
|
-
(rule -1 (lower (has_type (fits_in_64 ty) (icmp int_cc x y)))
|
3285
|
-
(lower_bool ty (icmp_val $true int_cc x y)))
|
3286
|
-
|
3287
|
-
|
3288
|
-
;; Return a `ProducesBool` to implement any integer comparison.
|
3289
|
-
;; The first argument is a flag to indicate whether it is safe to sink
|
3290
|
-
;; memory loads as discussed above.
|
3291
|
-
(decl icmp_val (bool IntCC Value Value) ProducesBool)
|
3292
|
-
|
3293
|
-
;; Dispatch for signed comparisons.
|
3294
|
-
(rule -1 (icmp_val allow_mem int_cc @ (signed) x @ (value_type (fits_in_64 _)) y)
|
3295
|
-
(bool (icmps_val allow_mem x y) (intcc_as_cond int_cc)))
|
3296
|
-
;; Dispatch for unsigned comparisons.
|
3297
|
-
(rule -2 (icmp_val allow_mem int_cc @ (unsigned) x @ (value_type (fits_in_64 _)) y)
|
3298
|
-
(bool (icmpu_val allow_mem x y) (intcc_as_cond int_cc)))
|
3299
|
-
|
3300
|
-
|
3301
|
-
;; Return a `ProducesBool` to implement signed integer comparisons.
|
3302
|
-
(decl icmps_val (bool Value Value) ProducesFlags)
|
3303
|
-
|
3304
|
-
;; Compare (signed) two registers.
|
3305
|
-
(rule 0 (icmps_val _ x @ (value_type (fits_in_64 ty)) y)
|
3306
|
-
(icmps_reg (ty_ext32 ty) (put_in_reg_sext32 x) (put_in_reg_sext32 y)))
|
3307
|
-
|
3308
|
-
;; Compare (signed) a register and a sign-extended register.
|
3309
|
-
(rule 3 (icmps_val _ x @ (value_type (fits_in_64 ty)) (sext32_value y))
|
3310
|
-
(icmps_reg_sext32 ty x y))
|
3311
|
-
|
3312
|
-
;; Compare (signed) a register and an immediate.
|
3313
|
-
(rule 2 (icmps_val _ x @ (value_type (fits_in_64 ty)) (i16_from_value y))
|
3314
|
-
(icmps_simm16 (ty_ext32 ty) (put_in_reg_sext32 x) y))
|
3315
|
-
(rule 1 (icmps_val _ x @ (value_type (fits_in_64 ty)) (i32_from_value y))
|
3316
|
-
(icmps_simm32 (ty_ext32 ty) (put_in_reg_sext32 x) y))
|
3317
|
-
|
3318
|
-
;; Compare (signed) a register and memory (32/64-bit types).
|
3319
|
-
(rule 4 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_load_32_64 y))
|
3320
|
-
(icmps_mem ty x (sink_load y)))
|
3321
|
-
|
3322
|
-
;; Compare (signed) a register and memory (16-bit types).
|
3323
|
-
(rule 5 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_load_16 y))
|
3324
|
-
(icmps_mem_sext16 (ty_ext32 ty) (put_in_reg_sext32 x) (sink_load y)))
|
3325
|
-
|
3326
|
-
;; Compare (signed) a register and sign-extended memory.
|
3327
|
-
(rule 4 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_sload16 y))
|
3328
|
-
(icmps_mem_sext16 ty x (sink_sload16 y)))
|
3329
|
-
(rule 4 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_sload32 y))
|
3330
|
-
(icmps_mem_sext32 ty x (sink_sload32 y)))
|
3331
|
-
|
3332
|
-
|
3333
|
-
;; Return a `ProducesBool` to implement unsigned integer comparisons.
|
3334
|
-
(decl icmpu_val (bool Value Value) ProducesFlags)
|
3335
|
-
|
3336
|
-
;; Compare (unsigned) two registers.
|
3337
|
-
(rule (icmpu_val _ x @ (value_type (fits_in_64 ty)) y)
|
3338
|
-
(icmpu_reg (ty_ext32 ty) (put_in_reg_zext32 x) (put_in_reg_zext32 y)))
|
3339
|
-
|
3340
|
-
;; Compare (unsigned) a register and a sign-extended register.
|
3341
|
-
(rule 1 (icmpu_val _ x @ (value_type (fits_in_64 ty)) (zext32_value y))
|
3342
|
-
(icmpu_reg_zext32 ty x y))
|
3343
|
-
|
3344
|
-
;; Compare (unsigned) a register and an immediate.
|
3345
|
-
(rule 2 (icmpu_val _ x @ (value_type (fits_in_64 ty)) (u32_from_value y))
|
3346
|
-
(icmpu_uimm32 (ty_ext32 ty) (put_in_reg_zext32 x) y))
|
3347
|
-
|
3348
|
-
;; Compare (unsigned) a register and memory (32/64-bit types).
|
3349
|
-
(rule 4 (icmpu_val $true x @ (value_type (fits_in_64 ty)) (sinkable_load_32_64 y))
|
3350
|
-
(icmpu_mem ty x (sink_load y)))
|
3351
|
-
|
3352
|
-
;; Compare (unsigned) a register and memory (16-bit types).
|
3353
|
-
;; Note that the ISA only provides instructions with a PC-relative memory
|
3354
|
-
;; address here, so we need to check whether the sinkable load matches this.
|
3355
|
-
(rule 3 (icmpu_val $true x @ (value_type (fits_in_64 ty))
|
3356
|
-
(sinkable_load_16 ld))
|
3357
|
-
(if-let y (load_sym ld))
|
3358
|
-
(icmpu_mem_zext16 (ty_ext32 ty) (put_in_reg_zext32 x) (sink_load y)))
|
3359
|
-
|
3360
|
-
;; Compare (unsigned) a register and zero-extended memory.
|
3361
|
-
;; Note that the ISA only provides instructions with a PC-relative memory
|
3362
|
-
;; address here, so we need to check whether the sinkable load matches this.
|
3363
|
-
(rule 3 (icmpu_val $true x @ (value_type (fits_in_64 ty))
|
3364
|
-
(sinkable_uload16 ld))
|
3365
|
-
(if-let y (uload16_sym ld))
|
3366
|
-
(icmpu_mem_zext16 ty x (sink_uload16 y)))
|
3367
|
-
(rule 3 (icmpu_val $true x @ (value_type (fits_in_64 ty)) (sinkable_uload32 y))
|
3368
|
-
(icmpu_mem_zext32 ty x (sink_uload32 y)))
|
3369
|
-
|
3370
|
-
|
3371
|
-
;; Compare 128-bit integers for equality.
|
3372
|
-
;; Implemented via element-wise comparison using the all-element true CC flag.
|
3373
|
-
(rule (icmp_val _ (IntCC.Equal) x @ (value_type (vr128_ty _)) y)
|
3374
|
-
(bool (vec_cmpeqs $I64X2 x y)
|
3375
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3376
|
-
(rule (icmp_val _ (IntCC.NotEqual) x @ (value_type (vr128_ty _)) y)
|
3377
|
-
(bool (vec_cmpeqs $I64X2 x y)
|
3378
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3379
|
-
|
3380
|
-
;; Compare (signed) 128-bit integers for relational inequality.
|
3381
|
-
;; Implemented via synthetic instruction using VECG and VCHLGS.
|
3382
|
-
(rule (icmp_val _ (IntCC.SignedGreaterThan) x @ (value_type (vr128_ty ty)) y)
|
3383
|
-
(vec_int128_scmphi x y))
|
3384
|
-
(rule (icmp_val _ (IntCC.SignedLessThan) x @ (value_type (vr128_ty ty)) y)
|
3385
|
-
(vec_int128_scmphi y x))
|
3386
|
-
(rule (icmp_val _ (IntCC.SignedGreaterThanOrEqual) x @ (value_type (vr128_ty ty)) y)
|
3387
|
-
(invert_bool (vec_int128_scmphi y x)))
|
3388
|
-
(rule (icmp_val _ (IntCC.SignedLessThanOrEqual) x @ (value_type (vr128_ty ty)) y)
|
3389
|
-
(invert_bool (vec_int128_scmphi x y)))
|
3390
|
-
|
3391
|
-
;; Compare (unsigned) 128-bit integers for relational inequality.
|
3392
|
-
;; Implemented via synthetic instruction using VECLG and VCHLGS.
|
3393
|
-
(rule (icmp_val _ (IntCC.UnsignedGreaterThan) x @ (value_type (vr128_ty ty)) y)
|
3394
|
-
(vec_int128_ucmphi x y))
|
3395
|
-
(rule (icmp_val _ (IntCC.UnsignedLessThan) x @ (value_type (vr128_ty ty)) y)
|
3396
|
-
(vec_int128_ucmphi y x))
|
3397
|
-
(rule (icmp_val _ (IntCC.UnsignedGreaterThanOrEqual) x @ (value_type (vr128_ty ty)) y)
|
3398
|
-
(invert_bool (vec_int128_ucmphi y x)))
|
3399
|
-
(rule (icmp_val _ (IntCC.UnsignedLessThanOrEqual) x @ (value_type (vr128_ty ty)) y)
|
3400
|
-
(invert_bool (vec_int128_ucmphi x y)))
|
3401
|
-
|
3402
|
-
|
3403
|
-
;; Vector `icmp` produces a boolean vector.
|
3404
|
-
;; We need to handle the various IntCC flags separately here.
|
3405
|
-
|
3406
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.Equal) x y)))
|
3407
|
-
(vec_cmpeq ty x y))
|
3408
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.NotEqual) x y)))
|
3409
|
-
(vec_not ty (vec_cmpeq ty x y)))
|
3410
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedGreaterThan) x y)))
|
3411
|
-
(vec_cmph ty x y))
|
3412
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedLessThanOrEqual) x y)))
|
3413
|
-
(vec_not ty (vec_cmph ty x y)))
|
3414
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedLessThan) x y)))
|
3415
|
-
(vec_cmph ty y x))
|
3416
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedGreaterThanOrEqual) x y)))
|
3417
|
-
(vec_not ty (vec_cmph ty y x)))
|
3418
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedGreaterThan) x y)))
|
3419
|
-
(vec_cmphl ty x y))
|
3420
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedLessThanOrEqual) x y)))
|
3421
|
-
(vec_not ty (vec_cmphl ty x y)))
|
3422
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedLessThan) x y)))
|
3423
|
-
(vec_cmphl ty y x))
|
3424
|
-
(rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedGreaterThanOrEqual) x y)))
|
3425
|
-
(vec_not ty (vec_cmphl ty y x)))
|
3426
|
-
|
3427
|
-
|
3428
|
-
;;;; Rules for `fcmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3429
|
-
|
3430
|
-
;; Main `fcmp` entry point. Generate a `ProducesBool` capturing the
|
3431
|
-
;; integer comparison and immediately lower it to a 0/1 integer result.
|
3432
|
-
(rule -1 (lower (has_type (fits_in_64 ty) (fcmp float_cc x y)))
|
3433
|
-
(lower_bool ty (fcmp_val float_cc x y)))
|
3434
|
-
|
3435
|
-
;; Return a `ProducesBool` to implement any floating-point comparison.
|
3436
|
-
(decl fcmp_val (FloatCC Value Value) ProducesBool)
|
3437
|
-
(rule (fcmp_val float_cc x @ (value_type ty) y)
|
3438
|
-
(bool (fcmp_reg ty x y)
|
3439
|
-
(floatcc_as_cond float_cc)))
|
3440
|
-
|
3441
|
-
;; Vector `fcmp` produces a boolean vector.
|
3442
|
-
;; We need to handle the various FloatCC flags separately here.
|
3443
|
-
|
3444
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.Equal) x y)))
|
3445
|
-
(vec_fcmpeq ty x y))
|
3446
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.NotEqual) x y)))
|
3447
|
-
(vec_not ty (vec_fcmpeq ty x y)))
|
3448
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.GreaterThan) x y)))
|
3449
|
-
(vec_fcmph ty x y))
|
3450
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrLessThanOrEqual) x y)))
|
3451
|
-
(vec_not ty (vec_fcmph ty x y)))
|
3452
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.GreaterThanOrEqual) x y)))
|
3453
|
-
(vec_fcmphe ty x y))
|
3454
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrLessThan) x y)))
|
3455
|
-
(vec_not ty (vec_fcmphe ty x y)))
|
3456
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.LessThan) x y)))
|
3457
|
-
(vec_fcmph ty y x))
|
3458
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) x y)))
|
3459
|
-
(vec_not ty (vec_fcmph ty y x)))
|
3460
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.LessThanOrEqual) x y)))
|
3461
|
-
(vec_fcmphe ty y x))
|
3462
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrGreaterThan) x y)))
|
3463
|
-
(vec_not ty (vec_fcmphe ty y x)))
|
3464
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.Ordered) x y)))
|
3465
|
-
(vec_or ty (vec_fcmphe ty x y) (vec_fcmphe ty y x)))
|
3466
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.Unordered) x y)))
|
3467
|
-
(vec_not_or ty (vec_fcmphe ty x y) (vec_fcmphe ty y x)))
|
3468
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.OrderedNotEqual) x y)))
|
3469
|
-
(vec_or ty (vec_fcmph ty x y) (vec_fcmph ty y x)))
|
3470
|
-
(rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrEqual) x y)))
|
3471
|
-
(vec_not_or ty (vec_fcmph ty x y) (vec_fcmph ty y x)))
|
3472
|
-
|
3473
|
-
|
3474
|
-
;;;; Rules for `vall_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3475
|
-
|
3476
|
-
;; Main `vall_true` entry point. Generate a `ProducesBool` capturing the
|
3477
|
-
;; comparison and immediately lower it to a 0/1 integer result.
|
3478
|
-
(rule (lower (has_type (fits_in_64 ty) (vall_true x)))
|
3479
|
-
(lower_bool ty (vall_true_val x)))
|
3480
|
-
|
3481
|
-
;; Return a `ProducesBool` to implement `vall_true`.
|
3482
|
-
(decl vall_true_val (Value) ProducesBool)
|
3483
|
-
(rule -1 (vall_true_val x @ (value_type ty))
|
3484
|
-
(bool (vec_cmpeqs ty x (vec_imm ty 0))
|
3485
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3486
|
-
|
3487
|
-
;; Short-circuit `vall_true` on the result of a `icmp`.
|
3488
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.Equal) x y)))
|
3489
|
-
(bool (vec_cmpeqs ty x y)
|
3490
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3491
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.NotEqual) x y)))
|
3492
|
-
(bool (vec_cmpeqs ty x y)
|
3493
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3494
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.SignedGreaterThan) x y)))
|
3495
|
-
(bool (vec_cmphs ty x y)
|
3496
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3497
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.SignedLessThanOrEqual) x y)))
|
3498
|
-
(bool (vec_cmphs ty x y)
|
3499
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3500
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.SignedLessThan) x y)))
|
3501
|
-
(bool (vec_cmphs ty y x)
|
3502
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3503
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.SignedGreaterThanOrEqual) x y)))
|
3504
|
-
(bool (vec_cmphs ty y x)
|
3505
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3506
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThan) x y)))
|
3507
|
-
(bool (vec_cmphls ty x y)
|
3508
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3509
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedLessThanOrEqual) x y)))
|
3510
|
-
(bool (vec_cmphls ty x y)
|
3511
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3512
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedLessThan) x y)))
|
3513
|
-
(bool (vec_cmphls ty y x)
|
3514
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3515
|
-
(rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThanOrEqual) x y)))
|
3516
|
-
(bool (vec_cmphls ty y x)
|
3517
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3518
|
-
|
3519
|
-
;; Short-circuit `vall_true` on the result of a `fcmp` where possible.
|
3520
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.Equal) x y)))
|
3521
|
-
(bool (vec_fcmpeqs ty x y)
|
3522
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3523
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.NotEqual) x y)))
|
3524
|
-
(bool (vec_fcmpeqs ty x y)
|
3525
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3526
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.GreaterThan) x y)))
|
3527
|
-
(bool (vec_fcmphs ty x y)
|
3528
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3529
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThanOrEqual) x y)))
|
3530
|
-
(bool (vec_fcmphs ty x y)
|
3531
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3532
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.GreaterThanOrEqual) x y)))
|
3533
|
-
(bool (vec_fcmphes ty x y)
|
3534
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3535
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThan) x y)))
|
3536
|
-
(bool (vec_fcmphes ty x y)
|
3537
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3538
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.LessThan) x y)))
|
3539
|
-
(bool (vec_fcmphs ty y x)
|
3540
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3541
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) x y)))
|
3542
|
-
(bool (vec_fcmphs ty y x)
|
3543
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3544
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.LessThanOrEqual) x y)))
|
3545
|
-
(bool (vec_fcmphes ty y x)
|
3546
|
-
(floatcc_as_cond (FloatCC.Equal))))
|
3547
|
-
(rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThan) x y)))
|
3548
|
-
(bool (vec_fcmphes ty y x)
|
3549
|
-
(floatcc_as_cond (FloatCC.Unordered))))
|
3550
|
-
|
3551
|
-
|
3552
|
-
;;;; Rules for `vany_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3553
|
-
|
3554
|
-
;; Main `vany_true` entry point. Generate a `ProducesBool` capturing the
|
3555
|
-
;; comparison and immediately lower it to a 0/1 integer result.
|
3556
|
-
(rule (lower (has_type (fits_in_64 ty) (vany_true x)))
|
3557
|
-
(lower_bool ty (vany_true_val x)))
|
3558
|
-
|
3559
|
-
;; Return a `ProducesBool` to implement `vany_true`.
|
3560
|
-
(decl vany_true_val (Value) ProducesBool)
|
3561
|
-
(rule -1 (vany_true_val x @ (value_type ty))
|
3562
|
-
(bool (vec_cmpeqs ty x (vec_imm ty 0))
|
3563
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3564
|
-
|
3565
|
-
;; Short-circuit `vany_true` on the result of a `icmp`.
|
3566
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.Equal) x y)))
|
3567
|
-
(bool (vec_cmpeqs ty x y)
|
3568
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3569
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.NotEqual) x y)))
|
3570
|
-
(bool (vec_cmpeqs ty x y)
|
3571
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3572
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.SignedGreaterThan) x y)))
|
3573
|
-
(bool (vec_cmphs ty x y)
|
3574
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3575
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.SignedLessThanOrEqual) x y)))
|
3576
|
-
(bool (vec_cmphs ty x y)
|
3577
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3578
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.SignedLessThan) x y)))
|
3579
|
-
(bool (vec_cmphs ty y x)
|
3580
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3581
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.SignedGreaterThanOrEqual) x y)))
|
3582
|
-
(bool (vec_cmphs ty y x)
|
3583
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3584
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThan) x y)))
|
3585
|
-
(bool (vec_cmphls ty x y)
|
3586
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3587
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedLessThanOrEqual) x y)))
|
3588
|
-
(bool (vec_cmphls ty x y)
|
3589
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3590
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedLessThan) x y)))
|
3591
|
-
(bool (vec_cmphls ty y x)
|
3592
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3593
|
-
(rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThanOrEqual) x y)))
|
3594
|
-
(bool (vec_cmphls ty y x)
|
3595
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3596
|
-
|
3597
|
-
;; Short-circuit `vany_true` on the result of a `fcmp` where possible.
|
3598
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.Equal) x y)))
|
3599
|
-
(bool (vec_fcmpeqs ty x y)
|
3600
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3601
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.NotEqual) x y)))
|
3602
|
-
(bool (vec_fcmpeqs ty x y)
|
3603
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3604
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.GreaterThan) x y)))
|
3605
|
-
(bool (vec_fcmphs ty x y)
|
3606
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3607
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThanOrEqual) x y)))
|
3608
|
-
(bool (vec_fcmphs ty x y)
|
3609
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3610
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.GreaterThanOrEqual) x y)))
|
3611
|
-
(bool (vec_fcmphes ty x y)
|
3612
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3613
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThan) x y)))
|
3614
|
-
(bool (vec_fcmphes ty x y)
|
3615
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3616
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.LessThan) x y)))
|
3617
|
-
(bool (vec_fcmphs ty y x)
|
3618
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3619
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) x y)))
|
3620
|
-
(bool (vec_fcmphs ty y x)
|
3621
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3622
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.LessThanOrEqual) x y)))
|
3623
|
-
(bool (vec_fcmphes ty y x)
|
3624
|
-
(floatcc_as_cond (FloatCC.Ordered))))
|
3625
|
-
(rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThan) x y)))
|
3626
|
-
(bool (vec_fcmphes ty y x)
|
3627
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3628
|
-
|
3629
|
-
|
3630
|
-
;;;; Rules for `vhigh_bits` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3631
|
-
|
3632
|
-
(rule (lower (vhigh_bits x @ (value_type (multi_lane 8 16))))
|
3633
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
3634
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 0 8 16 24 32 40 48 56
|
3635
|
-
64 72 80 88 96 104 112 120))))
|
3636
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3637
|
-
(rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 8 16))))
|
3638
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
3639
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 120 112 104 96 88 80 72 64
|
3640
|
-
56 48 40 32 24 16 8 0))))
|
3641
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3642
|
-
|
3643
|
-
(rule (lower (vhigh_bits x @ (value_type (multi_lane 16 8))))
|
3644
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
3645
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
|
3646
|
-
0 16 32 48 64 80 96 112))))
|
3647
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3648
|
-
(rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 16 8))))
|
3649
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
3650
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
|
3651
|
-
112 96 80 64 48 32 16 0))))
|
3652
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3653
|
-
|
3654
|
-
(rule (lower (vhigh_bits x @ (value_type (multi_lane 32 4))))
|
3655
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
3656
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
|
3657
|
-
128 128 128 128 0 32 64 96))))
|
3658
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3659
|
-
(rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 32 4))))
|
3660
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
3661
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
|
3662
|
-
128 128 128 128 96 64 32 0))))
|
3663
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3664
|
-
|
3665
|
-
(rule (lower (vhigh_bits x @ (value_type (multi_lane 64 2))))
|
3666
|
-
(if-let (LaneOrder.LittleEndian) (lane_order))
|
3667
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
|
3668
|
-
128 128 128 128 128 128 0 64))))
|
3669
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3670
|
-
(rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 64 2))))
|
3671
|
-
(if-let (LaneOrder.BigEndian) (lane_order))
|
3672
|
-
(let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
|
3673
|
-
128 128 128 128 128 128 64 0))))
|
3674
|
-
(vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
|
3675
|
-
|
3676
|
-
|
3677
|
-
;;;; Rules for `is_null` and `is_invalid` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3678
|
-
|
3679
|
-
;; Null references are represented by the constant value 0.
|
3680
|
-
(rule (lower (has_type $I8 (is_null x @ (value_type $R64))))
|
3681
|
-
(lower_bool $I8 (bool (icmps_simm16 $I64 x 0)
|
3682
|
-
(intcc_as_cond (IntCC.Equal)))))
|
3683
|
-
|
3684
|
-
|
3685
|
-
;; Invalid references are represented by the constant value -1.
|
3686
|
-
(rule (lower (has_type $I8 (is_invalid x @ (value_type $R64))))
|
3687
|
-
(lower_bool $I8 (bool (icmps_simm16 $I64 x -1)
|
3688
|
-
(intcc_as_cond (IntCC.Equal)))))
|
3689
|
-
|
3690
|
-
|
3691
|
-
;;;; Rules for `select` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3692
|
-
|
3693
|
-
;; Return a `ProducesBool` to capture the fact that the input value is nonzero.
|
3694
|
-
;; In the common case where that input is the result of an `icmp` or `fcmp`
|
3695
|
-
;; instruction, directly use that compare. Note that it is not safe to sink
|
3696
|
-
;; memory loads here, see the `icmp` comment.
|
3697
|
-
(decl value_nonzero (Value) ProducesBool)
|
3698
|
-
(rule (value_nonzero (icmp int_cc x y)) (icmp_val $false int_cc x y))
|
3699
|
-
(rule (value_nonzero (fcmp float_cc x y)) (fcmp_val float_cc x y))
|
3700
|
-
(rule -1 (value_nonzero val @ (value_type (gpr32_ty ty)))
|
3701
|
-
(bool (icmps_simm16 $I32 (put_in_reg_sext32 val) 0)
|
3702
|
-
(intcc_as_cond (IntCC.NotEqual))))
|
3703
|
-
(rule -2 (value_nonzero val @ (value_type (gpr64_ty ty)))
|
3704
|
-
(bool (icmps_simm16 $I64 (put_in_reg val) 0)
|
3705
|
-
(intcc_as_cond (IntCC.NotEqual))))
|
3706
|
-
(rule -3 (value_nonzero val @ (value_type (vr128_ty ty)))
|
3707
|
-
(bool (vec_cmpeqs $I64X2 val (vec_imm $I64X2 0))
|
3708
|
-
(floatcc_as_cond (FloatCC.NotEqual))))
|
3709
|
-
|
3710
|
-
;; Main `select` entry point. Lower the `value_nonzero` result.
|
3711
|
-
(rule (lower (has_type ty (select val_cond val_true val_false)))
|
3712
|
-
(select_bool_reg ty (value_nonzero val_cond)
|
3713
|
-
(put_in_reg val_true) (put_in_reg val_false)))
|
3714
|
-
|
3715
|
-
;; Special-case some float-selection instructions for min/max
|
3716
|
-
(rule 1 (lower (has_type (ty_scalar_float ty) (select (maybe_uextend (fcmp (FloatCC.LessThan) x y)) x y)))
|
3717
|
-
(fmin_pseudo_reg ty y x))
|
3718
|
-
(rule 2 (lower (has_type (ty_scalar_float ty) (select (maybe_uextend (fcmp (FloatCC.LessThan) y x)) x y)))
|
3719
|
-
(fmax_pseudo_reg ty y x))
|
3720
|
-
|
3721
|
-
|
3722
|
-
;;;; Rules for `select_spectre_guard` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3723
|
-
|
3724
|
-
;; We need to guarantee a conditional move instruction. But on this platform
|
3725
|
-
;; this is already the best way to implement select in general, so the
|
3726
|
-
;; implementation of `select_spectre_guard` is identical to `select`.
|
3727
|
-
(rule (lower (has_type ty (select_spectre_guard
|
3728
|
-
val_cond val_true val_false)))
|
3729
|
-
(select_bool_reg ty (value_nonzero val_cond)
|
3730
|
-
(put_in_reg val_true) (put_in_reg val_false)))
|
3731
|
-
|
3732
|
-
|
3733
|
-
;;;; Rules for `jump` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3734
|
-
|
3735
|
-
;; Unconditional branch. The target is found as first (and only) element in
|
3736
|
-
;; the list of the current block's branch targets passed as `targets`.
|
3737
|
-
(rule (lower_branch (jump _) (single_target label))
|
3738
|
-
(emit_side_effect (jump_impl label)))
|
3739
|
-
|
3740
|
-
|
3741
|
-
;;;; Rules for `br_table` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3742
|
-
|
3743
|
-
;; Jump table. `targets` contains the default target followed by the
|
3744
|
-
;; list of branch targets per index value.
|
3745
|
-
(rule (lower_branch (br_table val_idx _) (jump_table_targets default targets))
|
3746
|
-
(let ((idx Reg (put_in_reg_zext64 val_idx))
|
3747
|
-
;; Bounds-check the index and branch to default.
|
3748
|
-
;; This is an internal branch that is not a terminator insn.
|
3749
|
-
;; Instead, the default target is listed a potential target
|
3750
|
-
;; in the final JTSequence, which is the block terminator.
|
3751
|
-
(cond ProducesBool
|
3752
|
-
(bool (icmpu_uimm32 $I64 idx (jump_table_size targets))
|
3753
|
-
(intcc_as_cond (IntCC.UnsignedGreaterThanOrEqual))))
|
3754
|
-
(_ Unit (emit_side_effect (oneway_cond_br_bool cond default))))
|
3755
|
-
;; Scale the index by the element size, and then emit the
|
3756
|
-
;; compound instruction that does:
|
3757
|
-
;;
|
3758
|
-
;; larl %r1, <jt-base>
|
3759
|
-
;; agf %r1, 0(%r1, %rScaledIndex)
|
3760
|
-
;; br %r1
|
3761
|
-
;; [jt entries]
|
3762
|
-
;;
|
3763
|
-
;; This must be *one* instruction in the vcode because
|
3764
|
-
;; we cannot allow regalloc to insert any spills/fills
|
3765
|
-
;; in the middle of the sequence; otherwise, the LARL's
|
3766
|
-
;; PC-rel offset to the jumptable would be incorrect.
|
3767
|
-
;; (The alternative is to introduce a relocation pass
|
3768
|
-
;; for inlined jumptables, which is much worse, IMHO.)
|
3769
|
-
(emit_side_effect (jt_sequence (lshl_imm $I64 idx 2) targets))))
|
3770
|
-
|
3771
|
-
|
3772
|
-
;;;; Rules for `brif` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3773
|
-
|
3774
|
-
;; Two-way conditional branch on nonzero. `targets` contains:
|
3775
|
-
;; - element 0: target if the condition is true (i.e. value is nonzero)
|
3776
|
-
;; - element 1: target if the condition is false (i.e. value is zero)
|
3777
|
-
(rule (lower_branch (brif val_cond _ _) (two_targets then else))
|
3778
|
-
(emit_side_effect (cond_br_bool (value_nonzero val_cond) then else)))
|
3779
|
-
|
3780
|
-
|
3781
|
-
;;;; Rules for `trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3782
|
-
|
3783
|
-
(rule (lower (trap trap_code))
|
3784
|
-
(side_effect (trap_impl trap_code)))
|
3785
|
-
|
3786
|
-
|
3787
|
-
;;;; Rules for `resumable_trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3788
|
-
|
3789
|
-
(rule (lower (resumable_trap trap_code))
|
3790
|
-
(side_effect (trap_impl trap_code)))
|
3791
|
-
|
3792
|
-
|
3793
|
-
;;;; Rules for `trapz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3794
|
-
|
3795
|
-
(rule (lower (trapz val trap_code))
|
3796
|
-
(side_effect (trap_if_bool (invert_bool (value_nonzero val)) trap_code)))
|
3797
|
-
|
3798
|
-
|
3799
|
-
;;;; Rules for `trapnz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3800
|
-
|
3801
|
-
(rule (lower (trapnz val trap_code))
|
3802
|
-
(side_effect (trap_if_bool (value_nonzero val) trap_code)))
|
3803
|
-
|
3804
|
-
|
3805
|
-
;;;; Rules for `resumable_trapnz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3806
|
-
|
3807
|
-
(rule (lower (resumable_trapnz val trap_code))
|
3808
|
-
(side_effect (trap_if_bool (value_nonzero val) trap_code)))
|
3809
|
-
|
3810
|
-
|
3811
|
-
;;;; Rules for `debugtrap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3812
|
-
|
3813
|
-
(rule (lower (debugtrap))
|
3814
|
-
(side_effect (debugtrap_impl)))
|
3815
|
-
|
3816
|
-
;;;; Rules for `uadd_overflow_trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3817
|
-
|
3818
|
-
;; UaddOverflowTrap is implemented via a ADD LOGICAL instruction, which sets the
|
3819
|
-
;; the condition code as follows:
|
3820
|
-
;; 0 Result zero; no carry
|
3821
|
-
;; 1 Result not zero; no carry
|
3822
|
-
;; 2 Result zero; carry
|
3823
|
-
;; 3 Result not zero; carry
|
3824
|
-
;; This means "carry" corresponds to condition code 2 or 3, i.e.
|
3825
|
-
;; a condition mask of 2 | 1.
|
3826
|
-
;;
|
3827
|
-
;; As this does not match any of the encodings used with a normal integer
|
3828
|
-
;; comparsion, this cannot be represented by any IntCC value. We need to
|
3829
|
-
;; remap the IntCC::UnsignedGreaterThan value that we have here as result
|
3830
|
-
;; of the unsigned_add_overflow_condition call to the correct mask.
|
3831
|
-
|
3832
|
-
(rule 0 (lower (has_type (fits_in_64 ty) (uadd_overflow_trap x y tc)))
|
3833
|
-
(with_flags
|
3834
|
-
(add_logical_reg_with_flags_paired ty x y)
|
3835
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3836
|
-
|
3837
|
-
;; Add a register an a zero-extended register.
|
3838
|
-
(rule 4 (lower (has_type (fits_in_64 ty)
|
3839
|
-
(uadd_overflow_trap x (zext32_value y) tc)))
|
3840
|
-
(with_flags
|
3841
|
-
(add_logical_reg_zext32_with_flags_paired ty x y)
|
3842
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3843
|
-
(rule 8 (lower (has_type (fits_in_64 ty)
|
3844
|
-
(uadd_overflow_trap (zext32_value x) y tc)))
|
3845
|
-
(with_flags
|
3846
|
-
(add_logical_reg_zext32_with_flags_paired ty y x)
|
3847
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3848
|
-
|
3849
|
-
;; Add a register and an immediate
|
3850
|
-
(rule 3 (lower (has_type (fits_in_64 ty)
|
3851
|
-
(uadd_overflow_trap x (u32_from_value y) tc)))
|
3852
|
-
(with_flags
|
3853
|
-
(add_logical_zimm32_with_flags_paired ty x y)
|
3854
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3855
|
-
(rule 7 (lower (has_type (fits_in_64 ty)
|
3856
|
-
(uadd_overflow_trap (u32_from_value x) y tc)))
|
3857
|
-
(with_flags
|
3858
|
-
(add_logical_zimm32_with_flags_paired ty y x)
|
3859
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3860
|
-
|
3861
|
-
;; Add a register and memory (32/64-bit types).
|
3862
|
-
(rule 2 (lower (has_type (fits_in_64 ty)
|
3863
|
-
(uadd_overflow_trap x (sinkable_load_32_64 y) tc)))
|
3864
|
-
(with_flags
|
3865
|
-
(add_logical_mem_with_flags_paired ty x (sink_load y))
|
3866
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3867
|
-
(rule 6 (lower (has_type (fits_in_64 ty)
|
3868
|
-
(uadd_overflow_trap (sinkable_load_32_64 x) y tc)))
|
3869
|
-
(with_flags
|
3870
|
-
(add_logical_mem_with_flags_paired ty y (sink_load x))
|
3871
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3872
|
-
|
3873
|
-
;; Add a register and zero-extended memory.
|
3874
|
-
(rule 1 (lower (has_type (fits_in_64 ty)
|
3875
|
-
(uadd_overflow_trap x (sinkable_uload32 y) tc)))
|
3876
|
-
(with_flags
|
3877
|
-
(add_logical_mem_zext32_with_flags_paired ty x (sink_uload32 y))
|
3878
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3879
|
-
(rule 5 (lower (has_type (fits_in_64 ty)
|
3880
|
-
(uadd_overflow_trap (sinkable_uload32 x) y tc)))
|
3881
|
-
(with_flags
|
3882
|
-
(add_logical_mem_zext32_with_flags_paired ty y (sink_uload32 x))
|
3883
|
-
(trap_if_impl (mask_as_cond 3) tc)))
|
3884
|
-
|
3885
|
-
;;;; Rules for `return` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3886
|
-
|
3887
|
-
(rule (lower (return args))
|
3888
|
-
(lower_return args))
|
3889
|
-
|
3890
|
-
|
3891
|
-
;;;; Rules for `call` and `call_indirect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
3892
|
-
|
3893
|
-
;; Direct call to an in-range function.
|
3894
|
-
(rule 1 (lower (call (func_ref_data sig_ref name (reloc_distance_near)) args))
|
3895
|
-
(let ((abi Sig (abi_sig sig_ref))
|
3896
|
-
(_ Unit (abi_accumulate_outgoing_args_size abi))
|
3897
|
-
(uses CallArgList (lower_call_args abi (range 0 (abi_num_args abi)) args))
|
3898
|
-
(defs CallRetList (defs_init abi))
|
3899
|
-
(_ InstOutput (side_effect (abi_call abi name uses defs (Opcode.Call)))))
|
3900
|
-
(lower_call_rets abi defs (range (abi_first_ret sig_ref abi)
|
3901
|
-
(abi_num_rets abi)) (output_builder_new))))
|
3902
|
-
|
3903
|
-
;; Direct call to an out-of-range function (implicitly via pointer).
|
3904
|
-
(rule (lower (call (func_ref_data sig_ref name _) args))
|
3905
|
-
(let ((abi Sig (abi_sig sig_ref))
|
3906
|
-
(_ Unit (abi_accumulate_outgoing_args_size abi))
|
3907
|
-
(uses CallArgList (lower_call_args abi (range 0 (abi_num_args abi)) args))
|
3908
|
-
(defs CallRetList (defs_init abi))
|
3909
|
-
(target Reg (load_symbol_reloc (SymbolReloc.Absolute name 0)))
|
3910
|
-
(_ InstOutput (side_effect (abi_call_ind abi target uses defs (Opcode.Call)))))
|
3911
|
-
(lower_call_rets abi defs (range (abi_first_ret sig_ref abi)
|
3912
|
-
(abi_num_rets abi)) (output_builder_new))))
|
3913
|
-
|
3914
|
-
;; Indirect call.
|
3915
|
-
(rule (lower (call_indirect sig_ref ptr args))
|
3916
|
-
(let ((abi Sig (abi_sig sig_ref))
|
3917
|
-
(target Reg (put_in_reg ptr))
|
3918
|
-
(_ Unit (abi_accumulate_outgoing_args_size abi))
|
3919
|
-
(uses CallArgList (lower_call_args abi (range 0 (abi_num_args abi)) args))
|
3920
|
-
(defs CallRetList (defs_init abi))
|
3921
|
-
(_ InstOutput (side_effect (abi_call_ind abi target uses defs (Opcode.CallIndirect)))))
|
3922
|
-
(lower_call_rets abi defs (range (abi_first_ret sig_ref abi)
|
3923
|
-
(abi_num_rets abi)) (output_builder_new))))
|
3924
|
-
|
3925
|
-
;; Lower function arguments.
|
3926
|
-
(decl lower_call_args (Sig Range ValueSlice) CallArgList)
|
3927
|
-
(rule (lower_call_args abi range args)
|
3928
|
-
(let ((uses CallArgListBuilder (args_builder_new))
|
3929
|
-
(_ InstOutput (lower_call_args_buffer abi range args))
|
3930
|
-
(_ InstOutput (lower_call_args_slots abi uses range args))
|
3931
|
-
(_ InstOutput (lower_call_ret_arg abi uses)))
|
3932
|
-
(args_builder_finish uses)))
|
3933
|
-
|
3934
|
-
;; Lower function arguments (part 1): prepare buffer copies.
|
3935
|
-
(decl lower_call_args_buffer (Sig Range ValueSlice) InstOutput)
|
3936
|
-
(rule (lower_call_args_buffer abi (range_empty) _) (output_none))
|
3937
|
-
(rule (lower_call_args_buffer abi (range_unwrap head tail) args)
|
3938
|
-
(let ((_ InstOutput (copy_to_buffer 0 (abi_get_arg abi head)
|
3939
|
-
(value_slice_get args head))))
|
3940
|
-
(lower_call_args_buffer abi tail args)))
|
3941
|
-
|
3942
|
-
;; Lower function arguments (part 2): set up registers / stack slots.
|
3943
|
-
(decl lower_call_args_slots (Sig CallArgListBuilder Range ValueSlice) InstOutput)
|
3944
|
-
(rule (lower_call_args_slots abi _ (range_empty) _) (output_none))
|
3945
|
-
(rule (lower_call_args_slots abi uses (range_unwrap head tail) args)
|
3946
|
-
(let ((_ InstOutput (copy_to_arg uses (abi_lane_order abi)
|
3947
|
-
0 (abi_get_arg abi head)
|
3948
|
-
(value_slice_get args head))))
|
3949
|
-
(lower_call_args_slots abi uses tail args)))
|
3950
|
-
|
3951
|
-
;; Lower function arguments (part 3): implicit return-area pointer.
|
3952
|
-
(decl lower_call_ret_arg (Sig CallArgListBuilder) InstOutput)
|
3953
|
-
(rule (lower_call_ret_arg (abi_no_ret_arg) _) (output_none))
|
3954
|
-
(rule 1 (lower_call_ret_arg abi @ (abi_ret_arg (abi_arg_only_slot slot)) uses)
|
3955
|
-
(let ((mem MemArg (memarg_stack_off (abi_sized_stack_arg_space abi) 0)))
|
3956
|
-
(copy_reg_to_arg_slot uses (abi_lane_order abi) 0 slot (load_addr mem))))
|
3957
|
-
|
3958
|
-
;; Lower function return values by collecting them from registers / stack slots.
|
3959
|
-
(decl lower_call_rets (Sig CallRetList Range InstOutputBuilder) InstOutput)
|
3960
|
-
(rule (lower_call_rets abi _ (range_empty) builder) (output_builder_finish builder))
|
3961
|
-
(rule (lower_call_rets abi defs (range_unwrap head tail) builder)
|
3962
|
-
(let ((ret ValueRegs (copy_from_arg defs (abi_lane_order abi)
|
3963
|
-
(abi_sized_stack_arg_space abi)
|
3964
|
-
(abi_get_ret abi head)))
|
3965
|
-
(_ Unit (output_builder_push builder ret)))
|
3966
|
-
(lower_call_rets abi defs tail builder)))
|
3967
|
-
|
3968
|
-
;;;; Rules for `get_{frame,stack}_pointer` and `get_return_address` ;;;;;;;;;;;;
|
3969
|
-
|
3970
|
-
(rule (lower (get_stack_pointer))
|
3971
|
-
(sp))
|
3972
|
-
|
3973
|
-
(rule (lower (get_frame_pointer))
|
3974
|
-
(load64 (memarg_stack_off 0 0)))
|
3975
|
-
|
3976
|
-
(rule (lower (get_return_address))
|
3977
|
-
;; The return address is 14 pointer-sized slots above the initial SP. So
|
3978
|
-
;; our offset is `14 * 8 = 112`.
|
3979
|
-
(load64 (memarg_initial_sp_offset 112)))
|