wasmtime 21.0.1 → 22.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2043) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +80 -87
  3. data/ext/Cargo.toml +4 -4
  4. data/ext/cargo-vendor/cranelift-bforest-0.109.0/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cranelift-bforest-0.109.0/Cargo.toml +41 -0
  6. data/ext/cargo-vendor/cranelift-codegen-0.109.0/.cargo-checksum.json +1 -0
  7. data/ext/cargo-vendor/cranelift-codegen-0.109.0/Cargo.toml +193 -0
  8. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/context.rs +384 -0
  9. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/dominator_tree.rs +727 -0
  10. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/egraph.rs +835 -0
  11. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/inst_predicates.rs +230 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/dfg.rs +1777 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/extfunc.rs +402 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/immediates.rs +1612 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/stackslot.rs +208 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/types.rs +627 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/abi.rs +1556 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/args.rs +711 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit.rs +3584 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit_tests.rs +7901 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/imms.rs +1213 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/mod.rs +3060 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/regs.rs +269 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/unwind/systemv.rs +174 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst.isle +4218 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/pcc.rs +568 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/abi.rs +1029 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/args.rs +2054 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit.rs +2682 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit_tests.rs +2215 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/encode.rs +675 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/imms.rs +374 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/mod.rs +1938 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/unwind/systemv.rs +170 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/vector.rs +1150 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst.isle +3127 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst_vector.isle +1907 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower/isle.rs +649 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower.isle +2923 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/mod.rs +260 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/abi.rs +1016 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/args.rs +298 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit.rs +3401 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit_tests.rs +13388 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/imms.rs +202 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/mod.rs +3401 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/regs.rs +169 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/unwind/systemv.rs +212 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst.isle +5028 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/lower.isle +3995 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/abi.rs +1390 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/args.rs +2240 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit.rs +4287 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_state.rs +52 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_tests.rs +5171 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/mod.rs +2821 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/regs.rs +275 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/unwind/systemv.rs +198 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst.isle +5289 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/lower.isle +4810 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/pcc.rs +1014 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isle_prelude.rs +986 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/lib.rs +106 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/abi.rs +2419 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/blockorder.rs +465 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/buffer.rs +2508 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/isle.rs +909 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/lower.rs +1432 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/mod.rs +551 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/reg.rs +479 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/valueregs.rs +138 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/vcode.rs +1741 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/cprop.isle +297 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/opts/shifts.isle +307 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude.isle +664 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude_lower.isle +1073 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/timing.rs +296 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/traversals.rs +216 -0
  79. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/verifier/mod.rs +1957 -0
  80. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/write.rs +638 -0
  81. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/.cargo-checksum.json +1 -0
  82. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/Cargo.toml +36 -0
  83. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/types.rs +496 -0
  84. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/isa/riscv64.rs +174 -0
  85. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/.cargo-checksum.json +1 -0
  86. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/Cargo.toml +22 -0
  87. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/src/constants.rs +28 -0
  88. data/ext/cargo-vendor/cranelift-control-0.109.0/.cargo-checksum.json +1 -0
  89. data/ext/cargo-vendor/cranelift-control-0.109.0/Cargo.toml +30 -0
  90. data/ext/cargo-vendor/cranelift-entity-0.109.0/.cargo-checksum.json +1 -0
  91. data/ext/cargo-vendor/cranelift-entity-0.109.0/Cargo.toml +53 -0
  92. data/ext/cargo-vendor/cranelift-entity-0.109.0/src/set.rs +290 -0
  93. data/ext/cargo-vendor/cranelift-frontend-0.109.0/.cargo-checksum.json +1 -0
  94. data/ext/cargo-vendor/cranelift-frontend-0.109.0/Cargo.toml +68 -0
  95. data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/frontend.rs +1857 -0
  96. data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/lib.rs +187 -0
  97. data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/ssa.rs +1328 -0
  98. data/ext/cargo-vendor/cranelift-isle-0.109.0/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/cranelift-isle-0.109.0/Cargo.toml +47 -0
  100. data/ext/cargo-vendor/cranelift-isle-0.109.0/src/sema.rs +2492 -0
  101. data/ext/cargo-vendor/cranelift-native-0.109.0/.cargo-checksum.json +1 -0
  102. data/ext/cargo-vendor/cranelift-native-0.109.0/Cargo.toml +43 -0
  103. data/ext/cargo-vendor/cranelift-native-0.109.0/src/lib.rs +188 -0
  104. data/ext/cargo-vendor/cranelift-native-0.109.0/src/riscv.rs +128 -0
  105. data/ext/cargo-vendor/cranelift-wasm-0.109.0/.cargo-checksum.json +1 -0
  106. data/ext/cargo-vendor/cranelift-wasm-0.109.0/Cargo.toml +110 -0
  107. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator.rs +3695 -0
  108. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/func_translator.rs +296 -0
  109. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/module_translator.rs +120 -0
  110. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/sections_translator.rs +343 -0
  111. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/state.rs +522 -0
  112. data/ext/cargo-vendor/object-0.36.3/.cargo-checksum.json +1 -0
  113. data/ext/cargo-vendor/object-0.36.3/CHANGELOG.md +1028 -0
  114. data/ext/cargo-vendor/object-0.36.3/Cargo.toml +180 -0
  115. data/ext/cargo-vendor/object-0.36.3/README.md +60 -0
  116. data/ext/cargo-vendor/object-0.36.3/src/build/bytes.rs +146 -0
  117. data/ext/cargo-vendor/object-0.36.3/src/build/elf.rs +3113 -0
  118. data/ext/cargo-vendor/object-0.36.3/src/common.rs +590 -0
  119. data/ext/cargo-vendor/object-0.36.3/src/elf.rs +6303 -0
  120. data/ext/cargo-vendor/object-0.36.3/src/endian.rs +831 -0
  121. data/ext/cargo-vendor/object-0.36.3/src/macho.rs +3303 -0
  122. data/ext/cargo-vendor/object-0.36.3/src/pod.rs +281 -0
  123. data/ext/cargo-vendor/object-0.36.3/src/read/any.rs +1334 -0
  124. data/ext/cargo-vendor/object-0.36.3/src/read/archive.rs +1133 -0
  125. data/ext/cargo-vendor/object-0.36.3/src/read/coff/comdat.rs +220 -0
  126. data/ext/cargo-vendor/object-0.36.3/src/read/coff/file.rs +381 -0
  127. data/ext/cargo-vendor/object-0.36.3/src/read/coff/relocation.rs +113 -0
  128. data/ext/cargo-vendor/object-0.36.3/src/read/coff/section.rs +619 -0
  129. data/ext/cargo-vendor/object-0.36.3/src/read/coff/symbol.rs +669 -0
  130. data/ext/cargo-vendor/object-0.36.3/src/read/elf/attributes.rs +340 -0
  131. data/ext/cargo-vendor/object-0.36.3/src/read/elf/comdat.rs +186 -0
  132. data/ext/cargo-vendor/object-0.36.3/src/read/elf/file.rs +959 -0
  133. data/ext/cargo-vendor/object-0.36.3/src/read/elf/hash.rs +236 -0
  134. data/ext/cargo-vendor/object-0.36.3/src/read/elf/note.rs +302 -0
  135. data/ext/cargo-vendor/object-0.36.3/src/read/elf/relocation.rs +661 -0
  136. data/ext/cargo-vendor/object-0.36.3/src/read/elf/section.rs +1241 -0
  137. data/ext/cargo-vendor/object-0.36.3/src/read/elf/segment.rs +365 -0
  138. data/ext/cargo-vendor/object-0.36.3/src/read/elf/symbol.rs +654 -0
  139. data/ext/cargo-vendor/object-0.36.3/src/read/elf/version.rs +513 -0
  140. data/ext/cargo-vendor/object-0.36.3/src/read/gnu_compression.rs +36 -0
  141. data/ext/cargo-vendor/object-0.36.3/src/read/macho/dyld_cache.rs +384 -0
  142. data/ext/cargo-vendor/object-0.36.3/src/read/macho/file.rs +779 -0
  143. data/ext/cargo-vendor/object-0.36.3/src/read/macho/load_command.rs +404 -0
  144. data/ext/cargo-vendor/object-0.36.3/src/read/macho/section.rs +420 -0
  145. data/ext/cargo-vendor/object-0.36.3/src/read/macho/segment.rs +317 -0
  146. data/ext/cargo-vendor/object-0.36.3/src/read/macho/symbol.rs +532 -0
  147. data/ext/cargo-vendor/object-0.36.3/src/read/mod.rs +1018 -0
  148. data/ext/cargo-vendor/object-0.36.3/src/read/pe/file.rs +1033 -0
  149. data/ext/cargo-vendor/object-0.36.3/src/read/pe/import.rs +381 -0
  150. data/ext/cargo-vendor/object-0.36.3/src/read/pe/relocation.rs +109 -0
  151. data/ext/cargo-vendor/object-0.36.3/src/read/pe/section.rs +476 -0
  152. data/ext/cargo-vendor/object-0.36.3/src/read/read_cache.rs +261 -0
  153. data/ext/cargo-vendor/object-0.36.3/src/read/traits.rs +589 -0
  154. data/ext/cargo-vendor/object-0.36.3/src/read/wasm.rs +983 -0
  155. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/file.rs +716 -0
  156. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/relocation.rs +138 -0
  157. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/section.rs +452 -0
  158. data/ext/cargo-vendor/object-0.36.3/src/read/xcoff/symbol.rs +836 -0
  159. data/ext/cargo-vendor/object-0.36.3/src/write/coff/object.rs +681 -0
  160. data/ext/cargo-vendor/object-0.36.3/src/write/coff/writer.rs +520 -0
  161. data/ext/cargo-vendor/object-0.36.3/src/write/elf/object.rs +897 -0
  162. data/ext/cargo-vendor/object-0.36.3/src/write/elf/writer.rs +2361 -0
  163. data/ext/cargo-vendor/object-0.36.3/src/write/macho.rs +1124 -0
  164. data/ext/cargo-vendor/object-0.36.3/src/write/mod.rs +1023 -0
  165. data/ext/cargo-vendor/object-0.36.3/src/write/pe.rs +849 -0
  166. data/ext/cargo-vendor/object-0.36.3/src/write/xcoff.rs +588 -0
  167. data/ext/cargo-vendor/object-0.36.3/tests/build/elf.rs +254 -0
  168. data/ext/cargo-vendor/object-0.36.3/tests/build/mod.rs +3 -0
  169. data/ext/cargo-vendor/object-0.36.3/tests/integration.rs +3 -0
  170. data/ext/cargo-vendor/object-0.36.3/tests/read/macho.rs +49 -0
  171. data/ext/cargo-vendor/object-0.36.3/tests/read/mod.rs +5 -0
  172. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/bss.rs +244 -0
  173. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/comdat.rs +217 -0
  174. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/common.rs +241 -0
  175. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/elf.rs +302 -0
  176. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/mod.rs +682 -0
  177. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/section_flags.rs +89 -0
  178. data/ext/cargo-vendor/object-0.36.3/tests/round_trip/tls.rs +308 -0
  179. data/ext/cargo-vendor/wasi-common-22.0.0/.cargo-checksum.json +1 -0
  180. data/ext/cargo-vendor/wasi-common-22.0.0/Cargo.toml +224 -0
  181. data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_0.rs +1080 -0
  182. data/ext/cargo-vendor/wasi-common-22.0.0/src/snapshots/preview_1.rs +1562 -0
  183. data/ext/cargo-vendor/wasi-common-22.0.0/src/string_array.rs +75 -0
  184. data/ext/cargo-vendor/wasi-common-22.0.0/src/sync/sched/windows.rs +221 -0
  185. data/ext/cargo-vendor/wasi-common-22.0.0/src/tokio/file.rs +247 -0
  186. data/ext/cargo-vendor/wasmparser-0.209.1/.cargo-checksum.json +1 -0
  187. data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.lock +662 -0
  188. data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.toml +109 -0
  189. data/ext/cargo-vendor/wasmparser-0.209.1/src/binary_reader.rs +1929 -0
  190. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/hash.rs +120 -0
  191. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/detail.rs +1094 -0
  192. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map/tests.rs +183 -0
  193. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_map.rs +656 -0
  194. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/index_set.rs +316 -0
  195. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/map.rs +840 -0
  196. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/mod.rs +24 -0
  197. data/ext/cargo-vendor/wasmparser-0.209.1/src/collections/set.rs +660 -0
  198. data/ext/cargo-vendor/wasmparser-0.209.1/src/features.rs +164 -0
  199. data/ext/cargo-vendor/wasmparser-0.209.1/src/lib.rs +814 -0
  200. data/ext/cargo-vendor/wasmparser-0.209.1/src/limits.rs +79 -0
  201. data/ext/cargo-vendor/wasmparser-0.209.1/src/parser.rs +1682 -0
  202. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/imports.rs +130 -0
  203. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/instances.rs +166 -0
  204. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/names.rs +99 -0
  205. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/component/types.rs +553 -0
  206. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/branch_hinting.rs +59 -0
  207. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/code.rs +142 -0
  208. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/coredumps.rs +278 -0
  209. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/custom.rs +128 -0
  210. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/data.rs +96 -0
  211. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/elements.rs +146 -0
  212. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/globals.rs +61 -0
  213. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/init.rs +57 -0
  214. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/linking.rs +457 -0
  215. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/names.rs +159 -0
  216. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/operators.rs +423 -0
  217. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/producers.rs +84 -0
  218. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/reloc.rs +300 -0
  219. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/types.rs +1788 -0
  220. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers.rs +315 -0
  221. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/component.rs +3236 -0
  222. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core/canonical.rs +233 -0
  223. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core.rs +1464 -0
  224. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/func.rs +331 -0
  225. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/names.rs +1016 -0
  226. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/operators.rs +4231 -0
  227. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/types.rs +4550 -0
  228. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator.rs +1633 -0
  229. data/ext/cargo-vendor/wasmprinter-0.209.1/.cargo-checksum.json +1 -0
  230. data/ext/cargo-vendor/wasmprinter-0.209.1/Cargo.toml +51 -0
  231. data/ext/cargo-vendor/wasmprinter-0.209.1/src/lib.rs +3225 -0
  232. data/ext/cargo-vendor/wasmprinter-0.209.1/src/operator.rs +1171 -0
  233. data/ext/cargo-vendor/wasmtime-22.0.0/.cargo-checksum.json +1 -0
  234. data/ext/cargo-vendor/wasmtime-22.0.0/Cargo.toml +387 -0
  235. data/ext/cargo-vendor/wasmtime-22.0.0/build.rs +42 -0
  236. data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/runtime.rs +167 -0
  237. data/ext/cargo-vendor/wasmtime-22.0.0/src/compile.rs +917 -0
  238. data/ext/cargo-vendor/wasmtime-22.0.0/src/config.rs +2943 -0
  239. data/ext/cargo-vendor/wasmtime-22.0.0/src/engine/serialization.rs +890 -0
  240. data/ext/cargo-vendor/wasmtime-22.0.0/src/lib.rs +389 -0
  241. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/jitdump.rs +67 -0
  242. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/perfmap.rs +48 -0
  243. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code.rs +102 -0
  244. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code_memory.rs +338 -0
  245. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_0_hello_world.rs +9 -0
  246. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_1_world_imports.rs +17 -0
  247. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_2_world_exports.rs +18 -0
  248. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_3_interface_imports.rs +20 -0
  249. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_4_imported_resources.rs +45 -0
  250. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +29 -0
  251. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/_6_exported_resources.rs +26 -0
  252. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/mod.rs +489 -0
  253. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/component.rs +656 -0
  254. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/typed.rs +2498 -0
  255. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func.rs +689 -0
  256. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/instance.rs +810 -0
  257. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/linker.rs +854 -0
  258. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/matching.rs +217 -0
  259. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/mod.rs +657 -0
  260. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/resource_table.rs +355 -0
  261. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/types.rs +897 -0
  262. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/debug.rs +166 -0
  263. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/global.rs +310 -0
  264. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/table.rs +481 -0
  265. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func/typed.rs +780 -0
  266. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func.rs +2564 -0
  267. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/anyref.rs +410 -0
  268. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/externref.rs +592 -0
  269. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/i31.rs +299 -0
  270. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/noextern.rs +154 -0
  271. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc.rs +92 -0
  272. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instance.rs +992 -0
  273. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instantiate.rs +337 -0
  274. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/linker.rs +1499 -0
  275. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module/registry.rs +353 -0
  276. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module.rs +1322 -0
  277. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store/func_refs.rs +90 -0
  278. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store.rs +2824 -0
  279. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/func.rs +94 -0
  280. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/memory.rs +287 -0
  281. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/type_registry.rs +1015 -0
  282. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types.rs +2580 -0
  283. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/v128.rs +116 -0
  284. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/values.rs +966 -0
  285. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/resources.rs +352 -0
  286. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component.rs +857 -0
  287. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/cow.rs +972 -0
  288. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/export.rs +108 -0
  289. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_ref.rs +491 -0
  290. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/on_demand.rs +220 -0
  291. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +194 -0
  292. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +94 -0
  293. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +78 -0
  294. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +707 -0
  295. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +975 -0
  296. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/table_pool.rs +245 -0
  297. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +278 -0
  298. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling.rs +794 -0
  299. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator.rs +801 -0
  300. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance.rs +1514 -0
  301. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/memory.rs +736 -0
  302. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/capi.rs +200 -0
  303. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/vm.rs +105 -0
  304. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/vm.rs +59 -0
  305. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/mod.rs +36 -0
  306. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/signals.rs +407 -0
  307. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/vm.rs +190 -0
  308. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/vm.rs +75 -0
  309. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/table.rs +899 -0
  310. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/traphandlers.rs +768 -0
  311. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext/vm_host_func_context.rs +79 -0
  312. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext.rs +1302 -0
  313. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm.rs +277 -0
  314. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime.rs +113 -0
  315. data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/.cargo-checksum.json +1 -0
  316. data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/Cargo.toml +22 -0
  317. data/ext/cargo-vendor/wasmtime-cache-22.0.0/.cargo-checksum.json +1 -0
  318. data/ext/cargo-vendor/wasmtime-cache-22.0.0/Cargo.toml +89 -0
  319. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/config.rs +584 -0
  320. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/lib.rs +235 -0
  321. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/tests.rs +91 -0
  322. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker/tests.rs +758 -0
  323. data/ext/cargo-vendor/wasmtime-cache-22.0.0/src/worker.rs +890 -0
  324. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/.cargo-checksum.json +1 -0
  325. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/Cargo.toml +86 -0
  326. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/bindgen.rs +493 -0
  327. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/component.rs +1330 -0
  328. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen.rs +651 -0
  329. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char.rs +198 -0
  330. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char_async.rs +215 -0
  331. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions.rs +586 -0
  332. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions_async.rs +631 -0
  333. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code.rs +165 -0
  334. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code_async.rs +178 -0
  335. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import.rs +91 -0
  336. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import_async.rs +97 -0
  337. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty.rs +45 -0
  338. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty_async.rs +45 -0
  339. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags.rs +637 -0
  340. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags_async.rs +679 -0
  341. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats.rs +255 -0
  342. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats_async.rs +282 -0
  343. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new.rs +59 -0
  344. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new_async.rs +62 -0
  345. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers.rs +722 -0
  346. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers_async.rs +819 -0
  347. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists.rs +1743 -0
  348. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists_async.rs +1927 -0
  349. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments.rs +543 -0
  350. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments_async.rs +561 -0
  351. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return.rs +270 -0
  352. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return_async.rs +298 -0
  353. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion.rs +251 -0
  354. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion_async.rs +270 -0
  355. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records.rs +815 -0
  356. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records_async.rs +877 -0
  357. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename.rs +154 -0
  358. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename_async.rs +167 -0
  359. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export.rs +467 -0
  360. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export_async.rs +516 -0
  361. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import.rs +1014 -0
  362. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import_async.rs +1086 -0
  363. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types.rs +249 -0
  364. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types_async.rs +265 -0
  365. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions.rs +313 -0
  366. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions_async.rs +347 -0
  367. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists.rs +350 -0
  368. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists_async.rs +381 -0
  369. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi.rs +216 -0
  370. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi_async.rs +229 -0
  371. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous.rs +275 -0
  372. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous_async.rs +287 -0
  373. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default.rs +59 -0
  374. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default_async.rs +62 -0
  375. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export.rs +86 -0
  376. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export_async.rs +89 -0
  377. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke.rs +104 -0
  378. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke_async.rs +111 -0
  379. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings.rs +247 -0
  380. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings_async.rs +269 -0
  381. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo.rs +136 -0
  382. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo_async.rs +143 -0
  383. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths.rs +288 -0
  384. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths_async.rs +314 -0
  385. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants.rs +1750 -0
  386. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants_async.rs +1867 -0
  387. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat.rs +84 -0
  388. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat_async.rs +84 -0
  389. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types.rs +138 -0
  390. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types_async.rs +148 -0
  391. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded.rs +65 -0
  392. data/ext/cargo-vendor/wasmtime-component-util-22.0.0/.cargo-checksum.json +1 -0
  393. data/ext/cargo-vendor/wasmtime-component-util-22.0.0/Cargo.toml +25 -0
  394. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/.cargo-checksum.json +1 -0
  395. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/Cargo.toml +115 -0
  396. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler/component.rs +957 -0
  397. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler.rs +1067 -0
  398. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/address_transform.rs +783 -0
  399. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/mod.rs +256 -0
  400. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/simulate.rs +411 -0
  401. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/unit.rs +529 -0
  402. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/utils.rs +186 -0
  403. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/write_debuginfo.rs +196 -0
  404. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/func_environ.rs +2910 -0
  405. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/gc/enabled.rs +648 -0
  406. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/lib.rs +462 -0
  407. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/obj.rs +545 -0
  408. data/ext/cargo-vendor/wasmtime-environ-22.0.0/.cargo-checksum.json +1 -0
  409. data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.lock +774 -0
  410. data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.toml +161 -0
  411. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/address_map.rs +73 -0
  412. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/mod.rs +374 -0
  413. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_artifacts.rs +315 -0
  414. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_environ.rs +1348 -0
  415. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_types.rs +455 -0
  416. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/artifacts.rs +68 -0
  417. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/info.rs +672 -0
  418. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate/adapt.rs +455 -0
  419. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate.rs +985 -0
  420. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types.rs +1038 -0
  421. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder/resources.rs +233 -0
  422. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder.rs +1004 -0
  423. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/trampoline.rs +3234 -0
  424. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact/transcode.rs +90 -0
  425. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/fact.rs +714 -0
  426. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/lib.rs +151 -0
  427. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module.rs +704 -0
  428. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_artifacts.rs +144 -0
  429. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module_types.rs +139 -0
  430. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/ref_bits.rs +36 -0
  431. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/tunables.rs +175 -0
  432. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/vmoffsets.rs +989 -0
  433. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/.cargo-checksum.json +1 -0
  434. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/Cargo.toml +65 -0
  435. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/build.rs +39 -0
  436. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/lib.rs +340 -0
  437. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/unix.rs +494 -0
  438. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/src/windows.rs +170 -0
  439. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/.cargo-checksum.json +1 -0
  440. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/Cargo.toml +68 -0
  441. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/gdb_jit_int.rs +130 -0
  442. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/src/perf_jitdump.rs +293 -0
  443. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/.cargo-checksum.json +1 -0
  444. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/Cargo.toml +52 -0
  445. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/src/libc.rs +164 -0
  446. data/ext/cargo-vendor/wasmtime-slab-22.0.0/.cargo-checksum.json +1 -0
  447. data/ext/cargo-vendor/wasmtime-slab-22.0.0/Cargo.toml +21 -0
  448. data/ext/cargo-vendor/wasmtime-slab-22.0.0/src/lib.rs +498 -0
  449. data/ext/cargo-vendor/wasmtime-types-22.0.0/.cargo-checksum.json +1 -0
  450. data/ext/cargo-vendor/wasmtime-types-22.0.0/Cargo.toml +56 -0
  451. data/ext/cargo-vendor/wasmtime-types-22.0.0/src/lib.rs +1737 -0
  452. data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/.cargo-checksum.json +1 -0
  453. data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/Cargo.toml +32 -0
  454. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/.cargo-checksum.json +1 -0
  455. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/Cargo.toml +201 -0
  456. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/bindings.rs +289 -0
  457. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ctx.rs +704 -0
  458. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/filesystem.rs +446 -0
  459. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/clocks.rs +109 -0
  460. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/env.rs +18 -0
  461. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/exit.rs +14 -0
  462. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem/sync.rs +525 -0
  463. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem.rs +1091 -0
  464. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/instance_network.rs +18 -0
  465. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/io.rs +388 -0
  466. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/network.rs +545 -0
  467. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/random.rs +45 -0
  468. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp.rs +547 -0
  469. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/tcp_create_socket.rs +18 -0
  470. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp.rs +762 -0
  471. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/udp_create_socket.rs +18 -0
  472. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/ip_name_lookup.rs +132 -0
  473. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/lib.rs +417 -0
  474. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/network.rs +113 -0
  475. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/pipe.rs +826 -0
  476. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/poll.rs +245 -0
  477. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview0.rs +983 -0
  478. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview1.rs +2801 -0
  479. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/stdio.rs +533 -0
  480. data/ext/cargo-vendor/wasmtime-winch-22.0.0/.cargo-checksum.json +1 -0
  481. data/ext/cargo-vendor/wasmtime-winch-22.0.0/Cargo.toml +82 -0
  482. data/ext/cargo-vendor/wasmtime-winch-22.0.0/src/compiler.rs +239 -0
  483. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/.cargo-checksum.json +1 -0
  484. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/Cargo.toml +47 -0
  485. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/lib.rs +2639 -0
  486. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/rust.rs +427 -0
  487. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/types.rs +202 -0
  488. data/ext/cargo-vendor/wiggle-22.0.0/.cargo-checksum.json +1 -0
  489. data/ext/cargo-vendor/wiggle-22.0.0/Cargo.toml +124 -0
  490. data/ext/cargo-vendor/wiggle-22.0.0/src/guest_type.rs +200 -0
  491. data/ext/cargo-vendor/wiggle-22.0.0/src/lib.rs +605 -0
  492. data/ext/cargo-vendor/wiggle-generate-22.0.0/.cargo-checksum.json +1 -0
  493. data/ext/cargo-vendor/wiggle-generate-22.0.0/Cargo.toml +67 -0
  494. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/funcs.rs +434 -0
  495. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/module_trait.rs +89 -0
  496. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/names.rs +299 -0
  497. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/flags.rs +92 -0
  498. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/handle.rs +84 -0
  499. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/mod.rs +129 -0
  500. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/record.rs +129 -0
  501. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/types/variant.rs +186 -0
  502. data/ext/cargo-vendor/wiggle-generate-22.0.0/src/wasmtime.rs +172 -0
  503. data/ext/cargo-vendor/wiggle-macro-22.0.0/.cargo-checksum.json +1 -0
  504. data/ext/cargo-vendor/wiggle-macro-22.0.0/Cargo.toml +51 -0
  505. data/ext/cargo-vendor/wiggle-macro-22.0.0/build.rs +5 -0
  506. data/ext/cargo-vendor/wiggle-macro-22.0.0/src/lib.rs +233 -0
  507. data/ext/cargo-vendor/winch-codegen-0.20.0/.cargo-checksum.json +1 -0
  508. data/ext/cargo-vendor/winch-codegen-0.20.0/Cargo.toml +77 -0
  509. data/ext/cargo-vendor/winch-codegen-0.20.0/src/abi/mod.rs +671 -0
  510. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/context.rs +536 -0
  511. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/control.rs +972 -0
  512. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/env.rs +448 -0
  513. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/mod.rs +882 -0
  514. data/ext/cargo-vendor/winch-codegen-0.20.0/src/frame/mod.rs +258 -0
  515. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/asm.rs +430 -0
  516. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/masm.rs +572 -0
  517. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/aarch64/regs.rs +161 -0
  518. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/asm.rs +1423 -0
  519. data/ext/cargo-vendor/winch-codegen-0.20.0/src/isa/x64/masm.rs +1120 -0
  520. data/ext/cargo-vendor/winch-codegen-0.20.0/src/masm.rs +941 -0
  521. data/ext/cargo-vendor/winch-codegen-0.20.0/src/regalloc.rs +65 -0
  522. data/ext/cargo-vendor/winch-codegen-0.20.0/src/stack.rs +439 -0
  523. data/ext/cargo-vendor/winch-codegen-0.20.0/src/visitor.rs +2149 -0
  524. data/ext/cargo-vendor/wit-parser-0.209.1/.cargo-checksum.json +1 -0
  525. data/ext/cargo-vendor/wit-parser-0.209.1/Cargo.toml +112 -0
  526. data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/resolve.rs +1524 -0
  527. data/ext/cargo-vendor/wit-parser-0.209.1/src/ast.rs +1668 -0
  528. data/ext/cargo-vendor/wit-parser-0.209.1/src/decoding.rs +1795 -0
  529. data/ext/cargo-vendor/wit-parser-0.209.1/src/lib.rs +873 -0
  530. data/ext/cargo-vendor/wit-parser-0.209.1/src/live.rs +126 -0
  531. data/ext/cargo-vendor/wit-parser-0.209.1/src/metadata.rs +772 -0
  532. data/ext/cargo-vendor/wit-parser-0.209.1/src/resolve.rs +2498 -0
  533. data/ext/cargo-vendor/wit-parser-0.209.1/src/serde_.rs +124 -0
  534. data/ext/cargo-vendor/wit-parser-0.209.1/tests/all.rs +154 -0
  535. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/complex-include.wit.json +200 -0
  536. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/diamond1.wit.json +59 -0
  537. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/disambiguate-diamond.wit.json +115 -0
  538. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit +118 -0
  539. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit.json +288 -0
  540. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps-union.wit.json +410 -0
  541. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/foreign-deps.wit.json +362 -0
  542. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/ignore-files-deps.wit.json +41 -0
  543. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/import-export-overlap2.wit.json +43 -0
  544. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/include-reps.wit.json +68 -0
  545. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/kinds-of-deps.wit.json +95 -0
  546. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/many-names.wit.json +42 -0
  547. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/multi-file.wit.json +304 -0
  548. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit +8 -0
  549. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate1.wit.result +5 -0
  550. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit +8 -0
  551. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate2.wit.result +5 -0
  552. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit +6 -0
  553. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate3.wit.result +8 -0
  554. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit +8 -0
  555. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate4.wit.result +8 -0
  556. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit +11 -0
  557. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-gate5.wit.result +8 -0
  558. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit +4 -0
  559. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since1.wit.result +5 -0
  560. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit +5 -0
  561. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/bad-since3.wit.result +5 -0
  562. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/conflicting-package.wit.result +10 -0
  563. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/multiple-package-docs.wit.result +10 -0
  564. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +8 -0
  565. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/resources-return-borrow.wit.result +8 -0
  566. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow1.wit.result +8 -0
  567. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow2.wit.result +8 -0
  568. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow6.wit.result +8 -0
  569. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow7.wit.result +8 -0
  570. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/parse-fail/return-borrow8.wit.result +9 -0
  571. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/shared-types.wit.json +87 -0
  572. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit +89 -0
  573. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit.json +549 -0
  574. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/stress-export-elaborate.wit.json +1156 -0
  575. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-diamond.wit.json +124 -0
  576. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-iface-no-collide.wit.json +68 -0
  577. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import1.wit.json +81 -0
  578. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import2.wit.json +72 -0
  579. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-implicit-import3.wit.json +73 -0
  580. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-same-fields4.wit.json +82 -0
  581. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/world-top-level-resources.wit.json +237 -0
  582. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-union-dedup.wit.json +112 -0
  583. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/worlds-with-types.wit.json +204 -0
  584. data/ext/src/ruby_api/pooling_allocation_config.rs +6 -6
  585. data/lib/wasmtime/version.rb +1 -1
  586. metadata +1525 -1459
  587. data/ext/cargo-vendor/cranelift-bforest-0.108.1/.cargo-checksum.json +0 -1
  588. data/ext/cargo-vendor/cranelift-bforest-0.108.1/Cargo.toml +0 -40
  589. data/ext/cargo-vendor/cranelift-codegen-0.108.1/.cargo-checksum.json +0 -1
  590. data/ext/cargo-vendor/cranelift-codegen-0.108.1/Cargo.toml +0 -189
  591. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/context.rs +0 -395
  592. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dce.rs +0 -37
  593. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/dominator_tree.rs +0 -803
  594. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph.rs +0 -839
  595. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/inst_predicates.rs +0 -236
  596. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/dfg.rs +0 -1777
  597. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/extfunc.rs +0 -411
  598. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/immediates.rs +0 -1612
  599. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/stackslot.rs +0 -216
  600. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/types.rs +0 -629
  601. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/abi.rs +0 -1580
  602. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/args.rs +0 -721
  603. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit.rs +0 -3846
  604. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit_tests.rs +0 -7902
  605. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/imms.rs +0 -1213
  606. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/mod.rs +0 -3094
  607. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/regs.rs +0 -288
  608. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/unwind/systemv.rs +0 -174
  609. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst.isle +0 -4225
  610. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/pcc.rs +0 -568
  611. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/abi.rs +0 -1051
  612. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/args.rs +0 -1938
  613. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit.rs +0 -2681
  614. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit_tests.rs +0 -2197
  615. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/encode.rs +0 -654
  616. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/imms.rs +0 -374
  617. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/mod.rs +0 -1975
  618. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/unwind/systemv.rs +0 -170
  619. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/vector.rs +0 -1144
  620. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst.isle +0 -2969
  621. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst_vector.isle +0 -1899
  622. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower/isle.rs +0 -625
  623. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower.isle +0 -2883
  624. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/mod.rs +0 -260
  625. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/abi.rs +0 -1037
  626. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/args.rs +0 -314
  627. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit.rs +0 -3646
  628. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit_tests.rs +0 -13389
  629. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/imms.rs +0 -202
  630. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/mod.rs +0 -3421
  631. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/regs.rs +0 -180
  632. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/unwind/systemv.rs +0 -212
  633. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst.isle +0 -5033
  634. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/lower.isle +0 -3995
  635. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/abi.rs +0 -1410
  636. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/args.rs +0 -2256
  637. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit.rs +0 -4311
  638. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_state.rs +0 -74
  639. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_tests.rs +0 -5171
  640. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/mod.rs +0 -2838
  641. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/regs.rs +0 -276
  642. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/unwind/systemv.rs +0 -198
  643. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst.isle +0 -5294
  644. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.isle +0 -4808
  645. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/pcc.rs +0 -1014
  646. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isle_prelude.rs +0 -957
  647. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/lib.rs +0 -106
  648. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/abi.rs +0 -2506
  649. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/blockorder.rs +0 -465
  650. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/buffer.rs +0 -2512
  651. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/isle.rs +0 -903
  652. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/lower.rs +0 -1432
  653. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/mod.rs +0 -555
  654. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/reg.rs +0 -522
  655. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/valueregs.rs +0 -138
  656. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/vcode.rs +0 -1741
  657. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/cprop.isle +0 -281
  658. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/shifts.isle +0 -307
  659. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude.isle +0 -646
  660. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/prelude_lower.isle +0 -1073
  661. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/timing.rs +0 -297
  662. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/verifier/mod.rs +0 -1957
  663. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/write.rs +0 -631
  664. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/.cargo-checksum.json +0 -1
  665. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/Cargo.toml +0 -35
  666. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/cdsl/types.rs +0 -496
  667. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/riscv64.rs +0 -168
  668. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/.cargo-checksum.json +0 -1
  669. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/Cargo.toml +0 -22
  670. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/src/constants.rs +0 -28
  671. data/ext/cargo-vendor/cranelift-control-0.108.1/.cargo-checksum.json +0 -1
  672. data/ext/cargo-vendor/cranelift-control-0.108.1/Cargo.toml +0 -30
  673. data/ext/cargo-vendor/cranelift-entity-0.108.1/.cargo-checksum.json +0 -1
  674. data/ext/cargo-vendor/cranelift-entity-0.108.1/Cargo.toml +0 -52
  675. data/ext/cargo-vendor/cranelift-entity-0.108.1/src/set.rs +0 -290
  676. data/ext/cargo-vendor/cranelift-frontend-0.108.1/.cargo-checksum.json +0 -1
  677. data/ext/cargo-vendor/cranelift-frontend-0.108.1/Cargo.toml +0 -67
  678. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/frontend.rs +0 -1854
  679. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/lib.rs +0 -189
  680. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/ssa.rs +0 -1328
  681. data/ext/cargo-vendor/cranelift-isle-0.108.1/.cargo-checksum.json +0 -1
  682. data/ext/cargo-vendor/cranelift-isle-0.108.1/Cargo.toml +0 -46
  683. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/sema.rs +0 -2492
  684. data/ext/cargo-vendor/cranelift-native-0.108.1/.cargo-checksum.json +0 -1
  685. data/ext/cargo-vendor/cranelift-native-0.108.1/Cargo.toml +0 -43
  686. data/ext/cargo-vendor/cranelift-native-0.108.1/src/lib.rs +0 -188
  687. data/ext/cargo-vendor/cranelift-native-0.108.1/src/riscv.rs +0 -128
  688. data/ext/cargo-vendor/cranelift-wasm-0.108.1/.cargo-checksum.json +0 -1
  689. data/ext/cargo-vendor/cranelift-wasm-0.108.1/Cargo.toml +0 -109
  690. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/code_translator.rs +0 -3687
  691. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/func_translator.rs +0 -296
  692. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/module_translator.rs +0 -128
  693. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/sections_translator.rs +0 -389
  694. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/state.rs +0 -522
  695. data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +0 -1
  696. data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +0 -797
  697. data/ext/cargo-vendor/object-0.33.0/Cargo.toml +0 -179
  698. data/ext/cargo-vendor/object-0.33.0/README.md +0 -56
  699. data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +0 -141
  700. data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +0 -3033
  701. data/ext/cargo-vendor/object-0.33.0/src/common.rs +0 -568
  702. data/ext/cargo-vendor/object-0.33.0/src/elf.rs +0 -6291
  703. data/ext/cargo-vendor/object-0.33.0/src/endian.rs +0 -831
  704. data/ext/cargo-vendor/object-0.33.0/src/macho.rs +0 -3309
  705. data/ext/cargo-vendor/object-0.33.0/src/pod.rs +0 -239
  706. data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +0 -1328
  707. data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +0 -759
  708. data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +0 -211
  709. data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +0 -383
  710. data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +0 -108
  711. data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +0 -585
  712. data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +0 -635
  713. data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +0 -306
  714. data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +0 -162
  715. data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +0 -918
  716. data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +0 -224
  717. data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +0 -271
  718. data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +0 -629
  719. data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +0 -1150
  720. data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +0 -356
  721. data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +0 -595
  722. data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +0 -424
  723. data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +0 -345
  724. data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +0 -783
  725. data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +0 -386
  726. data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +0 -389
  727. data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +0 -303
  728. data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +0 -492
  729. data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +0 -880
  730. data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +0 -1053
  731. data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +0 -339
  732. data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +0 -92
  733. data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +0 -440
  734. data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +0 -213
  735. data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +0 -551
  736. data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +0 -966
  737. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +0 -697
  738. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +0 -134
  739. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +0 -433
  740. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +0 -784
  741. data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +0 -678
  742. data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +0 -518
  743. data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +0 -885
  744. data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +0 -2309
  745. data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +0 -1107
  746. data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +0 -990
  747. data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +0 -847
  748. data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +0 -589
  749. data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +0 -2
  750. data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +0 -4
  751. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +0 -255
  752. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +0 -225
  753. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +0 -245
  754. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +0 -289
  755. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +0 -704
  756. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +0 -90
  757. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +0 -316
  758. data/ext/cargo-vendor/wasi-common-21.0.1/.cargo-checksum.json +0 -1
  759. data/ext/cargo-vendor/wasi-common-21.0.1/Cargo.toml +0 -223
  760. data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_0.rs +0 -1145
  761. data/ext/cargo-vendor/wasi-common-21.0.1/src/snapshots/preview_1.rs +0 -1497
  762. data/ext/cargo-vendor/wasi-common-21.0.1/src/string_array.rs +0 -74
  763. data/ext/cargo-vendor/wasi-common-21.0.1/src/sync/sched/windows.rs +0 -221
  764. data/ext/cargo-vendor/wasi-common-21.0.1/src/tokio/file.rs +0 -247
  765. data/ext/cargo-vendor/wasm-encoder-0.207.0/.cargo-checksum.json +0 -1
  766. data/ext/cargo-vendor/wasm-encoder-0.207.0/Cargo.toml +0 -45
  767. data/ext/cargo-vendor/wasm-encoder-0.207.0/README.md +0 -80
  768. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/aliases.rs +0 -160
  769. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/builder.rs +0 -455
  770. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/canonicals.rs +0 -159
  771. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/components.rs +0 -29
  772. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/exports.rs +0 -124
  773. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/imports.rs +0 -175
  774. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/instances.rs +0 -200
  775. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/modules.rs +0 -29
  776. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/names.rs +0 -149
  777. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/start.rs +0 -52
  778. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component/types.rs +0 -792
  779. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/component.rs +0 -168
  780. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/code.rs +0 -3502
  781. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/custom.rs +0 -73
  782. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/data.rs +0 -186
  783. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/dump.rs +0 -627
  784. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/elements.rs +0 -221
  785. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/exports.rs +0 -98
  786. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/functions.rs +0 -63
  787. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/globals.rs +0 -112
  788. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/imports.rs +0 -157
  789. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/linking.rs +0 -263
  790. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/memories.rs +0 -128
  791. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/names.rs +0 -298
  792. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/producers.rs +0 -180
  793. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/start.rs +0 -39
  794. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tables.rs +0 -134
  795. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tags.rs +0 -104
  796. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/types.rs +0 -678
  797. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core.rs +0 -168
  798. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/lib.rs +0 -215
  799. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/raw.rs +0 -30
  800. data/ext/cargo-vendor/wasmparser-0.207.0/.cargo-checksum.json +0 -1
  801. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.lock +0 -659
  802. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.toml +0 -95
  803. data/ext/cargo-vendor/wasmparser-0.207.0/src/binary_reader.rs +0 -1867
  804. data/ext/cargo-vendor/wasmparser-0.207.0/src/lib.rs +0 -805
  805. data/ext/cargo-vendor/wasmparser-0.207.0/src/limits.rs +0 -78
  806. data/ext/cargo-vendor/wasmparser-0.207.0/src/map.rs +0 -137
  807. data/ext/cargo-vendor/wasmparser-0.207.0/src/parser.rs +0 -1636
  808. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/imports.rs +0 -129
  809. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/instances.rs +0 -164
  810. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/names.rs +0 -102
  811. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/types.rs +0 -551
  812. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/branch_hinting.rs +0 -59
  813. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/code.rs +0 -146
  814. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/coredumps.rs +0 -244
  815. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/custom.rs +0 -64
  816. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/data.rs +0 -96
  817. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/elements.rs +0 -152
  818. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/globals.rs +0 -51
  819. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/init.rs +0 -51
  820. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/linking.rs +0 -450
  821. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/names.rs +0 -159
  822. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/operators.rs +0 -430
  823. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/producers.rs +0 -83
  824. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/reloc.rs +0 -301
  825. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types.rs +0 -1773
  826. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers.rs +0 -316
  827. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/component.rs +0 -3242
  828. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core/canonical.rs +0 -233
  829. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core.rs +0 -1450
  830. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/func.rs +0 -331
  831. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/names.rs +0 -947
  832. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/operators.rs +0 -4117
  833. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/types.rs +0 -4492
  834. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator.rs +0 -1786
  835. data/ext/cargo-vendor/wasmprinter-0.207.0/.cargo-checksum.json +0 -1
  836. data/ext/cargo-vendor/wasmprinter-0.207.0/Cargo.toml +0 -50
  837. data/ext/cargo-vendor/wasmprinter-0.207.0/src/lib.rs +0 -3226
  838. data/ext/cargo-vendor/wasmprinter-0.207.0/src/operator.rs +0 -1164
  839. data/ext/cargo-vendor/wasmtime-21.0.1/.cargo-checksum.json +0 -1
  840. data/ext/cargo-vendor/wasmtime-21.0.1/Cargo.toml +0 -386
  841. data/ext/cargo-vendor/wasmtime-21.0.1/build.rs +0 -37
  842. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/runtime.rs +0 -176
  843. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile.rs +0 -910
  844. data/ext/cargo-vendor/wasmtime-21.0.1/src/config.rs +0 -2904
  845. data/ext/cargo-vendor/wasmtime-21.0.1/src/engine/serialization.rs +0 -887
  846. data/ext/cargo-vendor/wasmtime-21.0.1/src/lib.rs +0 -328
  847. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/jitdump.rs +0 -67
  848. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/perfmap.rs +0 -48
  849. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code.rs +0 -102
  850. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code_memory.rs +0 -337
  851. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/component.rs +0 -661
  852. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/typed.rs +0 -2498
  853. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func.rs +0 -746
  854. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/instance.rs +0 -814
  855. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/linker.rs +0 -783
  856. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/matching.rs +0 -217
  857. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/mod.rs +0 -783
  858. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resource_table.rs +0 -355
  859. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/types.rs +0 -892
  860. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/debug.rs +0 -166
  861. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/global.rs +0 -310
  862. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/table.rs +0 -477
  863. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func/typed.rs +0 -899
  864. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func.rs +0 -2627
  865. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/anyref.rs +0 -473
  866. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/externref.rs +0 -650
  867. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/i31.rs +0 -346
  868. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc.rs +0 -89
  869. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instance.rs +0 -992
  870. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instantiate.rs +0 -346
  871. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/linker.rs +0 -1506
  872. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module/registry.rs +0 -353
  873. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module.rs +0 -1295
  874. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/func_refs.rs +0 -90
  875. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store.rs +0 -2820
  876. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/func.rs +0 -139
  877. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/memory.rs +0 -287
  878. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/type_registry.rs +0 -807
  879. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types.rs +0 -2239
  880. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/v128.rs +0 -131
  881. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/values.rs +0 -966
  882. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/resources.rs +0 -352
  883. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component.rs +0 -860
  884. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/cow.rs +0 -893
  885. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/export.rs +0 -108
  886. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_ref.rs +0 -491
  887. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/on_demand.rs +0 -218
  888. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -93
  889. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -66
  890. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -705
  891. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -1000
  892. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -233
  893. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -245
  894. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling.rs +0 -656
  895. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator.rs +0 -798
  896. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance.rs +0 -1519
  897. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/memory.rs +0 -744
  898. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/capi.rs +0 -200
  899. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/vm.rs +0 -109
  900. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/vm.rs +0 -63
  901. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/mod.rs +0 -25
  902. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/signals.rs +0 -401
  903. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/vm.rs +0 -215
  904. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/vm.rs +0 -79
  905. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/table.rs +0 -847
  906. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers.rs +0 -768
  907. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -138
  908. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext.rs +0 -1337
  909. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm.rs +0 -287
  910. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime.rs +0 -110
  911. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/.cargo-checksum.json +0 -1
  912. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/Cargo.toml +0 -22
  913. data/ext/cargo-vendor/wasmtime-cache-21.0.1/.cargo-checksum.json +0 -1
  914. data/ext/cargo-vendor/wasmtime-cache-21.0.1/Cargo.toml +0 -88
  915. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/config.rs +0 -584
  916. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/lib.rs +0 -235
  917. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/tests.rs +0 -91
  918. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker/tests.rs +0 -758
  919. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/worker.rs +0 -890
  920. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/.cargo-checksum.json +0 -1
  921. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/Cargo.toml +0 -79
  922. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/bindgen.rs +0 -436
  923. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/component.rs +0 -1295
  924. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen.rs +0 -576
  925. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/.cargo-checksum.json +0 -1
  926. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/Cargo.toml +0 -25
  927. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/.cargo-checksum.json +0 -1
  928. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/Cargo.toml +0 -114
  929. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler/component.rs +0 -968
  930. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler.rs +0 -1383
  931. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/address_transform.rs +0 -783
  932. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/mod.rs +0 -256
  933. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/simulate.rs +0 -411
  934. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/unit.rs +0 -529
  935. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/utils.rs +0 -186
  936. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/write_debuginfo.rs +0 -196
  937. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/func_environ.rs +0 -2888
  938. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc/enabled.rs +0 -648
  939. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/lib.rs +0 -511
  940. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/obj.rs +0 -545
  941. data/ext/cargo-vendor/wasmtime-environ-21.0.1/.cargo-checksum.json +0 -1
  942. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.lock +0 -772
  943. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.toml +0 -154
  944. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/address_map.rs +0 -73
  945. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/mod.rs +0 -419
  946. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_artifacts.rs +0 -315
  947. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_environ.rs +0 -1337
  948. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_types.rs +0 -362
  949. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/artifacts.rs +0 -72
  950. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/info.rs +0 -672
  951. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate/adapt.rs +0 -455
  952. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate.rs +0 -978
  953. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types.rs +0 -1029
  954. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder/resources.rs +0 -233
  955. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder.rs +0 -997
  956. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/trampoline.rs +0 -3234
  957. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/transcode.rs +0 -90
  958. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact.rs +0 -714
  959. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/lib.rs +0 -161
  960. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module.rs +0 -697
  961. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_artifacts.rs +0 -146
  962. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_types.rs +0 -91
  963. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/ref_bits.rs +0 -36
  964. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/tunables.rs +0 -168
  965. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/vmoffsets.rs +0 -1015
  966. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/.cargo-checksum.json +0 -1
  967. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/Cargo.toml +0 -64
  968. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/build.rs +0 -38
  969. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/lib.rs +0 -328
  970. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/unix.rs +0 -490
  971. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/windows.rs +0 -166
  972. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/.cargo-checksum.json +0 -1
  973. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/Cargo.toml +0 -67
  974. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/gdb_jit_int.rs +0 -130
  975. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/src/perf_jitdump.rs +0 -293
  976. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/.cargo-checksum.json +0 -1
  977. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/Cargo.toml +0 -51
  978. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/libc.rs +0 -163
  979. data/ext/cargo-vendor/wasmtime-slab-21.0.1/.cargo-checksum.json +0 -1
  980. data/ext/cargo-vendor/wasmtime-slab-21.0.1/Cargo.toml +0 -21
  981. data/ext/cargo-vendor/wasmtime-slab-21.0.1/src/lib.rs +0 -498
  982. data/ext/cargo-vendor/wasmtime-types-21.0.1/.cargo-checksum.json +0 -1
  983. data/ext/cargo-vendor/wasmtime-types-21.0.1/Cargo.toml +0 -55
  984. data/ext/cargo-vendor/wasmtime-types-21.0.1/src/lib.rs +0 -1572
  985. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/.cargo-checksum.json +0 -1
  986. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/Cargo.toml +0 -32
  987. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/.cargo-checksum.json +0 -1
  988. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/Cargo.toml +0 -200
  989. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/bindings.rs +0 -280
  990. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ctx.rs +0 -667
  991. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/filesystem.rs +0 -446
  992. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/clocks.rs +0 -103
  993. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/env.rs +0 -15
  994. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/exit.rs +0 -11
  995. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem/sync.rs +0 -518
  996. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/filesystem.rs +0 -1079
  997. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/instance_network.rs +0 -15
  998. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/io.rs +0 -367
  999. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/network.rs +0 -539
  1000. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/random.rs +0 -36
  1001. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp.rs +0 -306
  1002. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/tcp_create_socket.rs +0 -15
  1003. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp.rs +0 -532
  1004. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/host/udp_create_socket.rs +0 -15
  1005. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ip_name_lookup.rs +0 -126
  1006. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/lib.rs +0 -426
  1007. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/network.rs +0 -107
  1008. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/pipe.rs +0 -826
  1009. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/poll.rs +0 -233
  1010. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview0.rs +0 -877
  1011. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview1.rs +0 -2660
  1012. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/stdio.rs +0 -507
  1013. data/ext/cargo-vendor/wasmtime-winch-21.0.1/.cargo-checksum.json +0 -1
  1014. data/ext/cargo-vendor/wasmtime-winch-21.0.1/Cargo.toml +0 -81
  1015. data/ext/cargo-vendor/wasmtime-winch-21.0.1/src/compiler.rs +0 -261
  1016. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/.cargo-checksum.json +0 -1
  1017. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/Cargo.toml +0 -46
  1018. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/lib.rs +0 -2541
  1019. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/rust.rs +0 -421
  1020. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/types.rs +0 -202
  1021. data/ext/cargo-vendor/wiggle-21.0.1/.cargo-checksum.json +0 -1
  1022. data/ext/cargo-vendor/wiggle-21.0.1/Cargo.toml +0 -123
  1023. data/ext/cargo-vendor/wiggle-21.0.1/src/borrow.rs +0 -113
  1024. data/ext/cargo-vendor/wiggle-21.0.1/src/guest_type.rs +0 -237
  1025. data/ext/cargo-vendor/wiggle-21.0.1/src/lib.rs +0 -1184
  1026. data/ext/cargo-vendor/wiggle-21.0.1/src/wasmtime.rs +0 -97
  1027. data/ext/cargo-vendor/wiggle-generate-21.0.1/.cargo-checksum.json +0 -1
  1028. data/ext/cargo-vendor/wiggle-generate-21.0.1/Cargo.toml +0 -66
  1029. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/funcs.rs +0 -435
  1030. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/module_trait.rs +0 -102
  1031. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/names.rs +0 -303
  1032. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/flags.rs +0 -92
  1033. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/handle.rs +0 -84
  1034. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/mod.rs +0 -129
  1035. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/record.rs +0 -132
  1036. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/types/variant.rs +0 -191
  1037. data/ext/cargo-vendor/wiggle-generate-21.0.1/src/wasmtime.rs +0 -170
  1038. data/ext/cargo-vendor/wiggle-macro-21.0.1/.cargo-checksum.json +0 -1
  1039. data/ext/cargo-vendor/wiggle-macro-21.0.1/Cargo.toml +0 -55
  1040. data/ext/cargo-vendor/wiggle-macro-21.0.1/LICENSE +0 -220
  1041. data/ext/cargo-vendor/wiggle-macro-21.0.1/src/lib.rs +0 -210
  1042. data/ext/cargo-vendor/winch-codegen-0.19.1/.cargo-checksum.json +0 -1
  1043. data/ext/cargo-vendor/winch-codegen-0.19.1/Cargo.toml +0 -76
  1044. data/ext/cargo-vendor/winch-codegen-0.19.1/src/abi/mod.rs +0 -671
  1045. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/context.rs +0 -534
  1046. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/control.rs +0 -972
  1047. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/env.rs +0 -440
  1048. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/mod.rs +0 -882
  1049. data/ext/cargo-vendor/winch-codegen-0.19.1/src/frame/mod.rs +0 -258
  1050. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/asm.rs +0 -380
  1051. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/masm.rs +0 -566
  1052. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/regs.rs +0 -161
  1053. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/asm.rs +0 -1423
  1054. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/masm.rs +0 -1120
  1055. data/ext/cargo-vendor/winch-codegen-0.19.1/src/masm.rs +0 -941
  1056. data/ext/cargo-vendor/winch-codegen-0.19.1/src/regalloc.rs +0 -65
  1057. data/ext/cargo-vendor/winch-codegen-0.19.1/src/stack.rs +0 -439
  1058. data/ext/cargo-vendor/winch-codegen-0.19.1/src/visitor.rs +0 -2144
  1059. data/ext/cargo-vendor/wit-parser-0.207.0/.cargo-checksum.json +0 -1
  1060. data/ext/cargo-vendor/wit-parser-0.207.0/Cargo.toml +0 -109
  1061. data/ext/cargo-vendor/wit-parser-0.207.0/src/ast/resolve.rs +0 -1442
  1062. data/ext/cargo-vendor/wit-parser-0.207.0/src/ast.rs +0 -1348
  1063. data/ext/cargo-vendor/wit-parser-0.207.0/src/decoding.rs +0 -1764
  1064. data/ext/cargo-vendor/wit-parser-0.207.0/src/docs.rs +0 -389
  1065. data/ext/cargo-vendor/wit-parser-0.207.0/src/lib.rs +0 -777
  1066. data/ext/cargo-vendor/wit-parser-0.207.0/src/live.rs +0 -126
  1067. data/ext/cargo-vendor/wit-parser-0.207.0/src/resolve.rs +0 -2337
  1068. data/ext/cargo-vendor/wit-parser-0.207.0/src/serde_.rs +0 -108
  1069. data/ext/cargo-vendor/wit-parser-0.207.0/tests/all.rs +0 -153
  1070. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/complex-include.wit.json +0 -168
  1071. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/diamond1.wit.json +0 -55
  1072. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/disambiguate-diamond.wit.json +0 -107
  1073. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps-union.wit.json +0 -380
  1074. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/foreign-deps.wit.json +0 -344
  1075. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/ignore-files-deps.wit.json +0 -39
  1076. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/import-export-overlap2.wit.json +0 -41
  1077. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/include-reps.wit.json +0 -60
  1078. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/kinds-of-deps.wit.json +0 -87
  1079. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/many-names.wit.json +0 -40
  1080. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/multi-file.wit.json +0 -298
  1081. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/conflicting-package.wit.result +0 -9
  1082. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -9
  1083. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -5
  1084. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -5
  1085. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit.result +0 -5
  1086. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit.result +0 -5
  1087. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit.result +0 -5
  1088. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit.result +0 -5
  1089. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8.wit.result +0 -8
  1090. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/shared-types.wit.json +0 -83
  1091. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/stress-export-elaborate.wit.json +0 -1136
  1092. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-diamond.wit.json +0 -118
  1093. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-iface-no-collide.wit.json +0 -66
  1094. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import1.wit.json +0 -75
  1095. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import2.wit.json +0 -70
  1096. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-implicit-import3.wit.json +0 -71
  1097. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-same-fields4.wit.json +0 -76
  1098. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit.json +0 -231
  1099. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-union-dedup.wit.json +0 -100
  1100. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/worlds-with-types.wit.json +0 -202
  1101. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/LICENSE +0 -0
  1102. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/README.md +0 -0
  1103. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/lib.rs +0 -0
  1104. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/map.rs +0 -0
  1105. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/node.rs +0 -0
  1106. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/path.rs +0 -0
  1107. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/pool.rs +0 -0
  1108. /data/ext/cargo-vendor/{cranelift-bforest-0.108.1 → cranelift-bforest-0.109.0}/src/set.rs +0 -0
  1109. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/LICENSE +0 -0
  1110. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/README.md +0 -0
  1111. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/benches/x64-evex-encoding.rs +0 -0
  1112. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/build.rs +0 -0
  1113. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/alias_analysis.rs +0 -0
  1114. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/mod.rs +0 -0
  1115. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/binemit/stack_map.rs +0 -0
  1116. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/bitset.rs +0 -0
  1117. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cfg_printer.rs +0 -0
  1118. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/constant_hash.rs +0 -0
  1119. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ctxhash.rs +0 -0
  1120. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/cursor.rs +0 -0
  1121. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/data_value.rs +0 -0
  1122. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/dbg.rs +0 -0
  1123. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/cost.rs +0 -0
  1124. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/egraph/elaborate.rs +0 -0
  1125. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/flowgraph.rs +0 -0
  1126. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/incremental_cache.rs +0 -0
  1127. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/atomic_rmw_op.rs +0 -0
  1128. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/builder.rs +0 -0
  1129. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/condcodes.rs +0 -0
  1130. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/constant.rs +0 -0
  1131. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/dynamic_type.rs +0 -0
  1132. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/entities.rs +0 -0
  1133. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/extname.rs +0 -0
  1134. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/function.rs +0 -0
  1135. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/globalvalue.rs +0 -0
  1136. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/instructions.rs +0 -0
  1137. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/jumptable.rs +0 -0
  1138. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/known_symbol.rs +0 -0
  1139. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/layout.rs +0 -0
  1140. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/libcall.rs +0 -0
  1141. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memflags.rs +0 -0
  1142. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/memtype.rs +0 -0
  1143. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/mod.rs +0 -0
  1144. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/pcc.rs +0 -0
  1145. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/progpoint.rs +0 -0
  1146. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/sourceloc.rs +0 -0
  1147. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ir/trapcode.rs +0 -0
  1148. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst/unwind.rs +0 -0
  1149. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/inst_neon.isle +0 -0
  1150. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1151. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower/isle.rs +0 -0
  1152. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.isle +0 -0
  1153. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower.rs +0 -0
  1154. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1155. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/mod.rs +0 -0
  1156. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/aarch64/settings.rs +0 -0
  1157. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/call_conv.rs +0 -0
  1158. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/mod.rs +0 -0
  1159. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/regs.rs +0 -0
  1160. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/inst/unwind.rs +0 -0
  1161. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1162. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/lower.rs +0 -0
  1163. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/riscv64/settings.rs +0 -0
  1164. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/inst/unwind.rs +0 -0
  1165. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower/isle.rs +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/lower.rs +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/mod.rs +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/s390x/settings.rs +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/systemv.rs +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind/winx64.rs +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/unwind.rs +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/evex.rs +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/mod.rs +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/rex.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/encoding/vex.rs +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/inst/unwind.rs +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower/isle.rs +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/lower.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/mod.rs +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/isa/x64/settings.rs +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/iterators.rs +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/globalvalue.rs +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/legalizer/mod.rs +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/loop_analysis.rs +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/compile.rs +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/helpers.rs +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/inst_common.rs +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/machinst/pcc.rs +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/nan_canonicalization.rs +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/README.md +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/arithmetic.isle +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/bitops.isle +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/extends.isle +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/generated_code.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/icmp.isle +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/remat.isle +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/selects.isle +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spaceship.isle +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/spectre.isle +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts/vector.isle +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/opts.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/prelude_opt.isle +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/print_errors.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/ranges.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/remove_constant_phis.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/result.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/scoped_hash_map.rs +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/settings.rs +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/souper_harvest.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unionfind.rs +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/unreachable_code.rs +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-codegen-0.108.1 → cranelift-codegen-0.109.0}/src/value_label.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/LICENSE +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/README.md +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/formats.rs +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/instructions.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/isa.rs +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/mod.rs +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/operands.rs +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/settings.rs +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/cdsl/typevar.rs +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/constant_hash.rs +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/error.rs +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_inst.rs +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_isle.rs +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_settings.rs +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/gen_types.rs +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/arm64.rs +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/mod.rs +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/s390x.rs +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isa/x86.rs +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/isle.rs +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/lib.rs +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/entities.rs +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/formats.rs +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/immediates.rs +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/instructions.rs +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/mod.rs +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/settings.rs +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/shared/types.rs +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/srcgen.rs +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.108.1 → cranelift-codegen-meta-0.109.0}/src/unique_table.rs +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/LICENSE +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/README.md +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/constant_hash.rs +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.108.1 → cranelift-codegen-shared-0.109.0}/src/lib.rs +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/LICENSE +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/README.md +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/chaos.rs +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/lib.rs +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-control-0.108.1 → cranelift-control-0.109.0}/src/zero_sized.rs +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/LICENSE +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/README.md +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/boxed_slice.rs +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/iter.rs +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/keys.rs +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/lib.rs +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/list.rs +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/map.rs +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/packed_option.rs +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/primary.rs +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/sparse.rs +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-entity-0.108.1 → cranelift-entity-0.109.0}/src/unsigned.rs +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/LICENSE +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/README.md +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/switch.rs +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-frontend-0.108.1 → cranelift-frontend-0.109.0}/src/variable.rs +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/README.md +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/build.rs +0 -0
  1273. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bad_converters.isle +0 -0
  1274. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1275. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1276. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/error1.isle +0 -0
  1277. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/extra_parens.isle +0 -0
  1278. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_expression.isle +0 -0
  1279. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/impure_rhs.isle +0 -0
  1280. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1281. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/fail/multi_prio.isle +0 -0
  1282. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows.isle +0 -0
  1283. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/borrows_main.rs +0 -0
  1284. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets.isle +0 -0
  1285. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/iflets_main.rs +0 -0
  1286. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor.isle +0 -0
  1287. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_constructor_main.rs +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor.isle +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/multi_extractor_main.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test.isle +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/link/test_main.rs +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/bound_var.isle +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/construct_and_extract.isle +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions.isle +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/conversions_extern.isle +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/let.isle +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/nodebug.isle +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test2.isle +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test3.isle +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/test4.isle +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/pass/tutorial.isle +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst.isle +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/iconst_main.rs +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing.isle +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/isle_examples/run/let_shadowing_main.rs +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/ast.rs +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/codegen.rs +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/compile.rs +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/disjointsets.rs +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/error.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lexer.rs +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/lib.rs +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/log.rs +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/overlap.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/parser.rs +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/serialize.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/stablemapset.rs +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/src/trie_again.rs +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-isle-0.108.1 → cranelift-isle-0.109.0}/tests/run_tests.rs +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/LICENSE +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-native-0.108.1 → cranelift-native-0.109.0}/README.md +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/LICENSE +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/README.md +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/code_translator/bounds_checks.rs +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/dummy.rs +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/mod.rs +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/environ/spec.rs +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/heap.rs +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/lib.rs +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/table.rs +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-wasm-0.108.1 → cranelift-wasm-0.109.0}/src/translation_utils.rs +0 -0
  1333. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-APACHE +0 -0
  1334. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/LICENSE-MIT +0 -0
  1335. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/archive.rs +0 -0
  1336. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/error.rs +0 -0
  1337. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/mod.rs +0 -0
  1338. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/build/table.rs +0 -0
  1339. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/lib.rs +0 -0
  1340. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/pe.rs +0 -0
  1341. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/import.rs +0 -0
  1342. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/coff/mod.rs +0 -0
  1343. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/compression.rs +0 -0
  1344. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/dynamic.rs +0 -0
  1345. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/elf/mod.rs +0 -0
  1346. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/fat.rs +0 -0
  1347. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/mod.rs +0 -0
  1348. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/macho/relocation.rs +0 -0
  1349. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/data_directory.rs +0 -0
  1350. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/export.rs +0 -0
  1351. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/mod.rs +0 -0
  1352. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/resource.rs +0 -0
  1353. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/pe/rich.rs +0 -0
  1354. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/read_ref.rs +0 -0
  1355. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/util.rs +0 -0
  1356. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/comdat.rs +0 -0
  1357. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/mod.rs +0 -0
  1358. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/read/xcoff/segment.rs +0 -0
  1359. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/coff/mod.rs +0 -0
  1360. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/elf/mod.rs +0 -0
  1361. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/string.rs +0 -0
  1362. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/write/util.rs +0 -0
  1363. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/src/xcoff.rs +0 -0
  1364. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/parse_self.rs +0 -0
  1365. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/coff.rs +0 -0
  1366. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/read/elf.rs +0 -0
  1367. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/coff.rs +0 -0
  1368. /data/ext/cargo-vendor/{object-0.33.0 → object-0.36.3}/tests/round_trip/macho.rs +0 -0
  1369. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/LICENSE +0 -0
  1370. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/README.md +0 -0
  1371. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/clocks.rs +0 -0
  1372. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/ctx.rs +0 -0
  1373. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/dir.rs +0 -0
  1374. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/error.rs +0 -0
  1375. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/file.rs +0 -0
  1376. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/lib.rs +0 -0
  1377. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/pipe.rs +0 -0
  1378. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/random.rs +0 -0
  1379. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched/subscription.rs +0 -0
  1380. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sched.rs +0 -0
  1381. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/mod.rs +0 -0
  1382. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/snapshots/preview_1/error.rs +0 -0
  1383. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/clocks.rs +0 -0
  1384. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/dir.rs +0 -0
  1385. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/file.rs +0 -0
  1386. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/mod.rs +0 -0
  1387. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/net.rs +0 -0
  1388. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched/unix.rs +0 -0
  1389. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/sched.rs +0 -0
  1390. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/sync/stdio.rs +0 -0
  1391. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/table.rs +0 -0
  1392. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/dir.rs +0 -0
  1393. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/mod.rs +0 -0
  1394. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/net.rs +0 -0
  1395. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/unix.rs +0 -0
  1396. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched/windows.rs +0 -0
  1397. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/sched.rs +0 -0
  1398. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/src/tokio/stdio.rs +0 -0
  1399. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/async_.rs +0 -0
  1400. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/main.rs +0 -0
  1401. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/tests/all/sync.rs +0 -0
  1402. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/typenames.witx +0 -0
  1403. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1404. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/typenames.witx +0 -0
  1405. /data/ext/cargo-vendor/{wasi-common-21.0.1 → wasi-common-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1406. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/README.md +0 -0
  1407. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/benches/benchmark.rs +0 -0
  1408. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/examples/simple.rs +0 -0
  1409. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/aliases.rs +0 -0
  1410. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/canonicals.rs +0 -0
  1411. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/exports.rs +0 -0
  1412. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component/start.rs +0 -0
  1413. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/component.rs +0 -0
  1414. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/dylink0.rs +0 -0
  1415. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/exports.rs +0 -0
  1416. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/functions.rs +0 -0
  1417. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/imports.rs +0 -0
  1418. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/memories.rs +0 -0
  1419. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tables.rs +0 -0
  1420. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/tags.rs +0 -0
  1421. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core/types/matches.rs +0 -0
  1422. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/readers/core.rs +0 -0
  1423. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/src/resources.rs +0 -0
  1424. /data/ext/cargo-vendor/{wasmparser-0.207.0 → wasmparser-0.209.1}/tests/big-module.rs +0 -0
  1425. /data/ext/cargo-vendor/{wasm-encoder-0.207.0 → wasmprinter-0.209.1}/LICENSE +0 -0
  1426. /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/README.md +0 -0
  1427. /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmprinter-0.209.1}/tests/all.rs +0 -0
  1428. /data/ext/cargo-vendor/{wasmprinter-0.207.0 → wasmtime-22.0.0}/LICENSE +0 -0
  1429. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/README.md +0 -0
  1430. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
  1431. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/compile/code_builder.rs +0 -0
  1432. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/engine.rs +0 -0
  1433. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent/vtune.rs +0 -0
  1434. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/profiling_agent.rs +0 -0
  1435. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/host.rs +0 -0
  1436. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/func/options.rs +0 -0
  1437. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/resources.rs +0 -0
  1438. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/storage.rs +0 -0
  1439. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/store.rs +0 -0
  1440. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/component/values.rs +0 -0
  1441. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/coredump.rs +0 -0
  1442. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/externals.rs +0 -0
  1443. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/anyref.rs +0 -0
  1444. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/externref.rs +0 -0
  1445. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/i31.rs +0 -0
  1446. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled/rooting.rs +0 -0
  1447. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/disabled.rs +0 -0
  1448. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled/rooting.rs +0 -0
  1449. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/gc/enabled.rs +0 -0
  1450. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/limits.rs +0 -0
  1451. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/memory.rs +0 -0
  1452. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/profiling.rs +0 -0
  1453. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/resources.rs +0 -0
  1454. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/signatures.rs +0 -0
  1455. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/stack.rs +0 -0
  1456. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/context.rs +0 -0
  1457. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/store/data.rs +0 -0
  1458. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/global.rs +0 -0
  1459. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline/table.rs +0 -0
  1460. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trampoline.rs +0 -0
  1461. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/trap.rs +0 -0
  1462. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/types/matching.rs +0 -0
  1463. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/uninhabited.rs +0 -0
  1464. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/unix.rs +0 -0
  1465. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/aarch64.rs +0 -0
  1466. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/mod.rs +0 -0
  1467. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/riscv64.rs +0 -0
  1468. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.S +0 -0
  1469. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/s390x.rs +0 -0
  1470. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/arch/x86_64.rs +0 -0
  1471. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/async_yield.rs +0 -0
  1472. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/component/libcalls.rs +0 -0
  1473. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/const_expr.rs +0 -0
  1474. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/debug_builtins.rs +0 -0
  1475. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/disabled.rs +0 -0
  1476. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/drc.rs +0 -0
  1477. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/externref.rs +0 -0
  1478. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled/free_list.rs +0 -0
  1479. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/enabled.rs +0 -0
  1480. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/gc_runtime.rs +0 -0
  1481. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/host_data.rs +0 -0
  1482. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc/i31.rs +0 -0
  1483. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/gc.rs +0 -0
  1484. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/helpers.c +0 -0
  1485. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/imports.rs +0 -0
  1486. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/libcalls.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap.rs +0 -0
  1488. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mmap_vec.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/module_id.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/disabled.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/enabled.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/mod.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/pkru.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/mpk/sys.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/send_sync_ptr.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/store_box.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mmap.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/mod.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/traphandlers.rs +0 -0
  1500. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/custom/unwind.rs +0 -0
  1501. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mmap.rs +0 -0
  1502. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/mod.rs +0 -0
  1503. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/miri/unwind.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/machports.rs +0 -0
  1506. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
  1507. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mmap.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/mod.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/unix/unwind.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mmap.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/mod.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/traphandlers.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/sys/windows/unwind.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/mod.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/parking_spot.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/threads/shared_memory_disabled.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
  1520. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
  1521. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/runtime/windows.rs +0 -0
  1522. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_nostd.rs +0 -0
  1523. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-22.0.0}/src/sync_std.rs +0 -0
  1524. /data/ext/cargo-vendor/{wasmtime-asm-macros-21.0.1 → wasmtime-asm-macros-22.0.0}/src/lib.rs +0 -0
  1525. /data/ext/cargo-vendor/{wasmtime-21.0.1 → wasmtime-cache-22.0.0}/LICENSE +0 -0
  1526. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/build.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/config/tests.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/src/worker/tests/system_time_stub.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cache-22.0.0}/tests/cache_write_default_config.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/build.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/src/lib.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/char.wit +0 -0
  1533. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/conventions.wit +0 -0
  1534. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/dead-code.wit +0 -0
  1535. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/direct-import.wit +0 -0
  1536. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/empty.wit +0 -0
  1537. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/flags.wit +0 -0
  1538. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/floats.wit +0 -0
  1539. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/function-new.wit +0 -0
  1540. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/integers.wit +0 -0
  1541. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/lists.wit +0 -0
  1542. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/many-arguments.wit +0 -0
  1543. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multi-return.wit +0 -0
  1544. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1545. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1546. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/multiversion/root.wit +0 -0
  1547. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/records.wit +0 -0
  1548. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/rename.wit +0 -0
  1549. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-export.wit +0 -0
  1550. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/resources-import.wit +0 -0
  1551. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/share-types.wit +0 -0
  1552. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-functions.wit +0 -0
  1553. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-lists.wit +0 -0
  1554. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/simple-wasi.wit +0 -0
  1555. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/small-anonymous.wit +0 -0
  1556. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-default.wit +0 -0
  1557. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke-export.wit +0 -0
  1558. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/smoke.wit +0 -0
  1559. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/strings.wit +0 -0
  1560. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/unversioned-foo.wit +0 -0
  1561. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/use-paths.wit +0 -0
  1562. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/variants.wit +0 -0
  1563. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/wat.wit +0 -0
  1564. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen/worlds-with-types.wit +0 -0
  1565. /data/ext/cargo-vendor/{wasmtime-component-macro-21.0.1 → wasmtime-component-macro-22.0.0}/tests/codegen_no_std.rs +0 -0
  1566. /data/ext/cargo-vendor/{wasmtime-component-util-21.0.1 → wasmtime-component-util-22.0.0}/src/lib.rs +0 -0
  1567. /data/ext/cargo-vendor/{wasmtime-cache-21.0.1 → wasmtime-cranelift-22.0.0}/LICENSE +0 -0
  1568. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/SECURITY.md +0 -0
  1569. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/builder.rs +0 -0
  1570. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/compiled_function.rs +0 -0
  1571. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/gc.rs +0 -0
  1572. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/attr.rs +0 -0
  1573. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/expression.rs +0 -0
  1574. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/line_program.rs +0 -0
  1575. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/range_info_builder.rs +0 -0
  1576. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug/transform/refs.rs +0 -0
  1577. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/debug.rs +0 -0
  1578. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc/disabled.rs +0 -0
  1579. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/gc.rs +0 -0
  1580. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-cranelift-22.0.0}/src/isa_builder.rs +0 -0
  1581. /data/ext/cargo-vendor/{wasmtime-cranelift-21.0.1 → wasmtime-environ-22.0.0}/LICENSE +0 -0
  1582. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/examples/factc.rs +0 -0
  1583. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/address_map.rs +0 -0
  1584. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/builtin.rs +0 -0
  1585. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/compile/trap_encoding.rs +0 -0
  1586. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/compiler.rs +0 -0
  1587. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/dfg.rs +0 -0
  1588. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/translate/inline.rs +0 -0
  1589. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component/vmcomponent_offsets.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/component.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/demangling.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/core_types.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/signature.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/fact/traps.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/gc.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/obj.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/scopevec.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/stack_map.rs +0 -0
  1599. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-environ-22.0.0}/src/trap_encoding.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmtime-environ-21.0.1 → wasmtime-fiber-22.0.0}/LICENSE +0 -0
  1601. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/aarch64.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/arm.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/riscv64.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/s390x.S +0 -0
  1605. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/unix/x86_64.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-fiber-22.0.0}/src/windows.c +0 -0
  1608. /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/README.md +0 -0
  1609. /data/ext/cargo-vendor/{wasmtime-jit-debug-21.0.1 → wasmtime-jit-debug-22.0.0}/src/lib.rs +0 -0
  1610. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/lib.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/miri.rs +0 -0
  1612. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-21.0.1 → wasmtime-jit-icache-coherence-22.0.0}/src/win.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmtime-fiber-21.0.1 → wasmtime-types-22.0.0}/LICENSE +0 -0
  1614. /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-types-22.0.0}/src/error.rs +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-21.0.1 → wasmtime-versioned-export-macros-22.0.0}/src/lib.rs +0 -0
  1616. /data/ext/cargo-vendor/{wasmtime-types-21.0.1 → wasmtime-wasi-22.0.0}/LICENSE +0 -0
  1617. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/README.md +0 -0
  1618. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks/host.rs +0 -0
  1619. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/clocks.rs +0 -0
  1620. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/error.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/host/mod.rs +0 -0
  1622. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/random.rs +0 -0
  1623. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/runtime.rs +0 -0
  1624. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stdio/worker_thread_stdin.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/stream.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/tcp.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/udp.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/src/write_stream.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/api.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/async_.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/main.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/preview1.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/all/sync.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/tests/process_stdin.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/command-extended.wit +0 -0
  1636. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/command.wit +0 -0
  1637. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/environment.wit +0 -0
  1638. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/exit.wit +0 -0
  1639. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/imports.wit +0 -0
  1640. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/run.wit +0 -0
  1641. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/stdio.wit +0 -0
  1642. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/cli/terminal.wit +0 -0
  1643. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1644. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
  1645. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/clocks/world.wit +0 -0
  1646. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/preopens.wit +0 -0
  1647. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/types.wit +0 -0
  1648. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/filesystem/world.wit +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/handler.wit +0 -0
  1650. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/proxy.wit +0 -0
  1651. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/http/types.wit +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/error.wit +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/poll.wit +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/streams.wit +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/io/world.wit +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure-seed.wit +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/insecure.wit +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/random.wit +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/random/world.wit +0 -0
  1660. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/instance-network.wit +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/network.wit +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/tcp.wit +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/udp.wit +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/deps/sockets/world.wit +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/wit/test.wit +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/typenames.witx +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/typenames.witx +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wasmtime-wasi-22.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/LICENSE +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/builder.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-winch-21.0.1 → wasmtime-winch-22.0.0}/src/lib.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-21.0.1 → wasmtime-wit-bindgen-22.0.0}/src/source.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-wasi-21.0.1 → wiggle-22.0.0}/LICENSE +0 -0
  1678. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/README.md +0 -0
  1679. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/error.rs +0 -0
  1680. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-22.0.0}/src/region.rs +0 -0
  1681. /data/ext/cargo-vendor/{wiggle-21.0.1 → wiggle-generate-22.0.0}/LICENSE +0 -0
  1682. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/README.md +0 -0
  1683. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/codegen_settings.rs +0 -0
  1684. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/config.rs +0 -0
  1685. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lib.rs +0 -0
  1686. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/lifetimes.rs +0 -0
  1687. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-generate-22.0.0}/src/types/error.rs +0 -0
  1688. /data/ext/cargo-vendor/{wiggle-generate-21.0.1 → wiggle-macro-22.0.0}/LICENSE +0 -0
  1689. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/LICENSE +0 -0
  1690. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/build.rs +0 -0
  1691. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/abi/local.rs +0 -0
  1692. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/bounds.rs +0 -0
  1693. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/builtin.rs +0 -0
  1694. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/codegen/call.rs +0 -0
  1695. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/abi.rs +0 -0
  1696. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/address.rs +0 -0
  1697. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/aarch64/mod.rs +0 -0
  1698. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/mod.rs +0 -0
  1699. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/reg.rs +0 -0
  1700. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/abi.rs +0 -0
  1701. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/address.rs +0 -0
  1702. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/mod.rs +0 -0
  1703. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/isa/x64/regs.rs +0 -0
  1704. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/lib.rs +0 -0
  1705. /data/ext/cargo-vendor/{winch-codegen-0.19.1 → winch-codegen-0.20.0}/src/regset.rs +0 -0
  1706. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/README.md +0 -0
  1707. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/abi.rs +0 -0
  1708. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/lex.rs +0 -0
  1709. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/ast/toposort.rs +0 -0
  1710. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/src/sizealign.rs +0 -0
  1711. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit +0 -0
  1712. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/comments.wit.json +0 -0
  1713. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  1714. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  1715. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/complex-include/root.wit +0 -0
  1716. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  1717. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource/foo.wit +0 -0
  1718. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/cross-package-resource.wit.json +0 -0
  1719. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  1720. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  1721. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/diamond1/join.wit +0 -0
  1722. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  1723. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  1724. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/disambiguate-diamond/world.wit +0 -0
  1725. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit +0 -0
  1726. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/empty.wit.json +0 -0
  1727. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  1728. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  1729. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  1730. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  1731. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  1732. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  1733. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  1734. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps/root.wit +0 -0
  1735. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  1736. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  1737. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  1738. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  1739. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  1740. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  1741. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  1742. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  1743. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/foreign-deps-union/root.wit +0 -0
  1744. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit +0 -0
  1745. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/functions.wit.json +0 -0
  1746. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  1747. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  1748. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/ignore-files-deps/world.wit +0 -0
  1749. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit +0 -0
  1750. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap1.wit.json +0 -0
  1751. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/import-export-overlap2.wit +0 -0
  1752. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/include-reps.wit +0 -0
  1753. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit +0 -0
  1754. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kebab-name-include-with.wit.json +0 -0
  1755. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/a.wit +0 -0
  1756. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  1757. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  1758. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  1759. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  1760. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/a.wit +0 -0
  1761. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/many-names/b.wit +0 -0
  1762. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/bar.wit +0 -0
  1763. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-a.wit +0 -0
  1764. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/cycle-b.wit +0 -0
  1765. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/multi-file/foo.wit +0 -0
  1766. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  1767. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  1768. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  1769. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit +0 -0
  1770. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax1.wit.json +0 -0
  1771. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit +0 -0
  1772. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax3.wit.json +0 -0
  1773. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit +0 -0
  1774. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/package-syntax4.wit.json +0 -0
  1775. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1776. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  1777. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async.wit.result +0 -0
  1778. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/async1.wit.result +0 -0
  1779. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit +0 -0
  1780. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  1781. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit +0 -0
  1782. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  1783. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit +0 -0
  1784. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  1785. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit +0 -0
  1786. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  1787. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit +0 -0
  1788. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  1789. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit +0 -0
  1790. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1791. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  1792. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  1793. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  1794. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  1795. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  1796. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1797. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  1798. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  1799. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  1800. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  1801. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  1802. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  1803. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  1804. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  1805. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1806. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  1807. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  1808. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  1809. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  1810. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  1811. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  1812. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  1813. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  1814. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  1815. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  1816. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  1817. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  1818. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  1819. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  1820. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  1821. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  1822. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  1823. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  1824. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  1825. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  1826. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  1827. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  1828. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  1829. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  1830. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  1831. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  1832. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  1833. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  1834. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  1835. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  1836. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  1837. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  1838. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  1839. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  1840. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  1841. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  1842. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  1843. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit +0 -0
  1844. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle.wit.result +0 -0
  1845. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit +0 -0
  1846. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  1847. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit +0 -0
  1848. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  1849. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit +0 -0
  1850. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  1851. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit +0 -0
  1852. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  1853. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit +0 -0
  1854. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  1855. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  1856. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  1857. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  1858. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  1859. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  1860. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  1861. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  1862. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  1863. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  1864. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  1865. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  1866. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit +0 -0
  1867. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  1868. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  1869. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  1870. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit +0 -0
  1871. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  1872. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  1873. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  1874. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  1875. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  1876. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  1877. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  1878. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  1879. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  1880. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  1881. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  1882. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit +0 -0
  1883. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  1884. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit +0 -0
  1885. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  1886. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  1887. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  1888. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  1889. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit +0 -0
  1890. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  1891. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  1892. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  1893. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  1894. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  1895. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  1896. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  1897. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  1898. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  1899. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  1900. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  1901. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  1902. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  1903. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit +0 -0
  1904. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/keyword.wit.result +0 -0
  1905. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit +0 -0
  1906. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  1907. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  1908. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  1909. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  1910. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  1911. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  1912. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  1913. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  1914. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow1.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow2.wit +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow6.wit +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow7.wit +0 -0
  1934. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
  1935. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
  1936. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  1937. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  1938. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  1939. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  1940. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  1941. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  1942. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  1943. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  1944. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  1945. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  1946. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  1947. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  1948. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  1949. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  1950. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  1951. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  1952. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  1953. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  1954. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  1955. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  1956. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  1957. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  1958. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  1959. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  1960. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  1961. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  1962. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  1963. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  1964. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  1965. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  1966. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  1967. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  1968. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  1969. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  1970. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit +0 -0
  1971. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  1972. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  1973. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  1974. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  1975. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  1976. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  1977. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  1978. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  1979. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  1980. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  1981. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  1982. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  1983. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world/root.wit +0 -0
  1984. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/use-world.wit.result +0 -0
  1985. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  1986. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  1987. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  1988. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  1989. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  1990. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  1991. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  1992. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  1993. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  1994. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  1995. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit +0 -0
  1996. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/random.wit.json +0 -0
  1997. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit +0 -0
  1998. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-empty.wit.json +0 -0
  1999. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2000. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2001. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit +0 -0
  2002. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-multiple.wit.json +0 -0
  2003. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit +0 -0
  2004. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources-return-own.wit.json +0 -0
  2005. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit +0 -0
  2006. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources.wit.json +0 -0
  2007. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit +0 -0
  2008. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/resources1.wit.json +0 -0
  2009. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit +0 -0
  2010. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/same-name-import-export.wit.json +0 -0
  2011. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/shared-types.wit +0 -0
  2012. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wat +0 -0
  2013. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/simple-wasm-text.wit.json +0 -0
  2014. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/stress-export-elaborate.wit +0 -0
  2015. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit +0 -0
  2016. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/type-then-eof.wit.json +0 -0
  2017. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit +0 -0
  2018. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/types.wit.json +0 -0
  2019. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit +0 -0
  2020. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-1.wit.json +0 -0
  2021. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit +0 -0
  2022. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/union-fuzz-2.wit.json +0 -0
  2023. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit +0 -0
  2024. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use-chain.wit.json +0 -0
  2025. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit +0 -0
  2026. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/use.wit.json +0 -0
  2027. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2028. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2029. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions/foo.wit +0 -0
  2030. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/versions.wit.json +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/wasi.wit.json +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-diamond.wit +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-iface-no-collide.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import1.wit +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import2.wit +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-implicit-import3.wit +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-same-fields4.wit +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/world-top-level-resources.wit +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-union-dedup.wit +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.207.0 → wit-parser-0.209.1}/tests/ui/worlds-with-types.wit +0 -0
@@ -0,0 +1,2923 @@
1
+ ;; riscv64 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
+ ;;;; Rules for `iconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8
+
9
+ (rule (lower (has_type ty (iconst (u64_from_imm64 n))))
10
+ (imm ty n))
11
+
12
+ ;; ;;;; Rules for `vconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13
+
14
+ (rule (lower (has_type (ty_vec_fits_in_register ty) (vconst n)))
15
+ (gen_constant ty (const_to_vconst n)))
16
+
17
+ ;;;; Rules for `f32const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
18
+
19
+ (rule (lower (f32const (u32_from_ieee32 n)))
20
+ (imm $F32 n))
21
+
22
+ ;;;; Rules for `f64const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
23
+
24
+ (rule (lower (f64const (u64_from_ieee64 n)))
25
+ (imm $F64 n))
26
+
27
+ ;;;; Rules for `null` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
28
+
29
+ (rule (lower (has_type ty (null)))
30
+ (imm ty 0))
31
+
32
+
33
+ ;;;; Rules for `iadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
34
+
35
+ ;; Base case, simply adding things in registers.
36
+ (rule -1 (lower (has_type (fits_in_32 (ty_int ty)) (iadd x y)))
37
+ (rv_addw x y))
38
+
39
+ (rule 0 (lower (has_type $I64 (iadd x y)))
40
+ (rv_add x y))
41
+
42
+ ;; Special cases for when one operand is an immediate that fits in 12 bits.
43
+ (rule 1 (lower (has_type (ty_int_ref_scalar_64 ty) (iadd x (imm12_from_value y))))
44
+ (alu_rr_imm12 (select_addi ty) x y))
45
+
46
+ (rule 2 (lower (has_type (ty_int_ref_scalar_64 ty) (iadd (imm12_from_value x) y)))
47
+ (alu_rr_imm12 (select_addi ty) y x))
48
+
49
+ ;; Special case when one of the operands is uextended
50
+ ;; Needs `Zba`
51
+ (rule 3 (lower (has_type $I64 (iadd x (uextend y @ (value_type $I32)))))
52
+ (if-let $true (has_zba))
53
+ (rv_adduw y x))
54
+
55
+ (rule 4 (lower (has_type $I64 (iadd (uextend x @ (value_type $I32)) y)))
56
+ (if-let $true (has_zba))
57
+ (rv_adduw x y))
58
+
59
+ ;; Add with const shift. We have a few of these instructions with `Zba`.
60
+ (decl pure partial match_shnadd (Imm64) AluOPRRR)
61
+ (rule (match_shnadd (u64_from_imm64 1)) (AluOPRRR.Sh1add))
62
+ (rule (match_shnadd (u64_from_imm64 2)) (AluOPRRR.Sh2add))
63
+ (rule (match_shnadd (u64_from_imm64 3)) (AluOPRRR.Sh3add))
64
+
65
+ (rule 3 (lower (has_type $I64 (iadd x (ishl y (maybe_uextend (iconst n))))))
66
+ (if-let $true (has_zba))
67
+ (if-let shnadd (match_shnadd n))
68
+ (alu_rrr shnadd y x))
69
+
70
+ (rule 4 (lower (has_type $I64 (iadd (ishl x (maybe_uextend (iconst n))) y)))
71
+ (if-let $true (has_zba))
72
+ (if-let shnadd (match_shnadd n))
73
+ (alu_rrr shnadd x y))
74
+
75
+
76
+ ;; Add with uextended const shift. We have a few of these instructions with `Zba`.
77
+ ;;
78
+ ;; !!! Important !!!
79
+ ;; These rules only work for (ishl (uextend _) _) and not for (uextend (ishl _ _))!
80
+ ;; Getting this wrong means a potential misscalculation of the shift amount.
81
+ ;; Additionally we can only ensure that this is correct if the uextend is 32 to 64 bits.
82
+ (decl pure partial match_shnadd_uw (Imm64) AluOPRRR)
83
+ (rule (match_shnadd_uw (u64_from_imm64 1)) (AluOPRRR.Sh1adduw))
84
+ (rule (match_shnadd_uw (u64_from_imm64 2)) (AluOPRRR.Sh2adduw))
85
+ (rule (match_shnadd_uw (u64_from_imm64 3)) (AluOPRRR.Sh3adduw))
86
+
87
+ (rule 5 (lower (has_type $I64 (iadd x (ishl (uextend y @ (value_type $I32)) (maybe_uextend (iconst n))))))
88
+ (if-let $true (has_zba))
89
+ (if-let shnadd_uw (match_shnadd_uw n))
90
+ (alu_rrr shnadd_uw y x))
91
+
92
+ (rule 6 (lower (has_type $I64 (iadd (ishl (uextend x @ (value_type $I32)) (maybe_uextend (iconst n))) y)))
93
+ (if-let $true (has_zba))
94
+ (if-let shnadd_uw (match_shnadd_uw n))
95
+ (alu_rrr shnadd_uw x y))
96
+
97
+ ;; I128 cases
98
+ (rule 7 (lower (has_type $I128 (iadd x y)))
99
+ (let ((low XReg (rv_add (value_regs_get x 0) (value_regs_get y 0)))
100
+ ;; compute carry.
101
+ (carry XReg (rv_sltu low (value_regs_get y 0)))
102
+ ;;
103
+ (high_tmp XReg (rv_add (value_regs_get x 1) (value_regs_get y 1)))
104
+ ;; add carry.
105
+ (high XReg (rv_add high_tmp carry)))
106
+ (value_regs low high)))
107
+
108
+ ;; SIMD Vectors
109
+ (rule 8 (lower (has_type (ty_vec_fits_in_register ty) (iadd x y)))
110
+ (rv_vadd_vv x y (unmasked) ty))
111
+
112
+ (rule 9 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (splat y))))
113
+ (rv_vadd_vx x y (unmasked) ty))
114
+
115
+ (rule 10 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (splat (sextend y @ (value_type sext_ty))))))
116
+ (if-let half_ty (ty_half_width ty))
117
+ (if-let $true (ty_equal (lane_type half_ty) sext_ty))
118
+ (rv_vwadd_wx x y (unmasked) (vstate_mf2 half_ty)))
119
+
120
+ (rule 10 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (splat (uextend y @ (value_type uext_ty))))))
121
+ (if-let half_ty (ty_half_width ty))
122
+ (if-let $true (ty_equal (lane_type half_ty) uext_ty))
123
+ (rv_vwaddu_wx x y (unmasked) (vstate_mf2 half_ty)))
124
+
125
+ (rule 20 (lower (has_type (ty_vec_fits_in_register ty) (iadd x y)))
126
+ (if-let y_imm (replicated_imm5 y))
127
+ (rv_vadd_vi x y_imm (unmasked) ty))
128
+
129
+
130
+ (rule 12 (lower (has_type (ty_vec_fits_in_register ty) (iadd (splat x) y)))
131
+ (rv_vadd_vx y x (unmasked) ty))
132
+
133
+ (rule 13 (lower (has_type (ty_vec_fits_in_register ty) (iadd (splat (sextend x @ (value_type sext_ty))) y)))
134
+ (if-let half_ty (ty_half_width ty))
135
+ (if-let $true (ty_equal (lane_type half_ty) sext_ty))
136
+ (rv_vwadd_wx y x (unmasked) (vstate_mf2 half_ty)))
137
+
138
+ (rule 13 (lower (has_type (ty_vec_fits_in_register ty) (iadd (splat (uextend x @ (value_type uext_ty))) y)))
139
+ (if-let half_ty (ty_half_width ty))
140
+ (if-let $true (ty_equal (lane_type half_ty) uext_ty))
141
+ (rv_vwaddu_wx y x (unmasked) (vstate_mf2 half_ty)))
142
+
143
+ (rule 21 (lower (has_type (ty_vec_fits_in_register ty) (iadd x y)))
144
+ (if-let x_imm (replicated_imm5 x))
145
+ (rv_vadd_vi y x_imm (unmasked) ty))
146
+
147
+ ;; Signed Widening Low Additions
148
+
149
+ (rule 9 (lower (has_type (ty_vec_fits_in_register _) (iadd x (swiden_low y @ (value_type in_ty)))))
150
+ (rv_vwadd_wv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
151
+
152
+ (rule 12 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_low x @ (value_type in_ty)) y)))
153
+ (rv_vwadd_wv y x (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
154
+
155
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_low x @ (value_type in_ty))
156
+ (swiden_low y))))
157
+ (rv_vwadd_vv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
158
+
159
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_low x @ (value_type in_ty))
160
+ (splat (sextend y @ (value_type sext_ty))))))
161
+ (if-let $true (ty_equal (lane_type in_ty) sext_ty))
162
+ (rv_vwadd_vx x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
163
+
164
+ (rule 15 (lower (has_type (ty_vec_fits_in_register _) (iadd (splat (sextend x @ (value_type sext_ty)))
165
+ (swiden_low y @ (value_type in_ty)))))
166
+ (if-let $true (ty_equal (lane_type in_ty) sext_ty))
167
+ (rv_vwadd_vx y x (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
168
+
169
+ ;; Signed Widening High Additions
170
+ ;; These are the same as the low additions, but we first slide down the inputs.
171
+
172
+ (rule 9 (lower (has_type (ty_vec_fits_in_register _) (iadd x (swiden_high y @ (value_type in_ty)))))
173
+ (rv_vwadd_wv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
174
+
175
+ (rule 12 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_high x @ (value_type in_ty)) y)))
176
+ (rv_vwadd_wv y (gen_slidedown_half in_ty x) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
177
+
178
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_high x @ (value_type in_ty))
179
+ (swiden_high y))))
180
+ (rv_vwadd_vv (gen_slidedown_half in_ty x) (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
181
+
182
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_high x @ (value_type in_ty))
183
+ (splat (sextend y @ (value_type sext_ty))))))
184
+ (if-let $true (ty_equal (lane_type in_ty) sext_ty))
185
+ (rv_vwadd_vx (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
186
+
187
+ (rule 15 (lower (has_type (ty_vec_fits_in_register _) (iadd (splat (sextend x @ (value_type sext_ty)))
188
+ (swiden_high y @ (value_type in_ty)))))
189
+ (if-let $true (ty_equal (lane_type in_ty) sext_ty))
190
+ (rv_vwadd_vx (gen_slidedown_half in_ty y) x (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
191
+
192
+ ;; Unsigned Widening Low Additions
193
+
194
+ (rule 9 (lower (has_type (ty_vec_fits_in_register _) (iadd x (uwiden_low y @ (value_type in_ty)))))
195
+ (rv_vwaddu_wv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
196
+
197
+ (rule 12 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_low x @ (value_type in_ty)) y)))
198
+ (rv_vwaddu_wv y x (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
199
+
200
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_low x @ (value_type in_ty))
201
+ (uwiden_low y))))
202
+ (rv_vwaddu_vv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
203
+
204
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_low x @ (value_type in_ty))
205
+ (splat (uextend y @ (value_type uext_ty))))))
206
+ (if-let $true (ty_equal (lane_type in_ty) uext_ty))
207
+ (rv_vwaddu_vx x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
208
+
209
+ (rule 15 (lower (has_type (ty_vec_fits_in_register _) (iadd (splat (uextend x @ (value_type uext_ty)))
210
+ (uwiden_low y @ (value_type in_ty)))))
211
+ (if-let $true (ty_equal (lane_type in_ty) uext_ty))
212
+ (rv_vwaddu_vx y x (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
213
+
214
+ ;; Unsigned Widening High Additions
215
+ ;; These are the same as the low additions, but we first slide down the inputs.
216
+
217
+ (rule 9 (lower (has_type (ty_vec_fits_in_register _) (iadd x (uwiden_high y @ (value_type in_ty)))))
218
+ (rv_vwaddu_wv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
219
+
220
+ (rule 12 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_high x @ (value_type in_ty)) y)))
221
+ (rv_vwaddu_wv y (gen_slidedown_half in_ty x) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
222
+
223
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_high x @ (value_type in_ty))
224
+ (uwiden_high y))))
225
+ (rv_vwaddu_vv (gen_slidedown_half in_ty x) (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
226
+
227
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_high x @ (value_type in_ty))
228
+ (splat (uextend y @ (value_type uext_ty))))))
229
+ (if-let $true (ty_equal (lane_type in_ty) uext_ty))
230
+ (rv_vwaddu_vx (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
231
+
232
+ (rule 15 (lower (has_type (ty_vec_fits_in_register _) (iadd (splat (uextend y @ (value_type uext_ty)))
233
+ (uwiden_high x @ (value_type in_ty)))))
234
+ (if-let $true (ty_equal (lane_type in_ty) uext_ty))
235
+ (rv_vwaddu_vx (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
236
+
237
+ ;; Signed Widening Mixed High/Low Additions
238
+
239
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_low x @ (value_type in_ty))
240
+ (swiden_high y))))
241
+ (rv_vwadd_vv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
242
+
243
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (swiden_high x @ (value_type in_ty))
244
+ (swiden_low y))))
245
+ (rv_vwadd_vv (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
246
+
247
+ ;; Unsigned Widening Mixed High/Low Additions
248
+
249
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_low x @ (value_type in_ty))
250
+ (uwiden_high y))))
251
+ (rv_vwaddu_vv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
252
+
253
+ (rule 13 (lower (has_type (ty_vec_fits_in_register _) (iadd (uwiden_high x @ (value_type in_ty))
254
+ (uwiden_low y))))
255
+ (rv_vwaddu_vv (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
256
+
257
+ ;; Fused Multiply Accumulate Rules `vmacc`
258
+ ;;
259
+ ;; I dont think we can use `vmadd`/`vmnsub` here since it just modifies the multiplication
260
+ ;; register instead of the addition one. The actual pattern matched seems to be
261
+ ;; exactly the same.
262
+
263
+ (rule 9 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (imul y z))))
264
+ (rv_vmacc_vv x y z (unmasked) ty))
265
+
266
+ (rule 10 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (imul y (splat z)))))
267
+ (rv_vmacc_vx x y z (unmasked) ty))
268
+
269
+ (rule 11 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (imul (splat y) z))))
270
+ (rv_vmacc_vx x z y (unmasked) ty))
271
+
272
+ (rule 12 (lower (has_type (ty_vec_fits_in_register ty) (iadd (imul x y) z)))
273
+ (rv_vmacc_vv z x y (unmasked) ty))
274
+
275
+ (rule 13 (lower (has_type (ty_vec_fits_in_register ty) (iadd (imul x (splat y)) z)))
276
+ (rv_vmacc_vx z x y (unmasked) ty))
277
+
278
+ (rule 14 (lower (has_type (ty_vec_fits_in_register ty) (iadd (imul (splat x) y) z)))
279
+ (rv_vmacc_vx z y x (unmasked) ty))
280
+
281
+ ;; Fused Multiply Subtract Rules `vnmsac`
282
+
283
+ (rule 9 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (ineg (imul y z)))))
284
+ (rv_vnmsac_vv x y z (unmasked) ty))
285
+
286
+ (rule 10 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (ineg (imul y (splat z))))))
287
+ (rv_vnmsac_vx x y z (unmasked) ty))
288
+
289
+ (rule 11 (lower (has_type (ty_vec_fits_in_register ty) (iadd x (ineg (imul (splat y) z)))))
290
+ (rv_vnmsac_vx x z y (unmasked) ty))
291
+
292
+ (rule 12 (lower (has_type (ty_vec_fits_in_register ty) (iadd (ineg (imul x y)) z)))
293
+ (rv_vnmsac_vv z x y (unmasked) ty))
294
+
295
+ (rule 13 (lower (has_type (ty_vec_fits_in_register ty) (iadd (ineg (imul x (splat y))) z)))
296
+ (rv_vnmsac_vx z x y (unmasked) ty))
297
+
298
+ (rule 14 (lower (has_type (ty_vec_fits_in_register ty) (iadd (ineg (imul (splat x) y)) z)))
299
+ (rv_vnmsac_vx z y x (unmasked) ty))
300
+
301
+ ;;; Rules for `uadd_overflow_trap` ;;;;;;;;;;;;;
302
+ (rule 0 (lower (has_type (fits_in_32 ty) (uadd_overflow_trap x y tc)))
303
+ (let ((tmp_x XReg (zext x))
304
+ (tmp_y XReg (zext y))
305
+ (sum XReg (rv_add tmp_x tmp_y))
306
+ (test XReg (rv_srli sum (imm12_const (ty_bits ty))))
307
+ (_ InstOutput (gen_trapnz test tc)))
308
+ sum))
309
+
310
+ (rule 1 (lower (has_type $I64 (uadd_overflow_trap x y tc)))
311
+ (let ((tmp XReg (rv_add x y))
312
+ (_ InstOutput (gen_trapif (IntCC.UnsignedLessThan) tmp x tc)))
313
+ tmp))
314
+
315
+ ;;;; Rules for `isub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
316
+ ;; Base case, simply subtracting things in registers.
317
+
318
+ (rule 0 (lower (has_type (fits_in_32 (ty_int ty)) (isub x y)))
319
+ (rv_subw x y))
320
+
321
+ (rule 1 (lower (has_type $I64 (isub x y)))
322
+ (rv_sub x y))
323
+
324
+ (rule 2 (lower (has_type $I128 (isub x y)))
325
+ (i128_sub x y))
326
+
327
+ ;; Switch to an `addi` by a negative if we can fit the value in an `imm12`.
328
+ (rule 3 (lower (has_type (ty_int_ref_scalar_64 ty) (isub x y)))
329
+ (if-let imm12_neg (imm12_from_negated_value y))
330
+ (alu_rr_imm12 (select_addi ty) x imm12_neg))
331
+
332
+ ;; SIMD Vectors
333
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (isub x y)))
334
+ (rv_vsub_vv x y (unmasked) ty))
335
+
336
+ (rule 5 (lower (has_type (ty_vec_fits_in_register ty) (isub x (splat y))))
337
+ (rv_vsub_vx x y (unmasked) ty))
338
+
339
+ (rule 6 (lower (has_type (ty_vec_fits_in_register ty) (isub x (splat (sextend y @ (value_type sext_ty))))))
340
+ (if-let half_ty (ty_half_width ty))
341
+ (if-let $true (ty_equal (lane_type half_ty) sext_ty))
342
+ (rv_vwsub_wx x y (unmasked) (vstate_mf2 half_ty)))
343
+
344
+ (rule 6 (lower (has_type (ty_vec_fits_in_register ty) (isub x (splat (uextend y @ (value_type uext_ty))))))
345
+ (if-let half_ty (ty_half_width ty))
346
+ (if-let $true (ty_equal (lane_type half_ty) uext_ty))
347
+ (rv_vwsubu_wx x y (unmasked) (vstate_mf2 half_ty)))
348
+
349
+ (rule 7 (lower (has_type (ty_vec_fits_in_register ty) (isub (splat x) y)))
350
+ (rv_vrsub_vx y x (unmasked) ty))
351
+
352
+ (rule 8 (lower (has_type (ty_vec_fits_in_register ty) (isub x y)))
353
+ (if-let imm5_neg (negated_replicated_imm5 y))
354
+ (rv_vadd_vi x imm5_neg (unmasked) ty))
355
+
356
+ (rule 9 (lower (has_type (ty_vec_fits_in_register ty) (isub x y)))
357
+ (if-let x_imm (replicated_imm5 x))
358
+ (rv_vrsub_vi y x_imm (unmasked) ty))
359
+
360
+
361
+ ;; Signed Widening Low Subtractions
362
+
363
+ (rule 6 (lower (has_type (ty_vec_fits_in_register _) (isub x (swiden_low y @ (value_type in_ty)))))
364
+ (rv_vwsub_wv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
365
+
366
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (swiden_low x @ (value_type in_ty))
367
+ (swiden_low y))))
368
+ (rv_vwsub_vv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
369
+
370
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (swiden_low x @ (value_type in_ty))
371
+ (splat (sextend y @ (value_type sext_ty))))))
372
+ (if-let $true (ty_equal (lane_type in_ty) sext_ty))
373
+ (rv_vwsub_vx x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
374
+
375
+ ;; Signed Widening High Subtractions
376
+ ;; These are the same as the low widenings, but we first slide down the inputs.
377
+
378
+ (rule 6 (lower (has_type (ty_vec_fits_in_register _) (isub x (swiden_high y @ (value_type in_ty)))))
379
+ (rv_vwsub_wv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
380
+
381
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (swiden_high x @ (value_type in_ty))
382
+ (swiden_high y))))
383
+ (rv_vwsub_vv (gen_slidedown_half in_ty x) (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
384
+
385
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (swiden_high x @ (value_type in_ty))
386
+ (splat (sextend y @ (value_type sext_ty))))))
387
+ (if-let $true (ty_equal (lane_type in_ty) sext_ty))
388
+ (rv_vwsub_vx (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
389
+
390
+ ;; Unsigned Widening Low Subtractions
391
+
392
+ (rule 6 (lower (has_type (ty_vec_fits_in_register _) (isub x (uwiden_low y @ (value_type in_ty)))))
393
+ (rv_vwsubu_wv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
394
+
395
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (uwiden_low x @ (value_type in_ty))
396
+ (uwiden_low y))))
397
+ (rv_vwsubu_vv x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
398
+
399
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (uwiden_low x @ (value_type in_ty))
400
+ (splat (uextend y @ (value_type uext_ty))))))
401
+ (if-let $true (ty_equal (lane_type in_ty) uext_ty))
402
+ (rv_vwsubu_vx x y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
403
+
404
+ ;; Unsigned Widening High Subtractions
405
+ ;; These are the same as the low widenings, but we first slide down the inputs.
406
+
407
+ (rule 6 (lower (has_type (ty_vec_fits_in_register _) (isub x (uwiden_high y @ (value_type in_ty)))))
408
+ (rv_vwsubu_wv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
409
+
410
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (uwiden_high x @ (value_type in_ty))
411
+ (uwiden_high y))))
412
+ (rv_vwsubu_vv (gen_slidedown_half in_ty x) (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
413
+
414
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (uwiden_high x @ (value_type in_ty))
415
+ (splat (uextend y @ (value_type uext_ty))))))
416
+ (if-let $true (ty_equal (lane_type in_ty) uext_ty))
417
+ (rv_vwsubu_vx (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
418
+
419
+ ;; Signed Widening Mixed High/Low Subtractions
420
+
421
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (swiden_low x @ (value_type in_ty))
422
+ (swiden_high y))))
423
+ (rv_vwsub_vv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
424
+
425
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (swiden_high x @ (value_type in_ty))
426
+ (swiden_low y))))
427
+ (rv_vwsub_vv (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
428
+
429
+ ;; Unsigned Widening Mixed High/Low Subtractions
430
+
431
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (uwiden_low x @ (value_type in_ty))
432
+ (uwiden_high y))))
433
+ (rv_vwsubu_vv x (gen_slidedown_half in_ty y) (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
434
+
435
+ (rule 10 (lower (has_type (ty_vec_fits_in_register _) (isub (uwiden_high x @ (value_type in_ty))
436
+ (uwiden_low y))))
437
+ (rv_vwsubu_vv (gen_slidedown_half in_ty x) y (unmasked) (vstate_mf2 (ty_half_lanes in_ty))))
438
+
439
+
440
+ ;;;; Rules for `ineg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
441
+
442
+ (rule (lower (has_type (ty_int ty) (ineg val)))
443
+ (neg ty val))
444
+
445
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (ineg x)))
446
+ (rv_vneg_v x (unmasked) ty))
447
+
448
+
449
+ ;;;; Rules for `imul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
450
+
451
+ (rule 0 (lower (has_type (ty_int_ref_scalar_64 ty) (imul x y)))
452
+ (rv_mul x y))
453
+
454
+ (rule 1 (lower (has_type (fits_in_32 (ty_int ty)) (imul x y)))
455
+ (rv_mulw x y))
456
+
457
+ ;; for I128
458
+ (rule 2 (lower (has_type $I128 (imul x y)))
459
+ (let
460
+ ((x_regs ValueRegs x)
461
+ (x_lo XReg (value_regs_get x_regs 0))
462
+ (x_hi XReg (value_regs_get x_regs 1))
463
+
464
+ ;; Get the high/low registers for `y`.
465
+ (y_regs ValueRegs y)
466
+ (y_lo XReg (value_regs_get y_regs 0))
467
+ (y_hi XReg (value_regs_get y_regs 1))
468
+
469
+ ;; 128bit mul formula:
470
+ ;; dst_lo = x_lo * y_lo
471
+ ;; dst_hi = mulhu(x_lo, y_lo) + (x_lo * y_hi) + (x_hi * y_lo)
472
+ ;;
473
+ ;; We can convert the above formula into the following
474
+ ;; mulhu dst_hi, x_lo, y_lo
475
+ ;; madd dst_hi, x_lo, y_hi, dst_hi
476
+ ;; madd dst_hi, x_hi, y_lo, dst_hi
477
+ ;; madd dst_lo, x_lo, y_lo, zero
478
+ (dst_hi1 XReg (rv_mulhu x_lo y_lo))
479
+ (dst_hi2 XReg (madd x_lo y_hi dst_hi1))
480
+ (dst_hi XReg (madd x_hi y_lo dst_hi2))
481
+ (dst_lo XReg (madd x_lo y_lo (zero_reg))))
482
+ (value_regs dst_lo dst_hi)))
483
+
484
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (imul x y)))
485
+ (rv_vmul_vv x y (unmasked) ty))
486
+
487
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (imul (splat x) y)))
488
+ (rv_vmul_vx y x (unmasked) ty))
489
+
490
+ (rule 5 (lower (has_type (ty_vec_fits_in_register ty) (imul x (splat y))))
491
+ (rv_vmul_vx x y (unmasked) ty))
492
+
493
+ ;;;; Rules for `smulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
494
+ (rule 0 (lower (has_type (ty_int_ref_scalar_64 ty) (smulhi x y)))
495
+ (lower_smlhi ty (sext x) (sext y)))
496
+
497
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (smulhi x y)))
498
+ (rv_vmulh_vv x y (unmasked) ty))
499
+
500
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (smulhi (splat x) y)))
501
+ (rv_vmulh_vx y x (unmasked) ty))
502
+
503
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (smulhi x (splat y))))
504
+ (rv_vmulh_vx x y (unmasked) ty))
505
+
506
+ ;;;; Rules for `umulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
507
+ (rule 0 (lower (has_type (fits_in_32 ty) (umulhi x y)))
508
+ (let ((tmp XReg (rv_mul (zext x) (zext y))))
509
+ (rv_srli tmp (imm12_const (ty_bits ty)))))
510
+
511
+ (rule 1 (lower (has_type $I64 (umulhi x y)))
512
+ (rv_mulhu x y))
513
+
514
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (umulhi x y)))
515
+ (rv_vmulhu_vv x y (unmasked) ty))
516
+
517
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (umulhi (splat x) y)))
518
+ (rv_vmulhu_vx y x (unmasked) ty))
519
+
520
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (umulhi x (splat y))))
521
+ (rv_vmulhu_vx x y (unmasked) ty))
522
+
523
+ ;;;; Rules for `udiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
524
+
525
+ (rule 0 (lower (has_type (fits_in_16 ty) (udiv x y)))
526
+ (if-let $true (has_m))
527
+ (rv_divuw (zext x) (nonzero_divisor (zext y))))
528
+
529
+ (rule 1 (lower (has_type (fits_in_16 ty) (udiv x y @ (iconst imm))))
530
+ (if-let $true (has_m))
531
+ (if (safe_divisor_from_imm64 ty imm))
532
+ (rv_divuw (zext x) (zext y)))
533
+
534
+ (rule 2 (lower (has_type $I32 (udiv x y)))
535
+ (if-let $true (has_m))
536
+ (rv_divuw x (nonzero_divisor (zext y))))
537
+
538
+ (rule 3 (lower (has_type $I32 (udiv x y @ (iconst imm))))
539
+ (if-let $true (has_m))
540
+ (if (safe_divisor_from_imm64 $I32 imm))
541
+ (rv_divuw x y))
542
+
543
+ (rule 2 (lower (has_type $I64 (udiv x y)))
544
+ (if-let $true (has_m))
545
+ (rv_divu x (nonzero_divisor y)))
546
+
547
+ (rule 3 (lower (has_type $I64 (udiv x y @ (iconst imm))))
548
+ (if-let $true (has_m))
549
+ (if (safe_divisor_from_imm64 $I64 imm))
550
+ (rv_divu x y))
551
+
552
+ ;; Traps if the input register is zero, otherwise returns the same register.
553
+ (decl nonzero_divisor (XReg) XReg)
554
+ (rule (nonzero_divisor val)
555
+ (let ((_ InstOutput (gen_trapif (IntCC.Equal) val (zero_reg) (TrapCode.IntegerDivisionByZero))))
556
+ val))
557
+
558
+ ;;;; Rules for `sdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
559
+
560
+ (rule 0 (lower (has_type (fits_in_16 ty) (sdiv x y)))
561
+ (if-let $true (has_m))
562
+ (let ((x XReg (sext x)))
563
+ (rv_divw x (safe_sdiv_divisor ty x (sext y)))))
564
+
565
+ (rule 1 (lower (has_type (fits_in_16 ty) (sdiv x y @ (iconst imm))))
566
+ (if-let $true (has_m))
567
+ (if (safe_divisor_from_imm64 ty imm))
568
+ (rv_divw (sext x) (sext y)))
569
+
570
+ (rule 2 (lower (has_type $I32 (sdiv x y)))
571
+ (if-let $true (has_m))
572
+ (let ((x XReg (sext x)))
573
+ (rv_divw x (safe_sdiv_divisor $I32 x (sext y)))))
574
+
575
+ (rule 3 (lower (has_type $I32 (sdiv x y @ (iconst imm))))
576
+ (if-let $true (has_m))
577
+ (if (safe_divisor_from_imm64 $I32 imm))
578
+ (rv_divw x y))
579
+
580
+ (rule 2 (lower (has_type $I64 (sdiv x y)))
581
+ (if-let $true (has_m))
582
+ (rv_div x (safe_sdiv_divisor $I64 x y)))
583
+
584
+ (rule 3 (lower (has_type $I64 (sdiv x y @ (iconst imm))))
585
+ (if-let $true (has_m))
586
+ (if (safe_divisor_from_imm64 $I64 imm))
587
+ (rv_div x y))
588
+
589
+ ;; Check for two trapping conditions:
590
+ ;;
591
+ ;; * the divisor is 0, or...
592
+ ;; * the divisor is -1 and the dividend is $ty::MIN
593
+ (decl safe_sdiv_divisor (Type XReg XReg) XReg)
594
+ (rule (safe_sdiv_divisor ty x y)
595
+ (let (
596
+ (y XReg (nonzero_divisor y))
597
+ (min XReg (imm $I64 (u64_shl 0xffffffff_ffffffff (u64_sub (ty_bits ty) 1))))
598
+ (x_is_not_min XReg (rv_xor x min))
599
+ (y_is_not_neg_one XReg (rv_not y))
600
+ (no_int_overflow XReg (rv_or x_is_not_min y_is_not_neg_one))
601
+ (_ InstOutput (gen_trapif
602
+ (IntCC.Equal)
603
+ no_int_overflow (zero_reg)
604
+ (TrapCode.IntegerOverflow))))
605
+ y))
606
+
607
+ ;;;; Rules for `urem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
608
+
609
+ (rule 0 (lower (has_type (fits_in_16 ty) (urem x y)))
610
+ (if-let $true (has_m))
611
+ (rv_remuw (zext x) (nonzero_divisor (zext y))))
612
+
613
+ (rule 1 (lower (has_type (fits_in_16 ty) (urem x y @ (iconst imm))))
614
+ (if-let $true (has_m))
615
+ (if (safe_divisor_from_imm64 ty imm))
616
+ (rv_remuw (zext x) (zext y)))
617
+
618
+ (rule 2 (lower (has_type $I32 (urem x y)))
619
+ (if-let $true (has_m))
620
+ (rv_remuw x (nonzero_divisor (zext y))))
621
+
622
+ (rule 3 (lower (has_type $I32 (urem x y @ (iconst imm))))
623
+ (if-let $true (has_m))
624
+ (if (safe_divisor_from_imm64 $I32 imm))
625
+ (rv_remuw x y))
626
+
627
+ (rule 2 (lower (has_type $I64 (urem x y)))
628
+ (if-let $true (has_m))
629
+ (rv_remu x (nonzero_divisor y)))
630
+
631
+ (rule 3 (lower (has_type $I64 (urem x y @ (iconst imm))))
632
+ (if-let $true (has_m))
633
+ (if (safe_divisor_from_imm64 $I64 imm))
634
+ (rv_remu x y))
635
+
636
+ ;;;; Rules for `srem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
637
+
638
+ (rule 0 (lower (has_type (fits_in_16 ty) (srem x y)))
639
+ (if-let $true (has_m))
640
+ (rv_remw (sext x) (nonzero_divisor (sext y))))
641
+
642
+ (rule 1 (lower (has_type (fits_in_16 ty) (srem x y @ (iconst imm))))
643
+ (if-let $true (has_m))
644
+ (if (safe_divisor_from_imm64 ty imm))
645
+ (rv_remw (sext x) (sext y)))
646
+
647
+ (rule 2 (lower (has_type $I32 (srem x y)))
648
+ (if-let $true (has_m))
649
+ (rv_remw x (nonzero_divisor (sext y))))
650
+
651
+ (rule 3 (lower (has_type $I32 (srem x y @ (iconst imm))))
652
+ (if-let $true (has_m))
653
+ (if (safe_divisor_from_imm64 $I32 imm))
654
+ (rv_remw x y))
655
+
656
+ (rule 2 (lower (has_type $I64 (srem x y)))
657
+ (if-let $true (has_m))
658
+ (rv_rem x (nonzero_divisor y)))
659
+
660
+ (rule 3 (lower (has_type $I64 (srem x y @ (iconst imm))))
661
+ (if-let $true (has_m))
662
+ (if (safe_divisor_from_imm64 $I64 imm))
663
+ (rv_rem x y))
664
+
665
+ ;;;; Rules for `and` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
666
+ (rule -1 (lower (has_type (fits_in_64 ty) (band x y)))
667
+ (rv_and x y))
668
+
669
+ (rule 0 (lower (has_type $I128 (band x y)))
670
+ (value_regs
671
+ (rv_and (value_regs_get x 0) (value_regs_get y 0))
672
+ (rv_and (value_regs_get x 1) (value_regs_get y 1))))
673
+
674
+ ;; Special cases for when one operand is an immediate that fits in 12 bits.
675
+ (rule 1 (lower (has_type (fits_in_64 (ty_int ty)) (band x (imm12_from_value y))))
676
+ (rv_andi x y))
677
+
678
+ (rule 2 (lower (has_type (fits_in_64 (ty_int ty)) (band (imm12_from_value x) y)))
679
+ (rv_andi y x))
680
+
681
+ (rule 3 (lower (has_type (ty_scalar_float ty) (band x y)))
682
+ (lower_float_binary (AluOPRRR.And) x y ty))
683
+
684
+ ;; Specialized lowerings for `(band x (bnot y))` which is additionally produced
685
+ ;; by Cranelift's `band_not` instruction that is legalized into the simpler
686
+ ;; forms early on.
687
+
688
+ (rule 4 (lower (has_type (fits_in_64 (ty_int ty)) (band x (bnot y))))
689
+ (if-let $true (has_zbb))
690
+ (rv_andn x y))
691
+
692
+ (rule 5 (lower (has_type (fits_in_64 (ty_int ty)) (band (bnot y) x)))
693
+ (if-let $true (has_zbb))
694
+ (rv_andn x y))
695
+
696
+ (rule 6 (lower (has_type $I128 (band x (bnot y))))
697
+ (if-let $true (has_zbb))
698
+ (let ((low XReg (rv_andn (value_regs_get x 0) (value_regs_get y 0)))
699
+ (high XReg (rv_andn (value_regs_get x 1) (value_regs_get y 1))))
700
+ (value_regs low high)))
701
+
702
+ (rule 7 (lower (has_type $I128 (band (bnot y) x)))
703
+ (if-let $true (has_zbb))
704
+ (let ((low XReg (rv_andn (value_regs_get x 0) (value_regs_get y 0)))
705
+ (high XReg (rv_andn (value_regs_get x 1) (value_regs_get y 1))))
706
+ (value_regs low high)))
707
+
708
+ (rule 8 (lower (has_type (ty_vec_fits_in_register ty) (band x y)))
709
+ (rv_vand_vv x y (unmasked) ty))
710
+
711
+ (rule 9 (lower (has_type (ty_vec_fits_in_register ty) (band x (splat y))))
712
+ (if (ty_vector_not_float ty))
713
+ (rv_vand_vx x y (unmasked) ty))
714
+
715
+ (rule 10 (lower (has_type (ty_vec_fits_in_register ty) (band (splat x) y)))
716
+ (if (ty_vector_not_float ty))
717
+ (rv_vand_vx y x (unmasked) ty))
718
+
719
+ (rule 11 (lower (has_type (ty_vec_fits_in_register ty) (band x y)))
720
+ (if-let y_imm (replicated_imm5 y))
721
+ (rv_vand_vi x y_imm (unmasked) ty))
722
+
723
+ (rule 12 (lower (has_type (ty_vec_fits_in_register ty) (band x y)))
724
+ (if-let x_imm (replicated_imm5 x))
725
+ (rv_vand_vi y x_imm (unmasked) ty))
726
+
727
+ ;; `bclr{,i}` specializations from `zbs`
728
+
729
+ (rule 13 (lower (has_type (fits_in_32 ty) (band x (bnot (ishl (i64_from_iconst 1) y)))))
730
+ (if-let $true (has_zbs))
731
+ (rv_bclr x (rv_andi y (imm12_const (u8_sub (ty_bits ty) 1)))))
732
+ (rule 14 (lower (has_type (fits_in_32 ty) (band (bnot (ishl (i64_from_iconst 1) y)) x)))
733
+ (if-let $true (has_zbs))
734
+ (rv_bclr x (rv_andi y (imm12_const (u8_sub (ty_bits ty) 1)))))
735
+
736
+ (rule 15 (lower (has_type $I64 (band x (bnot (ishl (i64_from_iconst 1) y)))))
737
+ (if-let $true (has_zbs))
738
+ (rv_bclr x y))
739
+ (rule 16 (lower (has_type $I64 (band (bnot (ishl (i64_from_iconst 1) y)) x)))
740
+ (if-let $true (has_zbs))
741
+ (rv_bclr x y))
742
+
743
+ (rule 17 (lower (has_type (fits_in_64 ty) (band x (u64_from_iconst n))))
744
+ (if-let $true (has_zbs))
745
+ (if-let imm (bclr_imm ty n))
746
+ (rv_bclri x imm))
747
+ (rule 18 (lower (has_type (fits_in_64 ty) (band (u64_from_iconst n) x)))
748
+ (if-let $true (has_zbs))
749
+ (if-let imm (bclr_imm ty n))
750
+ (rv_bclri x imm))
751
+
752
+ (decl pure partial bclr_imm (Type u64) Imm12)
753
+ (extern constructor bclr_imm bclr_imm)
754
+
755
+ ;; `bext{,i}` specializations from `zbs`
756
+
757
+ (rule 19 (lower (has_type $I32 (band (ushr x y) (u64_from_iconst 1))))
758
+ (if-let $true (has_zbs))
759
+ (rv_bext x (rv_andi y (imm12_const 31))))
760
+ (rule 19 (lower (has_type $I32 (band (sshr x y) (u64_from_iconst 1))))
761
+ (if-let $true (has_zbs))
762
+ (rv_bext x (rv_andi y (imm12_const 31))))
763
+ (rule 19 (lower (has_type $I32 (band (u64_from_iconst 1) (ushr x y))))
764
+ (if-let $true (has_zbs))
765
+ (rv_bext x (rv_andi y (imm12_const 31))))
766
+ (rule 19 (lower (has_type $I32 (band (u64_from_iconst 1) (sshr x y))))
767
+ (if-let $true (has_zbs))
768
+ (rv_bext x (rv_andi y (imm12_const 31))))
769
+
770
+ (rule 19 (lower (has_type $I64 (band (ushr x y) (u64_from_iconst 1))))
771
+ (if-let $true (has_zbs))
772
+ (rv_bext x y))
773
+ (rule 19 (lower (has_type $I64 (band (sshr x y) (u64_from_iconst 1))))
774
+ (if-let $true (has_zbs))
775
+ (rv_bext x y))
776
+ (rule 19 (lower (has_type $I64 (band (u64_from_iconst 1) (ushr x y))))
777
+ (if-let $true (has_zbs))
778
+ (rv_bext x y))
779
+ (rule 19 (lower (has_type $I64 (band (u64_from_iconst 1) (sshr x y))))
780
+ (if-let $true (has_zbs))
781
+ (rv_bext x y))
782
+
783
+ (rule 20 (lower (has_type $I32 (band (ushr x (imm12_from_value y)) (u64_from_iconst 1))))
784
+ (if-let $true (has_zbs))
785
+ (rv_bexti x (imm12_and y 31)))
786
+ (rule 20 (lower (has_type $I32 (band (sshr x (imm12_from_value y)) (u64_from_iconst 1))))
787
+ (if-let $true (has_zbs))
788
+ (rv_bexti x (imm12_and y 31)))
789
+ (rule 20 (lower (has_type $I64 (band (ushr x (imm12_from_value y)) (u64_from_iconst 1))))
790
+ (if-let $true (has_zbs))
791
+ (rv_bexti x (imm12_and y 63)))
792
+ (rule 20 (lower (has_type $I64 (band (sshr x (imm12_from_value y)) (u64_from_iconst 1))))
793
+ (if-let $true (has_zbs))
794
+ (rv_bexti x (imm12_and y 63)))
795
+
796
+ ;;;; Rules for `or` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
797
+ (rule 0 (lower (has_type (ty_int ty) (bor x y)))
798
+ (gen_or ty x y))
799
+
800
+ ;; Special cases for when one operand is an immediate that fits in 12 bits.
801
+ (rule 1 (lower (has_type (fits_in_64 (ty_int ty)) (bor x (imm12_from_value y))))
802
+ (rv_ori x y))
803
+
804
+ (rule 2 (lower (has_type (fits_in_64 (ty_int ty)) (bor (imm12_from_value x) y)))
805
+ (rv_ori y x))
806
+
807
+ (rule 3 (lower (has_type (ty_scalar_float ty) (bor x y)))
808
+ (lower_float_binary (AluOPRRR.Or) x y ty))
809
+
810
+ ;; Specialized lowerings for `(bor x (bnot y))` which is additionally produced
811
+ ;; by Cranelift's `bor_not` instruction that is legalized into the simpler
812
+ ;; forms early on.
813
+
814
+ (rule 4 (lower (has_type (fits_in_64 (ty_int ty)) (bor x (bnot y))))
815
+ (if-let $true (has_zbb))
816
+ (rv_orn x y))
817
+
818
+ (rule 5 (lower (has_type (fits_in_64 (ty_int ty)) (bor (bnot y) x)))
819
+ (if-let $true (has_zbb))
820
+ (rv_orn x y))
821
+
822
+ (rule 6 (lower (has_type $I128 (bor x (bnot y))))
823
+ (if-let $true (has_zbb))
824
+ (let ((low XReg (rv_orn (value_regs_get x 0) (value_regs_get y 0)))
825
+ (high XReg (rv_orn (value_regs_get x 1) (value_regs_get y 1))))
826
+ (value_regs low high)))
827
+
828
+ (rule 7 (lower (has_type $I128 (bor (bnot y) x)))
829
+ (if-let $true (has_zbb))
830
+ (let ((low XReg (rv_orn (value_regs_get x 0) (value_regs_get y 0)))
831
+ (high XReg (rv_orn (value_regs_get x 1) (value_regs_get y 1))))
832
+ (value_regs low high)))
833
+
834
+ (rule 8 (lower (has_type (ty_vec_fits_in_register ty) (bor x y)))
835
+ (rv_vor_vv x y (unmasked) ty))
836
+
837
+ (rule 9 (lower (has_type (ty_vec_fits_in_register ty) (bor x (splat y))))
838
+ (if (ty_vector_not_float ty))
839
+ (rv_vor_vx x y (unmasked) ty))
840
+
841
+ (rule 10 (lower (has_type (ty_vec_fits_in_register ty) (bor (splat x) y)))
842
+ (if (ty_vector_not_float ty))
843
+ (rv_vor_vx y x (unmasked) ty))
844
+
845
+ (rule 11 (lower (has_type (ty_vec_fits_in_register ty) (bor x y)))
846
+ (if-let y_imm (replicated_imm5 y))
847
+ (rv_vor_vi x y_imm (unmasked) ty))
848
+
849
+ (rule 12 (lower (has_type (ty_vec_fits_in_register ty) (bor x y)))
850
+ (if-let x_imm (replicated_imm5 x))
851
+ (rv_vor_vi y x_imm (unmasked) ty))
852
+
853
+ ;; `bset{,i}` specializations from `zbs`
854
+
855
+ (rule 13 (lower (has_type $I32 (bor x (ishl (i64_from_iconst 1) y))))
856
+ (if-let $true (has_zbs))
857
+ (rv_bset x (rv_andi y (imm12_const 31))))
858
+ (rule 14 (lower (has_type $I32 (bor (ishl (i64_from_iconst 1) y) x)))
859
+ (if-let $true (has_zbs))
860
+ (rv_bset x (rv_andi y (imm12_const 31))))
861
+
862
+ (rule 13 (lower (has_type $I64 (bor x (ishl (i64_from_iconst 1) y))))
863
+ (if-let $true (has_zbs))
864
+ (rv_bset x y))
865
+ (rule 14 (lower (has_type $I64 (bor (ishl (i64_from_iconst 1) y) x)))
866
+ (if-let $true (has_zbs))
867
+ (rv_bset x y))
868
+
869
+ (rule 15 (lower (has_type (fits_in_64 _) (bor x (u64_from_iconst n))))
870
+ (if-let $true (has_zbs))
871
+ (if-let imm (bseti_imm n))
872
+ (rv_bseti x imm))
873
+ (rule 16 (lower (has_type (fits_in_64 _) (bor (u64_from_iconst n) x)))
874
+ (if-let $true (has_zbs))
875
+ (if-let imm (bseti_imm n))
876
+ (rv_bseti x imm))
877
+
878
+ (decl pure partial bseti_imm (u64) Imm12)
879
+ (extern constructor bseti_imm bseti_imm)
880
+
881
+ ;;;; Rules for `xor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
882
+ (rule 0 (lower (has_type (fits_in_64 (ty_int ty)) (bxor x y)))
883
+ (rv_xor x y))
884
+
885
+ ;; Special cases for when one operand is an immediate that fits in 12 bits.
886
+ (rule 1 (lower (has_type (fits_in_64 (ty_int ty)) (bxor x (imm12_from_value y))))
887
+ (rv_xori x y))
888
+
889
+ (rule 2 (lower (has_type (fits_in_64 (ty_int ty)) (bxor (imm12_from_value x) y)))
890
+ (rv_xori y x))
891
+
892
+ (rule 3 (lower (has_type $I128 (bxor x y)))
893
+ (lower_b128_binary (AluOPRRR.Xor) x y))
894
+
895
+ (rule 4 (lower (has_type (ty_scalar_float ty) (bxor x y)))
896
+ (lower_float_binary (AluOPRRR.Xor) x y ty))
897
+
898
+ (rule 5 (lower (has_type (ty_vec_fits_in_register ty) (bxor x y)))
899
+ (rv_vxor_vv x y (unmasked) ty))
900
+
901
+ (rule 6 (lower (has_type (ty_vec_fits_in_register ty) (bxor x (splat y))))
902
+ (if (ty_vector_not_float ty))
903
+ (rv_vxor_vx x y (unmasked) ty))
904
+
905
+ (rule 7 (lower (has_type (ty_vec_fits_in_register ty) (bxor (splat x) y)))
906
+ (if (ty_vector_not_float ty))
907
+ (rv_vxor_vx y x (unmasked) ty))
908
+
909
+ (rule 8 (lower (has_type (ty_vec_fits_in_register ty) (bxor x y)))
910
+ (if-let y_imm (replicated_imm5 y))
911
+ (rv_vxor_vi x y_imm (unmasked) ty))
912
+
913
+ (rule 9 (lower (has_type (ty_vec_fits_in_register ty) (bxor x y)))
914
+ (if-let x_imm (replicated_imm5 x))
915
+ (rv_vxor_vi y x_imm (unmasked) ty))
916
+
917
+ ;; `binv{,i}` specializations from `zbs`
918
+
919
+ (rule 13 (lower (has_type $I32 (bxor x (ishl (i64_from_iconst 1) y))))
920
+ (if-let $true (has_zbs))
921
+ (rv_binv x (rv_andi y (imm12_const 31))))
922
+ (rule 14 (lower (has_type $I32 (bxor (ishl (i64_from_iconst 1) y) x)))
923
+ (if-let $true (has_zbs))
924
+ (rv_binv x (rv_andi y (imm12_const 31))))
925
+
926
+ (rule 13 (lower (has_type $I64 (bxor x (ishl (i64_from_iconst 1) y))))
927
+ (if-let $true (has_zbs))
928
+ (rv_binv x y))
929
+ (rule 14 (lower (has_type $I64 (bxor (ishl (i64_from_iconst 1) y) x)))
930
+ (if-let $true (has_zbs))
931
+ (rv_binv x y))
932
+
933
+ (rule 15 (lower (has_type (fits_in_64 _) (bxor x (u64_from_iconst n))))
934
+ (if-let $true (has_zbs))
935
+ (if-let imm (binvi_imm n))
936
+ (rv_binvi x imm))
937
+ (rule 16 (lower (has_type (fits_in_64 _) (bxor (u64_from_iconst n) x)))
938
+ (if-let $true (has_zbs))
939
+ (if-let imm (binvi_imm n))
940
+ (rv_binvi x imm))
941
+
942
+ (decl pure partial binvi_imm (u64) Imm12)
943
+ (extern constructor binvi_imm binvi_imm)
944
+
945
+ ;;;; Rules for `bnot` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
946
+
947
+ (rule 0 (lower (has_type (ty_int_ref_scalar_64 _) (bnot x)))
948
+ (rv_not x))
949
+
950
+ (rule 1 (lower (has_type (ty_scalar_float ty) (bnot x)))
951
+ (move_x_to_f (rv_not (move_f_to_x x ty)) (float_int_of_same_size ty)))
952
+
953
+ (rule 2 (lower (has_type $I128 (bnot x)))
954
+ (value_regs
955
+ (rv_not (value_regs_get x 0))
956
+ (rv_not (value_regs_get x 1))))
957
+
958
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (bnot x)))
959
+ (rv_vnot_v x (unmasked) ty))
960
+
961
+ (rule 4 (lower (has_type (ty_int_ref_scalar_64 _) (bnot (bxor x y))))
962
+ (if-let $true (has_zbb))
963
+ (rv_xnor x y))
964
+
965
+ ;;;; Rules for `bit_reverse` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
966
+
967
+ (rule 0 (lower (has_type (ty_int_ref_scalar_64 ty) (bitrev x)))
968
+ (gen_bitrev ty x))
969
+
970
+ (rule 1 (lower (has_type $I128 (bitrev x)))
971
+ (value_regs
972
+ (gen_bitrev $I64 (value_regs_get x 1))
973
+ (gen_bitrev $I64 (value_regs_get x 0))))
974
+
975
+
976
+ ;; Constructs a sequence of instructions that reverse all bits in `x` up to
977
+ ;; the given type width.
978
+ (decl gen_bitrev (Type XReg) XReg)
979
+
980
+ (rule 0 (gen_bitrev (ty_16_or_32 (ty_int ty)) x)
981
+ (if-let shift_amt (u64_to_imm12 (u64_sub 64 (ty_bits ty))))
982
+ (rv_srli (gen_bitrev $I64 x) shift_amt))
983
+
984
+ (rule 1 (gen_bitrev $I8 x)
985
+ (gen_brev8 x $I8))
986
+
987
+ (rule 1 (gen_bitrev $I64 x)
988
+ (gen_brev8 (gen_bswap $I64 x) $I64))
989
+
990
+
991
+ ;;;; Rules for `bswap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
992
+
993
+ (rule 1 (lower (has_type (fits_in_64 (ty_int ty)) (bswap x)))
994
+ (gen_bswap ty x))
995
+
996
+ (rule 2 (lower (has_type $I128 (bswap x)))
997
+ (value_regs
998
+ (gen_bswap $I64 (value_regs_get x 1))
999
+ (gen_bswap $I64 (value_regs_get x 0))))
1000
+
1001
+ ;; Builds a sequence of instructions that swaps the bytes in `x` up to the given
1002
+ ;; type width.
1003
+ (decl gen_bswap (Type XReg) XReg)
1004
+
1005
+ ;; This is only here to make the rule below work. bswap.i8 isn't valid
1006
+ (rule 0 (gen_bswap $I8 x) x)
1007
+ (rule 1 (gen_bswap (ty_int_ref_16_to_64 ty) x)
1008
+ (if-let half_ty (ty_half_width ty))
1009
+ (if-let half_size (u64_to_imm12 (ty_bits half_ty)))
1010
+ (let (;; This swaps the top bytes and zeroes the bottom bytes, so that
1011
+ ;; we can or it with the bottom bytes later.
1012
+ (swap_top XReg (gen_bswap half_ty x))
1013
+ (top XReg (rv_slli swap_top half_size))
1014
+
1015
+ ;; Get the top half, swap it, and zero extend it so we can `or` it
1016
+ ;; with the bottom half. Note that zero extension here already knows
1017
+ ;; that `zbb` isn't available and that `half_ty` is not `$I64`, so this
1018
+ ;; falls back to the shift-then-shift sequence.
1019
+ (shifted XReg (rv_srli x half_size))
1020
+ (swap_bot XReg (gen_bswap half_ty shifted))
1021
+ (shift Imm12 (imm_from_bits (u64_sub 64 (ty_bits half_ty))))
1022
+ (bot_shifted_left XReg (rv_slli swap_bot shift))
1023
+ (bot XReg (rv_srli bot_shifted_left shift)))
1024
+ (rv_or top bot)))
1025
+
1026
+ (rule 2 (gen_bswap (ty_16_or_32 (ty_int ty)) x)
1027
+ (if-let $true (has_zbb))
1028
+ (if-let shift_amt (u64_to_imm12 (u64_sub 64 (ty_bits ty))))
1029
+ (rv_srli (rv_rev8 x) shift_amt))
1030
+
1031
+ (rule 3 (gen_bswap $I64 x)
1032
+ (if-let $true (has_zbb))
1033
+ (rv_rev8 x))
1034
+
1035
+ ;;;; Rules for `ctz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1036
+ (rule (lower (has_type (fits_in_64 ty) (ctz x)))
1037
+ (lower_ctz ty x))
1038
+
1039
+ (rule 1 (lower (has_type $I128 (ctz x)))
1040
+ (let ((x_lo XReg (value_regs_get x 0))
1041
+ (x_hi XReg (value_regs_get x 1))
1042
+ ;; Count both halves
1043
+ (high XReg (lower_ctz $I64 x_hi))
1044
+ (low XReg (lower_ctz $I64 x_lo))
1045
+ ;; Only add the top half if the bottom is zero
1046
+ (high XReg (gen_select_xreg (cmp_eqz x_lo) high (zero_reg)))
1047
+ (result XReg (rv_add low high)))
1048
+ (value_regs result (imm $I64 0))))
1049
+
1050
+ ;;;; Rules for `clz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1051
+ (rule 0 (lower (has_type (fits_in_64 ty) (clz x)))
1052
+ (gen_cltz $true x ty))
1053
+
1054
+ (rule 1 (lower (has_type $I128 (clz x)))
1055
+ (let ((x_lo XReg (value_regs_get x 0))
1056
+ (x_hi XReg (value_regs_get x 1))
1057
+ ;; Count both halves
1058
+ (high XReg (gen_clz x_hi))
1059
+ (low XReg (gen_clz x_lo))
1060
+ ;; Only add the bottom zeros if the top half is zero
1061
+ (low XReg (gen_select_xreg (cmp_eqz x_hi) low (zero_reg))))
1062
+ (value_regs (rv_add high low) (imm $I64 0))))
1063
+
1064
+ (rule 2 (lower (has_type (fits_in_16 ty) (clz x)))
1065
+ (if-let $true (has_zbb))
1066
+ (let ((tmp XReg (zext x))
1067
+ (count XReg (rv_clz tmp)))
1068
+ ;; We always do the operation on the full 64-bit register, so subtract 64 from the result.
1069
+ (rv_addi count (imm12_const_add (ty_bits ty) -64))))
1070
+
1071
+ (rule 3 (lower (has_type $I32 (clz x)))
1072
+ (if-let $true (has_zbb))
1073
+ (rv_clzw x))
1074
+
1075
+ (rule 3 (lower (has_type $I64 (clz x)))
1076
+ (if-let $true (has_zbb))
1077
+ (rv_clz x))
1078
+
1079
+ (decl gen_clz (XReg) XReg)
1080
+ (rule 0 (gen_clz rs)
1081
+ (gen_cltz $true rs $I64))
1082
+ (rule 1 (gen_clz rs)
1083
+ (if-let $true (has_zbb))
1084
+ (rv_clz rs))
1085
+
1086
+ ;;;; Rules for `cls` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1087
+
1088
+ (rule (lower (has_type (fits_in_64 ty) (cls x)))
1089
+ (let ((tmp XReg (sext x))
1090
+ (tmp2 XReg (gen_select_xreg (cmp_ltz tmp) (rv_not tmp) tmp))
1091
+ (tmp3 XReg (gen_clz tmp2)))
1092
+ ;; clz counted the full register width, so subtract (64-$width), and then
1093
+ ;; additionally subtract one more, meaning here -65+width is added.
1094
+ (rv_addi tmp3 (imm12_const_add (ty_bits ty) -65))))
1095
+
1096
+ ;; If the sign bit is set, we count the leading zeros of the inverted value.
1097
+ ;; Otherwise we can just count the leading zeros of the original value.
1098
+ ;; Subtract 1 since the sign bit does not count.
1099
+ (rule 1 (lower (has_type $I128 (cls x)))
1100
+ (let ((low XReg (value_regs_get x 0))
1101
+ (high XReg (value_regs_get x 1))
1102
+ (low XReg (gen_select_xreg (cmp_ltz high) (rv_not low) low))
1103
+ (high XReg (gen_select_xreg (cmp_ltz high) (rv_not high) high))
1104
+
1105
+ ;; Count both halves
1106
+ (high_cnt XReg (gen_clz high))
1107
+ (low_cnt XReg (gen_clz low))
1108
+ ;; Only add the bottom zeros if the top half is zero
1109
+ (low_cnt XReg (gen_select_xreg (cmp_eqz high) low_cnt (zero_reg)))
1110
+ (count XReg (rv_add high_cnt low_cnt))
1111
+ (result XReg (rv_addi count (imm12_const -1))))
1112
+ (value_regs result (imm $I64 0))))
1113
+
1114
+
1115
+ ;;;; Rules for `uextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1116
+ (rule 0 (lower (has_type (fits_in_64 _) (uextend val)))
1117
+ (zext val))
1118
+ (rule 1 (lower (has_type $I128 (uextend val)))
1119
+ (value_regs (zext val) (imm $I64 0)))
1120
+
1121
+ ;;;; Rules for `sextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1122
+ (rule 0 (lower (has_type (fits_in_64 _) (sextend val @ (value_type in_ty))))
1123
+ (sext val))
1124
+ (rule 1 (lower (has_type $I128 (sextend val @ (value_type in_ty))))
1125
+ (let ((lo XReg (sext val)))
1126
+ (value_regs lo (rv_srai lo (imm12_const 63)))))
1127
+
1128
+ ;;;; Rules for `popcnt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1129
+
1130
+ (rule 0 (lower (has_type (fits_in_64 _) (popcnt x)))
1131
+ (gen_popcnt (zext x)))
1132
+
1133
+ (rule 1 (lower (has_type $I128 (popcnt x)))
1134
+ (let
1135
+ ((x ValueRegs x)
1136
+ (low XReg (gen_popcnt (value_regs_get x 0)))
1137
+ (high XReg (gen_popcnt (value_regs_get x 1)))
1138
+ (result XReg (rv_add low high)))
1139
+ (value_regs result (imm $I64 0))))
1140
+
1141
+ (rule 2 (lower (has_type (fits_in_64 _) (popcnt x)))
1142
+ (if-let $true (has_zbb))
1143
+ (rv_cpop (zext x)))
1144
+
1145
+ (rule 3 (lower (has_type $I32 (popcnt x)))
1146
+ (if-let $true (has_zbb))
1147
+ (rv_cpopw x))
1148
+
1149
+ (rule 3 (lower (has_type $I128 (popcnt x)))
1150
+ (if-let $true (has_zbb))
1151
+ (let
1152
+ ((x ValueRegs x)
1153
+ (low XReg (rv_cpop (value_regs_get x 0)))
1154
+ (high XReg (rv_cpop (value_regs_get x 1)))
1155
+ (result XReg (rv_add low high)))
1156
+ (value_regs result (imm $I64 0))))
1157
+
1158
+ ;; Popcount using multiply.
1159
+ ;; This is popcount64c() from
1160
+ ;; http://en.wikipedia.org/wiki/Hamming_weight
1161
+ ;;
1162
+ ;; Here's the C version for 32 bits:
1163
+ ;; x = x - ((x>> 1) & 0x55555555);
1164
+ ;; x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
1165
+ ;; x = ((x + (x >> 4)) & 0x0F0F0F0F);
1166
+ ;; return (x * 0x01010101) >> 24; // Here 24 is the type width - 8.
1167
+ ;;
1168
+ ;; TODO: LLVM generates a much better implementation for I8X16. See: https://godbolt.org/z/qr6vf9Gr3
1169
+ ;; For the other types it seems to be largely the same.
1170
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (popcnt x)))
1171
+ (if-let one (u64_to_uimm5 1))
1172
+ (if-let two (u64_to_uimm5 2))
1173
+ (if-let four (u64_to_uimm5 4))
1174
+
1175
+ (let (;; x = x - ((x >> 1) & 0x55555555);
1176
+ (mask_55 XReg (imm (lane_type ty) (u64_and 0x5555555555555555 (ty_mask (lane_type ty)))))
1177
+ (count2_shr VReg (rv_vsrl_vi x one (unmasked) ty))
1178
+ (count2_and VReg (rv_vand_vx count2_shr mask_55 (unmasked) ty))
1179
+ (count2 VReg (rv_vsub_vv x count2_and (unmasked) ty))
1180
+
1181
+ ;; x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
1182
+ (mask_33 XReg (imm (lane_type ty) (u64_and 0x3333333333333333 (ty_mask (lane_type ty)))))
1183
+ (count4_shr VReg (rv_vsrl_vi count2 two (unmasked) ty))
1184
+ (count4_and VReg (rv_vand_vx count4_shr mask_33 (unmasked) ty))
1185
+ (count4_lhs VReg (rv_vand_vx count2 mask_33 (unmasked) ty))
1186
+ (count4 VReg (rv_vadd_vv count4_lhs count4_and (unmasked) ty))
1187
+
1188
+ ;; x = (x + (x >> 4)) & 0x0F0F0F0F;
1189
+ (mask_0f XReg (imm (lane_type ty) (u64_and 0x0f0f0f0f0f0f0f0f (ty_mask (lane_type ty)))))
1190
+ (count8_shr VReg (rv_vsrl_vi count4 four (unmasked) ty))
1191
+ (count8_add VReg (rv_vadd_vv count4 count8_shr (unmasked) ty))
1192
+ (count8 VReg (rv_vand_vx count8_add mask_0f (unmasked) ty))
1193
+
1194
+ ;; (x * 0x01010101) >> (<ty_width> - 8)
1195
+ (mask_01 XReg (imm (lane_type ty) (u64_and 0x0101010101010101 (ty_mask (lane_type ty)))))
1196
+ (mul VReg (rv_vmul_vx count8 mask_01 (unmasked) ty))
1197
+ (shift XReg (imm $I64 (u64_sub (ty_bits (lane_type ty)) 8)))
1198
+ (res VReg (rv_vsrl_vx mul shift (unmasked) ty)))
1199
+ res))
1200
+
1201
+ ;;;; Rules for `ishl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1202
+
1203
+ ;; 8/16 bit types need a mask on the shift amount
1204
+ (rule 0 (lower (has_type (ty_int (ty_8_or_16 ty)) (ishl x y)))
1205
+ (if-let mask (u64_to_imm12 (ty_shift_mask ty)))
1206
+ (rv_sllw x (rv_andi (value_regs_get y 0) mask)))
1207
+
1208
+ ;; Using the 32bit version of `sll` automatically masks the shift amount.
1209
+ (rule 1 (lower (has_type $I32 (ishl x y)))
1210
+ (rv_sllw x (value_regs_get y 0)))
1211
+
1212
+ ;; Similarly, the 64bit version does the right thing.
1213
+ (rule 1 (lower (has_type $I64 (ishl x y)))
1214
+ (rv_sll x (value_regs_get y 0)))
1215
+
1216
+ ;; If the shift amount is known. We can mask it and encode it in the instruction.
1217
+ (rule 2 (lower (has_type (int_fits_in_32 ty) (ishl x (maybe_uextend (imm12_from_value y)))))
1218
+ (rv_slliw x (imm12_and y (ty_shift_mask ty))))
1219
+
1220
+ ;; We technically don't need to mask the shift amount here. The instruction
1221
+ ;; does the right thing. But it's neater when pretty printing it.
1222
+ (rule 3 (lower (has_type ty @ $I64 (ishl x (maybe_uextend (imm12_from_value y)))))
1223
+ (rv_slli x (imm12_and y (ty_shift_mask ty))))
1224
+
1225
+ ;; With `Zba` we have a shift that zero extends the LHS argument.
1226
+ (rule 4 (lower (has_type $I64 (ishl (uextend x @ (value_type $I32)) (maybe_uextend (imm12_from_value y)))))
1227
+ (if-let $true (has_zba))
1228
+ (rv_slliuw x y))
1229
+
1230
+ ;; I128 cases
1231
+ (rule 4 (lower (has_type $I128 (ishl x y)))
1232
+ (let ((tmp ValueRegs (gen_shamt $I128 (value_regs_get y 0)))
1233
+ (shamt XReg (value_regs_get tmp 0))
1234
+ (len_sub_shamt XReg (value_regs_get tmp 1))
1235
+ ;;
1236
+ (low XReg (rv_sll (value_regs_get x 0) shamt))
1237
+ ;; high part.
1238
+ (high_part1 XReg (rv_srl (value_regs_get x 0) len_sub_shamt))
1239
+ (high_part2 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) high_part1))
1240
+ ;;
1241
+ (high_part3 XReg (rv_sll (value_regs_get x 1) shamt))
1242
+ (high XReg (rv_or high_part2 high_part3))
1243
+ ;;
1244
+ (const64 XReg (imm $I64 64))
1245
+ (shamt_128 XReg (rv_andi (value_regs_get y 0) (imm12_const 127))))
1246
+ (gen_select_regs
1247
+ (cmp_geu shamt_128 const64)
1248
+ (value_regs (zero_reg) low)
1249
+ (value_regs low high))))
1250
+
1251
+ ;; SIMD Cases
1252
+ ;; We don't need to mask anything since it is done by the instruction according to SEW.
1253
+
1254
+ (rule 5 (lower (has_type (ty_vec_fits_in_register ty) (ishl x y)))
1255
+ (rv_vsll_vx x (value_regs_get y 0) (unmasked) ty))
1256
+
1257
+ (rule 6 (lower (has_type (ty_vec_fits_in_register ty) (ishl x (maybe_uextend (uimm5_from_value y)))))
1258
+ (rv_vsll_vi x y (unmasked) ty))
1259
+
1260
+ ;;;; Rules for `ushr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1261
+
1262
+ ;; 8/16 bit types need a mask on the shift amount, and the LHS needs to be
1263
+ ;; zero extended.
1264
+ (rule 0 (lower (has_type (ty_int (fits_in_16 ty)) (ushr x y)))
1265
+ (if-let mask (u64_to_imm12 (ty_shift_mask ty)))
1266
+ (rv_srlw (zext x) (rv_andi (value_regs_get y 0) mask)))
1267
+
1268
+ ;; Using the 32bit version of `srl` automatically masks the shift amount.
1269
+ (rule 1 (lower (has_type $I32 (ushr x y)))
1270
+ (rv_srlw x (value_regs_get y 0)))
1271
+
1272
+ ;; Similarly, the 64bit version does the right thing.
1273
+ (rule 1 (lower (has_type $I64 (ushr x y)))
1274
+ (rv_srl x (value_regs_get y 0)))
1275
+
1276
+ ;; When the RHS is known we can just encode it in the instruction.
1277
+ (rule 2 (lower (has_type (ty_int (fits_in_16 ty)) (ushr x (maybe_uextend (imm12_from_value y)))))
1278
+ (rv_srliw (zext x) (imm12_and y (ty_shift_mask ty))))
1279
+
1280
+ (rule 3 (lower (has_type $I32 (ushr x (maybe_uextend (imm12_from_value y)))))
1281
+ (rv_srliw x y))
1282
+
1283
+ (rule 3 (lower (has_type $I64 (ushr x (maybe_uextend (imm12_from_value y)))))
1284
+ (rv_srli x y))
1285
+
1286
+ (rule 3 (lower (has_type $I128 (ushr x y)))
1287
+ (let ((tmp ValueRegs (gen_shamt $I128 (value_regs_get y 0)))
1288
+ (shamt XReg (value_regs_get tmp 0))
1289
+ (len_sub_shamt XReg (value_regs_get tmp 1))
1290
+ ;; low part.
1291
+ (low_part1 XReg (rv_sll (value_regs_get x 1) len_sub_shamt))
1292
+ (low_part2 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) low_part1))
1293
+ ;;
1294
+ (low_part3 XReg (rv_srl (value_regs_get x 0) shamt))
1295
+ (low XReg (rv_or low_part2 low_part3))
1296
+ ;;
1297
+ (const64 XReg (imm $I64 64))
1298
+ ;;
1299
+ (high XReg (rv_srl (value_regs_get x 1) shamt))
1300
+ (shamt_128 XReg (rv_andi (value_regs_get y 0) (imm12_const 127))))
1301
+ (gen_select_regs
1302
+ (cmp_geu shamt_128 const64)
1303
+ (value_regs high (zero_reg))
1304
+ (value_regs low high))))
1305
+
1306
+ ;; SIMD Cases
1307
+ ;; We don't need to mask or extend anything since it is done by the instruction according to SEW.
1308
+
1309
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (ushr x y)))
1310
+ (rv_vsrl_vx x (value_regs_get y 0) (unmasked) ty))
1311
+
1312
+ (rule 5 (lower (has_type (ty_vec_fits_in_register ty) (ushr x (maybe_uextend (uimm5_from_value y)))))
1313
+ (rv_vsrl_vi x y (unmasked) ty))
1314
+
1315
+ ;;;; Rules for `sshr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1316
+
1317
+ ;; 8/16 bit types need a mask on the shift amount, and the LHS needs to be
1318
+ ;; zero extended.
1319
+ (rule 0 (lower (has_type (ty_int (fits_in_16 ty)) (sshr x y)))
1320
+ (if-let mask (u64_to_imm12 (ty_shift_mask ty)))
1321
+ (rv_sraw (sext x) (rv_andi (value_regs_get y 0) mask)))
1322
+
1323
+ ;; Using the 32bit version of `sra` automatically masks the shift amount.
1324
+ (rule 1 (lower (has_type $I32 (sshr x y)))
1325
+ (rv_sraw x (value_regs_get y 0)))
1326
+
1327
+ ;; Similarly, the 64bit version does the right thing.
1328
+ (rule 1 (lower (has_type $I64 (sshr x y)))
1329
+ (rv_sra x (value_regs_get y 0)))
1330
+
1331
+ ;; When the RHS is known we can just encode it in the instruction.
1332
+ (rule 2 (lower (has_type (ty_int (fits_in_16 ty)) (sshr x (maybe_uextend (imm12_from_value y)))))
1333
+ (rv_sraiw (sext x) (imm12_and y (ty_shift_mask ty))))
1334
+
1335
+ (rule 3 (lower (has_type $I32 (sshr x (maybe_uextend (imm12_from_value y)))))
1336
+ (rv_sraiw x y))
1337
+
1338
+ (rule 3 (lower (has_type $I64 (sshr x (maybe_uextend (imm12_from_value y)))))
1339
+ (rv_srai x y))
1340
+
1341
+ (rule 3 (lower (has_type $I128 (sshr x y)))
1342
+ (let ((tmp ValueRegs (gen_shamt $I128 (value_regs_get y 0)))
1343
+ (shamt XReg (value_regs_get tmp 0))
1344
+ (len_sub_shamt XReg (value_regs_get tmp 1))
1345
+ ;; low part.
1346
+ (low_part1 XReg (rv_sll (value_regs_get x 1) len_sub_shamt))
1347
+ (low_part2 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) low_part1))
1348
+ ;;
1349
+ (low_part3 XReg (rv_srl (value_regs_get x 0) shamt))
1350
+ (low XReg (rv_or low_part2 low_part3))
1351
+ ;;
1352
+ (const64 XReg (imm $I64 64))
1353
+ ;;
1354
+ (high XReg (rv_sra (value_regs_get x 1) shamt))
1355
+ ;;
1356
+ (const_neg_1 XReg (imm $I64 (i64_as_u64 -1)))
1357
+ ;;
1358
+ (high_replacement XReg (gen_select_xreg (cmp_ltz (value_regs_get x 1)) const_neg_1 (zero_reg)))
1359
+ (const64 XReg (imm $I64 64))
1360
+ (shamt_128 XReg (rv_andi (value_regs_get y 0) (imm12_const 127))))
1361
+ (gen_select_regs
1362
+ (cmp_geu shamt_128 const64)
1363
+ (value_regs high high_replacement)
1364
+ (value_regs low high))))
1365
+
1366
+ ;; SIMD Cases
1367
+ ;; We don't need to mask or extend anything since it is done by the instruction according to SEW.
1368
+
1369
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (sshr x y)))
1370
+ (rv_vsra_vx x (value_regs_get y 0) (unmasked) ty))
1371
+
1372
+ (rule 5 (lower (has_type (ty_vec_fits_in_register ty) (sshr x (maybe_uextend (uimm5_from_value y)))))
1373
+ (rv_vsra_vi x y (unmasked) ty))
1374
+
1375
+
1376
+ ;;;; Rules for `rotl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1377
+
1378
+ (rule 0 (lower (has_type (fits_in_64 ty) (rotl rs amount)))
1379
+ (let
1380
+ ((rs XReg (zext rs))
1381
+ (amount XReg (value_regs_get amount 0))
1382
+ (x ValueRegs (gen_shamt ty amount))
1383
+ (shamt XReg (value_regs_get x 0))
1384
+ (len_sub_shamt Reg (value_regs_get x 1))
1385
+ (part1 Reg (rv_sll rs shamt))
1386
+ (part2 Reg (rv_srl rs len_sub_shamt))
1387
+ (part3 Reg (gen_select_xreg (cmp_eqz shamt) (zero_reg) part2)))
1388
+ (rv_or part1 part3)))
1389
+
1390
+ (rule 1 (lower (has_type $I32 (rotl rs amount)))
1391
+ (if-let $true (has_zbb))
1392
+ (rv_rolw rs (value_regs_get amount 0)))
1393
+
1394
+ (rule 2 (lower (has_type $I32 (rotl rs (u64_from_iconst n))))
1395
+ (if-let $true (has_zbb))
1396
+ (if-let (imm12_from_u64 imm) (u64_sub 32 (u64_and n 31)))
1397
+ (rv_roriw rs imm))
1398
+
1399
+ (rule 1 (lower (has_type $I64 (rotl rs amount)))
1400
+ (if-let $true (has_zbb))
1401
+ (rv_rol rs (value_regs_get amount 0)))
1402
+
1403
+ (rule 2 (lower (has_type $I64 (rotl rs (u64_from_iconst n))))
1404
+ (if-let $true (has_zbb))
1405
+ (if-let (imm12_from_u64 imm) (u64_sub 64 (u64_and n 63)))
1406
+ (rv_rori rs imm))
1407
+
1408
+ (rule 1 (lower (has_type $I128 (rotl x y)))
1409
+ (let
1410
+ ((tmp ValueRegs (gen_shamt $I128 (value_regs_get y 0)))
1411
+ (shamt XReg (value_regs_get tmp 0))
1412
+ (len_sub_shamt XReg (value_regs_get tmp 1))
1413
+ (low_part1 XReg (rv_sll (value_regs_get x 0) shamt))
1414
+ (low_part2 XReg (rv_srl (value_regs_get x 1) len_sub_shamt))
1415
+ ;;; if shamt == 0 low_part2 will overflow we should zero instead.
1416
+ (low_part3 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) low_part2))
1417
+ (low XReg (rv_or low_part1 low_part3))
1418
+ (high_part1 XReg (rv_sll (value_regs_get x 1) shamt))
1419
+ (high_part2 XReg (rv_srl (value_regs_get x 0) len_sub_shamt))
1420
+ (high_part3 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) high_part2))
1421
+ (high XReg (rv_or high_part1 high_part3))
1422
+ (const64 XReg (imm $I64 64))
1423
+ (shamt_128 XReg (rv_andi (value_regs_get y 0) (imm12_const 127))))
1424
+ ;; right now we only rotate less than 64 bits.
1425
+ ;; if shamt is greater than or equal 64 , we should switch low and high.
1426
+ (gen_select_regs
1427
+ (cmp_geu shamt_128 const64)
1428
+ (value_regs high low)
1429
+ (value_regs low high)
1430
+ )))
1431
+
1432
+ ;;;; Rules for `rotr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1433
+
1434
+ (rule (lower (has_type (fits_in_64 ty) (rotr rs amount)))
1435
+ (let
1436
+ ((rs XReg (zext rs))
1437
+ (amount XReg (value_regs_get amount 0))
1438
+ (x ValueRegs (gen_shamt ty amount))
1439
+ (shamt XReg (value_regs_get x 0))
1440
+ (len_sub_shamt XReg (value_regs_get x 1))
1441
+ (part1 XReg (rv_srl rs shamt))
1442
+ (part2 XReg (rv_sll rs len_sub_shamt))
1443
+ (part3 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) part2)))
1444
+ (rv_or part1 part3)))
1445
+
1446
+ (rule 1 (lower (has_type $I32 (rotr rs amount)))
1447
+ (if-let $true (has_zbb))
1448
+ (rv_rorw rs (value_regs_get amount 0)))
1449
+
1450
+ (rule 2 (lower (has_type $I32 (rotr rs (imm12_from_value n))))
1451
+ (if-let $true (has_zbb))
1452
+ (rv_roriw rs n))
1453
+
1454
+ (rule 1 (lower (has_type $I64 (rotr rs amount)))
1455
+ (if-let $true (has_zbb))
1456
+ (rv_ror rs (value_regs_get amount 0)))
1457
+
1458
+ (rule 2 (lower (has_type $I64 (rotr rs (imm12_from_value n))))
1459
+ (if-let $true (has_zbb))
1460
+ (rv_rori rs n))
1461
+
1462
+ (rule 1 (lower (has_type $I128 (rotr x y)))
1463
+ (let
1464
+ ((tmp ValueRegs (gen_shamt $I128 (value_regs_get y 0)))
1465
+ (shamt XReg (value_regs_get tmp 0))
1466
+ (len_sub_shamt XReg (value_regs_get tmp 1))
1467
+ (low_part1 XReg (rv_srl (value_regs_get x 0) shamt))
1468
+ (low_part2 XReg (rv_sll (value_regs_get x 1) len_sub_shamt))
1469
+ ;;; if shamt == 0 low_part2 will overflow we should zero instead.
1470
+ (low_part3 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) low_part2))
1471
+ (low XReg (rv_or low_part1 low_part3))
1472
+ (high_part1 XReg (rv_srl (value_regs_get x 1) shamt))
1473
+ (high_part2 XReg (rv_sll (value_regs_get x 0) len_sub_shamt))
1474
+ (high_part3 XReg (gen_select_xreg (cmp_eqz shamt) (zero_reg) high_part2))
1475
+ (high XReg (rv_or high_part1 high_part3))
1476
+ (const64 XReg (imm $I64 64))
1477
+ (shamt_128 XReg (rv_andi (value_regs_get y 0) (imm12_const 127))))
1478
+ ;; right now we only rotate less than 64 bits.
1479
+ ;; if shamt is greater than or equal 64 , we should switch low and high.
1480
+ (gen_select_regs
1481
+ (cmp_geu shamt_128 const64)
1482
+ (value_regs high low)
1483
+ (value_regs low high)
1484
+ )))
1485
+
1486
+ ;;;; Rules for `fabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1487
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fabs x)))
1488
+ (rv_fabs ty x))
1489
+
1490
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (fabs x)))
1491
+ (rv_vfabs_v x (unmasked) ty))
1492
+
1493
+ ;;;; Rules for `fneg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1494
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fneg x)))
1495
+ (rv_fneg ty x))
1496
+
1497
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (fneg x)))
1498
+ (rv_vfneg_v x (unmasked) ty))
1499
+
1500
+ ;;;; Rules for `fcopysign` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1501
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fcopysign x y)))
1502
+ (rv_fsgnj ty x y))
1503
+
1504
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (fcopysign x y)))
1505
+ (rv_vfsgnj_vv x y (unmasked) ty))
1506
+
1507
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (fcopysign x (splat y))))
1508
+ (rv_vfsgnj_vf x y (unmasked) ty))
1509
+
1510
+ ;;;; Rules for `fma` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1511
+
1512
+ ;; RISC-V has 4 FMA instructions that do a slightly different computation.
1513
+ ;;
1514
+ ;; fmadd: (rs1 * rs2) + rs3
1515
+ ;; fmsub: (rs1 * rs2) - rs3
1516
+ ;; fnmadd: -(rs1 * rs2) - rs3
1517
+ ;; fnmsub: -(rs1 * rs2) + rs3
1518
+ ;;
1519
+ ;; Additionally there are vector versions of these instructions with slightly different names.
1520
+ ;; The vector instructions also have two variants each. `.vv` and `.vf`, where `.vv` variants
1521
+ ;; take two vector operands and the `.vf` variants take a vector operand and a scalar operand.
1522
+ ;;
1523
+ ;; Due to this, variation they receive the arguments in a different order. So we need to swap
1524
+ ;; the arguments below.
1525
+ ;;
1526
+ ;; vfmacc: vd[i] = +(vs1[i] * vs2[i]) + vd[i]
1527
+ ;; vfmsac: vd[i] = +(vs1[i] * vs2[i]) - vd[i]
1528
+ ;; vfnmacc: vd[i] = -(vs1[i] * vs2[i]) - vd[i]
1529
+ ;; vfnmsac: vd[i] = -(vs1[i] * vs2[i]) + vd[i]
1530
+
1531
+ (type IsFneg (enum (Result (negate u64) (value Value))))
1532
+
1533
+ (decl pure is_fneg (Value) IsFneg)
1534
+ (rule 1 (is_fneg (fneg x)) (IsFneg.Result 1 x))
1535
+ (rule 0 (is_fneg x) (IsFneg.Result 0 x))
1536
+
1537
+ (rule (lower (has_type ty (fma x_src y_src z_src)))
1538
+ (if-let (IsFneg.Result neg_x x) (is_fneg x_src))
1539
+ (if-let (IsFneg.Result neg_y y) (is_fneg y_src))
1540
+ (if-let (IsFneg.Result neg_z z) (is_fneg z_src))
1541
+ (rv_fma ty (u64_xor neg_x neg_y) neg_z x y z))
1542
+
1543
+ ; parity arguments indicate whether to negate the x*y term or the z term, respectively
1544
+ (decl rv_fma (Type u64 u64 Value Value Value) InstOutput)
1545
+ (rule 0 (rv_fma (ty_scalar_float ty) 0 0 x y z) (rv_fmadd ty (FRM.RNE) x y z))
1546
+ (rule 0 (rv_fma (ty_scalar_float ty) 0 1 x y z) (rv_fmsub ty (FRM.RNE) x y z))
1547
+ (rule 0 (rv_fma (ty_scalar_float ty) 1 0 x y z) (rv_fnmsub ty (FRM.RNE) x y z))
1548
+ (rule 0 (rv_fma (ty_scalar_float ty) 1 1 x y z) (rv_fnmadd ty (FRM.RNE) x y z))
1549
+ (rule 1 (rv_fma (ty_vec_fits_in_register ty) 0 0 x y z) (rv_vfmacc_vv z y x (unmasked) ty))
1550
+ (rule 1 (rv_fma (ty_vec_fits_in_register ty) 0 1 x y z) (rv_vfmsac_vv z y x (unmasked) ty))
1551
+ (rule 1 (rv_fma (ty_vec_fits_in_register ty) 1 0 x y z) (rv_vfnmsac_vv z y x (unmasked) ty))
1552
+ (rule 1 (rv_fma (ty_vec_fits_in_register ty) 1 1 x y z) (rv_vfnmacc_vv z y x (unmasked) ty))
1553
+ (rule 2 (rv_fma (ty_vec_fits_in_register ty) 0 0 (splat x) y z) (rv_vfmacc_vf z y x (unmasked) ty))
1554
+ (rule 2 (rv_fma (ty_vec_fits_in_register ty) 0 1 (splat x) y z) (rv_vfmsac_vf z y x (unmasked) ty))
1555
+ (rule 2 (rv_fma (ty_vec_fits_in_register ty) 1 0 (splat x) y z) (rv_vfnmsac_vf z y x (unmasked) ty))
1556
+ (rule 2 (rv_fma (ty_vec_fits_in_register ty) 1 1 (splat x) y z) (rv_vfnmacc_vf z y x (unmasked) ty))
1557
+ (rule 3 (rv_fma (ty_vec_fits_in_register ty) 0 0 x (splat y) z) (rv_vfmacc_vf z x y (unmasked) ty))
1558
+ (rule 3 (rv_fma (ty_vec_fits_in_register ty) 0 1 x (splat y) z) (rv_vfmsac_vf z x y (unmasked) ty))
1559
+ (rule 3 (rv_fma (ty_vec_fits_in_register ty) 1 0 x (splat y) z) (rv_vfnmsac_vf z x y (unmasked) ty))
1560
+ (rule 3 (rv_fma (ty_vec_fits_in_register ty) 1 1 x (splat y) z) (rv_vfnmacc_vf z x y (unmasked) ty))
1561
+
1562
+ ;;;; Rules for `sqrt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1563
+ (rule 0 (lower (has_type (ty_scalar_float ty) (sqrt x)))
1564
+ (rv_fsqrt ty (FRM.RNE) x))
1565
+
1566
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (sqrt x)))
1567
+ (rv_vfsqrt_v x (unmasked) ty))
1568
+
1569
+ ;;;; Rules for `AtomicRMW` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1570
+ (rule -1
1571
+ ;;
1572
+ (lower
1573
+ (has_type (valid_atomic_transaction ty) (atomic_rmw flags op addr x)))
1574
+ (gen_atomic (get_atomic_rmw_op ty op) addr x (atomic_amo)))
1575
+
1576
+ ;;; for I8 and I16
1577
+ (rule 1
1578
+ (lower
1579
+ (has_type (valid_atomic_transaction (fits_in_16 ty)) (atomic_rmw flags op addr x)))
1580
+ (gen_atomic_rmw_loop op ty addr x))
1581
+
1582
+ ;;;special for I8 and I16 max min etc.
1583
+ ;;;because I need uextend or sextend the value.
1584
+ (rule 2
1585
+ (lower
1586
+ (has_type (valid_atomic_transaction (fits_in_16 ty)) (atomic_rmw flags (is_atomic_rmw_max_etc op $true) addr x)))
1587
+ (gen_atomic_rmw_loop op ty addr (sext x)))
1588
+
1589
+
1590
+ (rule 2
1591
+ ;;
1592
+ (lower
1593
+ (has_type (valid_atomic_transaction (fits_in_16 ty)) (atomic_rmw flags (is_atomic_rmw_max_etc op $false) addr x)))
1594
+ ;;
1595
+ (gen_atomic_rmw_loop op ty addr (zext x)))
1596
+
1597
+ ;;;;; Rules for `AtomicRmwOp.Sub`
1598
+ (rule
1599
+ (lower
1600
+ (has_type (valid_atomic_transaction ty) (atomic_rmw flags (AtomicRmwOp.Sub) addr x)))
1601
+ (let
1602
+ ((tmp WritableReg (temp_writable_reg ty))
1603
+ (x2 Reg (rv_neg x)))
1604
+ (gen_atomic (get_atomic_rmw_op ty (AtomicRmwOp.Add)) addr x2 (atomic_amo))))
1605
+
1606
+ (decl gen_atomic_rmw_loop (AtomicRmwOp Type XReg XReg) XReg)
1607
+ (rule
1608
+ (gen_atomic_rmw_loop op ty addr x)
1609
+ (let
1610
+ ((dst WritableXReg (temp_writable_xreg))
1611
+ (t0 WritableXReg (temp_writable_xreg))
1612
+ (_ Unit (emit (MInst.AtomicRmwLoop (gen_atomic_offset addr ty) op dst ty (gen_atomic_p addr ty) x t0))))
1613
+ (writable_reg_to_reg dst)))
1614
+
1615
+ ;;;;; Rules for `AtomicRmwOp.Nand`
1616
+ (rule
1617
+ (lower
1618
+ (has_type (valid_atomic_transaction ty) (atomic_rmw flags (AtomicRmwOp.Nand) addr x)))
1619
+ (gen_atomic_rmw_loop (AtomicRmwOp.Nand) ty addr x))
1620
+
1621
+ (decl is_atomic_rmw_max_etc (AtomicRmwOp bool) AtomicRmwOp)
1622
+ (extern extractor is_atomic_rmw_max_etc is_atomic_rmw_max_etc)
1623
+
1624
+ ;;;;; Rules for `atomic load`;;;;;;;;;;;;;;;;;
1625
+ (rule
1626
+ (lower (has_type (valid_atomic_transaction ty) (atomic_load flags p)))
1627
+ (gen_atomic_load p ty))
1628
+
1629
+
1630
+ ;;;;; Rules for `atomic store`;;;;;;;;;;;;;;;;;
1631
+ (rule
1632
+ (lower (atomic_store flags src @ (value_type (valid_atomic_transaction ty)) p))
1633
+ (gen_atomic_store p ty src))
1634
+
1635
+ (decl gen_atomic_offset (XReg Type) XReg)
1636
+ (rule 1 (gen_atomic_offset p (fits_in_16 ty))
1637
+ (rv_slli (rv_andi p (imm12_const 3)) (imm12_const 3)))
1638
+
1639
+ (rule (gen_atomic_offset p _)
1640
+ (zero_reg))
1641
+
1642
+ (decl gen_atomic_p (XReg Type) XReg)
1643
+ (rule 1 (gen_atomic_p p (fits_in_16 ty))
1644
+ (rv_andi p (imm12_const -4)))
1645
+
1646
+ (rule (gen_atomic_p p _)
1647
+ p)
1648
+
1649
+
1650
+ ;;;;; Rules for `atomic cas`;;;;;;;;;;;;;;;;;
1651
+ (rule
1652
+ (lower (has_type (valid_atomic_transaction ty) (atomic_cas flags p e x)))
1653
+ (let
1654
+ ((t0 WritableReg (temp_writable_reg ty))
1655
+ (dst WritableReg (temp_writable_reg ty))
1656
+ (_ Unit (emit (MInst.AtomicCas (gen_atomic_offset p ty) t0 dst (zext e) (gen_atomic_p p ty) x ty))))
1657
+ (writable_reg_to_reg dst)))
1658
+
1659
+ ;;;;; Rules for `ireduce`;;;;;;;;;;;;;;;;;
1660
+ (rule
1661
+ (lower (has_type ty (ireduce x)))
1662
+ (value_regs_get x 0))
1663
+
1664
+ ;;;;; Rules for `fpromote`;;;;;;;;;;;;;;;;;
1665
+ (rule (lower (fpromote x))
1666
+ (rv_fcvtds x))
1667
+
1668
+ ;;;;; Rules for `fvpromote_low`;;;;;;;;;;;;
1669
+
1670
+ (rule (lower (has_type (ty_vec_fits_in_register ty) (fvpromote_low x)))
1671
+ (if-let half_ty (ty_half_width ty))
1672
+ (rv_vfwcvt_f_f_v x (unmasked) (vstate_mf2 half_ty)))
1673
+
1674
+ ;;;;; Rules for `fdemote`;;;;;;;;;;;;;;;;;;
1675
+ (rule (lower (fdemote x))
1676
+ (rv_fcvtsd (FRM.RNE) x))
1677
+
1678
+ ;;;;; Rules for `fvdemote`;;;;;;;;;;;;;;;;;
1679
+
1680
+ ;; `vfncvt...` leaves the upper bits of the register undefined so
1681
+ ;; we need to zero them out.
1682
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $F32X4) (fvdemote x)))
1683
+ (if-let zero (i8_to_imm5 0))
1684
+ (let ((narrow VReg (rv_vfncvt_f_f_w x (unmasked) (vstate_mf2 ty)))
1685
+ (mask VReg (gen_vec_mask 0xC)))
1686
+ (rv_vmerge_vim narrow zero mask ty)))
1687
+
1688
+
1689
+ ;;;;; Rules for for float arithmetic
1690
+
1691
+
1692
+ ;;;; Rules for `fadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1693
+
1694
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fadd x y)))
1695
+ (rv_fadd ty (FRM.RNE) x y))
1696
+
1697
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (fadd x y)))
1698
+ (rv_vfadd_vv x y (unmasked) ty))
1699
+
1700
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (fadd x (splat y))))
1701
+ (rv_vfadd_vf x y (unmasked) ty))
1702
+
1703
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (fadd (splat x) y)))
1704
+ (rv_vfadd_vf y x (unmasked) ty))
1705
+
1706
+
1707
+ ;;;; Rules for `fsub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1708
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fsub x y)))
1709
+ (rv_fsub ty (FRM.RNE) x y))
1710
+
1711
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (fsub x y)))
1712
+ (rv_vfsub_vv x y (unmasked) ty))
1713
+
1714
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (fsub x (splat y))))
1715
+ (rv_vfsub_vf x y (unmasked) ty))
1716
+
1717
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (fsub (splat x) y)))
1718
+ (rv_vfrsub_vf y x (unmasked) ty))
1719
+
1720
+ ;;;; Rules for `fmul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1721
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fmul x y)))
1722
+ (rv_fmul ty (FRM.RNE) x y))
1723
+
1724
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (fmul x y)))
1725
+ (rv_vfmul_vv x y (unmasked) ty))
1726
+
1727
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (fmul x (splat y))))
1728
+ (rv_vfmul_vf x y (unmasked) ty))
1729
+
1730
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (fmul (splat x) y)))
1731
+ (rv_vfmul_vf y x (unmasked) ty))
1732
+
1733
+
1734
+ ;;;; Rules for `fdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1735
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fdiv x y)))
1736
+ (rv_fdiv ty (FRM.RNE) x y))
1737
+
1738
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (fdiv x y)))
1739
+ (rv_vfdiv_vv x y (unmasked) ty))
1740
+
1741
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (fdiv x (splat y))))
1742
+ (rv_vfdiv_vf x y (unmasked) ty))
1743
+
1744
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (fdiv (splat x) y)))
1745
+ (rv_vfrdiv_vf y x (unmasked) ty))
1746
+
1747
+ ;;;; Rules for `fmin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1748
+
1749
+ ;; RISC-V's `fmin` instruction returns the number input if one of inputs is a
1750
+ ;; NaN. We handle this by manually checking if one of the inputs is a NaN
1751
+ ;; and selecting based on that result.
1752
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fmin x y)))
1753
+ (let (;; Check if both inputs are not nan.
1754
+ (is_ordered FloatCompare (fcmp_to_float_compare (FloatCC.Ordered) ty x y))
1755
+ ;; `fadd` returns a nan if any of the inputs is a NaN.
1756
+ (nan FReg (rv_fadd ty (FRM.RNE) x y))
1757
+ (min FReg (rv_fmin ty x y)))
1758
+ (gen_select_freg is_ordered min nan)))
1759
+
1760
+ ;; With Zfa we can use the special `fminm` that precisely matches the expected
1761
+ ;; NaN behavior.
1762
+ (rule 1 (lower (has_type (ty_scalar_float ty) (fmin x y)))
1763
+ (if-let $true (has_zfa))
1764
+ (rv_fminm ty x y))
1765
+
1766
+ ;; vfmin does almost the right thing, but it does not handle NaN's correctly.
1767
+ ;; We should return a NaN if any of the inputs is a NaN, but vfmin returns the
1768
+ ;; number input instead.
1769
+ ;;
1770
+ ;; TODO: We can improve this by using a masked `fmin` instruction that modifies
1771
+ ;; the canonical nan register. That way we could avoid the `vmerge.vv` instruction.
1772
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (fmin x y)))
1773
+ (let ((is_not_nan VReg (gen_fcmp_mask ty (FloatCC.Ordered) x y))
1774
+ (nan XReg (imm $I64 (canonical_nan_u64 (lane_type ty))))
1775
+ (vec_nan VReg (rv_vmv_vx nan ty))
1776
+ (min VReg (rv_vfmin_vv x y (unmasked) ty)))
1777
+ (rv_vmerge_vvm vec_nan min is_not_nan ty)))
1778
+
1779
+ ;;;; Rules for `fmax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1780
+
1781
+ ;; RISC-V's `fmax` instruction returns the number input if one of inputs is a
1782
+ ;; NaN. We handle this by manually checking if one of the inputs is a NaN
1783
+ ;; and selecting based on that result.
1784
+ (rule 0 (lower (has_type (ty_scalar_float ty) (fmax x y)))
1785
+ (let (;; Check if both inputs are not nan.
1786
+ (is_ordered FloatCompare (fcmp_to_float_compare (FloatCC.Ordered) ty x y))
1787
+ ;; `fadd` returns a NaN if any of the inputs is a NaN.
1788
+ (nan FReg (rv_fadd ty (FRM.RNE) x y))
1789
+ (max FReg (rv_fmax ty x y)))
1790
+ (gen_select_freg is_ordered max nan)))
1791
+
1792
+ ;; With Zfa we can use the special `fmaxm` that precisely matches the expected
1793
+ ;; NaN behavior.
1794
+ (rule 1 (lower (has_type (ty_scalar_float ty) (fmax x y)))
1795
+ (if-let $true (has_zfa))
1796
+ (rv_fmaxm ty x y))
1797
+
1798
+ ;; vfmax does almost the right thing, but it does not handle NaN's correctly.
1799
+ ;; We should return a NaN if any of the inputs is a NaN, but vfmax returns the
1800
+ ;; number input instead.
1801
+ ;;
1802
+ ;; TODO: We can improve this by using a masked `fmax` instruction that modifies
1803
+ ;; the canonical nan register. That way we could avoid the `vmerge.vv` instruction.
1804
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (fmax x y)))
1805
+ (let ((is_not_nan VReg (gen_fcmp_mask ty (FloatCC.Ordered) x y))
1806
+ (nan XReg (imm $I64 (canonical_nan_u64 (lane_type ty))))
1807
+ (vec_nan VReg (rv_vmv_vx nan ty))
1808
+ (max VReg (rv_vfmax_vv x y (unmasked) ty)))
1809
+ (rv_vmerge_vvm vec_nan max is_not_nan ty)))
1810
+
1811
+ ;;;;; Rules for `stack_addr`;;;;;;;;;
1812
+ (rule
1813
+ (lower (stack_addr ss offset))
1814
+ (gen_stack_addr ss offset))
1815
+
1816
+ ;;;;; Rules for `is_null`;;;;;;;;;
1817
+
1818
+ ;; Null references are represented by the constant value `0`.
1819
+ (rule (lower (is_null v))
1820
+ (rv_seqz v))
1821
+
1822
+ ;;;;; Rules for `is_invalid`;;;;;;;;;
1823
+
1824
+ ;; Invalid references are represented by the constant value `-1`.
1825
+ (rule (lower (is_invalid v))
1826
+ (rv_seqz (rv_addi v (imm12_const 1))))
1827
+
1828
+ ;;;;; Rules for `select`;;;;;;;;;
1829
+
1830
+ ;; Manually matching (iconst 0) here is a bit of a hack. We can't do that as part
1831
+ ;; of the iconst rule because that runs into regalloc issues. gen_select_xreg
1832
+ ;; has some optimizations based on the use of the zero register so we have to
1833
+ ;; manually match it here.
1834
+ (rule 5 (lower (has_type (ty_int_ref_scalar_64 _) (select c (i64_from_iconst 0) y)))
1835
+ (gen_select_xreg (is_nonzero_cmp c) (zero_reg) y))
1836
+
1837
+ (rule 4 (lower (has_type (ty_int_ref_scalar_64 _) (select c x (i64_from_iconst 0))))
1838
+ (gen_select_xreg (is_nonzero_cmp c) x (zero_reg)))
1839
+
1840
+ (rule 3 (lower (has_type (ty_int_ref_scalar_64 _) (select c x y)))
1841
+ (gen_select_xreg (is_nonzero_cmp c) x y))
1842
+
1843
+ (rule 2 (lower (has_type $I128 (select c x y)))
1844
+ (gen_select_regs (is_nonzero_cmp c) x y))
1845
+
1846
+ (rule 1 (lower (has_type (ty_vec_fits_in_register _) (select c x y)))
1847
+ (gen_select_vreg (is_nonzero_cmp c) x y))
1848
+
1849
+ (rule 0 (lower (has_type (ty_scalar_float _) (select c x y)))
1850
+ (gen_select_freg (is_nonzero_cmp c) x y))
1851
+
1852
+ ;;;;; Rules for `bitselect`;;;;;;;;;
1853
+
1854
+ ;; Do a (c & x) | (~c & y) operation.
1855
+ (rule 0 (lower (has_type (ty_int_ref_scalar_64 ty) (bitselect c x y)))
1856
+ (let ((tmp_x XReg (rv_and c x))
1857
+ (c_inverse XReg (rv_not c))
1858
+ (tmp_y XReg (rv_and c_inverse y)))
1859
+ (rv_or tmp_x tmp_y)))
1860
+
1861
+ ;; For vectors, we also do the same operation.
1862
+ ;; We can technically use any type in the bitwise operations, but prefer
1863
+ ;; using the type of the inputs so that we avoid emitting unnecessary
1864
+ ;; `vsetvl` instructions. it's likely that the vector unit is already
1865
+ ;; configured for that type.
1866
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (bitselect c x y)))
1867
+ (let ((tmp_x VReg (rv_vand_vv c x (unmasked) ty))
1868
+ (c_inverse VReg (rv_vnot_v c (unmasked) ty))
1869
+ (tmp_y VReg (rv_vand_vv c_inverse y (unmasked) ty)))
1870
+ (rv_vor_vv tmp_x tmp_y (unmasked) ty)))
1871
+
1872
+ ;; Special case for bitselects with cmp's as an input.
1873
+ ;;
1874
+ ;; This allows us to skip the mask expansion step and use the more efficient
1875
+ ;; vmerge.vvm instruction.
1876
+ ;;
1877
+ ;; We should be careful to ensure that the mask and the vmerge have the
1878
+ ;; same type. So that we don't generate a mask with length 16 (i.e. for i8x16), and then
1879
+ ;; only copy the first few lanes of the result to the destination register because
1880
+ ;; the bitselect has a different length (i.e. i64x2).
1881
+ ;;
1882
+ ;; See: https://github.com/bytecodealliance/wasmtime/issues/8131
1883
+
1884
+ (rule 2 (lower (has_type (ty_vec_fits_in_register _ty) (bitselect (icmp cc a @ (value_type (ty_vec_fits_in_register cmp_ty)) b) x y)))
1885
+ (let ((mask VReg (gen_icmp_mask cmp_ty cc a b)))
1886
+ (rv_vmerge_vvm y x mask cmp_ty)))
1887
+
1888
+ (rule 2 (lower (has_type (ty_vec_fits_in_register _ty) (bitselect (fcmp cc a @ (value_type (ty_vec_fits_in_register cmp_ty)) b) x y)))
1889
+ (let ((mask VReg (gen_fcmp_mask cmp_ty cc a b)))
1890
+ (rv_vmerge_vvm y x mask cmp_ty)))
1891
+
1892
+ (rule 2 (lower (has_type (ty_vec_fits_in_register _ty) (bitselect (bitcast _ (fcmp cc a @ (value_type (ty_vec_fits_in_register cmp_ty)) b)) x y)))
1893
+ (let ((mask VReg (gen_fcmp_mask cmp_ty cc a b)))
1894
+ (rv_vmerge_vvm y x mask cmp_ty)))
1895
+
1896
+ (rule 2 (lower (has_type (ty_vec_fits_in_register _ty) (bitselect (bitcast _ (icmp cc a @ (value_type (ty_vec_fits_in_register cmp_ty)) b)) x y)))
1897
+ (let ((mask VReg (gen_icmp_mask cmp_ty cc a b)))
1898
+ (rv_vmerge_vvm y x mask cmp_ty)))
1899
+
1900
+
1901
+ ;;;;; Rules for `isplit`;;;;;;;;;
1902
+ (rule
1903
+ (lower (isplit x))
1904
+ (let
1905
+ ((t1 XReg (value_regs_get x 0))
1906
+ (t2 XReg (value_regs_get x 1)))
1907
+ (output_pair t1 t2)))
1908
+
1909
+ ;;;;; Rules for `iconcat`;;;;;;;;;
1910
+ (rule
1911
+ (lower (has_type $I128 (iconcat x y)))
1912
+ (let
1913
+ ((t1 XReg x)
1914
+ (t2 XReg y))
1915
+ (value_regs t1 t2)))
1916
+
1917
+
1918
+ ;;;;; Rules for `smax`;;;;;;;;;
1919
+
1920
+ (rule 0 (lower (has_type (fits_in_64 ty) (smax x y)))
1921
+ (let ((x XReg (sext x))
1922
+ (y XReg (sext y)))
1923
+ (gen_select_xreg (cmp_gt x y) x y)))
1924
+
1925
+ (rule 1 (lower (has_type $I128 (smax x y)))
1926
+ (gen_select_regs (icmp_to_int_compare (IntCC.SignedGreaterThan) x y) x y))
1927
+
1928
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (smax x y)))
1929
+ (rv_vmax_vv x y (unmasked) ty))
1930
+
1931
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (smax x (splat y))))
1932
+ (rv_vmax_vx x y (unmasked) ty))
1933
+
1934
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (smax (splat x) y)))
1935
+ (rv_vmax_vx y x (unmasked) ty))
1936
+
1937
+ ;;;;; Rules for `smin`;;;;;;;;;
1938
+
1939
+ (rule 0 (lower (has_type (fits_in_64 ty) (smin x y)))
1940
+ (let ((x XReg (sext x))
1941
+ (y XReg (sext y)))
1942
+ (gen_select_xreg (cmp_lt x y) x y)))
1943
+
1944
+ (rule 1 (lower (has_type $I128 (smin x y)))
1945
+ (gen_select_regs (icmp_to_int_compare (IntCC.SignedLessThan) x y) x y))
1946
+
1947
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (smin x y)))
1948
+ (rv_vmin_vv x y (unmasked) ty))
1949
+
1950
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (smin x (splat y))))
1951
+ (rv_vmin_vx x y (unmasked) ty))
1952
+
1953
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (smin (splat x) y)))
1954
+ (rv_vmin_vx y x (unmasked) ty))
1955
+
1956
+ ;;;;; Rules for `umax`;;;;;;;;;
1957
+
1958
+ (rule 0 (lower (has_type (fits_in_64 ty) (umax x y)))
1959
+ (let ((x XReg (zext x))
1960
+ (y XReg (zext y)))
1961
+ (gen_select_xreg (cmp_gtu x y) x y)))
1962
+
1963
+ (rule 1 (lower (has_type $I128 (umax x y)))
1964
+ (gen_select_regs (icmp_to_int_compare (IntCC.UnsignedGreaterThan) x y) x y))
1965
+
1966
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (umax x y)))
1967
+ (rv_vmaxu_vv x y (unmasked) ty))
1968
+
1969
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (umax x (splat y))))
1970
+ (rv_vmaxu_vx x y (unmasked) ty))
1971
+
1972
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (umax (splat x) y)))
1973
+ (rv_vmaxu_vx y x (unmasked) ty))
1974
+
1975
+ ;;;;; Rules for `umin`;;;;;;;;;
1976
+
1977
+ (rule 0 (lower (has_type (fits_in_64 ty) (umin x y)))
1978
+ (let ((x XReg (zext x))
1979
+ (y XReg (zext y)))
1980
+ (gen_select_xreg (cmp_ltu x y) x y)))
1981
+
1982
+ (rule 1 (lower (has_type $I128 (umin x y)))
1983
+ (gen_select_regs (icmp_to_int_compare (IntCC.UnsignedLessThan) x y) x y))
1984
+
1985
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (umin x y)))
1986
+ (rv_vminu_vv x y (unmasked) ty))
1987
+
1988
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (umin x (splat y))))
1989
+ (rv_vminu_vx x y (unmasked) ty))
1990
+
1991
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (umin (splat x) y)))
1992
+ (rv_vminu_vx y x (unmasked) ty))
1993
+
1994
+
1995
+ ;;;;; Rules for `debugtrap`;;;;;;;;;
1996
+ (rule
1997
+ (lower (debugtrap))
1998
+ (side_effect (SideEffectNoResult.Inst (MInst.EBreak))))
1999
+
2000
+ ;;;;; Rules for `fence`;;;;;;;;;
2001
+ (rule
2002
+ (lower (fence))
2003
+ (side_effect (SideEffectNoResult.Inst (MInst.Fence 15 15))))
2004
+
2005
+ ;;;;; Rules for `trap`;;;;;;;;;
2006
+ (rule
2007
+ (lower (trap code))
2008
+ (udf code))
2009
+
2010
+ ;;;;; Rules for `resumable_trap`;;;;;;;;;
2011
+ (rule
2012
+ (lower (resumable_trap code))
2013
+ (udf code))
2014
+
2015
+ ;;;;; Rules for `uload8`;;;;;;;;;
2016
+ (rule (lower (uload8 flags addr offset))
2017
+ (gen_load (amode addr offset) (LoadOP.Lbu) flags))
2018
+
2019
+ ;;;;; Rules for `sload8`;;;;;;;;;
2020
+ (rule (lower (sload8 flags addr offset))
2021
+ (gen_load (amode addr offset) (LoadOP.Lb) flags))
2022
+
2023
+ ;;;;; Rules for `uload16`;;;;;;;;;
2024
+ (rule (lower (uload16 flags addr offset))
2025
+ (gen_load (amode addr offset) (LoadOP.Lhu) flags))
2026
+
2027
+ ;;;;; Rules for `iload16`;;;;;;;;;
2028
+ (rule (lower (sload16 flags addr offset))
2029
+ (gen_load (amode addr offset) (LoadOP.Lh) flags))
2030
+
2031
+ ;;;;; Rules for `uload32`;;;;;;;;;
2032
+ (rule (lower (uload32 flags addr offset))
2033
+ (gen_load (amode addr offset) (LoadOP.Lwu) flags))
2034
+
2035
+ ;;;;; Rules for `sload32`;;;;;;;;;
2036
+ (rule (lower (sload32 flags addr offset))
2037
+ (gen_load (amode addr offset) (LoadOP.Lw) flags))
2038
+
2039
+ ;;;;; Rules for `load`;;;;;;;;;
2040
+ (rule (lower (has_type ty (load flags addr offset)))
2041
+ (gen_load (amode addr offset) (load_op ty) flags))
2042
+
2043
+ (rule 1 (lower (has_type $I128 (load flags addr offset)))
2044
+ (if-let offset_plus_8 (s32_add_fallible offset 8))
2045
+ (let ((lo XReg (gen_load (amode addr offset) (LoadOP.Ld) flags))
2046
+ (hi XReg (gen_load (amode addr offset_plus_8) (LoadOP.Ld) flags)))
2047
+ (value_regs lo hi)))
2048
+
2049
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (load flags addr offset)))
2050
+ (let ((eew VecElementWidth (element_width_from_type ty))
2051
+ (amode AMode (amode addr offset)))
2052
+ (vec_load eew (VecAMode.UnitStride amode) flags (unmasked) ty)))
2053
+
2054
+ ;;;;; Rules for Load + Extend Combos ;;;;;;;;;
2055
+
2056
+ ;; These rules cover the special loads that load a 64bit value and do some sort of extension.
2057
+ ;; We don't have any special instructions to do this, so just load the 64 bits as a vector, and
2058
+ ;; do a SEW/2 extension. This only reads half width elements from the source vector register
2059
+ ;; extends it, and writes the back the full register.
2060
+
2061
+ (decl gen_load64_extend (Type ExtendOp MemFlags AMode) VReg)
2062
+
2063
+ (rule (gen_load64_extend ty (ExtendOp.Signed) flags amode)
2064
+ (let ((eew VecElementWidth (element_width_from_type $I64))
2065
+ (load_state VState (vstate_from_type $I64))
2066
+ (loaded VReg (vec_load eew (VecAMode.UnitStride amode) flags (unmasked) load_state)))
2067
+ (rv_vsext_vf2 loaded (unmasked) ty)))
2068
+
2069
+ (rule (gen_load64_extend ty (ExtendOp.Zero) flags amode)
2070
+ (let ((eew VecElementWidth (element_width_from_type $I64))
2071
+ (load_state VState (vstate_from_type $I64))
2072
+ (loaded VReg (vec_load eew (VecAMode.UnitStride amode) flags (unmasked) load_state)))
2073
+ (rv_vzext_vf2 loaded (unmasked) ty)))
2074
+
2075
+ ;;;;; Rules for `uload8x8`;;;;;;;;;;
2076
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $I16X8) (uload8x8 flags addr offset)))
2077
+ (gen_load64_extend ty (ExtendOp.Zero) flags (amode addr offset)))
2078
+
2079
+ ;;;;; Rules for `uload16x4`;;;;;;;;;
2080
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $I32X4) (uload16x4 flags addr offset)))
2081
+ (gen_load64_extend ty (ExtendOp.Zero) flags (amode addr offset)))
2082
+
2083
+ ;;;;; Rules for `uload32x2`;;;;;;;;;
2084
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $I64X2) (uload32x2 flags addr offset)))
2085
+ (gen_load64_extend ty (ExtendOp.Zero) flags (amode addr offset)))
2086
+
2087
+ ;;;;; Rules for `sload8x8`;;;;;;;;;;
2088
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $I16X8) (sload8x8 flags addr offset)))
2089
+ (gen_load64_extend ty (ExtendOp.Signed) flags (amode addr offset)))
2090
+
2091
+ ;;;;; Rules for `sload16x4`;;;;;;;;;
2092
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $I32X4) (sload16x4 flags addr offset)))
2093
+ (gen_load64_extend ty (ExtendOp.Signed) flags (amode addr offset)))
2094
+
2095
+ ;;;;; Rules for `sload32x2`;;;;;;;;;
2096
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $I64X2) (sload32x2 flags addr offset)))
2097
+ (gen_load64_extend ty (ExtendOp.Signed) flags (amode addr offset)))
2098
+
2099
+ ;;;;; Rules for `istore8`;;;;;;;;;
2100
+ (rule (lower (istore8 flags src addr offset))
2101
+ (rv_store (amode addr offset) (StoreOP.Sb) flags src))
2102
+
2103
+ ;;;;; Rules for `istore16`;;;;;;;;;
2104
+ (rule (lower (istore16 flags src addr offset))
2105
+ (rv_store (amode addr offset) (StoreOP.Sh) flags src))
2106
+
2107
+ ;;;;; Rules for `istore32`;;;;;;;;;
2108
+ (rule (lower (istore32 flags src addr offset))
2109
+ (rv_store (amode addr offset) (StoreOP.Sw) flags src))
2110
+
2111
+ ;;;;; Rules for `store`;;;;;;;;;
2112
+ (rule (lower (store flags src @ (value_type ty) addr offset))
2113
+ (gen_store (amode addr offset) flags src))
2114
+
2115
+ (rule 1 (lower (store flags src @ (value_type $I128) addr offset))
2116
+ (if-let offset_plus_8 (s32_add_fallible offset 8))
2117
+ (let ((_ InstOutput (rv_store (amode addr offset) (StoreOP.Sd) flags (value_regs_get src 0))))
2118
+ (rv_store (amode addr offset_plus_8) (StoreOP.Sd) flags (value_regs_get src 1))))
2119
+
2120
+ (rule 2 (lower (store flags src @ (value_type (ty_vec_fits_in_register ty)) addr offset))
2121
+ (let ((eew VecElementWidth (element_width_from_type ty))
2122
+ (amode AMode (amode addr offset)))
2123
+ (vec_store eew (VecAMode.UnitStride amode) src flags (unmasked) ty)))
2124
+
2125
+
2126
+ ;;;;; Rules for `icmp`;;;;;;;;;
2127
+
2128
+ ;; 8-64 bit comparisons. Mostly fall back onto `IntegerCompare` and then
2129
+ ;; materializing that, but before that happens try to match some
2130
+ ;; constant-related patterns
2131
+
2132
+ (rule 0 (lower (icmp cc x @ (value_type (fits_in_64 ty)) y))
2133
+ (lower_icmp cc x y))
2134
+
2135
+ (decl lower_icmp (IntCC Value Value) XReg)
2136
+ (rule 0 (lower_icmp cc x y)
2137
+ (lower_int_compare (icmp_to_int_compare cc x y)))
2138
+
2139
+ ;; a == $imm => seqz(xori(..))
2140
+ (rule 1 (lower_icmp (IntCC.Equal) x y)
2141
+ (if-let (i64_from_iconst (i64_nonzero (imm12_from_i64 imm))) y)
2142
+ (rv_seqz (rv_xori (sext x) imm)))
2143
+ (rule 2 (lower_icmp (IntCC.Equal) x y)
2144
+ (if-let (i64_from_iconst (i64_nonzero (imm12_from_i64 imm))) x)
2145
+ (rv_seqz (rv_xori (sext y) imm)))
2146
+
2147
+ ;; a != $imm => snez(xori(..))
2148
+ (rule 1 (lower_icmp (IntCC.NotEqual) x y)
2149
+ (if-let (i64_from_iconst (i64_nonzero (imm12_from_i64 imm))) y)
2150
+ (rv_snez (rv_xori (sext x) imm)))
2151
+ (rule 2 (lower_icmp (IntCC.NotEqual) x y)
2152
+ (if-let (i64_from_iconst (i64_nonzero (imm12_from_i64 imm))) x)
2153
+ (rv_snez (rv_xori (sext y) imm)))
2154
+
2155
+ ;; a < $imm => slti(..)
2156
+ (rule 1 (lower_icmp (IntCC.SignedLessThan) x y)
2157
+ (if-let (i64_from_iconst (i64_nonzero (imm12_from_i64 imm))) y)
2158
+ (rv_slti (sext x) imm))
2159
+ (rule 1 (lower_icmp (IntCC.SignedGreaterThan) x y)
2160
+ (if-let (i64_from_iconst (i64_nonzero (imm12_from_i64 imm))) x)
2161
+ (rv_slti (sext y) imm))
2162
+ (rule 1 (lower_icmp (IntCC.UnsignedLessThan) x y)
2163
+ (if-let (u64_from_iconst (u64_nonzero (imm12_from_u64 imm))) y)
2164
+ (rv_sltiu (zext x) imm))
2165
+ (rule 1 (lower_icmp (IntCC.UnsignedGreaterThan) x y)
2166
+ (if-let (u64_from_iconst (u64_nonzero (imm12_from_u64 imm))) x)
2167
+ (rv_sltiu (zext y) imm))
2168
+
2169
+ ;; a >= $imm => !(a < $imm)
2170
+ (rule 2 (lower_icmp cc @ (IntCC.SignedGreaterThanOrEqual) x y)
2171
+ (if-let (i64_from_iconst (i64_nonzero (imm12_from_i64 _))) y)
2172
+ (rv_xori (lower_icmp (intcc_complement cc) x y) (imm12_const 1)))
2173
+ (rule 2 (lower_icmp cc @ (IntCC.UnsignedGreaterThanOrEqual) x y)
2174
+ (if-let (u64_from_iconst (u64_nonzero (imm12_from_u64 _))) y)
2175
+ (rv_xori (lower_icmp (intcc_complement cc) x y) (imm12_const 1)))
2176
+
2177
+ ;; Materializes an `IntegerCompare` bundle directly into an `XReg` with a 0
2178
+ ;; or 1 value.
2179
+ (decl lower_int_compare (IntegerCompare) XReg)
2180
+
2181
+ ;; x == y => x ^ y == 0
2182
+ (rule 0 (lower_int_compare (int_compare_decompose (IntCC.Equal) x y))
2183
+ (rv_seqz (rv_xor x y)))
2184
+ (rule 1 (lower_int_compare (int_compare_decompose (IntCC.Equal) x (zero_reg)))
2185
+ (rv_seqz x))
2186
+ (rule 2 (lower_int_compare (int_compare_decompose (IntCC.Equal) (zero_reg) y))
2187
+ (rv_seqz y))
2188
+ ;; x != y => x ^ y != 0
2189
+ (rule 0 (lower_int_compare (int_compare_decompose (IntCC.NotEqual) x y))
2190
+ (rv_snez (rv_xor x y)))
2191
+ (rule 1 (lower_int_compare (int_compare_decompose (IntCC.NotEqual) x (zero_reg)))
2192
+ (rv_snez x))
2193
+ (rule 2 (lower_int_compare (int_compare_decompose (IntCC.NotEqual) (zero_reg) x))
2194
+ (rv_snez x))
2195
+ ;; x < y => x < y
2196
+ (rule (lower_int_compare (int_compare_decompose (IntCC.SignedLessThan) x y))
2197
+ (rv_slt x y))
2198
+ (rule (lower_int_compare (int_compare_decompose (IntCC.UnsignedLessThan) x y))
2199
+ (rv_sltu x y))
2200
+ ;; x > y => y < x
2201
+ (rule (lower_int_compare (int_compare_decompose (IntCC.SignedGreaterThan) x y))
2202
+ (rv_slt y x))
2203
+ (rule (lower_int_compare (int_compare_decompose (IntCC.UnsignedGreaterThan) x y))
2204
+ (rv_sltu y x))
2205
+ ;; x <= y => !(y < x)
2206
+ (rule (lower_int_compare (int_compare_decompose (IntCC.SignedLessThanOrEqual) x y))
2207
+ (rv_xori (rv_slt y x) (imm12_const 1)))
2208
+ (rule (lower_int_compare (int_compare_decompose (IntCC.UnsignedLessThanOrEqual) x y))
2209
+ (rv_xori (rv_sltu y x) (imm12_const 1)))
2210
+ ;; x >= y => !(x < y)
2211
+ (rule (lower_int_compare (int_compare_decompose (IntCC.SignedGreaterThanOrEqual) x y))
2212
+ (rv_xori (rv_slt x y) (imm12_const 1)))
2213
+ (rule (lower_int_compare (int_compare_decompose (IntCC.UnsignedGreaterThanOrEqual) x y))
2214
+ (rv_xori (rv_sltu x y) (imm12_const 1)))
2215
+
2216
+ ;; 128-bit comparisons.
2217
+ ;;
2218
+ ;; Currently only `==`, `!=`, and `<` are implemented, and everything else
2219
+ ;; delegates to one of those.
2220
+
2221
+ (rule 20 (lower (icmp cc x @ (value_type $I128) y))
2222
+ (lower_icmp_i128 cc x y))
2223
+
2224
+ (decl lower_icmp_i128 (IntCC ValueRegs ValueRegs) XReg)
2225
+ (rule 0 (lower_icmp_i128 (IntCC.Equal) x y)
2226
+ (let ((lo XReg (rv_xor (value_regs_get x 0) (value_regs_get y 0)))
2227
+ (hi XReg (rv_xor (value_regs_get x 1) (value_regs_get y 1))))
2228
+ (rv_seqz (rv_or lo hi))))
2229
+ (rule 0 (lower_icmp_i128 (IntCC.NotEqual) x y)
2230
+ (let ((lo XReg (rv_xor (value_regs_get x 0) (value_regs_get y 0)))
2231
+ (hi XReg (rv_xor (value_regs_get x 1) (value_regs_get y 1))))
2232
+ (rv_snez (rv_or lo hi))))
2233
+
2234
+ ;; swap args for `>` to use `<` instead
2235
+ (rule 0 (lower_icmp_i128 cc @ (IntCC.SignedGreaterThan) x y)
2236
+ (lower_icmp_i128 (intcc_swap_args cc) y x))
2237
+ (rule 0 (lower_icmp_i128 cc @ (IntCC.UnsignedGreaterThan) x y)
2238
+ (lower_icmp_i128 (intcc_swap_args cc) y x))
2239
+
2240
+ ;; complement `=`-related conditions to get ones that don't use `=`.
2241
+ (rule 0 (lower_icmp_i128 cc @ (IntCC.SignedLessThanOrEqual) x y)
2242
+ (rv_xori (lower_icmp_i128 (intcc_complement cc) x y) (imm12_const 1)))
2243
+ (rule 0 (lower_icmp_i128 cc @ (IntCC.SignedGreaterThanOrEqual) x y)
2244
+ (rv_xori (lower_icmp_i128 (intcc_complement cc) x y) (imm12_const 1)))
2245
+ (rule 0 (lower_icmp_i128 cc @ (IntCC.UnsignedLessThanOrEqual) x y)
2246
+ (rv_xori (lower_icmp_i128 (intcc_complement cc) x y) (imm12_const 1)))
2247
+ (rule 0 (lower_icmp_i128 cc @ (IntCC.UnsignedGreaterThanOrEqual) x y)
2248
+ (rv_xori (lower_icmp_i128 (intcc_complement cc) x y) (imm12_const 1)))
2249
+
2250
+ ;; Compare both the bottom and upper halves of the 128-bit values. If
2251
+ ;; the top half is equal use the bottom comparison, otherwise use the upper
2252
+ ;; comparison. Note that the lower comparison is always unsigned since if it's
2253
+ ;; used the top halves are all zeros and the semantic values are positive.
2254
+ (rule 1 (lower_icmp_i128 cc x y)
2255
+ (if-let (IntCC.UnsignedLessThan) (intcc_unsigned cc))
2256
+ (let ((x_lo Reg (value_regs_get x 0))
2257
+ (x_hi Reg (value_regs_get x 1))
2258
+ (y_lo Reg (value_regs_get y 0))
2259
+ (y_hi Reg (value_regs_get y 1))
2260
+ (top_cmp XReg (lower_int_compare (int_compare cc x_hi y_hi)))
2261
+ (bottom_cmp XReg (rv_sltu x_lo y_lo)))
2262
+ (gen_select_xreg (cmp_eqz (rv_xor x_hi y_hi)) bottom_cmp top_cmp)))
2263
+
2264
+ ;; vector icmp comparisons
2265
+
2266
+ (rule 30 (lower (icmp cc x @ (value_type (ty_vec_fits_in_register ty)) y))
2267
+ (gen_expand_mask ty (gen_icmp_mask ty cc x y)))
2268
+
2269
+ ;;;;; Rules for `fcmp`;;;;;;;;;
2270
+ (rule 0 (lower (fcmp cc x @ (value_type (ty_scalar_float ty)) y))
2271
+ (lower_float_compare (fcmp_to_float_compare cc ty x y)))
2272
+
2273
+ (decl lower_float_compare (FloatCompare) XReg)
2274
+ (rule (lower_float_compare (FloatCompare.One r)) r)
2275
+ (rule (lower_float_compare (FloatCompare.Zero r)) (rv_seqz r))
2276
+
2277
+ (rule 1 (lower (fcmp cc x @ (value_type (ty_vec_fits_in_register ty)) y))
2278
+ (gen_expand_mask ty (gen_fcmp_mask ty cc x y)))
2279
+
2280
+ ;;;;; Rules for `func_addr`;;;;;;;;;
2281
+ (rule
2282
+ (lower (func_addr (func_ref_data _ name _)))
2283
+ (load_ext_name name 0))
2284
+
2285
+ ;;;;; Rules for `fcvt_to_uint`;;;;;;;;;
2286
+
2287
+ ;; RISC-V float-to-integer conversion does not trap, but Cranelift semantics are
2288
+ ;; to trap. This manually performs checks for NaN and out-of-bounds values and
2289
+ ;; traps in such cases.
2290
+ ;;
2291
+ ;; TODO: could this perhaps be more optimal through inspection of the `fcsr`?
2292
+ ;; Unsure whether that needs to be preserved across function calls and/or would
2293
+ ;; cause other problems. Also unsure whether it's actually more performant.
2294
+ (rule (lower (has_type ity (fcvt_to_uint v @ (value_type fty))))
2295
+ (let ((_ InstOutput (gen_trapz (rv_feq fty v v) (TrapCode.BadConversionToInteger)))
2296
+ (min FReg (imm fty (fcvt_umin_bound fty $false)))
2297
+ (_ InstOutput (gen_trapnz (rv_fle fty v min) (TrapCode.IntegerOverflow)))
2298
+ (max FReg (imm fty (fcvt_umax_bound fty ity $false)))
2299
+ (_ InstOutput (gen_trapnz (rv_fge fty v max) (TrapCode.IntegerOverflow))))
2300
+ (lower_inbounds_fcvt_to_uint ity fty v)))
2301
+
2302
+ (decl lower_inbounds_fcvt_to_uint (Type Type FReg) XReg)
2303
+ (rule 0 (lower_inbounds_fcvt_to_uint (fits_in_32 _) fty v)
2304
+ (rv_fcvtwu fty (FRM.RTZ) v))
2305
+ (rule 1 (lower_inbounds_fcvt_to_uint $I64 fty v)
2306
+ (rv_fcvtlu fty (FRM.RTZ) v))
2307
+
2308
+ ;;;;; Rules for `fcvt_to_sint`;;;;;;;;;
2309
+
2310
+ ;; NB: see above with `fcvt_to_uint` as this is similar
2311
+ (rule (lower (has_type ity (fcvt_to_sint v @ (value_type fty))))
2312
+ (let ((_ InstOutput (gen_trapz (rv_feq fty v v) (TrapCode.BadConversionToInteger)))
2313
+ (min FReg (imm fty (fcvt_smin_bound fty ity $false)))
2314
+ (_ InstOutput (gen_trapnz (rv_fle fty v min) (TrapCode.IntegerOverflow)))
2315
+ (max FReg (imm fty (fcvt_smax_bound fty ity $false)))
2316
+ (_ InstOutput (gen_trapnz (rv_fge fty v max) (TrapCode.IntegerOverflow))))
2317
+ (lower_inbounds_fcvt_to_sint ity fty v)))
2318
+
2319
+ (decl lower_inbounds_fcvt_to_sint (Type Type FReg) XReg)
2320
+ (rule 0 (lower_inbounds_fcvt_to_sint (fits_in_32 _) fty v)
2321
+ (rv_fcvtw fty (FRM.RTZ) v))
2322
+ (rule 1 (lower_inbounds_fcvt_to_sint $I64 fty v)
2323
+ (rv_fcvtl fty (FRM.RTZ) v))
2324
+
2325
+ ;;;;; Rules for `fcvt_to_sint_sat`;;;;;;;;;
2326
+
2327
+ (rule 0 (lower (has_type to (fcvt_to_sint_sat v @ (value_type (ty_scalar_float from)))))
2328
+ (handle_fcvt_to_int_nan from v (lower_fcvt_to_sint_sat from to v)))
2329
+
2330
+ ;; Lowers to a `rv_fcvt*` instruction but handles 8/16-bit cases where the
2331
+ ;; float is clamped before the conversion.
2332
+ (decl lower_fcvt_to_sint_sat (Type Type FReg) XReg)
2333
+ (rule 0 (lower_fcvt_to_sint_sat ty (fits_in_16 out_ty) v)
2334
+ (let ((max FReg (imm ty (fcvt_smax_bound ty out_ty $true)))
2335
+ (min FReg (imm ty (fcvt_smin_bound ty out_ty $true)))
2336
+ (clamped FReg (rv_fmin ty max (rv_fmax ty min v))))
2337
+ (rv_fcvtw ty (FRM.RTZ) clamped)))
2338
+ (rule 1 (lower_fcvt_to_sint_sat ty $I32 v) (rv_fcvtw ty (FRM.RTZ) v))
2339
+ (rule 1 (lower_fcvt_to_sint_sat ty $I64 v) (rv_fcvtl ty (FRM.RTZ) v))
2340
+
2341
+ (decl fcvt_smax_bound (Type Type bool) u64)
2342
+ (extern constructor fcvt_smax_bound fcvt_smax_bound)
2343
+ (decl fcvt_smin_bound (Type Type bool) u64)
2344
+ (extern constructor fcvt_smin_bound fcvt_smin_bound)
2345
+
2346
+ ;; RISC-V float-to-int conversions generate the same output for NaN and +Inf,
2347
+ ;; but Cranelift semantics are to produce 0 for NaN instead. This helper
2348
+ ;; translates these semantics by taking the float being converted (with the type
2349
+ ;; specified) and the native RISC-V output as an `XReg`. The returned `XReg`
2350
+ ;; will be zeroed out if the float is NaN.
2351
+ ;;
2352
+ ;; This is done by comparing the float to itself, generating 0 if it's NaN. This
2353
+ ;; bit is then negated to become either all-ones or all-zeros which is then
2354
+ ;; and-ed against the native output. That'll produce all zeros if the input is
2355
+ ;; NaN or the native output otherwise.
2356
+ (decl handle_fcvt_to_int_nan (Type FReg XReg) XReg)
2357
+ (rule (handle_fcvt_to_int_nan ty freg xreg)
2358
+ (let ((is_not_nan XReg (rv_feq ty freg freg))
2359
+ (not_nan_mask XReg (rv_neg is_not_nan)))
2360
+ (rv_and xreg not_nan_mask)))
2361
+
2362
+ (rule 1 (lower (has_type (ty_vec_fits_in_register _) (fcvt_to_sint_sat v @ (value_type from_ty))))
2363
+ (if-let zero (i8_to_imm5 0))
2364
+ (let ((is_nan VReg (rv_vmfne_vv v v (unmasked) from_ty))
2365
+ (cvt VReg (rv_vfcvt_rtz_x_f_v v (unmasked) from_ty)))
2366
+ (rv_vmerge_vim cvt zero is_nan from_ty)))
2367
+
2368
+ ;;;;; Rules for `fcvt_to_uint_sat`;;;;;;;;;
2369
+
2370
+ (rule 0 (lower (has_type to (fcvt_to_uint_sat v @ (value_type (ty_scalar_float from)))))
2371
+ (handle_fcvt_to_int_nan from v (lower_fcvt_to_uint_sat from to v)))
2372
+
2373
+ ;; Lowers to a `rv_fcvt*` instruction but handles 8/16-bit cases where the
2374
+ ;; float is clamped before the conversion.
2375
+ (decl lower_fcvt_to_uint_sat (Type Type FReg) XReg)
2376
+ (rule 0 (lower_fcvt_to_uint_sat ty (fits_in_16 out_ty) v)
2377
+ (let ((max FReg (imm ty (fcvt_umax_bound ty out_ty $true)))
2378
+ (min FReg (rv_fmvdx (zero_reg)))
2379
+ (clamped FReg (rv_fmin ty max (rv_fmax ty min v))))
2380
+ (rv_fcvtwu ty (FRM.RTZ) clamped)))
2381
+ (rule 1 (lower_fcvt_to_uint_sat ty $I32 v) (rv_fcvtwu ty (FRM.RTZ) v))
2382
+ (rule 1 (lower_fcvt_to_uint_sat ty $I64 v) (rv_fcvtlu ty (FRM.RTZ) v))
2383
+
2384
+ (decl fcvt_umax_bound (Type Type bool) u64)
2385
+ (extern constructor fcvt_umax_bound fcvt_umax_bound)
2386
+ (decl fcvt_umin_bound (Type bool) u64)
2387
+ (extern constructor fcvt_umin_bound fcvt_umin_bound)
2388
+
2389
+ (rule 1 (lower (has_type (ty_vec_fits_in_register _) (fcvt_to_uint_sat v @ (value_type from_ty))))
2390
+ (if-let zero (i8_to_imm5 0))
2391
+ (let ((is_nan VReg (rv_vmfne_vv v v (unmasked) from_ty))
2392
+ (cvt VReg (rv_vfcvt_rtz_xu_f_v v (unmasked) from_ty)))
2393
+ (rv_vmerge_vim cvt zero is_nan from_ty)))
2394
+
2395
+ ;;;;; Rules for `fcvt_from_sint`;;;;;;;;;
2396
+ (rule 0 (lower (has_type $F32 (fcvt_from_sint v @ (value_type (fits_in_16 ty)))))
2397
+ (rv_fcvtsl (FRM.RNE) (sext v)))
2398
+
2399
+ (rule 1 (lower (has_type $F32 (fcvt_from_sint v @ (value_type $I32))))
2400
+ (rv_fcvtsw (FRM.RNE) v))
2401
+
2402
+ (rule 1 (lower (has_type $F32 (fcvt_from_sint v @ (value_type $I64))))
2403
+ (rv_fcvtsl (FRM.RNE) v))
2404
+
2405
+ (rule 0 (lower (has_type $F64 (fcvt_from_sint v @ (value_type (fits_in_16 ty)))))
2406
+ (rv_fcvtdl (FRM.RNE) (sext v)))
2407
+
2408
+ (rule 1 (lower (has_type $F64 (fcvt_from_sint v @ (value_type $I32))))
2409
+ (rv_fcvtdw v))
2410
+
2411
+ (rule 1 (lower (has_type $F64 (fcvt_from_sint v @ (value_type $I64))))
2412
+ (rv_fcvtdl (FRM.RNE) v))
2413
+
2414
+ (rule 2 (lower (has_type (ty_vec_fits_in_register _) (fcvt_from_sint v @ (value_type from_ty))))
2415
+ (rv_vfcvt_f_x_v v (unmasked) from_ty))
2416
+
2417
+ ;;;;; Rules for `fcvt_from_uint`;;;;;;;;;
2418
+ (rule 0 (lower (has_type $F32 (fcvt_from_uint v @ (value_type (fits_in_16 ty)))))
2419
+ (rv_fcvtslu (FRM.RNE) (zext v)))
2420
+
2421
+ (rule 1 (lower (has_type $F32 (fcvt_from_uint v @ (value_type $I32))))
2422
+ (rv_fcvtswu (FRM.RNE) v))
2423
+
2424
+ (rule 1 (lower (has_type $F32 (fcvt_from_uint v @ (value_type $I64))))
2425
+ (rv_fcvtslu (FRM.RNE) v))
2426
+
2427
+ (rule 0 (lower (has_type $F64 (fcvt_from_uint v @ (value_type (fits_in_16 ty)))))
2428
+ (rv_fcvtdlu (FRM.RNE) (zext v)))
2429
+
2430
+ (rule 1 (lower (has_type $F64 (fcvt_from_uint v @ (value_type $I32))))
2431
+ (rv_fcvtdwu v))
2432
+
2433
+ (rule 1 (lower (has_type $F64 (fcvt_from_uint v @ (value_type $I64))))
2434
+ (rv_fcvtdlu (FRM.RNE) v))
2435
+
2436
+ (rule 2 (lower (has_type (ty_vec_fits_in_register _) (fcvt_from_uint v @ (value_type from_ty))))
2437
+ (rv_vfcvt_f_xu_v v (unmasked) from_ty))
2438
+
2439
+ ;;;;; Rules for `symbol_value`;;;;;;;;;
2440
+ (rule
2441
+ (lower (symbol_value (symbol_value_data name _ offset)))
2442
+ (load_ext_name name offset))
2443
+
2444
+ ;;;;; Rules for `tls_value` ;;;;;;;;;;;;;;
2445
+
2446
+ (rule (lower (has_type (tls_model (TlsModel.ElfGd)) (tls_value (symbol_value_data name _ _))))
2447
+ (elf_tls_get_addr name))
2448
+
2449
+ ;;;;; Rules for `bitcast`;;;;;;;;;
2450
+
2451
+ ;; These rules should probably be handled in `gen_bitcast`, but it's convenient to have that return
2452
+ ;; a single register, instead of a `ValueRegs`
2453
+ (rule 2 (lower (has_type $I128 (bitcast _ v @ (value_type (ty_vec_fits_in_register _)))))
2454
+ (value_regs
2455
+ (gen_extractlane $I64X2 v 0)
2456
+ (gen_extractlane $I64X2 v 1)))
2457
+
2458
+ ;; Move the high half into a vector register, and then use vslide1up to move it up and
2459
+ ;; insert the lower half in one instruction.
2460
+ (rule 1 (lower (has_type (ty_vec_fits_in_register _) (bitcast _ v @ (value_type $I128))))
2461
+ (let ((lo XReg (value_regs_get v 0))
2462
+ (hi XReg (value_regs_get v 1))
2463
+ (vstate VState (vstate_from_type $I64X2))
2464
+ (vec VReg (rv_vmv_sx hi vstate)))
2465
+ (rv_vslide1up_vx vec vec lo (unmasked) vstate)))
2466
+
2467
+ (rule 0 (lower (has_type out_ty (bitcast _ v @ (value_type in_ty))))
2468
+ (gen_bitcast v in_ty out_ty))
2469
+
2470
+ ;;;;; Rules for `ceil`;;;;;;;;;
2471
+ (rule 0 (lower (has_type (ty_scalar_float ty) (ceil x)))
2472
+ (gen_float_round (FRM.RUP) x ty))
2473
+
2474
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (ceil x)))
2475
+ (gen_vec_round x (FRM.RUP) ty))
2476
+
2477
+ ;;;;; Rules for `floor`;;;;;;;;;
2478
+ (rule 0 (lower (has_type (ty_scalar_float ty) (floor x)))
2479
+ (gen_float_round (FRM.RDN) x ty))
2480
+
2481
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (floor x)))
2482
+ (gen_vec_round x (FRM.RDN) ty))
2483
+
2484
+ ;;;;; Rules for `trunc`;;;;;;;;;
2485
+ (rule 0 (lower (has_type (ty_scalar_float ty) (trunc x)))
2486
+ (gen_float_round (FRM.RTZ) x ty))
2487
+
2488
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (trunc x)))
2489
+ (gen_vec_round x (FRM.RTZ) ty))
2490
+
2491
+ ;;;;; Rules for `nearest`;;;;;;;;;
2492
+ (rule 0 (lower (has_type (ty_scalar_float ty) (nearest x)))
2493
+ (gen_float_round (FRM.RNE) x ty))
2494
+
2495
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (nearest x)))
2496
+ (gen_vec_round x (FRM.RNE) ty))
2497
+
2498
+
2499
+ ;;;;; Rules for `select_spectre_guard`;;;;;;;;;
2500
+
2501
+ ;; SelectSpectreGuard is equivalent to Select, but we should not use a branch based
2502
+ ;; lowering for it. Instead we use a conditional move based lowering.
2503
+ ;;
2504
+ ;; We don't have cmov's in RISC-V either, but we can emulate those using bitwise
2505
+ ;; operations, which is what we do below.
2506
+
2507
+ ;; Base case: use `gen_bmask` to generate a 0 mask or -1 mask from the value of
2508
+ ;; `cmp`. This is then used with some bit twiddling to produce the final result.
2509
+ (rule 0 (lower (has_type (fits_in_64 _) (select_spectre_guard cmp x y)))
2510
+ (let ((mask XReg (gen_bmask cmp)))
2511
+ (rv_or (rv_and mask x) (rv_andn y mask))))
2512
+ (rule 1 (lower (has_type $I128 (select_spectre_guard cmp x y)))
2513
+ (let ((mask XReg (gen_bmask cmp)))
2514
+ (value_regs
2515
+ (rv_or (rv_and mask (value_regs_get x 0)) (rv_andn (value_regs_get y 0) mask))
2516
+ (rv_or (rv_and mask (value_regs_get x 1)) (rv_andn (value_regs_get y 1) mask)))))
2517
+
2518
+ ;; Special case when an argument is the constant zero as some ands and ors
2519
+ ;; can be folded away.
2520
+ (rule 2 (lower (has_type (fits_in_64 _) (select_spectre_guard cmp (i64_from_iconst 0) y)))
2521
+ (rv_andn y (gen_bmask cmp)))
2522
+ (rule 3 (lower (has_type (fits_in_64 _) (select_spectre_guard cmp x (i64_from_iconst 0))))
2523
+ (rv_and x (gen_bmask cmp)))
2524
+
2525
+ ;;;;; Rules for `bmask`;;;;;;;;;
2526
+ (rule
2527
+ (lower (has_type oty (bmask x)))
2528
+ (lower_bmask x oty))
2529
+
2530
+ ;; N.B.: the Ret itself is generated by the ABI.
2531
+ (rule (lower (return args))
2532
+ (lower_return args))
2533
+
2534
+ ;;; Rules for `get_{frame,stack}_pointer` and `get_return_address` ;;;;;;;;;;;;;
2535
+
2536
+ (rule (lower (get_frame_pointer))
2537
+ (gen_mov_from_preg (fp_reg)))
2538
+
2539
+ (rule (lower (get_stack_pointer))
2540
+ (gen_mov_from_preg (sp_reg)))
2541
+
2542
+ (rule (lower (get_return_address))
2543
+ (load_ra))
2544
+
2545
+ ;;; Rules for `iabs` ;;;;;;;;;;;;;
2546
+
2547
+ ;; I64 and lower
2548
+ ;; Generate the following code:
2549
+ ;; sext.{b,h,w} a0, a0
2550
+ ;; neg a1, a0
2551
+ ;; max a0, a0, a1
2552
+ (rule 0 (lower (has_type (ty_int_ref_scalar_64 ty) (iabs x)))
2553
+ (let ((extended XReg (sext x))
2554
+ (negated XReg (rv_neg extended)))
2555
+ (gen_select_xreg (cmp_gt extended negated) extended negated)))
2556
+
2557
+ ;; For vectors we generate the same code, but with vector instructions
2558
+ ;; we can skip the sign extension, since the vector unit will only process
2559
+ ;; Element Sized chunks.
2560
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (iabs x)))
2561
+ (let ((negated VReg (rv_vneg_v x (unmasked) ty)))
2562
+ (rv_vmax_vv x negated (unmasked) ty)))
2563
+
2564
+ ;;;; Rules for calls ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2565
+
2566
+ (rule (lower (call (func_ref_data sig_ref extname dist) inputs))
2567
+ (gen_call sig_ref extname dist inputs))
2568
+
2569
+ (rule (lower (call_indirect sig_ref val inputs))
2570
+ (gen_call_indirect sig_ref val inputs))
2571
+
2572
+ ;;;; Rules for `return_call` and `return_call_indirect` ;;;;;;;;;;;;;;;;;;;;;;;;
2573
+
2574
+ (rule (lower (return_call (func_ref_data sig_ref extname dist) args))
2575
+ (gen_return_call sig_ref extname dist args))
2576
+
2577
+ (rule (lower (return_call_indirect sig_ref callee args))
2578
+ (gen_return_call_indirect sig_ref callee args))
2579
+
2580
+
2581
+ ;;;; Rules for `extractlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2582
+
2583
+ (rule (lower (extractlane x @ (value_type ty) (u8_from_uimm8 idx)))
2584
+ (gen_extractlane ty x idx))
2585
+
2586
+ ;;;; Rules for `insertlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2587
+
2588
+ ;; We can insert a lane by using a masked splat from an X register.
2589
+ ;; Build a mask that is only enabled in the lane we want to insert.
2590
+ ;; Then use a masked splat (vmerge) to insert the value.
2591
+ (rule 0 (lower (insertlane vec @ (value_type (ty_vec_fits_in_register ty))
2592
+ val @ (value_type (ty_int _))
2593
+ (u8_from_uimm8 lane)))
2594
+ (let ((mask VReg (gen_vec_mask (u64_shl 1 lane))))
2595
+ (rv_vmerge_vxm vec val mask ty)))
2596
+
2597
+ ;; Similar to above, but using the float variants of the instructions.
2598
+ (rule 1 (lower (insertlane vec @ (value_type (ty_vec_fits_in_register ty))
2599
+ val @ (value_type (ty_scalar_float _))
2600
+ (u8_from_uimm8 lane)))
2601
+ (let ((mask VReg (gen_vec_mask (u64_shl 1 lane))))
2602
+ (rv_vfmerge_vfm vec val mask ty)))
2603
+
2604
+ ;; If we are inserting from an Imm5 const we can use the immediate
2605
+ ;; variant of vmerge.
2606
+ (rule 2 (lower (insertlane vec @ (value_type (ty_vec_fits_in_register ty))
2607
+ (i64_from_iconst (imm5_from_i64 imm))
2608
+ (u8_from_uimm8 lane)))
2609
+ (let ((mask VReg (gen_vec_mask (u64_shl 1 lane))))
2610
+ (rv_vmerge_vim vec imm mask ty)))
2611
+
2612
+ ;;;; Rules for `splat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2613
+
2614
+ (rule 0 (lower (has_type ty (splat n @ (value_type (ty_scalar_float _)))))
2615
+ (rv_vfmv_vf n ty))
2616
+
2617
+ (rule 1 (lower (has_type ty (splat n @ (value_type (ty_int_ref_scalar_64 _)))))
2618
+ (rv_vmv_vx n ty))
2619
+
2620
+ (rule 2 (lower (has_type ty (splat (iconst (u64_from_imm64 (imm5_from_u64 imm))))))
2621
+ (rv_vmv_vi imm ty))
2622
+
2623
+ ;; TODO: We can splat out more patterns by using for example a vmv.v.i i8x16 for
2624
+ ;; a i64x2 const with a compatible bit pattern. The AArch64 Backend does something
2625
+ ;; similar in its splat rules.
2626
+ ;; TODO: Look through bitcasts when splatting out registers. We can use
2627
+ ;; `vmv.v.x` in a `(splat.f32x4 (bitcast.f32 val))`. And vice versa for integers.
2628
+
2629
+ ;;;; Rules for `uadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2630
+
2631
+ (rule 0 (lower (has_type (ty_vec_fits_in_register ty) (uadd_sat x y)))
2632
+ (rv_vsaddu_vv x y (unmasked) ty))
2633
+
2634
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (uadd_sat x (splat y))))
2635
+ (rv_vsaddu_vx x y (unmasked) ty))
2636
+
2637
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (uadd_sat (splat x) y)))
2638
+ (rv_vsaddu_vx y x (unmasked) ty))
2639
+
2640
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (uadd_sat x y)))
2641
+ (if-let y_imm (replicated_imm5 y))
2642
+ (rv_vsaddu_vi x y_imm (unmasked) ty))
2643
+
2644
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (uadd_sat x y)))
2645
+ (if-let x_imm (replicated_imm5 x))
2646
+ (rv_vsaddu_vi y x_imm (unmasked) ty))
2647
+
2648
+ ;;;; Rules for `sadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2649
+
2650
+ (rule 0 (lower (has_type (ty_vec_fits_in_register ty) (sadd_sat x y)))
2651
+ (rv_vsadd_vv x y (unmasked) ty))
2652
+
2653
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (sadd_sat x (splat y))))
2654
+ (rv_vsadd_vx x y (unmasked) ty))
2655
+
2656
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (sadd_sat (splat x) y)))
2657
+ (rv_vsadd_vx y x (unmasked) ty))
2658
+
2659
+ (rule 3 (lower (has_type (ty_vec_fits_in_register ty) (sadd_sat x y)))
2660
+ (if-let y_imm (replicated_imm5 y))
2661
+ (rv_vsadd_vi x y_imm (unmasked) ty))
2662
+
2663
+ (rule 4 (lower (has_type (ty_vec_fits_in_register ty) (sadd_sat x y)))
2664
+ (if-let x_imm (replicated_imm5 x))
2665
+ (rv_vsadd_vi y x_imm (unmasked) ty))
2666
+
2667
+ ;;;; Rules for `usub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2668
+
2669
+ (rule 0 (lower (has_type (ty_vec_fits_in_register ty) (usub_sat x y)))
2670
+ (rv_vssubu_vv x y (unmasked) ty))
2671
+
2672
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (usub_sat x (splat y))))
2673
+ (rv_vssubu_vx x y (unmasked) ty))
2674
+
2675
+ ;;;; Rules for `ssub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2676
+
2677
+ (rule 0 (lower (has_type (ty_vec_fits_in_register ty) (ssub_sat x y)))
2678
+ (rv_vssub_vv x y (unmasked) ty))
2679
+
2680
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (ssub_sat x (splat y))))
2681
+ (rv_vssub_vx x y (unmasked) ty))
2682
+
2683
+ ;;;; Rules for `vall_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2684
+
2685
+ ;; Here we do a Vector Reduce operation. Get the unsigned minimum value of any
2686
+ ;; lane in the vector. The fixed input to the reduce operation is a 1.
2687
+ ;; This way, if any lane is 0, the result will be 0. Otherwise, the result will
2688
+ ;; be a 1.
2689
+ ;; The reduce operation leaves the result in the lowest lane, we then move it
2690
+ ;; into the destination X register.
2691
+ (rule (lower (vall_true x @ (value_type (ty_vec_fits_in_register ty))))
2692
+ (if-let one (i8_to_imm5 1))
2693
+ ;; We don't need to broadcast the immediate into all lanes, only into lane 0.
2694
+ ;; I did it this way since it uses one less instruction than with a vmv.s.x.
2695
+ (let ((fixed VReg (rv_vmv_vi one ty))
2696
+ (min VReg (rv_vredminu_vs x fixed (unmasked) ty)))
2697
+ (rv_vmv_xs min ty)))
2698
+
2699
+
2700
+ ;;;; Rules for `vany_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2701
+
2702
+ ;; Here we do a Vector Reduce operation. Get the unsigned maximum value of the
2703
+ ;; input vector register. Move the max to an X register, and do a `snez` on it
2704
+ ;; to ensure its either 1 or 0.
2705
+ (rule (lower (vany_true x @ (value_type (ty_vec_fits_in_register ty))))
2706
+ (let ((max VReg (rv_vredmaxu_vs x x (unmasked) ty))
2707
+ (x_max XReg (rv_vmv_xs max ty)))
2708
+ (rv_snez x_max)))
2709
+
2710
+
2711
+ ;;;; Rules for `vhigh_bits` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2712
+
2713
+ ;; To check if the MSB of a lane is set, we do a `vmslt` with zero, this sets
2714
+ ;; the mask bit to 1 if the value is negative (MSB 1) and 0 if not. We can then
2715
+ ;; just move that mask to an X Register.
2716
+ ;;
2717
+ ;; We must ensure that the move to the X register has a SEW with enough bits
2718
+ ;; to hold the full mask. Additionally, in some cases (e.g. i64x2) we are going
2719
+ ;; to read some tail bits. These are undefined, so we need to further mask them
2720
+ ;; off.
2721
+ (rule (lower (vhigh_bits x @ (value_type (ty_vec_fits_in_register ty))))
2722
+ (let ((mask VReg (rv_vmslt_vx x (zero_reg) (unmasked) ty))
2723
+ ;; Here we only need I64X1, but emit an AVL of 2 since it
2724
+ ;; saves one vector state change in the case of I64X2.
2725
+ ;;
2726
+ ;; TODO: For types that have more lanes than element bits, we can
2727
+ ;; use the original type as a VState and avoid a state change.
2728
+ (x_mask XReg (rv_vmv_xs mask (vstate_from_type $I64X2))))
2729
+ (gen_andi x_mask (ty_lane_mask ty))))
2730
+
2731
+ ;;;; Rules for `swizzle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2732
+
2733
+ (rule 0 (lower (has_type (ty_vec_fits_in_register ty) (swizzle x y)))
2734
+ (rv_vrgather_vv x y (unmasked) ty))
2735
+
2736
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (swizzle x (splat y))))
2737
+ (rv_vrgather_vx x y (unmasked) ty))
2738
+
2739
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (swizzle x y)))
2740
+ (if-let y_imm (replicated_uimm5 y))
2741
+ (rv_vrgather_vi x y_imm (unmasked) ty))
2742
+
2743
+ ;;;; Rules for `shuffle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2744
+
2745
+ ;; Use a vrgather to load all 0-15 lanes from x. And then modify the mask to load all
2746
+ ;; 16-31 lanes from y. Finally, use a vor to combine the two vectors.
2747
+ ;;
2748
+ ;; vrgather will insert a 0 for lanes that are out of bounds, so we can let it load
2749
+ ;; negative and out of bounds indexes.
2750
+ (rule (lower (has_type (ty_vec_fits_in_register ty @ $I8X16) (shuffle x y (vconst_from_immediate mask))))
2751
+ (if-let neg16 (i8_to_imm5 -16))
2752
+ (let ((x_mask VReg (gen_constant ty mask))
2753
+ (x_lanes VReg (rv_vrgather_vv x x_mask (unmasked) ty))
2754
+ (y_mask VReg (rv_vadd_vi x_mask neg16 (unmasked) ty))
2755
+ (y_lanes VReg (rv_vrgather_vv y y_mask (unmasked) ty)))
2756
+ (rv_vor_vv x_lanes y_lanes (unmasked) ty)))
2757
+
2758
+ ;;;; Rules for `swiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2759
+
2760
+ ;; Slide down half the vector, and do a signed extension.
2761
+ (rule 0 (lower (has_type (ty_vec_fits_in_register out_ty) (swiden_high x @ (value_type in_ty))))
2762
+ (rv_vsext_vf2 (gen_slidedown_half in_ty x) (unmasked) out_ty))
2763
+
2764
+ (rule 1 (lower (has_type (ty_vec_fits_in_register out_ty) (swiden_high (swiden_high x @ (value_type in_ty)))))
2765
+ (if-let (uimm5_from_u64 amt) (u64_sub (ty_lane_count in_ty) (ty_lane_count out_ty)))
2766
+ (rv_vsext_vf4 (rv_vslidedown_vi x amt (unmasked) in_ty) (unmasked) out_ty))
2767
+
2768
+ (rule 2 (lower (has_type (ty_vec_fits_in_register out_ty) (swiden_high (swiden_high (swiden_high x @ (value_type in_ty))))))
2769
+ (if-let (uimm5_from_u64 amt) (u64_sub (ty_lane_count in_ty) (ty_lane_count out_ty)))
2770
+ (rv_vsext_vf8 (rv_vslidedown_vi x amt (unmasked) in_ty) (unmasked) out_ty))
2771
+
2772
+ ;;;; Rules for `uwiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2773
+
2774
+ ;; Slide down half the vector, and do a zero extension.
2775
+ (rule 0 (lower (has_type (ty_vec_fits_in_register out_ty) (uwiden_high x @ (value_type in_ty))))
2776
+ (rv_vzext_vf2 (gen_slidedown_half in_ty x) (unmasked) out_ty))
2777
+
2778
+ (rule 1 (lower (has_type (ty_vec_fits_in_register out_ty) (uwiden_high (uwiden_high x @ (value_type in_ty)))))
2779
+ (if-let (uimm5_from_u64 amt) (u64_sub (ty_lane_count in_ty) (ty_lane_count out_ty)))
2780
+ (rv_vzext_vf4 (rv_vslidedown_vi x amt (unmasked) in_ty) (unmasked) out_ty))
2781
+
2782
+ (rule 2 (lower (has_type (ty_vec_fits_in_register out_ty) (uwiden_high (uwiden_high (uwiden_high x @ (value_type in_ty))))))
2783
+ (if-let (uimm5_from_u64 amt) (u64_sub (ty_lane_count in_ty) (ty_lane_count out_ty)))
2784
+ (rv_vzext_vf8 (rv_vslidedown_vi x amt (unmasked) in_ty) (unmasked) out_ty))
2785
+
2786
+ ;;;; Rules for `swiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2787
+
2788
+ (rule 0 (lower (has_type (ty_vec_fits_in_register out_ty) (swiden_low x)))
2789
+ (rv_vsext_vf2 x (unmasked) out_ty))
2790
+
2791
+ (rule 1 (lower (has_type (ty_vec_fits_in_register out_ty) (swiden_low (swiden_low x))))
2792
+ (rv_vsext_vf4 x (unmasked) out_ty))
2793
+
2794
+ (rule 2 (lower (has_type (ty_vec_fits_in_register out_ty) (swiden_low (swiden_low (swiden_low x)))))
2795
+ (rv_vsext_vf8 x (unmasked) out_ty))
2796
+
2797
+ ;;;; Rules for `uwiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2798
+
2799
+ (rule 0 (lower (has_type (ty_vec_fits_in_register out_ty) (uwiden_low x)))
2800
+ (rv_vzext_vf2 x (unmasked) out_ty))
2801
+
2802
+ (rule 1 (lower (has_type (ty_vec_fits_in_register out_ty) (uwiden_low (uwiden_low x))))
2803
+ (rv_vzext_vf4 x (unmasked) out_ty))
2804
+
2805
+ (rule 2 (lower (has_type (ty_vec_fits_in_register out_ty) (uwiden_low (uwiden_low (uwiden_low x)))))
2806
+ (rv_vzext_vf8 x (unmasked) out_ty))
2807
+
2808
+ ;;;; Rules for `iadd_pairwise` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2809
+
2810
+ ;; We don't have a dedicated instruction for this, rearrange the register elements
2811
+ ;; and use a vadd.
2812
+ ;;
2813
+ ;; We do this by building two masks, one for the even elements and one for the odd
2814
+ ;; elements. Using vcompress we can extract the elements and group them together.
2815
+ ;;
2816
+ ;; This is likely not the optimal way of doing this. LLVM does this using a bunch
2817
+ ;; of vrgathers (See: https://godbolt.org/z/jq8Wj8WG4), that doesn't seem to be
2818
+ ;; too much better than this.
2819
+ ;;
2820
+ ;; However V8 does something better. They use 2 vcompresses using LMUL2, that means
2821
+ ;; that they can do the whole thing in 3 instructions (2 vcompress + vadd). We don't
2822
+ ;; support LMUL > 1, so we can't do that.
2823
+ (rule (lower (has_type (ty_vec_fits_in_register ty) (iadd_pairwise x y)))
2824
+ (if-let half_size (u64_to_uimm5 (u64_udiv (ty_lane_count ty) 2)))
2825
+ (let ((odd_mask VReg (gen_vec_mask 0x5555555555555555))
2826
+ (lhs_lo VReg (rv_vcompress_vm x odd_mask ty))
2827
+ (lhs_hi VReg (rv_vcompress_vm y odd_mask ty))
2828
+ (lhs VReg (rv_vslideup_vvi lhs_lo lhs_hi half_size (unmasked) ty))
2829
+
2830
+ (even_mask VReg (gen_vec_mask 0xAAAAAAAAAAAAAAAA))
2831
+ (rhs_lo VReg (rv_vcompress_vm x even_mask ty))
2832
+ (rhs_hi VReg (rv_vcompress_vm y even_mask ty))
2833
+ (rhs VReg (rv_vslideup_vvi rhs_lo rhs_hi half_size (unmasked) ty)))
2834
+ (rv_vadd_vv lhs rhs (unmasked) ty)))
2835
+
2836
+ ;;;; Rules for `avg_round` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2837
+
2838
+ ;; `avg_round` computes the unsigned average with rounding: a := (x + y + 1) // 2
2839
+ ;;
2840
+ ;; See Section "2–5 Average of Two Integers" of the Hacker's Delight book
2841
+ ;;
2842
+ ;; The floor average of two integers without overflow can be computed as:
2843
+ ;; t = (x & y) + ((x ^ y) >> 1)
2844
+ ;;
2845
+ ;; The right shift should be a logical shift if the integers are unsigned.
2846
+ ;;
2847
+ ;; We are however interested in the ceiling average (x + y + 1). For that
2848
+ ;; we use a special rounding mode in the right shift instruction.
2849
+ ;;
2850
+ ;; For the right shift instruction we use `vssrl` which is a Scaling Shift
2851
+ ;; Right Logical instruction using the `vxrm` fixed-point rounding mode. The
2852
+ ;; default rounding mode is `rnu` (round-to-nearest-up (add +0.5 LSB)).
2853
+ ;; Which is coincidentally the rounding mode we want for `avg_round`.
2854
+ (rule (lower (has_type (ty_vec_fits_in_register ty) (avg_round x y)))
2855
+ (if-let one (u64_to_uimm5 1))
2856
+ (let ((lhs VReg (rv_vand_vv x y (unmasked) ty))
2857
+ (xor VReg (rv_vxor_vv x y (unmasked) ty))
2858
+ (rhs VReg (rv_vssrl_vi xor one (unmasked) ty)))
2859
+ (rv_vadd_vv lhs rhs (unmasked) ty)))
2860
+
2861
+ ;;;; Rules for `scalar_to_vector` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2862
+
2863
+ (rule 0 (lower (has_type (ty_vec_fits_in_register ty) (scalar_to_vector x)))
2864
+ (if (ty_vector_float ty))
2865
+ (let ((zero VReg (rv_vmv_vx (zero_reg) ty))
2866
+ (elem VReg (rv_vfmv_sf x ty))
2867
+ (mask VReg (gen_vec_mask 1)))
2868
+ (rv_vmerge_vvm zero elem mask ty)))
2869
+
2870
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (scalar_to_vector x)))
2871
+ (if (ty_vector_not_float ty))
2872
+ (let ((zero VReg (rv_vmv_vx (zero_reg) ty))
2873
+ (mask VReg (gen_vec_mask 1)))
2874
+ (rv_vmerge_vxm zero x mask ty)))
2875
+
2876
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (scalar_to_vector (imm5_from_value x))))
2877
+ (let ((zero VReg (rv_vmv_vx (zero_reg) ty))
2878
+ (mask VReg (gen_vec_mask 1)))
2879
+ (rv_vmerge_vim zero x mask ty)))
2880
+
2881
+ ;;;; Rules for `sqmul_round_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2882
+
2883
+ (rule 0 (lower (has_type (ty_vec_fits_in_register ty) (sqmul_round_sat x y)))
2884
+ (rv_vsmul_vv x y (unmasked) ty))
2885
+
2886
+ (rule 1 (lower (has_type (ty_vec_fits_in_register ty) (sqmul_round_sat x (splat y))))
2887
+ (rv_vsmul_vx x y (unmasked) ty))
2888
+
2889
+ (rule 2 (lower (has_type (ty_vec_fits_in_register ty) (sqmul_round_sat (splat x) y)))
2890
+ (rv_vsmul_vx y x (unmasked) ty))
2891
+
2892
+ ;;;; Rules for `snarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2893
+
2894
+ (rule (lower (has_type (ty_vec_fits_in_register out_ty) (snarrow x @ (value_type in_ty) y)))
2895
+ (if-let lane_diff (u64_to_uimm5 (u64_udiv (ty_lane_count out_ty) 2)))
2896
+ (if-let zero (u64_to_uimm5 0))
2897
+ (let ((x_clip VReg (rv_vnclip_wi x zero (unmasked) (vstate_mf2 (ty_half_lanes out_ty))))
2898
+ (y_clip VReg (rv_vnclip_wi y zero (unmasked) (vstate_mf2 (ty_half_lanes out_ty)))))
2899
+ (rv_vslideup_vvi x_clip y_clip lane_diff (unmasked) out_ty)))
2900
+
2901
+ ;;;; Rules for `uunarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2902
+
2903
+ (rule (lower (has_type (ty_vec_fits_in_register out_ty) (uunarrow x @ (value_type in_ty) y)))
2904
+ (if-let lane_diff (u64_to_uimm5 (u64_udiv (ty_lane_count out_ty) 2)))
2905
+ (if-let zero (u64_to_uimm5 0))
2906
+ (let ((x_clip VReg (rv_vnclipu_wi x zero (unmasked) (vstate_mf2 (ty_half_lanes out_ty))))
2907
+ (y_clip VReg (rv_vnclipu_wi y zero (unmasked) (vstate_mf2 (ty_half_lanes out_ty)))))
2908
+ (rv_vslideup_vvi x_clip y_clip lane_diff (unmasked) out_ty)))
2909
+
2910
+ ;;;; Rules for `unarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2911
+
2912
+ ;; We don't have a instruction that saturates a signed source into an unsigned destination.
2913
+ ;; To correct for this we just remove negative values using `vmax` and then use the normal
2914
+ ;; unsigned to unsigned narrowing instruction.
2915
+
2916
+ (rule (lower (has_type (ty_vec_fits_in_register out_ty) (unarrow x @ (value_type in_ty) y)))
2917
+ (if-let lane_diff (u64_to_uimm5 (u64_udiv (ty_lane_count out_ty) 2)))
2918
+ (if-let zero (u64_to_uimm5 0))
2919
+ (let ((x_pos VReg (rv_vmax_vx x (zero_reg) (unmasked) in_ty))
2920
+ (y_pos VReg (rv_vmax_vx y (zero_reg) (unmasked) in_ty))
2921
+ (x_clip VReg (rv_vnclipu_wi x_pos zero (unmasked) (vstate_mf2 (ty_half_lanes out_ty))))
2922
+ (y_clip VReg (rv_vnclipu_wi y_pos zero (unmasked) (vstate_mf2 (ty_half_lanes out_ty)))))
2923
+ (rv_vslideup_vvi x_clip y_clip lane_diff (unmasked) out_ty)))