wasmtime 24.0.0 → 25.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2451) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +112 -111
  3. data/ext/Cargo.toml +5 -5
  4. data/ext/cargo-vendor/cranelift-bforest-0.112.0/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cranelift-bforest-0.112.0/Cargo.toml +59 -0
  6. data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/node.rs +806 -0
  7. data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/path.rs +830 -0
  8. data/ext/cargo-vendor/cranelift-bforest-0.112.0/src/pool.rs +219 -0
  9. data/ext/cargo-vendor/cranelift-bitset-0.112.0/.cargo-checksum.json +1 -0
  10. data/ext/cargo-vendor/cranelift-bitset-0.112.0/Cargo.toml +74 -0
  11. data/ext/cargo-vendor/cranelift-bitset-0.112.0/src/scalar.rs +626 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.112.0/.cargo-checksum.json +1 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.112.0/Cargo.toml +222 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.112.0/build.rs +267 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/binemit/mod.rs +168 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/cfg_printer.rs +83 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/data_value.rs +402 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/dbg.rs +28 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/egraph.rs +835 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/incremental_cache.rs +256 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/inst_predicates.rs +207 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/constant.rs +485 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/dfg.rs +1802 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/entities.rs +564 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/extfunc.rs +408 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/extname.rs +333 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/function.rs +500 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/globalvalue.rs +147 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/immediates.rs +1941 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/instructions.rs +1021 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/memtype.rs +190 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/progpoint.rs +75 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/trapcode.rs +148 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/types.rs +624 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/ir/user_stack_maps.rs +199 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/abi.rs +1520 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/args.rs +711 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/emit.rs +3567 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/emit_tests.rs +7972 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/imms.rs +1244 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/mod.rs +3051 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/regs.rs +269 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst/unwind/systemv.rs +174 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/inst.isle +4267 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/lower/isle.rs +811 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/lower.isle +2968 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/pcc.rs +570 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/aarch64/settings.rs +9 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/mod.rs +471 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley32.rs +13 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley64.rs +13 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/abi.rs +798 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/args.rs +192 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/emit.rs +482 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/mod.rs +905 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst/regs.rs +164 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/inst.isle +543 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower/isle/generated_code.rs +17 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower/isle.rs +195 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower.isle +178 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/lower.rs +36 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/mod.rs +281 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/pulley_shared/settings.rs +16 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/abi.rs +993 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/args.rs +1957 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/emit.rs +2685 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/emit_tests.rs +2277 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/encode.rs +721 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/mod.rs +1865 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/unwind/systemv.rs +170 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst/vector.rs +1150 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst.isle +3128 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/inst_vector.isle +1907 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/lower/isle.rs +721 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/riscv64/lower.isle +2940 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/abi.rs +1348 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/emit.rs +3470 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/emit_tests.rs +13370 -0
  79. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/mod.rs +3461 -0
  80. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/regs.rs +169 -0
  81. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst/unwind/systemv.rs +212 -0
  82. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/inst.isle +5071 -0
  83. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/lower/isle.rs +1109 -0
  84. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/s390x/lower.isle +3981 -0
  85. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/unwind/systemv.rs +276 -0
  86. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/abi.rs +1390 -0
  87. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/encoding/evex.rs +747 -0
  88. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/args.rs +2318 -0
  89. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit.rs +4400 -0
  90. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit_state.rs +55 -0
  91. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/emit_tests.rs +5146 -0
  92. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/mod.rs +2811 -0
  93. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/regs.rs +275 -0
  94. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/stack_switch.rs +52 -0
  95. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst/unwind/systemv.rs +198 -0
  96. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/inst.isle +5382 -0
  97. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower/isle.rs +1047 -0
  98. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower.isle +4919 -0
  99. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/lower.rs +338 -0
  100. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/mod.rs +239 -0
  101. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isa/x64/pcc.rs +1022 -0
  102. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/isle_prelude.rs +1144 -0
  103. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/lib.rs +106 -0
  104. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/abi.rs +2417 -0
  105. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/buffer.rs +2492 -0
  106. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/isle.rs +890 -0
  107. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/lower.rs +1590 -0
  108. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/mod.rs +560 -0
  109. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/reg.rs +484 -0
  110. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/machinst/vcode.rs +1762 -0
  111. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/extends.isle +95 -0
  112. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/icmp.isle +258 -0
  113. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/opts/selects.isle +88 -0
  114. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/prelude.isle +751 -0
  115. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/prelude_lower.isle +1081 -0
  116. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/print_errors.rs +223 -0
  117. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/remove_constant_phis.rs +419 -0
  118. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/result.rs +111 -0
  119. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/settings.rs +591 -0
  120. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/timing.rs +296 -0
  121. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/verifier/mod.rs +1941 -0
  122. data/ext/cargo-vendor/cranelift-codegen-0.112.0/src/write.rs +694 -0
  123. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/.cargo-checksum.json +1 -0
  124. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/Cargo.toml +54 -0
  125. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/settings.rs +429 -0
  126. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/types.rs +420 -0
  127. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/cdsl/typevar.rs +946 -0
  128. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/error.rs +48 -0
  129. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_inst.rs +1274 -0
  130. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_isle.rs +519 -0
  131. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_settings.rs +505 -0
  132. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/gen_types.rs +70 -0
  133. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/arm64.rs +59 -0
  134. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/mod.rs +81 -0
  135. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/pulley.rs +14 -0
  136. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/riscv64.rs +181 -0
  137. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isa/x86.rs +414 -0
  138. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/isle.rs +142 -0
  139. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/lib.rs +98 -0
  140. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/instructions.rs +3801 -0
  141. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/mod.rs +87 -0
  142. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/settings.rs +361 -0
  143. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/shared/types.rs +103 -0
  144. data/ext/cargo-vendor/cranelift-codegen-meta-0.112.0/src/srcgen.rs +464 -0
  145. data/ext/cargo-vendor/cranelift-codegen-shared-0.112.0/.cargo-checksum.json +1 -0
  146. data/ext/cargo-vendor/cranelift-codegen-shared-0.112.0/Cargo.toml +32 -0
  147. data/ext/cargo-vendor/cranelift-control-0.112.0/.cargo-checksum.json +1 -0
  148. data/ext/cargo-vendor/cranelift-control-0.112.0/Cargo.toml +43 -0
  149. data/ext/cargo-vendor/cranelift-entity-0.112.0/.cargo-checksum.json +1 -0
  150. data/ext/cargo-vendor/cranelift-entity-0.112.0/Cargo.toml +75 -0
  151. data/ext/cargo-vendor/cranelift-entity-0.112.0/src/lib.rs +381 -0
  152. data/ext/cargo-vendor/cranelift-entity-0.112.0/src/packed_option.rs +173 -0
  153. data/ext/cargo-vendor/cranelift-entity-0.112.0/src/sparse.rs +367 -0
  154. data/ext/cargo-vendor/cranelift-frontend-0.112.0/.cargo-checksum.json +1 -0
  155. data/ext/cargo-vendor/cranelift-frontend-0.112.0/Cargo.toml +97 -0
  156. data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/frontend.rs +1963 -0
  157. data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/ssa.rs +1325 -0
  158. data/ext/cargo-vendor/cranelift-frontend-0.112.0/src/switch.rs +676 -0
  159. data/ext/cargo-vendor/cranelift-isle-0.112.0/.cargo-checksum.json +1 -0
  160. data/ext/cargo-vendor/cranelift-isle-0.112.0/Cargo.toml +69 -0
  161. data/ext/cargo-vendor/cranelift-isle-0.112.0/build.rs +35 -0
  162. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/ast.rs +412 -0
  163. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/codegen.rs +922 -0
  164. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/compile.rs +65 -0
  165. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/error.rs +318 -0
  166. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/files.rs +133 -0
  167. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/lexer.rs +343 -0
  168. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/lib.rs +34 -0
  169. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/overlap.rs +130 -0
  170. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/parser.rs +551 -0
  171. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/sema.rs +2482 -0
  172. data/ext/cargo-vendor/cranelift-isle-0.112.0/src/trie_again.rs +696 -0
  173. data/ext/cargo-vendor/cranelift-isle-0.112.0/tests/run_tests.rs +77 -0
  174. data/ext/cargo-vendor/cranelift-native-0.112.0/.cargo-checksum.json +1 -0
  175. data/ext/cargo-vendor/cranelift-native-0.112.0/Cargo.toml +52 -0
  176. data/ext/cargo-vendor/cranelift-native-0.112.0/src/lib.rs +192 -0
  177. data/ext/cargo-vendor/cranelift-wasm-0.112.0/.cargo-checksum.json +1 -0
  178. data/ext/cargo-vendor/cranelift-wasm-0.112.0/Cargo.toml +128 -0
  179. data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/code_translator.rs +3723 -0
  180. data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/environ/dummy.rs +897 -0
  181. data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/environ/spec.rs +922 -0
  182. data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/func_translator.rs +283 -0
  183. data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/module_translator.rs +120 -0
  184. data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/sections_translator.rs +332 -0
  185. data/ext/cargo-vendor/cranelift-wasm-0.112.0/src/translation_utils.rs +95 -0
  186. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.25/.cargo-checksum.json +1 -0
  187. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.25/Cargo.toml +69 -0
  188. data/ext/cargo-vendor/pulley-interpreter-0.1.0/.cargo-checksum.json +1 -0
  189. data/ext/cargo-vendor/pulley-interpreter-0.1.0/Cargo.toml +85 -0
  190. data/ext/cargo-vendor/pulley-interpreter-0.1.0/README.md +109 -0
  191. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/decode.rs +657 -0
  192. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/disas.rs +256 -0
  193. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/encode.rs +198 -0
  194. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/imms.rs +31 -0
  195. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/interp.rs +1113 -0
  196. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/lib.rs +215 -0
  197. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/op.rs +256 -0
  198. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/opcode.rs +126 -0
  199. data/ext/cargo-vendor/pulley-interpreter-0.1.0/src/regs.rs +329 -0
  200. data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/disas.rs +87 -0
  201. data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/interp.rs +1216 -0
  202. data/ext/cargo-vendor/pulley-interpreter-0.1.0/tests/all/main.rs +5 -0
  203. data/ext/cargo-vendor/regalloc2-0.10.2/.cargo-checksum.json +1 -0
  204. data/ext/cargo-vendor/regalloc2-0.10.2/Cargo.toml +83 -0
  205. data/ext/cargo-vendor/regalloc2-0.10.2/doc/DESIGN.md +1411 -0
  206. data/ext/cargo-vendor/regalloc2-0.10.2/src/cfg.rs +135 -0
  207. data/ext/cargo-vendor/regalloc2-0.10.2/src/checker.rs +993 -0
  208. data/ext/cargo-vendor/regalloc2-0.10.2/src/fuzzing/func.rs +651 -0
  209. data/ext/cargo-vendor/regalloc2-0.10.2/src/fuzzing/mod.rs +31 -0
  210. data/ext/cargo-vendor/regalloc2-0.10.2/src/index.rs +209 -0
  211. data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/data_structures.rs +838 -0
  212. data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/liveranges.rs +882 -0
  213. data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/merge.rs +366 -0
  214. data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/mod.rs +143 -0
  215. data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/moves.rs +1006 -0
  216. data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/process.rs +1319 -0
  217. data/ext/cargo-vendor/regalloc2-0.10.2/src/ion/requirement.rs +167 -0
  218. data/ext/cargo-vendor/regalloc2-0.10.2/src/lib.rs +1518 -0
  219. data/ext/cargo-vendor/regalloc2-0.10.2/src/serialize.rs +293 -0
  220. data/ext/cargo-vendor/rustc-hash-2.0.0/.cargo-checksum.json +1 -0
  221. data/ext/cargo-vendor/rustc-hash-2.0.0/CHANGELOG.md +19 -0
  222. data/ext/cargo-vendor/rustc-hash-2.0.0/CODE_OF_CONDUCT.md +3 -0
  223. data/ext/cargo-vendor/rustc-hash-2.0.0/Cargo.toml +39 -0
  224. data/ext/cargo-vendor/rustc-hash-2.0.0/LICENSE-APACHE +176 -0
  225. data/ext/cargo-vendor/rustc-hash-2.0.0/LICENSE-MIT +23 -0
  226. data/ext/cargo-vendor/rustc-hash-2.0.0/README.md +42 -0
  227. data/ext/cargo-vendor/rustc-hash-2.0.0/src/lib.rs +459 -0
  228. data/ext/cargo-vendor/rustc-hash-2.0.0/src/random_state.rs +92 -0
  229. data/ext/cargo-vendor/rustc-hash-2.0.0/src/seeded_state.rs +53 -0
  230. data/ext/cargo-vendor/wasi-common-25.0.0/.cargo-checksum.json +1 -0
  231. data/ext/cargo-vendor/wasi-common-25.0.0/Cargo.toml +242 -0
  232. data/ext/cargo-vendor/wasi-common-25.0.0/src/ctx.rs +128 -0
  233. data/ext/cargo-vendor/wasi-common-25.0.0/src/lib.rs +193 -0
  234. data/ext/cargo-vendor/wasi-common-25.0.0/src/snapshots/mod.rs +24 -0
  235. data/ext/cargo-vendor/wasi-common-25.0.0/src/sync/dir.rs +461 -0
  236. data/ext/cargo-vendor/wasi-common-25.0.0/src/tokio/dir.rs +220 -0
  237. data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/async_.rs +294 -0
  238. data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/main.rs +21 -0
  239. data/ext/cargo-vendor/wasi-common-25.0.0/tests/all/sync.rs +283 -0
  240. data/ext/cargo-vendor/wasm-encoder-0.217.0/.cargo-checksum.json +1 -0
  241. data/ext/cargo-vendor/wasm-encoder-0.217.0/Cargo.toml +65 -0
  242. data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/builder.rs +469 -0
  243. data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/exports.rs +129 -0
  244. data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/imports.rs +169 -0
  245. data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/instances.rs +199 -0
  246. data/ext/cargo-vendor/wasm-encoder-0.217.0/src/component/types.rs +800 -0
  247. data/ext/cargo-vendor/wasm-encoder-0.217.0/src/core/code.rs +3947 -0
  248. data/ext/cargo-vendor/wasmparser-0.217.0/.cargo-checksum.json +1 -0
  249. data/ext/cargo-vendor/wasmparser-0.217.0/Cargo.lock +679 -0
  250. data/ext/cargo-vendor/wasmparser-0.217.0/Cargo.toml +139 -0
  251. data/ext/cargo-vendor/wasmparser-0.217.0/benches/benchmark.rs +350 -0
  252. data/ext/cargo-vendor/wasmparser-0.217.0/src/binary_reader.rs +2115 -0
  253. data/ext/cargo-vendor/wasmparser-0.217.0/src/features.rs +281 -0
  254. data/ext/cargo-vendor/wasmparser-0.217.0/src/limits.rs +80 -0
  255. data/ext/cargo-vendor/wasmparser-0.217.0/src/parser.rs +1691 -0
  256. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/aliases.rs +119 -0
  257. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/canonicals.rs +121 -0
  258. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/exports.rs +135 -0
  259. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/imports.rs +145 -0
  260. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/instances.rs +166 -0
  261. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/component/types.rs +553 -0
  262. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/code.rs +142 -0
  263. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/coredumps.rs +278 -0
  264. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/data.rs +94 -0
  265. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/exports.rs +65 -0
  266. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/globals.rs +61 -0
  267. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/imports.rs +76 -0
  268. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/init.rs +65 -0
  269. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/operators.rs +479 -0
  270. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/producers.rs +84 -0
  271. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers/core/types.rs +1987 -0
  272. data/ext/cargo-vendor/wasmparser-0.217.0/src/readers.rs +315 -0
  273. data/ext/cargo-vendor/wasmparser-0.217.0/src/resources.rs +245 -0
  274. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/component.rs +3297 -0
  275. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/core/canonical.rs +409 -0
  276. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/core.rs +1374 -0
  277. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/func.rs +340 -0
  278. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/names.rs +1012 -0
  279. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/operators.rs +4845 -0
  280. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator/types.rs +4612 -0
  281. data/ext/cargo-vendor/wasmparser-0.217.0/src/validator.rs +1658 -0
  282. data/ext/cargo-vendor/wasmprinter-0.217.0/.cargo-checksum.json +1 -0
  283. data/ext/cargo-vendor/wasmprinter-0.217.0/Cargo.toml +74 -0
  284. data/ext/cargo-vendor/wasmprinter-0.217.0/src/lib.rs +3250 -0
  285. data/ext/cargo-vendor/wasmtime-25.0.0/.cargo-checksum.json +1 -0
  286. data/ext/cargo-vendor/wasmtime-25.0.0/Cargo.toml +407 -0
  287. data/ext/cargo-vendor/wasmtime-25.0.0/build.rs +38 -0
  288. data/ext/cargo-vendor/wasmtime-25.0.0/src/compile/code_builder.rs +317 -0
  289. data/ext/cargo-vendor/wasmtime-25.0.0/src/compile/runtime.rs +167 -0
  290. data/ext/cargo-vendor/wasmtime-25.0.0/src/compile.rs +881 -0
  291. data/ext/cargo-vendor/wasmtime-25.0.0/src/config.rs +3021 -0
  292. data/ext/cargo-vendor/wasmtime-25.0.0/src/engine/serialization.rs +906 -0
  293. data/ext/cargo-vendor/wasmtime-25.0.0/src/engine.rs +778 -0
  294. data/ext/cargo-vendor/wasmtime-25.0.0/src/lib.rs +406 -0
  295. data/ext/cargo-vendor/wasmtime-25.0.0/src/profiling_agent/jitdump.rs +64 -0
  296. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/component.rs +810 -0
  297. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/func/host.rs +458 -0
  298. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/func/typed.rs +2497 -0
  299. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/linker.rs +704 -0
  300. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/mod.rs +673 -0
  301. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/resources.rs +1132 -0
  302. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/component/types.rs +897 -0
  303. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/coredump.rs +339 -0
  304. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/externals/global.rs +312 -0
  305. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/externals/table.rs +480 -0
  306. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/func.rs +2607 -0
  307. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/anyref.rs +126 -0
  308. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/arrayref.rs +56 -0
  309. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled/rooting.rs +229 -0
  310. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/disabled.rs +23 -0
  311. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/anyref.rs +662 -0
  312. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/arrayref.rs +879 -0
  313. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/i31.rs +291 -0
  314. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled/rooting.rs +1755 -0
  315. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/gc/enabled.rs +16 -0
  316. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/instance.rs +989 -0
  317. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/linker.rs +1498 -0
  318. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/memory.rs +1101 -0
  319. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/module.rs +1178 -0
  320. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/store.rs +2877 -0
  321. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/trampoline/global.rs +70 -0
  322. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/trap.rs +641 -0
  323. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/types.rs +2932 -0
  324. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/values.rs +1050 -0
  325. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/const_expr.rs +132 -0
  326. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/cow.rs +992 -0
  327. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/disabled.rs +41 -0
  328. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/arrayref.rs +342 -0
  329. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/data.rs +149 -0
  330. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/drc.rs +1163 -0
  331. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled/structref.rs +336 -0
  332. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/enabled.rs +29 -0
  333. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/gc_ref.rs +479 -0
  334. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc/gc_runtime.rs +718 -0
  335. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/gc.rs +339 -0
  336. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/helpers.c +118 -0
  337. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +95 -0
  338. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +702 -0
  339. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/libcalls.rs +850 -0
  340. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/custom/traphandlers.rs +57 -0
  341. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/machports.rs +440 -0
  342. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/mmap.rs +159 -0
  343. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/unix/signals.rs +465 -0
  344. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/sys/windows/traphandlers.rs +135 -0
  345. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/threads/parking_spot.rs +623 -0
  346. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/traphandlers.rs +787 -0
  347. data/ext/cargo-vendor/wasmtime-25.0.0/src/runtime/vm/vmcontext.rs +1246 -0
  348. data/ext/cargo-vendor/wasmtime-asm-macros-25.0.0/.cargo-checksum.json +1 -0
  349. data/ext/cargo-vendor/wasmtime-asm-macros-25.0.0/Cargo.toml +33 -0
  350. data/ext/cargo-vendor/wasmtime-cache-25.0.0/.cargo-checksum.json +1 -0
  351. data/ext/cargo-vendor/wasmtime-cache-25.0.0/Cargo.toml +112 -0
  352. data/ext/cargo-vendor/wasmtime-cache-25.0.0/build.rs +10 -0
  353. data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/config.rs +584 -0
  354. data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/lib.rs +235 -0
  355. data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/worker/tests.rs +758 -0
  356. data/ext/cargo-vendor/wasmtime-cache-25.0.0/src/worker.rs +890 -0
  357. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/.cargo-checksum.json +1 -0
  358. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/Cargo.toml +115 -0
  359. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/src/bindgen.rs +507 -0
  360. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/src/component.rs +1540 -0
  361. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/codegen.rs +699 -0
  362. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char.rs +387 -0
  363. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char_async.rs +414 -0
  364. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/char_tracing_async.rs +461 -0
  365. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions.rs +824 -0
  366. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions_async.rs +899 -0
  367. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/conventions_tracing_async.rs +1190 -0
  368. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code.rs +279 -0
  369. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code_async.rs +300 -0
  370. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/dead-code_tracing_async.rs +313 -0
  371. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import.rs +205 -0
  372. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import_async.rs +219 -0
  373. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/direct-import_tracing_async.rs +232 -0
  374. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty.rs +159 -0
  375. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty_async.rs +165 -0
  376. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/empty_tracing_async.rs +165 -0
  377. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags.rs +859 -0
  378. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags_async.rs +921 -0
  379. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/flags_tracing_async.rs +1096 -0
  380. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats.rs +459 -0
  381. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats_async.rs +500 -0
  382. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/floats_tracing_async.rs +594 -0
  383. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new.rs +182 -0
  384. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new_async.rs +191 -0
  385. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/function-new_tracing_async.rs +199 -0
  386. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers.rs +989 -0
  387. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers_async.rs +1128 -0
  388. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/integers_tracing_async.rs +1555 -0
  389. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists.rs +2040 -0
  390. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists_async.rs +2288 -0
  391. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/lists_tracing_async.rs +2980 -0
  392. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments.rs +730 -0
  393. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments_async.rs +758 -0
  394. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/many-arguments_tracing_async.rs +819 -0
  395. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return.rs +475 -0
  396. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return_async.rs +519 -0
  397. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multi-return_tracing_async.rs +633 -0
  398. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion.rs +508 -0
  399. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion_async.rs +537 -0
  400. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/multiversion_tracing_async.rs +585 -0
  401. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records.rs +1056 -0
  402. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records_async.rs +1146 -0
  403. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/records_tracing_async.rs +1406 -0
  404. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename.rs +268 -0
  405. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename_async.rs +289 -0
  406. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/rename_tracing_async.rs +302 -0
  407. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export.rs +879 -0
  408. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export_async.rs +937 -0
  409. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-export_tracing_async.rs +1011 -0
  410. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import.rs +1217 -0
  411. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import_async.rs +1361 -0
  412. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/resources-import_tracing_async.rs +1774 -0
  413. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types.rs +429 -0
  414. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types_async.rs +453 -0
  415. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/share-types_tracing_async.rs +477 -0
  416. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions.rs +522 -0
  417. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions_async.rs +574 -0
  418. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-functions_tracing_async.rs +718 -0
  419. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists.rs +545 -0
  420. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists_async.rs +590 -0
  421. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-lists_tracing_async.rs +687 -0
  422. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi.rs +331 -0
  423. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi_async.rs +354 -0
  424. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/simple-wasi_tracing_async.rs +380 -0
  425. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous.rs +454 -0
  426. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous_async.rs +474 -0
  427. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/small-anonymous_tracing_async.rs +496 -0
  428. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default.rs +182 -0
  429. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default_async.rs +191 -0
  430. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-default_tracing_async.rs +199 -0
  431. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export.rs +263 -0
  432. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export_async.rs +272 -0
  433. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke-export_tracing_async.rs +280 -0
  434. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke.rs +218 -0
  435. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke_async.rs +233 -0
  436. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/smoke_tracing_async.rs +246 -0
  437. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings.rs +432 -0
  438. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings_async.rs +466 -0
  439. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/strings_tracing_async.rs +538 -0
  440. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo.rs +250 -0
  441. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo_async.rs +265 -0
  442. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/unversioned-foo_tracing_async.rs +278 -0
  443. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths.rs +402 -0
  444. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths_async.rs +442 -0
  445. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/use-paths_tracing_async.rs +494 -0
  446. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants.rs +2016 -0
  447. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants_async.rs +2183 -0
  448. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/variants_tracing_async.rs +2705 -0
  449. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat.rs +265 -0
  450. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat_async.rs +271 -0
  451. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/wat_tracing_async.rs +271 -0
  452. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types.rs +263 -0
  453. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types_async.rs +279 -0
  454. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded/worlds-with-types_tracing_async.rs +287 -0
  455. data/ext/cargo-vendor/wasmtime-component-macro-25.0.0/tests/expanded.rs +72 -0
  456. data/ext/cargo-vendor/wasmtime-component-util-25.0.0/.cargo-checksum.json +1 -0
  457. data/ext/cargo-vendor/wasmtime-component-util-25.0.0/Cargo.toml +36 -0
  458. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/.cargo-checksum.json +1 -0
  459. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/Cargo.toml +137 -0
  460. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/compiler.rs +1035 -0
  461. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/attr.rs +308 -0
  462. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/line_program.rs +264 -0
  463. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/mod.rs +256 -0
  464. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/range_info_builder.rs +215 -0
  465. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/simulate.rs +423 -0
  466. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/debug/transform/unit.rs +512 -0
  467. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/func_environ.rs +2757 -0
  468. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/gc/enabled.rs +631 -0
  469. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/gc.rs +189 -0
  470. data/ext/cargo-vendor/wasmtime-cranelift-25.0.0/src/lib.rs +399 -0
  471. data/ext/cargo-vendor/wasmtime-environ-25.0.0/.cargo-checksum.json +1 -0
  472. data/ext/cargo-vendor/wasmtime-environ-25.0.0/Cargo.lock +792 -0
  473. data/ext/cargo-vendor/wasmtime-environ-25.0.0/Cargo.toml +195 -0
  474. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/builtin.rs +184 -0
  475. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/compile/mod.rs +379 -0
  476. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/compile/module_environ.rs +1264 -0
  477. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/component/types.rs +1059 -0
  478. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/demangling.rs +28 -0
  479. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/fact/trampoline.rs +3234 -0
  480. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/fact/traps.rs +116 -0
  481. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/stack_map.rs +60 -0
  482. data/ext/cargo-vendor/wasmtime-environ-25.0.0/src/trap_encoding.rs +189 -0
  483. data/ext/cargo-vendor/wasmtime-fiber-25.0.0/.cargo-checksum.json +1 -0
  484. data/ext/cargo-vendor/wasmtime-fiber-25.0.0/Cargo.toml +84 -0
  485. data/ext/cargo-vendor/wasmtime-fiber-25.0.0/build.rs +39 -0
  486. data/ext/cargo-vendor/wasmtime-fiber-25.0.0/src/lib.rs +343 -0
  487. data/ext/cargo-vendor/wasmtime-jit-debug-25.0.0/.cargo-checksum.json +1 -0
  488. data/ext/cargo-vendor/wasmtime-jit-debug-25.0.0/Cargo.toml +86 -0
  489. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-25.0.0/.cargo-checksum.json +1 -0
  490. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-25.0.0/Cargo.toml +71 -0
  491. data/ext/cargo-vendor/wasmtime-slab-25.0.0/.cargo-checksum.json +1 -0
  492. data/ext/cargo-vendor/wasmtime-slab-25.0.0/Cargo.toml +50 -0
  493. data/ext/cargo-vendor/wasmtime-types-25.0.0/.cargo-checksum.json +1 -0
  494. data/ext/cargo-vendor/wasmtime-types-25.0.0/Cargo.toml +80 -0
  495. data/ext/cargo-vendor/wasmtime-types-25.0.0/src/lib.rs +1846 -0
  496. data/ext/cargo-vendor/wasmtime-versioned-export-macros-25.0.0/.cargo-checksum.json +1 -0
  497. data/ext/cargo-vendor/wasmtime-versioned-export-macros-25.0.0/Cargo.toml +41 -0
  498. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/.cargo-checksum.json +1 -0
  499. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/Cargo.toml +224 -0
  500. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/bindings.rs +563 -0
  501. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/filesystem.rs +607 -0
  502. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/host/filesystem.rs +1091 -0
  503. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/host/io.rs +372 -0
  504. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/pipe.rs +833 -0
  505. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/preview1.rs +2764 -0
  506. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/runtime.rs +188 -0
  507. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/stdio.rs +616 -0
  508. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/stream.rs +265 -0
  509. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/tcp.rs +877 -0
  510. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/src/write_stream.rs +211 -0
  511. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/tests/all/main.rs +91 -0
  512. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/tests/process_stdin.rs +165 -0
  513. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/command.wit +10 -0
  514. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/environment.wit +22 -0
  515. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/exit.wit +17 -0
  516. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/imports.wit +36 -0
  517. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/run.wit +6 -0
  518. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/stdio.wit +26 -0
  519. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/cli/terminal.wit +62 -0
  520. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/monotonic-clock.wit +50 -0
  521. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/timezone.wit +55 -0
  522. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/wall-clock.wit +46 -0
  523. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/clocks/world.wit +11 -0
  524. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/preopens.wit +11 -0
  525. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/types.wit +678 -0
  526. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/filesystem/world.wit +9 -0
  527. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/error.wit +34 -0
  528. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/poll.wit +47 -0
  529. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/streams.wit +286 -0
  530. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/io/world.wit +10 -0
  531. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/insecure-seed.wit +27 -0
  532. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/insecure.wit +25 -0
  533. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/random.wit +29 -0
  534. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/random/world.wit +13 -0
  535. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/instance-network.wit +11 -0
  536. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/ip-name-lookup.wit +56 -0
  537. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/network.wit +153 -0
  538. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/tcp-create-socket.wit +30 -0
  539. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/tcp.wit +387 -0
  540. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/udp-create-socket.wit +30 -0
  541. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/udp.wit +288 -0
  542. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/deps/sockets/world.wit +19 -0
  543. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/test.wit +13 -0
  544. data/ext/cargo-vendor/wasmtime-wasi-25.0.0/wit/world.wit +6 -0
  545. data/ext/cargo-vendor/wasmtime-winch-25.0.0/.cargo-checksum.json +1 -0
  546. data/ext/cargo-vendor/wasmtime-winch-25.0.0/Cargo.toml +100 -0
  547. data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/.cargo-checksum.json +1 -0
  548. data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/Cargo.toml +66 -0
  549. data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/src/lib.rs +3117 -0
  550. data/ext/cargo-vendor/wasmtime-wit-bindgen-25.0.0/src/rust.rs +427 -0
  551. data/ext/cargo-vendor/wast-217.0.0/.cargo-checksum.json +1 -0
  552. data/ext/cargo-vendor/wast-217.0.0/Cargo.toml +101 -0
  553. data/ext/cargo-vendor/wast-217.0.0/src/component/binary.rs +1014 -0
  554. data/ext/cargo-vendor/wast-217.0.0/src/component/component.rs +324 -0
  555. data/ext/cargo-vendor/wast-217.0.0/src/component/expand.rs +879 -0
  556. data/ext/cargo-vendor/wast-217.0.0/src/component/import.rs +216 -0
  557. data/ext/cargo-vendor/wast-217.0.0/src/component/resolve.rs +994 -0
  558. data/ext/cargo-vendor/wast-217.0.0/src/core/binary/dwarf.rs +613 -0
  559. data/ext/cargo-vendor/wast-217.0.0/src/core/binary.rs +1556 -0
  560. data/ext/cargo-vendor/wast-217.0.0/src/core/expr.rs +2110 -0
  561. data/ext/cargo-vendor/wast-217.0.0/src/core/module.rs +218 -0
  562. data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/mod.rs +111 -0
  563. data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/names.rs +808 -0
  564. data/ext/cargo-vendor/wast-217.0.0/src/core/resolve/types.rs +273 -0
  565. data/ext/cargo-vendor/wast-217.0.0/src/lexer.rs +1573 -0
  566. data/ext/cargo-vendor/wast-217.0.0/src/lib.rs +557 -0
  567. data/ext/cargo-vendor/wast-217.0.0/src/parser.rs +1447 -0
  568. data/ext/cargo-vendor/wast-217.0.0/src/wast.rs +552 -0
  569. data/ext/cargo-vendor/wast-217.0.0/src/wat.rs +66 -0
  570. data/ext/cargo-vendor/wat-1.217.0/.cargo-checksum.json +1 -0
  571. data/ext/cargo-vendor/wat-1.217.0/Cargo.toml +56 -0
  572. data/ext/cargo-vendor/wiggle-25.0.0/.cargo-checksum.json +1 -0
  573. data/ext/cargo-vendor/wiggle-25.0.0/Cargo.toml +119 -0
  574. data/ext/cargo-vendor/wiggle-25.0.0/src/lib.rs +605 -0
  575. data/ext/cargo-vendor/wiggle-generate-25.0.0/.cargo-checksum.json +1 -0
  576. data/ext/cargo-vendor/wiggle-generate-25.0.0/Cargo.toml +85 -0
  577. data/ext/cargo-vendor/wiggle-generate-25.0.0/src/funcs.rs +434 -0
  578. data/ext/cargo-vendor/wiggle-generate-25.0.0/src/lib.rs +100 -0
  579. data/ext/cargo-vendor/wiggle-generate-25.0.0/src/names.rs +299 -0
  580. data/ext/cargo-vendor/wiggle-generate-25.0.0/src/wasmtime.rs +172 -0
  581. data/ext/cargo-vendor/wiggle-macro-25.0.0/.cargo-checksum.json +1 -0
  582. data/ext/cargo-vendor/wiggle-macro-25.0.0/Cargo.toml +78 -0
  583. data/ext/cargo-vendor/winch-codegen-0.23.0/.cargo-checksum.json +1 -0
  584. data/ext/cargo-vendor/winch-codegen-0.23.0/Cargo.toml +95 -0
  585. data/ext/cargo-vendor/winch-codegen-0.23.0/src/abi/local.rs +82 -0
  586. data/ext/cargo-vendor/winch-codegen-0.23.0/src/abi/mod.rs +666 -0
  587. data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/bounds.rs +220 -0
  588. data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/context.rs +593 -0
  589. data/ext/cargo-vendor/winch-codegen-0.23.0/src/codegen/mod.rs +905 -0
  590. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/abi.rs +288 -0
  591. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/address.rs +143 -0
  592. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/asm.rs +840 -0
  593. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/aarch64/masm.rs +680 -0
  594. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/mod.rs +320 -0
  595. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/abi.rs +494 -0
  596. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/asm.rs +1422 -0
  597. data/ext/cargo-vendor/winch-codegen-0.23.0/src/isa/x64/masm.rs +1113 -0
  598. data/ext/cargo-vendor/winch-codegen-0.23.0/src/masm.rs +986 -0
  599. data/ext/cargo-vendor/winch-codegen-0.23.0/src/regalloc.rs +65 -0
  600. data/ext/cargo-vendor/winch-codegen-0.23.0/src/stack.rs +447 -0
  601. data/ext/cargo-vendor/winch-codegen-0.23.0/src/visitor.rs +2169 -0
  602. data/ext/cargo-vendor/wit-parser-0.217.0/.cargo-checksum.json +1 -0
  603. data/ext/cargo-vendor/wit-parser-0.217.0/Cargo.toml +129 -0
  604. data/ext/cargo-vendor/wit-parser-0.217.0/src/ast/resolve.rs +1575 -0
  605. data/ext/cargo-vendor/wit-parser-0.217.0/src/ast.rs +1886 -0
  606. data/ext/cargo-vendor/wit-parser-0.217.0/src/decoding.rs +1794 -0
  607. data/ext/cargo-vendor/wit-parser-0.217.0/src/lib.rs +910 -0
  608. data/ext/cargo-vendor/wit-parser-0.217.0/src/sizealign.rs +584 -0
  609. data/ext/cargo-vendor/wit-parser-0.217.0/tests/all.rs +154 -0
  610. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate3.wit.result +5 -0
  611. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate4.wit.result +5 -0
  612. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-gate5.wit.result +5 -0
  613. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg1.wit.result +5 -0
  614. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
  615. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
  616. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
  617. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
  618. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
  619. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/bad-resource15.wit.result +5 -0
  620. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/conflicting-package.wit.result +5 -0
  621. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/duplicate-interface2.wit.result +5 -0
  622. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/include-foreign.wit.result +5 -0
  623. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +5 -0
  624. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multi-package-deps-share-nest.wit.result +3 -0
  625. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/multiple-package-docs.wit.result +5 -0
  626. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +5 -0
  627. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/non-existance-world-include.wit.result +5 -0
  628. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
  629. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
  630. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +5 -0
  631. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/resources-return-borrow.wit.result +5 -0
  632. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow1.wit.result +5 -0
  633. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow2.wit.result +5 -0
  634. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow6.wit.result +5 -0
  635. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow7.wit.result +5 -0
  636. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/return-borrow8.wit.result +5 -0
  637. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/type-and-resource-same-name.wit.result +5 -0
  638. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/unresolved-use10.wit.result +5 -0
  639. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/use-and-include-world.wit.result +5 -0
  640. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/use-world.wit.result +5 -0
  641. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/parse-fail/very-nested-packages.wit.result +5 -0
  642. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/since-and-unstable.wit +107 -0
  643. data/ext/cargo-vendor/wit-parser-0.217.0/tests/ui/since-and-unstable.wit.json +621 -0
  644. data/ext/src/ruby_api/config.rs +3 -0
  645. data/ext/src/ruby_api/engine.rs +1 -0
  646. data/ext/src/ruby_api/pooling_allocation_config.rs +7 -7
  647. data/ext/src/ruby_api/store.rs +58 -4
  648. data/ext/src/ruby_api/wasi_ctx.rs +6 -6
  649. data/lib/wasmtime/version.rb +1 -1
  650. metadata +1808 -1804
  651. data/ext/cargo-vendor/cranelift-bforest-0.111.0/.cargo-checksum.json +0 -1
  652. data/ext/cargo-vendor/cranelift-bforest-0.111.0/Cargo.toml +0 -57
  653. data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/node.rs +0 -806
  654. data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/path.rs +0 -835
  655. data/ext/cargo-vendor/cranelift-bforest-0.111.0/src/pool.rs +0 -219
  656. data/ext/cargo-vendor/cranelift-bitset-0.111.0/.cargo-checksum.json +0 -1
  657. data/ext/cargo-vendor/cranelift-bitset-0.111.0/Cargo.toml +0 -67
  658. data/ext/cargo-vendor/cranelift-bitset-0.111.0/src/scalar.rs +0 -575
  659. data/ext/cargo-vendor/cranelift-codegen-0.111.0/.cargo-checksum.json +0 -1
  660. data/ext/cargo-vendor/cranelift-codegen-0.111.0/Cargo.toml +0 -213
  661. data/ext/cargo-vendor/cranelift-codegen-0.111.0/build.rs +0 -266
  662. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/binemit/mod.rs +0 -171
  663. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/binemit/stack_map.rs +0 -141
  664. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/cfg_printer.rs +0 -83
  665. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/data_value.rs +0 -410
  666. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/dbg.rs +0 -28
  667. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/egraph.rs +0 -835
  668. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/incremental_cache.rs +0 -256
  669. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/inst_predicates.rs +0 -231
  670. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/constant.rs +0 -489
  671. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/dfg.rs +0 -1806
  672. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/entities.rs +0 -564
  673. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/extfunc.rs +0 -408
  674. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/extname.rs +0 -333
  675. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/function.rs +0 -500
  676. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/globalvalue.rs +0 -147
  677. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/immediates.rs +0 -1941
  678. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/instructions.rs +0 -1026
  679. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/memtype.rs +0 -190
  680. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/progpoint.rs +0 -75
  681. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/trapcode.rs +0 -148
  682. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/types.rs +0 -643
  683. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/ir/user_stack_maps.rs +0 -101
  684. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/abi.rs +0 -1548
  685. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/args.rs +0 -711
  686. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/emit.rs +0 -3599
  687. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/emit_tests.rs +0 -7925
  688. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/imms.rs +0 -1213
  689. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/mod.rs +0 -3052
  690. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/regs.rs +0 -269
  691. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst/unwind/systemv.rs +0 -174
  692. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/inst.isle +0 -4221
  693. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/lower/isle.rs +0 -807
  694. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/lower.isle +0 -2969
  695. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/pcc.rs +0 -568
  696. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/aarch64/settings.rs +0 -9
  697. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/mod.rs +0 -462
  698. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/abi.rs +0 -1021
  699. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/args.rs +0 -2054
  700. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/emit.rs +0 -2736
  701. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/emit_tests.rs +0 -2219
  702. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/encode.rs +0 -675
  703. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/mod.rs +0 -1932
  704. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/unwind/systemv.rs +0 -170
  705. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst/vector.rs +0 -1150
  706. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst.isle +0 -3153
  707. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/inst_vector.isle +0 -1907
  708. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/lower/isle.rs +0 -651
  709. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/riscv64/lower.isle +0 -2953
  710. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/abi.rs +0 -1357
  711. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/emit.rs +0 -3481
  712. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/emit_tests.rs +0 -13388
  713. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/mod.rs +0 -3481
  714. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/regs.rs +0 -169
  715. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst/unwind/systemv.rs +0 -212
  716. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/inst.isle +0 -5070
  717. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/lower/isle.rs +0 -1156
  718. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/s390x/lower.isle +0 -4022
  719. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/unwind/systemv.rs +0 -276
  720. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/abi.rs +0 -1410
  721. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/encoding/evex.rs +0 -748
  722. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/args.rs +0 -2318
  723. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit.rs +0 -4309
  724. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit_state.rs +0 -65
  725. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/emit_tests.rs +0 -5137
  726. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/mod.rs +0 -2819
  727. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/regs.rs +0 -275
  728. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst/unwind/systemv.rs +0 -198
  729. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/inst.isle +0 -5381
  730. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower/isle.rs +0 -1048
  731. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower.isle +0 -4892
  732. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/lower.rs +0 -339
  733. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/mod.rs +0 -239
  734. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isa/x64/pcc.rs +0 -1014
  735. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/isle_prelude.rs +0 -1097
  736. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/lib.rs +0 -106
  737. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/abi.rs +0 -2411
  738. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/buffer.rs +0 -2537
  739. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/isle.rs +0 -881
  740. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/lower.rs +0 -1462
  741. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/mod.rs +0 -564
  742. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/reg.rs +0 -479
  743. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/machinst/vcode.rs +0 -1840
  744. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/extends.isle +0 -91
  745. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/icmp.isle +0 -215
  746. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/opts/selects.isle +0 -77
  747. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/prelude.isle +0 -725
  748. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/prelude_lower.isle +0 -1074
  749. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/print_errors.rs +0 -223
  750. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/remove_constant_phis.rs +0 -419
  751. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/result.rs +0 -111
  752. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/settings.rs +0 -590
  753. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/timing.rs +0 -296
  754. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/verifier/mod.rs +0 -1963
  755. data/ext/cargo-vendor/cranelift-codegen-0.111.0/src/write.rs +0 -694
  756. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/.cargo-checksum.json +0 -1
  757. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/Cargo.toml +0 -52
  758. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/settings.rs +0 -429
  759. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/types.rs +0 -512
  760. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/cdsl/typevar.rs +0 -980
  761. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/error.rs +0 -48
  762. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_inst.rs +0 -1278
  763. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_isle.rs +0 -519
  764. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_settings.rs +0 -508
  765. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/gen_types.rs +0 -75
  766. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/arm64.rs +0 -53
  767. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/mod.rs +0 -66
  768. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/riscv64.rs +0 -174
  769. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isa/x86.rs +0 -414
  770. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/isle.rs +0 -126
  771. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/lib.rs +0 -98
  772. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/instructions.rs +0 -3794
  773. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/mod.rs +0 -87
  774. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/settings.rs +0 -348
  775. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/shared/types.rs +0 -143
  776. data/ext/cargo-vendor/cranelift-codegen-meta-0.111.0/src/srcgen.rs +0 -464
  777. data/ext/cargo-vendor/cranelift-codegen-shared-0.111.0/.cargo-checksum.json +0 -1
  778. data/ext/cargo-vendor/cranelift-codegen-shared-0.111.0/Cargo.toml +0 -31
  779. data/ext/cargo-vendor/cranelift-control-0.111.0/.cargo-checksum.json +0 -1
  780. data/ext/cargo-vendor/cranelift-control-0.111.0/Cargo.toml +0 -42
  781. data/ext/cargo-vendor/cranelift-entity-0.111.0/.cargo-checksum.json +0 -1
  782. data/ext/cargo-vendor/cranelift-entity-0.111.0/Cargo.toml +0 -73
  783. data/ext/cargo-vendor/cranelift-entity-0.111.0/src/lib.rs +0 -381
  784. data/ext/cargo-vendor/cranelift-entity-0.111.0/src/packed_option.rs +0 -171
  785. data/ext/cargo-vendor/cranelift-entity-0.111.0/src/sparse.rs +0 -367
  786. data/ext/cargo-vendor/cranelift-frontend-0.111.0/.cargo-checksum.json +0 -1
  787. data/ext/cargo-vendor/cranelift-frontend-0.111.0/Cargo.toml +0 -97
  788. data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/frontend.rs +0 -1977
  789. data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/ssa.rs +0 -1328
  790. data/ext/cargo-vendor/cranelift-frontend-0.111.0/src/switch.rs +0 -683
  791. data/ext/cargo-vendor/cranelift-isle-0.111.0/.cargo-checksum.json +0 -1
  792. data/ext/cargo-vendor/cranelift-isle-0.111.0/Cargo.toml +0 -67
  793. data/ext/cargo-vendor/cranelift-isle-0.111.0/build.rs +0 -35
  794. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/ast.rs +0 -421
  795. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/codegen.rs +0 -920
  796. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/compile.rs +0 -24
  797. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/error.rs +0 -317
  798. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/lexer.rs +0 -405
  799. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/lib.rs +0 -33
  800. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/overlap.rs +0 -137
  801. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/parser.rs +0 -562
  802. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/sema.rs +0 -2503
  803. data/ext/cargo-vendor/cranelift-isle-0.111.0/src/trie_again.rs +0 -695
  804. data/ext/cargo-vendor/cranelift-isle-0.111.0/tests/run_tests.rs +0 -77
  805. data/ext/cargo-vendor/cranelift-native-0.111.0/.cargo-checksum.json +0 -1
  806. data/ext/cargo-vendor/cranelift-native-0.111.0/Cargo.toml +0 -52
  807. data/ext/cargo-vendor/cranelift-native-0.111.0/src/lib.rs +0 -188
  808. data/ext/cargo-vendor/cranelift-wasm-0.111.0/.cargo-checksum.json +0 -1
  809. data/ext/cargo-vendor/cranelift-wasm-0.111.0/Cargo.toml +0 -127
  810. data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/code_translator.rs +0 -3721
  811. data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/environ/dummy.rs +0 -906
  812. data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/environ/spec.rs +0 -945
  813. data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/func_translator.rs +0 -271
  814. data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/module_translator.rs +0 -120
  815. data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/sections_translator.rs +0 -333
  816. data/ext/cargo-vendor/cranelift-wasm-0.111.0/src/translation_utils.rs +0 -91
  817. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.24/.cargo-checksum.json +0 -1
  818. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.24/Cargo.toml +0 -48
  819. data/ext/cargo-vendor/hashbrown-0.13.2/.cargo-checksum.json +0 -1
  820. data/ext/cargo-vendor/hashbrown-0.13.2/CHANGELOG.md +0 -437
  821. data/ext/cargo-vendor/hashbrown-0.13.2/Cargo.toml +0 -111
  822. data/ext/cargo-vendor/hashbrown-0.13.2/LICENSE-APACHE +0 -201
  823. data/ext/cargo-vendor/hashbrown-0.13.2/LICENSE-MIT +0 -25
  824. data/ext/cargo-vendor/hashbrown-0.13.2/README.md +0 -124
  825. data/ext/cargo-vendor/hashbrown-0.13.2/benches/bench.rs +0 -331
  826. data/ext/cargo-vendor/hashbrown-0.13.2/benches/insert_unique_unchecked.rs +0 -32
  827. data/ext/cargo-vendor/hashbrown-0.13.2/clippy.toml +0 -1
  828. data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/mod.rs +0 -4
  829. data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/helpers.rs +0 -27
  830. data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/map.rs +0 -734
  831. data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/mod.rs +0 -4
  832. data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/raw.rs +0 -231
  833. data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/rayon/set.rs +0 -659
  834. data/ext/cargo-vendor/hashbrown-0.13.2/src/external_trait_impls/serde.rs +0 -201
  835. data/ext/cargo-vendor/hashbrown-0.13.2/src/lib.rs +0 -183
  836. data/ext/cargo-vendor/hashbrown-0.13.2/src/macros.rs +0 -70
  837. data/ext/cargo-vendor/hashbrown-0.13.2/src/map.rs +0 -8512
  838. data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/alloc.rs +0 -73
  839. data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/bitmask.rs +0 -122
  840. data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/generic.rs +0 -154
  841. data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/mod.rs +0 -2518
  842. data/ext/cargo-vendor/hashbrown-0.13.2/src/raw/sse2.rs +0 -146
  843. data/ext/cargo-vendor/hashbrown-0.13.2/src/rustc_entry.rs +0 -630
  844. data/ext/cargo-vendor/hashbrown-0.13.2/src/scopeguard.rs +0 -72
  845. data/ext/cargo-vendor/hashbrown-0.13.2/src/set.rs +0 -2889
  846. data/ext/cargo-vendor/hashbrown-0.13.2/tests/equivalent_trait.rs +0 -53
  847. data/ext/cargo-vendor/hashbrown-0.13.2/tests/hasher.rs +0 -65
  848. data/ext/cargo-vendor/hashbrown-0.13.2/tests/raw.rs +0 -11
  849. data/ext/cargo-vendor/hashbrown-0.13.2/tests/rayon.rs +0 -533
  850. data/ext/cargo-vendor/hashbrown-0.13.2/tests/serde.rs +0 -65
  851. data/ext/cargo-vendor/hashbrown-0.13.2/tests/set.rs +0 -34
  852. data/ext/cargo-vendor/regalloc2-0.9.3/.cargo-checksum.json +0 -1
  853. data/ext/cargo-vendor/regalloc2-0.9.3/Cargo.toml +0 -72
  854. data/ext/cargo-vendor/regalloc2-0.9.3/doc/DESIGN.md +0 -1420
  855. data/ext/cargo-vendor/regalloc2-0.9.3/src/cfg.rs +0 -134
  856. data/ext/cargo-vendor/regalloc2-0.9.3/src/checker.rs +0 -1089
  857. data/ext/cargo-vendor/regalloc2-0.9.3/src/fuzzing/func.rs +0 -677
  858. data/ext/cargo-vendor/regalloc2-0.9.3/src/fuzzing/mod.rs +0 -28
  859. data/ext/cargo-vendor/regalloc2-0.9.3/src/index.rs +0 -268
  860. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/data_structures.rs +0 -857
  861. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/liveranges.rs +0 -961
  862. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/merge.rs +0 -383
  863. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/mod.rs +0 -150
  864. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/moves.rs +0 -1017
  865. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/process.rs +0 -1307
  866. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/requirement.rs +0 -174
  867. data/ext/cargo-vendor/regalloc2-0.9.3/src/ion/stackmap.rs +0 -79
  868. data/ext/cargo-vendor/regalloc2-0.9.3/src/lib.rs +0 -1526
  869. data/ext/cargo-vendor/regalloc2-0.9.3/src/serialize.rs +0 -311
  870. data/ext/cargo-vendor/wasi-common-24.0.0/.cargo-checksum.json +0 -1
  871. data/ext/cargo-vendor/wasi-common-24.0.0/Cargo.toml +0 -240
  872. data/ext/cargo-vendor/wasi-common-24.0.0/src/ctx.rs +0 -128
  873. data/ext/cargo-vendor/wasi-common-24.0.0/src/lib.rs +0 -193
  874. data/ext/cargo-vendor/wasi-common-24.0.0/src/snapshots/mod.rs +0 -27
  875. data/ext/cargo-vendor/wasi-common-24.0.0/src/sync/dir.rs +0 -462
  876. data/ext/cargo-vendor/wasi-common-24.0.0/src/tokio/dir.rs +0 -221
  877. data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/async_.rs +0 -295
  878. data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/main.rs +0 -21
  879. data/ext/cargo-vendor/wasi-common-24.0.0/tests/all/sync.rs +0 -284
  880. data/ext/cargo-vendor/wasm-encoder-0.215.0/.cargo-checksum.json +0 -1
  881. data/ext/cargo-vendor/wasm-encoder-0.215.0/Cargo.toml +0 -65
  882. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/builder.rs +0 -455
  883. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/exports.rs +0 -124
  884. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/imports.rs +0 -175
  885. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/instances.rs +0 -200
  886. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/names.rs +0 -149
  887. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/types.rs +0 -802
  888. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/code.rs +0 -3947
  889. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/names.rs +0 -298
  890. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/types.rs +0 -678
  891. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/reencode.rs +0 -2002
  892. data/ext/cargo-vendor/wasm-encoder-0.216.0/.cargo-checksum.json +0 -1
  893. data/ext/cargo-vendor/wasm-encoder-0.216.0/Cargo.toml +0 -65
  894. data/ext/cargo-vendor/wasm-encoder-0.216.0/README.md +0 -80
  895. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/aliases.rs +0 -160
  896. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/builder.rs +0 -455
  897. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/canonicals.rs +0 -159
  898. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/components.rs +0 -29
  899. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/exports.rs +0 -124
  900. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/imports.rs +0 -175
  901. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/instances.rs +0 -200
  902. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/modules.rs +0 -29
  903. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/start.rs +0 -52
  904. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component/types.rs +0 -802
  905. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/component.rs +0 -168
  906. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/code.rs +0 -3947
  907. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/custom.rs +0 -73
  908. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/data.rs +0 -186
  909. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/dump.rs +0 -627
  910. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/elements.rs +0 -222
  911. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/exports.rs +0 -85
  912. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/functions.rs +0 -63
  913. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/globals.rs +0 -100
  914. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/imports.rs +0 -143
  915. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/linking.rs +0 -263
  916. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/memories.rs +0 -115
  917. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/producers.rs +0 -181
  918. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/start.rs +0 -39
  919. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/tables.rs +0 -129
  920. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core/tags.rs +0 -85
  921. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/core.rs +0 -168
  922. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/lib.rs +0 -218
  923. data/ext/cargo-vendor/wasm-encoder-0.216.0/src/raw.rs +0 -30
  924. data/ext/cargo-vendor/wasmparser-0.215.0/.cargo-checksum.json +0 -1
  925. data/ext/cargo-vendor/wasmparser-0.215.0/Cargo.lock +0 -669
  926. data/ext/cargo-vendor/wasmparser-0.215.0/Cargo.toml +0 -137
  927. data/ext/cargo-vendor/wasmparser-0.215.0/benches/benchmark.rs +0 -349
  928. data/ext/cargo-vendor/wasmparser-0.215.0/src/binary_reader.rs +0 -2064
  929. data/ext/cargo-vendor/wasmparser-0.215.0/src/features.rs +0 -175
  930. data/ext/cargo-vendor/wasmparser-0.215.0/src/limits.rs +0 -80
  931. data/ext/cargo-vendor/wasmparser-0.215.0/src/parser.rs +0 -1682
  932. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/aliases.rs +0 -119
  933. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/canonicals.rs +0 -121
  934. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/exports.rs +0 -135
  935. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/imports.rs +0 -130
  936. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/instances.rs +0 -166
  937. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/component/types.rs +0 -553
  938. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/code.rs +0 -142
  939. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/coredumps.rs +0 -278
  940. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/data.rs +0 -96
  941. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/exports.rs +0 -65
  942. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/globals.rs +0 -61
  943. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/imports.rs +0 -76
  944. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/init.rs +0 -57
  945. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/operators.rs +0 -479
  946. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/producers.rs +0 -84
  947. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers/core/types.rs +0 -1964
  948. data/ext/cargo-vendor/wasmparser-0.215.0/src/readers.rs +0 -315
  949. data/ext/cargo-vendor/wasmparser-0.215.0/src/resources.rs +0 -234
  950. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/component.rs +0 -3277
  951. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/core/canonical.rs +0 -233
  952. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/core.rs +0 -1499
  953. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/func.rs +0 -334
  954. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/names.rs +0 -1016
  955. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/operators.rs +0 -4716
  956. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator/types.rs +0 -4592
  957. data/ext/cargo-vendor/wasmparser-0.215.0/src/validator.rs +0 -1643
  958. data/ext/cargo-vendor/wasmprinter-0.215.0/.cargo-checksum.json +0 -1
  959. data/ext/cargo-vendor/wasmprinter-0.215.0/Cargo.toml +0 -74
  960. data/ext/cargo-vendor/wasmprinter-0.215.0/src/lib.rs +0 -3242
  961. data/ext/cargo-vendor/wasmtime-24.0.0/.cargo-checksum.json +0 -1
  962. data/ext/cargo-vendor/wasmtime-24.0.0/Cargo.toml +0 -406
  963. data/ext/cargo-vendor/wasmtime-24.0.0/build.rs +0 -38
  964. data/ext/cargo-vendor/wasmtime-24.0.0/src/compile/code_builder.rs +0 -274
  965. data/ext/cargo-vendor/wasmtime-24.0.0/src/compile/runtime.rs +0 -167
  966. data/ext/cargo-vendor/wasmtime-24.0.0/src/compile.rs +0 -881
  967. data/ext/cargo-vendor/wasmtime-24.0.0/src/config.rs +0 -2875
  968. data/ext/cargo-vendor/wasmtime-24.0.0/src/engine/serialization.rs +0 -902
  969. data/ext/cargo-vendor/wasmtime-24.0.0/src/engine.rs +0 -765
  970. data/ext/cargo-vendor/wasmtime-24.0.0/src/lib.rs +0 -406
  971. data/ext/cargo-vendor/wasmtime-24.0.0/src/profiling_agent/jitdump.rs +0 -64
  972. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/component.rs +0 -811
  973. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/func/host.rs +0 -439
  974. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/func/typed.rs +0 -2497
  975. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/linker.rs +0 -673
  976. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/mod.rs +0 -663
  977. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/resources.rs +0 -1132
  978. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/component/types.rs +0 -897
  979. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/coredump.rs +0 -339
  980. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/externals/global.rs +0 -310
  981. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/externals/table.rs +0 -480
  982. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/func.rs +0 -2598
  983. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled/anyref.rs +0 -77
  984. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled/rooting.rs +0 -229
  985. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/disabled.rs +0 -21
  986. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/anyref.rs +0 -584
  987. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/i31.rs +0 -299
  988. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled/rooting.rs +0 -1755
  989. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/gc/enabled.rs +0 -14
  990. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/instance.rs +0 -990
  991. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/linker.rs +0 -1498
  992. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/memory.rs +0 -1101
  993. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/module.rs +0 -1179
  994. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/store.rs +0 -2885
  995. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/trampoline/global.rs +0 -68
  996. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/trap.rs +0 -642
  997. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/types.rs +0 -2868
  998. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/values.rs +0 -1016
  999. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/const_expr.rs +0 -102
  1000. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/cow.rs +0 -988
  1001. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/disabled.rs +0 -39
  1002. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled/drc.rs +0 -1113
  1003. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled/structref.rs +0 -481
  1004. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/enabled.rs +0 -20
  1005. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/gc_ref.rs +0 -502
  1006. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc/gc_runtime.rs +0 -651
  1007. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/gc.rs +0 -303
  1008. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/helpers.c +0 -113
  1009. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -93
  1010. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -703
  1011. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/libcalls.rs +0 -832
  1012. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/custom/traphandlers.rs +0 -60
  1013. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/machports.rs +0 -445
  1014. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/mmap.rs +0 -159
  1015. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/unix/signals.rs +0 -464
  1016. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/sys/windows/traphandlers.rs +0 -133
  1017. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/threads/parking_spot.rs +0 -623
  1018. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/traphandlers.rs +0 -783
  1019. data/ext/cargo-vendor/wasmtime-24.0.0/src/runtime/vm/vmcontext.rs +0 -1246
  1020. data/ext/cargo-vendor/wasmtime-asm-macros-24.0.0/.cargo-checksum.json +0 -1
  1021. data/ext/cargo-vendor/wasmtime-asm-macros-24.0.0/Cargo.toml +0 -32
  1022. data/ext/cargo-vendor/wasmtime-cache-24.0.0/.cargo-checksum.json +0 -1
  1023. data/ext/cargo-vendor/wasmtime-cache-24.0.0/Cargo.toml +0 -110
  1024. data/ext/cargo-vendor/wasmtime-cache-24.0.0/build.rs +0 -10
  1025. data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/config.rs +0 -584
  1026. data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/lib.rs +0 -235
  1027. data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/worker/tests.rs +0 -758
  1028. data/ext/cargo-vendor/wasmtime-cache-24.0.0/src/worker.rs +0 -890
  1029. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/.cargo-checksum.json +0 -1
  1030. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/Cargo.toml +0 -113
  1031. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/src/bindgen.rs +0 -500
  1032. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/src/component.rs +0 -1330
  1033. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/codegen.rs +0 -698
  1034. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/char.rs +0 -268
  1035. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/char_async.rs +0 -291
  1036. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/conventions.rs +0 -706
  1037. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/conventions_async.rs +0 -757
  1038. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/dead-code.rs +0 -194
  1039. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/dead-code_async.rs +0 -213
  1040. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/direct-import.rs +0 -120
  1041. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/direct-import_async.rs +0 -132
  1042. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/empty.rs +0 -74
  1043. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/empty_async.rs +0 -80
  1044. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/flags.rs +0 -743
  1045. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/flags_async.rs +0 -791
  1046. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/floats.rs +0 -343
  1047. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/floats_async.rs +0 -376
  1048. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/function-new.rs +0 -94
  1049. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/function-new_async.rs +0 -103
  1050. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/integers.rs +0 -873
  1051. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/integers_async.rs +0 -976
  1052. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/lists.rs +0 -1924
  1053. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/lists_async.rs +0 -2114
  1054. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/many-arguments.rs +0 -614
  1055. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/many-arguments_async.rs +0 -638
  1056. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multi-return.rs +0 -357
  1057. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multi-return_async.rs +0 -391
  1058. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multiversion.rs +0 -354
  1059. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/multiversion_async.rs +0 -379
  1060. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/records.rs +0 -940
  1061. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/records_async.rs +0 -1008
  1062. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/rename.rs +0 -183
  1063. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/rename_async.rs +0 -202
  1064. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-export.rs +0 -657
  1065. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-export_async.rs +0 -712
  1066. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-import.rs +0 -1088
  1067. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/resources-import_async.rs +0 -1166
  1068. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/share-types.rs +0 -315
  1069. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/share-types_async.rs +0 -337
  1070. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-functions.rs +0 -399
  1071. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-functions_async.rs +0 -439
  1072. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-lists.rs +0 -427
  1073. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-lists_async.rs +0 -464
  1074. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-wasi.rs +0 -245
  1075. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/simple-wasi_async.rs +0 -264
  1076. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/small-anonymous.rs +0 -338
  1077. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/small-anonymous_async.rs +0 -356
  1078. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-default.rs +0 -94
  1079. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-default_async.rs +0 -103
  1080. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-export.rs +0 -149
  1081. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke-export_async.rs +0 -158
  1082. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke.rs +0 -133
  1083. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/smoke_async.rs +0 -146
  1084. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/strings.rs +0 -316
  1085. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/strings_async.rs +0 -344
  1086. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/unversioned-foo.rs +0 -165
  1087. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/unversioned-foo_async.rs +0 -178
  1088. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/use-paths.rs +0 -317
  1089. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/use-paths_async.rs +0 -349
  1090. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/variants.rs +0 -1896
  1091. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/variants_async.rs +0 -2019
  1092. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/wat.rs +0 -145
  1093. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/wat_async.rs +0 -151
  1094. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/worlds-with-types.rs +0 -175
  1095. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded/worlds-with-types_async.rs +0 -191
  1096. data/ext/cargo-vendor/wasmtime-component-macro-24.0.0/tests/expanded.rs +0 -65
  1097. data/ext/cargo-vendor/wasmtime-component-util-24.0.0/.cargo-checksum.json +0 -1
  1098. data/ext/cargo-vendor/wasmtime-component-util-24.0.0/Cargo.toml +0 -35
  1099. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/.cargo-checksum.json +0 -1
  1100. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/Cargo.toml +0 -132
  1101. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/compiler.rs +0 -1029
  1102. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/attr.rs +0 -328
  1103. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/line_program.rs +0 -287
  1104. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/mod.rs +0 -273
  1105. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/range_info_builder.rs +0 -234
  1106. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/simulate.rs +0 -423
  1107. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/debug/transform/unit.rs +0 -520
  1108. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/func_environ.rs +0 -2721
  1109. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/gc/enabled.rs +0 -648
  1110. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/gc.rs +0 -198
  1111. data/ext/cargo-vendor/wasmtime-cranelift-24.0.0/src/lib.rs +0 -431
  1112. data/ext/cargo-vendor/wasmtime-environ-24.0.0/.cargo-checksum.json +0 -1
  1113. data/ext/cargo-vendor/wasmtime-environ-24.0.0/Cargo.lock +0 -792
  1114. data/ext/cargo-vendor/wasmtime-environ-24.0.0/Cargo.toml +0 -192
  1115. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/builtin.rs +0 -184
  1116. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/compile/mod.rs +0 -379
  1117. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/compile/module_environ.rs +0 -1264
  1118. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/component/types.rs +0 -1041
  1119. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/demangling.rs +0 -28
  1120. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/fact/trampoline.rs +0 -3234
  1121. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/fact/traps.rs +0 -116
  1122. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/stack_map.rs +0 -31
  1123. data/ext/cargo-vendor/wasmtime-environ-24.0.0/src/trap_encoding.rs +0 -189
  1124. data/ext/cargo-vendor/wasmtime-fiber-24.0.0/.cargo-checksum.json +0 -1
  1125. data/ext/cargo-vendor/wasmtime-fiber-24.0.0/Cargo.toml +0 -82
  1126. data/ext/cargo-vendor/wasmtime-fiber-24.0.0/build.rs +0 -39
  1127. data/ext/cargo-vendor/wasmtime-fiber-24.0.0/src/lib.rs +0 -343
  1128. data/ext/cargo-vendor/wasmtime-jit-debug-24.0.0/.cargo-checksum.json +0 -1
  1129. data/ext/cargo-vendor/wasmtime-jit-debug-24.0.0/Cargo.toml +0 -84
  1130. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-24.0.0/.cargo-checksum.json +0 -1
  1131. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-24.0.0/Cargo.toml +0 -69
  1132. data/ext/cargo-vendor/wasmtime-slab-24.0.0/.cargo-checksum.json +0 -1
  1133. data/ext/cargo-vendor/wasmtime-slab-24.0.0/Cargo.toml +0 -48
  1134. data/ext/cargo-vendor/wasmtime-types-24.0.0/.cargo-checksum.json +0 -1
  1135. data/ext/cargo-vendor/wasmtime-types-24.0.0/Cargo.toml +0 -78
  1136. data/ext/cargo-vendor/wasmtime-types-24.0.0/src/lib.rs +0 -1835
  1137. data/ext/cargo-vendor/wasmtime-versioned-export-macros-24.0.0/.cargo-checksum.json +0 -1
  1138. data/ext/cargo-vendor/wasmtime-versioned-export-macros-24.0.0/Cargo.toml +0 -40
  1139. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/.cargo-checksum.json +0 -1
  1140. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/Cargo.toml +0 -222
  1141. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/bindings.rs +0 -561
  1142. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/filesystem.rs +0 -448
  1143. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/host/filesystem.rs +0 -1091
  1144. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/host/io.rs +0 -391
  1145. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/pipe.rs +0 -826
  1146. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/preview1.rs +0 -2801
  1147. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/runtime.rs +0 -176
  1148. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/stdio.rs +0 -596
  1149. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/stream.rs +0 -181
  1150. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/tcp.rs +0 -871
  1151. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/src/write_stream.rs +0 -203
  1152. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/tests/all/main.rs +0 -91
  1153. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/tests/process_stdin.rs +0 -165
  1154. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/command-extended.wit +0 -6
  1155. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/command.wit +0 -7
  1156. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/environment.wit +0 -18
  1157. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/exit.wit +0 -4
  1158. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/imports.wit +0 -20
  1159. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/run.wit +0 -4
  1160. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/stdio.wit +0 -17
  1161. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/cli/terminal.wit +0 -49
  1162. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/monotonic-clock.wit +0 -45
  1163. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/wall-clock.wit +0 -42
  1164. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/clocks/world.wit +0 -6
  1165. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/preopens.wit +0 -8
  1166. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/types.wit +0 -634
  1167. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/filesystem/world.wit +0 -6
  1168. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/handler.wit +0 -43
  1169. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/proxy.wit +0 -32
  1170. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/http/types.wit +0 -570
  1171. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/error.wit +0 -34
  1172. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/poll.wit +0 -41
  1173. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/streams.wit +0 -262
  1174. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/io/world.wit +0 -6
  1175. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/insecure-seed.wit +0 -25
  1176. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/insecure.wit +0 -22
  1177. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/random.wit +0 -26
  1178. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/random/world.wit +0 -7
  1179. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/instance-network.wit +0 -9
  1180. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/ip-name-lookup.wit +0 -51
  1181. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/network.wit +0 -145
  1182. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/tcp-create-socket.wit +0 -27
  1183. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/tcp.wit +0 -353
  1184. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/udp-create-socket.wit +0 -27
  1185. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/udp.wit +0 -266
  1186. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/deps/sockets/world.wit +0 -11
  1187. data/ext/cargo-vendor/wasmtime-wasi-24.0.0/wit/test.wit +0 -22
  1188. data/ext/cargo-vendor/wasmtime-winch-24.0.0/.cargo-checksum.json +0 -1
  1189. data/ext/cargo-vendor/wasmtime-winch-24.0.0/Cargo.toml +0 -99
  1190. data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/.cargo-checksum.json +0 -1
  1191. data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/Cargo.toml +0 -64
  1192. data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/src/lib.rs +0 -2798
  1193. data/ext/cargo-vendor/wasmtime-wit-bindgen-24.0.0/src/rust.rs +0 -427
  1194. data/ext/cargo-vendor/wast-216.0.0/.cargo-checksum.json +0 -1
  1195. data/ext/cargo-vendor/wast-216.0.0/Cargo.toml +0 -101
  1196. data/ext/cargo-vendor/wast-216.0.0/src/component/binary.rs +0 -1014
  1197. data/ext/cargo-vendor/wast-216.0.0/src/component/component.rs +0 -320
  1198. data/ext/cargo-vendor/wast-216.0.0/src/component/expand.rs +0 -875
  1199. data/ext/cargo-vendor/wast-216.0.0/src/component/import.rs +0 -215
  1200. data/ext/cargo-vendor/wast-216.0.0/src/component/resolve.rs +0 -988
  1201. data/ext/cargo-vendor/wast-216.0.0/src/core/binary/dwarf.rs +0 -610
  1202. data/ext/cargo-vendor/wast-216.0.0/src/core/binary.rs +0 -1539
  1203. data/ext/cargo-vendor/wast-216.0.0/src/core/expr.rs +0 -2110
  1204. data/ext/cargo-vendor/wast-216.0.0/src/core/module.rs +0 -215
  1205. data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/mod.rs +0 -109
  1206. data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/names.rs +0 -791
  1207. data/ext/cargo-vendor/wast-216.0.0/src/core/resolve/types.rs +0 -270
  1208. data/ext/cargo-vendor/wast-216.0.0/src/lexer.rs +0 -1572
  1209. data/ext/cargo-vendor/wast-216.0.0/src/lib.rs +0 -556
  1210. data/ext/cargo-vendor/wast-216.0.0/src/parser.rs +0 -1434
  1211. data/ext/cargo-vendor/wast-216.0.0/src/wast.rs +0 -459
  1212. data/ext/cargo-vendor/wast-216.0.0/src/wat.rs +0 -68
  1213. data/ext/cargo-vendor/wat-1.216.0/.cargo-checksum.json +0 -1
  1214. data/ext/cargo-vendor/wat-1.216.0/Cargo.toml +0 -56
  1215. data/ext/cargo-vendor/wiggle-24.0.0/.cargo-checksum.json +0 -1
  1216. data/ext/cargo-vendor/wiggle-24.0.0/Cargo.toml +0 -117
  1217. data/ext/cargo-vendor/wiggle-24.0.0/src/lib.rs +0 -605
  1218. data/ext/cargo-vendor/wiggle-generate-24.0.0/.cargo-checksum.json +0 -1
  1219. data/ext/cargo-vendor/wiggle-generate-24.0.0/Cargo.toml +0 -83
  1220. data/ext/cargo-vendor/wiggle-generate-24.0.0/src/funcs.rs +0 -434
  1221. data/ext/cargo-vendor/wiggle-generate-24.0.0/src/lib.rs +0 -100
  1222. data/ext/cargo-vendor/wiggle-generate-24.0.0/src/names.rs +0 -299
  1223. data/ext/cargo-vendor/wiggle-generate-24.0.0/src/wasmtime.rs +0 -172
  1224. data/ext/cargo-vendor/wiggle-macro-24.0.0/.cargo-checksum.json +0 -1
  1225. data/ext/cargo-vendor/wiggle-macro-24.0.0/Cargo.toml +0 -76
  1226. data/ext/cargo-vendor/winch-codegen-0.22.0/.cargo-checksum.json +0 -1
  1227. data/ext/cargo-vendor/winch-codegen-0.22.0/Cargo.toml +0 -94
  1228. data/ext/cargo-vendor/winch-codegen-0.22.0/src/abi/local.rs +0 -81
  1229. data/ext/cargo-vendor/winch-codegen-0.22.0/src/abi/mod.rs +0 -666
  1230. data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/bounds.rs +0 -220
  1231. data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/context.rs +0 -591
  1232. data/ext/cargo-vendor/winch-codegen-0.22.0/src/codegen/mod.rs +0 -880
  1233. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/abi.rs +0 -296
  1234. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/address.rs +0 -143
  1235. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/asm.rs +0 -709
  1236. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/aarch64/masm.rs +0 -665
  1237. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/mod.rs +0 -223
  1238. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/abi.rs +0 -564
  1239. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/asm.rs +0 -1418
  1240. data/ext/cargo-vendor/winch-codegen-0.22.0/src/isa/x64/masm.rs +0 -1115
  1241. data/ext/cargo-vendor/winch-codegen-0.22.0/src/masm.rs +0 -957
  1242. data/ext/cargo-vendor/winch-codegen-0.22.0/src/regalloc.rs +0 -65
  1243. data/ext/cargo-vendor/winch-codegen-0.22.0/src/stack.rs +0 -447
  1244. data/ext/cargo-vendor/winch-codegen-0.22.0/src/visitor.rs +0 -2158
  1245. data/ext/cargo-vendor/wit-parser-0.215.0/.cargo-checksum.json +0 -1
  1246. data/ext/cargo-vendor/wit-parser-0.215.0/Cargo.toml +0 -129
  1247. data/ext/cargo-vendor/wit-parser-0.215.0/src/ast/resolve.rs +0 -1583
  1248. data/ext/cargo-vendor/wit-parser-0.215.0/src/ast.rs +0 -1904
  1249. data/ext/cargo-vendor/wit-parser-0.215.0/src/decoding.rs +0 -1795
  1250. data/ext/cargo-vendor/wit-parser-0.215.0/src/lib.rs +0 -912
  1251. data/ext/cargo-vendor/wit-parser-0.215.0/src/sizealign.rs +0 -179
  1252. data/ext/cargo-vendor/wit-parser-0.215.0/tests/all.rs +0 -154
  1253. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate3.wit.result +0 -8
  1254. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate4.wit.result +0 -8
  1255. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-gate5.wit.result +0 -8
  1256. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg1.wit.result +0 -9
  1257. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg2.wit.result +0 -8
  1258. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg3.wit.result +0 -8
  1259. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg4.wit.result +0 -8
  1260. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg5.wit.result +0 -8
  1261. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-pkg6.wit.result +0 -8
  1262. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/bad-resource15.wit.result +0 -8
  1263. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/conflicting-package.wit.result +0 -10
  1264. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -9
  1265. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/include-foreign.wit.result +0 -8
  1266. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +0 -9
  1267. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multi-package-deps-share-nest.wit.result +0 -6
  1268. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -10
  1269. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -9
  1270. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -8
  1271. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/pkg-cycle.wit.result +0 -8
  1272. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -8
  1273. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -8
  1274. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -8
  1275. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow1.wit.result +0 -8
  1276. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow2.wit.result +0 -8
  1277. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow6.wit.result +0 -8
  1278. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow7.wit.result +0 -8
  1279. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/return-borrow8.wit.result +0 -9
  1280. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -8
  1281. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/unresolved-use10.wit.result +0 -9
  1282. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/use-and-include-world.wit.result +0 -9
  1283. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/use-world.wit.result +0 -8
  1284. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/parse-fail/very-nested-packages.wit.result +0 -8
  1285. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/since-and-unstable.wit +0 -107
  1286. data/ext/cargo-vendor/wit-parser-0.215.0/tests/ui/since-and-unstable.wit.json +0 -623
  1287. /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/LICENSE +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/README.md +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/lib.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/map.rs +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-bforest-0.111.0 → cranelift-bforest-0.112.0}/src/set.rs +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/src/compound.rs +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/src/lib.rs +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-bitset-0.111.0 → cranelift-bitset-0.112.0}/tests/bitset.rs +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/LICENSE +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/README.md +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/benches/x64-evex-encoding.rs +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/alias_analysis.rs +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/constant_hash.rs +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/context.rs +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ctxhash.rs +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/cursor.rs +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/dominator_tree.rs +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/egraph/cost.rs +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/egraph/elaborate.rs +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/flowgraph.rs +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/atomic_rmw_op.rs +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/builder.rs +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/condcodes.rs +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/dynamic_type.rs +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/jumptable.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/known_symbol.rs +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/layout.rs +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/libcall.rs +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/memflags.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/mod.rs +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/pcc.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/sourceloc.rs +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ir/stackslot.rs +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/inst/unwind.rs +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/inst_neon.isle +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower.rs +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/aarch64/mod.rs +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/call_conv.rs +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/imms.rs +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/regs.rs +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/inst/unwind.rs +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/lower.rs +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/mod.rs +0 -0
  1333. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/riscv64/settings.rs +0 -0
  1334. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/args.rs +0 -0
  1335. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/imms.rs +0 -0
  1336. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/inst/unwind.rs +0 -0
  1337. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1338. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/lower.rs +0 -0
  1339. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/mod.rs +0 -0
  1340. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/s390x/settings.rs +0 -0
  1341. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/unwind/winx64.rs +0 -0
  1342. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/unwind.rs +0 -0
  1343. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/mod.rs +0 -0
  1344. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/rex.rs +0 -0
  1345. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/encoding/vex.rs +0 -0
  1346. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1347. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/inst/unwind.rs +0 -0
  1348. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1349. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/isa/x64/settings.rs +0 -0
  1350. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/iterators.rs +0 -0
  1351. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/legalizer/globalvalue.rs +0 -0
  1352. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/legalizer/mod.rs +0 -0
  1353. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/loop_analysis.rs +0 -0
  1354. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/blockorder.rs +0 -0
  1355. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/compile.rs +0 -0
  1356. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/helpers.rs +0 -0
  1357. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/inst_common.rs +0 -0
  1358. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/pcc.rs +0 -0
  1359. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/machinst/valueregs.rs +0 -0
  1360. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/nan_canonicalization.rs +0 -0
  1361. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/README.md +0 -0
  1362. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/arithmetic.isle +0 -0
  1363. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/bitops.isle +0 -0
  1364. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/cprop.isle +0 -0
  1365. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/generated_code.rs +0 -0
  1366. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/remat.isle +0 -0
  1367. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/shifts.isle +0 -0
  1368. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/spaceship.isle +0 -0
  1369. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/spectre.isle +0 -0
  1370. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts/vector.isle +0 -0
  1371. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/opts.rs +0 -0
  1372. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/prelude_opt.isle +0 -0
  1373. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/ranges.rs +0 -0
  1374. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/scoped_hash_map.rs +0 -0
  1375. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/souper_harvest.rs +0 -0
  1376. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/traversals.rs +0 -0
  1377. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/unionfind.rs +0 -0
  1378. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/unreachable_code.rs +0 -0
  1379. /data/ext/cargo-vendor/{cranelift-codegen-0.111.0 → cranelift-codegen-0.112.0}/src/value_label.rs +0 -0
  1380. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/LICENSE +0 -0
  1381. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/README.md +0 -0
  1382. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/formats.rs +0 -0
  1383. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/instructions.rs +0 -0
  1384. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/isa.rs +0 -0
  1385. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/mod.rs +0 -0
  1386. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/cdsl/operands.rs +0 -0
  1387. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/constant_hash.rs +0 -0
  1388. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/isa/s390x.rs +0 -0
  1389. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/entities.rs +0 -0
  1390. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/formats.rs +0 -0
  1391. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/shared/immediates.rs +0 -0
  1392. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.111.0 → cranelift-codegen-meta-0.112.0}/src/unique_table.rs +0 -0
  1393. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/LICENSE +0 -0
  1394. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/README.md +0 -0
  1395. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/constant_hash.rs +0 -0
  1396. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/constants.rs +0 -0
  1397. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.111.0 → cranelift-codegen-shared-0.112.0}/src/lib.rs +0 -0
  1398. /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/LICENSE +0 -0
  1399. /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/README.md +0 -0
  1400. /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/chaos.rs +0 -0
  1401. /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/lib.rs +0 -0
  1402. /data/ext/cargo-vendor/{cranelift-control-0.111.0 → cranelift-control-0.112.0}/src/zero_sized.rs +0 -0
  1403. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/LICENSE +0 -0
  1404. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/README.md +0 -0
  1405. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/boxed_slice.rs +0 -0
  1406. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/iter.rs +0 -0
  1407. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/keys.rs +0 -0
  1408. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/list.rs +0 -0
  1409. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/map.rs +0 -0
  1410. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/primary.rs +0 -0
  1411. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/set.rs +0 -0
  1412. /data/ext/cargo-vendor/{cranelift-entity-0.111.0 → cranelift-entity-0.112.0}/src/unsigned.rs +0 -0
  1413. /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/LICENSE +0 -0
  1414. /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/README.md +0 -0
  1415. /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/frontend/safepoints.rs +0 -0
  1416. /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/lib.rs +0 -0
  1417. /data/ext/cargo-vendor/{cranelift-frontend-0.111.0 → cranelift-frontend-0.112.0}/src/variable.rs +0 -0
  1418. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/README.md +0 -0
  1419. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/bad_converters.isle +0 -0
  1420. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1421. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1422. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/error1.isle +0 -0
  1423. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/extra_parens.isle +0 -0
  1424. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/impure_expression.isle +0 -0
  1425. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/impure_rhs.isle +0 -0
  1426. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1427. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/fail/multi_prio.isle +0 -0
  1428. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/borrows.isle +0 -0
  1429. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/borrows_main.rs +0 -0
  1430. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/iflets.isle +0 -0
  1431. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/iflets_main.rs +0 -0
  1432. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_constructor.isle +0 -0
  1433. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_constructor_main.rs +0 -0
  1434. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_extractor.isle +0 -0
  1435. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/multi_extractor_main.rs +0 -0
  1436. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/test.isle +0 -0
  1437. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/link/test_main.rs +0 -0
  1438. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/bound_var.isle +0 -0
  1439. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/construct_and_extract.isle +0 -0
  1440. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/conversions.isle +0 -0
  1441. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/conversions_extern.isle +0 -0
  1442. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/let.isle +0 -0
  1443. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/nodebug.isle +0 -0
  1444. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1445. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test2.isle +0 -0
  1446. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test3.isle +0 -0
  1447. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/test4.isle +0 -0
  1448. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/pass/tutorial.isle +0 -0
  1449. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/iconst.isle +0 -0
  1450. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/iconst_main.rs +0 -0
  1451. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/let_shadowing.isle +0 -0
  1452. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/isle_examples/run/let_shadowing_main.rs +0 -0
  1453. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/disjointsets.rs +0 -0
  1454. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/log.rs +0 -0
  1455. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/serialize.rs +0 -0
  1456. /data/ext/cargo-vendor/{cranelift-isle-0.111.0 → cranelift-isle-0.112.0}/src/stablemapset.rs +0 -0
  1457. /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/LICENSE +0 -0
  1458. /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/README.md +0 -0
  1459. /data/ext/cargo-vendor/{cranelift-native-0.111.0 → cranelift-native-0.112.0}/src/riscv.rs +0 -0
  1460. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/LICENSE +0 -0
  1461. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/README.md +0 -0
  1462. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/code_translator/bounds_checks.rs +0 -0
  1463. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/environ/mod.rs +0 -0
  1464. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/heap.rs +0 -0
  1465. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/lib.rs +0 -0
  1466. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/state.rs +0 -0
  1467. /data/ext/cargo-vendor/{cranelift-wasm-0.111.0 → cranelift-wasm-0.112.0}/src/table.rs +0 -0
  1468. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/README.md +0 -0
  1469. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/clocks.rs +0 -0
  1470. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/lib.rs +0 -0
  1471. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/src/noop_scheduler.rs +0 -0
  1472. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/clocks.rs +0 -0
  1473. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/common/mod.rs +0 -0
  1474. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/random.rs +0 -0
  1475. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.24 → deterministic-wasi-ctx-0.1.25}/tests/scheduler.rs +0 -0
  1476. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/LICENSE +0 -0
  1477. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/README.md +0 -0
  1478. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/deny.toml +0 -0
  1479. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/doc/TODO +0 -0
  1480. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/domtree.rs +0 -0
  1481. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/indexset.rs +0 -0
  1482. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/dump.rs +0 -0
  1483. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/redundant_moves.rs +0 -0
  1484. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/reg_traversal.rs +0 -0
  1485. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ion/spill.rs +0 -0
  1486. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/moves.rs +0 -0
  1487. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/postorder.rs +0 -0
  1488. /data/ext/cargo-vendor/{regalloc2-0.9.3 → regalloc2-0.10.2}/src/ssa.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/LICENSE +0 -0
  1490. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/README.md +0 -0
  1491. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/clocks.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/dir.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/error.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/file.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/pipe.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/random.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sched/subscription.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sched.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_0.rs +0 -0
  1500. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_1/error.rs +0 -0
  1501. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/snapshots/preview_1.rs +0 -0
  1502. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/string_array.rs +0 -0
  1503. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/clocks.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/file.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/mod.rs +0 -0
  1506. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/net.rs +0 -0
  1507. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched/unix.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched/windows.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/sched.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/sync/stdio.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/table.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/file.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/mod.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/net.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched/unix.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched/windows.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/sched.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/src/tokio/stdio.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview0/typenames.witx +0 -0
  1520. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1521. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview1/typenames.witx +0 -0
  1522. /data/ext/cargo-vendor/{wasi-common-24.0.0 → wasi-common-25.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1523. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/README.md +0 -0
  1524. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/aliases.rs +0 -0
  1525. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/canonicals.rs +0 -0
  1526. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/components.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/modules.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/component/names.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component/start.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/component.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/custom.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/data.rs +0 -0
  1533. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/dump.rs +0 -0
  1534. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/elements.rs +0 -0
  1535. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/exports.rs +0 -0
  1536. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/functions.rs +0 -0
  1537. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/globals.rs +0 -0
  1538. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/imports.rs +0 -0
  1539. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/linking.rs +0 -0
  1540. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/memories.rs +0 -0
  1541. /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/core/names.rs +0 -0
  1542. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/producers.rs +0 -0
  1543. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/start.rs +0 -0
  1544. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/tables.rs +0 -0
  1545. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core/tags.rs +0 -0
  1546. /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/core/types.rs +0 -0
  1547. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/core.rs +0 -0
  1548. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/lib.rs +0 -0
  1549. /data/ext/cargo-vendor/{wasm-encoder-0.215.0 → wasm-encoder-0.217.0}/src/raw.rs +0 -0
  1550. /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/reencode/component.rs +0 -0
  1551. /data/ext/cargo-vendor/{wasm-encoder-0.216.0 → wasm-encoder-0.217.0}/src/reencode.rs +0 -0
  1552. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/README.md +0 -0
  1553. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/examples/simple.rs +0 -0
  1554. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/hash.rs +0 -0
  1555. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map/detail.rs +0 -0
  1556. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map/tests.rs +0 -0
  1557. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_map.rs +0 -0
  1558. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/index_set.rs +0 -0
  1559. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/map.rs +0 -0
  1560. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/mod.rs +0 -0
  1561. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/collections/set.rs +0 -0
  1562. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/lib.rs +0 -0
  1563. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component/names.rs +0 -0
  1564. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component/start.rs +0 -0
  1565. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/component.rs +0 -0
  1566. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/branch_hinting.rs +0 -0
  1567. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/custom.rs +0 -0
  1568. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/dylink0.rs +0 -0
  1569. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/elements.rs +0 -0
  1570. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/functions.rs +0 -0
  1571. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/linking.rs +0 -0
  1572. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/memories.rs +0 -0
  1573. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/names.rs +0 -0
  1574. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/reloc.rs +0 -0
  1575. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/tables.rs +0 -0
  1576. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/tags.rs +0 -0
  1577. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core/types/matches.rs +0 -0
  1578. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/src/readers/core.rs +0 -0
  1579. /data/ext/cargo-vendor/{wasmparser-0.215.0 → wasmparser-0.217.0}/tests/big-module.rs +0 -0
  1580. /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/README.md +0 -0
  1581. /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/src/operator.rs +0 -0
  1582. /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/src/print.rs +0 -0
  1583. /data/ext/cargo-vendor/{wasmprinter-0.215.0 → wasmprinter-0.217.0}/tests/all.rs +0 -0
  1584. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/LICENSE +0 -0
  1585. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/README.md +0 -0
  1586. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
  1587. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent/perfmap.rs +0 -0
  1588. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent/vtune.rs +0 -0
  1589. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/profiling_agent.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/code.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/code_memory.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_0_hello_world.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_1_world_imports.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_2_world_exports.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_3_interface_imports.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_4_imported_resources.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/_6_exported_resources.rs +0 -0
  1599. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/bindgen_examples/mod.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/func/options.rs +0 -0
  1601. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/func.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/instance.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/matching.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/resource_table.rs +0 -0
  1605. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/storage.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/store.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/component/values.rs +0 -0
  1608. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/debug.rs +0 -0
  1609. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/externals.rs +0 -0
  1610. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/func/typed.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/externref.rs +0 -0
  1612. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/i31.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/disabled/structref.rs +0 -0
  1614. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/enabled/externref.rs +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/enabled/structref.rs +0 -0
  1616. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc/noextern.rs +0 -0
  1617. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/gc.rs +0 -0
  1618. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/instantiate.rs +0 -0
  1619. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/limits.rs +0 -0
  1620. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/module/registry.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/profiling.rs +0 -0
  1622. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/resources.rs +0 -0
  1623. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/signatures.rs +0 -0
  1624. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/stack.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/context.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/data.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/store/func_refs.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/func.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/memory.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline/table.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/trampoline.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/type_registry.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/types/matching.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/uninhabited.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/unix.rs +0 -0
  1636. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/v128.rs +0 -0
  1637. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/aarch64.rs +0 -0
  1638. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/mod.rs +0 -0
  1639. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/riscv64.rs +0 -0
  1640. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/s390x.S +0 -0
  1641. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/s390x.rs +0 -0
  1642. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/unsupported.rs +0 -0
  1643. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/arch/x86_64.rs +0 -0
  1644. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/async_yield.rs +0 -0
  1645. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component/libcalls.rs +0 -0
  1646. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component/resources.rs +0 -0
  1647. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/component.rs +0 -0
  1648. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/debug_builtins.rs +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/export.rs +0 -0
  1650. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/enabled/externref.rs +0 -0
  1651. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/enabled/free_list.rs +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/host_data.rs +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/gc/i31.rs +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/imports.rs +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/on_demand.rs +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -0
  1660. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator/pooling.rs +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance/allocator.rs +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/instance.rs +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/memory.rs +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mmap.rs +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mmap_vec.rs +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/module_id.rs +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/disabled.rs +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/enabled.rs +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/mod.rs +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/pkru.rs +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/mpk/sys.rs +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/send_sync_ptr.rs +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/store_box.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/capi.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/mmap.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/mod.rs +0 -0
  1678. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/unwind.rs +0 -0
  1679. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/custom/vm.rs +0 -0
  1680. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/mmap.rs +0 -0
  1681. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/mod.rs +0 -0
  1682. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
  1683. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/unwind.rs +0 -0
  1684. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/miri/vm.rs +0 -0
  1685. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/mod.rs +0 -0
  1686. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
  1687. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/mod.rs +0 -0
  1688. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/unwind.rs +0 -0
  1689. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/unix/vm.rs +0 -0
  1690. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/mmap.rs +0 -0
  1691. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/mod.rs +0 -0
  1692. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/unwind.rs +0 -0
  1693. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/sys/windows/vm.rs +0 -0
  1694. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/table.rs +0 -0
  1695. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/mod.rs +0 -0
  1696. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/shared_memory.rs +0 -0
  1697. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/threads/shared_memory_disabled.rs +0 -0
  1698. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
  1699. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
  1700. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
  1701. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -0
  1702. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/vm.rs +0 -0
  1703. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime/windows.rs +0 -0
  1704. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/runtime.rs +0 -0
  1705. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/sync_nostd.rs +0 -0
  1706. /data/ext/cargo-vendor/{wasmtime-24.0.0 → wasmtime-25.0.0}/src/sync_std.rs +0 -0
  1707. /data/ext/cargo-vendor/{wasmtime-asm-macros-24.0.0 → wasmtime-asm-macros-25.0.0}/src/lib.rs +0 -0
  1708. /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/LICENSE +0 -0
  1709. /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/config/tests.rs +0 -0
  1710. /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/tests.rs +0 -0
  1711. /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/src/worker/tests/system_time_stub.rs +0 -0
  1712. /data/ext/cargo-vendor/{wasmtime-cache-24.0.0 → wasmtime-cache-25.0.0}/tests/cache_write_default_config.rs +0 -0
  1713. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/build.rs +0 -0
  1714. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/src/lib.rs +0 -0
  1715. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/char.wit +0 -0
  1716. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/conventions.wit +0 -0
  1717. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/dead-code.wit +0 -0
  1718. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/direct-import.wit +0 -0
  1719. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/empty.wit +0 -0
  1720. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/flags.wit +0 -0
  1721. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/floats.wit +0 -0
  1722. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/function-new.wit +0 -0
  1723. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/integers.wit +0 -0
  1724. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/lists.wit +0 -0
  1725. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/many-arguments.wit +0 -0
  1726. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multi-return.wit +0 -0
  1727. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1728. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1729. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/multiversion/root.wit +0 -0
  1730. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/records.wit +0 -0
  1731. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/rename.wit +0 -0
  1732. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/resources-export.wit +0 -0
  1733. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/resources-import.wit +0 -0
  1734. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/share-types.wit +0 -0
  1735. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-functions.wit +0 -0
  1736. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-lists.wit +0 -0
  1737. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/simple-wasi.wit +0 -0
  1738. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/small-anonymous.wit +0 -0
  1739. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke-default.wit +0 -0
  1740. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke-export.wit +0 -0
  1741. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/smoke.wit +0 -0
  1742. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/strings.wit +0 -0
  1743. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/unversioned-foo.wit +0 -0
  1744. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/use-paths.wit +0 -0
  1745. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/variants.wit +0 -0
  1746. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/wat.wit +0 -0
  1747. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen/worlds-with-types.wit +0 -0
  1748. /data/ext/cargo-vendor/{wasmtime-component-macro-24.0.0 → wasmtime-component-macro-25.0.0}/tests/codegen_no_std.rs +0 -0
  1749. /data/ext/cargo-vendor/{wasmtime-component-util-24.0.0 → wasmtime-component-util-25.0.0}/src/lib.rs +0 -0
  1750. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/LICENSE +0 -0
  1751. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/SECURITY.md +0 -0
  1752. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/builder.rs +0 -0
  1753. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/compiled_function.rs +0 -0
  1754. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/compiler/component.rs +0 -0
  1755. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/gc.rs +0 -0
  1756. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/address_transform.rs +0 -0
  1757. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/expression.rs +0 -0
  1758. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/refs.rs +0 -0
  1759. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/transform/utils.rs +0 -0
  1760. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug/write_debuginfo.rs +0 -0
  1761. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/debug.rs +0 -0
  1762. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/gc/disabled.rs +0 -0
  1763. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/isa_builder.rs +0 -0
  1764. /data/ext/cargo-vendor/{wasmtime-cranelift-24.0.0 → wasmtime-cranelift-25.0.0}/src/obj.rs +0 -0
  1765. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/LICENSE +0 -0
  1766. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/examples/factc.rs +0 -0
  1767. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/address_map.rs +0 -0
  1768. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/address_map.rs +0 -0
  1769. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/module_artifacts.rs +0 -0
  1770. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/module_types.rs +0 -0
  1771. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/compile/trap_encoding.rs +0 -0
  1772. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/artifacts.rs +0 -0
  1773. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/compiler.rs +0 -0
  1774. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/dfg.rs +0 -0
  1775. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/info.rs +0 -0
  1776. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/names.rs +0 -0
  1777. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate/adapt.rs +0 -0
  1778. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate/inline.rs +0 -0
  1779. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/translate.rs +0 -0
  1780. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/types_builder/resources.rs +0 -0
  1781. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/types_builder.rs +0 -0
  1782. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component/vmcomponent_offsets.rs +0 -0
  1783. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/component.rs +0 -0
  1784. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/core_types.rs +0 -0
  1785. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/signature.rs +0 -0
  1786. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact/transcode.rs +0 -0
  1787. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/fact.rs +0 -0
  1788. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/gc.rs +0 -0
  1789. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/lib.rs +0 -0
  1790. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module.rs +0 -0
  1791. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module_artifacts.rs +0 -0
  1792. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/module_types.rs +0 -0
  1793. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/obj.rs +0 -0
  1794. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/ref_bits.rs +0 -0
  1795. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/scopevec.rs +0 -0
  1796. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/tunables.rs +0 -0
  1797. /data/ext/cargo-vendor/{wasmtime-environ-24.0.0 → wasmtime-environ-25.0.0}/src/vmoffsets.rs +0 -0
  1798. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/LICENSE +0 -0
  1799. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/aarch64.rs +0 -0
  1800. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/arm.rs +0 -0
  1801. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/riscv64.rs +0 -0
  1802. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/s390x.S +0 -0
  1803. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/x86.rs +0 -0
  1804. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix/x86_64.rs +0 -0
  1805. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/unix.rs +0 -0
  1806. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/windows.c +0 -0
  1807. /data/ext/cargo-vendor/{wasmtime-fiber-24.0.0 → wasmtime-fiber-25.0.0}/src/windows.rs +0 -0
  1808. /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/README.md +0 -0
  1809. /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/gdb_jit_int.rs +0 -0
  1810. /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/lib.rs +0 -0
  1811. /data/ext/cargo-vendor/{wasmtime-jit-debug-24.0.0 → wasmtime-jit-debug-25.0.0}/src/perf_jitdump.rs +0 -0
  1812. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/lib.rs +0 -0
  1813. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/libc.rs +0 -0
  1814. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/miri.rs +0 -0
  1815. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-24.0.0 → wasmtime-jit-icache-coherence-25.0.0}/src/win.rs +0 -0
  1816. /data/ext/cargo-vendor/{wasmtime-slab-24.0.0 → wasmtime-slab-25.0.0}/src/lib.rs +0 -0
  1817. /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/LICENSE +0 -0
  1818. /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/src/error.rs +0 -0
  1819. /data/ext/cargo-vendor/{wasmtime-types-24.0.0 → wasmtime-types-25.0.0}/src/prelude.rs +0 -0
  1820. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-24.0.0 → wasmtime-versioned-export-macros-25.0.0}/src/lib.rs +0 -0
  1821. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/LICENSE +0 -0
  1822. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/README.md +0 -0
  1823. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/clocks/host.rs +0 -0
  1824. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/clocks.rs +0 -0
  1825. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/ctx.rs +0 -0
  1826. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/error.rs +0 -0
  1827. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/clocks.rs +0 -0
  1828. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/env.rs +0 -0
  1829. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/exit.rs +0 -0
  1830. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/filesystem/sync.rs +0 -0
  1831. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/instance_network.rs +0 -0
  1832. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/mod.rs +0 -0
  1833. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/network.rs +0 -0
  1834. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/random.rs +0 -0
  1835. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/tcp.rs +0 -0
  1836. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/tcp_create_socket.rs +0 -0
  1837. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/udp.rs +0 -0
  1838. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/host/udp_create_socket.rs +0 -0
  1839. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/ip_name_lookup.rs +0 -0
  1840. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/lib.rs +0 -0
  1841. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/network.rs +0 -0
  1842. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/poll.rs +0 -0
  1843. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/preview0.rs +0 -0
  1844. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/random.rs +0 -0
  1845. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/stdio/worker_thread_stdin.rs +0 -0
  1846. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/src/udp.rs +0 -0
  1847. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/api.rs +0 -0
  1848. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/async_.rs +0 -0
  1849. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/preview1.rs +0 -0
  1850. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/tests/all/sync.rs +0 -0
  1851. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview0/typenames.witx +0 -0
  1852. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1853. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview1/typenames.witx +0 -0
  1854. /data/ext/cargo-vendor/{wasmtime-wasi-24.0.0 → wasmtime-wasi-25.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1855. /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/LICENSE +0 -0
  1856. /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/builder.rs +0 -0
  1857. /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/compiler.rs +0 -0
  1858. /data/ext/cargo-vendor/{wasmtime-winch-24.0.0 → wasmtime-winch-25.0.0}/src/lib.rs +0 -0
  1859. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-24.0.0 → wasmtime-wit-bindgen-25.0.0}/src/source.rs +0 -0
  1860. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-24.0.0 → wasmtime-wit-bindgen-25.0.0}/src/types.rs +0 -0
  1861. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/README.md +0 -0
  1862. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/alias.rs +0 -0
  1863. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/custom.rs +0 -0
  1864. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/export.rs +0 -0
  1865. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/func.rs +0 -0
  1866. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/instance.rs +0 -0
  1867. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/item_ref.rs +0 -0
  1868. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/module.rs +0 -0
  1869. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/types.rs +0 -0
  1870. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component/wast.rs +0 -0
  1871. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/component.rs +0 -0
  1872. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/binary/dwarf_disabled.rs +0 -0
  1873. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/custom.rs +0 -0
  1874. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/export.rs +0 -0
  1875. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/func.rs +0 -0
  1876. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/global.rs +0 -0
  1877. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/import.rs +0 -0
  1878. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/memory.rs +0 -0
  1879. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/resolve/deinline_import_export.rs +0 -0
  1880. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/table.rs +0 -0
  1881. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/tag.rs +0 -0
  1882. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/types.rs +0 -0
  1883. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core/wast.rs +0 -0
  1884. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/core.rs +0 -0
  1885. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/encode.rs +0 -0
  1886. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/error.rs +0 -0
  1887. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/gensym.rs +0 -0
  1888. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/names.rs +0 -0
  1889. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/src/token.rs +0 -0
  1890. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/annotations.rs +0 -0
  1891. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/comments.rs +0 -0
  1892. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-core-func-alias.wat +0 -0
  1893. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
  1894. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-func-alias.wat +0 -0
  1895. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-func-alias.wat.err +0 -0
  1896. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-index.wat +0 -0
  1897. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-index.wat.err +0 -0
  1898. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name.wat +0 -0
  1899. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name.wat.err +0 -0
  1900. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name2.wat +0 -0
  1901. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name2.wat.err +0 -0
  1902. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name3.wat +0 -0
  1903. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/bad-name3.wat.err +0 -0
  1904. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block1.wat +0 -0
  1905. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block1.wat.err +0 -0
  1906. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block2.wat +0 -0
  1907. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block2.wat.err +0 -0
  1908. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block3.wat +0 -0
  1909. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/block3.wat.err +0 -0
  1910. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment0.wat +0 -0
  1911. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
  1912. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment1.wat +0 -0
  1913. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
  1914. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment2.wat +0 -0
  1915. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
  1916. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment3.wat +0 -0
  1917. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
  1918. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment4.wat +0 -0
  1919. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
  1920. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment5.wat +0 -0
  1921. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
  1922. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment6.wat +0 -0
  1923. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
  1924. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment7.wat +0 -0
  1925. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
  1926. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment8.wat +0 -0
  1927. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
  1928. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment0.wat +0 -0
  1929. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
  1930. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment1.wat +0 -0
  1931. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
  1932. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment2.wat +0 -0
  1933. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
  1934. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment3.wat +0 -0
  1935. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
  1936. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment4.wat +0 -0
  1937. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
  1938. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment5.wat +0 -0
  1939. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
  1940. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment6.wat +0 -0
  1941. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
  1942. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment7.wat +0 -0
  1943. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
  1944. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment8.wat +0 -0
  1945. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
  1946. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string0.wat +0 -0
  1947. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string0.wat.err +0 -0
  1948. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string1.wat +0 -0
  1949. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string1.wat.err +0 -0
  1950. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string2.wat +0 -0
  1951. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string2.wat.err +0 -0
  1952. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string3.wat +0 -0
  1953. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string3.wat.err +0 -0
  1954. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string4.wat +0 -0
  1955. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string4.wat.err +0 -0
  1956. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string5.wat +0 -0
  1957. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string5.wat.err +0 -0
  1958. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string6.wat +0 -0
  1959. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string6.wat.err +0 -0
  1960. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string7.wat +0 -0
  1961. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string7.wat.err +0 -0
  1962. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string8.wat +0 -0
  1963. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/confusing-string8.wat.err +0 -0
  1964. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/inline1.wat +0 -0
  1965. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/inline1.wat.err +0 -0
  1966. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/newline-in-string.wat +0 -0
  1967. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/newline-in-string.wat.err +0 -0
  1968. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string1.wat +0 -0
  1969. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string1.wat.err +0 -0
  1970. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string10.wat +0 -0
  1971. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string10.wat.err +0 -0
  1972. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string11.wat +0 -0
  1973. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string11.wat.err +0 -0
  1974. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string12.wat +0 -0
  1975. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string12.wat.err +0 -0
  1976. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string13.wat +0 -0
  1977. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string13.wat.err +0 -0
  1978. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string14.wat +0 -0
  1979. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string14.wat.err +0 -0
  1980. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string15.wat +0 -0
  1981. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string15.wat.err +0 -0
  1982. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string16.wat +0 -0
  1983. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string16.wat.err +0 -0
  1984. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string2.wat +0 -0
  1985. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string2.wat.err +0 -0
  1986. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string3.wat +0 -0
  1987. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string3.wat.err +0 -0
  1988. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string4.wat +0 -0
  1989. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string4.wat.err +0 -0
  1990. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string5.wat +0 -0
  1991. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string5.wat.err +0 -0
  1992. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string6.wat +0 -0
  1993. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string6.wat.err +0 -0
  1994. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string7.wat +0 -0
  1995. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string7.wat.err +0 -0
  1996. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string8.wat +0 -0
  1997. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string8.wat.err +0 -0
  1998. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string9.wat +0 -0
  1999. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/string9.wat.err +0 -0
  2000. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/unbalanced.wat +0 -0
  2001. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail/unbalanced.wat.err +0 -0
  2002. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/parse-fail.rs +0 -0
  2003. /data/ext/cargo-vendor/{wast-216.0.0 → wast-217.0.0}/tests/recursive.rs +0 -0
  2004. /data/ext/cargo-vendor/{wat-1.216.0 → wat-1.217.0}/README.md +0 -0
  2005. /data/ext/cargo-vendor/{wat-1.216.0 → wat-1.217.0}/src/lib.rs +0 -0
  2006. /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/LICENSE +0 -0
  2007. /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/README.md +0 -0
  2008. /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/error.rs +0 -0
  2009. /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/guest_type.rs +0 -0
  2010. /data/ext/cargo-vendor/{wiggle-24.0.0 → wiggle-25.0.0}/src/region.rs +0 -0
  2011. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/LICENSE +0 -0
  2012. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/README.md +0 -0
  2013. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/codegen_settings.rs +0 -0
  2014. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/config.rs +0 -0
  2015. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/lifetimes.rs +0 -0
  2016. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/module_trait.rs +0 -0
  2017. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/error.rs +0 -0
  2018. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/flags.rs +0 -0
  2019. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/handle.rs +0 -0
  2020. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/mod.rs +0 -0
  2021. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/record.rs +0 -0
  2022. /data/ext/cargo-vendor/{wiggle-generate-24.0.0 → wiggle-generate-25.0.0}/src/types/variant.rs +0 -0
  2023. /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/LICENSE +0 -0
  2024. /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/build.rs +0 -0
  2025. /data/ext/cargo-vendor/{wiggle-macro-24.0.0 → wiggle-macro-25.0.0}/src/lib.rs +0 -0
  2026. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/LICENSE +0 -0
  2027. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/build.rs +0 -0
  2028. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/builtin.rs +0 -0
  2029. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/call.rs +0 -0
  2030. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/control.rs +0 -0
  2031. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/codegen/env.rs +0 -0
  2032. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/frame/mod.rs +0 -0
  2033. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/aarch64/mod.rs +0 -0
  2034. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/aarch64/regs.rs +0 -0
  2035. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/reg.rs +0 -0
  2036. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/address.rs +0 -0
  2037. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/mod.rs +0 -0
  2038. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/isa/x64/regs.rs +0 -0
  2039. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/lib.rs +0 -0
  2040. /data/ext/cargo-vendor/{winch-codegen-0.22.0 → winch-codegen-0.23.0}/src/regset.rs +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/README.md +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/abi.rs +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/ast/lex.rs +0 -0
  2044. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/ast/toposort.rs +0 -0
  2045. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/live.rs +0 -0
  2046. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/metadata.rs +0 -0
  2047. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/resolve.rs +0 -0
  2048. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/src/serde_.rs +0 -0
  2049. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/comments.wit +0 -0
  2050. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/comments.wit.json +0 -0
  2051. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  2052. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  2053. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include/root.wit +0 -0
  2054. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/complex-include.wit.json +0 -0
  2055. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  2056. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource/foo.wit +0 -0
  2057. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/cross-package-resource.wit.json +0 -0
  2058. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  2059. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  2060. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1/join.wit +0 -0
  2061. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/diamond1.wit.json +0 -0
  2062. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  2063. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  2064. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
  2065. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
  2066. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/empty.wit +0 -0
  2067. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/empty.wit.json +0 -0
  2068. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/feature-gates.wit +0 -0
  2069. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/feature-gates.wit.json +0 -0
  2070. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  2071. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  2072. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  2073. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  2074. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  2075. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  2076. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  2077. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps/root.wit +0 -0
  2078. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  2079. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  2080. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  2081. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  2082. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  2083. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  2084. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  2085. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  2086. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union/root.wit +0 -0
  2087. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps-union.wit.json +0 -0
  2088. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/foreign-deps.wit.json +0 -0
  2089. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/functions.wit +0 -0
  2090. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/functions.wit.json +0 -0
  2091. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  2092. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  2093. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps/world.wit +0 -0
  2094. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/ignore-files-deps.wit.json +0 -0
  2095. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap1.wit +0 -0
  2096. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap1.wit.json +0 -0
  2097. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap2.wit +0 -0
  2098. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/import-export-overlap2.wit.json +0 -0
  2099. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/include-reps.wit +0 -0
  2100. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/include-reps.wit.json +0 -0
  2101. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kebab-name-include-with.wit +0 -0
  2102. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
  2103. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/a.wit +0 -0
  2104. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  2105. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  2106. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  2107. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  2108. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/kinds-of-deps.wit.json +0 -0
  2109. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names/a.wit +0 -0
  2110. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names/b.wit +0 -0
  2111. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/many-names.wit.json +0 -0
  2112. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/bar.wit +0 -0
  2113. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/cycle-a.wit +0 -0
  2114. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/cycle-b.wit +0 -0
  2115. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file/foo.wit +0 -0
  2116. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package/a.wit +0 -0
  2117. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package/b.wit +0 -0
  2118. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file-multi-package.wit.json +0 -0
  2119. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-file.wit.json +0 -0
  2120. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps/deps/dep.wit +0 -0
  2121. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps/root.wit +0 -0
  2122. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-deps.wit.json +0 -0
  2123. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/deps/dep1/types.wit +0 -0
  2124. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/deps/dep2/types.wit +0 -0
  2125. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps/packages.wit +0 -0
  2126. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-shared-deps.wit.json +0 -0
  2127. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/deps/dep1/types.wit +0 -0
  2128. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/deps/dep2/types.wit +0 -0
  2129. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps/packages.wit +0 -0
  2130. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/multi-package-transitive-deps.wit.json +0 -0
  2131. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  2132. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  2133. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  2134. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax1.wit +0 -0
  2135. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax1.wit.json +0 -0
  2136. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax3.wit +0 -0
  2137. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax3.wit.json +0 -0
  2138. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax4.wit +0 -0
  2139. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/package-syntax4.wit.json +0 -0
  2140. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-multiple-nested.wit +0 -0
  2141. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-multiple-nested.wit.json +0 -0
  2142. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-colliding-decl-names.wit +0 -0
  2143. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-colliding-decl-names.wit.json +0 -0
  2144. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-internal-references.wit +0 -0
  2145. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-internal-references.wit.json +0 -0
  2146. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-with-semver.wit +0 -0
  2147. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-nested-with-semver.wit.json +0 -0
  2148. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-single-nested.wit +0 -0
  2149. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/packages-single-nested.wit.json +0 -0
  2150. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  2151. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  2152. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/async.wit.result +0 -0
  2153. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  2154. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated1.wit +0 -0
  2155. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated1.wit.result +0 -0
  2156. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated2.wit +0 -0
  2157. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated2.wit.result +0 -0
  2158. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated3.wit +0 -0
  2159. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated3.wit.result +0 -0
  2160. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated4.wit +0 -0
  2161. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-deprecated4.wit.result +0 -0
  2162. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function.wit +0 -0
  2163. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  2164. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
  2165. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  2166. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate1.wit +0 -0
  2167. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate1.wit.result +0 -0
  2168. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate2.wit +0 -0
  2169. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate2.wit.result +0 -0
  2170. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate3.wit +0 -0
  2171. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate4.wit +0 -0
  2172. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-gate5.wit +0 -0
  2173. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
  2174. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  2175. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
  2176. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  2177. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
  2178. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  2179. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  2180. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  2181. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  2182. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  2183. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  2184. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  2185. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  2186. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  2187. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  2188. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  2189. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  2190. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  2191. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  2192. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  2193. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  2194. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  2195. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  2196. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  2197. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  2198. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  2199. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  2200. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  2201. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  2202. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  2203. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  2204. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  2205. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  2206. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  2207. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  2208. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  2209. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  2210. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  2211. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  2212. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  2213. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  2214. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  2215. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  2216. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  2217. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  2218. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  2219. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  2220. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  2221. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  2222. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since1.wit +0 -0
  2223. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since1.wit.result +0 -0
  2224. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since3.wit +0 -0
  2225. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-since3.wit.result +0 -0
  2226. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  2227. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  2228. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  2229. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  2230. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle.wit +0 -0
  2231. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
  2232. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle2.wit +0 -0
  2233. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  2234. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle3.wit +0 -0
  2235. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  2236. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle4.wit +0 -0
  2237. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  2238. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle5.wit +0 -0
  2239. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  2240. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  2241. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  2242. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  2243. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  2244. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  2245. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  2246. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  2247. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  2248. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  2249. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  2250. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  2251. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  2252. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
  2253. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  2254. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  2255. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  2256. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/export-twice.wit +0 -0
  2257. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  2258. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  2259. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  2260. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  2261. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  2262. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  2263. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  2264. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  2265. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  2266. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  2267. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  2268. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-twice.wit +0 -0
  2269. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  2270. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
  2271. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  2272. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  2273. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  2274. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
  2275. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  2276. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  2277. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  2278. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  2279. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  2280. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  2281. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  2282. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  2283. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  2284. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  2285. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  2286. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  2287. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  2288. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/keyword.wit +0 -0
  2289. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  2290. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-main.wit +0 -0
  2291. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-main.wit.result +0 -0
  2292. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-nested.wit +0 -0
  2293. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-main-declaration-initial-nested.wit.result +0 -0
  2294. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-package.wit +0 -0
  2295. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  2296. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-file-missing-delimiter/observe.wit +0 -0
  2297. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-file-missing-delimiter/world.wit +0 -0
  2298. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/deps/dep1/types.wit +0 -0
  2299. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/deps/dep2/types.wit +0 -0
  2300. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multi-package-deps-share-nest/root.wit +0 -0
  2301. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  2302. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  2303. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-inline-cycle.wit +0 -0
  2304. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-package-inline-cycle.wit.result +0 -0
  2305. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit +0 -0
  2306. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit.result +0 -0
  2307. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-colliding-names.wit +0 -0
  2308. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-colliding-names.wit.result +0 -0
  2309. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-with-error.wit +0 -0
  2310. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/nested-packages-with-error.wit.result +0 -0
  2311. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  2312. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  2313. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  2314. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  2315. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  2316. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  2317. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  2318. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  2319. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  2320. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
  2321. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
  2322. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow1.wit +0 -0
  2323. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow2.wit +0 -0
  2324. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow3.wit +0 -0
  2325. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
  2326. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow4.wit +0 -0
  2327. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
  2328. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow5.wit +0 -0
  2329. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
  2330. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow6.wit +0 -0
  2331. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow7.wit +0 -0
  2332. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
  2333. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
  2334. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  2335. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  2336. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  2337. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  2338. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  2339. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  2340. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  2341. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  2342. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  2343. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  2344. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  2345. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  2346. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  2347. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  2348. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  2349. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  2350. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  2351. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  2352. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  2353. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  2354. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  2355. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  2356. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  2357. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  2358. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2359. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2360. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2361. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2362. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2363. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2364. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2365. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2366. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2367. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2368. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2369. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2370. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2371. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2372. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2373. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2374. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2375. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2376. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2377. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2378. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2379. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/very-nested-packages.wit +0 -0
  2380. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2381. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2382. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2383. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2384. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2385. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2386. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2387. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2388. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2389. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2390. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/random.wit +0 -0
  2391. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/random.wit.json +0 -0
  2392. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-empty.wit +0 -0
  2393. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-empty.wit.json +0 -0
  2394. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2395. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2396. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple.wit +0 -0
  2397. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-multiple.wit.json +0 -0
  2398. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-return-own.wit +0 -0
  2399. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources-return-own.wit.json +0 -0
  2400. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources.wit +0 -0
  2401. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources.wit.json +0 -0
  2402. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources1.wit +0 -0
  2403. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/resources1.wit.json +0 -0
  2404. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/same-name-import-export.wit +0 -0
  2405. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/same-name-import-export.wit.json +0 -0
  2406. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/shared-types.wit +0 -0
  2407. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/shared-types.wit.json +0 -0
  2408. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/simple-wasm-text.wat +0 -0
  2409. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/simple-wasm-text.wit.json +0 -0
  2410. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/stress-export-elaborate.wit +0 -0
  2411. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
  2412. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/type-then-eof.wit +0 -0
  2413. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/type-then-eof.wit.json +0 -0
  2414. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/types.wit +0 -0
  2415. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/types.wit.json +0 -0
  2416. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-1.wit +0 -0
  2417. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-1.wit.json +0 -0
  2418. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-2.wit +0 -0
  2419. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/union-fuzz-2.wit.json +0 -0
  2420. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use-chain.wit +0 -0
  2421. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use-chain.wit.json +0 -0
  2422. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use.wit +0 -0
  2423. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/use.wit.json +0 -0
  2424. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/version-syntax.wit +0 -0
  2425. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/version-syntax.wit.json +0 -0
  2426. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2427. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2428. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions/foo.wit +0 -0
  2429. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/versions.wit.json +0 -0
  2430. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/wasi.wit +0 -0
  2431. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/wasi.wit.json +0 -0
  2432. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-diamond.wit +0 -0
  2433. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-diamond.wit.json +0 -0
  2434. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-iface-no-collide.wit +0 -0
  2435. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
  2436. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import1.wit +0 -0
  2437. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import1.wit.json +0 -0
  2438. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import2.wit +0 -0
  2439. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import2.wit.json +0 -0
  2440. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import3.wit +0 -0
  2441. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-implicit-import3.wit.json +0 -0
  2442. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-same-fields4.wit +0 -0
  2443. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-same-fields4.wit.json +0 -0
  2444. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-funcs.wit +0 -0
  2445. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2446. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-resources.wit +0 -0
  2447. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/world-top-level-resources.wit.json +0 -0
  2448. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-union-dedup.wit +0 -0
  2449. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
  2450. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-with-types.wit +0 -0
  2451. /data/ext/cargo-vendor/{wit-parser-0.215.0 → wit-parser-0.217.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,4892 +0,0 @@
1
- ;; x86-64 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
- ;;;; Rules for `iconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13
-
14
- ;; `i64` and smaller.
15
- (rule (lower (has_type (fits_in_64 ty)
16
- (iconst (u64_from_imm64 x))))
17
- (imm ty x))
18
-
19
- ;; `i128`
20
- (rule 1 (lower (has_type $I128
21
- (iconst (u64_from_imm64 x))))
22
- (value_regs (imm $I64 x)
23
- (imm $I64 0)))
24
-
25
- ;;;; Rules for `f16const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
26
-
27
- (rule (lower (f16const (u16_from_ieee16 x)))
28
- (imm $F16 x))
29
-
30
- ;;;; Rules for `f32const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
31
-
32
- (rule (lower (f32const (u32_from_ieee32 x)))
33
- (imm $F32 x))
34
-
35
- ;;;; Rules for `f64const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
36
-
37
- (rule (lower (f64const (u64_from_ieee64 x)))
38
- (imm $F64 x))
39
-
40
- ;;;; Rules for `f128const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
41
- (rule (lower (f128const const))
42
- ;; TODO use Inst::gen_constant() instead.
43
- (x64_xmm_load_const $F128 (const_to_vconst const)))
44
-
45
- (rule 1 (lower (f128const (u128_from_constant 0)))
46
- (xmm_zero $F128))
47
-
48
- ;;;; Rules for `null` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
49
-
50
- (rule (lower (has_type ty (null)))
51
- (imm ty 0))
52
-
53
- ;;;; Rules for `iadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
54
-
55
- ;; `i64` and smaller.
56
-
57
- ;; Base case for 8 and 16-bit types
58
- (rule -6 (lower (has_type (fits_in_16 ty)
59
- (iadd x y)))
60
- (x64_add ty x y))
61
-
62
- ;; Base case for 32 and 64-bit types which might end up using the `lea`
63
- ;; instruction to fold multiple operations into one.
64
- ;;
65
- ;; Note that at this time this always generates a `lea` pseudo-instruction,
66
- ;; but the actual instruction emitted might be an `add` if it's equivalent.
67
- ;; For more details on this see the `emit.rs` logic to emit
68
- ;; `LoadEffectiveAddress`.
69
- (rule -5 (lower (has_type (ty_32_or_64 ty) (iadd x y)))
70
- (x64_lea ty (to_amode_add (mem_flags_trusted) x y (zero_offset))))
71
-
72
- ;; Higher-priority cases than the previous two where a load can be sunk into
73
- ;; the add instruction itself. Note that both operands are tested for
74
- ;; sink-ability since addition is commutative
75
- (rule -4 (lower (has_type (fits_in_64 ty)
76
- (iadd x (sinkable_load y))))
77
- (x64_add ty x y))
78
- (rule -3 (lower (has_type (fits_in_64 ty)
79
- (iadd (sinkable_load x) y)))
80
- (x64_add ty y x))
81
-
82
- ;; SSE.
83
-
84
- (rule (lower (has_type (multi_lane 8 16)
85
- (iadd x y)))
86
- (x64_paddb x y))
87
-
88
- (rule (lower (has_type (multi_lane 16 8)
89
- (iadd x y)))
90
- (x64_paddw x y))
91
-
92
- (rule (lower (has_type (multi_lane 32 4)
93
- (iadd x y)))
94
- (x64_paddd x y))
95
-
96
- (rule (lower (has_type (multi_lane 64 2)
97
- (iadd x y)))
98
- (x64_paddq x y))
99
-
100
- ;; `i128`
101
- (rule 1 (lower (has_type $I128 (iadd x y)))
102
- ;; Get the high/low registers for `x`.
103
- (let ((x_regs ValueRegs x)
104
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
105
- (x_hi Gpr (value_regs_get_gpr x_regs 1)))
106
- ;; Get the high/low registers for `y`.
107
- (let ((y_regs ValueRegs y)
108
- (y_lo Gpr (value_regs_get_gpr y_regs 0))
109
- (y_hi Gpr (value_regs_get_gpr y_regs 1)))
110
- ;; Do an add followed by an add-with-carry.
111
- (with_flags (x64_add_with_flags_paired $I64 x_lo y_lo)
112
- (x64_adc_paired $I64 x_hi y_hi)))))
113
-
114
- ;;;; Helpers for `*_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
115
-
116
- (decl construct_overflow_op (CC ProducesFlags) InstOutput)
117
- (rule (construct_overflow_op cc inst)
118
- (let ((results ValueRegs (with_flags inst
119
- (x64_setcc_paired cc))))
120
- (output_pair (value_regs_get results 0)
121
- (value_regs_get results 1))))
122
-
123
- (decl construct_overflow_op_alu (Type CC AluRmiROpcode Gpr GprMemImm) InstOutput)
124
- (rule (construct_overflow_op_alu ty cc alu_op src1 src2)
125
- (construct_overflow_op cc (x64_alurmi_with_flags_paired alu_op ty src1 src2)))
126
-
127
- ;; This essentially creates
128
- ;; alu_<op1> x_lo, y_lo
129
- ;; alu_<op2> x_hi, y_hi
130
- ;; set<cc> r8
131
- (decl construct_overflow_op_alu_128 (CC AluRmiROpcode AluRmiROpcode Value Value) InstOutput)
132
- (rule (construct_overflow_op_alu_128 cc op1 op2 x y)
133
- ;; Get the high/low registers for `x`.
134
- (let ((x_regs ValueRegs x)
135
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
136
- (x_hi Gpr (value_regs_get_gpr x_regs 1)))
137
- ;; Get the high/low registers for `y`.
138
- (let ((y_regs ValueRegs y)
139
- (y_lo Gpr (value_regs_get_gpr y_regs 0))
140
- (y_hi Gpr (value_regs_get_gpr y_regs 1)))
141
- (let ((lo_inst ProducesFlags (x64_alurmi_with_flags_paired op1 $I64 x_lo y_lo))
142
- (hi_inst ConsumesAndProducesFlags (x64_alurmi_with_flags_chained op2 $I64 x_hi y_hi))
143
- (of_inst ConsumesFlags (x64_setcc_paired cc))
144
-
145
- (result MultiReg (with_flags_chained lo_inst hi_inst of_inst)))
146
- (multi_reg_to_pair_and_single result)))))
147
-
148
- ;;;; Rules for `uadd_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
149
-
150
- (rule 1 (lower (uadd_overflow x y @ (value_type (fits_in_64 ty))))
151
- (construct_overflow_op_alu ty (CC.B) (AluRmiROpcode.Add) x y))
152
-
153
- ;; i128 gets lowered into adc and add
154
- (rule 0 (lower (uadd_overflow x y @ (value_type $I128)))
155
- (construct_overflow_op_alu_128 (CC.B) (AluRmiROpcode.Add) (AluRmiROpcode.Adc) x y))
156
-
157
- ;;;; Rules for `sadd_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
158
-
159
- (rule 1 (lower (sadd_overflow x y @ (value_type (fits_in_64 ty))))
160
- (construct_overflow_op_alu ty (CC.O) (AluRmiROpcode.Add) x y))
161
-
162
- (rule 0 (lower (sadd_overflow x y @ (value_type $I128)))
163
- (construct_overflow_op_alu_128 (CC.O) (AluRmiROpcode.Add) (AluRmiROpcode.Adc) x y))
164
-
165
- ;;;; Rules for `usub_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
166
-
167
- (rule 1 (lower (usub_overflow x y @ (value_type (fits_in_64 ty))))
168
- (construct_overflow_op_alu ty (CC.B) (AluRmiROpcode.Sub) x y))
169
-
170
- (rule 0 (lower (usub_overflow x y @ (value_type $I128)))
171
- (construct_overflow_op_alu_128 (CC.B) (AluRmiROpcode.Sub) (AluRmiROpcode.Sbb) x y))
172
-
173
- ;;;; Rules for `ssub_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
174
-
175
- (rule 1 (lower (ssub_overflow x y @ (value_type (fits_in_64 ty))))
176
- (construct_overflow_op_alu ty (CC.O) (AluRmiROpcode.Sub) x y))
177
-
178
- (rule 0 (lower (ssub_overflow x y @ (value_type $I128)))
179
- (construct_overflow_op_alu_128 (CC.O) (AluRmiROpcode.Sub) (AluRmiROpcode.Sbb) x y))
180
-
181
- ;;;; Rules for `umul_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
182
-
183
- (rule 2 (lower (umul_overflow x y @ (value_type $I8)))
184
- (construct_overflow_op (CC.O) (x64_mul8_with_flags_paired $false x y)))
185
-
186
- (rule 3 (lower (umul_overflow x y @ (value_type (ty_int_ref_16_to_64 ty))))
187
- (construct_overflow_op (CC.O) (x64_mul_lo_with_flags_paired ty $false x y)))
188
-
189
- ;;;; Rules for `smul_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
190
-
191
- (rule 2 (lower (smul_overflow x y @ (value_type $I8)))
192
- (construct_overflow_op (CC.O) (x64_mul8_with_flags_paired $true x y)))
193
-
194
- (rule 3 (lower (smul_overflow x y @ (value_type (ty_int_ref_16_to_64 ty))))
195
- (construct_overflow_op (CC.O) (x64_mul_lo_with_flags_paired ty $true x y)))
196
-
197
- ;;;; Rules for `sadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
198
-
199
- (rule (lower (has_type (multi_lane 8 16)
200
- (sadd_sat x y)))
201
- (x64_paddsb x y))
202
-
203
- (rule (lower (has_type (multi_lane 16 8)
204
- (sadd_sat x y)))
205
- (x64_paddsw x y))
206
-
207
- ;;;; Rules for `uadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
208
-
209
- (rule (lower (has_type (multi_lane 8 16)
210
- (uadd_sat x y)))
211
- (x64_paddusb x y))
212
-
213
- (rule (lower (has_type (multi_lane 16 8)
214
- (uadd_sat x y)))
215
- (x64_paddusw x y))
216
-
217
- ;;;; Rules for `isub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
218
-
219
- ;; `i64` and smaller.
220
-
221
- ;; Sub two registers.
222
- (rule -3 (lower (has_type (fits_in_64 ty)
223
- (isub x y)))
224
- (x64_sub ty x y))
225
-
226
- ;; SSE.
227
-
228
- (rule (lower (has_type (multi_lane 8 16)
229
- (isub x y)))
230
- (x64_psubb x y))
231
-
232
- (rule (lower (has_type (multi_lane 16 8)
233
- (isub x y)))
234
- (x64_psubw x y))
235
-
236
- (rule (lower (has_type (multi_lane 32 4)
237
- (isub x y)))
238
- (x64_psubd x y))
239
-
240
- (rule (lower (has_type (multi_lane 64 2)
241
- (isub x y)))
242
- (x64_psubq x y))
243
-
244
- ;; `i128`
245
- (rule 1 (lower (has_type $I128 (isub x y)))
246
- ;; Get the high/low registers for `x`.
247
- (let ((x_regs ValueRegs x)
248
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
249
- (x_hi Gpr (value_regs_get_gpr x_regs 1)))
250
- ;; Get the high/low registers for `y`.
251
- (let ((y_regs ValueRegs y)
252
- (y_lo Gpr (value_regs_get_gpr y_regs 0))
253
- (y_hi Gpr (value_regs_get_gpr y_regs 1)))
254
- ;; Do a sub followed by an sub-with-borrow.
255
- (with_flags (x64_sub_with_flags_paired $I64 x_lo y_lo)
256
- (x64_sbb_paired $I64 x_hi y_hi)))))
257
-
258
- ;;;; Rules for `ssub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
259
-
260
- (rule (lower (has_type (multi_lane 8 16)
261
- (ssub_sat x y)))
262
- (x64_psubsb x y))
263
-
264
- (rule (lower (has_type (multi_lane 16 8)
265
- (ssub_sat x y)))
266
- (x64_psubsw x y))
267
-
268
- ;;;; Rules for `usub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
269
-
270
- (rule (lower (has_type (multi_lane 8 16)
271
- (usub_sat x y)))
272
- (x64_psubusb x y))
273
-
274
- (rule (lower (has_type (multi_lane 16 8)
275
- (usub_sat x y)))
276
- (x64_psubusw x y))
277
-
278
- ;;;; Rules for `band` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
279
-
280
- ;; `{i,b}64` and smaller.
281
-
282
- ;; And two registers.
283
- (rule 0 (lower (has_type ty (band x y)))
284
- (if (ty_int_ref_scalar_64 ty))
285
- (x64_and ty x y))
286
-
287
- ;; The above case automatically handles when the rhs is an immediate or a
288
- ;; sinkable load, but additionally handle the lhs here.
289
-
290
- (rule 1 (lower (has_type ty (band (sinkable_load x) y)))
291
- (if (ty_int_ref_scalar_64 ty))
292
- (x64_and ty y x))
293
-
294
- (rule 2 (lower (has_type ty (band (simm32_from_value x) y)))
295
- (if (ty_int_ref_scalar_64 ty))
296
- (x64_and ty y x))
297
-
298
- ;; f32 and f64
299
-
300
- (rule 5 (lower (has_type (ty_scalar_float ty) (band x y)))
301
- (sse_and ty x y))
302
-
303
- ;; SSE.
304
-
305
- (decl sse_and (Type Xmm XmmMem) Xmm)
306
- (rule (sse_and $F32X4 x y) (x64_andps x y))
307
- (rule (sse_and $F64X2 x y) (x64_andpd x y))
308
- (rule (sse_and $F32 x y) (x64_andps x y))
309
- (rule (sse_and $F64 x y) (x64_andpd x y))
310
- (rule -1 (sse_and (multi_lane _bits _lanes) x y) (x64_pand x y))
311
-
312
- (rule 6 (lower (has_type ty @ (multi_lane _bits _lanes)
313
- (band x y)))
314
- (sse_and ty x y))
315
-
316
- ;; `i128`.
317
-
318
- (decl and_i128 (ValueRegs ValueRegs) ValueRegs)
319
- (rule (and_i128 x y)
320
- (let ((x_regs ValueRegs x)
321
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
322
- (x_hi Gpr (value_regs_get_gpr x_regs 1))
323
- (y_regs ValueRegs y)
324
- (y_lo Gpr (value_regs_get_gpr y_regs 0))
325
- (y_hi Gpr (value_regs_get_gpr y_regs 1)))
326
- (value_gprs (x64_and $I64 x_lo y_lo)
327
- (x64_and $I64 x_hi y_hi))))
328
-
329
- (rule 7 (lower (has_type $I128 (band x y)))
330
- (and_i128 x y))
331
-
332
- ;; Specialized lowerings for `(band x (bnot y))` which is additionally produced
333
- ;; by Cranelift's `band_not` instruction that is legalized into the simpler
334
- ;; forms early on.
335
-
336
- (decl sse_and_not (Type Xmm XmmMem) Xmm)
337
- (rule (sse_and_not $F32X4 x y) (x64_andnps x y))
338
- (rule (sse_and_not $F64X2 x y) (x64_andnpd x y))
339
- (rule -1 (sse_and_not (multi_lane _bits _lanes) x y) (x64_pandn x y))
340
-
341
- ;; Note the flipping of operands below as we're match
342
- ;;
343
- ;; (band x (bnot y))
344
- ;;
345
- ;; while x86 does
346
- ;;
347
- ;; pandn(x, y) = and(not(x), y)
348
- (rule 8 (lower (has_type ty @ (multi_lane _bits _lane) (band x (bnot y))))
349
- (sse_and_not ty y x))
350
- (rule 9 (lower (has_type ty @ (multi_lane _bits _lane) (band (bnot y) x)))
351
- (sse_and_not ty y x))
352
-
353
- (rule 10 (lower (has_type ty (band x (bnot y))))
354
- (if (ty_int_ref_scalar_64 ty))
355
- (if-let $true (use_bmi1))
356
- ;; the first argument is the one that gets inverted with andn
357
- (x64_andn ty y x))
358
- (rule 11 (lower (has_type ty (band (bnot y) x)))
359
- (if (ty_int_ref_scalar_64 ty))
360
- (if-let $true (use_bmi1))
361
- (x64_andn ty y x))
362
-
363
- ;; Specialization of `blsr` for BMI1
364
-
365
- (decl pure partial val_minus_one (Value) Value)
366
- (rule 0 (val_minus_one (isub x (u64_from_iconst 1))) x)
367
- (rule 0 (val_minus_one (iadd x (i64_from_iconst -1))) x)
368
- (rule 1 (val_minus_one (iadd (i64_from_iconst -1) x)) x)
369
-
370
- (rule 12 (lower (has_type (ty_32_or_64 ty) (band x y)))
371
- (if-let $true (use_bmi1))
372
- (if-let x (val_minus_one y))
373
- (x64_blsr ty x))
374
- (rule 13 (lower (has_type (ty_32_or_64 ty) (band y x)))
375
- (if-let $true (use_bmi1))
376
- (if-let x (val_minus_one y))
377
- (x64_blsr ty x))
378
-
379
- ;; Specialization of `blsi` for BMI1
380
-
381
- (rule 14 (lower (has_type (ty_32_or_64 ty) (band (ineg x) x)))
382
- (if-let $true (use_bmi1))
383
- (x64_blsi ty x))
384
- (rule 15 (lower (has_type (ty_32_or_64 ty) (band x (ineg x))))
385
- (if-let $true (use_bmi1))
386
- (x64_blsi ty x))
387
-
388
- ;; Specialization of `bzhi` for BMI2
389
- ;;
390
- ;; The `bzhi` instruction clears all bits indexed by the second operand of the
391
- ;; first operand. This is pattern-matched here with a `band` against a mask
392
- ;; which is generated to be N bits large. Note that if the index is larger than
393
- ;; the bit-width of the type then `bzhi` doesn't have the same semantics as
394
- ;; `ishl`, so an `and` instruction is required to mask the index to match the
395
- ;; semantics of Cranelift's `ishl`.
396
-
397
- (rule 16 (lower (has_type (ty_32_or_64 ty) (band x y)))
398
- (if-let $true (use_bmi2))
399
- (if-let (ishl (u64_from_iconst 1) index) (val_minus_one y))
400
- (x64_bzhi ty x (x64_and ty index (RegMemImm.Imm (u32_sub (ty_bits ty) 1)))))
401
-
402
- ;;;; Rules for `bor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
403
-
404
- ;; `{i,b}64` and smaller.
405
-
406
- ;; Or two registers.
407
- (rule 0 (lower (has_type ty (bor x y)))
408
- (if (ty_int_ref_scalar_64 ty))
409
- (x64_or ty x y))
410
-
411
- ;; Handle immediates/sinkable loads on the lhs in addition to the automatic
412
- ;; handling of the rhs above
413
-
414
- (rule 1 (lower (has_type ty (bor (sinkable_load x) y)))
415
- (if (ty_int_ref_scalar_64 ty))
416
- (x64_or ty y x))
417
-
418
- (rule 2 (lower (has_type ty (bor (simm32_from_value x) y)))
419
- (if (ty_int_ref_scalar_64 ty))
420
- (x64_or ty y x))
421
-
422
- ;; f32 and f64
423
-
424
- (rule 5 (lower (has_type (ty_scalar_float ty) (bor x y)))
425
- (sse_or ty x y))
426
-
427
- ;; SSE.
428
-
429
- (decl sse_or (Type Xmm XmmMem) Xmm)
430
- (rule (sse_or $F32X4 x y) (x64_orps x y))
431
- (rule (sse_or $F64X2 x y) (x64_orpd x y))
432
- (rule (sse_or $F32 x y) (x64_orps x y))
433
- (rule (sse_or $F64 x y) (x64_orpd x y))
434
- (rule -1 (sse_or (multi_lane _bits _lanes) x y) (x64_por x y))
435
-
436
- (rule 6 (lower (has_type ty @ (multi_lane _bits _lanes)
437
- (bor x y)))
438
- (sse_or ty x y))
439
-
440
- ;; `{i,b}128`.
441
-
442
- (decl or_i128 (ValueRegs ValueRegs) ValueRegs)
443
- (rule (or_i128 x y)
444
- (let ((x_lo Gpr (value_regs_get_gpr x 0))
445
- (x_hi Gpr (value_regs_get_gpr x 1))
446
- (y_lo Gpr (value_regs_get_gpr y 0))
447
- (y_hi Gpr (value_regs_get_gpr y 1)))
448
- (value_gprs (x64_or $I64 x_lo y_lo)
449
- (x64_or $I64 x_hi y_hi))))
450
-
451
- (rule 7 (lower (has_type $I128 (bor x y)))
452
- (or_i128 x y))
453
-
454
- ;;;; Rules for `bxor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
455
-
456
- ;; `{i,b}64` and smaller.
457
-
458
- ;; Xor two registers.
459
- (rule 0 (lower (has_type ty (bxor x y)))
460
- (if (ty_int_ref_scalar_64 ty))
461
- (x64_xor ty x y))
462
-
463
- ;; Handle xor with lhs immediates/sinkable loads in addition to the automatic
464
- ;; handling of the rhs above.
465
-
466
- (rule 1 (lower (has_type ty (bxor (sinkable_load x) y)))
467
- (if (ty_int_ref_scalar_64 ty))
468
- (x64_xor ty y x))
469
-
470
- (rule 4 (lower (has_type ty (bxor (simm32_from_value x) y)))
471
- (if (ty_int_ref_scalar_64 ty))
472
- (x64_xor ty y x))
473
-
474
- ;; f32 and f64
475
-
476
- (rule 5 (lower (has_type (ty_scalar_float ty) (bxor x y)))
477
- (x64_xor_vector ty x y))
478
-
479
- ;; SSE.
480
-
481
- (rule 6 (lower (has_type ty @ (multi_lane _bits _lanes) (bxor x y)))
482
- (x64_xor_vector ty x y))
483
-
484
- ;; `{i,b}128`.
485
-
486
- (rule 7 (lower (has_type $I128 (bxor x y)))
487
- (let ((x_regs ValueRegs x)
488
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
489
- (x_hi Gpr (value_regs_get_gpr x_regs 1))
490
- (y_regs ValueRegs y)
491
- (y_lo Gpr (value_regs_get_gpr y_regs 0))
492
- (y_hi Gpr (value_regs_get_gpr y_regs 1)))
493
- (value_gprs (x64_xor $I64 x_lo y_lo)
494
- (x64_xor $I64 x_hi y_hi))))
495
-
496
- ;; Specialization of `blsmsk` for BMI1
497
-
498
- (rule 8 (lower (has_type (ty_32_or_64 ty) (bxor x y)))
499
- (if-let $true (use_bmi1))
500
- (if-let x (val_minus_one y))
501
- (x64_blsmsk ty x))
502
- (rule 9 (lower (has_type (ty_32_or_64 ty) (bxor y x)))
503
- (if-let $true (use_bmi1))
504
- (if-let x (val_minus_one y))
505
- (x64_blsmsk ty x))
506
-
507
- ;;;; Rules for `ishl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
508
-
509
- ;; `i64` and smaller.
510
-
511
- (rule -1 (lower (has_type (fits_in_64 ty) (ishl src amt)))
512
- (x64_shl ty src (put_masked_in_imm8_gpr amt ty)))
513
-
514
- ;; `i128`.
515
-
516
- (decl shl_i128 (ValueRegs Gpr) ValueRegs)
517
- (rule (shl_i128 src amt)
518
- ;; Unpack the registers that make up the 128-bit value being shifted.
519
- (let ((src_lo Gpr (value_regs_get_gpr src 0))
520
- (src_hi Gpr (value_regs_get_gpr src 1))
521
- ;; Do two 64-bit shifts.
522
- (lo_shifted Gpr (x64_shl $I64 src_lo amt))
523
- (hi_shifted Gpr (x64_shl $I64 src_hi amt))
524
- ;; `src_lo >> (64 - amt)` are the bits to carry over from the lo
525
- ;; into the hi.
526
- (carry Gpr (x64_shr $I64
527
- src_lo
528
- (x64_sub $I64
529
- (imm $I64 64)
530
- amt)))
531
- (zero Gpr (imm $I64 0))
532
- ;; Nullify the carry if we are shifting in by a multiple of 128.
533
- (carry_ Gpr (with_flags_reg (x64_test (OperandSize.Size64)
534
- amt
535
- (RegMemImm.Imm 127))
536
- (cmove $I64
537
- (CC.Z)
538
- zero
539
- carry)))
540
- ;; Add the carry into the high half.
541
- (hi_shifted_ Gpr (x64_or $I64 carry_ hi_shifted)))
542
- ;; Combine the two shifted halves. However, if we are shifting by >= 64
543
- ;; (modulo 128), then the low bits are zero and the high bits are our
544
- ;; low bits.
545
- (with_flags (x64_test (OperandSize.Size64) amt (RegMemImm.Imm 64))
546
- (consumes_flags_concat
547
- (cmove $I64 (CC.Z) lo_shifted zero)
548
- (cmove $I64 (CC.Z) hi_shifted_ lo_shifted)))))
549
-
550
- (rule (lower (has_type $I128 (ishl src amt)))
551
- ;; NB: Only the low bits of `amt` matter since we logically mask the shift
552
- ;; amount to the value's bit width.
553
- (let ((amt_ Gpr (lo_gpr amt)))
554
- (shl_i128 src amt_)))
555
-
556
- ;; SSE.
557
-
558
- ;; Since the x86 instruction set does not have any 8x16 shift instructions (even
559
- ;; in higher feature sets like AVX), we lower the `ishl.i8x16` to a sequence of
560
- ;; instructions. The basic idea, whether the amount to shift by is an immediate
561
- ;; or not, is to use a 16x8 shift and then mask off the incorrect bits to 0s.
562
- (rule (lower (has_type ty @ $I8X16 (ishl src amt)))
563
- (let (
564
- ;; Mask the amount to ensure wrapping behaviour
565
- (masked_amt RegMemImm (mask_xmm_shift ty amt))
566
- ;; Shift `src` using 16x8. Unfortunately, a 16x8 shift will only be
567
- ;; correct for half of the lanes; the others must be fixed up with
568
- ;; the mask below.
569
- (unmasked Xmm (x64_psllw src (mov_rmi_to_xmm masked_amt)))
570
- (mask_addr SyntheticAmode (ishl_i8x16_mask masked_amt))
571
- (mask Reg (x64_load $I8X16 mask_addr (ExtKind.None))))
572
- (sse_and $I8X16 unmasked (RegMem.Reg mask))))
573
-
574
- ;; Get the address of the mask to use when fixing up the lanes that weren't
575
- ;; correctly generated by the 16x8 shift.
576
- (decl ishl_i8x16_mask (RegMemImm) SyntheticAmode)
577
-
578
- ;; When the shift amount is known, we can statically (i.e. at compile time)
579
- ;; determine the mask to use and only emit that.
580
- (decl ishl_i8x16_mask_for_const (u32) SyntheticAmode)
581
- (extern constructor ishl_i8x16_mask_for_const ishl_i8x16_mask_for_const)
582
- (rule (ishl_i8x16_mask (RegMemImm.Imm amt))
583
- (ishl_i8x16_mask_for_const amt))
584
-
585
- ;; Otherwise, we must emit the entire mask table and dynamically (i.e. at run
586
- ;; time) find the correct mask offset in the table. We use `lea` to find the
587
- ;; base address of the mask table and then complex addressing to offset to the
588
- ;; right mask: `base_address + amt << 4`
589
- (decl ishl_i8x16_mask_table () SyntheticAmode)
590
- (extern constructor ishl_i8x16_mask_table ishl_i8x16_mask_table)
591
- (rule (ishl_i8x16_mask (RegMemImm.Reg amt))
592
- (let ((mask_table SyntheticAmode (ishl_i8x16_mask_table))
593
- (base_mask_addr Gpr (x64_lea $I64 mask_table))
594
- (mask_offset Gpr (x64_shl $I64 amt
595
- (imm8_to_imm8_gpr 4))))
596
- (Amode.ImmRegRegShift 0
597
- base_mask_addr
598
- mask_offset
599
- 0
600
- (mem_flags_trusted))))
601
-
602
- (rule (ishl_i8x16_mask (RegMemImm.Mem amt))
603
- (ishl_i8x16_mask (RegMemImm.Reg (x64_load $I64 amt (ExtKind.None)))))
604
-
605
- ;; 16x8, 32x4, and 64x2 shifts can each use a single instruction, once the shift amount is masked.
606
-
607
- (rule (lower (has_type ty @ $I16X8 (ishl src amt)))
608
- (x64_psllw src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
609
-
610
- (rule (lower (has_type ty @ $I32X4 (ishl src amt)))
611
- (x64_pslld src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
612
-
613
- (rule (lower (has_type ty @ $I64X2 (ishl src amt)))
614
- (x64_psllq src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
615
-
616
- ;;;; Rules for `ushr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
617
-
618
- ;; `i64` and smaller.
619
-
620
- (rule -1 (lower (has_type (fits_in_64 ty) (ushr src amt)))
621
- (let ((src_ Gpr (extend_to_gpr src ty (ExtendKind.Zero))))
622
- (x64_shr ty src_ (put_masked_in_imm8_gpr amt ty))))
623
-
624
- ;; `i128`.
625
-
626
- (decl shr_i128 (ValueRegs Gpr) ValueRegs)
627
- (rule (shr_i128 src amt)
628
- ;; Unpack the lo/hi halves of `src`.
629
- (let ((src_lo Gpr (value_regs_get_gpr src 0))
630
- (src_hi Gpr (value_regs_get_gpr src 1))
631
- ;; Do a shift on each half.
632
- (lo_shifted Gpr (x64_shr $I64 src_lo amt))
633
- (hi_shifted Gpr (x64_shr $I64 src_hi amt))
634
- ;; `src_hi << (64 - amt)` are the bits to carry over from the hi
635
- ;; into the lo.
636
- (carry Gpr (x64_shl $I64
637
- src_hi
638
- (x64_sub $I64
639
- (imm $I64 64)
640
- amt)))
641
- ;; Share the zero value to reduce register pressure
642
- (zero Gpr (imm $I64 0))
643
-
644
- ;; Nullify the carry if we are shifting by a multiple of 128.
645
- (carry_ Gpr (with_flags_reg (x64_test (OperandSize.Size64) amt (RegMemImm.Imm 127))
646
- (cmove $I64 (CC.Z) zero carry)))
647
- ;; Add the carry bits into the lo.
648
- (lo_shifted_ Gpr (x64_or $I64 carry_ lo_shifted)))
649
- ;; Combine the two shifted halves. However, if we are shifting by >= 64
650
- ;; (modulo 128), then the hi bits are zero and the lo bits are what
651
- ;; would otherwise be our hi bits.
652
- (with_flags (x64_test (OperandSize.Size64) amt (RegMemImm.Imm 64))
653
- (consumes_flags_concat
654
- (cmove $I64 (CC.Z) lo_shifted_ hi_shifted)
655
- (cmove $I64 (CC.Z) hi_shifted zero)))))
656
-
657
- (rule (lower (has_type $I128 (ushr src amt)))
658
- ;; NB: Only the low bits of `amt` matter since we logically mask the shift
659
- ;; amount to the value's bit width.
660
- (let ((amt_ Gpr (lo_gpr amt)))
661
- (shr_i128 src amt_)))
662
-
663
- ;; SSE.
664
-
665
- ;; There are no 8x16 shifts in x64. Do the same 16x8-shift-and-mask thing we do
666
- ;; with 8x16 `ishl`.
667
- (rule (lower (has_type ty @ $I8X16 (ushr src amt)))
668
- (let (
669
- ;; Mask the amount to ensure wrapping behaviour
670
- (masked_amt RegMemImm (mask_xmm_shift ty amt))
671
- ;; Shift `src` using 16x8. Unfortunately, a 16x8 shift will only be
672
- ;; correct for half of the lanes; the others must be fixed up with
673
- ;; the mask below.
674
- (unmasked Xmm (x64_psrlw src (mov_rmi_to_xmm masked_amt))))
675
- (sse_and $I8X16
676
- unmasked
677
- (ushr_i8x16_mask masked_amt))))
678
-
679
- ;; Get the address of the mask to use when fixing up the lanes that weren't
680
- ;; correctly generated by the 16x8 shift.
681
- (decl ushr_i8x16_mask (RegMemImm) SyntheticAmode)
682
-
683
- ;; When the shift amount is known, we can statically (i.e. at compile time)
684
- ;; determine the mask to use and only emit that.
685
- (decl ushr_i8x16_mask_for_const (u32) SyntheticAmode)
686
- (extern constructor ushr_i8x16_mask_for_const ushr_i8x16_mask_for_const)
687
- (rule (ushr_i8x16_mask (RegMemImm.Imm amt))
688
- (ushr_i8x16_mask_for_const amt))
689
-
690
- ;; Otherwise, we must emit the entire mask table and dynamically (i.e. at run
691
- ;; time) find the correct mask offset in the table. We use `lea` to find the
692
- ;; base address of the mask table and then complex addressing to offset to the
693
- ;; right mask: `base_address + amt << 4`
694
- (decl ushr_i8x16_mask_table () SyntheticAmode)
695
- (extern constructor ushr_i8x16_mask_table ushr_i8x16_mask_table)
696
- (rule (ushr_i8x16_mask (RegMemImm.Reg amt))
697
- (let ((mask_table SyntheticAmode (ushr_i8x16_mask_table))
698
- (base_mask_addr Gpr (x64_lea $I64 mask_table))
699
- (mask_offset Gpr (x64_shl $I64
700
- amt
701
- (imm8_to_imm8_gpr 4))))
702
- (Amode.ImmRegRegShift 0
703
- base_mask_addr
704
- mask_offset
705
- 0
706
- (mem_flags_trusted))))
707
-
708
- (rule (ushr_i8x16_mask (RegMemImm.Mem amt))
709
- (ushr_i8x16_mask (RegMemImm.Reg (x64_load $I64 amt (ExtKind.None)))))
710
-
711
- ;; 16x8, 32x4, and 64x2 shifts can each use a single instruction, once the shift amount is masked.
712
-
713
- (rule (lower (has_type ty @ $I16X8 (ushr src amt)))
714
- (x64_psrlw src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
715
-
716
- (rule (lower (has_type ty @ $I32X4 (ushr src amt)))
717
- (x64_psrld src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
718
-
719
- (rule (lower (has_type ty @ $I64X2 (ushr src amt)))
720
- (x64_psrlq src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
721
-
722
- (decl mask_xmm_shift (Type Value) RegMemImm)
723
- (rule (mask_xmm_shift ty amt)
724
- (gpr_to_reg (x64_and $I64 amt (RegMemImm.Imm (shift_mask ty)))))
725
- (rule 1 (mask_xmm_shift ty (iconst n))
726
- (RegMemImm.Imm (shift_amount_masked ty n)))
727
-
728
- ;;;; Rules for `sshr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
729
-
730
- ;; `i64` and smaller.
731
-
732
- (rule -1 (lower (has_type (fits_in_64 ty) (sshr src amt)))
733
- (let ((src_ Gpr (extend_to_gpr src ty (ExtendKind.Sign))))
734
- (x64_sar ty src_ (put_masked_in_imm8_gpr amt ty))))
735
-
736
- ;; `i128`.
737
-
738
- (decl sar_i128 (ValueRegs Gpr) ValueRegs)
739
- (rule (sar_i128 src amt)
740
- ;; Unpack the low/high halves of `src`.
741
- (let ((src_lo Gpr (value_regs_get_gpr src 0))
742
- (src_hi Gpr (value_regs_get_gpr src 1))
743
- ;; Do a shift of each half. NB: the low half uses an unsigned shift
744
- ;; because its MSB is not a sign bit.
745
- (lo_shifted Gpr (x64_shr $I64 src_lo amt))
746
- (hi_shifted Gpr (x64_sar $I64 src_hi amt))
747
- ;; `src_hi << (64 - amt)` are the bits to carry over from the low
748
- ;; half to the high half.
749
- (carry Gpr (x64_shl $I64
750
- src_hi
751
- (x64_sub $I64
752
- (imm $I64 64)
753
- amt)))
754
- ;; Nullify the carry if we are shifting by a multiple of 128.
755
- (carry_ Gpr (with_flags_reg (x64_test (OperandSize.Size64) amt (RegMemImm.Imm 127))
756
- (cmove $I64 (CC.Z) (imm $I64 0) carry)))
757
- ;; Add the carry into the low half.
758
- (lo_shifted_ Gpr (x64_or $I64 lo_shifted carry_))
759
- ;; Get all sign bits.
760
- (sign_bits Gpr (x64_sar $I64 src_hi (imm8_to_imm8_gpr 63))))
761
- ;; Combine the two shifted halves. However, if we are shifting by >= 64
762
- ;; (modulo 128), then the hi bits are all sign bits and the lo bits are
763
- ;; what would otherwise be our hi bits.
764
- (with_flags (x64_test (OperandSize.Size64) amt (RegMemImm.Imm 64))
765
- (consumes_flags_concat
766
- (cmove $I64 (CC.Z) lo_shifted_ hi_shifted)
767
- (cmove $I64 (CC.Z) hi_shifted sign_bits)))))
768
-
769
- (rule (lower (has_type $I128 (sshr src amt)))
770
- ;; NB: Only the low bits of `amt` matter since we logically mask the shift
771
- ;; amount to the value's bit width.
772
- (let ((amt_ Gpr (lo_gpr amt)))
773
- (sar_i128 src amt_)))
774
-
775
- ;; SSE.
776
-
777
- ;; Since the x86 instruction set does not have an 8x16 shift instruction and the
778
- ;; approach used for `ishl` and `ushr` cannot be easily used (the masks do not
779
- ;; preserve the sign), we use a different approach here: separate the low and
780
- ;; high lanes, shift them separately, and merge them into the final result.
781
- ;;
782
- ;; Visually, this looks like the following, where `src.i8x16 = [s0, s1, ...,
783
- ;; s15]:
784
- ;;
785
- ;; lo.i16x8 = [(s0, s0), (s1, s1), ..., (s7, s7)]
786
- ;; shifted_lo.i16x8 = shift each lane of `low`
787
- ;; hi.i16x8 = [(s8, s8), (s9, s9), ..., (s15, s15)]
788
- ;; shifted_hi.i16x8 = shift each lane of `high`
789
- ;; result = [s0'', s1'', ..., s15'']
790
- (rule (lower (has_type ty @ $I8X16 (sshr src amt @ (value_type amt_ty))))
791
- (let ((src_ Xmm (put_in_xmm src))
792
- ;; Mask the amount to ensure wrapping behaviour
793
- (masked_amt RegMemImm (mask_xmm_shift ty amt))
794
- ;; In order for `packsswb` later to only use the high byte of each
795
- ;; 16x8 lane, we shift right an extra 8 bits, relying on `psraw` to
796
- ;; fill in the upper bits appropriately.
797
- (lo Xmm (x64_punpcklbw src_ src_))
798
- (hi Xmm (x64_punpckhbw src_ src_))
799
- (amt_ XmmMemImm (sshr_i8x16_bigger_shift amt_ty masked_amt))
800
- (shifted_lo Xmm (x64_psraw lo amt_))
801
- (shifted_hi Xmm (x64_psraw hi amt_)))
802
- (x64_packsswb shifted_lo shifted_hi)))
803
-
804
- (decl sshr_i8x16_bigger_shift (Type RegMemImm) XmmMemImm)
805
- (rule (sshr_i8x16_bigger_shift _ty (RegMemImm.Imm i))
806
- (xmm_mem_imm_new (RegMemImm.Imm (u32_add i 8))))
807
- (rule (sshr_i8x16_bigger_shift ty (RegMemImm.Reg r))
808
- (mov_rmi_to_xmm (RegMemImm.Reg (x64_add ty
809
- r
810
- (RegMemImm.Imm 8)))))
811
- (rule (sshr_i8x16_bigger_shift ty rmi @ (RegMemImm.Mem _m))
812
- (mov_rmi_to_xmm (RegMemImm.Reg (x64_add ty
813
- (imm ty 8)
814
- rmi))))
815
-
816
- ;; `sshr.{i16x8,i32x4}` can be a simple `psra{w,d}`, we just have to make sure
817
- ;; that if the shift amount is in a register, it is in an XMM register.
818
-
819
- (rule (lower (has_type ty @ $I16X8 (sshr src amt)))
820
- (x64_psraw src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
821
-
822
- (rule (lower (has_type ty @ $I32X4 (sshr src amt)))
823
- (x64_psrad src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
824
-
825
- ;; The `sshr.i64x2` CLIF instruction has no single x86 instruction in the older
826
- ;; feature sets. To remedy this, a small dance is done with an unsigned right
827
- ;; shift plus some extra ops.
828
- (rule 3 (lower (has_type ty @ $I64X2 (sshr src (iconst n))))
829
- (if-let $true (use_avx512vl))
830
- (if-let $true (use_avx512f))
831
- (x64_vpsraq_imm src (shift_amount_masked ty n)))
832
-
833
- (rule 2 (lower (has_type ty @ $I64X2 (sshr src amt)))
834
- (if-let $true (use_avx512vl))
835
- (if-let $true (use_avx512f))
836
- (let ((masked Gpr (x64_and $I64 amt (RegMemImm.Imm (shift_mask ty)))))
837
- (x64_vpsraq src (x64_movd_to_xmm masked))))
838
-
839
- (rule 1 (lower (has_type $I64X2 (sshr src (iconst (u64_from_imm64 (u64_as_u32 amt))))))
840
- (lower_i64x2_sshr_imm src (u32_and amt 63)))
841
-
842
- (rule (lower (has_type $I64X2 (sshr src amt)))
843
- (lower_i64x2_sshr_gpr src (x64_and $I64 amt (RegMemImm.Imm 63))))
844
-
845
- (decl lower_i64x2_sshr_imm (Xmm u32) Xmm)
846
-
847
- ;; If the shift amount is less than 32 then do an sshr with 32-bit lanes to
848
- ;; produce the upper halves of each result, followed by a ushr of 64-bit lanes
849
- ;; to produce the lower halves of each result. Interleave results at the end.
850
- (rule 2 (lower_i64x2_sshr_imm vec imm)
851
- (if-let $true (u64_lt imm 32))
852
- (let (
853
- (high32 Xmm (x64_psrad vec (xmi_imm imm)))
854
- (high32 Xmm (x64_pshufd high32 0b11_10_11_01))
855
- (low32 Xmm (x64_psrlq vec (xmi_imm imm)))
856
- (low32 Xmm (x64_pshufd low32 0b11_10_10_00))
857
- )
858
- (x64_punpckldq low32 high32)))
859
-
860
- ;; If the shift amount is 32 then the `psrlq` from the above rule can be avoided
861
- (rule 1 (lower_i64x2_sshr_imm vec 32)
862
- (let (
863
- (low32 Xmm (x64_pshufd vec 0b11_10_11_01))
864
- (high32 Xmm (x64_psrad vec (xmi_imm 31)))
865
- (high32 Xmm (x64_pshufd high32 0b11_10_11_01))
866
- )
867
- (x64_punpckldq low32 high32)))
868
-
869
- ;; Shifts >= 32 use one `psrad` to generate the upper bits and second `psrad` to
870
- ;; generate the lower bits. Everything is then woven back together with
871
- ;; shuffles.
872
- (rule (lower_i64x2_sshr_imm vec imm)
873
- (if-let $true (u64_lt 32 imm))
874
- (let (
875
- (high32 Xmm (x64_psrad vec (xmi_imm 31)))
876
- (high32 Xmm (x64_pshufd high32 0b11_10_11_01))
877
- (low32 Xmm (x64_psrad vec (xmi_imm (u32_sub imm 32))))
878
- (low32 Xmm (x64_pshufd low32 0b11_10_11_01))
879
- )
880
- (x64_punpckldq low32 high32)))
881
-
882
- ;; A variable shift amount is slightly more complicated than the immediate
883
- ;; shift amounts from above. The `Gpr` argument is guaranteed to be <= 63 by
884
- ;; earlier masking. A `ushr` operation is used with some xor/sub math to
885
- ;; generate the sign bits.
886
- (decl lower_i64x2_sshr_gpr (Xmm Gpr) Xmm)
887
- (rule (lower_i64x2_sshr_gpr vec val)
888
- (let (
889
- (val Xmm (x64_movq_to_xmm val))
890
- (mask Xmm (flip_high_bit_mask $I64X2))
891
- (sign_bit_loc Xmm (x64_psrlq mask val))
892
- (ushr Xmm (x64_psrlq vec val))
893
- (ushr_sign_bit_flip Xmm (x64_pxor sign_bit_loc ushr))
894
- )
895
- (x64_psubq ushr_sign_bit_flip sign_bit_loc)))
896
-
897
- ;;;; Rules for `rotl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
898
-
899
- ;; `i64` and smaller: we can rely on x86's rotate-amount masking since
900
- ;; we operate on the whole register. For const's we mask the constant.
901
-
902
- (rule -1 (lower (has_type (fits_in_64 ty) (rotl src amt)))
903
- (x64_rotl ty src (put_masked_in_imm8_gpr amt ty)))
904
-
905
-
906
- ;; `i128`.
907
-
908
- (rule (lower (has_type $I128 (rotl src amt)))
909
- (let ((src_ ValueRegs src)
910
- ;; NB: Only the low bits of `amt` matter since we logically mask the
911
- ;; rotation amount to the value's bit width.
912
- (amt_ Gpr (lo_gpr amt)))
913
- (or_i128 (shl_i128 src_ amt_)
914
- (shr_i128 src_ (x64_sub $I64
915
- (imm $I64 128)
916
- amt_)))))
917
-
918
- ;;;; Rules for `rotr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
919
-
920
- ;; `i64` and smaller: we can rely on x86's rotate-amount masking since
921
- ;; we operate on the whole register. For const's we mask the constant.
922
-
923
- (rule -1 (lower (has_type (fits_in_64 ty) (rotr src amt)))
924
- (x64_rotr ty src (put_masked_in_imm8_gpr amt ty)))
925
-
926
-
927
- ;; `i128`.
928
-
929
- (rule (lower (has_type $I128 (rotr src amt)))
930
- (let ((src_ ValueRegs src)
931
- ;; NB: Only the low bits of `amt` matter since we logically mask the
932
- ;; rotation amount to the value's bit width.
933
- (amt_ Gpr (lo_gpr amt)))
934
- (or_i128 (shr_i128 src_ amt_)
935
- (shl_i128 src_ (x64_sub $I64
936
- (imm $I64 128)
937
- amt_)))))
938
-
939
- ;;;; Rules for `ineg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
940
-
941
- ;; `i64` and smaller.
942
-
943
- (rule -1 (lower (has_type (fits_in_64 ty) (ineg x)))
944
- (x64_neg ty x))
945
-
946
- (rule -2 (lower (has_type $I128 (ineg x)))
947
- ;; Get the high/low registers for `x`.
948
- (let ((regs ValueRegs x)
949
- (lo Gpr (value_regs_get_gpr regs 0))
950
- (hi Gpr (value_regs_get_gpr regs 1)))
951
- ;; Do a neg followed by an sub-with-borrow.
952
- (with_flags (x64_neg_paired $I64 lo)
953
- (x64_sbb_paired $I64 (imm $I64 0) hi))))
954
-
955
- ;; SSE.
956
-
957
- (rule (lower (has_type $I8X16 (ineg x)))
958
- (x64_psubb (imm $I8X16 0) x))
959
-
960
- (rule (lower (has_type $I16X8 (ineg x)))
961
- (x64_psubw (imm $I16X8 0) x))
962
-
963
- (rule (lower (has_type $I32X4 (ineg x)))
964
- (x64_psubd (imm $I32X4 0) x))
965
-
966
- (rule (lower (has_type $I64X2 (ineg x)))
967
- (x64_psubq (imm $I64X2 0) x))
968
-
969
- ;;;; Rules for `avg_round` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
970
-
971
- (rule (lower (has_type (multi_lane 8 16)
972
- (avg_round x y)))
973
- (x64_pavgb x y))
974
-
975
- (rule (lower (has_type (multi_lane 16 8)
976
- (avg_round x y)))
977
- (x64_pavgw x y))
978
-
979
- ;;;; Rules for `imul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
980
-
981
- ;; `i64` and smaller.
982
-
983
- ;; 8-bit base case, needs a special instruction encoding and additionally
984
- ;; move sinkable loads to the right.
985
- (rule -7 (lower (has_type $I8 (imul x y))) (x64_mul8 $false x y))
986
- (rule -6 (lower (has_type $I8 (imul (sinkable_load x) y))) (x64_mul8 $false y x))
987
-
988
- ;; 16-to-64-bit base cases, same as above by moving sinkable loads to the right.
989
- (rule -5 (lower (has_type (ty_int_ref_16_to_64 ty) (imul x y)))
990
- (x64_imul ty x y))
991
- (rule -4 (lower (has_type (ty_int_ref_16_to_64 ty) (imul (sinkable_load x) y)))
992
- (x64_imul ty y x))
993
-
994
- ;; lift out constants to use 3-operand form
995
- (rule -3 (lower (has_type (ty_int_ref_16_to_64 ty) (imul x (i32_from_iconst y))))
996
- (x64_imul_imm ty x y))
997
- (rule -2 (lower (has_type (ty_int_ref_16_to_64 ty) (imul (i32_from_iconst x) y)))
998
- (x64_imul_imm ty y x))
999
-
1000
- ;; `i128`.
1001
-
1002
- ;; mul:
1003
- ;; dst_lo = lhs_lo * rhs_lo
1004
- ;; dst_hi = umulhi(lhs_lo, rhs_lo) +
1005
- ;; lhs_lo * rhs_hi +
1006
- ;; lhs_hi * rhs_lo
1007
- ;;
1008
- ;; so we emit:
1009
- ;; lo_hi = mul x_lo, y_hi
1010
- ;; hi_lo = mul x_hi, y_lo
1011
- ;; hilo_hilo = add lo_hi, hi_lo
1012
- ;; dst_lo:hi_lolo = mulhi_u x_lo, y_lo
1013
- ;; dst_hi = add hilo_hilo, hi_lolo
1014
- ;; return (dst_lo, dst_hi)
1015
- (rule 2 (lower (has_type $I128 (imul x y)))
1016
- ;; Put `x` into registers and unpack its hi/lo halves.
1017
- (let ((x_regs ValueRegs x)
1018
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
1019
- (x_hi Gpr (value_regs_get_gpr x_regs 1))
1020
- ;; Put `y` into registers and unpack its hi/lo halves.
1021
- (y_regs ValueRegs y)
1022
- (y_lo Gpr (value_regs_get_gpr y_regs 0))
1023
- (y_hi Gpr (value_regs_get_gpr y_regs 1))
1024
- ;; lo_hi = mul x_lo, y_hi
1025
- (lo_hi Gpr (x64_imul $I64 x_lo y_hi))
1026
- ;; hi_lo = mul x_hi, y_lo
1027
- (hi_lo Gpr (x64_imul $I64 x_hi y_lo))
1028
- ;; hilo_hilo = add lo_hi, hi_lo
1029
- (hilo_hilo Gpr (x64_add $I64 lo_hi hi_lo))
1030
- ;; dst_lo:hi_lolo = x64_mul x_lo, y_lo
1031
- (mul_regs ValueRegs (x64_mul $I64 $false x_lo y_lo))
1032
- (dst_lo Gpr (value_regs_get_gpr mul_regs 0))
1033
- (hi_lolo Gpr (value_regs_get_gpr mul_regs 1))
1034
- ;; dst_hi = add hilo_hilo, hi_lolo
1035
- (dst_hi Gpr (x64_add $I64 hilo_hilo hi_lolo)))
1036
- (value_gprs dst_lo dst_hi)))
1037
-
1038
- ;; SSE.
1039
-
1040
- ;; (No i8x16 multiply.)
1041
-
1042
- (rule (lower (has_type (multi_lane 16 8) (imul x y)))
1043
- (x64_pmullw x y))
1044
-
1045
- (rule (lower (has_type (multi_lane 32 4) (imul x y)))
1046
- (if-let $true (use_sse41))
1047
- (x64_pmulld x y))
1048
-
1049
- ;; Without `pmulld` the `pmuludq` instruction is used instead which performs
1050
- ;; 32-bit multiplication storing the 64-bit result. The 64-bit result is
1051
- ;; truncated to 32-bits and everything else is woven into place.
1052
- (rule -1 (lower (has_type (multi_lane 32 4) (imul x y)))
1053
- (let (
1054
- (x Xmm x)
1055
- (y Xmm y)
1056
- (x_hi Xmm (x64_pshufd x 0b00_11_00_01))
1057
- (y_hi Xmm (x64_pshufd y 0b00_11_00_01))
1058
- (mul_lo Xmm (x64_pshufd (x64_pmuludq x y) 0b00_00_10_00))
1059
- (mul_hi Xmm (x64_pshufd (x64_pmuludq x_hi y_hi) 0b00_00_10_00))
1060
- )
1061
- (x64_punpckldq mul_lo mul_hi)))
1062
-
1063
- ;; With AVX-512 we can implement `i64x2` multiplication with a single
1064
- ;; instruction.
1065
- (rule 3 (lower (has_type (multi_lane 64 2) (imul x y)))
1066
- (if-let $true (use_avx512vl))
1067
- (if-let $true (use_avx512dq))
1068
- (x64_vpmullq x y))
1069
-
1070
- ;; Otherwise, for i64x2 multiplication we describe a lane A as being composed of
1071
- ;; a 32-bit upper half "Ah" and a 32-bit lower half "Al". The 32-bit long hand
1072
- ;; multiplication can then be written as:
1073
- ;;
1074
- ;; Ah Al
1075
- ;; * Bh Bl
1076
- ;; -----
1077
- ;; Al * Bl
1078
- ;; + (Ah * Bl) << 32
1079
- ;; + (Al * Bh) << 32
1080
- ;;
1081
- ;; So for each lane we will compute:
1082
- ;;
1083
- ;; A * B = (Al * Bl) + ((Ah * Bl) + (Al * Bh)) << 32
1084
- ;;
1085
- ;; Note, the algorithm will use `pmuludq` which operates directly on the lower
1086
- ;; 32-bit (`Al` or `Bl`) of a lane and writes the result to the full 64-bits of
1087
- ;; the lane of the destination. For this reason we don't need shifts to isolate
1088
- ;; the lower 32-bits, however, we will need to use shifts to isolate the high
1089
- ;; 32-bits when doing calculations, i.e., `Ah == A >> 32`.
1090
- (rule (lower (has_type (multi_lane 64 2)
1091
- (imul a b)))
1092
- (let ((a0 Xmm a)
1093
- (b0 Xmm b)
1094
- ;; a_hi = A >> 32
1095
- (a_hi Xmm (x64_psrlq a0 (xmi_imm 32)))
1096
- ;; ah_bl = Ah * Bl
1097
- (ah_bl Xmm (x64_pmuludq a_hi b0))
1098
- ;; b_hi = B >> 32
1099
- (b_hi Xmm (x64_psrlq b0 (xmi_imm 32)))
1100
- ;; al_bh = Al * Bh
1101
- (al_bh Xmm (x64_pmuludq a0 b_hi))
1102
- ;; aa_bb = ah_bl + al_bh
1103
- (aa_bb Xmm (x64_paddq ah_bl al_bh))
1104
- ;; aa_bb_shifted = aa_bb << 32
1105
- (aa_bb_shifted Xmm (x64_psllq aa_bb (xmi_imm 32)))
1106
- ;; al_bl = Al * Bl
1107
- (al_bl Xmm (x64_pmuludq a0 b0)))
1108
- ;; al_bl + aa_bb_shifted
1109
- (x64_paddq al_bl aa_bb_shifted)))
1110
-
1111
- ;; Special case for `i32x4.extmul_high_i16x8_s`.
1112
- (rule 1 (lower (has_type (multi_lane 32 4)
1113
- (imul (swiden_high (and (value_type (multi_lane 16 8))
1114
- x))
1115
- (swiden_high (and (value_type (multi_lane 16 8))
1116
- y)))))
1117
- (let ((x2 Xmm x)
1118
- (y2 Xmm y)
1119
- (lo Xmm (x64_pmullw x2 y2))
1120
- (hi Xmm (x64_pmulhw x2 y2)))
1121
- (x64_punpckhwd lo hi)))
1122
-
1123
- ;; Special case for `i64x2.extmul_high_i32x4_s`.
1124
- (rule 1 (lower (has_type (multi_lane 64 2)
1125
- (imul (swiden_high (and (value_type (multi_lane 32 4))
1126
- x))
1127
- (swiden_high (and (value_type (multi_lane 32 4))
1128
- y)))))
1129
- (if-let $true (use_sse41))
1130
- (let ((x2 Xmm (x64_pshufd x 0xFA))
1131
- (y2 Xmm (x64_pshufd y 0xFA)))
1132
- (x64_pmuldq x2 y2)))
1133
-
1134
- ;; Special case for `i32x4.extmul_low_i16x8_s`.
1135
- (rule 1 (lower (has_type (multi_lane 32 4)
1136
- (imul (swiden_low (and (value_type (multi_lane 16 8))
1137
- x))
1138
- (swiden_low (and (value_type (multi_lane 16 8))
1139
- y)))))
1140
- (let ((x2 Xmm x)
1141
- (y2 Xmm y)
1142
- (lo Xmm (x64_pmullw x2 y2))
1143
- (hi Xmm (x64_pmulhw x2 y2)))
1144
- (x64_punpcklwd lo hi)))
1145
-
1146
- ;; Special case for `i64x2.extmul_low_i32x4_s`.
1147
- (rule 1 (lower (has_type (multi_lane 64 2)
1148
- (imul (swiden_low (and (value_type (multi_lane 32 4))
1149
- x))
1150
- (swiden_low (and (value_type (multi_lane 32 4))
1151
- y)))))
1152
- (if-let $true (use_sse41))
1153
- (let ((x2 Xmm (x64_pshufd x 0x50))
1154
- (y2 Xmm (x64_pshufd y 0x50)))
1155
- (x64_pmuldq x2 y2)))
1156
-
1157
- ;; Special case for `i32x4.extmul_high_i16x8_u`.
1158
- (rule 1 (lower (has_type (multi_lane 32 4)
1159
- (imul (uwiden_high (and (value_type (multi_lane 16 8))
1160
- x))
1161
- (uwiden_high (and (value_type (multi_lane 16 8))
1162
- y)))))
1163
- (let ((x2 Xmm x)
1164
- (y2 Xmm y)
1165
- (lo Xmm (x64_pmullw x2 y2))
1166
- (hi Xmm (x64_pmulhuw x2 y2)))
1167
- (x64_punpckhwd lo hi)))
1168
-
1169
- ;; Special case for `i64x2.extmul_high_i32x4_u`.
1170
- (rule 1 (lower (has_type (multi_lane 64 2)
1171
- (imul (uwiden_high (and (value_type (multi_lane 32 4))
1172
- x))
1173
- (uwiden_high (and (value_type (multi_lane 32 4))
1174
- y)))))
1175
- (let ((x2 Xmm (x64_pshufd x 0xFA))
1176
- (y2 Xmm (x64_pshufd y 0xFA)))
1177
- (x64_pmuludq x2 y2)))
1178
-
1179
- ;; Special case for `i32x4.extmul_low_i16x8_u`.
1180
- (rule 1 (lower (has_type (multi_lane 32 4)
1181
- (imul (uwiden_low (and (value_type (multi_lane 16 8))
1182
- x))
1183
- (uwiden_low (and (value_type (multi_lane 16 8))
1184
- y)))))
1185
- (let ((x2 Xmm x)
1186
- (y2 Xmm y)
1187
- (lo Xmm (x64_pmullw x2 y2))
1188
- (hi Xmm (x64_pmulhuw x2 y2)))
1189
- (x64_punpcklwd lo hi)))
1190
-
1191
- ;; Special case for `i64x2.extmul_low_i32x4_u`.
1192
- (rule 1 (lower (has_type (multi_lane 64 2)
1193
- (imul (uwiden_low (and (value_type (multi_lane 32 4))
1194
- x))
1195
- (uwiden_low (and (value_type (multi_lane 32 4))
1196
- y)))))
1197
- (let ((x2 Xmm (x64_pshufd x 0x50))
1198
- (y2 Xmm (x64_pshufd y 0x50)))
1199
- (x64_pmuludq x2 y2)))
1200
-
1201
- ;;;; Rules for `iabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1202
-
1203
- (rule 1 (lower (has_type $I8X16 (iabs x)))
1204
- (if-let $true (use_ssse3))
1205
- (x64_pabsb x))
1206
-
1207
- ;; Note the use of `pminub` with signed inputs will produce the positive signed
1208
- ;; result which is what is desired here. The `pmaxub` isn't available until
1209
- ;; SSE4.1 in which case the single-instruction above lowering would apply.
1210
- (rule (lower (has_type $I8X16 (iabs x)))
1211
- (let (
1212
- (x Xmm x)
1213
- (negated Xmm (x64_psubb (xmm_zero $I8X16) x))
1214
- )
1215
- (x64_pminub x negated)))
1216
-
1217
- (rule 1 (lower (has_type $I16X8 (iabs x)))
1218
- (if-let $true (use_ssse3))
1219
- (x64_pabsw x))
1220
-
1221
- (rule (lower (has_type $I16X8 (iabs x)))
1222
- (let (
1223
- (x Xmm x)
1224
- (negated Xmm (x64_psubw (xmm_zero $I16X8) x))
1225
- )
1226
- (x64_pmaxsw x negated)))
1227
-
1228
- (rule 1 (lower (has_type $I32X4 (iabs x)))
1229
- (if-let $true (use_ssse3))
1230
- (x64_pabsd x))
1231
-
1232
- ;; Generate a `negative_mask` which is either numerically -1 or 0 depending on
1233
- ;; if the lane is negative. If the lane is positive then the xor operation
1234
- ;; won't change the lane but otherwise it'll bit-flip everything. By then
1235
- ;; subtracting the mask this subtracts 0 for positive lanes (does nothing) or
1236
- ;; ends up adding one for negative lanes. This means that for a negative lane
1237
- ;; `x` the result is `!x + 1` which is the result of negating it.
1238
- (rule (lower (has_type $I32X4 (iabs x)))
1239
- (let (
1240
- (x Xmm x)
1241
- (negative_mask Xmm (x64_psrad x (xmi_imm 31)))
1242
- (flipped_if_negative Xmm (x64_pxor x negative_mask))
1243
- )
1244
- (x64_psubd flipped_if_negative negative_mask)))
1245
-
1246
- ;; When AVX512 is available, we can use a single `vpabsq` instruction.
1247
- (rule 2 (lower (has_type $I64X2 (iabs x)))
1248
- (if-let $true (use_avx512vl))
1249
- (if-let $true (use_avx512f))
1250
- (x64_vpabsq x))
1251
-
1252
- ;; Otherwise, we use a separate register, `neg`, to contain the results of `0 -
1253
- ;; x` and then blend in those results with `blendvpd` if the MSB of `neg` was
1254
- ;; set to 1 (i.e. if `neg` was negative or, conversely, if `x` was originally
1255
- ;; positive).
1256
- (rule 1 (lower (has_type $I64X2 (iabs x)))
1257
- (if-let $true (use_sse41))
1258
- (let ((rx Xmm x)
1259
- (neg Xmm (x64_psubq (imm $I64X2 0) rx)))
1260
- (x64_blendvpd neg rx neg)))
1261
-
1262
- ;; and if `blendvpd` isn't available then perform a shift/shuffle to generate a
1263
- ;; mask of which lanes are negative, followed by flipping bits/sub to make both
1264
- ;; positive.
1265
- (rule (lower (has_type $I64X2 (iabs x)))
1266
- (let ((x Xmm x)
1267
- (signs Xmm (x64_psrad x (RegMemImm.Imm 31)))
1268
- (signs Xmm (x64_pshufd signs 0b11_11_01_01))
1269
- (xor_if_negative Xmm (x64_pxor x signs)))
1270
- (x64_psubq xor_if_negative signs)))
1271
-
1272
- ;; `i64` and smaller.
1273
-
1274
- (rule -1 (lower (has_type (fits_in_64 ty) (iabs x)))
1275
- (let ((src Gpr x)
1276
- (neg ProducesFlags (x64_neg_paired ty src))
1277
- ;; Manually extract the result from the neg, then ignore
1278
- ;; it below, since we need to pass it into the cmove
1279
- ;; before we pass the cmove to with_flags_reg.
1280
- (neg_result Gpr (produces_flags_get_reg neg))
1281
- ;; When the neg instruction sets the sign flag,
1282
- ;; takes the original (non-negative) value.
1283
- (cmove ConsumesFlags (cmove ty (CC.S) src neg_result)))
1284
- (with_flags_reg (produces_flags_ignore neg) cmove)))
1285
-
1286
- ;; `i128`. Negate the low bits, `adc` to the higher bits, then negate high bits.
1287
- (rule (lower (has_type $I128 (iabs x)))
1288
- ;; Get the high/low registers for `x`.
1289
- (let ((x_regs ValueRegs x)
1290
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
1291
- (x_hi Gpr (value_regs_get_gpr x_regs 1))
1292
- ; negate low bits, then add 0 with carry to high bits.
1293
- (neg_lo ProducesFlags (x64_neg_paired $I64 x_lo))
1294
- (adc_hi ConsumesFlags (x64_adc_paired $I64 x_hi (imm $I64 0)))
1295
- (neg_adc_vals ValueRegs (with_flags neg_lo adc_hi))
1296
- ; negate high bits.
1297
- (neg_hi ProducesFlags (x64_neg_paired $I64 (value_regs_get neg_adc_vals 1)))
1298
- (neg_hi_flag_only ProducesFlags (produces_flags_ignore neg_hi))
1299
- ; cmove based on sign flag from hi negation.
1300
- (cmove_lo ConsumesFlags (cmove $I64 (CC.S) x_lo
1301
- (value_regs_get neg_adc_vals 0)))
1302
- (cmove_hi ConsumesFlags (cmove $I64 (CC.S) x_hi
1303
- (produces_flags_get_reg neg_hi)))
1304
- (cmoves ConsumesFlags (consumes_flags_concat cmove_lo cmove_hi)))
1305
- (with_flags neg_hi_flag_only cmoves)))
1306
-
1307
- ;;;; Rules for `fabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1308
-
1309
- (rule (lower (has_type $F32 (fabs x)))
1310
- (x64_andps x (imm $F32 0x7fffffff)))
1311
-
1312
- (rule (lower (has_type $F64 (fabs x)))
1313
- (x64_andpd x (imm $F64 0x7fffffffffffffff)))
1314
-
1315
- ;; Special case for `f32x4.abs`.
1316
- (rule (lower (has_type $F32X4 (fabs x)))
1317
- (x64_andps x
1318
- (x64_psrld (vector_all_ones) (xmi_imm 1))))
1319
-
1320
- ;; Special case for `f64x2.abs`.
1321
- (rule (lower (has_type $F64X2 (fabs x)))
1322
- (x64_andpd x
1323
- (x64_psrlq (vector_all_ones) (xmi_imm 1))))
1324
-
1325
- ;;;; Rules for `fneg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1326
-
1327
- (rule (lower (has_type $F32 (fneg x)))
1328
- (x64_xorps x (imm $F32 0x80000000)))
1329
-
1330
- (rule (lower (has_type $F64 (fneg x)))
1331
- (x64_xorpd x (imm $F64 0x8000000000000000)))
1332
-
1333
- (rule (lower (has_type $F32X4 (fneg x)))
1334
- (x64_xorps x
1335
- (x64_pslld (vector_all_ones) (xmi_imm 31))))
1336
-
1337
- (rule (lower (has_type $F64X2 (fneg x)))
1338
- (x64_xorpd x
1339
- (x64_psllq (vector_all_ones) (xmi_imm 63))))
1340
-
1341
- ;;;; Rules for `bmask` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1342
-
1343
- (decl lower_bmask (Type Type ValueRegs) ValueRegs)
1344
-
1345
- ;; Values that fit in a register
1346
- ;;
1347
- ;; Use the neg instruction on the input which sets the CF (carry) flag
1348
- ;; to 0 if the input is 0 or 1 otherwise.
1349
- ;; We then subtract the output register with itself, which always gives a 0,
1350
- ;; however use the carry flag from the previous negate to generate a -1 if it
1351
- ;; was nonzero.
1352
- ;;
1353
- ;; neg in_reg
1354
- ;; sbb out_reg, out_reg
1355
- (rule 0
1356
- (lower_bmask (fits_in_64 out_ty) (fits_in_64 in_ty) val)
1357
- (let ((reg Gpr (value_regs_get_gpr val 0))
1358
- (out ValueRegs (with_flags
1359
- (x64_neg_paired in_ty reg)
1360
- (x64_sbb_paired out_ty reg reg))))
1361
- ;; Extract only the output of the sbb instruction
1362
- (value_reg (value_regs_get out 1))))
1363
-
1364
-
1365
- ;; If the input type is I128 we can `or` the registers, and recurse to the general case.
1366
- (rule 1
1367
- (lower_bmask (fits_in_64 out_ty) $I128 val)
1368
- (let ((lo Gpr (value_regs_get_gpr val 0))
1369
- (hi Gpr (value_regs_get_gpr val 1))
1370
- (mixed Gpr (x64_or $I64 lo hi)))
1371
- (lower_bmask out_ty $I64 (value_reg mixed))))
1372
-
1373
- ;; If the output type is I128 we just duplicate the result of the I64 lowering
1374
- (rule 2
1375
- (lower_bmask $I128 in_ty val)
1376
- (let ((res ValueRegs (lower_bmask $I64 in_ty val))
1377
- (res Gpr (value_regs_get_gpr res 0)))
1378
- (value_regs res res)))
1379
-
1380
-
1381
- ;; Call the lower_bmask rule that does all the procssing
1382
- (rule (lower (has_type out_ty (bmask x @ (value_type in_ty))))
1383
- (lower_bmask out_ty in_ty x))
1384
-
1385
- ;;;; Rules for `bnot` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1386
-
1387
- ;; `i64` and smaller.
1388
-
1389
- (rule -2 (lower (has_type ty (bnot x)))
1390
- (if (ty_int_ref_scalar_64 ty))
1391
- (x64_not ty x))
1392
-
1393
-
1394
- ;; `i128`.
1395
-
1396
- (decl i128_not (Value) ValueRegs)
1397
- (rule (i128_not x)
1398
- (let ((x_regs ValueRegs x)
1399
- (x_lo Gpr (value_regs_get_gpr x_regs 0))
1400
- (x_hi Gpr (value_regs_get_gpr x_regs 1)))
1401
- (value_gprs (x64_not $I64 x_lo)
1402
- (x64_not $I64 x_hi))))
1403
-
1404
- (rule (lower (has_type $I128 (bnot x)))
1405
- (i128_not x))
1406
-
1407
- ;; f32 and f64
1408
-
1409
- (rule -3 (lower (has_type (ty_scalar_float ty) (bnot x)))
1410
- (x64_xor_vector ty x (vector_all_ones)))
1411
-
1412
- ;; Special case for vector-types where bit-negation is an xor against an
1413
- ;; all-one value
1414
- (rule -1 (lower (has_type ty @ (multi_lane _bits _lanes) (bnot x)))
1415
- (x64_xor_vector ty x (vector_all_ones)))
1416
-
1417
- ;;;; Rules for `bitselect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1418
-
1419
- (rule (lower (has_type ty @ (multi_lane _bits _lanes)
1420
- (bitselect condition
1421
- if_true
1422
- if_false)))
1423
- ;; a = and if_true, condition
1424
- ;; b = and_not condition, if_false
1425
- ;; or b, a
1426
- (let ((cond_xmm Xmm condition)
1427
- (a Xmm (sse_and ty if_true cond_xmm))
1428
- (b Xmm (sse_and_not ty cond_xmm if_false)))
1429
- (sse_or ty b a)))
1430
-
1431
- ;; If every byte of the condition is guaranteed to be all ones or all zeroes,
1432
- ;; we can use x64_blend.
1433
- (rule 1 (lower (has_type ty @ (multi_lane _bits _lanes)
1434
- (bitselect condition
1435
- if_true
1436
- if_false)))
1437
- (if-let $true (use_sse41))
1438
- (if (all_ones_or_all_zeros condition))
1439
- (x64_pblendvb if_false if_true condition))
1440
-
1441
- (decl pure partial all_ones_or_all_zeros (Value) bool)
1442
- (rule (all_ones_or_all_zeros (and (icmp _ _ _) (value_type (multi_lane _ _)))) $true)
1443
- (rule (all_ones_or_all_zeros (and (fcmp _ _ _) (value_type (multi_lane _ _)))) $true)
1444
- (rule (all_ones_or_all_zeros (and (bitcast _ (fcmp _ _ _)) (value_type (multi_lane _ _)))) $true)
1445
- (rule (all_ones_or_all_zeros (vconst (vconst_all_ones_or_all_zeros))) $true)
1446
-
1447
- (decl pure vconst_all_ones_or_all_zeros () Constant)
1448
- (extern extractor vconst_all_ones_or_all_zeros vconst_all_ones_or_all_zeros)
1449
-
1450
- ;; Specializations for floating-pointer compares to generate a `minp*` or a
1451
- ;; `maxp*` instruction. These are equivalent to the wasm `f32x4.{pmin,pmax}`
1452
- ;; instructions and how they're lowered into CLIF. Note the careful ordering
1453
- ;; of all the operands here to ensure that the input CLIF matched is implemented
1454
- ;; by the corresponding x64 instruction.
1455
- (rule 2 (lower (has_type $F32X4 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) x y)) x y)))
1456
- (x64_minps x y))
1457
- (rule 2 (lower (has_type $F64X2 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) x y)) x y)))
1458
- (x64_minpd x y))
1459
-
1460
- (rule 3 (lower (has_type $F32X4 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) y x)) x y)))
1461
- (x64_maxps x y))
1462
- (rule 3 (lower (has_type $F64X2 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) y x)) x y)))
1463
- (x64_maxpd x y))
1464
-
1465
- ;; Scalar rules
1466
-
1467
- (rule 3 (lower (has_type $I128 (bitselect c t f)))
1468
- (let ((a ValueRegs (and_i128 c t))
1469
- (b ValueRegs (and_i128 (i128_not c) f)))
1470
- (or_i128 a b)))
1471
-
1472
- (rule 4 (lower (has_type (ty_int_ref_scalar_64 ty) (bitselect c t f)))
1473
- (let ((a Gpr (x64_and ty c t))
1474
- (b Gpr (x64_and ty (x64_not ty c) f)))
1475
- (x64_or ty a b)))
1476
-
1477
- (rule 5 (lower (has_type (ty_scalar_float ty) (bitselect c t f)))
1478
- (let ((a Xmm (sse_and ty c t))
1479
- (c_neg Xmm (x64_xor_vector ty c (vector_all_ones)))
1480
- (b Xmm (sse_and ty c_neg f)))
1481
- (sse_or ty a b)))
1482
-
1483
- ;;;; Rules for `x86_blendv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1484
-
1485
- (rule (lower (has_type $I8X16
1486
- (x86_blendv condition if_true if_false)))
1487
- (if-let $true (use_sse41))
1488
- (x64_pblendvb if_false if_true condition))
1489
-
1490
- (rule (lower (has_type $I32X4
1491
- (x86_blendv condition if_true if_false)))
1492
- (if-let $true (use_sse41))
1493
- (x64_blendvps if_false if_true condition))
1494
-
1495
- (rule (lower (has_type $I64X2
1496
- (x86_blendv condition if_true if_false)))
1497
- (if-let $true (use_sse41))
1498
- (x64_blendvpd if_false if_true condition))
1499
-
1500
- ;;;; Rules for `insertlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1501
-
1502
- (rule 1 (lower (insertlane vec @ (value_type $I8X16) val (u8_from_uimm8 idx)))
1503
- (if-let $true (use_sse41))
1504
- (x64_pinsrb vec val idx))
1505
- (rule 2 (lower (insertlane vec @ (value_type $I8X16) (sinkable_load_exact val) (u8_from_uimm8 idx)))
1506
- (if-let $true (use_sse41))
1507
- (x64_pinsrb vec val idx))
1508
-
1509
- ;; This lowering is particularly unoptimized and is mostly just here to work
1510
- ;; rather than here to be fast. Requiring SSE 4.1 for the above lowering isn't
1511
- ;; the end of the world hopefully as that's a pretty old instruction set, so
1512
- ;; this is the "simplest" version that works on SSE2 for now.
1513
- ;;
1514
- ;; This lowering masks the original vector with a constant with all 1s except
1515
- ;; for the "hole" where this value will get placed into, meaning the desired
1516
- ;; lane is guaranteed as all 0s. Next the `val` is shuffled into this hole with
1517
- ;; a few operations:
1518
- ;;
1519
- ;; 1. The `val` is zero-extended to 32-bits to guarantee the lower 32-bits
1520
- ;; are all defined.
1521
- ;; 2. An arithmetic shift-left is used with the low two bits of `n`, the
1522
- ;; desired lane, to move the value into the right position within the 32-bit
1523
- ;; register value.
1524
- ;; 3. The 32-bit register is moved with `movd` into an XMM register
1525
- ;; 4. The XMM register, where all lanes are 0 except for the first lane which
1526
- ;; has the shifted value, is then shuffled with `pshufd` to move the
1527
- ;; shifted value to the correct and final lane. This uses the upper two
1528
- ;; bits of `n` to index the i32x4 lane that we're targeting.
1529
- ;;
1530
- ;; This all, laboriously, gets the `val` into the desired lane so it's then
1531
- ;; `por`'d with the original vec-with-a-hole to produce the final result of the
1532
- ;; insertion.
1533
- (rule (lower (insertlane vec @ (value_type $I8X16) val (u8_from_uimm8 n)))
1534
- (let ((vec_with_hole Xmm (x64_pand vec (insert_i8x16_lane_hole n)))
1535
- (val Gpr (x64_movzx (ExtMode.BL) val))
1536
- (val Gpr (x64_shl $I32 val (Imm8Reg.Imm8 (u8_shl (u8_and n 3) 3))))
1537
- (val Xmm (x64_movd_to_xmm val))
1538
- (val_at_hole Xmm (x64_pshufd val (insert_i8x16_lane_pshufd_imm (u8_shr n 2)))))
1539
- (x64_por vec_with_hole val_at_hole)))
1540
-
1541
- (decl insert_i8x16_lane_hole (u8) VCodeConstant)
1542
- (extern constructor insert_i8x16_lane_hole insert_i8x16_lane_hole)
1543
- (decl insert_i8x16_lane_pshufd_imm (u8) u8)
1544
- (rule (insert_i8x16_lane_pshufd_imm 0) 0b01_01_01_00)
1545
- (rule (insert_i8x16_lane_pshufd_imm 1) 0b01_01_00_01)
1546
- (rule (insert_i8x16_lane_pshufd_imm 2) 0b01_00_01_01)
1547
- (rule (insert_i8x16_lane_pshufd_imm 3) 0b00_01_01_01)
1548
-
1549
-
1550
- ;; i16x8.replace_lane
1551
- (rule (lower (insertlane vec @ (value_type $I16X8) val (u8_from_uimm8 idx)))
1552
- (x64_pinsrw vec val idx))
1553
- (rule 1 (lower (insertlane vec @ (value_type $I16X8) (sinkable_load_exact val) (u8_from_uimm8 idx)))
1554
- (x64_pinsrw vec val idx))
1555
-
1556
- ;; i32x4.replace_lane
1557
- (rule 1 (lower (insertlane vec @ (value_type $I32X4) val (u8_from_uimm8 idx)))
1558
- (if-let $true (use_sse41))
1559
- (x64_pinsrd vec val idx))
1560
-
1561
- (rule (lower (insertlane vec @ (value_type $I32X4) val (u8_from_uimm8 0)))
1562
- (x64_movss_regmove vec (x64_movd_to_xmm val)))
1563
-
1564
- ;; tmp = [ vec[1] vec[0] val[1] val[0] ]
1565
- ;; result = [ vec[3] vec[2] tmp[0] tmp[2] ]
1566
- (rule (lower (insertlane vec @ (value_type $I32X4) val (u8_from_uimm8 1)))
1567
- (let ((val Xmm (x64_movd_to_xmm val))
1568
- (vec Xmm vec))
1569
- (x64_shufps (x64_punpcklqdq val vec) vec 0b11_10_00_10)))
1570
-
1571
- ;; tmp = [ vec[0] vec[3] val[0] val[0] ]
1572
- ;; result = [ tmp[2] tmp[0] vec[1] vec[0] ]
1573
- (rule (lower (insertlane vec @ (value_type $I32X4) val (u8_from_uimm8 2)))
1574
- (let ((val Xmm (x64_movd_to_xmm val))
1575
- (vec Xmm vec))
1576
- (x64_shufps vec (x64_shufps val vec 0b00_11_00_00) 0b10_00_01_00)))
1577
-
1578
- ;; tmp = [ vec[3] vec[2] val[1] val[0] ]
1579
- ;; result = [ tmp[0] tmp[2] vec[1] vec[0] ]
1580
- (rule (lower (insertlane vec @ (value_type $I32X4) val (u8_from_uimm8 3)))
1581
- (let ((val Xmm (x64_movd_to_xmm val))
1582
- (vec Xmm vec))
1583
- (x64_shufps vec (x64_shufps val vec 0b11_10_01_00) 0b00_10_01_00)))
1584
-
1585
- ;; i64x2.replace_lane
1586
- (rule 1 (lower (insertlane vec @ (value_type $I64X2) val (u8_from_uimm8 idx)))
1587
- (if-let $true (use_sse41))
1588
- (x64_pinsrq vec val idx))
1589
- (rule (lower (insertlane vec @ (value_type $I64X2) val (u8_from_uimm8 0)))
1590
- (x64_movsd_regmove vec (x64_movq_to_xmm val)))
1591
- (rule (lower (insertlane vec @ (value_type $I64X2) val (u8_from_uimm8 1)))
1592
- (x64_punpcklqdq vec (x64_movq_to_xmm val)))
1593
-
1594
- ;; (i64x2.replace_lane 1) with a splat as source for lane 0 -- we can elide
1595
- ;; the splat and just do a move. This turns out to be a common pattern when
1596
- ;; constructing an i64x2 out of two i64s.
1597
- (rule 3 (lower (insertlane (has_type $I64X2 (splat lane0))
1598
- lane1
1599
- (u8_from_uimm8 1)))
1600
- (if-let $true (use_sse41))
1601
- (x64_pinsrq (bitcast_gpr_to_xmm 64 lane0) lane1 1))
1602
-
1603
- (rule 1 (lower (insertlane vec @ (value_type $F32X4) (sinkable_load val) (u8_from_uimm8 idx)))
1604
- (if-let $true (use_sse41))
1605
- (x64_insertps vec val (sse_insertps_lane_imm idx)))
1606
- (rule (lower (insertlane vec @ (value_type $F32X4) val (u8_from_uimm8 idx)))
1607
- (f32x4_insertlane vec val idx))
1608
-
1609
- ;; Helper function used below for `insertlane` but also here for other
1610
- (decl f32x4_insertlane (Xmm Xmm u8) Xmm)
1611
-
1612
- ;; f32x4.replace_lane
1613
- (rule 1 (f32x4_insertlane vec val idx)
1614
- (if-let $true (use_sse41))
1615
- (x64_insertps vec val (sse_insertps_lane_imm idx)))
1616
-
1617
- ;; External rust code used to calculate the immediate value to `insertps`.
1618
- (decl sse_insertps_lane_imm (u8) u8)
1619
- (extern constructor sse_insertps_lane_imm sse_insertps_lane_imm)
1620
-
1621
- ;; f32x4.replace_lane 0
1622
- (rule (f32x4_insertlane vec val 0)
1623
- (x64_movss_regmove vec val))
1624
-
1625
- ;; f32x4.replace_lane 1
1626
- ;; tmp = [ vec[1] vec[0] val[1] val[0] ]
1627
- ;; result = [ vec[3] vec[2] tmp[0] tmp[2] ]
1628
- (rule (f32x4_insertlane vec val 1)
1629
- (let ((tmp Xmm (x64_movlhps val vec)))
1630
- (x64_shufps tmp vec 0b11_10_00_10)))
1631
-
1632
- ;; f32x4.replace_lane 2
1633
- ;; tmp = [ vec[0] vec[3] val[0] val[0] ]
1634
- ;; result = [ tmp[2] tmp[0] vec[1] vec[0] ]
1635
- (rule (f32x4_insertlane vec val 2)
1636
- (let ((tmp Xmm (x64_shufps val vec 0b00_11_00_00)))
1637
- (x64_shufps vec tmp 0b10_00_01_00)))
1638
-
1639
- ;; f32x4.replace_lane 3
1640
- ;; tmp = [ vec[3] vec[2] val[1] val[0] ]
1641
- ;; result = [ tmp[0] tmp[2] vec[1] vec[0] ]
1642
- (rule (f32x4_insertlane vec val 3)
1643
- (let ((tmp Xmm (x64_shufps val vec 0b11_10_01_00)))
1644
- (x64_shufps vec tmp 0b00_10_01_00)))
1645
-
1646
- ;; f64x2.replace_lane 0
1647
- ;;
1648
- ;; Here the `movsd` instruction is used specifically to specialize moving
1649
- ;; into the fist lane where unlike above cases we're not using the lane
1650
- ;; immediate as an immediate to the instruction itself.
1651
- (rule (lower (insertlane vec @ (value_type $F64X2) val (u8_from_uimm8 0)))
1652
- (x64_movsd_regmove vec val))
1653
-
1654
- ;; f64x2.replace_lane 1
1655
- ;;
1656
- ;; Here the `movlhps` instruction is used specifically to specialize moving
1657
- ;; into the second lane where unlike above cases we're not using the lane
1658
- ;; immediate as an immediate to the instruction itself.
1659
- (rule (lower (insertlane vec @ (value_type $F64X2) val (u8_from_uimm8 1)))
1660
- (x64_movlhps vec val))
1661
-
1662
- ;;;; Rules for `smin`, `smax`, `umin`, `umax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1663
-
1664
- ;; `i64` and smaller.
1665
-
1666
- (decl cmp_and_choose (Type CC Value Value) ValueRegs)
1667
- (rule (cmp_and_choose (fits_in_64 ty) cc x y)
1668
- (let ((size OperandSize (raw_operand_size_of_type ty))
1669
- ;; We need to put x and y in registers explicitly because
1670
- ;; we use the values more than once. Hence, even if these
1671
- ;; are "unique uses" at the CLIF level and would otherwise
1672
- ;; allow for load-op merging, here we cannot do that.
1673
- (x_reg Reg x)
1674
- (y_reg Reg y))
1675
- (with_flags_reg (x64_cmp size y_reg x_reg)
1676
- (cmove ty cc y_reg x_reg))))
1677
-
1678
- (rule -1 (lower (has_type (fits_in_64 ty) (umin x y)))
1679
- (cmp_and_choose ty (CC.B) x y))
1680
-
1681
- (rule -1 (lower (has_type (fits_in_64 ty) (umax x y)))
1682
- (cmp_and_choose ty (CC.NB) x y))
1683
-
1684
- (rule -1 (lower (has_type (fits_in_64 ty) (smin x y)))
1685
- (cmp_and_choose ty (CC.L) x y))
1686
-
1687
- (rule -1 (lower (has_type (fits_in_64 ty) (smax x y)))
1688
- (cmp_and_choose ty (CC.NL) x y))
1689
-
1690
- ;; SSE helpers for determining if single-instruction lowerings are available.
1691
-
1692
- (decl pure has_pmins (Type) bool)
1693
- (rule 1 (has_pmins $I16X8) $true)
1694
- (rule 1 (has_pmins $I64X2) $false)
1695
- (rule (has_pmins _) (use_sse41))
1696
-
1697
- (decl pure has_pmaxs (Type) bool)
1698
- (rule 1 (has_pmaxs $I16X8) $true)
1699
- (rule 1 (has_pmaxs $I64X2) $false)
1700
- (rule (has_pmaxs _) (use_sse41))
1701
-
1702
- (decl pure has_pmaxu (Type) bool)
1703
- (rule 1 (has_pmaxu $I8X16) $true)
1704
- (rule 1 (has_pmaxu $I64X2) $false)
1705
- (rule (has_pmaxu _) (use_sse41))
1706
-
1707
- (decl pure has_pminu (Type) bool)
1708
- (rule 1 (has_pminu $I8X16) $true)
1709
- (rule 1 (has_pminu $I64X2) $false)
1710
- (rule (has_pminu _) (use_sse41))
1711
-
1712
- ;; SSE `smax`.
1713
-
1714
- (rule (lower (has_type (ty_vec128 ty) (smax x y)))
1715
- (lower_vec_smax ty x y))
1716
-
1717
- (decl lower_vec_smax (Type Xmm Xmm) Xmm)
1718
- (rule 1 (lower_vec_smax ty x y)
1719
- (if-let $true (has_pmaxs ty))
1720
- (x64_pmaxs ty x y))
1721
-
1722
- (rule (lower_vec_smax ty x y)
1723
- (let (
1724
- (x Xmm x)
1725
- (y Xmm y)
1726
- (cmp Xmm (x64_pcmpgt ty x y))
1727
- (x_is_max Xmm (x64_pand cmp x))
1728
- (y_is_max Xmm (x64_pandn cmp y))
1729
- )
1730
- (x64_por x_is_max y_is_max)))
1731
-
1732
- ;; SSE `smin`.
1733
-
1734
- (rule 1 (lower (has_type (ty_vec128 ty) (smin x y)))
1735
- (if-let $true (has_pmins ty))
1736
- (x64_pmins ty x y))
1737
-
1738
- (rule (lower (has_type (ty_vec128 ty) (smin x y)))
1739
- (let (
1740
- (x Xmm x)
1741
- (y Xmm y)
1742
- (cmp Xmm (x64_pcmpgt ty y x))
1743
- (x_is_min Xmm (x64_pand cmp x))
1744
- (y_is_min Xmm (x64_pandn cmp y))
1745
- )
1746
- (x64_por x_is_min y_is_min)))
1747
-
1748
- ;; SSE `umax`.
1749
-
1750
- (rule 2 (lower (has_type (ty_vec128 ty) (umax x y)))
1751
- (if-let $true (has_pmaxu ty))
1752
- (x64_pmaxu ty x y))
1753
-
1754
- ;; If y < x then the saturating subtraction will be zero, otherwise when added
1755
- ;; back to x it'll return y.
1756
- (rule 1 (lower (has_type $I16X8 (umax x y)))
1757
- (let ((x Xmm x))
1758
- (x64_paddw x (x64_psubusw y x))))
1759
-
1760
- ;; Flip the upper bits of each lane so the signed comparison has the same
1761
- ;; result as a signed comparison, and then select the results with the output
1762
- ;; mask. See `pcmpgt` lowering for info on flipping the upper bit.
1763
- (rule (lower (has_type (ty_vec128 ty) (umax x y)))
1764
- (let (
1765
- (x Xmm x)
1766
- (y Xmm y)
1767
- (mask Xmm (flip_high_bit_mask ty))
1768
- (x_masked Xmm (x64_pxor x mask))
1769
- (y_masked Xmm (x64_pxor y mask))
1770
- (cmp Xmm (x64_pcmpgt ty x_masked y_masked))
1771
- (x_is_max Xmm (x64_pand cmp x))
1772
- (y_is_max Xmm (x64_pandn cmp y))
1773
- )
1774
- (x64_por x_is_max y_is_max)))
1775
-
1776
- (decl flip_high_bit_mask (Type) Xmm)
1777
- (rule (flip_high_bit_mask $I16X8)
1778
- (x64_movdqu_load (emit_u128_le_const 0x8000_8000_8000_8000_8000_8000_8000_8000)))
1779
- (rule (flip_high_bit_mask $I32X4)
1780
- (x64_movdqu_load (emit_u128_le_const 0x80000000_80000000_80000000_80000000)))
1781
- (rule (flip_high_bit_mask $I64X2)
1782
- (x64_movdqu_load (emit_u128_le_const 0x8000000000000000_8000000000000000)))
1783
-
1784
- ;; SSE `umin`.
1785
-
1786
- (rule 2 (lower (has_type (ty_vec128 ty) (umin x y)))
1787
- (if-let $true (has_pminu ty))
1788
- (x64_pminu ty x y))
1789
-
1790
- ;; If x < y then the saturating subtraction will be 0. Otherwise if x > y then
1791
- ;; the saturated result, when subtracted again, will go back to `y`.
1792
- (rule 1 (lower (has_type $I16X8 (umin x y)))
1793
- (let ((x Xmm x))
1794
- (x64_psubw x (x64_psubusw x y))))
1795
-
1796
- ;; Same as `umax`, and see `pcmpgt` for docs on flipping the upper bit.
1797
- (rule (lower (has_type (ty_vec128 ty) (umin x y)))
1798
- (let (
1799
- (x Xmm x)
1800
- (y Xmm y)
1801
- (mask Xmm (flip_high_bit_mask ty))
1802
- (x_masked Xmm (x64_pxor x mask))
1803
- (y_masked Xmm (x64_pxor y mask))
1804
- (cmp Xmm (x64_pcmpgt ty y_masked x_masked))
1805
- (x_is_max Xmm (x64_pand cmp x))
1806
- (y_is_max Xmm (x64_pandn cmp y))
1807
- )
1808
- (x64_por x_is_max y_is_max)))
1809
-
1810
- ;;;; Rules for `trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1811
-
1812
- (rule (lower (trap code))
1813
- (side_effect (x64_ud2 code)))
1814
-
1815
- ;;;; Rules for `uadd_overflow_trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1816
-
1817
- (rule (lower (has_type (fits_in_64 ty) (uadd_overflow_trap a b tc)))
1818
- (with_flags
1819
- (x64_add_with_flags_paired ty a b)
1820
- (trap_if (CC.B) tc)))
1821
-
1822
- ;; Handle lhs immediates/sinkable loads in addition to the automatic rhs
1823
- ;; handling of above.
1824
-
1825
- (rule 1 (lower (has_type (fits_in_64 ty)
1826
- (uadd_overflow_trap (simm32_from_value a) b tc)))
1827
- (with_flags
1828
- (x64_add_with_flags_paired ty b a)
1829
- (trap_if (CC.B) tc)))
1830
-
1831
- (rule 2 (lower (has_type (fits_in_64 ty)
1832
- (uadd_overflow_trap (sinkable_load a) b tc)))
1833
- (with_flags
1834
- (x64_add_with_flags_paired ty b a)
1835
- (trap_if (CC.B) tc)))
1836
-
1837
- ;;;; Rules for `return` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1838
-
1839
- ;; N.B.: the Ret itself is generated by the ABI.
1840
- (rule (lower (return args))
1841
- (lower_return args))
1842
-
1843
- ;;;; Rules for `icmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1844
-
1845
- (rule -2 (lower (icmp cc a @ (value_type (fits_in_64 ty)) b))
1846
- (lower_icmp_bool (emit_cmp cc a b)))
1847
-
1848
- (rule -1 (lower (icmp cc a @ (value_type $I128) b))
1849
- (lower_icmp_bool (emit_cmp cc a b)))
1850
-
1851
- ;; Peephole optimization for `x < 0`, when x is a signed 64 bit value
1852
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThan) x @ (value_type $I64) (u64_from_iconst 0))))
1853
- (x64_shr $I64 x (Imm8Reg.Imm8 63)))
1854
-
1855
- ;; Peephole optimization for `0 > x`, when x is a signed 64 bit value
1856
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThan) (u64_from_iconst 0) x @ (value_type $I64))))
1857
- (x64_shr $I64 x (Imm8Reg.Imm8 63)))
1858
-
1859
- ;; Peephole optimization for `0 <= x`, when x is a signed 64 bit value
1860
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThanOrEqual) (u64_from_iconst 0) x @ (value_type $I64))))
1861
- (x64_shr $I64 (x64_not $I64 x) (Imm8Reg.Imm8 63)))
1862
-
1863
- ;; Peephole optimization for `x >= 0`, when x is a signed 64 bit value
1864
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThanOrEqual) x @ (value_type $I64) (u64_from_iconst 0))))
1865
- (x64_shr $I64 (x64_not $I64 x) (Imm8Reg.Imm8 63)))
1866
-
1867
- ;; Peephole optimization for `x < 0`, when x is a signed 32 bit value
1868
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThan) x @ (value_type $I32) (u64_from_iconst 0))))
1869
- (x64_shr $I32 x (Imm8Reg.Imm8 31)))
1870
-
1871
- ;; Peephole optimization for `0 > x`, when x is a signed 32 bit value
1872
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThan) (u64_from_iconst 0) x @ (value_type $I32))))
1873
- (x64_shr $I32 x (Imm8Reg.Imm8 31)))
1874
-
1875
- ;; Peephole optimization for `0 <= x`, when x is a signed 32 bit value
1876
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThanOrEqual) (u64_from_iconst 0) x @ (value_type $I32))))
1877
- (x64_shr $I32 (x64_not $I64 x) (Imm8Reg.Imm8 31)))
1878
-
1879
- ;; Peephole optimization for `x >= 0`, when x is a signed 32 bit value
1880
- (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThanOrEqual) x @ (value_type $I32) (u64_from_iconst 0))))
1881
- (x64_shr $I32 (x64_not $I64 x) (Imm8Reg.Imm8 31)))
1882
-
1883
- ;; For XMM-held values, we lower to `PCMP*` instructions, sometimes more than
1884
- ;; one. To note: what is different here about the output values is that each
1885
- ;; lane will be filled with all 1s or all 0s according to the comparison,
1886
- ;; whereas for GPR-held values, the result will be simply 0 or 1 (upper bits
1887
- ;; unset).
1888
- (rule (lower (icmp (IntCC.Equal) a @ (value_type (ty_vec128 ty)) b))
1889
- (x64_pcmpeq ty a b))
1890
-
1891
- ;; To lower a not-equals comparison, we perform an equality comparison
1892
- ;; (PCMPEQ*) and then invert the bits (PXOR with all 1s).
1893
- (rule (lower (icmp (IntCC.NotEqual) a @ (value_type (ty_vec128 ty)) b))
1894
- (let ((checked Xmm (x64_pcmpeq ty a b))
1895
- (all_ones Xmm (vector_all_ones)))
1896
- (x64_pxor checked all_ones)))
1897
-
1898
- ;; SSE `sgt`
1899
-
1900
- (rule (lower (icmp (IntCC.SignedGreaterThan) a @ (value_type (ty_vec128 ty)) b))
1901
- (x64_pcmpgt ty a b))
1902
-
1903
- ;; SSE `slt`
1904
-
1905
- (rule (lower (icmp (IntCC.SignedLessThan) a @ (value_type (ty_vec128 ty)) b))
1906
- (x64_pcmpgt ty b a))
1907
-
1908
- ;; SSE `ugt`
1909
-
1910
- ;; N.B.: we must manually prevent load coalescing operands; the
1911
- ;; register allocator gets confused otherwise.
1912
- (rule 1 (lower (icmp (IntCC.UnsignedGreaterThan) a @ (value_type (ty_vec128 ty)) b))
1913
- (if-let $true (has_pmaxu ty))
1914
- (let ((a Xmm a)
1915
- (b Xmm b)
1916
- (max Xmm (x64_pmaxu ty a b))
1917
- (eq Xmm (x64_pcmpeq ty max b)))
1918
- (x64_pxor eq (vector_all_ones))))
1919
-
1920
- ;; Flip the upper bit of each lane so the result of a signed comparison is the
1921
- ;; same as the result of an unsigned comparison (see docs on `pcmpgt` for more)
1922
- (rule (lower (icmp (IntCC.UnsignedGreaterThan) a @ (value_type (ty_vec128 ty)) b))
1923
- (let ((mask Xmm (flip_high_bit_mask ty))
1924
- (a_masked Xmm (x64_pxor a mask))
1925
- (b_masked Xmm (x64_pxor b mask)))
1926
- (x64_pcmpgt ty a_masked b_masked)))
1927
-
1928
- ;; SSE `ult`
1929
-
1930
- (rule 1 (lower (icmp (IntCC.UnsignedLessThan) a @ (value_type (ty_vec128 ty)) b))
1931
- (if-let $true (has_pminu ty))
1932
- ;; N.B.: see note above.
1933
- (let ((a Xmm a)
1934
- (b Xmm b)
1935
- (min Xmm (x64_pminu ty a b))
1936
- (eq Xmm (x64_pcmpeq ty min b)))
1937
- (x64_pxor eq (vector_all_ones))))
1938
-
1939
- ;; Flip the upper bit of `a` and `b` so the signed comparison result will
1940
- ;; be the same as the unsigned comparison result (see docs on `pcmpgt` for more).
1941
- (rule (lower (icmp (IntCC.UnsignedLessThan) a @ (value_type (ty_vec128 ty)) b))
1942
- (let ((mask Xmm (flip_high_bit_mask ty))
1943
- (a_masked Xmm (x64_pxor a mask))
1944
- (b_masked Xmm (x64_pxor b mask)))
1945
- (x64_pcmpgt ty b_masked a_masked)))
1946
-
1947
- ;; SSE `sge`
1948
-
1949
- ;; Use `pmaxs*` and compare the result to `a` to see if it's `>= b`.
1950
- (rule 1 (lower (icmp (IntCC.SignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1951
- (if-let $true (has_pmaxs ty))
1952
- (x64_pcmpeq ty a (x64_pmaxs ty a b)))
1953
-
1954
- ;; Without `pmaxs*` use a `pcmpgt*` with reversed operands and invert the
1955
- ;; result.
1956
- (rule (lower (icmp (IntCC.SignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1957
- (x64_pxor (x64_pcmpgt ty b a) (vector_all_ones)))
1958
-
1959
- ;; SSE `sle`
1960
-
1961
- ;; With `pmins*` use that and compare the result to `a`.
1962
- (rule 1 (lower (icmp (IntCC.SignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1963
- (if-let $true (has_pmins ty))
1964
- (x64_pcmpeq ty a (x64_pmins ty a b)))
1965
-
1966
- ;; Without `pmins*` perform a greater-than test and invert the result.
1967
- (rule (lower (icmp (IntCC.SignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1968
- (x64_pxor (x64_pcmpgt ty a b) (vector_all_ones)))
1969
-
1970
- ;; SSE `uge`
1971
-
1972
- (rule 2 (lower (icmp (IntCC.UnsignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1973
- (if-let $true (has_pmaxu ty))
1974
- (x64_pcmpeq ty a (x64_pmaxu ty a b)))
1975
-
1976
- ;; Perform a saturating subtract of `a` from `b` and if the result is zero then
1977
- ;; `a` is greater or equal.
1978
- (rule 1 (lower (icmp (IntCC.UnsignedGreaterThanOrEqual) a @ (value_type $I16X8) b))
1979
- (x64_pcmpeqw (x64_psubusw b a) (xmm_zero $I16X8)))
1980
-
1981
- ;; Flip the upper bit of each lane so the signed comparison is the same as
1982
- ;; an unsigned one and then invert the result. See docs on `pcmpgt` for why
1983
- ;; flipping the upper bit works.
1984
- (rule (lower (icmp (IntCC.UnsignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1985
- (let (
1986
- (mask Xmm (flip_high_bit_mask ty))
1987
- (a_masked Xmm (x64_pxor a mask))
1988
- (b_masked Xmm (x64_pxor b mask))
1989
- (cmp Xmm (x64_pcmpgt ty b_masked a_masked))
1990
- )
1991
- (x64_pxor cmp (vector_all_ones))))
1992
-
1993
- ;; SSE `ule`
1994
-
1995
- (rule 2 (lower (icmp (IntCC.UnsignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1996
- (if-let $true (has_pminu ty))
1997
- (x64_pcmpeq ty a (x64_pminu ty a b)))
1998
-
1999
- ;; A saturating subtraction will produce zeros if `a` is less than `b`, so
2000
- ;; compare that result to an all-zeros result to figure out lanes of `a` that
2001
- ;; are <= to the lanes in `b`
2002
- (rule 1 (lower (icmp (IntCC.UnsignedLessThanOrEqual) a @ (value_type $I16X8) b))
2003
- (let ((zeros_if_a_is_min Xmm (x64_psubusw a b)))
2004
- (x64_pcmpeqw zeros_if_a_is_min (xmm_zero $I8X16))))
2005
-
2006
- ;; Flip the upper bit of each lane in `a` and `b` so a signed comparison
2007
- ;; produces the same result as an unsigned comparison. Then test test for `gt`
2008
- ;; and invert the result to get the `le` that is desired here. See docs on
2009
- ;; `pcmpgt` for why flipping the upper bit works.
2010
- (rule (lower (icmp (IntCC.UnsignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2011
- (let (
2012
- (mask Xmm (flip_high_bit_mask ty))
2013
- (a_masked Xmm (x64_pxor a mask))
2014
- (b_masked Xmm (x64_pxor b mask))
2015
- (cmp Xmm (x64_pcmpgt ty a_masked b_masked))
2016
- )
2017
- (x64_pxor cmp (vector_all_ones))))
2018
-
2019
- ;;;; Rules for `fcmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2020
-
2021
- ;; CLIF's `fcmp` instruction always operates on XMM registers--both scalar and
2022
- ;; vector. For the scalar versions, we use the flag-setting behavior of the
2023
- ;; `UCOMIS*` instruction to `SETcc` a 0 or 1 in a GPR register. Note that CLIF's
2024
- ;; `select` uses the same kind of flag-setting behavior but chooses values other
2025
- ;; than 0 or 1.
2026
- ;;
2027
- ;; Checking the result of `UCOMIS*` is unfortunately difficult in some cases
2028
- ;; because we do not have `SETcc` instructions that explicitly check
2029
- ;; simultaneously for the condition (i.e., `eq`, `le`, `gt`, etc.) *and*
2030
- ;; orderedness. Instead, we must check the flags multiple times. The UCOMIS*
2031
- ;; documentation (see Intel's Software Developer's Manual, volume 2, chapter 4)
2032
- ;; is helpful:
2033
- ;; - unordered assigns Z = 1, P = 1, C = 1
2034
- ;; - greater than assigns Z = 0, P = 0, C = 0
2035
- ;; - less than assigns Z = 0, P = 0, C = 1
2036
- ;; - equal assigns Z = 1, P = 0, C = 0
2037
-
2038
- (rule -1 (lower (fcmp cc a @ (value_type (ty_scalar_float ty)) b))
2039
- (lower_fcmp_bool (emit_fcmp cc a b)))
2040
-
2041
- ;; For vector lowerings, we use `CMPP*` instructions with a 3-bit operand that
2042
- ;; determines the comparison to make. Note that comparisons that succeed will
2043
- ;; fill the lane with 1s; comparisons that do not will fill the lane with 0s.
2044
-
2045
- (rule (lower (fcmp (FloatCC.Equal) a @ (value_type (ty_vec128 ty)) b))
2046
- (x64_cmpp ty a b (FcmpImm.Equal)))
2047
- (rule (lower (fcmp (FloatCC.NotEqual) a @ (value_type (ty_vec128 ty)) b))
2048
- (x64_cmpp ty a b (FcmpImm.NotEqual)))
2049
- (rule (lower (fcmp (FloatCC.LessThan) a @ (value_type (ty_vec128 ty)) b))
2050
- (x64_cmpp ty a b (FcmpImm.LessThan)))
2051
- (rule (lower (fcmp (FloatCC.LessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2052
- (x64_cmpp ty a b (FcmpImm.LessThanOrEqual)))
2053
- (rule (lower (fcmp (FloatCC.Ordered) a @ (value_type (ty_vec128 ty)) b))
2054
- (x64_cmpp ty a b (FcmpImm.Ordered)))
2055
- (rule (lower (fcmp (FloatCC.Unordered) a @ (value_type (ty_vec128 ty)) b))
2056
- (x64_cmpp ty a b (FcmpImm.Unordered)))
2057
- (rule (lower (fcmp (FloatCC.UnorderedOrGreaterThan) a @ (value_type (ty_vec128 ty)) b))
2058
- (x64_cmpp ty a b (FcmpImm.UnorderedOrGreaterThan)))
2059
- (rule (lower (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2060
- (x64_cmpp ty a b (FcmpImm.UnorderedOrGreaterThanOrEqual)))
2061
-
2062
- ;; Some vector lowerings rely on flipping the operands and using a reversed
2063
- ;; comparison code.
2064
-
2065
- (rule (lower (fcmp (FloatCC.GreaterThan) a @ (value_type (ty_vec128 ty)) b))
2066
- (x64_cmpp ty b a (FcmpImm.LessThan)))
2067
- (rule (lower (fcmp (FloatCC.GreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2068
- (x64_cmpp ty b a (FcmpImm.LessThanOrEqual)))
2069
- (rule (lower (fcmp (FloatCC.UnorderedOrLessThan) a @ (value_type (ty_vec128 ty)) b))
2070
- (x64_cmpp ty b a (FcmpImm.UnorderedOrGreaterThan)))
2071
- (rule (lower (fcmp (FloatCC.UnorderedOrLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2072
- (x64_cmpp ty b a (FcmpImm.UnorderedOrGreaterThanOrEqual)))
2073
-
2074
- ;; Some vector lowerings are simply not supported for certain codes:
2075
- ;; - FloatCC::OrderedNotEqual
2076
- ;; - FloatCC::UnorderedOrEqual
2077
-
2078
- ;;;; Rules for `select` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2079
-
2080
- ;; When a `select` has an `fcmp` as a condition then rely on `emit_fcmp` to
2081
- ;; figure out how to perform the comparison.
2082
- ;;
2083
- ;; Note, though, that the `FloatCC.Equal` requires an "and" to happen for two
2084
- ;; condition codes which isn't the easiest thing to lower to a `cmove`
2085
- ;; instruction. For this reason a `select (fcmp eq ..) ..` is instead
2086
- ;; flipped around to be `select (fcmp ne ..) ..` with all operands reversed.
2087
- ;; This will produce a `FcmpCondResult.OrCondition` which is easier to codegen
2088
- ;; for.
2089
- (rule (lower (has_type ty (select (maybe_uextend (fcmp cc a b)) x y)))
2090
- (lower_select_fcmp ty (emit_fcmp cc a b) x y))
2091
- (rule 1 (lower (has_type ty (select (maybe_uextend (fcmp (FloatCC.Equal) a b)) x y)))
2092
- (lower_select_fcmp ty (emit_fcmp (FloatCC.NotEqual) a b) y x))
2093
-
2094
- (decl lower_select_fcmp (Type FcmpCondResult Value Value) InstOutput)
2095
- (rule (lower_select_fcmp ty (FcmpCondResult.Condition flags cc) x y)
2096
- (with_flags flags (cmove_from_values ty cc x y)))
2097
- (rule (lower_select_fcmp ty (FcmpCondResult.OrCondition flags cc1 cc2) x y)
2098
- (with_flags flags (cmove_or_from_values ty cc1 cc2 x y)))
2099
-
2100
- ;; We also can lower `select`s that depend on an `icmp` test, but more simply
2101
- ;; than the `fcmp` variants above. In these cases, we lower to a `CMP`
2102
- ;; instruction plus a `CMOV`; recall that `cmove_from_values` here may emit more
2103
- ;; than one instruction for certain types (e.g., XMM-held, I128).
2104
-
2105
- (rule (lower (has_type ty (select (maybe_uextend (icmp cc a @ (value_type (fits_in_64 a_ty)) b)) x y)))
2106
- (lower_select_icmp ty (emit_cmp cc a b) x y))
2107
-
2108
- ;; Finally, we lower `select` from a condition value `c`. These rules are meant
2109
- ;; to be the final, default lowerings if no other patterns matched above.
2110
-
2111
- (rule -1 (lower (has_type ty (select c @ (value_type (fits_in_64 a_ty)) x y)))
2112
- (let ((size OperandSize (raw_operand_size_of_type a_ty))
2113
- ;; N.B.: disallow load-op fusion, see above. TODO:
2114
- ;; https://github.com/bytecodealliance/wasmtime/issues/3953.
2115
- (gpr_c Gpr (put_in_gpr c)))
2116
- (with_flags (x64_test size gpr_c gpr_c) (cmove_from_values ty (CC.NZ) x y))))
2117
-
2118
- (rule -2 (lower (has_type ty (select c @ (value_type $I128) x y)))
2119
- (let ((cond_result IcmpCondResult (cmp_zero_i128 (CC.Z) c)))
2120
- (select_icmp cond_result x y)))
2121
-
2122
- (decl lower_select_icmp (Type IcmpCondResult Value Value) InstOutput)
2123
- (rule (lower_select_icmp ty (IcmpCondResult.Condition flags cc) x y)
2124
- (with_flags flags (cmove_from_values ty cc x y)))
2125
-
2126
- ;; Specializations for floating-point compares to generate a `mins*` or a
2127
- ;; `maxs*` instruction. These are equivalent to the "pseudo-m{in,ax}"
2128
- ;; specializations for vectors.
2129
- (rule 2 (lower (has_type $F32 (select (maybe_uextend (fcmp (FloatCC.LessThan) x y)) x y)))
2130
- (x64_minss x y))
2131
- (rule 2 (lower (has_type $F64 (select (maybe_uextend (fcmp (FloatCC.LessThan) x y)) x y)))
2132
- (x64_minsd x y))
2133
- (rule 3 (lower (has_type $F32 (select (maybe_uextend (fcmp (FloatCC.LessThan) y x)) x y)))
2134
- (x64_maxss x y))
2135
- (rule 3 (lower (has_type $F64 (select (maybe_uextend (fcmp (FloatCC.LessThan) y x)) x y)))
2136
- (x64_maxsd x y))
2137
-
2138
- ;; Rules for `clz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2139
-
2140
- (rule 2 (lower (has_type (ty_32_or_64 ty) (clz src)))
2141
- (do_clz ty ty src))
2142
-
2143
- (rule 1 (lower (has_type (ty_8_or_16 ty) (clz src)))
2144
- (let ((extended Gpr (extend_to_gpr src $I64 (ExtendKind.Zero)))
2145
- (clz Gpr (do_clz $I64 $I64 extended)))
2146
- (x64_sub $I64 clz (RegMemImm.Imm (u32_sub 64 (ty_bits ty))))))
2147
-
2148
-
2149
- (rule 0 (lower
2150
- (has_type $I128
2151
- (clz src)))
2152
- (let ((upper Gpr (do_clz $I64 $I64 (value_regs_get_gpr src 1)))
2153
- (lower Gpr (x64_add $I64
2154
- (do_clz $I64 $I64 (value_regs_get_gpr src 0))
2155
- (RegMemImm.Imm 64)))
2156
- (result_lo Gpr
2157
- (with_flags_reg
2158
- (x64_cmp_imm (OperandSize.Size64) upper 64)
2159
- (cmove $I64 (CC.NZ) upper lower))))
2160
- (value_regs result_lo (imm $I64 0))))
2161
-
2162
- ;; Implementation helper for clz; operates on 32 or 64-bit units.
2163
- (decl do_clz (Type Type Gpr) Gpr)
2164
-
2165
- ;; If available, we can use a plain lzcnt instruction here. Note no
2166
- ;; special handling is required for zero inputs, because the machine
2167
- ;; instruction does what the CLIF expects for zero, i.e. it returns
2168
- ;; zero.
2169
- (rule 1 (do_clz ty orig_ty src)
2170
- (if-let $true (use_lzcnt))
2171
- (x64_lzcnt ty src))
2172
-
2173
- (rule 0 (do_clz ty orig_ty src)
2174
- (let ((highest_bit_index Reg (bsr_or_else ty src (imm_i64 $I64 -1)))
2175
- (bits_minus_1 Reg (imm ty (u64_sub (ty_bits_u64 orig_ty) 1))))
2176
- (x64_sub ty bits_minus_1 highest_bit_index)))
2177
-
2178
- ;; Rules for `ctz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2179
-
2180
- (rule 2 (lower (has_type (ty_32_or_64 ty) (ctz src)))
2181
- (do_ctz ty ty src))
2182
-
2183
- (rule 1 (lower (has_type (ty_8_or_16 ty) (ctz src)))
2184
- (let ((extended Gpr (extend_to_gpr src $I32 (ExtendKind.Zero)))
2185
- (stopbit Gpr (x64_or $I32 extended (RegMemImm.Imm (u32_shl 1 (ty_bits ty))))))
2186
- (do_ctz $I32 ty stopbit)))
2187
-
2188
- (rule 0 (lower
2189
- (has_type $I128
2190
- (ctz src)))
2191
- (let ((lower Gpr (do_ctz $I64 $I64 (value_regs_get_gpr src 0)))
2192
- (upper Gpr (x64_add $I64
2193
- (do_ctz $I64 $I64 (value_regs_get_gpr src 1))
2194
- (RegMemImm.Imm 64)))
2195
- (result_lo Gpr
2196
- (with_flags_reg
2197
- (x64_cmp_imm (OperandSize.Size64) lower 64)
2198
- (cmove $I64 (CC.Z) upper lower))))
2199
- (value_regs result_lo (imm $I64 0))))
2200
-
2201
- (decl do_ctz (Type Type Gpr) Gpr)
2202
-
2203
- ;; Analogous to `clz` cases above, but using mirror instructions
2204
- ;; (tzcnt vs lzcnt, bsf vs bsr).
2205
- (rule 1 (do_ctz ty orig_ty src)
2206
- (if-let $true (use_bmi1))
2207
- (x64_tzcnt ty src))
2208
-
2209
- (rule 0 (do_ctz ty orig_ty src)
2210
- (bsf_or_else ty src (imm $I64 (ty_bits_u64 orig_ty))))
2211
-
2212
- ;; Rules for `popcnt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2213
-
2214
- (rule 4 (lower (has_type (ty_32_or_64 ty) (popcnt src)))
2215
- (if-let $true (use_popcnt))
2216
- (x64_popcnt ty src))
2217
-
2218
- (rule 3 (lower (has_type (ty_8_or_16 ty) (popcnt src)))
2219
- (if-let $true (use_popcnt))
2220
- (x64_popcnt $I32 (extend_to_gpr src $I32 (ExtendKind.Zero))))
2221
-
2222
- (rule 1 (lower (has_type $I128 (popcnt src)))
2223
- (if-let $true (use_popcnt))
2224
- (let ((lo_count Gpr (x64_popcnt $I64 (value_regs_get_gpr src 0)))
2225
- (hi_count Gpr (x64_popcnt $I64 (value_regs_get_gpr src 1))))
2226
- (value_regs (x64_add $I64 lo_count hi_count) (imm $I64 0))))
2227
-
2228
- (rule -1 (lower
2229
- (has_type (ty_32_or_64 ty)
2230
- (popcnt src)))
2231
- (do_popcnt ty src))
2232
-
2233
- (rule -2 (lower
2234
- (has_type (ty_8_or_16 ty)
2235
- (popcnt src)))
2236
- (do_popcnt $I32 (extend_to_gpr src $I32 (ExtendKind.Zero))))
2237
-
2238
- (rule (lower
2239
- (has_type $I128
2240
- (popcnt src)))
2241
- (let ((lo_count Gpr (do_popcnt $I64 (value_regs_get_gpr src 0)))
2242
- (hi_count Gpr (do_popcnt $I64 (value_regs_get_gpr src 1))))
2243
- (value_regs (x64_add $I64 lo_count hi_count) (imm $I64 0))))
2244
-
2245
- ;; Implementation of popcount when we don't nave a native popcount
2246
- ;; instruction.
2247
- (decl do_popcnt (Type Gpr) Gpr)
2248
- (rule (do_popcnt $I64 src)
2249
- (let ((shifted1 Gpr (x64_shr $I64 src (Imm8Reg.Imm8 1)))
2250
- (sevens Gpr (imm $I64 0x7777777777777777))
2251
- (masked1 Gpr (x64_and $I64 shifted1 sevens))
2252
- ;; diff1 := src - ((src >> 1) & 0b0111_0111_0111...)
2253
- (diff1 Gpr (x64_sub $I64 src masked1))
2254
- (shifted2 Gpr (x64_shr $I64 masked1 (Imm8Reg.Imm8 1)))
2255
- (masked2 Gpr (x64_and $I64 shifted2 sevens))
2256
- ;; diff2 := diff1 - ((diff1 >> 1) & 0b0111_0111_0111...)
2257
- (diff2 Gpr (x64_sub $I64 diff1 masked2))
2258
- (shifted3 Gpr (x64_shr $I64 masked2 (Imm8Reg.Imm8 1)))
2259
- (masked3 Gpr (x64_and $I64 shifted3 sevens))
2260
- ;; diff3 := diff2 - ((diff2 >> 1) & 0b0111_0111_0111...)
2261
- ;;
2262
- ;; At this point, each nibble of diff3 is the popcount of
2263
- ;; that nibble. This works because at each step above, we
2264
- ;; are basically subtracting floor(value / 2) from the
2265
- ;; running value; the leftover remainder is 1 if the LSB
2266
- ;; was 1. After three steps, we have (nibble / 8) -- 0 or
2267
- ;; 1 for the MSB of the nibble -- plus three possible
2268
- ;; additions for the three other bits.
2269
- (diff3 Gpr (x64_sub $I64 diff2 masked3))
2270
- ;; Add the two nibbles of each byte together.
2271
- (sum1 Gpr (x64_add $I64
2272
- (x64_shr $I64 diff3 (Imm8Reg.Imm8 4))
2273
- diff3))
2274
- ;; Mask the above sum to have the popcount for each byte
2275
- ;; in the lower nibble of that byte.
2276
- (ofof Gpr (imm $I64 0x0f0f0f0f0f0f0f0f))
2277
- (masked4 Gpr (x64_and $I64 sum1 ofof))
2278
- (ones Gpr (imm $I64 0x0101010101010101))
2279
- ;; Use a multiply to sum all of the bytes' popcounts into
2280
- ;; the top byte. Consider the binomial expansion for the
2281
- ;; top byte: it is the sum of the bytes (masked4 >> 56) *
2282
- ;; 0x01 + (masked4 >> 48) * 0x01 + (masked4 >> 40) * 0x01
2283
- ;; + ... + (masked4 >> 0).
2284
- (mul Gpr (x64_imul $I64 masked4 ones))
2285
- ;; Now take that top byte and return it as the popcount.
2286
- (final Gpr (x64_shr $I64 mul (Imm8Reg.Imm8 56))))
2287
- final))
2288
-
2289
- ;; This is the 32-bit version of the above; the steps for each nibble
2290
- ;; are the same, we just use constants half as wide.
2291
- (rule (do_popcnt $I32 src)
2292
- (let ((shifted1 Gpr (x64_shr $I32 src (Imm8Reg.Imm8 1)))
2293
- (sevens Gpr (imm $I32 0x77777777))
2294
- (masked1 Gpr (x64_and $I32 shifted1 sevens))
2295
- (diff1 Gpr (x64_sub $I32 src masked1))
2296
- (shifted2 Gpr (x64_shr $I32 masked1 (Imm8Reg.Imm8 1)))
2297
- (masked2 Gpr (x64_and $I32 shifted2 sevens))
2298
- (diff2 Gpr (x64_sub $I32 diff1 masked2))
2299
- (shifted3 Gpr (x64_shr $I32 masked2 (Imm8Reg.Imm8 1)))
2300
- (masked3 Gpr (x64_and $I32 shifted3 sevens))
2301
- (diff3 Gpr (x64_sub $I32 diff2 masked3))
2302
- (sum1 Gpr (x64_add $I32
2303
- (x64_shr $I32 diff3 (Imm8Reg.Imm8 4))
2304
- diff3))
2305
- (masked4 Gpr (x64_and $I32 sum1 (RegMemImm.Imm 0x0f0f0f0f)))
2306
- (mul Gpr (x64_imul_imm $I32 masked4 0x01010101))
2307
- (final Gpr (x64_shr $I32 mul (Imm8Reg.Imm8 24))))
2308
- final))
2309
-
2310
-
2311
- (rule 2 (lower (has_type $I8X16 (popcnt src)))
2312
- (if-let $true (use_avx512vl))
2313
- (if-let $true (use_avx512bitalg))
2314
- (x64_vpopcntb src))
2315
-
2316
-
2317
- ;; For SSE 4.2 we use Mula's algorithm (https://arxiv.org/pdf/1611.07612.pdf):
2318
- ;;
2319
- ;; __m128i count_bytes ( __m128i v) {
2320
- ;; __m128i lookup = _mm_setr_epi8(0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4);
2321
- ;; __m128i low_mask = _mm_set1_epi8 (0x0f);
2322
- ;; __m128i lo = _mm_and_si128 (v, low_mask);
2323
- ;; __m128i hi = _mm_and_si128 (_mm_srli_epi16 (v, 4), low_mask);
2324
- ;; __m128i cnt1 = _mm_shuffle_epi8 (lookup, lo);
2325
- ;; __m128i cnt2 = _mm_shuffle_epi8 (lookup, hi);
2326
- ;; return _mm_add_epi8 (cnt1, cnt2);
2327
- ;; }
2328
- ;;
2329
- ;; Details of the above algorithm can be found in the reference noted above, but the basics
2330
- ;; are to create a lookup table that pre populates the popcnt values for each number [0,15].
2331
- ;; The algorithm uses shifts to isolate 4 bit sections of the vector, pshufb as part of the
2332
- ;; lookup process, and adds together the results.
2333
- ;;
2334
- ;; __m128i lookup = _mm_setr_epi8(0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4);
2335
-
2336
-
2337
- (rule 1 (lower (has_type $I8X16 (popcnt src)))
2338
- (if-let $true (use_ssse3))
2339
- (let ((low_mask XmmMem (emit_u128_le_const 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f))
2340
- (low_nibbles Xmm (sse_and $I8X16 src low_mask))
2341
- ;; Note that this is a 16x8 shift, but that's OK; we mask
2342
- ;; off anything that traverses from one byte to the next
2343
- ;; with the low_mask below.
2344
- (shifted_src Xmm (x64_psrlw src (xmi_imm 4)))
2345
- (high_nibbles Xmm (sse_and $I8X16 shifted_src low_mask))
2346
- (lookup Xmm (x64_xmm_load_const $I8X16
2347
- (emit_u128_le_const 0x04030302_03020201_03020201_02010100)))
2348
- (bit_counts_low Xmm (x64_pshufb lookup low_nibbles))
2349
- (bit_counts_high Xmm (x64_pshufb lookup high_nibbles)))
2350
- (x64_paddb bit_counts_low bit_counts_high)))
2351
-
2352
- ;; A modified version of the popcnt method from Hacker's Delight.
2353
- (rule (lower (has_type $I8X16 (popcnt src)))
2354
- (let ((mask1 XmmMem (emit_u128_le_const 0x77777777777777777777777777777777))
2355
- (src Xmm src)
2356
- (shifted Xmm (x64_pand (x64_psrlq src (xmi_imm 1)) mask1))
2357
- (src Xmm (x64_psubb src shifted))
2358
- (shifted Xmm (x64_pand (x64_psrlq shifted (xmi_imm 1)) mask1))
2359
- (src Xmm (x64_psubb src shifted))
2360
- (shifted Xmm (x64_pand (x64_psrlq shifted (xmi_imm 1)) mask1))
2361
- (src Xmm (x64_psubb src shifted))
2362
- (src Xmm (x64_paddb src (x64_psrlw src (xmi_imm 4)))))
2363
- (x64_pand src (emit_u128_le_const 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f))))
2364
-
2365
- ;; Rules for `bitrev` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2366
-
2367
- (rule (lower (has_type $I8 (bitrev src)))
2368
- (do_bitrev8 $I32 src))
2369
-
2370
- (rule (lower (has_type $I16 (bitrev src)))
2371
- (do_bitrev16 $I32 src))
2372
-
2373
- (rule (lower (has_type $I32 (bitrev src)))
2374
- (do_bitrev32 $I32 src))
2375
-
2376
- (rule (lower (has_type $I64 (bitrev src)))
2377
- (do_bitrev64 $I64 src))
2378
-
2379
- (rule (lower (has_type $I128 (bitrev src)))
2380
- (value_regs
2381
- (do_bitrev64 $I64 (value_regs_get_gpr src 1))
2382
- (do_bitrev64 $I64 (value_regs_get_gpr src 0))))
2383
-
2384
- (decl do_bitrev8 (Type Gpr) Gpr)
2385
- (rule (do_bitrev8 ty src)
2386
- (let ((tymask u64 (ty_mask ty))
2387
- (mask1 Gpr (imm ty (u64_and tymask 0x5555555555555555)))
2388
- (lo1 Gpr (x64_and ty src mask1))
2389
- (hi1 Gpr (x64_and ty (x64_shr ty src (Imm8Reg.Imm8 1)) mask1))
2390
- (swap1 Gpr (x64_or ty
2391
- (x64_shl ty lo1 (Imm8Reg.Imm8 1))
2392
- hi1))
2393
- (mask2 Gpr (imm ty (u64_and tymask 0x3333333333333333)))
2394
- (lo2 Gpr (x64_and ty swap1 mask2))
2395
- (hi2 Gpr (x64_and ty (x64_shr ty swap1 (Imm8Reg.Imm8 2)) mask2))
2396
- (swap2 Gpr (x64_or ty
2397
- (x64_shl ty lo2 (Imm8Reg.Imm8 2))
2398
- hi2))
2399
- (mask4 Gpr (imm ty (u64_and tymask 0x0f0f0f0f0f0f0f0f)))
2400
- (lo4 Gpr (x64_and ty swap2 mask4))
2401
- (hi4 Gpr (x64_and ty (x64_shr ty swap2 (Imm8Reg.Imm8 4)) mask4))
2402
- (swap4 Gpr (x64_or ty
2403
- (x64_shl ty lo4 (Imm8Reg.Imm8 4))
2404
- hi4)))
2405
- swap4))
2406
-
2407
- (decl do_bitrev16 (Type Gpr) Gpr)
2408
- (rule (do_bitrev16 ty src)
2409
- (let ((src_ Gpr (do_bitrev8 ty src))
2410
- (tymask u64 (ty_mask ty))
2411
- (mask8 Gpr (imm ty (u64_and tymask 0x00ff00ff00ff00ff)))
2412
- (lo8 Gpr (x64_and ty src_ mask8))
2413
- (hi8 Gpr (x64_and ty (x64_shr ty src_ (Imm8Reg.Imm8 8)) mask8))
2414
- (swap8 Gpr (x64_or ty
2415
- (x64_shl ty lo8 (Imm8Reg.Imm8 8))
2416
- hi8)))
2417
- swap8))
2418
-
2419
- (decl do_bitrev32 (Type Gpr) Gpr)
2420
- (rule (do_bitrev32 ty src)
2421
- (let ((src_ Gpr (do_bitrev16 ty src))
2422
- (tymask u64 (ty_mask ty))
2423
- (mask16 Gpr (imm ty (u64_and tymask 0x0000ffff0000ffff)))
2424
- (lo16 Gpr (x64_and ty src_ mask16))
2425
- (hi16 Gpr (x64_and ty (x64_shr ty src_ (Imm8Reg.Imm8 16)) mask16))
2426
- (swap16 Gpr (x64_or ty
2427
- (x64_shl ty lo16 (Imm8Reg.Imm8 16))
2428
- hi16)))
2429
- swap16))
2430
-
2431
- (decl do_bitrev64 (Type Gpr) Gpr)
2432
- (rule (do_bitrev64 ty @ $I64 src)
2433
- (let ((src_ Gpr (do_bitrev32 ty src))
2434
- (mask32 Gpr (imm ty 0xffffffff))
2435
- (lo32 Gpr (x64_and ty src_ mask32))
2436
- (hi32 Gpr (x64_shr ty src_ (Imm8Reg.Imm8 32)))
2437
- (swap32 Gpr (x64_or ty
2438
- (x64_shl ty lo32 (Imm8Reg.Imm8 32))
2439
- hi32)))
2440
- swap32))
2441
-
2442
- ;; Rules for `bswap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2443
-
2444
- ;; x64 bswap instruction is only for 32- or 64-bit swaps
2445
- ;; implement the 16-bit swap as a rotl by 8
2446
- (rule (lower (has_type $I16 (bswap src)))
2447
- (x64_rotl $I16 src (Imm8Reg.Imm8 8)))
2448
-
2449
- (rule (lower (has_type $I32 (bswap src)))
2450
- (x64_bswap $I32 src))
2451
-
2452
- (rule (lower (has_type $I64 (bswap src)))
2453
- (x64_bswap $I64 src))
2454
-
2455
- (rule (lower (has_type $I128 (bswap src)))
2456
- (value_regs
2457
- (x64_bswap $I64 (value_regs_get_gpr src 1))
2458
- (x64_bswap $I64 (value_regs_get_gpr src 0))))
2459
-
2460
- ;; Rules for `is_null` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2461
-
2462
- ;; Null references are represented by the constant value `0`.
2463
- (rule (lower (is_null src @ (value_type $R64)))
2464
- (with_flags
2465
- (x64_cmp_imm (OperandSize.Size64) src 0)
2466
- (x64_setcc (CC.Z))))
2467
-
2468
- ;; Rules for `is_invalid` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2469
-
2470
- ;; Invalid references are represented by the constant value `-1`.
2471
- (rule (lower (is_invalid src @ (value_type $R64)))
2472
- (with_flags
2473
- (x64_cmp_imm (OperandSize.Size64) src 0xffffffff) ;; simm32 0xffff_ffff is sign-extended to -1.
2474
- (x64_setcc (CC.Z))))
2475
-
2476
-
2477
- ;; Rules for `uextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2478
-
2479
- ;; I{8,16,32,64} -> I128.
2480
- (rule (lower (has_type $I128 (uextend src)))
2481
- (value_regs (extend_to_gpr src $I64 (ExtendKind.Zero)) (imm $I64 0)))
2482
-
2483
- ;; I{8,16,32} -> I64.
2484
- (rule (lower (has_type $I64 (uextend src)))
2485
- (extend_to_gpr src $I64 (ExtendKind.Zero)))
2486
-
2487
- ;; I{8,16} -> I32
2488
- ;; I8 -> I16
2489
- (rule -1 (lower (has_type (fits_in_32 _) (uextend src)))
2490
- (extend_to_gpr src $I32 (ExtendKind.Zero)))
2491
-
2492
- ;; Rules for `sextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2493
-
2494
- ;; I{8,16,32} -> I128.
2495
- ;;
2496
- ;; Produce upper 64 bits sign-extended from lower 64: shift right by
2497
- ;; 63 bits to spread the sign bit across the result.
2498
- (rule (lower (has_type $I128 (sextend src)))
2499
- (let ((lo Gpr (extend_to_gpr src $I64 (ExtendKind.Sign)))
2500
- (hi Gpr (x64_sar $I64 lo (Imm8Reg.Imm8 63))))
2501
- (value_regs lo hi)))
2502
-
2503
- ;; I{8,16,32} -> I64.
2504
- (rule (lower (has_type $I64 (sextend src)))
2505
- (extend_to_gpr src $I64 (ExtendKind.Sign)))
2506
-
2507
- ;; I{8,16} -> I32
2508
- ;; I8 -> I16
2509
- (rule -1 (lower (has_type (fits_in_32 _) (sextend src)))
2510
- (extend_to_gpr src $I32 (ExtendKind.Sign)))
2511
-
2512
- ;; Rules for `ireduce` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2513
-
2514
- ;; T -> T is always a no-op, even I128 -> I128.
2515
- (rule (lower (has_type ty (ireduce src @ (value_type ty))))
2516
- src)
2517
-
2518
- ;; T -> I{64,32,16,8}: We can simply pass through the value: values
2519
- ;; are always stored with high bits undefined, so we can just leave
2520
- ;; them be.
2521
- (rule 1 (lower (has_type (fits_in_64 ty) (ireduce src)))
2522
- (value_regs_get_gpr src 0))
2523
-
2524
- ;; Rules for `debugtrap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2525
-
2526
- (rule (lower (debugtrap))
2527
- (side_effect (x64_hlt)))
2528
-
2529
- ;; Rules for `x86_pmaddubsw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2530
-
2531
- (rule (lower (has_type $I16X8 (x86_pmaddubsw x y)))
2532
- (if-let $true (use_ssse3))
2533
- (x64_pmaddubsw y x))
2534
-
2535
- ;; Rules for `fadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2536
-
2537
- (rule (lower (has_type $F32 (fadd x y)))
2538
- (x64_addss x y))
2539
- (rule (lower (has_type $F64 (fadd x y)))
2540
- (x64_addsd x y))
2541
- (rule (lower (has_type $F32X4 (fadd x y)))
2542
- (x64_addps x y))
2543
- (rule (lower (has_type $F64X2 (fadd x y)))
2544
- (x64_addpd x y))
2545
-
2546
- ;; The above rules automatically sink loads for rhs operands, so additionally
2547
- ;; add rules for sinking loads with lhs operands.
2548
- (rule 1 (lower (has_type $F32 (fadd (sinkable_load x) y)))
2549
- (x64_addss y x))
2550
- (rule 1 (lower (has_type $F64 (fadd (sinkable_load x) y)))
2551
- (x64_addsd y x))
2552
- (rule 1 (lower (has_type $F32X4 (fadd (sinkable_load x) y)))
2553
- (x64_addps y x))
2554
- (rule 1 (lower (has_type $F64X2 (fadd (sinkable_load x) y)))
2555
- (x64_addpd y x))
2556
-
2557
- ;; Rules for `fsub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2558
-
2559
- (rule (lower (has_type $F32 (fsub x y)))
2560
- (x64_subss x y))
2561
- (rule (lower (has_type $F64 (fsub x y)))
2562
- (x64_subsd x y))
2563
- (rule (lower (has_type $F32X4 (fsub x y)))
2564
- (x64_subps x y))
2565
- (rule (lower (has_type $F64X2 (fsub x y)))
2566
- (x64_subpd x y))
2567
-
2568
- ;; Rules for `fmul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2569
-
2570
- (rule (lower (has_type $F32 (fmul x y)))
2571
- (x64_mulss x y))
2572
- (rule (lower (has_type $F64 (fmul x y)))
2573
- (x64_mulsd x y))
2574
- (rule (lower (has_type $F32X4 (fmul x y)))
2575
- (x64_mulps x y))
2576
- (rule (lower (has_type $F64X2 (fmul x y)))
2577
- (x64_mulpd x y))
2578
-
2579
- ;; The above rules automatically sink loads for rhs operands, so additionally
2580
- ;; add rules for sinking loads with lhs operands.
2581
- (rule 1 (lower (has_type $F32 (fmul (sinkable_load x) y)))
2582
- (x64_mulss y x))
2583
- (rule 1 (lower (has_type $F64 (fmul (sinkable_load x) y)))
2584
- (x64_mulsd y x))
2585
- (rule 1 (lower (has_type $F32X4 (fmul (sinkable_load x) y)))
2586
- (x64_mulps y x))
2587
- (rule 1 (lower (has_type $F64X2 (fmul (sinkable_load x) y)))
2588
- (x64_mulpd y x))
2589
-
2590
- ;; Rules for `fdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2591
-
2592
- (rule (lower (has_type $F32 (fdiv x y)))
2593
- (x64_divss x y))
2594
- (rule (lower (has_type $F64 (fdiv x y)))
2595
- (x64_divsd x y))
2596
- (rule (lower (has_type $F32X4 (fdiv x y)))
2597
- (x64_divps x y))
2598
- (rule (lower (has_type $F64X2 (fdiv x y)))
2599
- (x64_divpd x y))
2600
-
2601
- ;; Rules for `sqrt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2602
- (rule (lower (has_type $F32 (sqrt x)))
2603
- (x64_sqrtss (xmm_zero $F32X4) x))
2604
- (rule (lower (has_type $F64 (sqrt x)))
2605
- (x64_sqrtsd (xmm_zero $F64X2) x))
2606
- (rule (lower (has_type $F32X4 (sqrt x)))
2607
- (x64_sqrtps x))
2608
- (rule (lower (has_type $F64X2 (sqrt x)))
2609
- (x64_sqrtpd x))
2610
-
2611
- ;; Rules for `fpromote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2612
- (rule (lower (has_type $F64 (fpromote x)))
2613
- (x64_cvtss2sd (xmm_zero $F64X2) x))
2614
-
2615
- ;; Rules for `fvpromote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2616
- (rule (lower (has_type $F64X2 (fvpromote_low x)))
2617
- (x64_cvtps2pd (put_in_xmm x)))
2618
-
2619
- ;; Rules for `fdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2620
- (rule (lower (has_type $F32 (fdemote x)))
2621
- (x64_cvtsd2ss (xmm_zero $F32X4) x))
2622
-
2623
- ;; Rules for `fvdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2624
- (rule (lower (has_type $F32X4 (fvdemote x)))
2625
- (x64_cvtpd2ps x))
2626
-
2627
- ;; Rules for `fmin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2628
-
2629
- (rule (lower (has_type $F32 (fmin x y)))
2630
- (xmm_min_max_seq $F32 $true x y))
2631
- (rule (lower (has_type $F64 (fmin x y)))
2632
- (xmm_min_max_seq $F64 $true x y))
2633
-
2634
- ;; Vector-typed version. We don't use single pseudoinstructions as
2635
- ;; above, because we don't need to generate a mini-CFG. Instead, we
2636
- ;; perform a branchless series of operations.
2637
- ;;
2638
- ;; We cannot simply use native min instructions (minps, minpd) because
2639
- ;; NaN handling is different per CLIF semantics than on
2640
- ;; x86. Specifically, if an argument is NaN, or the arguments are both
2641
- ;; zero but of opposite signs, then the x86 instruction always
2642
- ;; produces the second argument. However, per CLIF semantics, we
2643
- ;; require that fmin(NaN, _) = fmin(_, NaN) = NaN, and fmin(+0, -0) =
2644
- ;; fmin(-0, +0) = -0.
2645
-
2646
- (rule (lower (has_type $F32X4 (fmin x y)))
2647
- ;; Compute min(x, y) and min(y, x) with native
2648
- ;; instructions. These will differ in one of the edge cases
2649
- ;; above that we have to handle properly. (Conversely, if they
2650
- ;; don't differ, then the native instruction's answer is the
2651
- ;; right one per CLIF semantics.)
2652
- (let ((min1 Xmm (x64_minps x y))
2653
- (min2 Xmm (x64_minps y x))
2654
- ;; Compute the OR of the two. Note that NaNs have an
2655
- ;; exponent field of all-ones (0xFF for F32), so if either
2656
- ;; result is a NaN, this OR will be. And if either is a
2657
- ;; zero (which has an exponent of 0 and mantissa of 0),
2658
- ;; this captures a sign-bit of 1 (negative) if either
2659
- ;; input is negative.
2660
- ;;
2661
- ;; In the case where we don't have a +/-0 mismatch or
2662
- ;; NaNs, then `min1` and `min2` are equal and `min_or` is
2663
- ;; the correct minimum.
2664
- (min_or Xmm (x64_orps min1 min2))
2665
- ;; "compare unordered" produces a true mask (all ones) in
2666
- ;; a given lane if the min is a NaN. We use this to
2667
- ;; generate a mask to ensure quiet NaNs.
2668
- (is_nan_mask Xmm (x64_cmpps min_or min2 (FcmpImm.Unordered)))
2669
- ;; OR in the NaN mask.
2670
- (min_or_2 Xmm (x64_orps min_or is_nan_mask))
2671
- ;; Shift the NaN mask down so that it covers just the
2672
- ;; fraction below the NaN signalling bit; we'll use this
2673
- ;; to mask off non-canonical NaN payloads.
2674
- ;;
2675
- ;; All-ones for NaN, shifted down to leave 10 top bits (1
2676
- ;; sign, 8 exponent, 1 QNaN bit that must remain set)
2677
- ;; cleared.
2678
- (nan_fraction_mask Xmm (x64_psrld is_nan_mask (xmi_imm 10)))
2679
- ;; Do a NAND, so that we retain every bit not set in
2680
- ;; `nan_fraction_mask`. This mask will be all zeroes (so
2681
- ;; we retain every bit) in non-NaN cases, and will have
2682
- ;; ones (so we clear those bits) in NaN-payload bits
2683
- ;; otherwise.
2684
- (final Xmm (x64_andnps nan_fraction_mask min_or_2)))
2685
- final))
2686
-
2687
- ;; Likewise for F64 lanes, except that the right-shift is by 13 bits
2688
- ;; (1 sign, 11 exponent, 1 QNaN bit).
2689
- (rule (lower (has_type $F64X2 (fmin x y)))
2690
- (let ((min1 Xmm (x64_minpd x y))
2691
- (min2 Xmm (x64_minpd y x))
2692
- (min_or Xmm (x64_orpd min1 min2))
2693
- (is_nan_mask Xmm (x64_cmppd min1 min2 (FcmpImm.Unordered)))
2694
- (min_or_2 Xmm (x64_orpd min_or is_nan_mask))
2695
- (nan_fraction_mask Xmm (x64_psrlq is_nan_mask (xmi_imm 13)))
2696
- (final Xmm (x64_andnpd nan_fraction_mask min_or_2)))
2697
- final))
2698
-
2699
- ;; Rules for `fmax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2700
-
2701
- (rule (lower (has_type $F32 (fmax x y)))
2702
- (xmm_min_max_seq $F32 $false x y))
2703
- (rule (lower (has_type $F64 (fmax x y)))
2704
- (xmm_min_max_seq $F64 $false x y))
2705
-
2706
- ;; The vector version of fmax here is a dual to the fmin sequence
2707
- ;; above, almost, with a few differences.
2708
-
2709
- (rule (lower (has_type $F32X4 (fmax x y)))
2710
- ;; Compute max(x, y) and max(y, x) with native
2711
- ;; instructions. These will differ in one of the edge cases
2712
- ;; above that we have to handle properly. (Conversely, if they
2713
- ;; don't differ, then the native instruction's answer is the
2714
- ;; right one per CLIF semantics.)
2715
- (let ((max1 Xmm (x64_maxps x y))
2716
- (max2 Xmm (x64_maxps y x))
2717
- ;; Compute the XOR of the two maxima. In the case
2718
- ;; where we don't have a +/-0 mismatch or NaNs, then
2719
- ;; `min1` and `min2` are equal and this XOR is zero.
2720
- (max_xor Xmm (x64_xorps max1 max2))
2721
- ;; OR the XOR into one of the original maxima. If they are
2722
- ;; equal, this does nothing. If max2 was NaN, its exponent
2723
- ;; bits were all-ones, so the xor's exponent bits were the
2724
- ;; complement of max1, and the OR of max1 and max_xor has
2725
- ;; an all-ones exponent (is a NaN). If max1 was NaN, then
2726
- ;; its exponent bits were already all-ones, so the OR will
2727
- ;; be a NaN as well.
2728
- (max_blended_nan Xmm (x64_orps max1 max_xor))
2729
- ;; Subtract the XOR. This ensures that if we had +0 and
2730
- ;; -0, we end up with +0.
2731
- (max_blended_nan_positive Xmm (x64_subps max_blended_nan max_xor))
2732
- ;; "compare unordered" produces a true mask (all ones) in
2733
- ;; a given lane if the min is a NaN. We use this to
2734
- ;; generate a mask to ensure quiet NaNs.
2735
- (is_nan_mask Xmm (x64_cmpps max_blended_nan max_blended_nan (FcmpImm.Unordered)))
2736
- ;; Shift the NaN mask down so that it covers just the
2737
- ;; fraction below the NaN signalling bit; we'll use this
2738
- ;; to mask off non-canonical NaN payloads.
2739
- ;;
2740
- ;; All-ones for NaN, shifted down to leave 10 top bits (1
2741
- ;; sign, 8 exponent, 1 QNaN bit that must remain set)
2742
- ;; cleared.
2743
- (nan_fraction_mask Xmm (x64_psrld is_nan_mask (xmi_imm 10)))
2744
- ;; Do a NAND, so that we retain every bit not set in
2745
- ;; `nan_fraction_mask`. This mask will be all zeroes (so
2746
- ;; we retain every bit) in non-NaN cases, and will have
2747
- ;; ones (so we clear those bits) in NaN-payload bits
2748
- ;; otherwise.
2749
- (final Xmm (x64_andnps nan_fraction_mask max_blended_nan_positive)))
2750
- final))
2751
-
2752
- (rule (lower (has_type $F64X2 (fmax x y)))
2753
- ;; Compute max(x, y) and max(y, x) with native
2754
- ;; instructions. These will differ in one of the edge cases
2755
- ;; above that we have to handle properly. (Conversely, if they
2756
- ;; don't differ, then the native instruction's answer is the
2757
- ;; right one per CLIF semantics.)
2758
- (let ((max1 Xmm (x64_maxpd x y))
2759
- (max2 Xmm (x64_maxpd y x))
2760
- ;; Compute the XOR of the two maxima. In the case
2761
- ;; where we don't have a +/-0 mismatch or NaNs, then
2762
- ;; `min1` and `min2` are equal and this XOR is zero.
2763
- (max_xor Xmm (x64_xorpd max1 max2))
2764
- ;; OR the XOR into one of the original maxima. If they are
2765
- ;; equal, this does nothing. If max2 was NaN, its exponent
2766
- ;; bits were all-ones, so the xor's exponent bits were the
2767
- ;; complement of max1, and the OR of max1 and max_xor has
2768
- ;; an all-ones exponent (is a NaN). If max1 was NaN, then
2769
- ;; its exponent bits were already all-ones, so the OR will
2770
- ;; be a NaN as well.
2771
- (max_blended_nan Xmm (x64_orpd max1 max_xor))
2772
- ;; Subtract the XOR. This ensures that if we had +0 and
2773
- ;; -0, we end up with +0.
2774
- (max_blended_nan_positive Xmm (x64_subpd max_blended_nan max_xor))
2775
- ;; `cmpps` with predicate index `3` is `cmpunordps`, or
2776
- ;; "compare unordered": it produces a true mask (all ones)
2777
- ;; in a given lane if the min is a NaN. We use this to
2778
- ;; generate a mask to ensure quiet NaNs.
2779
- (is_nan_mask Xmm (x64_cmppd max_blended_nan max_blended_nan (FcmpImm.Unordered)))
2780
- ;; Shift the NaN mask down so that it covers just the
2781
- ;; fraction below the NaN signalling bit; we'll use this
2782
- ;; to mask off non-canonical NaN payloads.
2783
- ;;
2784
- ;; All-ones for NaN, shifted down to leave 13 top bits (1
2785
- ;; sign, 11 exponent, 1 QNaN bit that must remain set)
2786
- ;; cleared.
2787
- (nan_fraction_mask Xmm (x64_psrlq is_nan_mask (xmi_imm 13)))
2788
- ;; Do a NAND, so that we retain every bit not set in
2789
- ;; `nan_fraction_mask`. This mask will be all zeroes (so
2790
- ;; we retain every bit) in non-NaN cases, and will have
2791
- ;; ones (so we clear those bits) in NaN-payload bits
2792
- ;; otherwise.
2793
- (final Xmm (x64_andnpd nan_fraction_mask max_blended_nan_positive)))
2794
- final))
2795
-
2796
- ;; Rules for `fma` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2797
-
2798
- ;; Base case for fma is to call out to one of two libcalls. For vectors they
2799
- ;; need to be decomposed, handle each element individually, and then recomposed.
2800
-
2801
- (rule (lower (has_type $F32 (fma x y z)))
2802
- (libcall_3 (LibCall.FmaF32) x y z))
2803
- (rule (lower (has_type $F64 (fma x y z)))
2804
- (libcall_3 (LibCall.FmaF64) x y z))
2805
-
2806
- (rule (lower (has_type $F32X4 (fma x y z)))
2807
- (let (
2808
- (x Xmm (put_in_xmm x))
2809
- (y Xmm (put_in_xmm y))
2810
- (z Xmm (put_in_xmm z))
2811
- (x0 Xmm (libcall_3 (LibCall.FmaF32) x y z))
2812
- (x1 Xmm (libcall_3 (LibCall.FmaF32)
2813
- (x64_pshufd x 1)
2814
- (x64_pshufd y 1)
2815
- (x64_pshufd z 1)))
2816
- (x2 Xmm (libcall_3 (LibCall.FmaF32)
2817
- (x64_pshufd x 2)
2818
- (x64_pshufd y 2)
2819
- (x64_pshufd z 2)))
2820
- (x3 Xmm (libcall_3 (LibCall.FmaF32)
2821
- (x64_pshufd x 3)
2822
- (x64_pshufd y 3)
2823
- (x64_pshufd z 3)))
2824
-
2825
- (tmp Xmm (f32x4_insertlane x0 x1 1))
2826
- (tmp Xmm (f32x4_insertlane tmp x2 2))
2827
- (tmp Xmm (f32x4_insertlane tmp x3 3))
2828
- )
2829
- tmp))
2830
- (rule (lower (has_type $F64X2 (fma x y z)))
2831
- (let (
2832
- (x Xmm (put_in_xmm x))
2833
- (y Xmm (put_in_xmm y))
2834
- (z Xmm (put_in_xmm z))
2835
- (x0 Xmm (libcall_3 (LibCall.FmaF64) x y z))
2836
- (x1 Xmm (libcall_3 (LibCall.FmaF64)
2837
- (x64_pshufd x 0xee)
2838
- (x64_pshufd y 0xee)
2839
- (x64_pshufd z 0xee)))
2840
- )
2841
- (x64_movlhps x0 x1)))
2842
-
2843
-
2844
- ;; Special case for when the `fma` feature is active and a native instruction
2845
- ;; can be used.
2846
- (rule 1 (lower (has_type ty (fma x y z)))
2847
- (if-let $true (use_fma))
2848
- (fmadd ty x y z))
2849
-
2850
- (decl fmadd (Type Value Value Value) Xmm)
2851
- (decl fnmadd (Type Value Value Value) Xmm)
2852
-
2853
- ;; Base case. Note that this will automatically sink a load with `z`, the value
2854
- ;; to add.
2855
- (rule (fmadd ty x y z) (x64_vfmadd213 ty x y z))
2856
-
2857
- ;; Allow sinking loads with one of the two values being multiplied in addition
2858
- ;; to the value being added. Note that both x and y can be sunk here due to
2859
- ;; multiplication being commutative.
2860
- (rule 1 (fmadd ty (sinkable_load x) y z) (x64_vfmadd132 ty y z x))
2861
- (rule 2 (fmadd ty x (sinkable_load y) z) (x64_vfmadd132 ty x z y))
2862
-
2863
- ;; If one of the values being multiplied is negated then use a `vfnmadd*`
2864
- ;; instruction instead
2865
- (rule 3 (fmadd ty (fneg x) y z) (fnmadd ty x y z))
2866
- (rule 4 (fmadd ty x (fneg y) z) (fnmadd ty x y z))
2867
-
2868
- (rule (fnmadd ty x y z) (x64_vfnmadd213 ty x y z))
2869
- (rule 1 (fnmadd ty (sinkable_load x) y z) (x64_vfnmadd132 ty y z x))
2870
- (rule 2 (fnmadd ty x (sinkable_load y) z) (x64_vfnmadd132 ty x z y))
2871
-
2872
- ;; Like `fmadd` if one argument is negated switch which one is being codegen'd
2873
- (rule 3 (fnmadd ty (fneg x) y z) (fmadd ty x y z))
2874
- (rule 4 (fnmadd ty x (fneg y) z) (fmadd ty x y z))
2875
-
2876
-
2877
- (rule 2 (lower (has_type ty (fma x y (fneg z))))
2878
- (if-let $true (use_fma))
2879
- (fmsub ty x y z))
2880
-
2881
- ;; fmsub and fnmsub
2882
- (decl fmsub (Type Value Value Value) Xmm)
2883
- (decl fnmsub (Type Value Value Value) Xmm)
2884
-
2885
- ;; Base case, will sink a load of `z` automatically.
2886
- (rule (fmsub ty x y z) (x64_vfmsub213 ty x y z))
2887
-
2888
- ;; Allow sinking loads with one of the two values being multiplied in addition
2889
- ;; to the value being subtracted. Note that both x and y can be sunk here due to
2890
- ;; multiplication being commutative.
2891
- (rule 1 (fmsub ty (sinkable_load x) y z) (x64_vfmsub132 ty y z x))
2892
- (rule 2 (fmsub ty x (sinkable_load y) z) (x64_vfmsub132 ty x z y))
2893
-
2894
- ;; If one of the values being multiplied is negated then use a `vfnmsub*`
2895
- ;; instruction instead
2896
- (rule 3 (fmsub ty (fneg x) y z) (fnmsub ty x y z))
2897
- (rule 4 (fmsub ty x (fneg y) z) (fnmsub ty x y z))
2898
-
2899
- (rule (fnmsub ty x y z) (x64_vfnmsub213 ty x y z))
2900
- (rule 1 (fnmsub ty (sinkable_load x) y z) (x64_vfnmsub132 ty y z x))
2901
- (rule 2 (fnmsub ty x (sinkable_load y) z) (x64_vfnmsub132 ty x z y))
2902
-
2903
- ;; Like `fmsub` if one argument is negated switch which one is being codegen'd
2904
- (rule 3 (fnmsub ty (fneg x) y z) (fmsub ty x y z))
2905
- (rule 4 (fnmsub ty x (fneg y) z) (fmsub ty x y z))
2906
-
2907
-
2908
- ;; Rules for `load*` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2909
-
2910
- ;; In order to load a value from memory to a GPR register, we may need to extend
2911
- ;; the loaded value from 8-, 16-, or 32-bits to this backend's expected GPR
2912
- ;; width: 64 bits. Note that `ext_mode` will load 1-bit types (booleans) as
2913
- ;; 8-bit loads.
2914
- ;;
2915
- ;; By default, we zero-extend all sub-64-bit loads to a GPR.
2916
- (rule -4 (lower (has_type (and (fits_in_32 ty) (is_gpr_type _)) (load flags address offset)))
2917
- (x64_movzx (ext_mode (ty_bits_u16 ty) 64) (to_amode flags address offset)))
2918
- ;; But if we know that both the `from` and `to` are 64 bits, we simply load with
2919
- ;; no extension.
2920
- (rule -1 (lower (has_type (ty_int_ref_64 ty) (load flags address offset)))
2921
- (x64_mov (to_amode flags address offset)))
2922
- ;; Also, certain scalar loads have a specific `from` width and extension kind
2923
- ;; (signed -> `sx`, zeroed -> `zx`). We overwrite the high bits of the 64-bit
2924
- ;; GPR even if the `to` type is smaller (e.g., 16-bits).
2925
- (rule (lower (has_type (is_gpr_type ty) (uload8 flags address offset)))
2926
- (x64_movzx (ExtMode.BQ) (to_amode flags address offset)))
2927
- (rule (lower (has_type (is_gpr_type ty) (sload8 flags address offset)))
2928
- (x64_movsx (ExtMode.BQ) (to_amode flags address offset)))
2929
- (rule (lower (has_type (is_gpr_type ty) (uload16 flags address offset)))
2930
- (x64_movzx (ExtMode.WQ) (to_amode flags address offset)))
2931
- (rule (lower (has_type (is_gpr_type ty) (sload16 flags address offset)))
2932
- (x64_movsx (ExtMode.WQ) (to_amode flags address offset)))
2933
- (rule (lower (has_type (is_gpr_type ty) (uload32 flags address offset)))
2934
- (x64_movzx (ExtMode.LQ) (to_amode flags address offset)))
2935
- (rule (lower (has_type (is_gpr_type ty) (sload32 flags address offset)))
2936
- (x64_movsx (ExtMode.LQ) (to_amode flags address offset)))
2937
-
2938
- ;; To load to XMM registers, we use the x64-specific instructions for each type.
2939
- ;; For `$F32` and `$F64` this is important--we only want to load 32 or 64 bits.
2940
- ;; But for the 128-bit types, this is not strictly necessary for performance but
2941
- ;; might help with clarity during disassembly.
2942
- (rule (lower (has_type $F16 (load flags address offset)))
2943
- (x64_pinsrw (xmm_uninit_value) (to_amode flags address offset) 0))
2944
- (rule (lower (has_type $F32 (load flags address offset)))
2945
- (x64_movss_load (to_amode flags address offset)))
2946
- (rule (lower (has_type $F64 (load flags address offset)))
2947
- (x64_movsd_load (to_amode flags address offset)))
2948
- (rule (lower (has_type $F128 (load flags address offset)))
2949
- (x64_movdqu_load (to_amode flags address offset)))
2950
- (rule (lower (has_type $F32X4 (load flags address offset)))
2951
- (x64_movups_load (to_amode flags address offset)))
2952
- (rule (lower (has_type $F64X2 (load flags address offset)))
2953
- (x64_movupd_load (to_amode flags address offset)))
2954
- (rule -2 (lower (has_type (ty_vec128 ty) (load flags address offset)))
2955
- (x64_movdqu_load (to_amode flags address offset)))
2956
-
2957
- ;; We can load an I128 by doing two 64-bit loads.
2958
- (rule -3 (lower (has_type $I128
2959
- (load flags address offset)))
2960
- (let ((addr_lo Amode (to_amode flags address offset))
2961
- (addr_hi Amode (amode_offset addr_lo 8))
2962
- (value_lo Reg (x64_mov addr_lo))
2963
- (value_hi Reg (x64_mov addr_hi)))
2964
- (value_regs value_lo value_hi)))
2965
-
2966
- ;; We also include widening vector loads; these sign- or zero-extend each lane
2967
- ;; to the next wider width (e.g., 16x4 -> 32x4).
2968
- (rule 1 (lower (has_type $I16X8 (sload8x8 flags address offset)))
2969
- (if-let $true (use_sse41))
2970
- (x64_pmovsxbw (to_amode flags address offset)))
2971
- (rule 1 (lower (has_type $I16X8 (uload8x8 flags address offset)))
2972
- (if-let $true (use_sse41))
2973
- (x64_pmovzxbw (to_amode flags address offset)))
2974
- (rule 1 (lower (has_type $I32X4 (sload16x4 flags address offset)))
2975
- (if-let $true (use_sse41))
2976
- (x64_pmovsxwd (to_amode flags address offset)))
2977
- (rule 1 (lower (has_type $I32X4 (uload16x4 flags address offset)))
2978
- (if-let $true (use_sse41))
2979
- (x64_pmovzxwd (to_amode flags address offset)))
2980
- (rule 1 (lower (has_type $I64X2 (sload32x2 flags address offset)))
2981
- (if-let $true (use_sse41))
2982
- (x64_pmovsxdq (to_amode flags address offset)))
2983
- (rule 1 (lower (has_type $I64X2 (uload32x2 flags address offset)))
2984
- (if-let $true (use_sse41))
2985
- (x64_pmovzxdq (to_amode flags address offset)))
2986
-
2987
- (rule (lower (has_type $I16X8 (sload8x8 flags address offset)))
2988
- (lower_swiden_low $I16X8 (x64_movq_to_xmm (to_amode flags address offset))))
2989
- (rule (lower (has_type $I16X8 (uload8x8 flags address offset)))
2990
- (lower_uwiden_low $I16X8 (x64_movq_to_xmm (to_amode flags address offset))))
2991
- (rule (lower (has_type $I32X4 (sload16x4 flags address offset)))
2992
- (lower_swiden_low $I32X4 (x64_movq_to_xmm (to_amode flags address offset))))
2993
- (rule (lower (has_type $I32X4 (uload16x4 flags address offset)))
2994
- (lower_uwiden_low $I32X4 (x64_movq_to_xmm (to_amode flags address offset))))
2995
- (rule (lower (has_type $I64X2 (sload32x2 flags address offset)))
2996
- (lower_swiden_low $I64X2 (x64_movq_to_xmm (to_amode flags address offset))))
2997
- (rule (lower (has_type $I64X2 (uload32x2 flags address offset)))
2998
- (lower_uwiden_low $I64X2 (x64_movq_to_xmm (to_amode flags address offset))))
2999
-
3000
- ;; Rules for `store*` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3001
-
3002
- ;; 8-, 16-, 32- and 64-bit GPR stores.
3003
- (rule -2 (lower (store flags
3004
- value @ (value_type (is_gpr_type ty))
3005
- address
3006
- offset))
3007
- (side_effect
3008
- (x64_movrm ty (to_amode flags address offset) value)))
3009
-
3010
- ;; Explicit 8/16/32-bit opcodes.
3011
- (rule (lower (istore8 flags value address offset))
3012
- (side_effect
3013
- (x64_movrm $I8 (to_amode flags address offset) value)))
3014
- (rule (lower (istore16 flags value address offset))
3015
- (side_effect
3016
- (x64_movrm $I16 (to_amode flags address offset) value)))
3017
- (rule (lower (istore32 flags value address offset))
3018
- (side_effect
3019
- (x64_movrm $I32 (to_amode flags address offset) value)))
3020
-
3021
- ;; IMM stores
3022
- (rule 4 (lower (store flags value @ (value_type (fits_in_64 ty)) address offset))
3023
- (if-let (i32_from_iconst imm) value)
3024
- (side_effect
3025
- (x64_movimm_m ty (to_amode flags address offset) imm)))
3026
-
3027
- ;; F16 stores of values in XMM registers.
3028
- (rule 0 (lower (store flags
3029
- value @ (value_type $F16)
3030
- address
3031
- offset))
3032
- (side_effect
3033
- (x64_movrm $I16 (to_amode flags address offset) (bitcast_xmm_to_gpr 16 value))))
3034
-
3035
- (rule 1 (lower (store flags
3036
- value @ (value_type $F16)
3037
- address
3038
- offset))
3039
- (if-let $true (use_sse41))
3040
- (side_effect
3041
- (x64_pextrw_store (to_amode flags address offset) value 0)))
3042
-
3043
- ;; F32 stores of values in XMM registers.
3044
- (rule 1 (lower (store flags
3045
- value @ (value_type $F32)
3046
- address
3047
- offset))
3048
- (side_effect
3049
- (x64_movss_store (to_amode flags address offset) value)))
3050
-
3051
- ;; F64 stores of values in XMM registers.
3052
- (rule 1 (lower (store flags
3053
- value @ (value_type $F64)
3054
- address
3055
- offset))
3056
- (side_effect
3057
- (x64_movsd_store (to_amode flags address offset) value)))
3058
-
3059
- ;; F128 stores of values in XMM registers.
3060
- (rule 1 (lower (store flags
3061
- value @ (value_type $F128)
3062
- address
3063
- offset))
3064
- (side_effect
3065
- (x64_movdqu_store (to_amode flags address offset) value)))
3066
-
3067
- ;; Stores of F32X4 vectors.
3068
- (rule 1 (lower (store flags
3069
- value @ (value_type $F32X4)
3070
- address
3071
- offset))
3072
- (side_effect
3073
- (x64_movups_store (to_amode flags address offset) value)))
3074
-
3075
- ;; Stores of F64X2 vectors.
3076
- (rule 1 (lower (store flags
3077
- value @ (value_type $F64X2)
3078
- address
3079
- offset))
3080
- (side_effect
3081
- (x64_movupd_store (to_amode flags address offset) value)))
3082
-
3083
- ;; Stores of all other 128-bit vector types with integer lanes.
3084
- (rule -1 (lower (store flags
3085
- value @ (value_type (ty_vec128_int _))
3086
- address
3087
- offset))
3088
- (side_effect
3089
- (x64_movdqu_store (to_amode flags address offset) value)))
3090
-
3091
- ;; Stores of I128 values: store the two 64-bit halves separately.
3092
- (rule 0 (lower (store flags
3093
- value @ (value_type $I128)
3094
- address
3095
- offset))
3096
- (let ((value_reg ValueRegs value)
3097
- (value_lo Gpr (value_regs_get_gpr value_reg 0))
3098
- (value_hi Gpr (value_regs_get_gpr value_reg 1))
3099
- (addr_lo Amode (to_amode flags address offset))
3100
- (addr_hi Amode (amode_offset addr_lo 8)))
3101
- (side_effect
3102
- (side_effect_concat
3103
- (x64_movrm $I64 addr_lo value_lo)
3104
- (x64_movrm $I64 addr_hi value_hi)))))
3105
-
3106
- ;; Slightly optimize the extraction of the first lane from a vector which is
3107
- ;; stored in memory. In the case the first lane specifically is selected the
3108
- ;; standard `movss` and `movsd` instructions can be used as-if we're storing a
3109
- ;; f32 or f64 despite the source perhaps being an integer vector since the
3110
- ;; result of the instruction is the same.
3111
- (rule 2 (lower (store flags
3112
- (has_type $F32 (extractlane value (u8_from_uimm8 0)))
3113
- address
3114
- offset))
3115
- (side_effect
3116
- (x64_movss_store (to_amode flags address offset) value)))
3117
- (rule 2 (lower (store flags
3118
- (has_type $F64 (extractlane value (u8_from_uimm8 0)))
3119
- address
3120
- offset))
3121
- (side_effect
3122
- (x64_movsd_store (to_amode flags address offset) value)))
3123
- (rule 2 (lower (store flags
3124
- (has_type $I8 (extractlane value (u8_from_uimm8 n)))
3125
- address
3126
- offset))
3127
- (if-let $true (use_sse41))
3128
- (side_effect
3129
- (x64_pextrb_store (to_amode flags address offset) value n)))
3130
- (rule 2 (lower (store flags
3131
- (has_type $I16 (extractlane value (u8_from_uimm8 n)))
3132
- address
3133
- offset))
3134
- (if-let $true (use_sse41))
3135
- (side_effect
3136
- (x64_pextrw_store (to_amode flags address offset) value n)))
3137
- (rule 2 (lower (store flags
3138
- (has_type $I32 (extractlane value (u8_from_uimm8 n)))
3139
- address
3140
- offset))
3141
- (if-let $true (use_sse41))
3142
- (side_effect
3143
- (x64_pextrd_store (to_amode flags address offset) value n)))
3144
- (rule 2 (lower (store flags
3145
- (has_type $I64 (extractlane value (u8_from_uimm8 n)))
3146
- address
3147
- offset))
3148
- (if-let $true (use_sse41))
3149
- (side_effect
3150
- (x64_pextrq_store (to_amode flags address offset) value n)))
3151
-
3152
- ;; Rules for `load*` + ALU op + `store*` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3153
-
3154
- ;; Add mem, reg
3155
- (rule 3 (lower
3156
- (store flags
3157
- (has_type (ty_32_or_64 ty)
3158
- (iadd (and
3159
- (sinkable_load sink)
3160
- (load flags addr offset))
3161
- src2))
3162
- addr
3163
- offset))
3164
- (let ((_ RegMemImm sink))
3165
- (side_effect
3166
- (x64_add_mem ty (to_amode flags addr offset) src2))))
3167
-
3168
- ;; Add mem, reg with args swapped
3169
- (rule 2 (lower
3170
- (store flags
3171
- (has_type (ty_32_or_64 ty)
3172
- (iadd src2
3173
- (and
3174
- (sinkable_load sink)
3175
- (load flags addr offset))))
3176
- addr
3177
- offset))
3178
- (let ((_ RegMemImm sink))
3179
- (side_effect
3180
- (x64_add_mem ty (to_amode flags addr offset) src2))))
3181
-
3182
- ;; Sub mem, reg
3183
- (rule 2 (lower
3184
- (store flags
3185
- (has_type (ty_32_or_64 ty)
3186
- (isub (and
3187
- (sinkable_load sink)
3188
- (load flags addr offset))
3189
- src2))
3190
- addr
3191
- offset))
3192
- (let ((_ RegMemImm sink))
3193
- (side_effect
3194
- (x64_sub_mem ty (to_amode flags addr offset) src2))))
3195
-
3196
- ;; And mem, reg
3197
- (rule 3 (lower
3198
- (store flags
3199
- (has_type (ty_32_or_64 ty)
3200
- (band (and
3201
- (sinkable_load sink)
3202
- (load flags addr offset))
3203
- src2))
3204
- addr
3205
- offset))
3206
- (let ((_ RegMemImm sink))
3207
- (side_effect
3208
- (x64_and_mem ty (to_amode flags addr offset) src2))))
3209
-
3210
- ;; And mem, reg with args swapped
3211
- (rule 2 (lower
3212
- (store flags
3213
- (has_type (ty_32_or_64 ty)
3214
- (band src2
3215
- (and
3216
- (sinkable_load sink)
3217
- (load flags addr offset))))
3218
- addr
3219
- offset))
3220
- (let ((_ RegMemImm sink))
3221
- (side_effect
3222
- (x64_and_mem ty (to_amode flags addr offset) src2))))
3223
-
3224
- ;; Or mem, reg
3225
- (rule 3 (lower
3226
- (store flags
3227
- (has_type (ty_32_or_64 ty)
3228
- (bor (and
3229
- (sinkable_load sink)
3230
- (load flags addr offset))
3231
- src2))
3232
- addr
3233
- offset))
3234
- (let ((_ RegMemImm sink))
3235
- (side_effect
3236
- (x64_or_mem ty (to_amode flags addr offset) src2))))
3237
-
3238
- ;; Or mem, reg with args swapped
3239
- (rule 2 (lower
3240
- (store flags
3241
- (has_type (ty_32_or_64 ty)
3242
- (bor src2
3243
- (and
3244
- (sinkable_load sink)
3245
- (load flags addr offset))))
3246
- addr
3247
- offset))
3248
- (let ((_ RegMemImm sink))
3249
- (side_effect
3250
- (x64_or_mem ty (to_amode flags addr offset) src2))))
3251
-
3252
- ;; Xor mem, reg
3253
- (rule 3 (lower
3254
- (store flags
3255
- (has_type (ty_32_or_64 ty)
3256
- (bxor (and
3257
- (sinkable_load sink)
3258
- (load flags addr offset))
3259
- src2))
3260
- addr
3261
- offset))
3262
- (let ((_ RegMemImm sink))
3263
- (side_effect
3264
- (x64_xor_mem ty (to_amode flags addr offset) src2))))
3265
-
3266
- ;; Xor mem, reg with args swapped
3267
- (rule 2 (lower
3268
- (store flags
3269
- (has_type (ty_32_or_64 ty)
3270
- (bxor src2
3271
- (and
3272
- (sinkable_load sink)
3273
- (load flags addr offset))))
3274
- addr
3275
- offset))
3276
- (let ((_ RegMemImm sink))
3277
- (side_effect
3278
- (x64_xor_mem ty (to_amode flags addr offset) src2))))
3279
-
3280
- ;; Rules for `fence` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3281
-
3282
- (rule (lower (fence))
3283
- (side_effect (x64_mfence)))
3284
-
3285
- ;; Rules for `func_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3286
-
3287
- (rule (lower (func_addr (func_ref_data _ extname dist)))
3288
- (load_ext_name extname 0 dist))
3289
-
3290
- ;; Rules for `symbol_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3291
-
3292
- (rule (lower (symbol_value (symbol_value_data extname dist offset)))
3293
- (load_ext_name extname offset dist))
3294
-
3295
- ;; Rules for `atomic_load` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3296
-
3297
- ;; This is a normal load. The x86-TSO memory model provides sufficient
3298
- ;; sequencing to satisfy the CLIF synchronisation requirements for `AtomicLoad`
3299
- ;; without the need for any fence instructions.
3300
- ;;
3301
- ;; As described in the `atomic_load` documentation, this lowering is only valid
3302
- ;; for I8, I16, I32, and I64. The sub-64-bit types are zero extended, as with a
3303
- ;; normal load.
3304
- (rule 1 (lower (has_type $I64 (atomic_load flags address)))
3305
- (x64_mov (to_amode flags address (zero_offset))))
3306
- (rule (lower (has_type (and (fits_in_32 ty) (ty_int _)) (atomic_load flags address)))
3307
- (x64_movzx (ext_mode (ty_bits_u16 ty) 64) (to_amode flags address (zero_offset))))
3308
-
3309
- ;; Rules for `atomic_store` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3310
-
3311
- ;; This is a normal store followed by an `mfence` instruction. As described in
3312
- ;; the `atomic_load` documentation, this lowering is only valid for I8, I16,
3313
- ;; I32, and I64.
3314
- (rule (lower (atomic_store flags
3315
- value @ (value_type (and (fits_in_64 ty) (ty_int _)))
3316
- address))
3317
- (side_effect (side_effect_concat
3318
- (x64_movrm ty (to_amode flags address (zero_offset)) value)
3319
- (x64_mfence))))
3320
-
3321
- ;; Rules for `atomic_cas` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3322
-
3323
- (rule (lower (has_type (and (fits_in_64 ty) (ty_int _))
3324
- (atomic_cas flags address expected replacement)))
3325
- (x64_cmpxchg ty expected replacement (to_amode flags address (zero_offset))))
3326
-
3327
- ;; Rules for `atomic_rmw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3328
-
3329
- ;; This is a simple, general-case atomic update, based on a loop involving
3330
- ;; `cmpxchg`. Note that we could do much better than this in the case where the
3331
- ;; old value at the location (that is to say, the SSA `Value` computed by this
3332
- ;; CLIF instruction) is not required. In that case, we could instead implement
3333
- ;; this using a single `lock`-prefixed x64 read-modify-write instruction. Also,
3334
- ;; even in the case where the old value is required, for the `add` and `sub`
3335
- ;; cases, we can use the single instruction `lock xadd`. However, those
3336
- ;; improvements have been left for another day. TODO: filed as
3337
- ;; https://github.com/bytecodealliance/wasmtime/issues/2153.
3338
-
3339
- (rule (lower (has_type (and (fits_in_64 ty) (ty_int _))
3340
- (atomic_rmw flags op address input)))
3341
- (x64_atomic_rmw_seq ty op (to_amode flags address (zero_offset)) input))
3342
-
3343
- ;; Rules for `call` and `call_indirect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3344
-
3345
- (rule (lower (call (func_ref_data sig_ref extname dist) inputs))
3346
- (gen_call sig_ref extname dist inputs))
3347
-
3348
- (rule (lower (call_indirect sig_ref val inputs))
3349
- (gen_call_indirect sig_ref val inputs))
3350
-
3351
- ;;;; Rules for `return_call` and `return_call_indirect` ;;;;;;;;;;;;;;;;;;;;;;;;
3352
-
3353
- (rule (lower (return_call (func_ref_data sig_ref extname dist) args))
3354
- (gen_return_call sig_ref extname dist args))
3355
-
3356
- (rule (lower (return_call_indirect sig_ref callee args))
3357
- (gen_return_call_indirect sig_ref callee args))
3358
-
3359
- ;;;; Rules for `get_{frame,stack}_pointer` and `get_return_address` ;;;;;;;;;;;;
3360
-
3361
- (rule (lower (get_frame_pointer))
3362
- (x64_rbp))
3363
-
3364
- (rule (lower (get_stack_pointer))
3365
- (x64_rsp))
3366
-
3367
- (rule (lower (get_return_address))
3368
- (x64_load $I64
3369
- (Amode.ImmReg 8 (x64_rbp) (mem_flags_trusted))
3370
- (ExtKind.None)))
3371
-
3372
- ;; Rules for `jump` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3373
-
3374
- (rule (lower_branch (jump _) (single_target target))
3375
- (emit_side_effect (jmp_known target)))
3376
-
3377
- ;; Rules for `brif` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3378
-
3379
- (rule 2 (lower_branch (brif (maybe_uextend (icmp cc a b)) _ _) (two_targets then else))
3380
- (emit_side_effect (jmp_cond_icmp (emit_cmp cc a b) then else)))
3381
-
3382
- (rule 2 (lower_branch (brif (maybe_uextend (fcmp cc a b)) _ _) (two_targets then else))
3383
- (emit_side_effect (jmp_cond_fcmp (emit_fcmp cc a b) then else)))
3384
-
3385
- (rule 2 (lower_branch (brif (maybe_uextend (vany_true a)) _ _) (two_targets then else))
3386
- (emit_side_effect (jmp_cond_icmp (emit_vany_true a) then else)))
3387
-
3388
- (rule 2 (lower_branch (brif (maybe_uextend (vall_true a)) _ _) (two_targets then else))
3389
- (emit_side_effect (jmp_cond_icmp (emit_vall_true a) then else)))
3390
-
3391
- (rule 1 (lower_branch (brif val @ (value_type $I128) _ _)
3392
- (two_targets then else))
3393
- (emit_side_effect (jmp_cond_icmp (cmp_zero_i128 (CC.Z) val) then else)))
3394
-
3395
- (rule (lower_branch (brif val @ (value_type (ty_int_bool_or_ref)) _ _)
3396
- (two_targets then else))
3397
- (emit_side_effect (with_flags_side_effect
3398
- (cmp_zero_int_bool_ref val)
3399
- (jmp_cond (CC.NZ) then else))))
3400
-
3401
-
3402
- ;; Compare an I128 value to zero, returning a flags result suitable for making a
3403
- ;; jump decision. The comparison is implemented as `(hi | low) == 0`,
3404
- ;; and the result can be interpreted as follows
3405
- ;; * CC.Z indicates that the value was non-zero, as one or both of the halves of
3406
- ;; the value were non-zero
3407
- ;; * CC.NZ indicates that both halves of the value were 0
3408
- (decl cmp_zero_i128 (CC ValueRegs) IcmpCondResult)
3409
- (rule (cmp_zero_i128 (cc_nz_or_z cc) val)
3410
- (let ((lo Gpr (value_regs_get_gpr val 0))
3411
- (hi Gpr (value_regs_get_gpr val 1)))
3412
- (icmp_cond_result
3413
- (x64_alurmi_flags_side_effect (AluRmiROpcode.Or) $I64 lo hi)
3414
- (cc_invert cc))))
3415
-
3416
-
3417
- (decl cmp_zero_int_bool_ref (Value) ProducesFlags)
3418
- (rule (cmp_zero_int_bool_ref val @ (value_type ty))
3419
- (let ((size OperandSize (raw_operand_size_of_type ty))
3420
- (src Gpr val))
3421
- (x64_test size src src)))
3422
-
3423
- ;; Rules for `br_table` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3424
-
3425
- (rule (lower_branch (br_table idx @ (value_type ty) _) (jump_table_targets default_target jt_targets))
3426
- (let ((size OperandSize (raw_operand_size_of_type ty))
3427
- (jt_size u32 (jump_table_size jt_targets))
3428
- (size_reg Reg (imm ty (u32_as_u64 jt_size)))
3429
- (idx_reg Gpr (extend_to_gpr idx $I64 (ExtendKind.Zero)))
3430
- (clamped_idx Reg (with_flags_reg
3431
- (x64_cmp size idx_reg size_reg)
3432
- (cmove ty (CC.B) idx_reg size_reg))))
3433
- (emit_side_effect (jmp_table_seq ty clamped_idx default_target jt_targets))))
3434
-
3435
- ;; Rules for `select_spectre_guard` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3436
-
3437
- (rule (lower (select_spectre_guard (icmp cc a b) x y))
3438
- (select_icmp (emit_cmp cc a b) x y))
3439
-
3440
- (rule -1 (lower (has_type ty (select_spectre_guard c @ (value_type (fits_in_64 a_ty)) x y)))
3441
- (let ((size OperandSize (raw_operand_size_of_type a_ty))
3442
- (gpr_c Gpr (put_in_gpr c)))
3443
- (with_flags (x64_test size gpr_c gpr_c) (cmove_from_values ty (CC.NZ) x y))))
3444
-
3445
- (rule -2 (lower (has_type ty (select_spectre_guard c @ (value_type $I128) x y)))
3446
- (let ((cond_result IcmpCondResult (cmp_zero_i128 (CC.Z) c)))
3447
- (select_icmp cond_result x y)))
3448
-
3449
- ;; Rules for `fcvt_from_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3450
-
3451
- ;; Note that the `cvtsi2s{s,d}` instruction is not just an int-to-float
3452
- ;; conversion instruction in isolation, it also takes the upper 64-bits of an
3453
- ;; xmm register and places it into the destination. We don't actually want that
3454
- ;; to happen as it could accidentally create a false dependency with a
3455
- ;; previous instruction defining the register's upper 64-bits. See #7085 for
3456
- ;; an instance of this.
3457
- ;;
3458
- ;; This means that the first operand to all of the int-to-float conversions here
3459
- ;; are `(xmm_zero)` operands which is a guaranteed zero register that has no
3460
- ;; dependencies on other instructions.
3461
- ;;
3462
- ;; Ideally this would be lifted out to a higher level to get deduplicated
3463
- ;; between consecutive int-to-float operations but that's not easy
3464
- ;; to do at this time. One possibility would be a mid-end rule which rewrites
3465
- ;; `fcvt_from_sint` to an x86-specific opcode using a zero constant which would
3466
- ;; be subject to normal LICM, but that's not feasible today.
3467
-
3468
- (rule 2 (lower (has_type $F32 (fcvt_from_sint a @ (value_type $I8))))
3469
- (x64_cvtsi2ss $I32 (xmm_zero $F32X4) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3470
-
3471
- (rule 2 (lower (has_type $F32 (fcvt_from_sint a @ (value_type $I16))))
3472
- (x64_cvtsi2ss $I32 (xmm_zero $F32X4) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3473
-
3474
- (rule 1 (lower (has_type $F32 (fcvt_from_sint a @ (value_type (ty_int (fits_in_64 ty))))))
3475
- (x64_cvtsi2ss ty (xmm_zero $F32X4) a))
3476
-
3477
- (rule 2 (lower (has_type $F64 (fcvt_from_sint a @ (value_type $I8))))
3478
- (x64_cvtsi2sd $I32 (xmm_zero $F64X2) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3479
-
3480
- (rule 2 (lower (has_type $F64 (fcvt_from_sint a @ (value_type $I16))))
3481
- (x64_cvtsi2sd $I32 (xmm_zero $F64X2) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3482
-
3483
- (rule 1 (lower (has_type $F64 (fcvt_from_sint a @ (value_type (ty_int (fits_in_64 ty))))))
3484
- (x64_cvtsi2sd ty (xmm_zero $F64X2) a))
3485
-
3486
- (rule 0 (lower (fcvt_from_sint a @ (value_type $I32X4)))
3487
- (x64_cvtdq2ps a))
3488
-
3489
- ;; Base case: decompose the i64x2 input into two scalar registers and convert
3490
- ;; each of those into a float. Afterwards re-pack the two results into the final
3491
- ;; destination.
3492
- (rule 0 (lower (fcvt_from_sint a @ (value_type $I64X2)))
3493
- (let (
3494
- (a Xmm a)
3495
- (zero Xmm (xmm_zero $F64X2))
3496
- (f0 Xmm (x64_cvtsi2sd $I64 zero (x64_movq_to_gpr a)))
3497
- (f1 Xmm (x64_cvtsi2sd $I64 zero (x64_movq_to_gpr (x64_pshufd a 0b11_10_11_10))))
3498
- )
3499
- (x64_unpcklpd f0 f1)))
3500
-
3501
- (rule 1 (lower (has_type $F64X2 (fcvt_from_sint (swiden_low a @ (value_type $I32X4)))))
3502
- (x64_cvtdq2pd a))
3503
-
3504
- ;; Rules for `fcvt_from_uint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3505
-
3506
- (rule 1 (lower (has_type $F32 (fcvt_from_uint val @ (value_type (fits_in_32 (ty_int ty))))))
3507
- (x64_cvtsi2ss $I64 (xmm_zero $F32X4) (extend_to_gpr val $I64 (ExtendKind.Zero))))
3508
-
3509
- (rule 1 (lower (has_type $F64 (fcvt_from_uint val @ (value_type (fits_in_32 (ty_int ty))))))
3510
- (x64_cvtsi2sd $I64 (xmm_zero $F64X2) (extend_to_gpr val $I64 (ExtendKind.Zero))))
3511
-
3512
- (rule (lower (has_type ty (fcvt_from_uint val @ (value_type $I64))))
3513
- (cvt_u64_to_float_seq ty val))
3514
-
3515
- ;; Base case of u64x2 being converted to f64x2. No native instruction for this
3516
- ;; is available so it's emulated through a series of instructions that exploit
3517
- ;; the binary representation of 64-bit floats. This sequence of instructions is
3518
- ;; copied from LLVM and my understanding of the general idea is to roughly:
3519
- ;;
3520
- ;; * For each bullet below operate in parallel on the left and right lanes.
3521
- ;; * Move the low 32 bits of the input into one register and the upper
3522
- ;; 32-bits into a different register, where both have all 0s for the upper
3523
- ;; 32-bits. (e.g. split the 64-bit input into two locations)
3524
- ;; * For the low bits, create `1.<twenty-zeros><low32>p52` via bit tricks.
3525
- ;; * For the high bits, create `1.<twenty-zeros><high32>p84` via bit tricks.
3526
- ;; * Create the constant `1.0p84 + 1.0p52`
3527
- ;; * Add the two high halves and subtract the constant.
3528
- ;;
3529
- ;; Apply some math and this should produce the same result as the native
3530
- ;; conversion.
3531
- ;;
3532
- ;; As for the bit tricks a float is represented where the low 53 bits are the
3533
- ;; decimal of the float, basically:
3534
- ;;
3535
- ;; f = 1.<fraction> ^ (<exponent> - 1023)
3536
- ;;
3537
- ;; where `<fraction>` is the low 53 bits. By placing the 32-bit halves from
3538
- ;; the original integer into the low 53 bits and setting the exponent right it
3539
- ;; means that each 32-bit half can become part of a 64-bit floating point
3540
- ;; number. The final step in combining via float arithmetic will chop off the
3541
- ;; leading `1.` at the start of the float that we constructed, one for the low
3542
- ;; half and one for the upper half.
3543
- (rule -1 (lower (has_type $F64X2 (fcvt_from_uint val @ (value_type $I64X2))))
3544
- (let ((low32_mask XmmMem (emit_u128_le_const 0x00000000ffffffff_00000000ffffffff))
3545
- (float_1p52 XmmMem (emit_u128_le_const 0x4330000000000000_4330000000000000))
3546
- (float_1p84 XmmMem (emit_u128_le_const 0x4530000000000000_4530000000000000))
3547
- (float_1p84_plus_1p52 XmmMem (emit_u128_le_const 0x4530000000100000_4530000000100000))
3548
- (low32 Xmm (x64_pand val low32_mask))
3549
- (low32_as_float Xmm (x64_por low32 float_1p52))
3550
- (high32 Xmm (x64_psrlq val (xmi_imm 32)))
3551
- (high32_as_float Xmm (x64_por high32 float_1p84)))
3552
- (x64_addpd low32_as_float (x64_subpd high32_as_float float_1p84_plus_1p52))))
3553
-
3554
- ;; Algorithm uses unpcklps to help create a float that is equivalent
3555
- ;; 0x1.0p52 + double(src). 0x1.0p52 is unique because at this exponent
3556
- ;; every value of the mantissa represents a corresponding uint32 number.
3557
- ;; When we subtract 0x1.0p52 we are left with double(src).
3558
- (rule 1 (lower (has_type $F64X2 (fcvt_from_uint (uwiden_low val @ (value_type $I32X4)))))
3559
- (let ((uint_mask XmmMem (emit_u128_le_const 0x43300000_43300000))
3560
- (res Xmm (x64_unpcklps val uint_mask))
3561
- (uint_mask_high XmmMem (emit_u128_le_const 0x4330000000000000_4330000000000000)))
3562
- (x64_subpd res uint_mask_high)))
3563
-
3564
- ;; When AVX512VL and AVX512F are available,
3565
- ;; `fcvt_from_uint` can be lowered to a single instruction.
3566
- (rule 2 (lower (has_type $F32X4 (fcvt_from_uint src)))
3567
- (if-let $true (use_avx512vl))
3568
- (if-let $true (use_avx512f))
3569
- (x64_vcvtudq2ps src))
3570
-
3571
- ;; Converting packed unsigned integers to packed floats
3572
- ;; requires a few steps. There is no single instruction
3573
- ;; lowering for converting unsigned floats but there is for
3574
- ;; converting packed signed integers to float (cvtdq2ps). In
3575
- ;; the steps below we isolate the upper half (16 bits) and
3576
- ;; lower half (16 bits) of each lane and then we convert
3577
- ;; each half separately using cvtdq2ps meant for signed
3578
- ;; integers. In order for this to work for the upper half
3579
- ;; bits we must shift right by 1 (divide by 2) these bits in
3580
- ;; order to ensure the most significant bit is 0 not signed,
3581
- ;; and then after the conversion we double the value.
3582
- ;; Finally we add the converted values where addition will
3583
- ;; correctly round.
3584
- ;;
3585
- ;; Sequence:
3586
- ;; -> A = 0xffffffff
3587
- ;; -> Ah = 0xffff0000
3588
- ;; -> Al = 0x0000ffff
3589
- ;; -> Convert(Al) // Convert int to float
3590
- ;; -> Ah = Ah >> 1 // Shift right 1 to assure Ah conversion isn't treated as signed
3591
- ;; -> Convert(Ah) // Convert .. with no loss of significant digits from previous shift
3592
- ;; -> Ah = Ah + Ah // Double Ah to account for shift right before the conversion.
3593
- ;; -> dst = Ah + Al // Add the two floats together
3594
- (rule 1 (lower (has_type $F32X4 (fcvt_from_uint val)))
3595
- (let ((a Xmm val)
3596
-
3597
- ;; get the low 16 bits
3598
- (a_lo Xmm (x64_pslld a (xmi_imm 16)))
3599
- (a_lo Xmm (x64_psrld a_lo (xmi_imm 16)))
3600
-
3601
- ;; get the high 16 bits
3602
- (a_hi Xmm (x64_psubd a a_lo))
3603
-
3604
- ;; convert the low 16 bits
3605
- (a_lo Xmm (x64_cvtdq2ps a_lo))
3606
-
3607
- ;; shift the high bits by 1, convert, and double to get the correct
3608
- ;; value
3609
- (a_hi Xmm (x64_psrld a_hi (xmi_imm 1)))
3610
- (a_hi Xmm (x64_cvtdq2ps a_hi))
3611
- (a_hi Xmm (x64_addps a_hi a_hi)))
3612
-
3613
- ;; add together the two converted values
3614
- (x64_addps a_hi a_lo)))
3615
-
3616
- ;; Rules for `fcvt_to_uint` and `fcvt_to_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3617
-
3618
- (rule (lower (has_type out_ty (fcvt_to_uint val @ (value_type (ty_scalar_float _)))))
3619
- (cvt_float_to_uint_seq out_ty val $false))
3620
-
3621
- (rule (lower (has_type out_ty (fcvt_to_uint_sat val @ (value_type (ty_scalar_float _)))))
3622
- (cvt_float_to_uint_seq out_ty val $true))
3623
-
3624
- (rule (lower (has_type out_ty (fcvt_to_sint val @ (value_type (ty_scalar_float _)))))
3625
- (cvt_float_to_sint_seq out_ty val $false))
3626
-
3627
- (rule (lower (has_type out_ty (fcvt_to_sint_sat val @ (value_type (ty_scalar_float _)))))
3628
- (cvt_float_to_sint_seq out_ty val $true))
3629
-
3630
- ;; The x64 backend currently only supports these two type combinations.
3631
- (rule 1 (lower (has_type $I32X4 (fcvt_to_sint_sat val @ (value_type $F32X4))))
3632
- (let ((src Xmm val)
3633
-
3634
- ;; Sets tmp to zero if float is NaN
3635
- (tmp Xmm (x64_cmpps src src (FcmpImm.Equal)))
3636
- (dst Xmm (x64_andps src tmp))
3637
-
3638
- ;; Sets top bit of tmp if float is positive
3639
- ;; Setting up to set top bit on negative float values
3640
- (tmp Xmm (x64_pxor tmp dst))
3641
-
3642
- ;; Convert the packed float to packed doubleword.
3643
- (dst Xmm (x64_cvttps2dq dst))
3644
-
3645
- ;; Set top bit only if < 0
3646
- (tmp Xmm (x64_pand dst tmp))
3647
- (tmp Xmm (x64_psrad tmp (xmi_imm 31))))
3648
-
3649
- ;; On overflow 0x80000000 is returned to a lane.
3650
- ;; Below sets positive overflow lanes to 0x7FFFFFFF
3651
- ;; Keeps negative overflow lanes as is.
3652
- (x64_pxor tmp dst)))
3653
-
3654
- ;; The algorithm for converting floats to unsigned ints is a little tricky. The
3655
- ;; complication arises because we are converting from a signed 64-bit int with a positive
3656
- ;; integer range from 1..INT_MAX (0x1..0x7FFFFFFF) to an unsigned integer with an extended
3657
- ;; range from (INT_MAX+1)..UINT_MAX. It's this range from (INT_MAX+1)..UINT_MAX
3658
- ;; (0x80000000..0xFFFFFFFF) that needs to be accounted for as a special case since our
3659
- ;; conversion instruction (cvttps2dq) only converts as high as INT_MAX (0x7FFFFFFF), but
3660
- ;; which conveniently setting underflows and overflows (smaller than MIN_INT or larger than
3661
- ;; MAX_INT) to be INT_MAX+1 (0x80000000). Nothing that the range (INT_MAX+1)..UINT_MAX includes
3662
- ;; precisely INT_MAX values we can correctly account for and convert every value in this range
3663
- ;; if we simply subtract INT_MAX+1 before doing the cvttps2dq conversion. After the subtraction
3664
- ;; every value originally (INT_MAX+1)..UINT_MAX is now the range (0..INT_MAX).
3665
- ;; After the conversion we add INT_MAX+1 back to this converted value, noting again that
3666
- ;; values we are trying to account for were already set to INT_MAX+1 during the original conversion.
3667
- ;; We simply have to create a mask and make sure we are adding together only the lanes that need
3668
- ;; to be accounted for. Digesting it all the steps then are:
3669
- ;;
3670
- ;; Step 1 - Account for NaN and negative floats by setting these src values to zero.
3671
- ;; Step 2 - Make a copy (tmp1) of the src value since we need to convert twice for
3672
- ;; reasons described above.
3673
- ;; Step 3 - Convert the original src values. This will convert properly all floats up to INT_MAX
3674
- ;; Step 4 - Subtract INT_MAX from the copy set (tmp1). Note, all zero and negative values are those
3675
- ;; values that were originally in the range (0..INT_MAX). This will come in handy during
3676
- ;; step 7 when we zero negative lanes.
3677
- ;; Step 5 - Create a bit mask for tmp1 that will correspond to all lanes originally less than
3678
- ;; UINT_MAX that are now less than INT_MAX thanks to the subtraction.
3679
- ;; Step 6 - Convert the second set of values (tmp1)
3680
- ;; Step 7 - Prep the converted second set by zeroing out negative lanes (these have already been
3681
- ;; converted correctly with the first set) and by setting overflow lanes to 0x7FFFFFFF
3682
- ;; as this will allow us to properly saturate overflow lanes when adding to 0x80000000
3683
- ;; Step 8 - Add the original converted src and the converted tmp1 where float values originally less
3684
- ;; than and equal to INT_MAX will be unchanged, float values originally between INT_MAX+1 and
3685
- ;; UINT_MAX will add together (INT_MAX) + (SRC - INT_MAX), and float values originally
3686
- ;; greater than UINT_MAX will be saturated to UINT_MAX (0xFFFFFFFF) after adding (0x8000000 + 0x7FFFFFFF).
3687
- ;;
3688
- ;;
3689
- ;; The table below illustrates the result after each step where it matters for the converted set.
3690
- ;; Note the original value range (original src set) is the final dst in Step 8:
3691
- ;;
3692
- ;; Original src set:
3693
- ;; | Original Value Range | Step 1 | Step 3 | Step 8 |
3694
- ;; | -FLT_MIN..FLT_MAX | 0.0..FLT_MAX | 0..INT_MAX(w/overflow) | 0..UINT_MAX(w/saturation) |
3695
- ;;
3696
- ;; Copied src set (tmp1):
3697
- ;; | Step 2 | Step 4 |
3698
- ;; | 0.0..FLT_MAX | (0.0-(INT_MAX+1))..(FLT_MAX-(INT_MAX+1)) |
3699
- ;;
3700
- ;; | Step 6 | Step 7 |
3701
- ;; | (0-(INT_MAX+1))..(UINT_MAX-(INT_MAX+1))(w/overflow) | ((INT_MAX+1)-(INT_MAX+1))..(INT_MAX+1) |
3702
- (rule 1 (lower (has_type $I32X4 (fcvt_to_uint_sat val @ (value_type $F32X4))))
3703
- (let ((src Xmm val)
3704
-
3705
- ;; Converting to unsigned int so if float src is negative or NaN
3706
- ;; will first set to zero.
3707
- (tmp2 Xmm (xmm_zero $F32X4))
3708
- (dst Xmm (x64_maxps src tmp2))
3709
-
3710
- ;; Set tmp2 to INT_MAX+1. It is important to note here that after it looks
3711
- ;; like we are only converting INT_MAX (0x7FFFFFFF) but in fact because
3712
- ;; single precision IEEE-754 floats can only accurately represent contiguous
3713
- ;; integers up to 2^23 and outside of this range it rounds to the closest
3714
- ;; integer that it can represent. In the case of INT_MAX, this value gets
3715
- ;; represented as 0x4f000000 which is the integer value (INT_MAX+1).
3716
- (tmp2 Xmm (x64_pcmpeqd tmp2 tmp2))
3717
- (tmp2 Xmm (x64_psrld tmp2 (xmi_imm 1)))
3718
- (tmp2 Xmm (x64_cvtdq2ps tmp2))
3719
-
3720
- ;; Make a copy of these lanes and then do the first conversion.
3721
- ;; Overflow lanes greater than the maximum allowed signed value will
3722
- ;; set to 0x80000000. Negative and NaN lanes will be 0x0
3723
- (tmp1 Xmm dst)
3724
- (dst Xmm (x64_cvttps2dq dst))
3725
-
3726
- ;; Set lanes to src - max_signed_int
3727
- (tmp1 Xmm (x64_subps tmp1 tmp2))
3728
-
3729
- ;; Create mask for all positive lanes to saturate (i.e. greater than
3730
- ;; or equal to the maxmimum allowable unsigned int).
3731
- (tmp2 Xmm (x64_cmpps tmp2 tmp1 (FcmpImm.LessThanOrEqual)))
3732
-
3733
- ;; Convert those set of lanes that have the max_signed_int factored out.
3734
- (tmp1 Xmm (x64_cvttps2dq tmp1))
3735
-
3736
- ;; Prepare converted lanes by zeroing negative lanes and prepping lanes
3737
- ;; that have positive overflow (based on the mask) by setting these lanes
3738
- ;; to 0x7FFFFFFF
3739
- (tmp1 Xmm (x64_pxor tmp1 tmp2))
3740
- (tmp2 Xmm (xmm_zero $I32X4))
3741
- (tmp1 Xmm (lower_vec_smax $I32X4 tmp1 tmp2)))
3742
-
3743
- ;; Add this second set of converted lanes to the original to properly handle
3744
- ;; values greater than max signed int.
3745
- (x64_paddd tmp1 dst)))
3746
-
3747
- ;; Rules for `x86_cvtt2dq` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3748
-
3749
- (rule (lower (has_type $I32X4 (x86_cvtt2dq val @ (value_type $F32X4))))
3750
- (x64_cvttps2dq val))
3751
-
3752
- ;; Rules for `iadd_pairwise` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3753
-
3754
- (rule (lower (has_type $I8X16 (iadd_pairwise x y)))
3755
- (let (
3756
- ;; Shuffle all the even lanes of `x` and `y` into one register
3757
- (even_lane_mask Xmm (x64_movdqu_load (emit_u128_le_const 0x00ff_00ff_00ff_00ff_00ff_00ff_00ff_00ff)))
3758
- (x_evens Xmm (x64_pand x even_lane_mask))
3759
- (y_evens Xmm (x64_pand y even_lane_mask))
3760
- (evens Xmm (x64_packuswb x_evens y_evens))
3761
-
3762
- ;; Shuffle all the odd lanes of `x` and `y` into one register
3763
- (x_odds Xmm (x64_psrlw x (xmi_imm 8)))
3764
- (y_odds Xmm (x64_psrlw y (xmi_imm 8)))
3765
- (odds Xmm (x64_packuswb x_odds y_odds))
3766
- )
3767
- (x64_paddb evens odds)))
3768
-
3769
-
3770
- (rule 1 (lower (has_type $I16X8 (iadd_pairwise x y)))
3771
- (if-let $true (use_ssse3))
3772
- (x64_phaddw x y))
3773
-
3774
- (rule (lower (has_type $I16X8 (iadd_pairwise x y)))
3775
- (let (
3776
- (x Xmm x)
3777
- (y Xmm y)
3778
-
3779
- ;; Shuffle the even-numbered 16-bit lanes into low four lanes of each
3780
- ;; vector by shuffling 16-bit lanes then shuffling 32-bit lanes.
3781
- ;; With these in place generate a new vector from the two low 64-bits
3782
- ;; of each vector (the low four 16-bit lanes).
3783
- ;;
3784
- ;; 0xe8 == 0b11_10_10_00
3785
- (x_evens Xmm (x64_pshufd (x64_pshufhw (x64_pshuflw x 0xe8) 0xe8) 0xe8))
3786
- (y_evens Xmm (x64_pshufd (x64_pshufhw (x64_pshuflw y 0xe8) 0xe8) 0xe8))
3787
- (evens Xmm (x64_punpcklqdq x_evens y_evens))
3788
-
3789
- ;; Shuffle the odd-numbered 16-bit lanes into the low 8 lanes by
3790
- ;; performing `sshr` operation on 32-bit lanes, effectively moving the
3791
- ;; odd lanes into even lanes while leaving their sign bits in the
3792
- ;; odd lanes. The `packssdw` instruction then conveniently will
3793
- ;; put everything into one vector for us.
3794
- (x_shifted Xmm (x64_psrad x (xmi_imm 16)))
3795
- (y_shifted Xmm (x64_psrad y (xmi_imm 16)))
3796
- (odds Xmm (x64_packssdw x_shifted y_shifted))
3797
- )
3798
- (x64_paddw evens odds)))
3799
-
3800
- (rule 1 (lower (has_type $I32X4 (iadd_pairwise x y)))
3801
- (if-let $true (use_ssse3))
3802
- (x64_phaddd x y))
3803
-
3804
- (rule (lower (has_type $I32X4 (iadd_pairwise x y)))
3805
- (let (
3806
- (x Xmm x)
3807
- (y Xmm y)
3808
- ;; evens = [ x[0] x[2] y[0] y[2] ]
3809
- (evens Xmm (x64_shufps x y 0b10_00_10_00))
3810
- ;; odds = [ x[1] x[3] y[1] y[3] ]
3811
- (odds Xmm (x64_shufps x y 0b11_01_11_01))
3812
- )
3813
- (x64_paddd evens odds)))
3814
-
3815
- ;; special case for the `i16x8.extadd_pairwise_i8x16_s` wasm instruction
3816
- (rule 2 (lower
3817
- (has_type $I16X8 (iadd_pairwise
3818
- (swiden_low val @ (value_type $I8X16))
3819
- (swiden_high val))))
3820
- (if-let $true (use_ssse3))
3821
- (let ((mul_const Xmm (x64_xmm_load_const $I8X16
3822
- (emit_u128_le_const 0x01010101010101010101010101010101))))
3823
- (x64_pmaddubsw mul_const val)))
3824
-
3825
- ;; special case for the `i32x4.extadd_pairwise_i16x8_s` wasm instruction
3826
- (rule 2 (lower
3827
- (has_type $I32X4 (iadd_pairwise
3828
- (swiden_low val @ (value_type $I16X8))
3829
- (swiden_high val))))
3830
- (let ((mul_const XmmMem (emit_u128_le_const 0x0001_0001_0001_0001_0001_0001_0001_0001)))
3831
- (x64_pmaddwd val mul_const)))
3832
-
3833
- ;; special case for the `i16x8.extadd_pairwise_i8x16_u` wasm instruction
3834
- (rule 2 (lower
3835
- (has_type $I16X8 (iadd_pairwise
3836
- (uwiden_low val @ (value_type $I8X16))
3837
- (uwiden_high val))))
3838
- (if-let $true (use_ssse3))
3839
- (let ((mul_const XmmMem (emit_u128_le_const 0x01010101010101010101010101010101)))
3840
- (x64_pmaddubsw val mul_const)))
3841
-
3842
- ;; special case for the `i32x4.extadd_pairwise_i16x8_u` wasm instruction
3843
- (rule 2 (lower
3844
- (has_type $I32X4 (iadd_pairwise
3845
- (uwiden_low val @ (value_type $I16X8))
3846
- (uwiden_high val))))
3847
- (let ((xor_const XmmMem (emit_u128_le_const 0x8000_8000_8000_8000_8000_8000_8000_8000))
3848
- (dst Xmm (x64_pxor val xor_const))
3849
-
3850
- (madd_const XmmMem (emit_u128_le_const 0x0001_0001_0001_0001_0001_0001_0001_0001))
3851
- (dst Xmm (x64_pmaddwd dst madd_const))
3852
-
3853
- (addd_const XmmMem (emit_u128_le_const 0x00010000_00010000_00010000_00010000)))
3854
- (x64_paddd dst addd_const)))
3855
-
3856
- ;; special case for the `i32x4.dot_i16x8_s` wasm instruction
3857
- (rule 2 (lower
3858
- (has_type $I32X4 (iadd_pairwise
3859
- (imul (swiden_low x) (swiden_low y))
3860
- (imul (swiden_high x) (swiden_high y)))))
3861
- (x64_pmaddwd x y))
3862
-
3863
- ;; Rules for `swiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3864
-
3865
- ;; With SSE4.1 use the `pmovsx*` instructions for this
3866
- (rule 1 (lower (has_type $I16X8 (swiden_low val @ (value_type $I8X16))))
3867
- (if-let $true (use_sse41))
3868
- (x64_pmovsxbw val))
3869
- (rule 1 (lower (has_type $I32X4 (swiden_low val @ (value_type $I16X8))))
3870
- (if-let $true (use_sse41))
3871
- (x64_pmovsxwd val))
3872
- (rule 1 (lower (has_type $I64X2 (swiden_low val @ (value_type $I32X4))))
3873
- (if-let $true (use_sse41))
3874
- (x64_pmovsxdq val))
3875
-
3876
- (rule (lower (has_type ty (swiden_low val))) (lower_swiden_low ty val))
3877
-
3878
- (decl lower_swiden_low (Type Xmm) Xmm)
3879
-
3880
- ;; Duplicate the low lanes next to each other, then perform a wider shift-right
3881
- ;; by the low lane width to move the upper of each pair back into the lower lane
3882
- ;; of each pair, achieving the widening of the lower lanes.
3883
- (rule (lower_swiden_low $I16X8 val)
3884
- (x64_psraw (x64_punpcklbw val val) (xmi_imm 8)))
3885
- (rule (lower_swiden_low $I32X4 val)
3886
- (x64_psrad (x64_punpcklwd val val) (xmi_imm 16)))
3887
-
3888
- ;; Generate the sign-extended halves with a `val < 0` comparison (expressed
3889
- ;; reversed here), then interleave the low 32-bit halves to create the full
3890
- ;; 64-bit results.
3891
- (rule (lower_swiden_low $I64X2 val)
3892
- (let ((tmp Xmm (x64_pcmpgtd (xmm_zero $I32X4) val)))
3893
- (x64_punpckldq val tmp)))
3894
-
3895
- ;; Rules for `swiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3896
-
3897
- ;; Similar to `swiden_low` with SSE4.1 except that the upper lanes are moved
3898
- ;; to the lower lanes first.
3899
- (rule 1 (lower (has_type $I16X8 (swiden_high val @ (value_type $I8X16))))
3900
- (if-let $true (use_sse41))
3901
- (if-let $true (use_ssse3))
3902
- (let ((x Xmm val))
3903
- (x64_pmovsxbw (x64_palignr x x 8))))
3904
- (rule 1 (lower (has_type $I32X4 (swiden_high val @ (value_type $I16X8))))
3905
- (if-let $true (use_sse41))
3906
- (if-let $true (use_ssse3))
3907
- (let ((x Xmm val))
3908
- (x64_pmovsxwd (x64_palignr x x 8))))
3909
- (rule 1 (lower (has_type $I64X2 (swiden_high val @ (value_type $I32X4))))
3910
- (if-let $true (use_sse41))
3911
- (x64_pmovsxdq (x64_pshufd val 0b11_10_11_10)))
3912
-
3913
- ;; Similar to `swiden_low` versions but using `punpckh*` instructions to
3914
- ;; pair the high lanes next to each other.
3915
- (rule (lower (has_type $I16X8 (swiden_high val @ (value_type $I8X16))))
3916
- (let ((val Xmm val))
3917
- (x64_psraw (x64_punpckhbw val val) (xmi_imm 8))))
3918
- (rule (lower (has_type $I32X4 (swiden_high val @ (value_type $I16X8))))
3919
- (let ((val Xmm val))
3920
- (x64_psrad (x64_punpckhwd val val) (xmi_imm 16))))
3921
-
3922
- ;; Same as `swiden_low`, but `val` has its high lanes moved down.
3923
- (rule (lower (has_type $I64X2 (swiden_high val @ (value_type $I32X4))))
3924
- (let ((val Xmm (x64_pshufd val 0b00_00_11_10))
3925
- (tmp Xmm (x64_pcmpgtd (xmm_zero $I32X4) val)))
3926
- (x64_punpckldq val tmp)))
3927
-
3928
- ;; Rules for `uwiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3929
-
3930
- ;; With SSE4.1 use the `pmovzx*` instructions for this
3931
- (rule 1 (lower (has_type $I16X8 (uwiden_low val @ (value_type $I8X16))))
3932
- (if-let $true (use_sse41))
3933
- (x64_pmovzxbw val))
3934
- (rule 1 (lower (has_type $I32X4 (uwiden_low val @ (value_type $I16X8))))
3935
- (if-let $true (use_sse41))
3936
- (x64_pmovzxwd val))
3937
- (rule 1 (lower (has_type $I64X2 (uwiden_low val @ (value_type $I32X4))))
3938
- (if-let $true (use_sse41))
3939
- (x64_pmovzxdq val))
3940
-
3941
- (rule (lower (has_type ty (uwiden_low val))) (lower_uwiden_low ty val))
3942
-
3943
- ;; Interleave an all-zero register with the low lanes to produce zero-extended
3944
- ;; results.
3945
- (decl lower_uwiden_low (Type Xmm) Xmm)
3946
- (rule (lower_uwiden_low $I16X8 val) (x64_punpcklbw val (xmm_zero $I8X16)))
3947
- (rule (lower_uwiden_low $I32X4 val) (x64_punpcklwd val (xmm_zero $I8X16)))
3948
- (rule (lower_uwiden_low $I64X2 val) (x64_unpcklps val (xmm_zero $F32X4)))
3949
-
3950
- ;; Rules for `uwiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3951
-
3952
- ;; Same as `uwiden_high`, but interleaving high lanes instead.
3953
- ;;
3954
- ;; Note that according to `llvm-mca` at least these instructions are faster
3955
- ;; than using `pmovzx*` in terms of cycles, even if SSE4.1 is available.
3956
- (rule (lower (has_type $I16X8 (uwiden_high val @ (value_type $I8X16))))
3957
- (x64_punpckhbw val (xmm_zero $I8X16)))
3958
- (rule (lower (has_type $I32X4 (uwiden_high val @ (value_type $I16X8))))
3959
- (x64_punpckhwd val (xmm_zero $I8X16)))
3960
- (rule (lower (has_type $I64X2 (uwiden_high val @ (value_type $I32X4))))
3961
- (x64_unpckhps val (xmm_zero $F32X4)))
3962
-
3963
- ;; Rules for `snarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3964
-
3965
- (rule (lower (has_type $I8X16 (snarrow a @ (value_type $I16X8) b)))
3966
- (x64_packsswb a b))
3967
-
3968
- (rule (lower (has_type $I16X8 (snarrow a @ (value_type $I32X4) b)))
3969
- (x64_packssdw a b))
3970
-
3971
- ;; We're missing a `snarrow` case for $I64X2
3972
- ;; https://github.com/bytecodealliance/wasmtime/issues/4734
3973
-
3974
- ;; This rule is a special case for handling the translation of the wasm op
3975
- ;; `i32x4.trunc_sat_f64x2_s_zero`. It can be removed once we have an
3976
- ;; implementation of `snarrow` for `I64X2`.
3977
- (rule (lower (has_type $I32X4 (snarrow (has_type $I64X2 (fcvt_to_sint_sat val))
3978
- (vconst (u128_from_constant 0)))))
3979
- (let ((a Xmm val)
3980
-
3981
- ;; y = i32x4.trunc_sat_f64x2_s_zero(x) is lowered to:
3982
- ;; MOVE xmm_tmp, xmm_x
3983
- ;; CMPEQPD xmm_tmp, xmm_x
3984
- ;; MOVE xmm_y, xmm_x
3985
- ;; ANDPS xmm_tmp, [wasm_f64x2_splat(2147483647.0)]
3986
- ;; MINPD xmm_y, xmm_tmp
3987
- ;; CVTTPD2DQ xmm_y, xmm_y
3988
-
3989
- (tmp1 Xmm (x64_cmppd a a (FcmpImm.Equal)))
3990
-
3991
- ;; 2147483647.0 is equivalent to 0x41DFFFFFFFC00000
3992
- (umax_mask XmmMem (emit_u128_le_const 0x41DFFFFFFFC00000_41DFFFFFFFC00000))
3993
-
3994
- ;; ANDPD xmm_y, [wasm_f64x2_splat(2147483647.0)]
3995
- (tmp1 Xmm (x64_andps tmp1 umax_mask))
3996
- (dst Xmm (x64_minpd a tmp1)))
3997
- (x64_cvttpd2dq dst)))
3998
-
3999
- ;; This rule is a special case for handling the translation of the wasm op
4000
- ;; `i32x4.relaxed_trunc_f64x2_s_zero`.
4001
- (rule (lower (has_type $I32X4 (snarrow (has_type $I64X2 (x86_cvtt2dq val))
4002
- (vconst (u128_from_constant 0)))))
4003
- (x64_cvttpd2dq val))
4004
-
4005
- ;; Rules for `unarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4006
-
4007
- (rule (lower (has_type $I8X16 (unarrow a @ (value_type $I16X8) b)))
4008
- (x64_packuswb a b))
4009
-
4010
- (rule 1 (lower (has_type $I16X8 (unarrow a @ (value_type $I32X4) b)))
4011
- (if-let $true (use_sse41))
4012
- (x64_packusdw a b))
4013
-
4014
- ;; For each input `a` and `b` take the four 32-bit lanes and compress them to
4015
- ;; the low 64-bits of the vector as four 16-bit lanes. Then these are woven
4016
- ;; into one final vector with a `punpcklqdq`.
4017
- ;;
4018
- ;; If this is performance sensitive then it's probably best to upgrade the CPU
4019
- ;; to get the above single-instruction lowering.
4020
- (rule (lower (has_type $I16X8 (unarrow a @ (value_type $I32X4) b)))
4021
- (let (
4022
- (a Xmm (unarrow_i32x4_lanes_to_low_u16_lanes a))
4023
- (b Xmm (unarrow_i32x4_lanes_to_low_u16_lanes b))
4024
- )
4025
- (x64_punpcklqdq a b)))
4026
-
4027
- (decl unarrow_i32x4_lanes_to_low_u16_lanes (Xmm) Xmm)
4028
- (rule (unarrow_i32x4_lanes_to_low_u16_lanes val)
4029
- (let (
4030
- ;; First convert all negative values in `val` to zero lanes.
4031
- (val_gt_zero Xmm (x64_pcmpgtd val (xmm_zero $I32X4)))
4032
- (val Xmm (x64_pand val val_gt_zero))
4033
-
4034
- ;; Next clamp all larger-than-u16-max lanes to u16::MAX.
4035
- (max Xmm (x64_movdqu_load (emit_u128_le_const 0x0000ffff_0000ffff_0000ffff_0000ffff)))
4036
- (cmp Xmm (x64_pcmpgtd max val))
4037
- (valid_lanes Xmm (x64_pand val cmp))
4038
- (clamped_lanes Xmm (x64_pandn cmp max))
4039
- (val Xmm (x64_por valid_lanes clamped_lanes))
4040
-
4041
- ;; Within each 64-bit half of the 32x4 vector move the first 16 bits
4042
- ;; and the third 16 bits to the bottom of the half. Afterwards
4043
- ;; for the 32x4 vector move the first and third lanes to the bottom
4044
- ;; lanes, which finishes up the conversion here as all the lanes
4045
- ;; are now converted to 16-bit values in the low 4 lanes.
4046
- (val Xmm (x64_pshuflw val 0b00_00_10_00))
4047
- (val Xmm (x64_pshufhw val 0b00_00_10_00))
4048
- )
4049
- (x64_pshufd val 0b00_00_10_00)))
4050
-
4051
-
4052
- ;; We're missing a `unarrow` case for $I64X2
4053
- ;; https://github.com/bytecodealliance/wasmtime/issues/4734
4054
-
4055
- ;; Rules for `bitcast` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4056
-
4057
- (rule -3 (lower (has_type (is_gpr_type (fits_in_64 ty)) (bitcast _ src @ (value_type (is_xmm_type _)))))
4058
- (bitcast_xmm_to_gpr (ty_bits ty) src))
4059
-
4060
- (rule -2 (lower (has_type (is_xmm_type (fits_in_64 ty)) (bitcast _ src @ (value_type (is_gpr_type _)))))
4061
- (bitcast_gpr_to_xmm (ty_bits ty) src))
4062
-
4063
- (rule -1 (lower (has_type $I128 (bitcast _ src @ (value_type (is_xmm_type _)))))
4064
- (bitcast_xmm_to_gprs src))
4065
-
4066
- (rule 0 (lower (has_type (is_xmm_type _) (bitcast _ src @ (value_type $I128))))
4067
- (bitcast_gprs_to_xmm src))
4068
-
4069
- ;; Bitcast between types residing in GPR registers is a no-op.
4070
- (rule 1 (lower (has_type (is_gpr_type _)
4071
- (bitcast _ x @ (value_type (is_gpr_type _)))))
4072
- x)
4073
-
4074
- ;; Bitcasts between `r{32,64}` and `i{32,64}` need to be a copy to avoid
4075
- ;; conflicting regalloc constraints on reference type values that both need to
4076
- ;; be in some register but also some safepoint stack slot at the same time.
4077
- (rule 2 (lower (has_type (is_gpr_type dst_ty)
4078
- (bitcast _ x @ (value_type (is_gpr_type src_ty)))))
4079
- (if-let $true (is_ref_type src_ty))
4080
- (if-let $false (is_ref_type dst_ty))
4081
- (copy_gpr dst_ty x))
4082
- (rule 2 (lower (has_type (is_gpr_type dst_ty)
4083
- (bitcast _ x @ (value_type (is_gpr_type src_ty)))))
4084
- (if-let $false (is_ref_type src_ty))
4085
- (if-let $true (is_ref_type dst_ty))
4086
- (copy_gpr dst_ty x))
4087
-
4088
- ;; Bitcast between types residing in XMM registers is a no-op.
4089
- (rule 3 (lower (has_type (is_xmm_type _)
4090
- (bitcast _ x @ (value_type (is_xmm_type _)))))
4091
- x)
4092
-
4093
- ;; Rules for `fcopysign` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4094
-
4095
- (rule (lower (has_type $F32 (fcopysign a @ (value_type $F32) b)))
4096
- (let ((sign_bit Xmm (imm $F32 0x80000000)))
4097
- (x64_orps
4098
- (x64_andnps sign_bit a)
4099
- (x64_andps sign_bit b))))
4100
-
4101
- (rule (lower (has_type $F64 (fcopysign a @ (value_type $F64) b)))
4102
- (let ((sign_bit Xmm (imm $F64 0x8000000000000000)))
4103
- (x64_orpd
4104
- (x64_andnpd sign_bit a)
4105
- (x64_andpd sign_bit b))))
4106
-
4107
- ;; Helper for the `ceil`/`floor`/`nearest`/`trunc` instructions ;;;;;;;;;;;;;;;;
4108
-
4109
- ;; Emits either a `round{ss,sd,ps,pd}` instruction, as appropriate, or generates
4110
- ;; the appropriate libcall and sequence to call that.
4111
- (decl x64_round (Type RegMem RoundImm) Xmm)
4112
- (rule 1 (x64_round $F32 a imm)
4113
- (if-let $true (use_sse41))
4114
- (x64_roundss a imm))
4115
- (rule 1 (x64_round $F64 a imm)
4116
- (if-let $true (use_sse41))
4117
- (x64_roundsd a imm))
4118
- (rule 1 (x64_round $F32X4 a imm)
4119
- (if-let $true (use_sse41))
4120
- (x64_roundps a imm))
4121
- (rule 1 (x64_round $F64X2 a imm)
4122
- (if-let $true (use_sse41))
4123
- (x64_roundpd a imm))
4124
-
4125
- (rule (x64_round $F32 (RegMem.Reg a) imm) (libcall_1 (round_libcall $F32 imm) a))
4126
- (rule (x64_round $F64 (RegMem.Reg a) imm) (libcall_1 (round_libcall $F64 imm) a))
4127
- (rule (x64_round $F32X4 (RegMem.Reg a) imm)
4128
- (let (
4129
- (libcall LibCall (round_libcall $F32 imm))
4130
- (result Xmm (libcall_1 libcall a))
4131
- (a1 Xmm (libcall_1 libcall (x64_pshufd a 1)))
4132
- (result Xmm (f32x4_insertlane result a1 1))
4133
- (a2 Xmm (libcall_1 libcall (x64_pshufd a 2)))
4134
- (result Xmm (f32x4_insertlane result a2 2))
4135
- (a3 Xmm (libcall_1 libcall (x64_pshufd a 3)))
4136
- (result Xmm (f32x4_insertlane result a3 3))
4137
- )
4138
- result))
4139
- (rule (x64_round $F64X2 (RegMem.Reg a) imm)
4140
- (let (
4141
- (libcall LibCall (round_libcall $F64 imm))
4142
- (result Xmm (libcall_1 libcall a))
4143
- (a1 Xmm (libcall_1 libcall (x64_pshufd a 0b00_00_11_10)))
4144
- )
4145
- (x64_movlhps result a1)))
4146
- (rule (x64_round ty (RegMem.Mem addr) imm)
4147
- (x64_round ty (RegMem.Reg (x64_load ty addr (ExtKind.ZeroExtend))) imm))
4148
-
4149
- (decl round_libcall (Type RoundImm) LibCall)
4150
- (rule (round_libcall $F32 (RoundImm.RoundUp)) (LibCall.CeilF32))
4151
- (rule (round_libcall $F64 (RoundImm.RoundUp)) (LibCall.CeilF64))
4152
- (rule (round_libcall $F32 (RoundImm.RoundDown)) (LibCall.FloorF32))
4153
- (rule (round_libcall $F64 (RoundImm.RoundDown)) (LibCall.FloorF64))
4154
- (rule (round_libcall $F32 (RoundImm.RoundNearest)) (LibCall.NearestF32))
4155
- (rule (round_libcall $F64 (RoundImm.RoundNearest)) (LibCall.NearestF64))
4156
- (rule (round_libcall $F32 (RoundImm.RoundZero)) (LibCall.TruncF32))
4157
- (rule (round_libcall $F64 (RoundImm.RoundZero)) (LibCall.TruncF64))
4158
-
4159
- ;; Rules for `ceil` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4160
-
4161
- (rule (lower (ceil a @ (value_type ty)))
4162
- (x64_round ty a (RoundImm.RoundUp)))
4163
-
4164
- ;; Rules for `floor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4165
-
4166
- (rule (lower (floor a @ (value_type ty)))
4167
- (x64_round ty a (RoundImm.RoundDown)))
4168
-
4169
- ;; Rules for `nearest` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4170
-
4171
- (rule (lower (nearest a @ (value_type ty)))
4172
- (x64_round ty a (RoundImm.RoundNearest)))
4173
-
4174
- ;; Rules for `trunc` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4175
-
4176
- (rule (lower (trunc a @ (value_type ty)))
4177
- (x64_round ty a (RoundImm.RoundZero)))
4178
-
4179
- ;; Rules for `stack_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4180
-
4181
- (rule (lower (stack_addr stack_slot offset))
4182
- (stack_addr_impl stack_slot offset))
4183
-
4184
- ;; Rules for `udiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4185
-
4186
- ;; NB: a `RegMem` divisor, while allowed in the instruction encoding, isn't
4187
- ;; used right now to prevent a possibly-trapping load getting folded into the
4188
- ;; `div` instruction. Ideally non-trapping loads would get folded, however, or
4189
- ;; alternatively Wasmtime/Cranelift would grow support for multiple traps on
4190
- ;; a single opcode and the signal kind would differentiate at runtime.
4191
-
4192
- ;; The inputs to the `div` instruction are different for 8-bit division so
4193
- ;; it needs a special case here since the instruction being crafted has a
4194
- ;; different shape.
4195
- (rule 2 (lower (udiv a @ (value_type $I8) b))
4196
- (x64_div8 (extend_to_gpr a $I32 (ExtendKind.Zero))
4197
- (put_in_gpr b)
4198
- (DivSignedness.Unsigned)
4199
- (TrapCode.IntegerDivisionByZero)))
4200
-
4201
- ;; 16-to-64-bit division is all done with a similar instruction and the only
4202
- ;; tricky requirement here is that when div traps are disallowed the divisor
4203
- ;; must not be zero.
4204
- (rule 1 (lower (udiv a @ (value_type (fits_in_64 ty)) b))
4205
- (x64_div_quotient a
4206
- (imm $I64 0)
4207
- (put_in_gpr b)
4208
- (raw_operand_size_of_type ty)
4209
- (DivSignedness.Unsigned)
4210
- (TrapCode.IntegerDivisionByZero)))
4211
-
4212
- ;; Rules for `sdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4213
-
4214
- (rule 2 (lower (sdiv a @ (value_type $I8) b))
4215
- (x64_div8 (x64_sign_extend_data a (OperandSize.Size8))
4216
- (nonzero_sdiv_divisor $I8 b)
4217
- (DivSignedness.Signed)
4218
- (TrapCode.IntegerOverflow)))
4219
-
4220
- (rule 1 (lower (sdiv a @ (value_type (fits_in_64 ty)) b))
4221
- (let (
4222
- (a Gpr a)
4223
- (size OperandSize (raw_operand_size_of_type ty))
4224
- )
4225
- (x64_div_quotient a
4226
- (x64_sign_extend_data a size)
4227
- (nonzero_sdiv_divisor ty b)
4228
- size
4229
- (DivSignedness.Signed)
4230
- (TrapCode.IntegerOverflow))))
4231
-
4232
- ;; Checks to make sure that the input `Value` is a non-zero value for `sdiv`.
4233
- ;;
4234
- ;; This is required to differentiate the divide-by-zero trap from the
4235
- ;; integer-overflow trap, the two trapping conditions of signed division.
4236
- (decl nonzero_sdiv_divisor (Type Value) Reg)
4237
- (rule 1 (nonzero_sdiv_divisor ty (iconst imm))
4238
- (if-let n (safe_divisor_from_imm64 ty imm))
4239
- (imm ty n))
4240
- (rule 0 (nonzero_sdiv_divisor ty val)
4241
- (let (
4242
- (val Reg val)
4243
- (_ InstOutput (side_effect (with_flags_side_effect
4244
- (x64_test (raw_operand_size_of_type ty) val val)
4245
- (trap_if (CC.Z) (TrapCode.IntegerDivisionByZero)))))
4246
- )
4247
- val))
4248
-
4249
- ;; Rules for `urem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4250
-
4251
- ;; The remainder is in AH, so take the result of the division and right-shift
4252
- ;; by 8.
4253
- (rule 2 (lower (urem a @ (value_type $I8) b))
4254
- (let (
4255
- (result Gpr (x64_div8 (extend_to_gpr a $I32 (ExtendKind.Zero))
4256
- (put_in_gpr b) ;; see `udiv` for why not `gpr_mem`
4257
- (DivSignedness.Unsigned)
4258
- (TrapCode.IntegerDivisionByZero)))
4259
- )
4260
- (x64_shr $I64 result (Imm8Reg.Imm8 8))))
4261
-
4262
- (rule 1 (lower (urem a @ (value_type (fits_in_64 ty)) b))
4263
- (x64_div_remainder a
4264
- (imm $I64 0)
4265
- (put_in_gpr b) ;; see `udiv` for why not `gpr_mem`
4266
- (raw_operand_size_of_type ty)
4267
- (DivSignedness.Unsigned)
4268
- (TrapCode.IntegerDivisionByZero)))
4269
-
4270
- ;; Rules for `srem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4271
-
4272
- ;; Special-cases first for constant `srem` where the checks for 0 and -1 aren't
4273
- ;; applicable.
4274
- ;;
4275
- ;; Note that like `urem` for i8 types the result is in AH so to get the result
4276
- ;; it's right-shifted down.
4277
- (rule 3 (lower (srem a @ (value_type $I8) (iconst imm)))
4278
- (if-let n (safe_divisor_from_imm64 $I8 imm))
4279
- (let (
4280
- (a Gpr (x64_sign_extend_data a (OperandSize.Size8)))
4281
- (result Gpr (x64_div8 a (imm $I8 n) (DivSignedness.Signed) (TrapCode.IntegerDivisionByZero)))
4282
- )
4283
- (x64_shr $I64 result (Imm8Reg.Imm8 8))))
4284
-
4285
- ;; Same as the above rule but for 16-to-64 bit types.
4286
- (rule 2 (lower (srem a @ (value_type ty) (iconst imm)))
4287
- (if-let n (safe_divisor_from_imm64 ty imm))
4288
- (let (
4289
- (a Gpr a)
4290
- (size OperandSize (raw_operand_size_of_type ty))
4291
- )
4292
- (x64_div_remainder a
4293
- (x64_sign_extend_data a size)
4294
- (imm ty n)
4295
- size
4296
- (DivSignedness.Signed)
4297
- (TrapCode.IntegerDivisionByZero))))
4298
-
4299
- (rule 1 (lower (srem a @ (value_type $I8) b))
4300
- (let (
4301
- (a Gpr (x64_sign_extend_data a (OperandSize.Size8)))
4302
- )
4303
- (x64_shr $I64 (x64_checked_srem_seq8 a b) (Imm8Reg.Imm8 8))))
4304
-
4305
- (rule (lower (srem a @ (value_type ty) b))
4306
- (let (
4307
- (a Gpr a)
4308
- (size OperandSize (raw_operand_size_of_type ty))
4309
- (hi Gpr (x64_sign_extend_data a size))
4310
- (tmp ValueRegs (x64_checked_srem_seq size a hi b))
4311
- )
4312
- (value_regs_get tmp 1)))
4313
-
4314
- ;; Rules for `umulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4315
-
4316
- (rule 0 (lower (umulhi a @ (value_type $I8) b))
4317
- (x64_shr $I16 (x64_mul8 $false a b) (imm8_to_imm8_gpr 8)))
4318
-
4319
- (rule 1 (lower (umulhi a @ (value_type (ty_int_ref_16_to_64 ty)) b))
4320
- (value_regs_get_gpr (x64_mul ty $false a b) 1))
4321
-
4322
- ;; Rules for `smulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4323
-
4324
- (rule 0 (lower (smulhi a @ (value_type $I8) b))
4325
- (x64_sar $I16 (x64_mul8 $true a b) (imm8_to_imm8_gpr 8)))
4326
-
4327
- (rule 1 (lower (smulhi a @ (value_type (ty_int_ref_16_to_64 ty)) b))
4328
- (value_regs_get_gpr (x64_mul ty $true a b) 1))
4329
-
4330
- ;; Rules for `get_pinned_reg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4331
-
4332
- (rule (lower (get_pinned_reg))
4333
- (read_pinned_gpr))
4334
-
4335
- ;; Rules for `set_pinned_reg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4336
-
4337
- (rule (lower (set_pinned_reg a @ (value_type ty)))
4338
- (side_effect (write_pinned_gpr a)))
4339
-
4340
- ;; Rules for `vconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4341
-
4342
- (rule (lower (has_type ty (vconst const)))
4343
- ;; TODO use Inst::gen_constant() instead.
4344
- (x64_xmm_load_const ty (const_to_vconst const)))
4345
-
4346
- ;; Special cases for known constant patterns to skip a 16-byte load.
4347
- (rule 1 (lower (has_type ty (vconst (u128_from_constant 0)))) (xmm_zero ty))
4348
- (rule 1 (lower (has_type ty (vconst (u128_from_constant -1)))) (vector_all_ones))
4349
-
4350
- ;; Rules for `shuffle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4351
-
4352
- ;; Special case for `pblendw` which takes an 8-bit immediate where each bit
4353
- ;; indicates which lane of the two operands is chosen for the output. A bit of
4354
- ;; 0 chooses the corresponding 16-it lane from `a` and a bit of 1 chooses the
4355
- ;; corresponding 16-bit lane from `b`.
4356
- (rule 14 (lower (shuffle a b (pblendw_imm n)))
4357
- (if-let $true (use_sse41))
4358
- (x64_pblendw a b n))
4359
- (decl pblendw_imm (u8) Immediate)
4360
- (extern extractor pblendw_imm pblendw_imm)
4361
-
4362
- ;; When the shuffle looks like "concatenate `a` and `b` and shift right by n*8
4363
- ;; bytes", that's a `palignr` instruction. Note that the order of operands are
4364
- ;; swapped in the instruction here. The `palignr` instruction uses the second
4365
- ;; operand as the low-order bytes and the first operand as high-order bytes,
4366
- ;; so put `a` second.
4367
- (rule 13 (lower (shuffle a b (palignr_imm_from_immediate n)))
4368
- (if-let $true (use_ssse3))
4369
- (x64_palignr b a n))
4370
- (decl palignr_imm_from_immediate (u8) Immediate)
4371
- (extern extractor palignr_imm_from_immediate palignr_imm_from_immediate)
4372
-
4373
- ;; Special case the `pshuf{l,h}w` instruction which shuffles four 16-bit
4374
- ;; integers within one value, preserving the other four 16-bit integers in that
4375
- ;; value (either the high or low half). The complicated logic is in the
4376
- ;; extractors here implemented in Rust and note that there's two cases for each
4377
- ;; instruction here to match when either the first or second shuffle operand is
4378
- ;; used.
4379
- (rule 12 (lower (shuffle x y (pshuflw_lhs_imm imm)))
4380
- (x64_pshuflw x imm))
4381
- (rule 11 (lower (shuffle x y (pshuflw_rhs_imm imm)))
4382
- (x64_pshuflw y imm))
4383
- (rule 10 (lower (shuffle x y (pshufhw_lhs_imm imm)))
4384
- (x64_pshufhw x imm))
4385
- (rule 9 (lower (shuffle x y (pshufhw_rhs_imm imm)))
4386
- (x64_pshufhw y imm))
4387
-
4388
- (decl pshuflw_lhs_imm (u8) Immediate)
4389
- (extern extractor pshuflw_lhs_imm pshuflw_lhs_imm)
4390
- (decl pshuflw_rhs_imm (u8) Immediate)
4391
- (extern extractor pshuflw_rhs_imm pshuflw_rhs_imm)
4392
- (decl pshufhw_lhs_imm (u8) Immediate)
4393
- (extern extractor pshufhw_lhs_imm pshufhw_lhs_imm)
4394
- (decl pshufhw_rhs_imm (u8) Immediate)
4395
- (extern extractor pshufhw_rhs_imm pshufhw_rhs_imm)
4396
-
4397
- ;; Special case for the `pshufd` instruction which will permute 32-bit values
4398
- ;; within a single register. This is only applicable if the `imm` specified
4399
- ;; selects 32-bit values from either `x` or `y`, but not both. This means
4400
- ;; there's one rule for selecting from `x` and another rule for selecting from
4401
- ;; `y`.
4402
- (rule 8 (lower (shuffle x y (pshufd_lhs_imm imm)))
4403
- (x64_pshufd x imm))
4404
- (rule 7 (lower (shuffle x y (pshufd_rhs_imm imm)))
4405
- (x64_pshufd y imm))
4406
-
4407
- (decl pshufd_lhs_imm (u8) Immediate)
4408
- (extern extractor pshufd_lhs_imm pshufd_lhs_imm)
4409
- (decl pshufd_rhs_imm (u8) Immediate)
4410
- (extern extractor pshufd_rhs_imm pshufd_rhs_imm)
4411
-
4412
- ;; Special case for i8-level interleaving of upper/low bytes.
4413
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f0f_1e0e_1d0d_1c0c_1b0b_1a0a_1909_1808)))
4414
- (x64_punpckhbw a b))
4415
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x1707_1606_1505_1404_1303_1202_1101_1000)))
4416
- (x64_punpcklbw a b))
4417
-
4418
- ;; Special case for i16-level interleaving of upper/low bytes.
4419
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f1e_0f0e_1d1c_0d0c_1b1a_0b0a_1918_0908)))
4420
- (x64_punpckhwd a b))
4421
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x1716_0706_1514_0504_1312_0302_1110_0100)))
4422
- (x64_punpcklwd a b))
4423
-
4424
- ;; Special case for i32-level interleaving of upper/low bytes.
4425
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f1e1d1c_0f0e0d0c_1b1a1918_0b0a0908)))
4426
- (x64_punpckhdq a b))
4427
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x17161514_07060504_13121110_03020100)))
4428
- (x64_punpckldq a b))
4429
-
4430
- ;; Special case for i64-level interleaving of upper/low bytes.
4431
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f1e1d1c1b1a1918_0f0e0d0c0b0a0908)))
4432
- (x64_punpckhqdq a b))
4433
- (rule 6 (lower (shuffle a b (u128_from_immediate 0x1716151413121110_0706050403020100)))
4434
- (x64_punpcklqdq a b))
4435
-
4436
- ;; If the vector shift mask is all 0s then that means the first byte of the
4437
- ;; first operand is broadcast to all bytes. Falling through would load an
4438
- ;; all-zeros constant from a rip-relative location but it should be slightly
4439
- ;; more efficient to execute the `pshufb` here-and-now with an xor'd-to-be-zero
4440
- ;; register.
4441
- (rule 6 (lower (shuffle a _ (u128_from_immediate 0)))
4442
- (if-let $true (use_ssse3))
4443
- (x64_pshufb a (xmm_zero $I8X16)))
4444
-
4445
- ;; Special case for the `shufps` instruction which will select two 32-bit values
4446
- ;; from the first operand and two 32-bit values from the second operand. Note
4447
- ;; that there is a second case here as well for when the operands can be
4448
- ;; swapped.
4449
- ;;
4450
- ;; Note that the priority of this instruction is currently lower than the above
4451
- ;; special cases since `shufps` handles many of them and for now it's
4452
- ;; hypothesized that the dedicated instructions are better than `shufps`.
4453
- ;; Someone with more knowledge about x86 timings should perhaps reorder the
4454
- ;; rules here eventually though.
4455
- (rule 5 (lower (shuffle x y (shufps_imm imm)))
4456
- (x64_shufps x y imm))
4457
- (rule 4 (lower (shuffle x y (shufps_rev_imm imm)))
4458
- (x64_shufps y x imm))
4459
-
4460
- (decl shufps_imm(u8) Immediate)
4461
- (extern extractor shufps_imm shufps_imm)
4462
- (decl shufps_rev_imm(u8) Immediate)
4463
- (extern extractor shufps_rev_imm shufps_rev_imm)
4464
-
4465
-
4466
- ;; If `lhs` and `rhs` are the same we can use a single PSHUFB to shuffle the XMM
4467
- ;; register. We statically build `constructed_mask` to zero out any unknown lane
4468
- ;; indices (may not be completely necessary: verification could fail incorrect
4469
- ;; mask values) and fix the indexes to all point to the `dst` vector.
4470
- (rule 3 (lower (shuffle a a (vec_mask_from_immediate mask)))
4471
- (if-let $true (use_ssse3))
4472
- (x64_pshufb a (shuffle_0_31_mask mask)))
4473
-
4474
- ;; For the case where the shuffle mask contains out-of-bounds values (values
4475
- ;; greater than 31) we must mask off those resulting values in the result of
4476
- ;; `vpermi2b`.
4477
- (rule 2 (lower (shuffle a b (vec_mask_from_immediate (perm_from_mask_with_zeros mask zeros))))
4478
- (if-let $true (use_avx512vl))
4479
- (if-let $true (use_avx512vbmi))
4480
- (x64_andps (x64_vpermi2b (x64_xmm_load_const $I8X16 mask) a b) zeros))
4481
-
4482
- ;; However, if the shuffle mask contains no out-of-bounds values, we can use
4483
- ;; `vpermi2b` without any masking.
4484
- (rule 1 (lower (shuffle a b (vec_mask_from_immediate mask)))
4485
- (if-let $true (use_avx512vl))
4486
- (if-let $true (use_avx512vbmi))
4487
- (x64_vpermi2b (x64_xmm_load_const $I8X16 (perm_from_mask mask)) a b))
4488
-
4489
- ;; If `lhs` and `rhs` are different, we must shuffle each separately and then OR
4490
- ;; them together. This is necessary due to PSHUFB semantics. As in the case
4491
- ;; above, we build the `constructed_mask` for each case statically.
4492
- (rule (lower (shuffle a b (vec_mask_from_immediate mask)))
4493
- (x64_por
4494
- (lower_pshufb a (shuffle_0_15_mask mask))
4495
- (lower_pshufb b (shuffle_16_31_mask mask))))
4496
-
4497
- ;; Rules for `swizzle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4498
-
4499
- ;; SIMD swizzle; the following inefficient implementation is due to the Wasm
4500
- ;; SIMD spec requiring mask indexes greater than 15 to have the same semantics
4501
- ;; as a 0 index. For the spec discussion, see
4502
- ;; https://github.com/WebAssembly/simd/issues/93. The CLIF semantics match the
4503
- ;; Wasm SIMD semantics for this instruction. The instruction format maps to
4504
- ;; variables like: %dst = swizzle %src, %mask
4505
- (rule (lower (swizzle src mask))
4506
- (let ((mask Xmm (x64_paddusb mask (emit_u128_le_const 0x70707070707070707070707070707070))))
4507
- (lower_pshufb src mask)))
4508
-
4509
- ;; Rules for `x86_pshufb` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4510
-
4511
- (rule (lower (x86_pshufb src mask))
4512
- (if-let $true (use_ssse3))
4513
- (x64_pshufb src mask))
4514
-
4515
- ;; A helper function to generate either the `pshufb` instruction or a libcall to
4516
- ;; the `X86Pshufb` libcall. Note that the libcall is not exactly the most
4517
- ;; performant thing in the world so this is primarily here for completeness
4518
- ;; of lowerings on all x86 cpus but if rules are ideally gated on the presence
4519
- ;; of SSSE3 to use the `pshufb` instruction itself.
4520
- (decl lower_pshufb (Xmm RegMem) Xmm)
4521
- (rule 1 (lower_pshufb src mask)
4522
- (if-let $true (use_ssse3))
4523
- (x64_pshufb src mask))
4524
- (rule (lower_pshufb src (RegMem.Reg mask))
4525
- (libcall_2 (LibCall.X86Pshufb) src mask))
4526
- (rule (lower_pshufb src (RegMem.Mem addr))
4527
- (lower_pshufb src (x64_movdqu_load addr)))
4528
-
4529
- ;; Rules for `extractlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4530
-
4531
- ;; Remove the extractlane instruction, leaving the float where it is. The upper
4532
- ;; bits will remain unchanged; for correctness, this relies on Cranelift type
4533
- ;; checking to avoid using those bits.
4534
- (rule 3 (lower (has_type (ty_scalar_float _) (extractlane val 0)))
4535
- val)
4536
-
4537
- ;; `f32x4.extract_lane N` where `N != 0`
4538
- (rule 1 (lower (extractlane val @ (value_type $F32X4) (u8_from_uimm8 lane)))
4539
- (x64_pshufd val lane))
4540
-
4541
- ;; `f64x2.extract_lane N` where `N != 0` (aka N == 1)
4542
- (rule (lower (extractlane val @ (value_type $F64X2) 1))
4543
- (x64_pshufd val 0b11_10_11_10))
4544
-
4545
- ;; `i8x16.extract_lane N`
4546
- ;;
4547
- ;; Note that without SSE4.1 a 16-bit lane extraction is performed and then
4548
- ;; the result is updated if the desired index is either odd or even.
4549
- (rule 2 (lower (extractlane val @ (value_type ty @ $I8X16) (u8_from_uimm8 lane)))
4550
- (if-let $true (use_sse41))
4551
- (x64_pextrb val lane))
4552
- ;; extracting an odd lane has an extra shift-right
4553
- (rule 1 (lower (extractlane val @ (value_type ty @ $I8X16) (u8_from_uimm8 lane)))
4554
- (if-let 1 (u8_and lane 1))
4555
- (x64_shr $I16 (x64_pextrw val (u8_shr lane 1)) (Imm8Reg.Imm8 8)))
4556
- ;; Extracting an even lane already has the desired lane in the lower bits. Note
4557
- ;; that having arbitrary upper bits in the returned register should be ok since
4558
- ;; all operators on the resulting `i8` type should work correctly regardless of
4559
- ;; the bits in the rest of the register.
4560
- (rule (lower (extractlane val @ (value_type ty @ $I8X16) (u8_from_uimm8 lane)))
4561
- (if-let 0 (u8_and lane 1))
4562
- (x64_pextrw val (u8_shr lane 1)))
4563
-
4564
- ;; `i16x8.extract_lane N`
4565
- (rule (lower (extractlane val @ (value_type ty @ $I16X8) (u8_from_uimm8 lane)))
4566
- (x64_pextrw val lane))
4567
-
4568
- ;; `i32x4.extract_lane N`
4569
- (rule 2 (lower (extractlane val @ (value_type ty @ $I32X4) (u8_from_uimm8 lane)))
4570
- (if-let $true (use_sse41))
4571
- (x64_pextrd val lane))
4572
- (rule 1 (lower (extractlane val @ (value_type $I32X4) 0))
4573
- (x64_movd_to_gpr val))
4574
- (rule (lower (extractlane val @ (value_type $I32X4) (u8_from_uimm8 n)))
4575
- (x64_movd_to_gpr (x64_pshufd val n)))
4576
-
4577
- ;; `i64x2.extract_lane N`
4578
- (rule 1 (lower (extractlane val @ (value_type $I64X2) (u8_from_uimm8 lane)))
4579
- (if-let $true (use_sse41))
4580
- (x64_pextrq val lane))
4581
- (rule (lower (extractlane val @ (value_type $I64X2) 0))
4582
- (x64_movq_to_gpr val))
4583
- (rule (lower (extractlane val @ (value_type $I64X2) 1))
4584
- (x64_movq_to_gpr (x64_pshufd val 0b00_00_11_10)))
4585
-
4586
- ;; Rules for `scalar_to_vector` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4587
-
4588
- ;; Case 1: when moving a scalar float, we simply move from one XMM register
4589
- ;; to another, expecting the register allocator to elide this. Here we
4590
- ;; assume that the upper bits of a scalar float have not been munged with
4591
- ;; (the same assumption the old backend makes).
4592
- (rule 1 (lower (scalar_to_vector src @ (value_type (ty_scalar_float _))))
4593
- src)
4594
-
4595
- ;; Case 2: when moving a scalar value of any other type, use MOVD to zero
4596
- ;; the upper lanes.
4597
- (rule (lower (scalar_to_vector src @ (value_type ty)))
4598
- (bitcast_gpr_to_xmm (ty_bits ty) src))
4599
-
4600
- ;; Case 3: when presented with `load + scalar_to_vector`, coalesce into a single
4601
- ;; MOVSS/MOVSD instruction.
4602
- (rule 2 (lower (scalar_to_vector (and (sinkable_load src) (value_type (ty_32 _)))))
4603
- (x64_movss_load src))
4604
- (rule 3 (lower (scalar_to_vector (and (sinkable_load src) (value_type (ty_64 _)))))
4605
- (x64_movsd_load src))
4606
-
4607
- ;; Rules for `splat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4608
-
4609
- ;; For all the splat rules below one of the goals is that splatting a value
4610
- ;; doesn't end up accidentally depending on the previous value in a register.
4611
- ;; This means that instructions are chosen to avoid false dependencies where
4612
- ;; new values are created fresh or otherwise overwrite previous register
4613
- ;; contents where possible.
4614
- ;;
4615
- ;; Additionally splats are specialized to special-case load-and-splat which
4616
- ;; has a number of micro-optimizations available.
4617
-
4618
- ;; i8x16 splats: use `vpbroadcastb` on AVX2 and otherwise `pshufb` broadcasts
4619
- ;; with a mask of zero which is calculated with an xor-against-itself register.
4620
- (rule 0 (lower (has_type $I8X16 (splat src)))
4621
- (let ((src Xmm (x64_movd_to_xmm src)))
4622
- (x64_pshufd (x64_pshuflw (x64_punpcklbw src src) 0) 0)))
4623
- (rule 1 (lower (has_type $I8X16 (splat src)))
4624
- (if-let $true (use_ssse3))
4625
- (x64_pshufb (bitcast_gpr_to_xmm 32 src) (xmm_zero $I8X16)))
4626
- (rule 2 (lower (has_type $I8X16 (splat src)))
4627
- (if-let $true (use_avx2))
4628
- (x64_vpbroadcastb (bitcast_gpr_to_xmm 32 src)))
4629
- (rule 3 (lower (has_type $I8X16 (splat (sinkable_load_exact addr))))
4630
- (if-let $true (use_sse41))
4631
- (if-let $true (use_ssse3))
4632
- (x64_pshufb (x64_pinsrb (xmm_uninit_value) addr 0) (xmm_zero $I8X16)))
4633
- (rule 4 (lower (has_type $I8X16 (splat (sinkable_load_exact addr))))
4634
- (if-let $true (use_avx2))
4635
- (x64_vpbroadcastb addr))
4636
-
4637
- ;; i16x8 splats: use `vpbroadcastw` on AVX2 and otherwise a 16-bit value is
4638
- ;; loaded into an xmm register, `pshuflw` broadcasts the low 16-bit lane
4639
- ;; to the low four lanes, and `pshufd` broadcasts the low 32-bit lane (which
4640
- ;; at that point is two of the 16-bit values we want to broadcast) to all the
4641
- ;; lanes.
4642
- (rule 0 (lower (has_type $I16X8 (splat src)))
4643
- (x64_pshufd (x64_pshuflw (bitcast_gpr_to_xmm 32 src) 0) 0))
4644
- (rule 1 (lower (has_type $I16X8 (splat src)))
4645
- (if-let $true (use_avx2))
4646
- (x64_vpbroadcastw (bitcast_gpr_to_xmm 32 src)))
4647
- (rule 2 (lower (has_type $I16X8 (splat (sinkable_load_exact addr))))
4648
- (x64_pshufd (x64_pshuflw (x64_pinsrw (xmm_uninit_value) addr 0) 0) 0))
4649
- (rule 3 (lower (has_type $I16X8 (splat (sinkable_load_exact addr))))
4650
- (if-let $true (use_avx2))
4651
- (x64_vpbroadcastw addr))
4652
-
4653
- ;; i32x4.splat - use `vpbroadcastd` on AVX2 and otherwise `pshufd` can be
4654
- ;; used to broadcast the low lane to all other lanes.
4655
- ;;
4656
- ;; Note that sinkable-load cases come later
4657
- (rule 0 (lower (has_type $I32X4 (splat src)))
4658
- (x64_pshufd (bitcast_gpr_to_xmm 32 src) 0))
4659
- (rule 1 (lower (has_type $I32X4 (splat src)))
4660
- (if-let $true (use_avx2))
4661
- (x64_vpbroadcastd (bitcast_gpr_to_xmm 32 src)))
4662
-
4663
- ;; f32x4.splat - the source is already in an xmm register so `shufps` is all
4664
- ;; that's necessary to complete the splat. This is specialized to `vbroadcastss`
4665
- ;; on AVX2 to leverage that specific instruction for this operation.
4666
- (rule 0 (lower (has_type $F32X4 (splat src)))
4667
- (let ((tmp Xmm src))
4668
- (x64_shufps src src 0)))
4669
- (rule 1 (lower (has_type $F32X4 (splat src)))
4670
- (if-let $true (use_avx2))
4671
- (x64_vbroadcastss src))
4672
-
4673
- ;; t32x4.splat of a load - use a `movss` to load into an xmm register and then
4674
- ;; `shufps` broadcasts to the other lanes. Note that this is used for both i32
4675
- ;; and f32 splats.
4676
- ;;
4677
- ;; With AVX the `vbroadcastss` instruction suits this purpose precisely. Note
4678
- ;; that the memory-operand encoding of `vbroadcastss` is usable with AVX, but
4679
- ;; the register-based encoding is only available with AVX2. With the
4680
- ;; `sinkable_load` extractor this should be guaranteed to use the memory-based
4681
- ;; encoding hence the `use_avx` test.
4682
- (rule 5 (lower (has_type (multi_lane 32 4) (splat (sinkable_load addr))))
4683
- (let ((tmp Xmm (x64_movss_load addr)))
4684
- (x64_shufps tmp tmp 0)))
4685
- (rule 6 (lower (has_type (multi_lane 32 4) (splat (sinkable_load addr))))
4686
- (if-let $true (use_avx))
4687
- (x64_vbroadcastss addr))
4688
-
4689
- ;; t64x2.splat - use `pshufd` to broadcast the lower 64-bit lane to the upper
4690
- ;; lane. A minor specialization for sinkable loads to avoid going through a gpr
4691
- ;; for i64 splats is used as well when `movddup` is available.
4692
- (rule 0 (lower (has_type $I64X2 (splat src)))
4693
- (x64_pshufd (bitcast_gpr_to_xmm 64 src) 0b01_00_01_00))
4694
- (rule 0 (lower (has_type $F64X2 (splat src)))
4695
- (x64_pshufd src 0b01_00_01_00))
4696
- (rule 6 (lower (has_type (multi_lane 64 2) (splat (sinkable_load addr))))
4697
- (if-let $true (use_ssse3))
4698
- (x64_movddup addr))
4699
-
4700
- ;; Rules for `vany_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4701
-
4702
- (rule 1 (lower (vany_true val))
4703
- (if-let $true (use_sse41))
4704
- (let ((val Xmm val))
4705
- (with_flags (x64_ptest val val) (x64_setcc (CC.NZ)))))
4706
-
4707
- ;; Any nonzero byte in `val` means that any lane is true. Compare `val` with a
4708
- ;; zeroed register and extract the high bits to a gpr mask. If the mask is
4709
- ;; 0xffff then every byte was equal to zero, so test if the comparison is
4710
- ;; not-equal or NZ.
4711
- (rule (lower (vany_true val))
4712
- (lower_icmp_bool (emit_vany_true val)))
4713
-
4714
- (decl emit_vany_true (Value) IcmpCondResult)
4715
- (rule (emit_vany_true val)
4716
- (let (
4717
- (any_byte_zero Xmm (x64_pcmpeqb val (xmm_zero $I8X16)))
4718
- (mask Gpr (x64_pmovmskb (OperandSize.Size32) any_byte_zero))
4719
- )
4720
- (icmp_cond_result (x64_cmp_imm (OperandSize.Size32) mask 0xffff)
4721
- (CC.NZ))))
4722
-
4723
- ;; Rules for `vall_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4724
-
4725
- (rule (lower (vall_true val))
4726
- (lower_icmp_bool (emit_vall_true val)))
4727
-
4728
- (decl emit_vall_true (Value) IcmpCondResult)
4729
- (rule 1 (emit_vall_true val @ (value_type ty))
4730
- (if-let $true (use_sse41))
4731
- (let ((src Xmm val)
4732
- (zeros Xmm (xmm_zero ty))
4733
- (cmp Xmm (x64_pcmpeq (vec_int_type ty) src zeros)))
4734
- (icmp_cond_result (x64_ptest cmp cmp) (CC.Z))))
4735
-
4736
- ;; Perform an appropriately-sized lane-wise comparison with zero. If the
4737
- ;; result is all 0s then all of them are true because nothing was equal to
4738
- ;; zero.
4739
- (rule (emit_vall_true val @ (value_type ty))
4740
- (let ((lanes_with_zero Xmm (x64_pcmpeq (vec_int_type ty) val (xmm_zero ty)))
4741
- (mask Gpr (x64_pmovmskb (OperandSize.Size32) lanes_with_zero)))
4742
- (icmp_cond_result (x64_test (OperandSize.Size32) mask mask)
4743
- (CC.Z))))
4744
-
4745
- ;; Rules for `vhigh_bits` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4746
-
4747
- ;; The Intel specification allows using both 32-bit and 64-bit GPRs as
4748
- ;; destination for the "move mask" instructions. This is controlled by the REX.R
4749
- ;; bit: "In 64-bit mode, the instruction can access additional registers when
4750
- ;; used with a REX.R prefix. The default operand size is 64-bit in 64-bit mode"
4751
- ;; (PMOVMSKB in IA Software Development Manual, vol. 2). This being the case, we
4752
- ;; will always clear REX.W since its use is unnecessary (`OperandSize` is used
4753
- ;; for setting/clearing REX.W) as we need at most 16 bits of output for
4754
- ;; `vhigh_bits`.
4755
-
4756
- (rule (lower (vhigh_bits val @ (value_type (multi_lane 8 16))))
4757
- (x64_pmovmskb (OperandSize.Size32) val))
4758
-
4759
- (rule (lower (vhigh_bits val @ (value_type (multi_lane 32 4))))
4760
- (x64_movmskps (OperandSize.Size32) val))
4761
-
4762
- (rule (lower (vhigh_bits val @ (value_type (multi_lane 64 2))))
4763
- (x64_movmskpd (OperandSize.Size32) val))
4764
-
4765
- ;; There is no x86 instruction for extracting the high bit of 16-bit lanes so
4766
- ;; here we:
4767
- ;; - duplicate the 16-bit lanes of `src` into 8-bit lanes:
4768
- ;; PACKSSWB([x1, x2, ...], [x1, x2, ...]) = [x1', x2', ..., x1', x2', ...]
4769
- ;; - use PMOVMSKB to gather the high bits; now we have duplicates, though
4770
- ;; - shift away the bottom 8 high bits to remove the duplicates.
4771
- (rule (lower (vhigh_bits val @ (value_type (multi_lane 16 8))))
4772
- (let ((src Xmm val)
4773
- (tmp Xmm (x64_packsswb src src))
4774
- (tmp Gpr (x64_pmovmskb (OperandSize.Size32) tmp)))
4775
- (x64_shr $I64 tmp (Imm8Reg.Imm8 8))))
4776
-
4777
- ;; Rules for `iconcat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4778
-
4779
- (rule (lower (iconcat lo @ (value_type $I64) hi))
4780
- (value_regs lo hi))
4781
-
4782
- ;; Rules for `isplit` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4783
-
4784
- (rule (lower (isplit val @ (value_type $I128)))
4785
- (let ((regs ValueRegs val)
4786
- (lo Reg (value_regs_get regs 0))
4787
- (hi Reg (value_regs_get regs 1)))
4788
- (output_pair lo hi)))
4789
-
4790
- ;; Rules for `tls_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4791
-
4792
- (rule (lower (has_type (tls_model (TlsModel.ElfGd)) (tls_value (symbol_value_data name _ _))))
4793
- (elf_tls_get_addr name))
4794
-
4795
- (rule (lower (has_type (tls_model (TlsModel.Macho)) (tls_value (symbol_value_data name _ _))))
4796
- (macho_tls_get_addr name))
4797
-
4798
- (rule (lower (has_type (tls_model (TlsModel.Coff)) (tls_value (symbol_value_data name _ _))))
4799
- (coff_tls_get_addr name))
4800
-
4801
- ;; Rules for `sqmul_round_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4802
-
4803
- (rule 1 (lower (sqmul_round_sat qx @ (value_type $I16X8) qy))
4804
- (if-let $true (use_ssse3))
4805
- (let ((src1 Xmm qx)
4806
- (src2 Xmm qy)
4807
-
4808
- (mask XmmMem (emit_u128_le_const 0x8000_8000_8000_8000_8000_8000_8000_8000))
4809
- (dst Xmm (x64_pmulhrsw src1 src2))
4810
- (cmp Xmm (x64_pcmpeqw dst mask)))
4811
- (x64_pxor dst cmp)))
4812
-
4813
- ;; This operation is defined in wasm as:
4814
- ;;
4815
- ;; S.SignedSaturate((x * y + 0x4000) >> 15)
4816
- ;;
4817
- ;; so perform all those operations here manually with a lack of the native
4818
- ;; instruction.
4819
- (rule (lower (sqmul_round_sat qx @ (value_type $I16X8) qy))
4820
- (let (
4821
- (qx Xmm qx)
4822
- (qy Xmm qy)
4823
- ;; Multiply `qx` and `qy` generating 32-bit intermediate results. The
4824
- ;; 32-bit results have their low-halves stored in `mul_lsb` and the
4825
- ;; high halves are stored in `mul_msb`. These are then shuffled into
4826
- ;; `mul_lo` and `mul_hi` which represent the low 4 multiplications
4827
- ;; and the upper 4 multiplications.
4828
- (mul_lsb Xmm (x64_pmullw qx qy))
4829
- (mul_msb Xmm (x64_pmulhw qx qy))
4830
- (mul_lo Xmm (x64_punpcklwd mul_lsb mul_msb))
4831
- (mul_hi Xmm (x64_punpckhwd mul_lsb mul_msb))
4832
- ;; Add the 0x4000 constant to all multiplications
4833
- (val Xmm (x64_movdqu_load (emit_u128_le_const 0x00004000_00004000_00004000_00004000)))
4834
- (mul_lo Xmm (x64_paddd mul_lo val))
4835
- (mul_hi Xmm (x64_paddd mul_hi val))
4836
- ;; Perform the right-shift by 15 to all multiplications
4837
- (lo Xmm (x64_psrad mul_lo (xmi_imm 15)))
4838
- (hi Xmm (x64_psrad mul_hi (xmi_imm 15)))
4839
- )
4840
- ;; And finally perform a saturating 32-to-16-bit conversion.
4841
- (x64_packssdw lo hi)))
4842
-
4843
- ;; Rules for `x86_pmulhrsw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4844
-
4845
- (rule (lower (x86_pmulhrsw qx @ (value_type $I16X8) qy))
4846
- (if-let $true (use_ssse3))
4847
- (x64_pmulhrsw qx qy))
4848
-
4849
- ;; Rules for `uunarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4850
-
4851
- ;; TODO: currently we only lower a special case of `uunarrow` needed to support
4852
- ;; the translation of wasm's i32x4.trunc_sat_f64x2_u_zero operation.
4853
- ;; https://github.com/bytecodealliance/wasmtime/issues/4791
4854
- ;;
4855
- ;; y = i32x4.trunc_sat_f64x2_u_zero(x) is lowered to:
4856
- ;; MOVAPD xmm_y, xmm_x
4857
- ;; XORPD xmm_tmp, xmm_tmp
4858
- ;; MAXPD xmm_y, xmm_tmp
4859
- ;; MINPD xmm_y, [wasm_f64x2_splat(4294967295.0)]
4860
- ;; ROUNDPD xmm_y, xmm_y, 0x0B
4861
- ;; ADDPD xmm_y, [wasm_f64x2_splat(0x1.0p+52)]
4862
- ;; SHUFPS xmm_y, xmm_xmp, 0x88
4863
- (rule (lower (uunarrow (fcvt_to_uint_sat src @ (value_type $F64X2))
4864
- (vconst (u128_from_constant 0))))
4865
- (let ((src Xmm src)
4866
-
4867
- ;; MOVAPD xmm_y, xmm_x
4868
- ;; XORPD xmm_tmp, xmm_tmp
4869
- (zeros Xmm (xmm_zero $F64X2))
4870
- (dst Xmm (x64_maxpd src zeros))
4871
-
4872
- ;; 4294967295.0 is equivalent to 0x41EFFFFFFFE00000
4873
- (umax_mask XmmMem (emit_u128_le_const 0x41EFFFFFFFE00000_41EFFFFFFFE00000))
4874
-
4875
- ;; MINPD xmm_y, [wasm_f64x2_splat(4294967295.0)]
4876
- (dst Xmm (x64_minpd dst umax_mask))
4877
-
4878
- ;; ROUNDPD xmm_y, xmm_y, 0x0B
4879
- (dst Xmm (x64_round $F64X2 dst (RoundImm.RoundZero)))
4880
-
4881
- ;; ADDPD xmm_y, [wasm_f64x2_splat(0x1.0p+52)]
4882
- (uint_mask XmmMem (emit_u128_le_const 0x4330000000000000_4330000000000000))
4883
-
4884
- (dst Xmm (x64_addpd dst uint_mask)))
4885
-
4886
- ;; SHUFPS xmm_y, xmm_xmp, 0x88
4887
- (x64_shufps dst zeros 0x88)))
4888
-
4889
- ;; Rules for `nop` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4890
-
4891
- (rule (lower (nop))
4892
- (invalid_reg))