wasmtime 12.0.1 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2318) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +176 -221
  3. data/ext/Cargo.toml +6 -6
  4. data/ext/cargo-vendor/cap-net-ext-2.0.0/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cap-net-ext-2.0.0/COPYRIGHT +29 -0
  6. data/ext/cargo-vendor/cap-net-ext-2.0.0/Cargo.toml +38 -0
  7. data/ext/cargo-vendor/cap-net-ext-2.0.0/README.md +24 -0
  8. data/ext/cargo-vendor/cap-net-ext-2.0.0/src/lib.rs +771 -0
  9. data/ext/cargo-vendor/cranelift-bforest-0.100.0/.cargo-checksum.json +1 -0
  10. data/ext/cargo-vendor/cranelift-bforest-0.100.0/Cargo.toml +31 -0
  11. data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/lib.rs +184 -0
  12. data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/map.rs +922 -0
  13. data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/pool.rs +219 -0
  14. data/ext/cargo-vendor/cranelift-bforest-0.100.0/src/set.rs +597 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.100.0/.cargo-checksum.json +1 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.100.0/Cargo.toml +164 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/binemit/mod.rs +141 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/binemit/stack_map.rs +155 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/bitset.rs +166 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/context.rs +372 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/incremental_cache.rs +256 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/atomic_rmw_op.rs +104 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/condcodes.rs +404 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/constant.rs +463 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/dfg.rs +1686 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/dynamic_type.rs +55 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/entities.rs +567 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/extfunc.rs +411 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/extname.rs +333 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/function.rs +475 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/globalvalue.rs +155 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/immediates.rs +1615 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/instructions.rs +1000 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/jumptable.rs +168 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/known_symbol.rs +47 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/libcall.rs +232 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/memflags.rs +279 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/mod.rs +106 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/sourceloc.rs +117 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/stackslot.rs +216 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/table.rs +40 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/trapcode.rs +144 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/ir/types.rs +630 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/abi.rs +1573 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/args.rs +747 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/emit.rs +3911 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/emit_tests.rs +7951 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst/mod.rs +3049 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/inst.isle +4173 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower/isle.rs +871 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower.isle +2889 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower.rs +132 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/aarch64/lower_dynamic_neon.isle +98 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/call_conv.rs +119 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/abi.rs +981 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/args.rs +1900 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/emit.rs +3203 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/encode.rs +326 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/imms.rs +236 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/mod.rs +2162 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst/vector.rs +1059 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst.isle +3092 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/inst_vector.isle +1887 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/lower/isle.rs +620 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/riscv64/lower.isle +2119 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/abi.rs +949 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/inst/mod.rs +3430 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/inst.isle +5043 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/s390x/lower.isle +3982 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind/systemv.rs +272 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind/winx64.rs +334 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/unwind.rs +182 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/abi.rs +1200 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/encoding/evex.rs +749 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/encoding/rex.rs +589 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/args.rs +2188 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/emit.rs +4300 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/emit_tests.rs +5474 -0
  79. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst/mod.rs +2763 -0
  80. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/inst.isle +5110 -0
  81. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower/isle.rs +1096 -0
  82. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower.isle +4675 -0
  83. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isa/x64/lower.rs +340 -0
  84. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/isle_prelude.rs +899 -0
  85. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/legalizer/mod.rs +356 -0
  86. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/lib.rs +107 -0
  87. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/abi.rs +2644 -0
  88. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/buffer.rs +2362 -0
  89. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/isle.rs +846 -0
  90. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/mod.rs +553 -0
  91. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/reg.rs +556 -0
  92. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/machinst/vcode.rs +1646 -0
  93. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/bitops.isle +147 -0
  94. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/cprop.isle +200 -0
  95. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/extends.isle +34 -0
  96. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/icmp.isle +177 -0
  97. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/selects.isle +59 -0
  98. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/opts/vector.isle +88 -0
  99. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/prelude.isle +603 -0
  100. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/prelude_lower.isle +1029 -0
  101. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/value_label.rs +32 -0
  102. data/ext/cargo-vendor/cranelift-codegen-0.100.0/src/verifier/mod.rs +1986 -0
  103. data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/.cargo-checksum.json +1 -0
  104. data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/Cargo.toml +26 -0
  105. data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/constant_hash.rs +63 -0
  106. data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/gen_inst.rs +1784 -0
  107. data/ext/cargo-vendor/cranelift-codegen-meta-0.100.0/src/shared/instructions.rs +3810 -0
  108. data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/.cargo-checksum.json +1 -0
  109. data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/Cargo.toml +22 -0
  110. data/ext/cargo-vendor/cranelift-codegen-shared-0.100.0/src/lib.rs +12 -0
  111. data/ext/cargo-vendor/cranelift-control-0.100.0/.cargo-checksum.json +1 -0
  112. data/ext/cargo-vendor/cranelift-control-0.100.0/Cargo.toml +30 -0
  113. data/ext/cargo-vendor/cranelift-entity-0.100.0/.cargo-checksum.json +1 -0
  114. data/ext/cargo-vendor/cranelift-entity-0.100.0/Cargo.toml +41 -0
  115. data/ext/cargo-vendor/cranelift-entity-0.100.0/src/lib.rs +316 -0
  116. data/ext/cargo-vendor/cranelift-entity-0.100.0/src/list.rs +955 -0
  117. data/ext/cargo-vendor/cranelift-entity-0.100.0/src/packed_option.rs +171 -0
  118. data/ext/cargo-vendor/cranelift-entity-0.100.0/src/primary.rs +456 -0
  119. data/ext/cargo-vendor/cranelift-entity-0.100.0/src/sparse.rs +368 -0
  120. data/ext/cargo-vendor/cranelift-frontend-0.100.0/.cargo-checksum.json +1 -0
  121. data/ext/cargo-vendor/cranelift-frontend-0.100.0/Cargo.toml +54 -0
  122. data/ext/cargo-vendor/cranelift-frontend-0.100.0/src/lib.rs +191 -0
  123. data/ext/cargo-vendor/cranelift-isle-0.100.0/.cargo-checksum.json +1 -0
  124. data/ext/cargo-vendor/cranelift-isle-0.100.0/Cargo.toml +37 -0
  125. data/ext/cargo-vendor/cranelift-native-0.100.0/.cargo-checksum.json +1 -0
  126. data/ext/cargo-vendor/cranelift-native-0.100.0/Cargo.toml +38 -0
  127. data/ext/cargo-vendor/cranelift-native-0.100.0/src/lib.rs +190 -0
  128. data/ext/cargo-vendor/cranelift-wasm-0.100.0/.cargo-checksum.json +1 -0
  129. data/ext/cargo-vendor/cranelift-wasm-0.100.0/Cargo.toml +92 -0
  130. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/code_translator.rs +3641 -0
  131. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/environ/dummy.rs +942 -0
  132. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/environ/spec.rs +949 -0
  133. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/func_translator.rs +432 -0
  134. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/heap.rs +108 -0
  135. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/lib.rs +64 -0
  136. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/sections_translator.rs +408 -0
  137. data/ext/cargo-vendor/cranelift-wasm-0.100.0/src/translation_utils.rs +97 -0
  138. data/ext/cargo-vendor/fallible-iterator-0.3.0/.cargo-checksum.json +1 -0
  139. data/ext/cargo-vendor/fallible-iterator-0.3.0/CHANGELOG.md +39 -0
  140. data/ext/cargo-vendor/fallible-iterator-0.3.0/Cargo.toml +29 -0
  141. data/ext/cargo-vendor/fallible-iterator-0.3.0/README.md +16 -0
  142. data/ext/cargo-vendor/fallible-iterator-0.3.0/src/lib.rs +2808 -0
  143. data/ext/cargo-vendor/fallible-iterator-0.3.0/src/test.rs +477 -0
  144. data/ext/cargo-vendor/serde-1.0.188/.cargo-checksum.json +1 -0
  145. data/ext/cargo-vendor/serde-1.0.188/Cargo.toml +69 -0
  146. data/ext/cargo-vendor/serde-1.0.188/build.rs +90 -0
  147. data/ext/cargo-vendor/serde-1.0.188/src/de/ignored_any.rs +238 -0
  148. data/ext/cargo-vendor/serde-1.0.188/src/de/impls.rs +2966 -0
  149. data/ext/cargo-vendor/serde-1.0.188/src/de/mod.rs +2290 -0
  150. data/ext/cargo-vendor/serde-1.0.188/src/de/value.rs +1708 -0
  151. data/ext/cargo-vendor/serde-1.0.188/src/integer128.rs +9 -0
  152. data/ext/cargo-vendor/serde-1.0.188/src/lib.rs +327 -0
  153. data/ext/cargo-vendor/serde-1.0.188/src/macros.rs +231 -0
  154. data/ext/cargo-vendor/serde-1.0.188/src/ser/fmt.rs +170 -0
  155. data/ext/cargo-vendor/serde-1.0.188/src/ser/impls.rs +998 -0
  156. data/ext/cargo-vendor/serde-1.0.188/src/ser/mod.rs +1952 -0
  157. data/ext/cargo-vendor/serde_derive-1.0.188/.cargo-checksum.json +1 -0
  158. data/ext/cargo-vendor/serde_derive-1.0.188/Cargo.toml +59 -0
  159. data/ext/cargo-vendor/serde_derive-1.0.188/src/lib.rs +102 -0
  160. data/ext/cargo-vendor/serde_derive-1.0.188/src/ser.rs +1359 -0
  161. data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/.cargo-checksum.json +1 -0
  162. data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/Cargo.toml +96 -0
  163. data/ext/cargo-vendor/wasi-cap-std-sync-13.0.0/src/lib.rs +161 -0
  164. data/ext/cargo-vendor/wasi-common-13.0.0/.cargo-checksum.json +1 -0
  165. data/ext/cargo-vendor/wasi-common-13.0.0/Cargo.toml +87 -0
  166. data/ext/cargo-vendor/wasm-encoder-0.32.0/.cargo-checksum.json +1 -0
  167. data/ext/cargo-vendor/wasm-encoder-0.32.0/Cargo.toml +33 -0
  168. data/ext/cargo-vendor/wasm-encoder-0.32.0/src/component/types.rs +769 -0
  169. data/ext/cargo-vendor/wasm-encoder-0.33.1/.cargo-checksum.json +1 -0
  170. data/ext/cargo-vendor/wasm-encoder-0.33.1/Cargo.toml +33 -0
  171. data/ext/cargo-vendor/wasm-encoder-0.33.1/README.md +80 -0
  172. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/aliases.rs +160 -0
  173. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/builder.rs +449 -0
  174. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/canonicals.rs +159 -0
  175. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/components.rs +29 -0
  176. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/exports.rs +127 -0
  177. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/imports.rs +200 -0
  178. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/instances.rs +200 -0
  179. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/modules.rs +29 -0
  180. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/names.rs +149 -0
  181. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/start.rs +52 -0
  182. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component/types.rs +769 -0
  183. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/component.rs +168 -0
  184. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/code.rs +2913 -0
  185. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/custom.rs +73 -0
  186. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/data.rs +185 -0
  187. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/dump.rs +627 -0
  188. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/elements.rs +220 -0
  189. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/exports.rs +85 -0
  190. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/functions.rs +63 -0
  191. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/globals.rs +90 -0
  192. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/imports.rs +142 -0
  193. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/linking.rs +263 -0
  194. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/memories.rs +99 -0
  195. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/names.rs +265 -0
  196. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/producers.rs +180 -0
  197. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/start.rs +39 -0
  198. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/tables.rs +104 -0
  199. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/tags.rs +85 -0
  200. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core/types.rs +372 -0
  201. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/core.rs +168 -0
  202. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/lib.rs +215 -0
  203. data/ext/cargo-vendor/wasm-encoder-0.33.1/src/raw.rs +30 -0
  204. data/ext/cargo-vendor/wasmparser-0.112.0/.cargo-checksum.json +1 -0
  205. data/ext/cargo-vendor/wasmparser-0.112.0/Cargo.lock +644 -0
  206. data/ext/cargo-vendor/wasmparser-0.112.0/Cargo.toml +54 -0
  207. data/ext/cargo-vendor/wasmparser-0.112.0/src/limits.rs +58 -0
  208. data/ext/cargo-vendor/wasmparser-0.112.0/src/readers/component/types.rs +542 -0
  209. data/ext/cargo-vendor/wasmparser-0.112.0/src/readers/core/types.rs +1303 -0
  210. data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/component.rs +3120 -0
  211. data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/core.rs +1352 -0
  212. data/ext/cargo-vendor/wasmparser-0.112.0/src/validator/types.rs +3239 -0
  213. data/ext/cargo-vendor/wasmparser-0.112.0/src/validator.rs +1569 -0
  214. data/ext/cargo-vendor/wasmparser-0.113.1/.cargo-checksum.json +1 -0
  215. data/ext/cargo-vendor/wasmparser-0.113.1/Cargo.lock +644 -0
  216. data/ext/cargo-vendor/wasmparser-0.113.1/Cargo.toml +54 -0
  217. data/ext/cargo-vendor/wasmparser-0.113.1/src/binary_reader.rs +1706 -0
  218. data/ext/cargo-vendor/wasmparser-0.113.1/src/lib.rs +726 -0
  219. data/ext/cargo-vendor/wasmparser-0.113.1/src/limits.rs +58 -0
  220. data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/component/types.rs +542 -0
  221. data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core/dylink0.rs +132 -0
  222. data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core/types.rs +1303 -0
  223. data/ext/cargo-vendor/wasmparser-0.113.1/src/readers/core.rs +37 -0
  224. data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/component.rs +3120 -0
  225. data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/core.rs +1352 -0
  226. data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/operators.rs +3466 -0
  227. data/ext/cargo-vendor/wasmparser-0.113.1/src/validator/types.rs +3239 -0
  228. data/ext/cargo-vendor/wasmparser-0.113.1/src/validator.rs +1595 -0
  229. data/ext/cargo-vendor/wasmprinter-0.2.66/.cargo-checksum.json +1 -0
  230. data/ext/cargo-vendor/wasmprinter-0.2.66/Cargo.toml +39 -0
  231. data/ext/cargo-vendor/wasmprinter-0.2.66/src/lib.rs +2965 -0
  232. data/ext/cargo-vendor/wasmprinter-0.2.66/src/operator.rs +873 -0
  233. data/ext/cargo-vendor/wasmtime-13.0.0/.cargo-checksum.json +1 -0
  234. data/ext/cargo-vendor/wasmtime-13.0.0/Cargo.toml +191 -0
  235. data/ext/cargo-vendor/wasmtime-13.0.0/src/component/component.rs +474 -0
  236. data/ext/cargo-vendor/wasmtime-13.0.0/src/component/func/typed.rs +2297 -0
  237. data/ext/cargo-vendor/wasmtime-13.0.0/src/component/instance.rs +793 -0
  238. data/ext/cargo-vendor/wasmtime-13.0.0/src/component/linker.rs +483 -0
  239. data/ext/cargo-vendor/wasmtime-13.0.0/src/component/mod.rs +344 -0
  240. data/ext/cargo-vendor/wasmtime-13.0.0/src/component/types.rs +523 -0
  241. data/ext/cargo-vendor/wasmtime-13.0.0/src/component/values.rs +1272 -0
  242. data/ext/cargo-vendor/wasmtime-13.0.0/src/config.rs +2313 -0
  243. data/ext/cargo-vendor/wasmtime-13.0.0/src/engine/serialization.rs +657 -0
  244. data/ext/cargo-vendor/wasmtime-13.0.0/src/engine.rs +790 -0
  245. data/ext/cargo-vendor/wasmtime-13.0.0/src/instance.rs +884 -0
  246. data/ext/cargo-vendor/wasmtime-13.0.0/src/limits.rs +398 -0
  247. data/ext/cargo-vendor/wasmtime-13.0.0/src/module.rs +1349 -0
  248. data/ext/cargo-vendor/wasmtime-13.0.0/src/store.rs +2246 -0
  249. data/ext/cargo-vendor/wasmtime-13.0.0/src/trampoline/memory.rs +255 -0
  250. data/ext/cargo-vendor/wasmtime-13.0.0/src/trampoline.rs +76 -0
  251. data/ext/cargo-vendor/wasmtime-asm-macros-13.0.0/.cargo-checksum.json +1 -0
  252. data/ext/cargo-vendor/wasmtime-asm-macros-13.0.0/Cargo.toml +22 -0
  253. data/ext/cargo-vendor/wasmtime-cache-13.0.0/.cargo-checksum.json +1 -0
  254. data/ext/cargo-vendor/wasmtime-cache-13.0.0/Cargo.toml +72 -0
  255. data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/config.rs +584 -0
  256. data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/worker/tests.rs +758 -0
  257. data/ext/cargo-vendor/wasmtime-cache-13.0.0/src/worker.rs +894 -0
  258. data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/.cargo-checksum.json +1 -0
  259. data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/Cargo.toml +58 -0
  260. data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/src/bindgen.rs +387 -0
  261. data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/src/component.rs +1295 -0
  262. data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/tests/codegen/resources-import.wit +87 -0
  263. data/ext/cargo-vendor/wasmtime-component-macro-13.0.0/tests/codegen/variants.wit +136 -0
  264. data/ext/cargo-vendor/wasmtime-component-util-13.0.0/.cargo-checksum.json +1 -0
  265. data/ext/cargo-vendor/wasmtime-component-util-13.0.0/Cargo.toml +25 -0
  266. data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/.cargo-checksum.json +1 -0
  267. data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/Cargo.toml +97 -0
  268. data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/builder.rs +123 -0
  269. data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/compiler.rs +1301 -0
  270. data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/debug/transform/attr.rs +340 -0
  271. data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/debug.rs +18 -0
  272. data/ext/cargo-vendor/wasmtime-cranelift-13.0.0/src/func_environ.rs +2589 -0
  273. data/ext/cargo-vendor/wasmtime-cranelift-shared-13.0.0/.cargo-checksum.json +1 -0
  274. data/ext/cargo-vendor/wasmtime-cranelift-shared-13.0.0/Cargo.toml +57 -0
  275. data/ext/cargo-vendor/wasmtime-environ-13.0.0/.cargo-checksum.json +1 -0
  276. data/ext/cargo-vendor/wasmtime-environ-13.0.0/Cargo.lock +711 -0
  277. data/ext/cargo-vendor/wasmtime-environ-13.0.0/Cargo.toml +118 -0
  278. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/address_map.rs +192 -0
  279. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/builtin.rs +143 -0
  280. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/compilation.rs +403 -0
  281. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/compiler.rs +47 -0
  282. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/info.rs +583 -0
  283. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/component/types.rs +1866 -0
  284. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/fact/trampoline.rs +3229 -0
  285. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/fact/transcode.rs +168 -0
  286. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/lib.rs +59 -0
  287. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module.rs +1083 -0
  288. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module_environ.rs +876 -0
  289. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/module_types.rs +78 -0
  290. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/stack_map.rs +36 -0
  291. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/tunables.rs +115 -0
  292. data/ext/cargo-vendor/wasmtime-environ-13.0.0/src/vmoffsets.rs +919 -0
  293. data/ext/cargo-vendor/wasmtime-fiber-13.0.0/.cargo-checksum.json +1 -0
  294. data/ext/cargo-vendor/wasmtime-fiber-13.0.0/Cargo.toml +51 -0
  295. data/ext/cargo-vendor/wasmtime-jit-13.0.0/.cargo-checksum.json +1 -0
  296. data/ext/cargo-vendor/wasmtime-jit-13.0.0/Cargo.toml +106 -0
  297. data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/instantiate.rs +760 -0
  298. data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/lib.rs +21 -0
  299. data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/miri.rs +15 -0
  300. data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/systemv.rs +90 -0
  301. data/ext/cargo-vendor/wasmtime-jit-13.0.0/src/unwind/winx64.rs +44 -0
  302. data/ext/cargo-vendor/wasmtime-jit-debug-13.0.0/.cargo-checksum.json +1 -0
  303. data/ext/cargo-vendor/wasmtime-jit-debug-13.0.0/Cargo.toml +58 -0
  304. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-13.0.0/.cargo-checksum.json +1 -0
  305. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-13.0.0/Cargo.toml +37 -0
  306. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/.cargo-checksum.json +1 -0
  307. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/Cargo.toml +122 -0
  308. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/on_demand.rs +154 -0
  309. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/index_allocator.rs +684 -0
  310. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/memory_pool.rs +460 -0
  311. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/stack_pool.rs +242 -0
  312. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling/table_pool.rs +221 -0
  313. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator/pooling.rs +633 -0
  314. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance/allocator.rs +686 -0
  315. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/instance.rs +1382 -0
  316. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/lib.rs +276 -0
  317. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/libcalls.rs +775 -0
  318. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/memory.rs +958 -0
  319. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/parking_spot.rs +520 -0
  320. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/table.rs +598 -0
  321. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/trampolines/s390x.S +70 -0
  322. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/traphandlers/macos.rs +486 -0
  323. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/traphandlers.rs +815 -0
  324. data/ext/cargo-vendor/wasmtime-runtime-13.0.0/src/vmcontext.rs +1197 -0
  325. data/ext/cargo-vendor/wasmtime-types-13.0.0/.cargo-checksum.json +1 -0
  326. data/ext/cargo-vendor/wasmtime-types-13.0.0/Cargo.toml +36 -0
  327. data/ext/cargo-vendor/wasmtime-types-13.0.0/src/lib.rs +504 -0
  328. data/ext/cargo-vendor/wasmtime-versioned-export-macros-13.0.0/.cargo-checksum.json +1 -0
  329. data/ext/cargo-vendor/wasmtime-versioned-export-macros-13.0.0/Cargo.toml +32 -0
  330. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/.cargo-checksum.json +1 -0
  331. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/Cargo.toml +232 -0
  332. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/lib.rs +135 -0
  333. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/command.rs +121 -0
  334. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/ctx.rs +351 -0
  335. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/filesystem.rs +277 -0
  336. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/clocks.rs +107 -0
  337. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/env.rs +15 -0
  338. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/exit.rs +11 -0
  339. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/filesystem/sync.rs +645 -0
  340. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/filesystem.rs +1167 -0
  341. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/instance_network.rs +11 -0
  342. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/io.rs +553 -0
  343. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/mod.rs +10 -0
  344. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/network.rs +186 -0
  345. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/tcp.rs +511 -0
  346. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/host/tcp_create_socket.rs +18 -0
  347. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/mod.rs +233 -0
  348. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/network.rs +32 -0
  349. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/pipe.rs +1067 -0
  350. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/preview1.rs +2078 -0
  351. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio/unix.rs +160 -0
  352. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio/worker_thread_stdin.rs +140 -0
  353. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stdio.rs +354 -0
  354. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/stream.rs +347 -0
  355. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/table.rs +293 -0
  356. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/src/preview2/tcp.rs +280 -0
  357. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/command-extended.wit +39 -0
  358. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/command.wit +33 -0
  359. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/environment.wit +18 -0
  360. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/exit.wit +4 -0
  361. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/run.wit +4 -0
  362. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/cli/terminal.wit +59 -0
  363. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/preopens.wit +6 -0
  364. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/types.wit +824 -0
  365. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/filesystem/world.wit +6 -0
  366. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/http/proxy.wit +34 -0
  367. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/http/types.wit +155 -0
  368. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/io/streams.wit +300 -0
  369. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/logging/logging.wit +37 -0
  370. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/ip-name-lookup.wit +69 -0
  371. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/network.wit +187 -0
  372. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/tcp-create-socket.wit +27 -0
  373. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/tcp.wit +268 -0
  374. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/udp-create-socket.wit +27 -0
  375. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/deps/sockets/udp.wit +220 -0
  376. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/main.wit +33 -0
  377. data/ext/cargo-vendor/wasmtime-wasi-13.0.0/wit/test.wit +41 -0
  378. data/ext/cargo-vendor/wasmtime-winch-13.0.0/.cargo-checksum.json +1 -0
  379. data/ext/cargo-vendor/wasmtime-winch-13.0.0/Cargo.toml +63 -0
  380. data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/.cargo-checksum.json +1 -0
  381. data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/Cargo.toml +32 -0
  382. data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/lib.rs +1953 -0
  383. data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/rust.rs +490 -0
  384. data/ext/cargo-vendor/wasmtime-wit-bindgen-13.0.0/src/types.rs +194 -0
  385. data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/.cargo-checksum.json +1 -0
  386. data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/Cargo.toml +22 -0
  387. data/ext/cargo-vendor/wasmtime-wmemcheck-13.0.0/src/lib.rs +404 -0
  388. data/ext/cargo-vendor/wast-65.0.1/.cargo-checksum.json +1 -0
  389. data/ext/cargo-vendor/wast-65.0.1/Cargo.toml +50 -0
  390. data/ext/cargo-vendor/wast-65.0.1/src/component/binary.rs +1021 -0
  391. data/ext/cargo-vendor/wast-65.0.1/src/component/expand.rs +875 -0
  392. data/ext/cargo-vendor/wast-65.0.1/src/component/resolve.rs +1005 -0
  393. data/ext/cargo-vendor/wast-65.0.1/src/component/types.rs +991 -0
  394. data/ext/cargo-vendor/wast-65.0.1/src/component/wast.rs +160 -0
  395. data/ext/cargo-vendor/wast-65.0.1/src/core/binary.rs +1241 -0
  396. data/ext/cargo-vendor/wast-65.0.1/src/core/expr.rs +2021 -0
  397. data/ext/cargo-vendor/wast-65.0.1/src/core/table.rs +288 -0
  398. data/ext/cargo-vendor/wast-65.0.1/src/core/types.rs +847 -0
  399. data/ext/cargo-vendor/wast-65.0.1/src/core/wast.rs +256 -0
  400. data/ext/cargo-vendor/wast-65.0.1/src/lib.rs +536 -0
  401. data/ext/cargo-vendor/wat-1.0.73/.cargo-checksum.json +1 -0
  402. data/ext/cargo-vendor/wat-1.0.73/Cargo.toml +27 -0
  403. data/ext/cargo-vendor/wiggle-13.0.0/.cargo-checksum.json +1 -0
  404. data/ext/cargo-vendor/wiggle-13.0.0/Cargo.toml +106 -0
  405. data/ext/cargo-vendor/wiggle-13.0.0/src/lib.rs +1198 -0
  406. data/ext/cargo-vendor/wiggle-generate-13.0.0/.cargo-checksum.json +1 -0
  407. data/ext/cargo-vendor/wiggle-generate-13.0.0/Cargo.toml +58 -0
  408. data/ext/cargo-vendor/wiggle-generate-13.0.0/LICENSE +220 -0
  409. data/ext/cargo-vendor/wiggle-generate-13.0.0/src/config.rs +663 -0
  410. data/ext/cargo-vendor/wiggle-generate-13.0.0/src/types/record.rs +132 -0
  411. data/ext/cargo-vendor/wiggle-generate-13.0.0/src/wasmtime.rs +170 -0
  412. data/ext/cargo-vendor/wiggle-macro-13.0.0/.cargo-checksum.json +1 -0
  413. data/ext/cargo-vendor/wiggle-macro-13.0.0/Cargo.toml +55 -0
  414. data/ext/cargo-vendor/wiggle-macro-13.0.0/LICENSE +220 -0
  415. data/ext/cargo-vendor/winch-codegen-0.11.0/.cargo-checksum.json +1 -0
  416. data/ext/cargo-vendor/winch-codegen-0.11.0/Cargo.toml +62 -0
  417. data/ext/cargo-vendor/winch-codegen-0.11.0/src/abi/mod.rs +269 -0
  418. data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/call.rs +219 -0
  419. data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/context.rs +423 -0
  420. data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/control.rs +456 -0
  421. data/ext/cargo-vendor/winch-codegen-0.11.0/src/codegen/mod.rs +337 -0
  422. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/abi.rs +260 -0
  423. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/address.rs +144 -0
  424. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/asm.rs +250 -0
  425. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/masm.rs +357 -0
  426. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/aarch64/regs.rs +177 -0
  427. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/reg.rs +73 -0
  428. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/abi.rs +390 -0
  429. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/address.rs +34 -0
  430. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/asm.rs +847 -0
  431. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/masm.rs +659 -0
  432. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/mod.rs +148 -0
  433. data/ext/cargo-vendor/winch-codegen-0.11.0/src/isa/x64/regs.rs +233 -0
  434. data/ext/cargo-vendor/winch-codegen-0.11.0/src/masm.rs +465 -0
  435. data/ext/cargo-vendor/winch-codegen-0.11.0/src/regalloc.rs +73 -0
  436. data/ext/cargo-vendor/winch-codegen-0.11.0/src/regset.rs +118 -0
  437. data/ext/cargo-vendor/winch-codegen-0.11.0/src/stack.rs +338 -0
  438. data/ext/cargo-vendor/winch-codegen-0.11.0/src/trampoline.rs +489 -0
  439. data/ext/cargo-vendor/winch-codegen-0.11.0/src/visitor.rs +736 -0
  440. data/ext/cargo-vendor/wit-parser-0.11.1/.cargo-checksum.json +1 -0
  441. data/ext/cargo-vendor/wit-parser-0.11.1/Cargo.toml +70 -0
  442. data/ext/cargo-vendor/wit-parser-0.11.1/src/abi.rs +241 -0
  443. data/ext/cargo-vendor/wit-parser-0.11.1/src/ast/lex.rs +714 -0
  444. data/ext/cargo-vendor/wit-parser-0.11.1/src/ast/resolve.rs +1418 -0
  445. data/ext/cargo-vendor/wit-parser-0.11.1/src/ast.rs +1361 -0
  446. data/ext/cargo-vendor/wit-parser-0.11.1/src/lib.rs +711 -0
  447. data/ext/cargo-vendor/wit-parser-0.11.1/src/live.rs +111 -0
  448. data/ext/cargo-vendor/wit-parser-0.11.1/src/resolve.rs +1757 -0
  449. data/ext/cargo-vendor/wit-parser-0.11.1/src/serde_.rs +108 -0
  450. data/ext/cargo-vendor/wit-parser-0.11.1/src/sizealign.rs +144 -0
  451. data/ext/cargo-vendor/wit-parser-0.11.1/tests/all.rs +190 -0
  452. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/comments.wit.json +46 -0
  453. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/complex-include.wit.json +168 -0
  454. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/cross-package-resource.wit.json +67 -0
  455. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/diamond1.wit.json +55 -0
  456. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/disambiguate-diamond.wit.json +107 -0
  457. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/embedded.wit.md.json +40 -0
  458. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/empty.wit.json +12 -0
  459. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/foreign-deps-union.wit.json +380 -0
  460. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/foreign-deps.wit.json +344 -0
  461. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/functions.wit.json +166 -0
  462. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/ignore-files-deps.wit.json +39 -0
  463. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/include-reps.wit.json +60 -0
  464. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/kebab-name-include-with.wit.json +70 -0
  465. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/many-names.wit.json +40 -0
  466. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/multi-file.wit.json +298 -0
  467. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/name-both-resource-and-type.wit.json +89 -0
  468. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax1.wit.json +12 -0
  469. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax3.wit.json +12 -0
  470. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/package-syntax4.wit.json +12 -0
  471. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs/a.wit +2 -0
  472. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs/b.wit +2 -0
  473. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/parse-fail/multiple-package-docs.wit.result +8 -0
  474. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/random.wit +27 -0
  475. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/random.wit.json +64 -0
  476. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-empty.wit.json +72 -0
  477. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple-returns-borrow.wit.json +74 -0
  478. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple-returns-own.wit.json +83 -0
  479. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-multiple.wit.json +281 -0
  480. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-return-borrow.wit.json +69 -0
  481. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources-return-own.wit.json +78 -0
  482. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources.wit.json +340 -0
  483. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/resources1.wit.json +96 -0
  484. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/shared-types.wit.json +83 -0
  485. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/stress-export-elaborate.wit.json +1136 -0
  486. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/type-then-eof.wit.json +32 -0
  487. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/types.wit +58 -0
  488. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/types.wit.json +751 -0
  489. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/union-fuzz-1.wit.json +35 -0
  490. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/use-chain.wit.json +53 -0
  491. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/use.wit.json +172 -0
  492. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/versions.wit.json +91 -0
  493. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/wasi.wit.json +296 -0
  494. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-diamond.wit +23 -0
  495. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-diamond.wit.json +118 -0
  496. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-iface-no-collide.wit.json +66 -0
  497. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import1.wit.json +75 -0
  498. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import2.wit.json +70 -0
  499. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-implicit-import3.wit.json +71 -0
  500. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-same-fields4.wit.json +76 -0
  501. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-top-level-funcs.wit.json +86 -0
  502. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/world-top-level-resources.wit.json +240 -0
  503. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/worlds-union-dedup.wit.json +100 -0
  504. data/ext/cargo-vendor/wit-parser-0.11.1/tests/ui/worlds-with-types.wit.json +202 -0
  505. data/ext/src/ruby_api/wasi_ctx_builder.rs +8 -8
  506. data/lib/wasmtime/version.rb +1 -1
  507. metadata +1627 -1813
  508. data/ext/cargo-vendor/addr2line-0.20.0/.cargo-checksum.json +0 -1
  509. data/ext/cargo-vendor/addr2line-0.20.0/CHANGELOG.md +0 -321
  510. data/ext/cargo-vendor/addr2line-0.20.0/Cargo.lock +0 -548
  511. data/ext/cargo-vendor/addr2line-0.20.0/Cargo.toml +0 -145
  512. data/ext/cargo-vendor/addr2line-0.20.0/LICENSE-MIT +0 -25
  513. data/ext/cargo-vendor/addr2line-0.20.0/README.md +0 -48
  514. data/ext/cargo-vendor/addr2line-0.20.0/bench.plot.r +0 -23
  515. data/ext/cargo-vendor/addr2line-0.20.0/benchmark.sh +0 -112
  516. data/ext/cargo-vendor/addr2line-0.20.0/coverage.sh +0 -5
  517. data/ext/cargo-vendor/addr2line-0.20.0/examples/addr2line.rs +0 -306
  518. data/ext/cargo-vendor/addr2line-0.20.0/rustfmt.toml +0 -1
  519. data/ext/cargo-vendor/addr2line-0.20.0/src/builtin_split_dwarf_loader.rs +0 -164
  520. data/ext/cargo-vendor/addr2line-0.20.0/src/function.rs +0 -555
  521. data/ext/cargo-vendor/addr2line-0.20.0/src/lazy.rs +0 -31
  522. data/ext/cargo-vendor/addr2line-0.20.0/src/lib.rs +0 -1729
  523. data/ext/cargo-vendor/addr2line-0.20.0/tests/correctness.rs +0 -126
  524. data/ext/cargo-vendor/addr2line-0.20.0/tests/output_equivalence.rs +0 -135
  525. data/ext/cargo-vendor/addr2line-0.20.0/tests/parse.rs +0 -114
  526. data/ext/cargo-vendor/cranelift-bforest-0.99.1/.cargo-checksum.json +0 -1
  527. data/ext/cargo-vendor/cranelift-bforest-0.99.1/Cargo.toml +0 -31
  528. data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/lib.rs +0 -198
  529. data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/map.rs +0 -923
  530. data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/pool.rs +0 -220
  531. data/ext/cargo-vendor/cranelift-bforest-0.99.1/src/set.rs +0 -598
  532. data/ext/cargo-vendor/cranelift-codegen-0.99.1/.cargo-checksum.json +0 -1
  533. data/ext/cargo-vendor/cranelift-codegen-0.99.1/Cargo.toml +0 -159
  534. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/binemit/mod.rs +0 -141
  535. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/binemit/stack_map.rs +0 -152
  536. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/bitset.rs +0 -163
  537. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/context.rs +0 -368
  538. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/incremental_cache.rs +0 -256
  539. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/atomic_rmw_op.rs +0 -104
  540. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/condcodes.rs +0 -404
  541. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/constant.rs +0 -463
  542. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/dfg.rs +0 -1686
  543. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/dynamic_type.rs +0 -55
  544. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/entities.rs +0 -567
  545. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/extfunc.rs +0 -411
  546. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/extname.rs +0 -333
  547. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/function.rs +0 -469
  548. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/globalvalue.rs +0 -155
  549. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/immediates.rs +0 -1615
  550. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/instructions.rs +0 -1000
  551. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/jumptable.rs +0 -168
  552. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/known_symbol.rs +0 -47
  553. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/libcall.rs +0 -232
  554. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/memflags.rs +0 -279
  555. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/mod.rs +0 -106
  556. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/sourceloc.rs +0 -117
  557. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/stackslot.rs +0 -216
  558. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/table.rs +0 -40
  559. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/trapcode.rs +0 -144
  560. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/ir/types.rs +0 -630
  561. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/abi.rs +0 -1543
  562. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/args.rs +0 -741
  563. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/emit.rs +0 -3919
  564. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/emit_tests.rs +0 -7897
  565. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst/mod.rs +0 -3039
  566. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/inst.isle +0 -4048
  567. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower/isle.rs +0 -873
  568. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower.isle +0 -2907
  569. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower.rs +0 -702
  570. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/aarch64/lower_dynamic_neon.isle +0 -110
  571. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/call_conv.rs +0 -119
  572. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/abi.rs +0 -985
  573. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/args.rs +0 -1812
  574. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/emit.rs +0 -3254
  575. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/encode.rs +0 -281
  576. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/imms.rs +0 -250
  577. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/mod.rs +0 -2125
  578. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst/vector.rs +0 -939
  579. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst.isle +0 -2972
  580. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/inst_vector.isle +0 -1650
  581. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower/isle.rs +0 -620
  582. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/riscv64/lower.isle +0 -2002
  583. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/abi.rs +0 -948
  584. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/inst/mod.rs +0 -3426
  585. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/inst.isle +0 -5043
  586. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/s390x/lower.isle +0 -3983
  587. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind/systemv.rs +0 -272
  588. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind/winx64.rs +0 -334
  589. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/unwind.rs +0 -182
  590. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/abi.rs +0 -1204
  591. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/encoding/evex.rs +0 -749
  592. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/encoding/rex.rs +0 -588
  593. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/args.rs +0 -2193
  594. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/emit.rs +0 -4298
  595. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/emit_tests.rs +0 -5678
  596. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst/mod.rs +0 -2759
  597. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/inst.isle +0 -5079
  598. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower/isle.rs +0 -1096
  599. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower.isle +0 -4651
  600. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isa/x64/lower.rs +0 -340
  601. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/isle_prelude.rs +0 -894
  602. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/legalizer/mod.rs +0 -346
  603. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/lib.rs +0 -140
  604. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/abi.rs +0 -2641
  605. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/buffer.rs +0 -2365
  606. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/isle.rs +0 -837
  607. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/mod.rs +0 -551
  608. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/reg.rs +0 -556
  609. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/machinst/vcode.rs +0 -1591
  610. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/bitops.isle +0 -106
  611. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/cprop.isle +0 -200
  612. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/extends.isle +0 -41
  613. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/icmp.isle +0 -177
  614. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/selects.isle +0 -63
  615. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/opts/vector.isle +0 -8
  616. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/prelude.isle +0 -594
  617. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/prelude_lower.isle +0 -1024
  618. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/value_label.rs +0 -32
  619. data/ext/cargo-vendor/cranelift-codegen-0.99.1/src/verifier/mod.rs +0 -1884
  620. data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/.cargo-checksum.json +0 -1
  621. data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/Cargo.toml +0 -26
  622. data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/constant_hash.rs +0 -64
  623. data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/gen_inst.rs +0 -1785
  624. data/ext/cargo-vendor/cranelift-codegen-meta-0.99.1/src/shared/instructions.rs +0 -3847
  625. data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/.cargo-checksum.json +0 -1
  626. data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/Cargo.toml +0 -22
  627. data/ext/cargo-vendor/cranelift-codegen-shared-0.99.1/src/lib.rs +0 -26
  628. data/ext/cargo-vendor/cranelift-control-0.99.1/.cargo-checksum.json +0 -1
  629. data/ext/cargo-vendor/cranelift-control-0.99.1/Cargo.toml +0 -30
  630. data/ext/cargo-vendor/cranelift-entity-0.99.1/.cargo-checksum.json +0 -1
  631. data/ext/cargo-vendor/cranelift-entity-0.99.1/Cargo.toml +0 -35
  632. data/ext/cargo-vendor/cranelift-entity-0.99.1/src/lib.rs +0 -330
  633. data/ext/cargo-vendor/cranelift-entity-0.99.1/src/list.rs +0 -955
  634. data/ext/cargo-vendor/cranelift-entity-0.99.1/src/packed_option.rs +0 -171
  635. data/ext/cargo-vendor/cranelift-entity-0.99.1/src/primary.rs +0 -456
  636. data/ext/cargo-vendor/cranelift-entity-0.99.1/src/sparse.rs +0 -368
  637. data/ext/cargo-vendor/cranelift-frontend-0.99.1/.cargo-checksum.json +0 -1
  638. data/ext/cargo-vendor/cranelift-frontend-0.99.1/Cargo.toml +0 -53
  639. data/ext/cargo-vendor/cranelift-frontend-0.99.1/src/lib.rs +0 -204
  640. data/ext/cargo-vendor/cranelift-isle-0.99.1/.cargo-checksum.json +0 -1
  641. data/ext/cargo-vendor/cranelift-isle-0.99.1/Cargo.toml +0 -37
  642. data/ext/cargo-vendor/cranelift-native-0.99.1/.cargo-checksum.json +0 -1
  643. data/ext/cargo-vendor/cranelift-native-0.99.1/Cargo.toml +0 -38
  644. data/ext/cargo-vendor/cranelift-native-0.99.1/src/lib.rs +0 -204
  645. data/ext/cargo-vendor/cranelift-wasm-0.99.1/.cargo-checksum.json +0 -1
  646. data/ext/cargo-vendor/cranelift-wasm-0.99.1/Cargo.toml +0 -85
  647. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/code_translator.rs +0 -3608
  648. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/dummy.rs +0 -942
  649. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/environ/spec.rs +0 -913
  650. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/func_translator.rs +0 -431
  651. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/heap.rs +0 -99
  652. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/lib.rs +0 -78
  653. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/sections_translator.rs +0 -420
  654. data/ext/cargo-vendor/cranelift-wasm-0.99.1/src/translation_utils.rs +0 -99
  655. data/ext/cargo-vendor/env_logger-0.10.0/.cargo-checksum.json +0 -1
  656. data/ext/cargo-vendor/env_logger-0.10.0/Cargo.lock +0 -254
  657. data/ext/cargo-vendor/env_logger-0.10.0/Cargo.toml +0 -129
  658. data/ext/cargo-vendor/env_logger-0.10.0/LICENSE-APACHE +0 -201
  659. data/ext/cargo-vendor/env_logger-0.10.0/README.md +0 -183
  660. data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_default_format.rs +0 -40
  661. data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_format.rs +0 -54
  662. data/ext/cargo-vendor/env_logger-0.10.0/examples/custom_logger.rs +0 -62
  663. data/ext/cargo-vendor/env_logger-0.10.0/examples/default.rs +0 -38
  664. data/ext/cargo-vendor/env_logger-0.10.0/examples/direct_logger.rs +0 -39
  665. data/ext/cargo-vendor/env_logger-0.10.0/examples/filters_from_code.rs +0 -20
  666. data/ext/cargo-vendor/env_logger-0.10.0/examples/in_tests.rs +0 -54
  667. data/ext/cargo-vendor/env_logger-0.10.0/examples/syslog_friendly_format.rs +0 -24
  668. data/ext/cargo-vendor/env_logger-0.10.0/src/filter/mod.rs +0 -868
  669. data/ext/cargo-vendor/env_logger-0.10.0/src/filter/regex.rs +0 -29
  670. data/ext/cargo-vendor/env_logger-0.10.0/src/filter/string.rs +0 -24
  671. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/extern_impl.rs +0 -118
  672. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/mod.rs +0 -11
  673. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/humantime/shim_impl.rs +0 -5
  674. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/mod.rs +0 -652
  675. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/atty.rs +0 -33
  676. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/mod.rs +0 -253
  677. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/extern_impl.rs +0 -532
  678. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/mod.rs +0 -12
  679. data/ext/cargo-vendor/env_logger-0.10.0/src/fmt/writer/termcolor/shim_impl.rs +0 -72
  680. data/ext/cargo-vendor/env_logger-0.10.0/src/lib.rs +0 -1311
  681. data/ext/cargo-vendor/env_logger-0.10.0/tests/init-twice-retains-filter.rs +0 -40
  682. data/ext/cargo-vendor/env_logger-0.10.0/tests/log-in-log.rs +0 -39
  683. data/ext/cargo-vendor/env_logger-0.10.0/tests/log_tls_dtors.rs +0 -66
  684. data/ext/cargo-vendor/env_logger-0.10.0/tests/regexp_filter.rs +0 -57
  685. data/ext/cargo-vendor/fallible-iterator-0.2.0/.cargo-checksum.json +0 -1
  686. data/ext/cargo-vendor/fallible-iterator-0.2.0/CHANGELOG.md +0 -26
  687. data/ext/cargo-vendor/fallible-iterator-0.2.0/Cargo.toml +0 -27
  688. data/ext/cargo-vendor/fallible-iterator-0.2.0/README.md +0 -15
  689. data/ext/cargo-vendor/fallible-iterator-0.2.0/src/lib.rs +0 -2606
  690. data/ext/cargo-vendor/fallible-iterator-0.2.0/src/test.rs +0 -455
  691. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +0 -1
  692. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +0 -36
  693. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/README.md +0 -25
  694. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +0 -12
  695. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +0 -200
  696. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +0 -323
  697. data/ext/cargo-vendor/gimli-0.27.3/.cargo-checksum.json +0 -1
  698. data/ext/cargo-vendor/gimli-0.27.3/CHANGELOG.md +0 -943
  699. data/ext/cargo-vendor/gimli-0.27.3/Cargo.lock +0 -345
  700. data/ext/cargo-vendor/gimli-0.27.3/Cargo.toml +0 -151
  701. data/ext/cargo-vendor/gimli-0.27.3/LICENSE-APACHE +0 -201
  702. data/ext/cargo-vendor/gimli-0.27.3/LICENSE-MIT +0 -25
  703. data/ext/cargo-vendor/gimli-0.27.3/README.md +0 -78
  704. data/ext/cargo-vendor/gimli-0.27.3/examples/dwarf-validate.rs +0 -267
  705. data/ext/cargo-vendor/gimli-0.27.3/examples/dwarfdump.rs +0 -2369
  706. data/ext/cargo-vendor/gimli-0.27.3/examples/simple.rs +0 -67
  707. data/ext/cargo-vendor/gimli-0.27.3/examples/simple_line.rs +0 -106
  708. data/ext/cargo-vendor/gimli-0.27.3/src/arch.rs +0 -751
  709. data/ext/cargo-vendor/gimli-0.27.3/src/common.rs +0 -381
  710. data/ext/cargo-vendor/gimli-0.27.3/src/constants.rs +0 -1426
  711. data/ext/cargo-vendor/gimli-0.27.3/src/endianity.rs +0 -256
  712. data/ext/cargo-vendor/gimli-0.27.3/src/leb128.rs +0 -612
  713. data/ext/cargo-vendor/gimli-0.27.3/src/lib.rs +0 -79
  714. data/ext/cargo-vendor/gimli-0.27.3/src/read/abbrev.rs +0 -1089
  715. data/ext/cargo-vendor/gimli-0.27.3/src/read/addr.rs +0 -128
  716. data/ext/cargo-vendor/gimli-0.27.3/src/read/aranges.rs +0 -660
  717. data/ext/cargo-vendor/gimli-0.27.3/src/read/cfi.rs +0 -7574
  718. data/ext/cargo-vendor/gimli-0.27.3/src/read/dwarf.rs +0 -1184
  719. data/ext/cargo-vendor/gimli-0.27.3/src/read/endian_reader.rs +0 -639
  720. data/ext/cargo-vendor/gimli-0.27.3/src/read/endian_slice.rs +0 -350
  721. data/ext/cargo-vendor/gimli-0.27.3/src/read/index.rs +0 -535
  722. data/ext/cargo-vendor/gimli-0.27.3/src/read/lazy.rs +0 -116
  723. data/ext/cargo-vendor/gimli-0.27.3/src/read/line.rs +0 -3130
  724. data/ext/cargo-vendor/gimli-0.27.3/src/read/lists.rs +0 -68
  725. data/ext/cargo-vendor/gimli-0.27.3/src/read/loclists.rs +0 -1627
  726. data/ext/cargo-vendor/gimli-0.27.3/src/read/lookup.rs +0 -202
  727. data/ext/cargo-vendor/gimli-0.27.3/src/read/mod.rs +0 -830
  728. data/ext/cargo-vendor/gimli-0.27.3/src/read/op.rs +0 -4119
  729. data/ext/cargo-vendor/gimli-0.27.3/src/read/pubnames.rs +0 -141
  730. data/ext/cargo-vendor/gimli-0.27.3/src/read/pubtypes.rs +0 -141
  731. data/ext/cargo-vendor/gimli-0.27.3/src/read/reader.rs +0 -502
  732. data/ext/cargo-vendor/gimli-0.27.3/src/read/rnglists.rs +0 -1458
  733. data/ext/cargo-vendor/gimli-0.27.3/src/read/str.rs +0 -321
  734. data/ext/cargo-vendor/gimli-0.27.3/src/read/unit.rs +0 -6139
  735. data/ext/cargo-vendor/gimli-0.27.3/src/read/util.rs +0 -251
  736. data/ext/cargo-vendor/gimli-0.27.3/src/read/value.rs +0 -1621
  737. data/ext/cargo-vendor/gimli-0.27.3/src/test_util.rs +0 -53
  738. data/ext/cargo-vendor/gimli-0.27.3/src/write/abbrev.rs +0 -188
  739. data/ext/cargo-vendor/gimli-0.27.3/src/write/cfi.rs +0 -1025
  740. data/ext/cargo-vendor/gimli-0.27.3/src/write/dwarf.rs +0 -138
  741. data/ext/cargo-vendor/gimli-0.27.3/src/write/endian_vec.rs +0 -117
  742. data/ext/cargo-vendor/gimli-0.27.3/src/write/line.rs +0 -1957
  743. data/ext/cargo-vendor/gimli-0.27.3/src/write/loc.rs +0 -550
  744. data/ext/cargo-vendor/gimli-0.27.3/src/write/mod.rs +0 -425
  745. data/ext/cargo-vendor/gimli-0.27.3/src/write/op.rs +0 -1618
  746. data/ext/cargo-vendor/gimli-0.27.3/src/write/range.rs +0 -416
  747. data/ext/cargo-vendor/gimli-0.27.3/src/write/section.rs +0 -172
  748. data/ext/cargo-vendor/gimli-0.27.3/src/write/str.rs +0 -172
  749. data/ext/cargo-vendor/gimli-0.27.3/src/write/unit.rs +0 -3152
  750. data/ext/cargo-vendor/gimli-0.27.3/src/write/writer.rs +0 -494
  751. data/ext/cargo-vendor/hashbrown-0.12.3/.cargo-checksum.json +0 -1
  752. data/ext/cargo-vendor/hashbrown-0.12.3/CHANGELOG.md +0 -402
  753. data/ext/cargo-vendor/hashbrown-0.12.3/Cargo.toml +0 -113
  754. data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-APACHE +0 -201
  755. data/ext/cargo-vendor/hashbrown-0.12.3/LICENSE-MIT +0 -25
  756. data/ext/cargo-vendor/hashbrown-0.12.3/README.md +0 -126
  757. data/ext/cargo-vendor/hashbrown-0.12.3/benches/bench.rs +0 -331
  758. data/ext/cargo-vendor/hashbrown-0.12.3/benches/insert_unique_unchecked.rs +0 -32
  759. data/ext/cargo-vendor/hashbrown-0.12.3/clippy.toml +0 -1
  760. data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/mod.rs +0 -4
  761. data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/helpers.rs +0 -27
  762. data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/map.rs +0 -734
  763. data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/mod.rs +0 -4
  764. data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/raw.rs +0 -231
  765. data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/rayon/set.rs +0 -659
  766. data/ext/cargo-vendor/hashbrown-0.12.3/src/external_trait_impls/serde.rs +0 -201
  767. data/ext/cargo-vendor/hashbrown-0.12.3/src/lib.rs +0 -150
  768. data/ext/cargo-vendor/hashbrown-0.12.3/src/macros.rs +0 -70
  769. data/ext/cargo-vendor/hashbrown-0.12.3/src/map.rs +0 -8408
  770. data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/alloc.rs +0 -73
  771. data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/bitmask.rs +0 -122
  772. data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/generic.rs +0 -154
  773. data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/mod.rs +0 -2460
  774. data/ext/cargo-vendor/hashbrown-0.12.3/src/raw/sse2.rs +0 -146
  775. data/ext/cargo-vendor/hashbrown-0.12.3/src/rustc_entry.rs +0 -630
  776. data/ext/cargo-vendor/hashbrown-0.12.3/src/scopeguard.rs +0 -74
  777. data/ext/cargo-vendor/hashbrown-0.12.3/src/set.rs +0 -2790
  778. data/ext/cargo-vendor/hashbrown-0.12.3/tests/hasher.rs +0 -65
  779. data/ext/cargo-vendor/hashbrown-0.12.3/tests/rayon.rs +0 -533
  780. data/ext/cargo-vendor/hashbrown-0.12.3/tests/serde.rs +0 -65
  781. data/ext/cargo-vendor/hashbrown-0.12.3/tests/set.rs +0 -34
  782. data/ext/cargo-vendor/humantime-2.1.0/.cargo-checksum.json +0 -1
  783. data/ext/cargo-vendor/humantime-2.1.0/Cargo.toml +0 -37
  784. data/ext/cargo-vendor/humantime-2.1.0/LICENSE-APACHE +0 -202
  785. data/ext/cargo-vendor/humantime-2.1.0/LICENSE-MIT +0 -26
  786. data/ext/cargo-vendor/humantime-2.1.0/README.md +0 -68
  787. data/ext/cargo-vendor/humantime-2.1.0/benches/datetime_format.rs +0 -56
  788. data/ext/cargo-vendor/humantime-2.1.0/benches/datetime_parse.rs +0 -47
  789. data/ext/cargo-vendor/humantime-2.1.0/bulk.yaml +0 -8
  790. data/ext/cargo-vendor/humantime-2.1.0/src/date.rs +0 -623
  791. data/ext/cargo-vendor/humantime-2.1.0/src/duration.rs +0 -456
  792. data/ext/cargo-vendor/humantime-2.1.0/src/lib.rs +0 -34
  793. data/ext/cargo-vendor/humantime-2.1.0/src/wrapper.rs +0 -107
  794. data/ext/cargo-vendor/humantime-2.1.0/vagga.yaml +0 -92
  795. data/ext/cargo-vendor/indexmap-1.9.3/.cargo-checksum.json +0 -1
  796. data/ext/cargo-vendor/indexmap-1.9.3/Cargo.toml +0 -108
  797. data/ext/cargo-vendor/indexmap-1.9.3/LICENSE-APACHE +0 -201
  798. data/ext/cargo-vendor/indexmap-1.9.3/LICENSE-MIT +0 -25
  799. data/ext/cargo-vendor/indexmap-1.9.3/README.md +0 -55
  800. data/ext/cargo-vendor/indexmap-1.9.3/RELEASES.md +0 -388
  801. data/ext/cargo-vendor/indexmap-1.9.3/benches/bench.rs +0 -763
  802. data/ext/cargo-vendor/indexmap-1.9.3/benches/faststring.rs +0 -185
  803. data/ext/cargo-vendor/indexmap-1.9.3/build.rs +0 -8
  804. data/ext/cargo-vendor/indexmap-1.9.3/src/arbitrary.rs +0 -75
  805. data/ext/cargo-vendor/indexmap-1.9.3/src/equivalent.rs +0 -27
  806. data/ext/cargo-vendor/indexmap-1.9.3/src/lib.rs +0 -194
  807. data/ext/cargo-vendor/indexmap-1.9.3/src/macros.rs +0 -178
  808. data/ext/cargo-vendor/indexmap-1.9.3/src/map/core/raw.rs +0 -191
  809. data/ext/cargo-vendor/indexmap-1.9.3/src/map/core.rs +0 -700
  810. data/ext/cargo-vendor/indexmap-1.9.3/src/map.rs +0 -1947
  811. data/ext/cargo-vendor/indexmap-1.9.3/src/mutable_keys.rs +0 -75
  812. data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/map.rs +0 -583
  813. data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/mod.rs +0 -27
  814. data/ext/cargo-vendor/indexmap-1.9.3/src/rayon/set.rs +0 -741
  815. data/ext/cargo-vendor/indexmap-1.9.3/src/rustc.rs +0 -158
  816. data/ext/cargo-vendor/indexmap-1.9.3/src/serde.rs +0 -155
  817. data/ext/cargo-vendor/indexmap-1.9.3/src/serde_seq.rs +0 -112
  818. data/ext/cargo-vendor/indexmap-1.9.3/src/set.rs +0 -1912
  819. data/ext/cargo-vendor/indexmap-1.9.3/src/util.rs +0 -31
  820. data/ext/cargo-vendor/indexmap-1.9.3/tests/equivalent_trait.rs +0 -53
  821. data/ext/cargo-vendor/indexmap-1.9.3/tests/macros_full_path.rs +0 -19
  822. data/ext/cargo-vendor/indexmap-1.9.3/tests/quick.rs +0 -573
  823. data/ext/cargo-vendor/indexmap-1.9.3/tests/tests.rs +0 -28
  824. data/ext/cargo-vendor/object-0.31.1/.cargo-checksum.json +0 -1
  825. data/ext/cargo-vendor/object-0.31.1/CHANGELOG.md +0 -621
  826. data/ext/cargo-vendor/object-0.31.1/Cargo.toml +0 -161
  827. data/ext/cargo-vendor/object-0.31.1/LICENSE-APACHE +0 -201
  828. data/ext/cargo-vendor/object-0.31.1/LICENSE-MIT +0 -25
  829. data/ext/cargo-vendor/object-0.31.1/README.md +0 -58
  830. data/ext/cargo-vendor/object-0.31.1/clippy.toml +0 -1
  831. data/ext/cargo-vendor/object-0.31.1/src/archive.rs +0 -91
  832. data/ext/cargo-vendor/object-0.31.1/src/common.rs +0 -499
  833. data/ext/cargo-vendor/object-0.31.1/src/elf.rs +0 -6146
  834. data/ext/cargo-vendor/object-0.31.1/src/endian.rs +0 -831
  835. data/ext/cargo-vendor/object-0.31.1/src/lib.rs +0 -116
  836. data/ext/cargo-vendor/object-0.31.1/src/macho.rs +0 -3307
  837. data/ext/cargo-vendor/object-0.31.1/src/pe.rs +0 -3050
  838. data/ext/cargo-vendor/object-0.31.1/src/pod.rs +0 -239
  839. data/ext/cargo-vendor/object-0.31.1/src/read/any.rs +0 -1323
  840. data/ext/cargo-vendor/object-0.31.1/src/read/archive.rs +0 -739
  841. data/ext/cargo-vendor/object-0.31.1/src/read/coff/comdat.rs +0 -207
  842. data/ext/cargo-vendor/object-0.31.1/src/read/coff/file.rs +0 -364
  843. data/ext/cargo-vendor/object-0.31.1/src/read/coff/mod.rs +0 -18
  844. data/ext/cargo-vendor/object-0.31.1/src/read/coff/relocation.rs +0 -104
  845. data/ext/cargo-vendor/object-0.31.1/src/read/coff/section.rs +0 -574
  846. data/ext/cargo-vendor/object-0.31.1/src/read/coff/symbol.rs +0 -626
  847. data/ext/cargo-vendor/object-0.31.1/src/read/elf/attributes.rs +0 -303
  848. data/ext/cargo-vendor/object-0.31.1/src/read/elf/comdat.rs +0 -160
  849. data/ext/cargo-vendor/object-0.31.1/src/read/elf/compression.rs +0 -56
  850. data/ext/cargo-vendor/object-0.31.1/src/read/elf/dynamic.rs +0 -117
  851. data/ext/cargo-vendor/object-0.31.1/src/read/elf/file.rs +0 -910
  852. data/ext/cargo-vendor/object-0.31.1/src/read/elf/hash.rs +0 -220
  853. data/ext/cargo-vendor/object-0.31.1/src/read/elf/mod.rs +0 -42
  854. data/ext/cargo-vendor/object-0.31.1/src/read/elf/note.rs +0 -263
  855. data/ext/cargo-vendor/object-0.31.1/src/read/elf/relocation.rs +0 -571
  856. data/ext/cargo-vendor/object-0.31.1/src/read/elf/section.rs +0 -1146
  857. data/ext/cargo-vendor/object-0.31.1/src/read/elf/segment.rs +0 -332
  858. data/ext/cargo-vendor/object-0.31.1/src/read/elf/symbol.rs +0 -577
  859. data/ext/cargo-vendor/object-0.31.1/src/read/elf/version.rs +0 -421
  860. data/ext/cargo-vendor/object-0.31.1/src/read/macho/dyld_cache.rs +0 -343
  861. data/ext/cargo-vendor/object-0.31.1/src/read/macho/fat.rs +0 -122
  862. data/ext/cargo-vendor/object-0.31.1/src/read/macho/file.rs +0 -731
  863. data/ext/cargo-vendor/object-0.31.1/src/read/macho/load_command.rs +0 -373
  864. data/ext/cargo-vendor/object-0.31.1/src/read/macho/mod.rs +0 -30
  865. data/ext/cargo-vendor/object-0.31.1/src/read/macho/relocation.rs +0 -127
  866. data/ext/cargo-vendor/object-0.31.1/src/read/macho/section.rs +0 -387
  867. data/ext/cargo-vendor/object-0.31.1/src/read/macho/segment.rs +0 -301
  868. data/ext/cargo-vendor/object-0.31.1/src/read/macho/symbol.rs +0 -488
  869. data/ext/cargo-vendor/object-0.31.1/src/read/mod.rs +0 -760
  870. data/ext/cargo-vendor/object-0.31.1/src/read/pe/data_directory.rs +0 -211
  871. data/ext/cargo-vendor/object-0.31.1/src/read/pe/export.rs +0 -331
  872. data/ext/cargo-vendor/object-0.31.1/src/read/pe/file.rs +0 -1029
  873. data/ext/cargo-vendor/object-0.31.1/src/read/pe/import.rs +0 -332
  874. data/ext/cargo-vendor/object-0.31.1/src/read/pe/mod.rs +0 -34
  875. data/ext/cargo-vendor/object-0.31.1/src/read/pe/relocation.rs +0 -90
  876. data/ext/cargo-vendor/object-0.31.1/src/read/pe/resource.rs +0 -207
  877. data/ext/cargo-vendor/object-0.31.1/src/read/pe/rich.rs +0 -91
  878. data/ext/cargo-vendor/object-0.31.1/src/read/pe/section.rs +0 -434
  879. data/ext/cargo-vendor/object-0.31.1/src/read/read_cache.rs +0 -182
  880. data/ext/cargo-vendor/object-0.31.1/src/read/read_ref.rs +0 -137
  881. data/ext/cargo-vendor/object-0.31.1/src/read/traits.rs +0 -469
  882. data/ext/cargo-vendor/object-0.31.1/src/read/util.rs +0 -425
  883. data/ext/cargo-vendor/object-0.31.1/src/read/wasm.rs +0 -951
  884. data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/comdat.rs +0 -129
  885. data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/file.rs +0 -629
  886. data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/mod.rs +0 -21
  887. data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/relocation.rs +0 -127
  888. data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/section.rs +0 -427
  889. data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/segment.rs +0 -113
  890. data/ext/cargo-vendor/object-0.31.1/src/read/xcoff/symbol.rs +0 -695
  891. data/ext/cargo-vendor/object-0.31.1/src/write/coff.rs +0 -725
  892. data/ext/cargo-vendor/object-0.31.1/src/write/elf/mod.rs +0 -9
  893. data/ext/cargo-vendor/object-0.31.1/src/write/elf/object.rs +0 -891
  894. data/ext/cargo-vendor/object-0.31.1/src/write/elf/writer.rs +0 -2143
  895. data/ext/cargo-vendor/object-0.31.1/src/write/macho.rs +0 -978
  896. data/ext/cargo-vendor/object-0.31.1/src/write/mod.rs +0 -943
  897. data/ext/cargo-vendor/object-0.31.1/src/write/pe.rs +0 -847
  898. data/ext/cargo-vendor/object-0.31.1/src/write/string.rs +0 -159
  899. data/ext/cargo-vendor/object-0.31.1/src/write/util.rs +0 -260
  900. data/ext/cargo-vendor/object-0.31.1/src/write/xcoff.rs +0 -556
  901. data/ext/cargo-vendor/object-0.31.1/src/xcoff.rs +0 -893
  902. data/ext/cargo-vendor/object-0.31.1/tests/integration.rs +0 -2
  903. data/ext/cargo-vendor/object-0.31.1/tests/parse_self.rs +0 -25
  904. data/ext/cargo-vendor/object-0.31.1/tests/read/coff.rs +0 -23
  905. data/ext/cargo-vendor/object-0.31.1/tests/read/mod.rs +0 -3
  906. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/bss.rs +0 -255
  907. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/coff.rs +0 -56
  908. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/comdat.rs +0 -225
  909. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/common.rs +0 -245
  910. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/elf.rs +0 -289
  911. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/macho.rs +0 -24
  912. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/mod.rs +0 -636
  913. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/section_flags.rs +0 -90
  914. data/ext/cargo-vendor/object-0.31.1/tests/round_trip/tls.rs +0 -316
  915. data/ext/cargo-vendor/serde-1.0.185/.cargo-checksum.json +0 -1
  916. data/ext/cargo-vendor/serde-1.0.185/Cargo.toml +0 -66
  917. data/ext/cargo-vendor/serde-1.0.185/build.rs +0 -97
  918. data/ext/cargo-vendor/serde-1.0.185/src/de/ignored_any.rs +0 -242
  919. data/ext/cargo-vendor/serde-1.0.185/src/de/impls.rs +0 -2968
  920. data/ext/cargo-vendor/serde-1.0.185/src/de/mod.rs +0 -2299
  921. data/ext/cargo-vendor/serde-1.0.185/src/de/utf8.rs +0 -46
  922. data/ext/cargo-vendor/serde-1.0.185/src/de/value.rs +0 -1711
  923. data/ext/cargo-vendor/serde-1.0.185/src/integer128.rs +0 -82
  924. data/ext/cargo-vendor/serde-1.0.185/src/lib.rs +0 -327
  925. data/ext/cargo-vendor/serde-1.0.185/src/macros.rs +0 -235
  926. data/ext/cargo-vendor/serde-1.0.185/src/ser/fmt.rs +0 -175
  927. data/ext/cargo-vendor/serde-1.0.185/src/ser/impls.rs +0 -1012
  928. data/ext/cargo-vendor/serde-1.0.185/src/ser/mod.rs +0 -1958
  929. data/ext/cargo-vendor/serde_derive-1.0.185/.cargo-checksum.json +0 -1
  930. data/ext/cargo-vendor/serde_derive-1.0.185/Cargo.toml +0 -59
  931. data/ext/cargo-vendor/serde_derive-1.0.185/src/lib.rs +0 -102
  932. data/ext/cargo-vendor/serde_derive-1.0.185/src/ser.rs +0 -1359
  933. data/ext/cargo-vendor/termcolor-1.2.0/.cargo-checksum.json +0 -1
  934. data/ext/cargo-vendor/termcolor-1.2.0/COPYING +0 -3
  935. data/ext/cargo-vendor/termcolor-1.2.0/Cargo.toml +0 -40
  936. data/ext/cargo-vendor/termcolor-1.2.0/LICENSE-MIT +0 -21
  937. data/ext/cargo-vendor/termcolor-1.2.0/README.md +0 -115
  938. data/ext/cargo-vendor/termcolor-1.2.0/UNLICENSE +0 -24
  939. data/ext/cargo-vendor/termcolor-1.2.0/rustfmt.toml +0 -2
  940. data/ext/cargo-vendor/termcolor-1.2.0/src/lib.rs +0 -2350
  941. data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/.cargo-checksum.json +0 -1
  942. data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/Cargo.toml +0 -96
  943. data/ext/cargo-vendor/wasi-cap-std-sync-12.0.1/src/lib.rs +0 -141
  944. data/ext/cargo-vendor/wasi-common-12.0.1/.cargo-checksum.json +0 -1
  945. data/ext/cargo-vendor/wasi-common-12.0.1/Cargo.toml +0 -87
  946. data/ext/cargo-vendor/wasm-encoder-0.31.1/.cargo-checksum.json +0 -1
  947. data/ext/cargo-vendor/wasm-encoder-0.31.1/Cargo.toml +0 -33
  948. data/ext/cargo-vendor/wasm-encoder-0.31.1/src/component/types.rs +0 -784
  949. data/ext/cargo-vendor/wasmparser-0.110.0/.cargo-checksum.json +0 -1
  950. data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.lock +0 -644
  951. data/ext/cargo-vendor/wasmparser-0.110.0/Cargo.toml +0 -54
  952. data/ext/cargo-vendor/wasmparser-0.110.0/src/limits.rs +0 -59
  953. data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/component/types.rs +0 -548
  954. data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core/types.rs +0 -1141
  955. data/ext/cargo-vendor/wasmparser-0.110.0/src/readers/core.rs +0 -35
  956. data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/component.rs +0 -3144
  957. data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/core.rs +0 -1314
  958. data/ext/cargo-vendor/wasmparser-0.110.0/src/validator/types.rs +0 -3197
  959. data/ext/cargo-vendor/wasmparser-0.110.0/src/validator.rs +0 -1568
  960. data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +0 -1
  961. data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +0 -644
  962. data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +0 -54
  963. data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +0 -1706
  964. data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +0 -726
  965. data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +0 -59
  966. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +0 -548
  967. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +0 -1141
  968. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +0 -3148
  969. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +0 -1314
  970. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +0 -3466
  971. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +0 -3283
  972. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +0 -1568
  973. data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +0 -1
  974. data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +0 -39
  975. data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +0 -2962
  976. data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +0 -873
  977. data/ext/cargo-vendor/wasmtime-12.0.1/.cargo-checksum.json +0 -1
  978. data/ext/cargo-vendor/wasmtime-12.0.1/Cargo.toml +0 -186
  979. data/ext/cargo-vendor/wasmtime-12.0.1/src/component/component.rs +0 -466
  980. data/ext/cargo-vendor/wasmtime-12.0.1/src/component/func/typed.rs +0 -2326
  981. data/ext/cargo-vendor/wasmtime-12.0.1/src/component/instance.rs +0 -781
  982. data/ext/cargo-vendor/wasmtime-12.0.1/src/component/linker.rs +0 -479
  983. data/ext/cargo-vendor/wasmtime-12.0.1/src/component/mod.rs +0 -316
  984. data/ext/cargo-vendor/wasmtime-12.0.1/src/component/types.rs +0 -562
  985. data/ext/cargo-vendor/wasmtime-12.0.1/src/component/values.rs +0 -1376
  986. data/ext/cargo-vendor/wasmtime-12.0.1/src/config.rs +0 -2096
  987. data/ext/cargo-vendor/wasmtime-12.0.1/src/engine/serialization.rs +0 -629
  988. data/ext/cargo-vendor/wasmtime-12.0.1/src/engine.rs +0 -756
  989. data/ext/cargo-vendor/wasmtime-12.0.1/src/instance.rs +0 -883
  990. data/ext/cargo-vendor/wasmtime-12.0.1/src/limits.rs +0 -357
  991. data/ext/cargo-vendor/wasmtime-12.0.1/src/module.rs +0 -1346
  992. data/ext/cargo-vendor/wasmtime-12.0.1/src/store.rs +0 -2212
  993. data/ext/cargo-vendor/wasmtime-12.0.1/src/trampoline/memory.rs +0 -202
  994. data/ext/cargo-vendor/wasmtime-12.0.1/src/trampoline.rs +0 -76
  995. data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/.cargo-checksum.json +0 -1
  996. data/ext/cargo-vendor/wasmtime-asm-macros-12.0.1/Cargo.toml +0 -22
  997. data/ext/cargo-vendor/wasmtime-cache-12.0.1/.cargo-checksum.json +0 -1
  998. data/ext/cargo-vendor/wasmtime-cache-12.0.1/Cargo.toml +0 -73
  999. data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/config.rs +0 -584
  1000. data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/worker/tests.rs +0 -758
  1001. data/ext/cargo-vendor/wasmtime-cache-12.0.1/src/worker.rs +0 -903
  1002. data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/.cargo-checksum.json +0 -1
  1003. data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/Cargo.toml +0 -58
  1004. data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/bindgen.rs +0 -343
  1005. data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/src/component.rs +0 -1319
  1006. data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/tests/codegen/unions.wit +0 -66
  1007. data/ext/cargo-vendor/wasmtime-component-macro-12.0.1/tests/codegen/variants.wit +0 -147
  1008. data/ext/cargo-vendor/wasmtime-component-util-12.0.1/.cargo-checksum.json +0 -1
  1009. data/ext/cargo-vendor/wasmtime-component-util-12.0.1/Cargo.toml +0 -25
  1010. data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/.cargo-checksum.json +0 -1
  1011. data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/Cargo.toml +0 -93
  1012. data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/builder.rs +0 -116
  1013. data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/compiler.rs +0 -1297
  1014. data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug/transform/attr.rs +0 -339
  1015. data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/debug.rs +0 -20
  1016. data/ext/cargo-vendor/wasmtime-cranelift-12.0.1/src/func_environ.rs +0 -2377
  1017. data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/.cargo-checksum.json +0 -1
  1018. data/ext/cargo-vendor/wasmtime-cranelift-shared-12.0.1/Cargo.toml +0 -57
  1019. data/ext/cargo-vendor/wasmtime-environ-12.0.1/.cargo-checksum.json +0 -1
  1020. data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.lock +0 -736
  1021. data/ext/cargo-vendor/wasmtime-environ-12.0.1/Cargo.toml +0 -116
  1022. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/address_map.rs +0 -192
  1023. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/builtin.rs +0 -127
  1024. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/compilation.rs +0 -400
  1025. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/compiler.rs +0 -47
  1026. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/info.rs +0 -583
  1027. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/component/types.rs +0 -1920
  1028. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/trampoline.rs +0 -3269
  1029. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/fact/transcode.rs +0 -168
  1030. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/lib.rs +0 -76
  1031. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module.rs +0 -1083
  1032. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module_environ.rs +0 -887
  1033. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/module_types.rs +0 -78
  1034. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/stack_map.rs +0 -36
  1035. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/tunables.rs +0 -115
  1036. data/ext/cargo-vendor/wasmtime-environ-12.0.1/src/vmoffsets.rs +0 -940
  1037. data/ext/cargo-vendor/wasmtime-fiber-12.0.1/.cargo-checksum.json +0 -1
  1038. data/ext/cargo-vendor/wasmtime-fiber-12.0.1/Cargo.toml +0 -51
  1039. data/ext/cargo-vendor/wasmtime-jit-12.0.1/.cargo-checksum.json +0 -1
  1040. data/ext/cargo-vendor/wasmtime-jit-12.0.1/Cargo.toml +0 -104
  1041. data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/instantiate.rs +0 -760
  1042. data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/lib.rs +0 -38
  1043. data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/miri.rs +0 -15
  1044. data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/systemv.rs +0 -90
  1045. data/ext/cargo-vendor/wasmtime-jit-12.0.1/src/unwind/winx64.rs +0 -44
  1046. data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/.cargo-checksum.json +0 -1
  1047. data/ext/cargo-vendor/wasmtime-jit-debug-12.0.1/Cargo.toml +0 -58
  1048. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/.cargo-checksum.json +0 -1
  1049. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-12.0.1/Cargo.toml +0 -37
  1050. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/.cargo-checksum.json +0 -1
  1051. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/Cargo.toml +0 -119
  1052. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/on_demand.rs +0 -127
  1053. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/pooling/index_allocator.rs +0 -599
  1054. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator/pooling.rs +0 -1368
  1055. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance/allocator.rs +0 -414
  1056. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/instance.rs +0 -1345
  1057. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/lib.rs +0 -289
  1058. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/libcalls.rs +0 -627
  1059. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/memory.rs +0 -958
  1060. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/parking_spot.rs +0 -522
  1061. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/table.rs +0 -595
  1062. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/trampolines/s390x.S +0 -62
  1063. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers/macos.rs +0 -476
  1064. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/traphandlers.rs +0 -782
  1065. data/ext/cargo-vendor/wasmtime-runtime-12.0.1/src/vmcontext.rs +0 -1221
  1066. data/ext/cargo-vendor/wasmtime-types-12.0.1/.cargo-checksum.json +0 -1
  1067. data/ext/cargo-vendor/wasmtime-types-12.0.1/Cargo.toml +0 -34
  1068. data/ext/cargo-vendor/wasmtime-types-12.0.1/src/lib.rs +0 -504
  1069. data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/.cargo-checksum.json +0 -1
  1070. data/ext/cargo-vendor/wasmtime-versioned-export-macros-12.0.1/Cargo.toml +0 -32
  1071. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/.cargo-checksum.json +0 -1
  1072. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/Cargo.toml +0 -191
  1073. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/lib.rs +0 -131
  1074. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/command.rs +0 -91
  1075. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/ctx.rs +0 -237
  1076. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/filesystem.rs +0 -216
  1077. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/mod.rs +0 -185
  1078. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/pipe.rs +0 -846
  1079. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview1/mod.rs +0 -1870
  1080. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/clocks.rs +0 -107
  1081. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/env.rs +0 -37
  1082. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/exit.rs +0 -11
  1083. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem/sync.rs +0 -613
  1084. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/filesystem.rs +0 -1096
  1085. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/io.rs +0 -494
  1086. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/preview2/mod.rs +0 -6
  1087. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/unix.rs +0 -133
  1088. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio/worker_thread_stdin.rs +0 -133
  1089. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stdio.rs +0 -218
  1090. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/stream.rs +0 -302
  1091. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/src/preview2/table.rs +0 -287
  1092. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/filesystem/filesystem.wit +0 -782
  1093. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/http/types.wit +0 -159
  1094. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/io/streams.wit +0 -254
  1095. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/logging/handler.wit +0 -34
  1096. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/command-extended.wit +0 -36
  1097. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/command.wit +0 -26
  1098. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/proxy.wit +0 -9
  1099. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/preview/reactor.wit +0 -24
  1100. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/ip-name-lookup.wit +0 -69
  1101. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/network.wit +0 -187
  1102. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/tcp-create-socket.wit +0 -27
  1103. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/tcp.wit +0 -255
  1104. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/udp-create-socket.wit +0 -27
  1105. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/sockets/udp.wit +0 -211
  1106. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/environment.wit +0 -16
  1107. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/exit.wit +0 -4
  1108. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base/preopens.wit +0 -7
  1109. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/main.wit +0 -1
  1110. data/ext/cargo-vendor/wasmtime-wasi-12.0.1/wit/test.wit +0 -28
  1111. data/ext/cargo-vendor/wasmtime-winch-12.0.1/.cargo-checksum.json +0 -1
  1112. data/ext/cargo-vendor/wasmtime-winch-12.0.1/Cargo.toml +0 -63
  1113. data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/.cargo-checksum.json +0 -1
  1114. data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/Cargo.toml +0 -32
  1115. data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/lib.rs +0 -1705
  1116. data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/rust.rs +0 -498
  1117. data/ext/cargo-vendor/wasmtime-wit-bindgen-12.0.1/src/types.rs +0 -185
  1118. data/ext/cargo-vendor/wast-63.0.0/.cargo-checksum.json +0 -1
  1119. data/ext/cargo-vendor/wast-63.0.0/Cargo.toml +0 -50
  1120. data/ext/cargo-vendor/wast-63.0.0/src/component/binary.rs +0 -1022
  1121. data/ext/cargo-vendor/wast-63.0.0/src/component/expand.rs +0 -880
  1122. data/ext/cargo-vendor/wast-63.0.0/src/component/resolve.rs +0 -1010
  1123. data/ext/cargo-vendor/wast-63.0.0/src/component/types.rs +0 -1013
  1124. data/ext/cargo-vendor/wast-63.0.0/src/component/wast.rs +0 -166
  1125. data/ext/cargo-vendor/wast-63.0.0/src/core/binary.rs +0 -1246
  1126. data/ext/cargo-vendor/wast-63.0.0/src/core/expr.rs +0 -1970
  1127. data/ext/cargo-vendor/wast-63.0.0/src/core/table.rs +0 -305
  1128. data/ext/cargo-vendor/wast-63.0.0/src/core/types.rs +0 -843
  1129. data/ext/cargo-vendor/wast-63.0.0/src/core/wast.rs +0 -236
  1130. data/ext/cargo-vendor/wast-63.0.0/src/lib.rs +0 -537
  1131. data/ext/cargo-vendor/wat-1.0.70/.cargo-checksum.json +0 -1
  1132. data/ext/cargo-vendor/wat-1.0.70/Cargo.toml +0 -27
  1133. data/ext/cargo-vendor/wiggle-12.0.1/.cargo-checksum.json +0 -1
  1134. data/ext/cargo-vendor/wiggle-12.0.1/Cargo.toml +0 -106
  1135. data/ext/cargo-vendor/wiggle-12.0.1/src/lib.rs +0 -1198
  1136. data/ext/cargo-vendor/wiggle-generate-12.0.1/.cargo-checksum.json +0 -1
  1137. data/ext/cargo-vendor/wiggle-generate-12.0.1/Cargo.toml +0 -58
  1138. data/ext/cargo-vendor/wiggle-generate-12.0.1/src/config.rs +0 -697
  1139. data/ext/cargo-vendor/wiggle-generate-12.0.1/src/types/record.rs +0 -117
  1140. data/ext/cargo-vendor/wiggle-generate-12.0.1/src/wasmtime.rs +0 -170
  1141. data/ext/cargo-vendor/wiggle-macro-12.0.1/.cargo-checksum.json +0 -1
  1142. data/ext/cargo-vendor/wiggle-macro-12.0.1/Cargo.toml +0 -55
  1143. data/ext/cargo-vendor/winapi-util-0.1.5/.cargo-checksum.json +0 -1
  1144. data/ext/cargo-vendor/winapi-util-0.1.5/COPYING +0 -3
  1145. data/ext/cargo-vendor/winapi-util-0.1.5/Cargo.toml +0 -30
  1146. data/ext/cargo-vendor/winapi-util-0.1.5/LICENSE-MIT +0 -21
  1147. data/ext/cargo-vendor/winapi-util-0.1.5/README.md +0 -58
  1148. data/ext/cargo-vendor/winapi-util-0.1.5/UNLICENSE +0 -24
  1149. data/ext/cargo-vendor/winapi-util-0.1.5/rustfmt.toml +0 -2
  1150. data/ext/cargo-vendor/winapi-util-0.1.5/src/console.rs +0 -402
  1151. data/ext/cargo-vendor/winapi-util-0.1.5/src/file.rs +0 -168
  1152. data/ext/cargo-vendor/winapi-util-0.1.5/src/lib.rs +0 -32
  1153. data/ext/cargo-vendor/winapi-util-0.1.5/src/win.rs +0 -246
  1154. data/ext/cargo-vendor/winch-codegen-0.10.1/.cargo-checksum.json +0 -1
  1155. data/ext/cargo-vendor/winch-codegen-0.10.1/Cargo.toml +0 -62
  1156. data/ext/cargo-vendor/winch-codegen-0.10.1/LICENSE +0 -219
  1157. data/ext/cargo-vendor/winch-codegen-0.10.1/src/abi/mod.rs +0 -251
  1158. data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/call.rs +0 -199
  1159. data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/context.rs +0 -368
  1160. data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/control.rs +0 -437
  1161. data/ext/cargo-vendor/winch-codegen-0.10.1/src/codegen/mod.rs +0 -330
  1162. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/abi.rs +0 -250
  1163. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/address.rs +0 -144
  1164. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/asm.rs +0 -312
  1165. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/masm.rs +0 -293
  1166. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/aarch64/regs.rs +0 -166
  1167. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/reg.rs +0 -51
  1168. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/abi.rs +0 -375
  1169. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/address.rs +0 -17
  1170. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/asm.rs +0 -855
  1171. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/masm.rs +0 -516
  1172. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/mod.rs +0 -149
  1173. data/ext/cargo-vendor/winch-codegen-0.10.1/src/isa/x64/regs.rs +0 -192
  1174. data/ext/cargo-vendor/winch-codegen-0.10.1/src/masm.rs +0 -352
  1175. data/ext/cargo-vendor/winch-codegen-0.10.1/src/regalloc.rs +0 -70
  1176. data/ext/cargo-vendor/winch-codegen-0.10.1/src/regset.rs +0 -90
  1177. data/ext/cargo-vendor/winch-codegen-0.10.1/src/stack.rs +0 -235
  1178. data/ext/cargo-vendor/winch-codegen-0.10.1/src/trampoline.rs +0 -494
  1179. data/ext/cargo-vendor/winch-codegen-0.10.1/src/visitor.rs +0 -656
  1180. data/ext/cargo-vendor/wit-parser-0.9.2/.cargo-checksum.json +0 -1
  1181. data/ext/cargo-vendor/wit-parser-0.9.2/Cargo.toml +0 -62
  1182. data/ext/cargo-vendor/wit-parser-0.9.2/src/abi.rs +0 -2199
  1183. data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/lex.rs +0 -717
  1184. data/ext/cargo-vendor/wit-parser-0.9.2/src/ast/resolve.rs +0 -1437
  1185. data/ext/cargo-vendor/wit-parser-0.9.2/src/ast.rs +0 -1362
  1186. data/ext/cargo-vendor/wit-parser-0.9.2/src/lib.rs +0 -666
  1187. data/ext/cargo-vendor/wit-parser-0.9.2/src/live.rs +0 -116
  1188. data/ext/cargo-vendor/wit-parser-0.9.2/src/resolve.rs +0 -1749
  1189. data/ext/cargo-vendor/wit-parser-0.9.2/src/sizealign.rs +0 -145
  1190. data/ext/cargo-vendor/wit-parser-0.9.2/tests/all.rs +0 -168
  1191. data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/empty-union.wit +0 -6
  1192. data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/parse-fail/empty-union.wit.result +0 -5
  1193. data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/types.wit +0 -61
  1194. data/ext/cargo-vendor/wit-parser-0.9.2/tests/ui/world-diamond.wit +0 -22
  1195. /data/ext/cargo-vendor/{addr2line-0.20.0 → cap-net-ext-2.0.0}/LICENSE-APACHE +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-bforest-0.99.1/LICENSE → cap-net-ext-2.0.0/LICENSE-Apache-2.0_WITH_LLVM-exception} +0 -0
  1197. /data/ext/cargo-vendor/{env_logger-0.10.0 → cap-net-ext-2.0.0}/LICENSE-MIT +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-bforest-0.100.0}/LICENSE +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/README.md +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/src/node.rs +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-bforest-0.99.1 → cranelift-bforest-0.100.0}/src/path.rs +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-0.100.0}/LICENSE +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/README.md +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/benches/x64-evex-encoding.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/build.rs +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/alias_analysis.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/cfg_printer.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/constant_hash.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ctxhash.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/cursor.rs +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/data_value.rs +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dbg.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dce.rs +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/dominator_tree.rs +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/cost.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/domtree.rs +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph/elaborate.rs +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/egraph.rs +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/flowgraph.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/fx.rs +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/inst_predicates.rs +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/builder.rs +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/layout.rs +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/ir/progpoint.rs +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/imms.rs +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/regs.rs +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst/unwind.rs +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/inst_neon.isle +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/mod.rs +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/aarch64/settings.rs +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/mod.rs +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/emit_tests.rs +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/regs.rs +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/inst/unwind.rs +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/lower.rs +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/mod.rs +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/riscv64/settings.rs +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/args.rs +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/emit.rs +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/emit_tests.rs +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/imms.rs +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/regs.rs +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/inst/unwind.rs +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower/isle.rs +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/lower.rs +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/mod.rs +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/s390x/settings.rs +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/encoding/mod.rs +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/encoding/vex.rs +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/emit_state.rs +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/regs.rs +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/inst/unwind.rs +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/mod.rs +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/isa/x64/settings.rs +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/iterators.rs +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/legalizer/globalvalue.rs +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/legalizer/table.rs +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/loop_analysis.rs +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/blockorder.rs +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/compile.rs +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/helpers.rs +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/inst_common.rs +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/lower.rs +0 -0
  1273. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/machinst/valueregs.rs +0 -0
  1274. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/nan_canonicalization.rs +0 -0
  1275. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/README.md +0 -0
  1276. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/arithmetic.isle +0 -0
  1277. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/generated_code.rs +0 -0
  1278. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/remat.isle +0 -0
  1279. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts/shifts.isle +0 -0
  1280. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/opts.rs +0 -0
  1281. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/prelude_opt.isle +0 -0
  1282. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/print_errors.rs +0 -0
  1283. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/remove_constant_phis.rs +0 -0
  1284. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/result.rs +0 -0
  1285. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/scoped_hash_map.rs +0 -0
  1286. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/settings.rs +0 -0
  1287. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/souper_harvest.rs +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/timing.rs +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/unionfind.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/unreachable_code.rs +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-codegen-0.99.1 → cranelift-codegen-0.100.0}/src/write.rs +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-meta-0.100.0}/LICENSE +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/README.md +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/formats.rs +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/instructions.rs +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/isa.rs +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/mod.rs +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/operands.rs +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/settings.rs +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/types.rs +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/cdsl/typevar.rs +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/error.rs +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/gen_settings.rs +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/gen_types.rs +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/arm64.rs +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/mod.rs +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/riscv64.rs +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/s390x.rs +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/isa/x86.rs +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/lib.rs +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/entities.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/formats.rs +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/immediates.rs +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/mod.rs +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/settings.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/shared/types.rs +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/srcgen.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.99.1 → cranelift-codegen-meta-0.100.0}/src/unique_table.rs +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-codegen-shared-0.100.0}/LICENSE +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/README.md +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/src/constant_hash.rs +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.99.1 → cranelift-codegen-shared-0.100.0}/src/constants.rs +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-control-0.100.0}/LICENSE +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/README.md +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/chaos.rs +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/lib.rs +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-control-0.99.1 → cranelift-control-0.100.0}/src/zero_sized.rs +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-entity-0.100.0}/LICENSE +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/README.md +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/boxed_slice.rs +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/iter.rs +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/keys.rs +0 -0
  1333. /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/map.rs +0 -0
  1334. /data/ext/cargo-vendor/{cranelift-entity-0.99.1 → cranelift-entity-0.100.0}/src/set.rs +0 -0
  1335. /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-frontend-0.100.0}/LICENSE +0 -0
  1336. /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/README.md +0 -0
  1337. /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/frontend.rs +0 -0
  1338. /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/ssa.rs +0 -0
  1339. /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/switch.rs +0 -0
  1340. /data/ext/cargo-vendor/{cranelift-frontend-0.99.1 → cranelift-frontend-0.100.0}/src/variable.rs +0 -0
  1341. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/README.md +0 -0
  1342. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/build.rs +0 -0
  1343. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/bad_converters.isle +0 -0
  1344. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1345. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1346. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/error1.isle +0 -0
  1347. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/extra_parens.isle +0 -0
  1348. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/impure_expression.isle +0 -0
  1349. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/impure_rhs.isle +0 -0
  1350. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1351. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/fail/multi_prio.isle +0 -0
  1352. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/borrows.isle +0 -0
  1353. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/borrows_main.rs +0 -0
  1354. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/iflets.isle +0 -0
  1355. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/iflets_main.rs +0 -0
  1356. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_constructor.isle +0 -0
  1357. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_constructor_main.rs +0 -0
  1358. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_extractor.isle +0 -0
  1359. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/multi_extractor_main.rs +0 -0
  1360. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/test.isle +0 -0
  1361. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/link/test_main.rs +0 -0
  1362. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/bound_var.isle +0 -0
  1363. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/construct_and_extract.isle +0 -0
  1364. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/conversions.isle +0 -0
  1365. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/conversions_extern.isle +0 -0
  1366. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/let.isle +0 -0
  1367. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/nodebug.isle +0 -0
  1368. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1369. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test2.isle +0 -0
  1370. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test3.isle +0 -0
  1371. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/test4.isle +0 -0
  1372. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/pass/tutorial.isle +0 -0
  1373. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/iconst.isle +0 -0
  1374. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/iconst_main.rs +0 -0
  1375. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/let_shadowing.isle +0 -0
  1376. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/isle_examples/run/let_shadowing_main.rs +0 -0
  1377. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/ast.rs +0 -0
  1378. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/codegen.rs +0 -0
  1379. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/compile.rs +0 -0
  1380. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/error.rs +0 -0
  1381. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/lexer.rs +0 -0
  1382. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/lib.rs +0 -0
  1383. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/log.rs +0 -0
  1384. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/overlap.rs +0 -0
  1385. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/parser.rs +0 -0
  1386. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/sema.rs +0 -0
  1387. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/serialize.rs +0 -0
  1388. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/src/trie_again.rs +0 -0
  1389. /data/ext/cargo-vendor/{cranelift-isle-0.99.1 → cranelift-isle-0.100.0}/tests/run_tests.rs +0 -0
  1390. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-native-0.100.0}/LICENSE +0 -0
  1391. /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-native-0.100.0}/README.md +0 -0
  1392. /data/ext/cargo-vendor/{cranelift-native-0.99.1 → cranelift-native-0.100.0}/src/riscv.rs +0 -0
  1393. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → cranelift-wasm-0.100.0}/LICENSE +0 -0
  1394. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/README.md +0 -0
  1395. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/code_translator/bounds_checks.rs +0 -0
  1396. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/environ/mod.rs +0 -0
  1397. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/module_translator.rs +0 -0
  1398. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/src/state.rs +0 -0
  1399. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/tests/wasm_testsuite.rs +0 -0
  1400. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/arith.wat +0 -0
  1401. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/br_table.wat +0 -0
  1402. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/call-simd.wat +0 -0
  1403. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/call.wat +0 -0
  1404. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_fannkuch.wat +0 -0
  1405. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_fasta.wat +0 -0
  1406. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_ifs.wat +0 -0
  1407. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/embenchen_primes.wat +0 -0
  1408. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/fac-multi-value.wat +0 -0
  1409. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/fibonacci.wat +0 -0
  1410. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/globals.wat +0 -0
  1411. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/icall-simd.wat +0 -0
  1412. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/icall.wat +0 -0
  1413. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-0.wat +0 -0
  1414. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-1.wat +0 -0
  1415. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-2.wat +0 -0
  1416. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-3.wat +0 -0
  1417. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-4.wat +0 -0
  1418. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-5.wat +0 -0
  1419. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-reachability-translation-6.wat +0 -0
  1420. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-unreachable-else-params-2.wat +0 -0
  1421. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/if-unreachable-else-params.wat +0 -0
  1422. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
  1423. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/memory.wat +0 -0
  1424. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-0.wat +0 -0
  1425. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-1.wat +0 -0
  1426. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-10.wat +0 -0
  1427. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-11.wat +0 -0
  1428. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-12.wat +0 -0
  1429. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-13.wat +0 -0
  1430. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-14.wat +0 -0
  1431. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-15.wat +0 -0
  1432. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-16.wat +0 -0
  1433. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-17.wat +0 -0
  1434. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-2.wat +0 -0
  1435. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-3.wat +0 -0
  1436. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-4.wat +0 -0
  1437. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-5.wat +0 -0
  1438. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-6.wat +0 -0
  1439. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-7.wat +0 -0
  1440. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-8.wat +0 -0
  1441. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/multi-9.wat +0 -0
  1442. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/nullref.wat +0 -0
  1443. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/passive-data.wat +0 -0
  1444. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/pr2303.wat +0 -0
  1445. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/pr2559.wat +0 -0
  1446. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/ref-func-0.wat +0 -0
  1447. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/rust_fannkuch.wat +0 -0
  1448. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/select.wat +0 -0
  1449. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/simd-store.wat +0 -0
  1450. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/simd.wat +0 -0
  1451. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/table-copy.wat +0 -0
  1452. /data/ext/cargo-vendor/{cranelift-wasm-0.99.1 → cranelift-wasm-0.100.0}/wasmtests/unreachable_code.wat +0 -0
  1453. /data/ext/cargo-vendor/{fallible-iterator-0.2.0 → fallible-iterator-0.3.0}/LICENSE-APACHE +0 -0
  1454. /data/ext/cargo-vendor/{fallible-iterator-0.2.0 → fallible-iterator-0.3.0}/LICENSE-MIT +0 -0
  1455. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/LICENSE-APACHE +0 -0
  1456. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/LICENSE-MIT +0 -0
  1457. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/README.md +0 -0
  1458. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/crates-io.md +0 -0
  1459. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/format.rs +0 -0
  1460. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/seed.rs +0 -0
  1461. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/de/size_hint.rs +0 -0
  1462. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/de.rs +0 -0
  1463. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/doc.rs +0 -0
  1464. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/mod.rs +0 -0
  1465. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/private/ser.rs +0 -0
  1466. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/ser/impossible.rs +0 -0
  1467. /data/ext/cargo-vendor/{serde-1.0.185 → serde-1.0.188}/src/std_error.rs +0 -0
  1468. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/LICENSE-APACHE +0 -0
  1469. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/LICENSE-MIT +0 -0
  1470. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/README.md +0 -0
  1471. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/crates-io.md +0 -0
  1472. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/bound.rs +0 -0
  1473. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/de.rs +0 -0
  1474. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/dummy.rs +0 -0
  1475. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/fragment.rs +0 -0
  1476. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/ast.rs +0 -0
  1477. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/attr.rs +0 -0
  1478. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/case.rs +0 -0
  1479. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/check.rs +0 -0
  1480. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/ctxt.rs +0 -0
  1481. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/mod.rs +0 -0
  1482. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/receiver.rs +0 -0
  1483. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/respan.rs +0 -0
  1484. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/internals/symbol.rs +0 -0
  1485. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/pretend.rs +0 -0
  1486. /data/ext/cargo-vendor/{serde_derive-1.0.185 → serde_derive-1.0.188}/src/this.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-cap-std-sync-13.0.0}/LICENSE +0 -0
  1488. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/README.md +0 -0
  1489. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/clocks.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/dir.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/file.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/net.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched/unix.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched/windows.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/sched.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasi-cap-std-sync-12.0.1 → wasi-cap-std-sync-13.0.0}/src/stdio.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasi-common-13.0.0}/LICENSE +0 -0
  1498. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/README.md +0 -0
  1499. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/README.md +0 -0
  1500. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/docs/README.md +0 -0
  1501. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/README.md +0 -0
  1502. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/docs.md +0 -0
  1503. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
  1504. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
  1505. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
  1506. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
  1507. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
  1508. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
  1509. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
  1510. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
  1511. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
  1512. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
  1513. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
  1514. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/docs.md +0 -0
  1515. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
  1516. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
  1517. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/docs.html +0 -0
  1518. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/docs.md +0 -0
  1519. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/witx/typenames.witx +0 -0
  1520. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
  1521. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/proposal-template/README.md +0 -0
  1522. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/proposals/README.md +0 -0
  1523. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/snapshots/README.md +0 -0
  1524. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/WASI/standard/README.md +0 -0
  1525. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/build.rs +0 -0
  1526. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/clocks.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/ctx.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/dir.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/error.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/file.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/lib.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/pipe.rs +0 -0
  1533. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/random.rs +0 -0
  1534. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/sched/subscription.rs +0 -0
  1535. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/sched.rs +0 -0
  1536. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/mod.rs +0 -0
  1537. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_0.rs +0 -0
  1538. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_1/error.rs +0 -0
  1539. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/snapshots/preview_1.rs +0 -0
  1540. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/string_array.rs +0 -0
  1541. /data/ext/cargo-vendor/{wasi-common-12.0.1 → wasi-common-13.0.0}/src/table.rs +0 -0
  1542. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasm-encoder-0.32.0}/LICENSE +0 -0
  1543. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/README.md +0 -0
  1544. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/aliases.rs +0 -0
  1545. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/builder.rs +0 -0
  1546. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/canonicals.rs +0 -0
  1547. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/components.rs +0 -0
  1548. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/exports.rs +0 -0
  1549. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/imports.rs +0 -0
  1550. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/instances.rs +0 -0
  1551. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/modules.rs +0 -0
  1552. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/names.rs +0 -0
  1553. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component/start.rs +0 -0
  1554. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/component.rs +0 -0
  1555. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/code.rs +0 -0
  1556. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/custom.rs +0 -0
  1557. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/data.rs +0 -0
  1558. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/dump.rs +0 -0
  1559. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/elements.rs +0 -0
  1560. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/exports.rs +0 -0
  1561. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/functions.rs +0 -0
  1562. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/globals.rs +0 -0
  1563. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/imports.rs +0 -0
  1564. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/linking.rs +0 -0
  1565. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/memories.rs +0 -0
  1566. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/names.rs +0 -0
  1567. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/producers.rs +0 -0
  1568. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/start.rs +0 -0
  1569. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/tables.rs +0 -0
  1570. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/tags.rs +0 -0
  1571. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core/types.rs +0 -0
  1572. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/core.rs +0 -0
  1573. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/lib.rs +0 -0
  1574. /data/ext/cargo-vendor/{wasm-encoder-0.31.1 → wasm-encoder-0.32.0}/src/raw.rs +0 -0
  1575. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasm-encoder-0.33.1}/LICENSE +0 -0
  1576. /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmparser-0.112.0}/LICENSE +0 -0
  1577. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/README.md +0 -0
  1578. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/benches/benchmark.rs +0 -0
  1579. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/examples/simple.rs +0 -0
  1580. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/binary_reader.rs +0 -0
  1581. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/lib.rs +0 -0
  1582. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/parser.rs +0 -0
  1583. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/aliases.rs +0 -0
  1584. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/canonicals.rs +0 -0
  1585. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/exports.rs +0 -0
  1586. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/imports.rs +0 -0
  1587. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/instances.rs +0 -0
  1588. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/names.rs +0 -0
  1589. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component/start.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/component.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/code.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/coredumps.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/custom.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/data.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.112.0}/src/readers/core/dylink0.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/elements.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/exports.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/functions.rs +0 -0
  1599. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/globals.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/imports.rs +0 -0
  1601. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/init.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/memories.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/names.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/operators.rs +0 -0
  1605. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/producers.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/tables.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers/core/tags.rs +0 -0
  1608. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.112.0}/src/readers/core.rs +0 -0
  1609. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/readers.rs +0 -0
  1610. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/resources.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/func.rs +0 -0
  1612. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/names.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/src/validator/operators.rs +0 -0
  1614. /data/ext/cargo-vendor/{wasmparser-0.110.0 → wasmparser-0.112.0}/tests/big-module.rs +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmparser-0.113.1}/LICENSE +0 -0
  1616. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/README.md +0 -0
  1617. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/benches/benchmark.rs +0 -0
  1618. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/examples/simple.rs +0 -0
  1619. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/parser.rs +0 -0
  1620. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/aliases.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/canonicals.rs +0 -0
  1622. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/exports.rs +0 -0
  1623. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/imports.rs +0 -0
  1624. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/instances.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/names.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component/start.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/component.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/code.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/coredumps.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/custom.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/data.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/elements.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/exports.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/functions.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/globals.rs +0 -0
  1636. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/imports.rs +0 -0
  1637. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/init.rs +0 -0
  1638. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/memories.rs +0 -0
  1639. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/names.rs +0 -0
  1640. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/operators.rs +0 -0
  1641. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/producers.rs +0 -0
  1642. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/tables.rs +0 -0
  1643. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers/core/tags.rs +0 -0
  1644. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/readers.rs +0 -0
  1645. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/resources.rs +0 -0
  1646. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/validator/func.rs +0 -0
  1647. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/src/validator/names.rs +0 -0
  1648. /data/ext/cargo-vendor/{wasmparser-0.111.0 → wasmparser-0.113.1}/tests/big-module.rs +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmprinter-0.2.66}/LICENSE +0 -0
  1650. /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmprinter-0.2.66}/README.md +0 -0
  1651. /data/ext/cargo-vendor/{wasmprinter-0.2.63 → wasmprinter-0.2.66}/tests/all.rs +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-13.0.0}/LICENSE +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/README.md +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/code.rs +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/compiler.rs +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func/host.rs +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func/options.rs +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/func.rs +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/matching.rs +0 -0
  1660. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/resources.rs +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/storage.rs +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/component/store.rs +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/coredump.rs +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/externals.rs +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/func/typed.rs +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/func.rs +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/lib.rs +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/linker.rs +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/memory.rs +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/module/registry.rs +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/profiling.rs +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/ref.rs +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/resources.rs +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/signatures.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/context.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/data.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/store/func_refs.rs +0 -0
  1678. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/func.rs +0 -0
  1679. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/global.rs +0 -0
  1680. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trampoline/table.rs +0 -0
  1681. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/trap.rs +0 -0
  1682. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/types/matching.rs +0 -0
  1683. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/types.rs +0 -0
  1684. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/unix.rs +0 -0
  1685. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/values.rs +0 -0
  1686. /data/ext/cargo-vendor/{wasmtime-12.0.1 → wasmtime-13.0.0}/src/windows.rs +0 -0
  1687. /data/ext/cargo-vendor/{wasmtime-asm-macros-12.0.1 → wasmtime-asm-macros-13.0.0}/src/lib.rs +0 -0
  1688. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-cache-13.0.0}/LICENSE +0 -0
  1689. /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/build.rs +0 -0
  1690. /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/config/tests.rs +0 -0
  1691. /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/lib.rs +0 -0
  1692. /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/tests.rs +0 -0
  1693. /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/src/worker/tests/system_time_stub.rs +0 -0
  1694. /data/ext/cargo-vendor/{wasmtime-cache-12.0.1 → wasmtime-cache-13.0.0}/tests/cache_write_default_config.rs +0 -0
  1695. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/src/lib.rs +0 -0
  1696. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/char.wit +0 -0
  1697. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/conventions.wit +0 -0
  1698. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/direct-import.wit +0 -0
  1699. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/empty.wit +0 -0
  1700. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/flags.wit +0 -0
  1701. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/floats.wit +0 -0
  1702. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/function-new.wit +0 -0
  1703. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/integers.wit +0 -0
  1704. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/lists.wit +0 -0
  1705. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/many-arguments.wit +0 -0
  1706. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/multi-return.wit +0 -0
  1707. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/records.wit +0 -0
  1708. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/rename.wit +0 -0
  1709. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/share-types.wit +0 -0
  1710. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-functions.wit +0 -0
  1711. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-lists.wit +0 -0
  1712. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/simple-wasi.wit +0 -0
  1713. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/small-anonymous.wit +0 -0
  1714. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke-default.wit +0 -0
  1715. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke-export.wit +0 -0
  1716. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/smoke.wit +0 -0
  1717. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/strings.wit +0 -0
  1718. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/use-paths.wit +0 -0
  1719. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen/worlds-with-types.wit +0 -0
  1720. /data/ext/cargo-vendor/{wasmtime-component-macro-12.0.1 → wasmtime-component-macro-13.0.0}/tests/codegen.rs +0 -0
  1721. /data/ext/cargo-vendor/{wasmtime-component-util-12.0.1 → wasmtime-component-util-13.0.0}/src/lib.rs +0 -0
  1722. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-cranelift-13.0.0}/LICENSE +0 -0
  1723. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/SECURITY.md +0 -0
  1724. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/compiler/component.rs +0 -0
  1725. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/gc.rs +0 -0
  1726. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/address_transform.rs +0 -0
  1727. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/expression.rs +0 -0
  1728. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/line_program.rs +0 -0
  1729. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/mod.rs +0 -0
  1730. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/range_info_builder.rs +0 -0
  1731. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/refs.rs +0 -0
  1732. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/simulate.rs +0 -0
  1733. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/unit.rs +0 -0
  1734. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/transform/utils.rs +0 -0
  1735. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/debug/write_debuginfo.rs +0 -0
  1736. /data/ext/cargo-vendor/{wasmtime-cranelift-12.0.1 → wasmtime-cranelift-13.0.0}/src/lib.rs +0 -0
  1737. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/compiled_function.rs +0 -0
  1738. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/isa_builder.rs +0 -0
  1739. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/lib.rs +0 -0
  1740. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-12.0.1 → wasmtime-cranelift-shared-13.0.0}/src/obj.rs +0 -0
  1741. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-environ-13.0.0}/LICENSE +0 -0
  1742. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/examples/factc.rs +0 -0
  1743. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/dfg.rs +0 -0
  1744. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate/adapt.rs +0 -0
  1745. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate/inline.rs +0 -0
  1746. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/translate.rs +0 -0
  1747. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/types/resources.rs +0 -0
  1748. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component/vmcomponent_offsets.rs +0 -0
  1749. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/component.rs +0 -0
  1750. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/core_types.rs +0 -0
  1751. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/signature.rs +0 -0
  1752. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact/traps.rs +0 -0
  1753. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/fact.rs +0 -0
  1754. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/obj.rs +0 -0
  1755. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/ref_bits.rs +0 -0
  1756. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/scopevec.rs +0 -0
  1757. /data/ext/cargo-vendor/{wasmtime-environ-12.0.1 → wasmtime-environ-13.0.0}/src/trap_encoding.rs +0 -0
  1758. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-fiber-13.0.0}/LICENSE +0 -0
  1759. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/build.rs +0 -0
  1760. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/lib.rs +0 -0
  1761. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/aarch64.rs +0 -0
  1762. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/arm.rs +0 -0
  1763. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/riscv64.rs +0 -0
  1764. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/s390x.S +0 -0
  1765. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/x86.rs +0 -0
  1766. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix/x86_64.rs +0 -0
  1767. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/unix.rs +0 -0
  1768. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/windows.c +0 -0
  1769. /data/ext/cargo-vendor/{wasmtime-fiber-12.0.1 → wasmtime-fiber-13.0.0}/src/windows.rs +0 -0
  1770. /data/ext/cargo-vendor/{wasmtime-types-12.0.1 → wasmtime-jit-13.0.0}/LICENSE +0 -0
  1771. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/code_memory.rs +0 -0
  1772. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/debug.rs +0 -0
  1773. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/demangling.rs +0 -0
  1774. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/jitdump.rs +0 -0
  1775. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/perfmap.rs +0 -0
  1776. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling/vtune.rs +0 -0
  1777. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/profiling.rs +0 -0
  1778. /data/ext/cargo-vendor/{wasmtime-jit-12.0.1 → wasmtime-jit-13.0.0}/src/unwind.rs +0 -0
  1779. /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/README.md +0 -0
  1780. /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/gdb_jit_int.rs +0 -0
  1781. /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/lib.rs +0 -0
  1782. /data/ext/cargo-vendor/{wasmtime-jit-debug-12.0.1 → wasmtime-jit-debug-13.0.0}/src/perf_jitdump.rs +0 -0
  1783. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/lib.rs +0 -0
  1784. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/libc.rs +0 -0
  1785. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/miri.rs +0 -0
  1786. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-12.0.1 → wasmtime-jit-icache-coherence-13.0.0}/src/win.rs +0 -0
  1787. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-runtime-13.0.0}/LICENSE +0 -0
  1788. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/build.rs +0 -0
  1789. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component/libcalls.rs +0 -0
  1790. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component/resources.rs +0 -0
  1791. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/component.rs +0 -0
  1792. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/cow.rs +0 -0
  1793. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/debug_builtins.rs +0 -0
  1794. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/export.rs +0 -0
  1795. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/externref.rs +0 -0
  1796. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/helpers.c +0 -0
  1797. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/imports.rs +0 -0
  1798. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/instance/allocator/pooling/unix.rs +0 -0
  1799. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/instance/allocator/pooling/windows.rs +0 -0
  1800. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/miri.rs +0 -0
  1801. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/unix.rs +0 -0
  1802. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap/windows.rs +0 -0
  1803. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap.rs +0 -0
  1804. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/mmap_vec.rs +0 -0
  1805. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/module_id.rs +0 -0
  1806. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/send_sync_ptr.rs +0 -0
  1807. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/store_box.rs +0 -0
  1808. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/aarch64.rs +0 -0
  1809. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/riscv64.rs +0 -0
  1810. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/s390x.rs +0 -0
  1811. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines/x86_64.rs +0 -0
  1812. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/trampolines.rs +0 -0
  1813. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/aarch64.rs +0 -0
  1814. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/riscv64.rs +0 -0
  1815. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/s390x.rs +0 -0
  1816. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace/x86_64.rs +0 -0
  1817. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/backtrace.rs +0 -0
  1818. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/coredump.rs +0 -0
  1819. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/unix.rs +0 -0
  1820. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/traphandlers/windows.rs +0 -0
  1821. /data/ext/cargo-vendor/{wasmtime-runtime-12.0.1 → wasmtime-runtime-13.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
  1822. /data/ext/cargo-vendor/{wast-63.0.0 → wasmtime-types-13.0.0}/LICENSE +0 -0
  1823. /data/ext/cargo-vendor/{wasmtime-types-12.0.1 → wasmtime-types-13.0.0}/src/error.rs +0 -0
  1824. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-12.0.1 → wasmtime-versioned-export-macros-13.0.0}/src/lib.rs +0 -0
  1825. /data/ext/cargo-vendor/{wat-1.0.70 → wasmtime-wasi-13.0.0}/LICENSE +0 -0
  1826. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/README.md +0 -0
  1827. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/build.rs +0 -0
  1828. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/clocks/host.rs +0 -0
  1829. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/clocks.rs +0 -0
  1830. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/error.rs +0 -0
  1831. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1/src/preview2/preview2 → wasmtime-wasi-13.0.0/src/preview2/host}/random.rs +0 -0
  1832. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/poll.rs +0 -0
  1833. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/src/preview2/random.rs +0 -0
  1834. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1/wit/deps/wasi-cli-base → wasmtime-wasi-13.0.0/wit/deps/cli}/stdio.wit +0 -0
  1835. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1836. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/timezone.wit +0 -0
  1837. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
  1838. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/http/incoming-handler.wit +0 -0
  1839. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/http/outgoing-handler.wit +0 -0
  1840. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/poll/poll.wit +0 -0
  1841. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/insecure-seed.wit +0 -0
  1842. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/insecure.wit +0 -0
  1843. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/random/random.wit +0 -0
  1844. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/wit/deps/sockets/instance-network.wit +0 -0
  1845. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/witx/typenames.witx +0 -0
  1846. /data/ext/cargo-vendor/{wasmtime-wasi-12.0.1 → wasmtime-wasi-13.0.0}/witx/wasi_snapshot_preview1.witx +0 -0
  1847. /data/ext/cargo-vendor/{file-per-thread-logger-0.2.0 → wasmtime-winch-13.0.0}/LICENSE +0 -0
  1848. /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/builder.rs +0 -0
  1849. /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/compiler.rs +0 -0
  1850. /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → wasmtime-winch-13.0.0}/src/lib.rs +0 -0
  1851. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-12.0.1 → wasmtime-wit-bindgen-13.0.0}/src/source.rs +0 -0
  1852. /data/ext/cargo-vendor/{wiggle-12.0.1 → wast-65.0.1}/LICENSE +0 -0
  1853. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/README.md +0 -0
  1854. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/alias.rs +0 -0
  1855. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/component.rs +0 -0
  1856. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/custom.rs +0 -0
  1857. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/export.rs +0 -0
  1858. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/func.rs +0 -0
  1859. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/import.rs +0 -0
  1860. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/instance.rs +0 -0
  1861. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/item_ref.rs +0 -0
  1862. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component/module.rs +0 -0
  1863. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/component.rs +0 -0
  1864. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/custom.rs +0 -0
  1865. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/export.rs +0 -0
  1866. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/func.rs +0 -0
  1867. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/global.rs +0 -0
  1868. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/import.rs +0 -0
  1869. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/memory.rs +0 -0
  1870. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/module.rs +0 -0
  1871. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/deinline_import_export.rs +0 -0
  1872. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/mod.rs +0 -0
  1873. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/names.rs +0 -0
  1874. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/resolve/types.rs +0 -0
  1875. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core/tag.rs +0 -0
  1876. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/core.rs +0 -0
  1877. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/encode.rs +0 -0
  1878. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/error.rs +0 -0
  1879. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/gensym.rs +0 -0
  1880. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/lexer.rs +0 -0
  1881. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/names.rs +0 -0
  1882. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/parser.rs +0 -0
  1883. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/token.rs +0 -0
  1884. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/wast.rs +0 -0
  1885. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/src/wat.rs +0 -0
  1886. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/annotations.rs +0 -0
  1887. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/comments.rs +0 -0
  1888. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
  1889. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
  1890. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
  1891. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
  1892. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-index.wat +0 -0
  1893. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
  1894. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name.wat +0 -0
  1895. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
  1896. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name2.wat +0 -0
  1897. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
  1898. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name3.wat +0 -0
  1899. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
  1900. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block1.wat +0 -0
  1901. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block1.wat.err +0 -0
  1902. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block2.wat +0 -0
  1903. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block2.wat.err +0 -0
  1904. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block3.wat +0 -0
  1905. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/block3.wat.err +0 -0
  1906. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
  1907. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
  1908. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
  1909. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
  1910. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
  1911. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
  1912. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
  1913. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
  1914. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
  1915. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
  1916. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
  1917. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
  1918. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
  1919. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
  1920. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
  1921. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
  1922. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
  1923. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
  1924. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
  1925. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
  1926. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
  1927. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
  1928. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
  1929. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
  1930. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
  1931. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
  1932. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
  1933. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
  1934. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
  1935. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
  1936. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
  1937. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
  1938. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
  1939. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
  1940. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
  1941. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
  1942. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
  1943. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
  1944. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
  1945. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
  1946. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
  1947. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
  1948. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
  1949. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
  1950. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
  1951. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
  1952. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
  1953. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
  1954. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
  1955. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
  1956. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
  1957. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
  1958. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
  1959. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
  1960. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/inline1.wat +0 -0
  1961. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/inline1.wat.err +0 -0
  1962. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
  1963. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
  1964. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string1.wat +0 -0
  1965. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string1.wat.err +0 -0
  1966. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string10.wat +0 -0
  1967. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string10.wat.err +0 -0
  1968. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string11.wat +0 -0
  1969. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string11.wat.err +0 -0
  1970. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string12.wat +0 -0
  1971. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string12.wat.err +0 -0
  1972. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string13.wat +0 -0
  1973. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string13.wat.err +0 -0
  1974. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string14.wat +0 -0
  1975. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string14.wat.err +0 -0
  1976. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string15.wat +0 -0
  1977. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string15.wat.err +0 -0
  1978. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string16.wat +0 -0
  1979. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string16.wat.err +0 -0
  1980. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string2.wat +0 -0
  1981. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string2.wat.err +0 -0
  1982. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string3.wat +0 -0
  1983. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string3.wat.err +0 -0
  1984. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string4.wat +0 -0
  1985. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string4.wat.err +0 -0
  1986. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string5.wat +0 -0
  1987. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string5.wat.err +0 -0
  1988. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string6.wat +0 -0
  1989. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string6.wat.err +0 -0
  1990. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string7.wat +0 -0
  1991. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string7.wat.err +0 -0
  1992. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string8.wat +0 -0
  1993. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string8.wat.err +0 -0
  1994. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string9.wat +0 -0
  1995. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/string9.wat.err +0 -0
  1996. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/unbalanced.wat +0 -0
  1997. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
  1998. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/parse-fail.rs +0 -0
  1999. /data/ext/cargo-vendor/{wast-63.0.0 → wast-65.0.1}/tests/recursive.rs +0 -0
  2000. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wat-1.0.73}/LICENSE +0 -0
  2001. /data/ext/cargo-vendor/{wat-1.0.70 → wat-1.0.73}/README.md +0 -0
  2002. /data/ext/cargo-vendor/{wat-1.0.70 → wat-1.0.73}/src/lib.rs +0 -0
  2003. /data/ext/cargo-vendor/{wiggle-macro-12.0.1 → wiggle-13.0.0}/LICENSE +0 -0
  2004. /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/README.md +0 -0
  2005. /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/borrow.rs +0 -0
  2006. /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/error.rs +0 -0
  2007. /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/guest_type.rs +0 -0
  2008. /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/region.rs +0 -0
  2009. /data/ext/cargo-vendor/{wiggle-12.0.1 → wiggle-13.0.0}/src/wasmtime.rs +0 -0
  2010. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/README.md +0 -0
  2011. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/codegen_settings.rs +0 -0
  2012. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/funcs.rs +0 -0
  2013. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/lib.rs +0 -0
  2014. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/lifetimes.rs +0 -0
  2015. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/module_trait.rs +0 -0
  2016. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/names.rs +0 -0
  2017. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/error.rs +0 -0
  2018. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/flags.rs +0 -0
  2019. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/handle.rs +0 -0
  2020. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/mod.rs +0 -0
  2021. /data/ext/cargo-vendor/{wiggle-generate-12.0.1 → wiggle-generate-13.0.0}/src/types/variant.rs +0 -0
  2022. /data/ext/cargo-vendor/{wiggle-macro-12.0.1 → wiggle-macro-13.0.0}/src/lib.rs +0 -0
  2023. /data/ext/cargo-vendor/{wasmtime-winch-12.0.1 → winch-codegen-0.11.0}/LICENSE +0 -0
  2024. /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/build.rs +0 -0
  2025. /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/abi/local.rs +0 -0
  2026. /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/codegen/env.rs +0 -0
  2027. /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/frame/mod.rs +0 -0
  2028. /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/isa/aarch64/mod.rs +0 -0
  2029. /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/isa/mod.rs +0 -0
  2030. /data/ext/cargo-vendor/{winch-codegen-0.10.1 → winch-codegen-0.11.0}/src/lib.rs +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/README.md +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/src/ast/toposort.rs +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/comments.wit +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/complex-include/root.wit +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/cross-package-resource/foo.wit +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/diamond1/join.wit +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  2044. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/disambiguate-diamond/world.wit +0 -0
  2045. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/embedded.wit.md +0 -0
  2046. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/empty.wit +0 -0
  2047. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  2048. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  2049. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  2050. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  2051. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  2052. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  2053. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  2054. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps/root.wit +0 -0
  2055. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  2056. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  2057. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  2058. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  2059. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  2060. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  2061. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  2062. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  2063. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/foreign-deps-union/root.wit +0 -0
  2064. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/functions.wit +0 -0
  2065. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  2066. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  2067. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/ignore-files-deps/world.wit +0 -0
  2068. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/include-reps.wit +0 -0
  2069. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/kebab-name-include-with.wit +0 -0
  2070. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/many-names/a.wit +0 -0
  2071. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/many-names/b.wit +0 -0
  2072. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/bar.wit +0 -0
  2073. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/cycle-a.wit +0 -0
  2074. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/cycle-b.wit +0 -0
  2075. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/multi-file/foo.wit +0 -0
  2076. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  2077. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  2078. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax1.wit +0 -0
  2079. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax3.wit +0 -0
  2080. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/package-syntax4.wit +0 -0
  2081. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  2082. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  2083. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/async.wit.result +0 -0
  2084. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/async1.wit.result +0 -0
  2085. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function.wit +0 -0
  2086. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  2087. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function2.wit +0 -0
  2088. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  2089. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include1.wit +0 -0
  2090. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  2091. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include2.wit +0 -0
  2092. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  2093. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include3.wit +0 -0
  2094. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  2095. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-list.wit +0 -0
  2096. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  2097. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  2098. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  2099. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  2100. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  2101. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  2102. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  2103. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  2104. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  2105. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  2106. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  2107. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  2108. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  2109. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  2110. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  2111. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  2112. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  2113. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  2114. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  2115. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  2116. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  2117. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  2118. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  2119. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  2120. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  2121. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  2122. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  2123. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  2124. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  2125. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  2126. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  2127. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  2128. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  2129. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  2130. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  2131. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  2132. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  2133. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  2134. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  2135. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  2136. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  2137. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  2138. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  2139. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  2140. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  2141. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  2142. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  2143. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  2144. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  2145. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  2146. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  2147. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  2148. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  2149. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
  2150. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle.wit +0 -0
  2151. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle.wit.result +0 -0
  2152. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle2.wit +0 -0
  2153. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  2154. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle3.wit +0 -0
  2155. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  2156. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle4.wit +0 -0
  2157. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  2158. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle5.wit +0 -0
  2159. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  2160. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/dangling-type.wit +0 -0
  2161. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  2162. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  2163. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  2164. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  2165. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  2166. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  2167. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  2168. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  2169. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  2170. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  2171. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-enum.wit +0 -0
  2172. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  2173. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  2174. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  2175. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/export-twice.wit +0 -0
  2176. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  2177. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  2178. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  2179. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  2180. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  2181. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  2182. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  2183. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  2184. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  2185. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  2186. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  2187. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap1.wit +0 -0
  2188. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -0
  2189. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap2.wit +0 -0
  2190. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -0
  2191. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-twice.wit +0 -0
  2192. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  2193. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-cycle.wit +0 -0
  2194. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  2195. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  2196. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  2197. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  2198. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-id.wit +0 -0
  2199. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  2200. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  2201. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  2202. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-md.md +0 -0
  2203. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-md.wit.result +0 -0
  2204. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  2205. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  2206. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  2207. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  2208. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  2209. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  2210. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  2211. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  2212. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  2213. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  2214. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/keyword.wit +0 -0
  2215. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/keyword.wit.result +0 -0
  2216. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/missing-package.wit +0 -0
  2217. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  2218. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  2219. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  2220. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  2221. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  2222. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  2223. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  2224. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  2225. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  2226. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  2227. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  2228. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  2229. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  2230. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  2231. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  2232. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  2233. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  2234. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  2235. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  2236. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/union-fuzz-2.wit +0 -0
  2237. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/union-fuzz-2.wit.result +0 -0
  2238. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  2239. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  2240. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  2241. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  2242. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  2243. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  2244. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  2245. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  2246. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  2247. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  2248. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  2249. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  2250. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  2251. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  2252. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  2253. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  2254. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  2255. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  2256. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  2257. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  2258. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  2259. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2260. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2261. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2262. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2263. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2264. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2265. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2266. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  2267. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2268. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2269. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2270. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2271. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2272. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2273. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2274. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2275. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2276. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2277. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2278. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2279. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2280. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2281. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/use-world.wit.result +0 -0
  2282. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2283. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2284. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2285. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2286. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2287. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2288. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2289. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2290. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2291. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2292. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-empty.wit +0 -0
  2293. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
  2294. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2295. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-multiple.wit +0 -0
  2296. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-return-borrow.wit +0 -0
  2297. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources-return-own.wit +0 -0
  2298. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources.wit +0 -0
  2299. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/resources1.wit +0 -0
  2300. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/shared-types.wit +0 -0
  2301. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/stress-export-elaborate.wit +0 -0
  2302. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/type-then-eof.wit +0 -0
  2303. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/union-fuzz-1.wit +0 -0
  2304. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/use-chain.wit +0 -0
  2305. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/use.wit +0 -0
  2306. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2307. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2308. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/versions/foo.wit +0 -0
  2309. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/wasi.wit +0 -0
  2310. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-iface-no-collide.wit +0 -0
  2311. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import1.wit +0 -0
  2312. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import2.wit +0 -0
  2313. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-implicit-import3.wit +0 -0
  2314. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-same-fields4.wit +0 -0
  2315. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-top-level-funcs.wit +0 -0
  2316. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/world-top-level-resources.wit +0 -0
  2317. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/worlds-union-dedup.wit +0 -0
  2318. /data/ext/cargo-vendor/{wit-parser-0.9.2 → wit-parser-0.11.1}/tests/ui/worlds-with-types.wit +0 -0
@@ -0,0 +1,3982 @@
1
+ ;; s390x instruction selection and CLIF-to-MachInst lowering.
2
+
3
+ ;; The main lowering constructor term: takes a clif `Inst` and returns the
4
+ ;; register(s) within which the lowered instruction's result values live.
5
+ (decl partial lower (Inst) InstOutput)
6
+
7
+ ;; A variant of the main lowering constructor term, used for branches.
8
+ ;; The only difference is that it gets an extra argument holding a vector
9
+ ;; of branch targets to be used.
10
+ (decl partial lower_branch (Inst VecMachLabel) Unit)
11
+
12
+
13
+ ;;;; Rules for `iconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14
+
15
+ (rule (lower (has_type ty (iconst (u64_from_imm64 n))))
16
+ (imm ty n))
17
+
18
+
19
+ ;;;; Rules for `f32const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
20
+
21
+ (rule (lower (f32const (u32_from_ieee32 x)))
22
+ (imm $F32 x))
23
+
24
+
25
+ ;;;; Rules for `f64const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
26
+
27
+ (rule (lower (f64const (u64_from_ieee64 x)))
28
+ (imm $F64 x))
29
+
30
+
31
+ ;;;; Rules for `vconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
32
+
33
+ (rule (lower (has_type ty (vconst (u128_from_constant x))))
34
+ (vec_imm ty (be_vec_const ty x)))
35
+
36
+
37
+ ;;;; Rules for `null` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
38
+
39
+ (rule (lower (has_type ty (null)))
40
+ (imm ty 0))
41
+
42
+
43
+ ;;;; Rules for `nop` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
44
+
45
+ (rule (lower (nop))
46
+ (invalid_reg))
47
+
48
+
49
+ ;;;; Rules for `iconcat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
50
+
51
+ (rule (lower (has_type (vr128_ty ty) (iconcat x y)))
52
+ (mov_to_vec128 ty y x))
53
+
54
+
55
+ ;;;; Rules for `isplit` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
56
+
57
+ (rule (lower (isplit x @ (value_type $I128)))
58
+ (let ((x_reg Reg x)
59
+ (x_hi Reg (vec_extract_lane $I64X2 x_reg 0 (zero_reg)))
60
+ (x_lo Reg (vec_extract_lane $I64X2 x_reg 1 (zero_reg))))
61
+ (output_pair x_lo x_hi)))
62
+
63
+
64
+ ;;;; Rules for `iadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
65
+
66
+ ;; Add two registers.
67
+ (rule 0 (lower (has_type (fits_in_64 ty) (iadd x y)))
68
+ (add_reg ty x y))
69
+
70
+ ;; Add a register and a sign-extended register.
71
+ (rule 8 (lower (has_type (fits_in_64 ty) (iadd x (sext32_value y))))
72
+ (add_reg_sext32 ty x y))
73
+ (rule 15 (lower (has_type (fits_in_64 ty) (iadd (sext32_value x) y)))
74
+ (add_reg_sext32 ty y x))
75
+
76
+ ;; Add a register and an immediate.
77
+ (rule 7 (lower (has_type (fits_in_64 ty) (iadd x (i16_from_value y))))
78
+ (add_simm16 ty x y))
79
+ (rule 14 (lower (has_type (fits_in_64 ty) (iadd (i16_from_value x) y)))
80
+ (add_simm16 ty y x))
81
+ (rule 6 (lower (has_type (fits_in_64 ty) (iadd x (i32_from_value y))))
82
+ (add_simm32 ty x y))
83
+ (rule 13 (lower (has_type (fits_in_64 ty) (iadd (i32_from_value x) y)))
84
+ (add_simm32 ty y x))
85
+
86
+ ;; Add a register and memory (32/64-bit types).
87
+ (rule 5 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_load_32_64 y))))
88
+ (add_mem ty x (sink_load y)))
89
+ (rule 12 (lower (has_type (fits_in_64 ty) (iadd (sinkable_load_32_64 x) y)))
90
+ (add_mem ty y (sink_load x)))
91
+
92
+ ;; Add a register and memory (16-bit types).
93
+ (rule 4 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_load_16 y))))
94
+ (add_mem_sext16 ty x (sink_load y)))
95
+ (rule 11 (lower (has_type (fits_in_64 ty) (iadd (sinkable_load_16 x) y)))
96
+ (add_mem_sext16 ty y (sink_load x)))
97
+
98
+ ;; Add a register and sign-extended memory.
99
+ (rule 3 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_sload16 y))))
100
+ (add_mem_sext16 ty x (sink_sload16 y)))
101
+ (rule 10 (lower (has_type (fits_in_64 ty) (iadd (sinkable_sload16 x) y)))
102
+ (add_mem_sext16 ty y (sink_sload16 x)))
103
+ (rule 2 (lower (has_type (fits_in_64 ty) (iadd x (sinkable_sload32 y))))
104
+ (add_mem_sext32 ty x (sink_sload32 y)))
105
+ (rule 9 (lower (has_type (fits_in_64 ty) (iadd (sinkable_sload32 x) y)))
106
+ (add_mem_sext32 ty y (sink_sload32 x)))
107
+
108
+ ;; Add two vector registers.
109
+ (rule 1 (lower (has_type (vr128_ty ty) (iadd x y)))
110
+ (vec_add ty x y))
111
+
112
+
113
+ ;;;; Rules for `uadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
114
+
115
+ ;; Add (saturate unsigned) two vector registers.
116
+ (rule (lower (has_type (ty_vec128 ty) (uadd_sat x y)))
117
+ (let ((sum Reg (vec_add ty x y)))
118
+ (vec_or ty sum (vec_cmphl ty x sum))))
119
+
120
+
121
+ ;;;; Rules for `sadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
122
+
123
+ ;; Add (saturate signed) two vector registers. $I64X2 not supported.
124
+ (rule (lower (has_type (ty_vec128 ty) (sadd_sat x y)))
125
+ (vec_pack_ssat (vec_widen_type ty)
126
+ (vec_add (vec_widen_type ty) (vec_unpacks_high ty x)
127
+ (vec_unpacks_high ty y))
128
+ (vec_add (vec_widen_type ty) (vec_unpacks_low ty x)
129
+ (vec_unpacks_low ty y))))
130
+
131
+
132
+ ;;;; Rules for `iadd_pairwise` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
133
+
134
+ ;; Lane-wise integer pairwise addition for 8-/16/32-bit vector registers.
135
+ (rule (lower (has_type ty @ (multi_lane bits _) (iadd_pairwise x y)))
136
+ (let ((size Reg (vec_imm_splat $I8X16 (u32_as_u64 bits))))
137
+ (vec_pack_lane_order (vec_widen_type ty)
138
+ (vec_add ty x (vec_lshr_by_byte x size))
139
+ (vec_add ty y (vec_lshr_by_byte y size)))))
140
+
141
+ ;; special case for the `i32x4.dot_i16x8_s` wasm instruction
142
+ (rule 1 (lower
143
+ (has_type dst_ty (iadd_pairwise
144
+ (imul (swiden_low x @ (value_type src_ty)) (swiden_low y))
145
+ (imul (swiden_high x) (swiden_high y)))))
146
+ (vec_add dst_ty (vec_smul_even src_ty x y)
147
+ (vec_smul_odd src_ty x y)))
148
+
149
+
150
+ ;;;; Rules for `isub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
151
+
152
+ ;; Sub two registers.
153
+ (rule 0 (lower (has_type (fits_in_64 ty) (isub x y)))
154
+ (sub_reg ty x y))
155
+
156
+ ;; Sub a register and a sign-extended register.
157
+ (rule 8 (lower (has_type (fits_in_64 ty) (isub x (sext32_value y))))
158
+ (sub_reg_sext32 ty x y))
159
+
160
+ ;; Sub a register and an immediate (using add of the negated value).
161
+ (rule 7 (lower (has_type (fits_in_64 ty) (isub x (i16_from_negated_value y))))
162
+ (add_simm16 ty x y))
163
+ (rule 6 (lower (has_type (fits_in_64 ty) (isub x (i32_from_negated_value y))))
164
+ (add_simm32 ty x y))
165
+
166
+ ;; Sub a register and memory (32/64-bit types).
167
+ (rule 5 (lower (has_type (fits_in_64 ty) (isub x (sinkable_load_32_64 y))))
168
+ (sub_mem ty x (sink_load y)))
169
+
170
+ ;; Sub a register and memory (16-bit types).
171
+ (rule 4 (lower (has_type (fits_in_64 ty) (isub x (sinkable_load_16 y))))
172
+ (sub_mem_sext16 ty x (sink_load y)))
173
+
174
+ ;; Sub a register and sign-extended memory.
175
+ (rule 3 (lower (has_type (fits_in_64 ty) (isub x (sinkable_sload16 y))))
176
+ (sub_mem_sext16 ty x (sink_sload16 y)))
177
+ (rule 2 (lower (has_type (fits_in_64 ty) (isub x (sinkable_sload32 y))))
178
+ (sub_mem_sext32 ty x (sink_sload32 y)))
179
+
180
+ ;; Sub two vector registers.
181
+ (rule 1 (lower (has_type (vr128_ty ty) (isub x y)))
182
+ (vec_sub ty x y))
183
+
184
+
185
+ ;;;; Rules for `usub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
186
+
187
+ ;; Add (saturate unsigned) two vector registers.
188
+ (rule (lower (has_type (ty_vec128 ty) (usub_sat x y)))
189
+ (vec_and ty (vec_sub ty x y) (vec_cmphl ty x y)))
190
+
191
+
192
+ ;;;; Rules for `ssub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
193
+
194
+ ;; Add (saturate signed) two vector registers. $I64X2 not supported.
195
+ (rule (lower (has_type (ty_vec128 ty) (ssub_sat x y)))
196
+ (vec_pack_ssat (vec_widen_type ty)
197
+ (vec_sub (vec_widen_type ty) (vec_unpacks_high ty x)
198
+ (vec_unpacks_high ty y))
199
+ (vec_sub (vec_widen_type ty) (vec_unpacks_low ty x)
200
+ (vec_unpacks_low ty y))))
201
+
202
+
203
+ ;;;; Rules for `iabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
204
+
205
+ ;; Absolute value of a register.
206
+ ;; For types smaller than 32-bit, the input value must be sign-extended.
207
+ (rule 2 (lower (has_type (fits_in_64 ty) (iabs x)))
208
+ (abs_reg (ty_ext32 ty) (put_in_reg_sext32 x)))
209
+
210
+ ;; Absolute value of a sign-extended register.
211
+ (rule 3 (lower (has_type (fits_in_64 ty) (iabs (sext32_value x))))
212
+ (abs_reg_sext32 ty x))
213
+
214
+ ;; Absolute value of a vector register.
215
+ (rule 1 (lower (has_type (ty_vec128 ty) (iabs x)))
216
+ (vec_abs ty x))
217
+
218
+ ;; Absolute value of a 128-bit integer.
219
+ (rule 0 (lower (has_type $I128 (iabs x)))
220
+ (let ((zero Reg (vec_imm $I128 0))
221
+ (pos Reg x)
222
+ (neg Reg (vec_sub $I128 zero pos))
223
+ (rep Reg (vec_replicate_lane $I64X2 pos 0))
224
+ (mask Reg (vec_cmph $I64X2 zero rep)))
225
+ (vec_select $I128 neg pos mask)))
226
+
227
+
228
+ ;;;; Rules for `ineg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
229
+
230
+ ;; Negate a register.
231
+ (rule 2 (lower (has_type (fits_in_64 ty) (ineg x)))
232
+ (neg_reg ty x))
233
+
234
+ ;; Negate a sign-extended register.
235
+ (rule 3 (lower (has_type (fits_in_64 ty) (ineg (sext32_value x))))
236
+ (neg_reg_sext32 ty x))
237
+
238
+ ;; Negate a vector register.
239
+ (rule 1 (lower (has_type (ty_vec128 ty) (ineg x)))
240
+ (vec_neg ty x))
241
+
242
+ ;; Negate a 128-bit integer.
243
+ (rule 0 (lower (has_type $I128 (ineg x)))
244
+ (vec_sub $I128 (vec_imm $I128 0) x))
245
+
246
+
247
+ ;;;; Rules for `umax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
248
+
249
+ ;; Unsigned maximum of two scalar integers - expand to icmp + select.
250
+ (rule 2 (lower (has_type (fits_in_64 ty) (umax x y)))
251
+ (let ((x_ext Reg (put_in_reg_zext32 x))
252
+ (y_ext Reg (put_in_reg_zext32 y))
253
+ (cond ProducesBool (bool (icmpu_reg (ty_ext32 ty) x_ext y_ext)
254
+ (intcc_as_cond (IntCC.UnsignedLessThan)))))
255
+ (select_bool_reg ty cond y_ext x_ext)))
256
+
257
+ ;; Unsigned maximum of two 128-bit integers - expand to icmp + select.
258
+ (rule 1 (lower (has_type $I128 (umax x y)))
259
+ (let ((x_reg Reg (put_in_reg x))
260
+ (y_reg Reg (put_in_reg y))
261
+ (cond ProducesBool (vec_int128_ucmphi y_reg x_reg)))
262
+ (select_bool_reg $I128 cond y_reg x_reg)))
263
+
264
+ ;; Unsigned maximum of two vector registers.
265
+ (rule 0 (lower (has_type (ty_vec128 ty) (umax x y)))
266
+ (vec_umax ty x y))
267
+
268
+
269
+ ;;;; Rules for `umin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
270
+
271
+ ;; Unsigned minimum of two scalar integers - expand to icmp + select.
272
+ (rule 2 (lower (has_type (fits_in_64 ty) (umin x y)))
273
+ (let ((x_ext Reg (put_in_reg_zext32 x))
274
+ (y_ext Reg (put_in_reg_zext32 y))
275
+ (cond ProducesBool (bool (icmpu_reg (ty_ext32 ty) x_ext y_ext)
276
+ (intcc_as_cond (IntCC.UnsignedGreaterThan)))))
277
+ (select_bool_reg ty cond y_ext x_ext)))
278
+
279
+ ;; Unsigned maximum of two 128-bit integers - expand to icmp + select.
280
+ (rule 1 (lower (has_type $I128 (umin x y)))
281
+ (let ((x_reg Reg (put_in_reg x))
282
+ (y_reg Reg (put_in_reg y))
283
+ (cond ProducesBool (vec_int128_ucmphi x_reg y_reg)))
284
+ (select_bool_reg $I128 cond y_reg x_reg)))
285
+
286
+ ;; Unsigned minimum of two vector registers.
287
+ (rule 0 (lower (has_type (ty_vec128 ty) (umin x y)))
288
+ (vec_umin ty x y))
289
+
290
+
291
+ ;;;; Rules for `smax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
292
+
293
+ ;; Signed maximum of two scalar integers - expand to icmp + select.
294
+ (rule 2 (lower (has_type (fits_in_64 ty) (smax x y)))
295
+ (let ((x_ext Reg (put_in_reg_sext32 x))
296
+ (y_ext Reg (put_in_reg_sext32 y))
297
+ (cond ProducesBool (bool (icmps_reg (ty_ext32 ty) x_ext y_ext)
298
+ (intcc_as_cond (IntCC.SignedLessThan)))))
299
+ (select_bool_reg ty cond y_ext x_ext)))
300
+
301
+ ;; Signed maximum of two 128-bit integers - expand to icmp + select.
302
+ (rule 1 (lower (has_type $I128 (smax x y)))
303
+ (let ((x_reg Reg (put_in_reg x))
304
+ (y_reg Reg (put_in_reg y))
305
+ (cond ProducesBool (vec_int128_scmphi y_reg x_reg)))
306
+ (select_bool_reg $I128 cond y_reg x_reg)))
307
+
308
+ ;; Signed maximum of two vector registers.
309
+ (rule (lower (has_type (ty_vec128 ty) (smax x y)))
310
+ (vec_smax ty x y))
311
+
312
+
313
+ ;;;; Rules for `smin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
314
+
315
+ ;; Signed minimum of two scalar integers - expand to icmp + select.
316
+ (rule 2 (lower (has_type (fits_in_64 ty) (smin x y)))
317
+ (let ((x_ext Reg (put_in_reg_sext32 x))
318
+ (y_ext Reg (put_in_reg_sext32 y))
319
+ (cond ProducesBool (bool (icmps_reg (ty_ext32 ty) x_ext y_ext)
320
+ (intcc_as_cond (IntCC.SignedGreaterThan)))))
321
+ (select_bool_reg ty cond y_ext x_ext)))
322
+
323
+ ;; Signed maximum of two 128-bit integers - expand to icmp + select.
324
+ (rule 1 (lower (has_type $I128 (smin x y)))
325
+ (let ((x_reg Reg (put_in_reg x))
326
+ (y_reg Reg (put_in_reg y))
327
+ (cond ProducesBool (vec_int128_scmphi x_reg y_reg)))
328
+ (select_bool_reg $I128 cond y_reg x_reg)))
329
+
330
+ ;; Signed minimum of two vector registers.
331
+ (rule (lower (has_type (ty_vec128 ty) (smin x y)))
332
+ (vec_smin ty x y))
333
+
334
+
335
+ ;;;; Rules for `avg_round` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
336
+
337
+ ;; Unsigned average of two vector registers.
338
+ (rule (lower (has_type (ty_vec128 ty) (avg_round x y)))
339
+ (vec_uavg ty x y))
340
+
341
+
342
+ ;;;; Rules for `imul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
343
+
344
+ ;; Multiply two registers.
345
+ (rule 0 (lower (has_type (fits_in_64 ty) (imul x y)))
346
+ (mul_reg ty x y))
347
+
348
+ ;; Multiply a register and a sign-extended register.
349
+ (rule 8 (lower (has_type (fits_in_64 ty) (imul x (sext32_value y))))
350
+ (mul_reg_sext32 ty x y))
351
+ (rule 15 (lower (has_type (fits_in_64 ty) (imul (sext32_value x) y)))
352
+ (mul_reg_sext32 ty y x))
353
+
354
+ ;; Multiply a register and an immediate.
355
+ (rule 7 (lower (has_type (fits_in_64 ty) (imul x (i16_from_value y))))
356
+ (mul_simm16 ty x y))
357
+ (rule 14 (lower (has_type (fits_in_64 ty) (imul (i16_from_value x) y)))
358
+ (mul_simm16 ty y x))
359
+ (rule 6 (lower (has_type (fits_in_64 ty) (imul x (i32_from_value y))))
360
+ (mul_simm32 ty x y))
361
+ (rule 13 (lower (has_type (fits_in_64 ty) (imul (i32_from_value x) y)))
362
+ (mul_simm32 ty y x))
363
+
364
+ ;; Multiply a register and memory (32/64-bit types).
365
+ (rule 5 (lower (has_type (fits_in_64 ty) (imul x (sinkable_load_32_64 y))))
366
+ (mul_mem ty x (sink_load y)))
367
+ (rule 12 (lower (has_type (fits_in_64 ty) (imul (sinkable_load_32_64 x) y)))
368
+ (mul_mem ty y (sink_load x)))
369
+
370
+ ;; Multiply a register and memory (16-bit types).
371
+ (rule 4 (lower (has_type (fits_in_64 ty) (imul x (sinkable_load_16 y))))
372
+ (mul_mem_sext16 ty x (sink_load y)))
373
+ (rule 11 (lower (has_type (fits_in_64 ty) (imul (sinkable_load_16 x) y)))
374
+ (mul_mem_sext16 ty y (sink_load x)))
375
+
376
+ ;; Multiply a register and sign-extended memory.
377
+ (rule 3 (lower (has_type (fits_in_64 ty) (imul x (sinkable_sload16 y))))
378
+ (mul_mem_sext16 ty x (sink_sload16 y)))
379
+ (rule 10 (lower (has_type (fits_in_64 ty) (imul (sinkable_sload16 x) y)))
380
+ (mul_mem_sext16 ty y (sink_sload16 x)))
381
+ (rule 2 (lower (has_type (fits_in_64 ty) (imul x (sinkable_sload32 y))))
382
+ (mul_mem_sext32 ty x (sink_sload32 y)))
383
+ (rule 9 (lower (has_type (fits_in_64 ty) (imul (sinkable_sload32 x) y)))
384
+ (mul_mem_sext32 ty y (sink_sload32 x)))
385
+
386
+ ;; Multiply two vector registers, using a helper.
387
+ (decl vec_mul_impl (Type Reg Reg) Reg)
388
+ (rule 1 (lower (has_type (vr128_ty ty) (imul x y)))
389
+ (vec_mul_impl ty x y))
390
+
391
+ ;; Multiply two vector registers - byte, halfword, and word.
392
+ (rule (vec_mul_impl $I8X16 x y) (vec_mul $I8X16 x y))
393
+ (rule (vec_mul_impl $I16X8 x y) (vec_mul $I16X8 x y))
394
+ (rule (vec_mul_impl $I32X4 x y) (vec_mul $I32X4 x y))
395
+
396
+ ;; Multiply two vector registers - doubleword. Has to be scalarized.
397
+ (rule (vec_mul_impl $I64X2 x y)
398
+ (mov_to_vec128 $I64X2
399
+ (mul_reg $I64 (vec_extract_lane $I64X2 x 0 (zero_reg))
400
+ (vec_extract_lane $I64X2 y 0 (zero_reg)))
401
+ (mul_reg $I64 (vec_extract_lane $I64X2 x 1 (zero_reg))
402
+ (vec_extract_lane $I64X2 y 1 (zero_reg)))))
403
+
404
+ ;; Multiply two vector registers - quadword.
405
+ (rule (vec_mul_impl $I128 x y)
406
+ (let ((x_hi Reg (vec_extract_lane $I64X2 x 0 (zero_reg)))
407
+ (x_lo Reg (vec_extract_lane $I64X2 x 1 (zero_reg)))
408
+ (y_hi Reg (vec_extract_lane $I64X2 y 0 (zero_reg)))
409
+ (y_lo Reg (vec_extract_lane $I64X2 y 1 (zero_reg)))
410
+ (lo_pair RegPair (umul_wide x_lo y_lo))
411
+ (res_lo Reg (regpair_lo lo_pair))
412
+ (res_hi_1 Reg (regpair_hi lo_pair))
413
+ (res_hi_2 Reg (mul_reg $I64 x_lo y_hi))
414
+ (res_hi_3 Reg (mul_reg $I64 x_hi y_lo))
415
+ (res_hi Reg (add_reg $I64 res_hi_3 (add_reg $I64 res_hi_2 res_hi_1))))
416
+ (mov_to_vec128 $I64X2 res_hi res_lo)))
417
+
418
+
419
+ ;;;; Rules for `umulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
420
+
421
+ ;; Multiply high part unsigned, 8-bit or 16-bit types. (Uses 32-bit multiply.)
422
+ (rule -1 (lower (has_type (ty_8_or_16 ty) (umulhi x y)))
423
+ (let ((ext_reg_x Reg (put_in_reg_zext32 x))
424
+ (ext_reg_y Reg (put_in_reg_zext32 y))
425
+ (ext_mul Reg (mul_reg $I32 ext_reg_x ext_reg_y)))
426
+ (lshr_imm $I32 ext_mul (ty_bits ty))))
427
+
428
+ ;; Multiply high part unsigned, 32-bit types. (Uses 64-bit multiply.)
429
+ (rule (lower (has_type $I32 (umulhi x y)))
430
+ (let ((ext_reg_x Reg (put_in_reg_zext64 x))
431
+ (ext_reg_y Reg (put_in_reg_zext64 y))
432
+ (ext_mul Reg (mul_reg $I64 ext_reg_x ext_reg_y)))
433
+ (lshr_imm $I64 ext_mul 32)))
434
+
435
+ ;; Multiply high part unsigned, 64-bit types. (Uses umul_wide.)
436
+ (rule (lower (has_type $I64 (umulhi x y)))
437
+ (let ((pair RegPair (umul_wide x y)))
438
+ (regpair_hi pair)))
439
+
440
+ ;; Multiply high part unsigned, vector types with 8-, 16-, or 32-bit elements.
441
+ (rule (lower (has_type $I8X16 (umulhi x y))) (vec_umulhi $I8X16 x y))
442
+ (rule (lower (has_type $I16X8 (umulhi x y))) (vec_umulhi $I16X8 x y))
443
+ (rule (lower (has_type $I32X4 (umulhi x y))) (vec_umulhi $I32X4 x y))
444
+
445
+ ;; Multiply high part unsigned, vector types with 64-bit elements.
446
+ ;; Has to be scalarized.
447
+ (rule (lower (has_type $I64X2 (umulhi x y)))
448
+ (let ((pair_0 RegPair (umul_wide (vec_extract_lane $I64X2 x 0 (zero_reg))
449
+ (vec_extract_lane $I64X2 y 0 (zero_reg))))
450
+ (res_0 Reg (regpair_hi pair_0))
451
+ (pair_1 RegPair (umul_wide (vec_extract_lane $I64X2 x 1 (zero_reg))
452
+ (vec_extract_lane $I64X2 y 1 (zero_reg))))
453
+ (res_1 Reg (regpair_hi pair_1)))
454
+ (mov_to_vec128 $I64X2 res_0 res_1)))
455
+
456
+
457
+ ;;;; Rules for `smulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
458
+
459
+ ;; Multiply high part signed, 8-bit or 16-bit types. (Uses 32-bit multiply.)
460
+ (rule -1 (lower (has_type (ty_8_or_16 ty) (smulhi x y)))
461
+ (let ((ext_reg_x Reg (put_in_reg_sext32 x))
462
+ (ext_reg_y Reg (put_in_reg_sext32 y))
463
+ (ext_mul Reg (mul_reg $I32 ext_reg_x ext_reg_y)))
464
+ (ashr_imm $I32 ext_mul (ty_bits ty))))
465
+
466
+ ;; Multiply high part signed, 32-bit types. (Uses 64-bit multiply.)
467
+ (rule (lower (has_type $I32 (smulhi x y)))
468
+ (let ((ext_reg_x Reg (put_in_reg_sext64 x))
469
+ (ext_reg_y Reg (put_in_reg_sext64 y))
470
+ (ext_mul Reg (mul_reg $I64 ext_reg_x ext_reg_y)))
471
+ (ashr_imm $I64 ext_mul 32)))
472
+
473
+ ;; Multiply high part signed, 64-bit types. (Uses smul_wide.)
474
+ (rule (lower (has_type $I64 (smulhi x y)))
475
+ (let ((pair RegPair (smul_wide x y)))
476
+ (regpair_hi pair)))
477
+
478
+ ;; Multiply high part signed, vector types with 8-, 16-, or 32-bit elements.
479
+ (rule (lower (has_type $I8X16 (smulhi x y))) (vec_smulhi $I8X16 x y))
480
+ (rule (lower (has_type $I16X8 (smulhi x y))) (vec_smulhi $I16X8 x y))
481
+ (rule (lower (has_type $I32X4 (smulhi x y))) (vec_smulhi $I32X4 x y))
482
+
483
+ ;; Multiply high part unsigned, vector types with 64-bit elements.
484
+ ;; Has to be scalarized.
485
+ (rule (lower (has_type $I64X2 (smulhi x y)))
486
+ (let ((pair_0 RegPair (smul_wide (vec_extract_lane $I64X2 x 0 (zero_reg))
487
+ (vec_extract_lane $I64X2 y 0 (zero_reg))))
488
+ (res_0 Reg (copy_reg $I64 (regpair_hi pair_0)))
489
+ (pair_1 RegPair (smul_wide (vec_extract_lane $I64X2 x 1 (zero_reg))
490
+ (vec_extract_lane $I64X2 y 1 (zero_reg))))
491
+ (res_1 Reg (regpair_hi pair_1)))
492
+ (mov_to_vec128 $I64X2 res_0 res_1)))
493
+
494
+
495
+ ;;;; Rules for `sqmul_round_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
496
+
497
+ ;; Fixed-point multiplication of two vector registers.
498
+ (rule (lower (has_type (ty_vec128 ty) (sqmul_round_sat x y)))
499
+ (vec_pack_ssat (vec_widen_type ty)
500
+ (sqmul_impl (vec_widen_type ty)
501
+ (vec_unpacks_high ty x)
502
+ (vec_unpacks_high ty y))
503
+ (sqmul_impl (vec_widen_type ty)
504
+ (vec_unpacks_low ty x)
505
+ (vec_unpacks_low ty y))))
506
+
507
+ ;; Helper to perform the rounded multiply in the wider type.
508
+ (decl sqmul_impl (Type Reg Reg) Reg)
509
+ (rule (sqmul_impl $I32X4 x y)
510
+ (vec_ashr_imm $I32X4 (vec_add $I32X4 (vec_mul_impl $I32X4 x y)
511
+ (vec_imm_bit_mask $I32X4 17 17))
512
+ 15))
513
+ (rule (sqmul_impl $I64X2 x y)
514
+ (vec_ashr_imm $I64X2 (vec_add $I64X2 (vec_mul_impl $I64X2 x y)
515
+ (vec_imm_bit_mask $I64X2 33 33))
516
+ 31))
517
+
518
+
519
+ ;;;; Rules for `udiv` and `urem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
520
+
521
+ ;; Divide two registers. The architecture provides combined udiv / urem
522
+ ;; instructions with the following combination of data types:
523
+ ;;
524
+ ;; - 64-bit dividend (split across a 2x32-bit register pair),
525
+ ;; 32-bit divisor (in a single input register)
526
+ ;; 32-bit quotient & remainder (in a 2x32-bit register pair)
527
+ ;;
528
+ ;; - 128-bit dividend (split across a 2x64-bit register pair),
529
+ ;; 64-bit divisor (in a single input register)
530
+ ;; 64-bit quotient & remainder (in a 2x64-bit register pair)
531
+ ;;
532
+ ;; We use the first variant for 32-bit and smaller input types,
533
+ ;; and the second variant for 64-bit input types.
534
+
535
+ ;; Implement `udiv`.
536
+ (rule (lower (has_type (fits_in_64 ty) (udiv x y)))
537
+ (let (;; Look at the divisor to determine whether we need to generate
538
+ ;; an explicit division-by zero check.
539
+ ;; Load up the dividend, by loading the input (possibly zero-
540
+ ;; extended) input into the low half of the register pair,
541
+ ;; and setting the high half to zero.
542
+ (ext_x RegPair (regpair (imm (ty_ext32 ty) 0)
543
+ (put_in_reg_zext32 x)))
544
+ ;; Load up the divisor, zero-extended if necessary.
545
+ (ext_y Reg (put_in_reg_zext32 y))
546
+ (ext_ty Type (ty_ext32 ty))
547
+ ;; Emit the actual divide instruction.
548
+ (pair RegPair (udivmod ext_ty ext_x ext_y)))
549
+ ;; The quotient can be found in the low half of the result.
550
+ (regpair_lo pair)))
551
+
552
+ ;; Implement `urem`. Same as `udiv`, but finds the remainder in
553
+ ;; the high half of the result register pair instead.
554
+ (rule (lower (has_type (fits_in_64 ty) (urem x y)))
555
+ (let ((ext_x RegPair (regpair (imm (ty_ext32 ty) 0)
556
+ (put_in_reg_zext32 x)))
557
+ (ext_y Reg (put_in_reg_zext32 y))
558
+ (ext_ty Type (ty_ext32 ty))
559
+ (pair RegPair (udivmod ext_ty ext_x ext_y)))
560
+ (regpair_hi pair)))
561
+
562
+
563
+ ;;;; Rules for `sdiv` and `srem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
564
+
565
+ ;; Divide two registers. The architecture provides combined sdiv / srem
566
+ ;; instructions with the following combination of data types:
567
+ ;;
568
+ ;; - 64-bit dividend (in the low half of a 2x64-bit register pair),
569
+ ;; 32-bit divisor (in a single input register)
570
+ ;; 64-bit quotient & remainder (in a 2x64-bit register pair)
571
+ ;;
572
+ ;; - 64-bit dividend (in the low half of a 2x64-bit register pair),
573
+ ;; 64-bit divisor (in a single input register)
574
+ ;; 64-bit quotient & remainder (in a 2x64-bit register pair)
575
+ ;;
576
+ ;; We use the first variant for 32-bit and smaller input types,
577
+ ;; and the second variant for 64-bit input types.
578
+
579
+ ;; Implement `sdiv`.
580
+ (rule (lower (has_type (fits_in_64 ty) (sdiv x y)))
581
+ (let (;; Look at the divisor to determine whether we need to generate
582
+ ;; explicit division-by-zero and/or integer-overflow checks.
583
+ (OFcheck bool (div_overflow_check_needed y))
584
+ ;; Load up the dividend (sign-extended to 64-bit)
585
+ (ext_x Reg (put_in_reg_sext64 x))
586
+ ;; Load up the divisor (sign-extended if necessary).
587
+ (ext_y Reg (put_in_reg_sext32 y))
588
+ (ext_ty Type (ty_ext32 ty))
589
+ ;; Perform integer-overflow check if necessary.
590
+ (_ Reg (maybe_trap_if_sdiv_overflow OFcheck ext_ty ty ext_x ext_y))
591
+ ;; Emit the actual divide instruction.
592
+ (pair RegPair (sdivmod ext_ty ext_x ext_y)))
593
+ ;; The quotient can be found in the low half of the result.
594
+ (regpair_lo pair)))
595
+
596
+ ;; Implement `srem`. Same as `sdiv`, but finds the remainder in
597
+ ;; the high half of the result register pair instead. Also, handle
598
+ ;; the integer overflow case differently, see below.
599
+ (rule (lower (has_type (fits_in_64 ty) (srem x y)))
600
+ (let ((OFcheck bool (div_overflow_check_needed y))
601
+ (ext_x Reg (put_in_reg_sext64 x))
602
+ (ext_y Reg (put_in_reg_sext32 y))
603
+ (ext_ty Type (ty_ext32 ty))
604
+ (checked_x Reg (maybe_avoid_srem_overflow OFcheck ext_ty ext_x ext_y))
605
+ (pair RegPair (sdivmod ext_ty checked_x ext_y)))
606
+ (regpair_hi pair)))
607
+
608
+ ;; Determine whether we need to perform an integer-overflow check.
609
+ ;;
610
+ ;; We never rely on the divide instruction itself to trap; while that trap
611
+ ;; would indeed happen, we have no way of signalling two different trap
612
+ ;; conditions from the same instruction. By explicity checking for the
613
+ ;; integer-overflow case ahead of time, any hardware trap in the divide
614
+ ;; instruction is guaranteed to indicate divison-by-zero.
615
+ ;;
616
+ ;; In addition, for types smaller than 64 bits we would have to perform
617
+ ;; the check explicitly anyway, since the instruction provides a 64-bit
618
+ ;; quotient and only traps if *that* overflows.
619
+ ;;
620
+ ;; However, the only case where integer overflow can occur is if the
621
+ ;; minimum (signed) integer value is divided by -1, so if the divisor
622
+ ;; is any immediate different from -1, the check can be omitted.
623
+ (decl div_overflow_check_needed (Value) bool)
624
+ (rule 1 (div_overflow_check_needed (i64_from_value x))
625
+ (if (i64_not_neg1 x))
626
+ $false)
627
+ (rule (div_overflow_check_needed _) $true)
628
+
629
+ ;; Perform the integer-overflow check if necessary. This implements:
630
+ ;;
631
+ ;; if divisor == INT_MIN && dividend == -1 { trap }
632
+ ;;
633
+ ;; but to avoid introducing control flow, it is actually done as:
634
+ ;;
635
+ ;; if ((divisor ^ INT_MAX) & dividend) == -1 { trap }
636
+ ;;
637
+ ;; instead, using a single conditional trap instruction.
638
+ (decl maybe_trap_if_sdiv_overflow (bool Type Type Reg Reg) Reg)
639
+ (rule (maybe_trap_if_sdiv_overflow $false ext_ty _ _ _) (invalid_reg))
640
+ (rule (maybe_trap_if_sdiv_overflow $true ext_ty ty x y)
641
+ (let ((int_max Reg (imm ext_ty (int_max ty)))
642
+ (reg Reg (and_reg ext_ty (xor_reg ext_ty int_max x) y)))
643
+ (icmps_simm16_and_trap ext_ty reg -1
644
+ (intcc_as_cond (IntCC.Equal))
645
+ (trap_code_integer_overflow))))
646
+ (decl int_max (Type) u64)
647
+ (rule (int_max $I8) 0x7f)
648
+ (rule (int_max $I16) 0x7fff)
649
+ (rule (int_max $I32) 0x7fffffff)
650
+ (rule (int_max $I64) 0x7fffffffffffffff)
651
+
652
+ ;; When performing `srem`, we do not want to trap in the
653
+ ;; integer-overflow scenario, because it is only the quotient
654
+ ;; that overflows, not the remainder.
655
+ ;;
656
+ ;; For types smaller than 64 bits, we can simply let the
657
+ ;; instruction execute, since (as above) it will never trap.
658
+ ;;
659
+ ;; For 64-bit inputs, we check whether the divisor is -1, and
660
+ ;; if so simply replace the dividend by zero, which will give
661
+ ;; the correct result, since any value modulo -1 is zero.
662
+ ;;
663
+ ;; (We could in fact avoid executing the divide instruction
664
+ ;; at all in this case, but that would require introducing
665
+ ;; control flow.)
666
+ (decl maybe_avoid_srem_overflow (bool Type Reg Reg) Reg)
667
+ (rule (maybe_avoid_srem_overflow $false _ x _) x)
668
+ (rule (maybe_avoid_srem_overflow $true $I32 x _) x)
669
+ (rule (maybe_avoid_srem_overflow $true $I64 x y)
670
+ (with_flags_reg (icmps_simm16 $I64 y -1)
671
+ (cmov_imm $I64 (intcc_as_cond (IntCC.Equal)) 0 x)))
672
+
673
+
674
+ ;;;; Rules for `ishl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
675
+
676
+ ;; Shift left, shift amount in register.
677
+ (rule 0 (lower (has_type (fits_in_64 ty) (ishl x y)))
678
+ (let ((masked_amt Reg (mask_amt_reg ty (amt_reg y))))
679
+ (lshl_reg ty x masked_amt)))
680
+
681
+ ;; Shift left, immediate shift amount.
682
+ (rule 1 (lower (has_type (fits_in_64 ty) (ishl x (i64_from_value y))))
683
+ (let ((masked_amt u8 (mask_amt_imm ty y)))
684
+ (lshl_imm ty x masked_amt)))
685
+
686
+ ;; Vector shift left, shift amount in register.
687
+ (rule 2 (lower (has_type (ty_vec128 ty) (ishl x y)))
688
+ (vec_lshl_reg ty x (amt_reg y)))
689
+
690
+ ;; Vector shift left, immediate shift amount.
691
+ (rule 3 (lower (has_type (ty_vec128 ty) (ishl x (i64_from_value y))))
692
+ (let ((masked_amt u8 (mask_amt_imm ty y)))
693
+ (vec_lshl_imm ty x masked_amt)))
694
+
695
+ ;; 128-bit vector shift left.
696
+ (rule 4 (lower (has_type $I128 (ishl x y)))
697
+ (let ((amt Reg (amt_vr y)))
698
+ (vec_lshl_by_bit (vec_lshl_by_byte x amt) amt)))
699
+
700
+
701
+ ;;;; Rules for `ushr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
702
+
703
+ ;; Shift right logical, shift amount in register.
704
+ ;; For types smaller than 32-bit, the input value must be zero-extended.
705
+ (rule 0 (lower (has_type (fits_in_64 ty) (ushr x y)))
706
+ (let ((ext_reg Reg (put_in_reg_zext32 x))
707
+ (masked_amt Reg (mask_amt_reg ty (amt_reg y))))
708
+ (lshr_reg (ty_ext32 ty) ext_reg masked_amt)))
709
+
710
+ ;; Shift right logical, immediate shift amount.
711
+ ;; For types smaller than 32-bit, the input value must be zero-extended.
712
+ (rule 1 (lower (has_type (fits_in_64 ty) (ushr x (i64_from_value y))))
713
+ (let ((ext_reg Reg (put_in_reg_zext32 x))
714
+ (masked_amt u8 (mask_amt_imm ty y)))
715
+ (lshr_imm (ty_ext32 ty) ext_reg masked_amt)))
716
+
717
+ ;; Vector shift right logical, shift amount in register.
718
+ (rule 2 (lower (has_type (ty_vec128 ty) (ushr x y)))
719
+ (vec_lshr_reg ty x (amt_reg y)))
720
+
721
+ ;; Vector shift right logical, immediate shift amount.
722
+ (rule 3 (lower (has_type (ty_vec128 ty) (ushr x (i64_from_value y))))
723
+ (let ((masked_amt u8 (mask_amt_imm ty y)))
724
+ (vec_lshr_imm ty x masked_amt)))
725
+
726
+ ;; 128-bit vector shift right logical.
727
+ (rule 4 (lower (has_type $I128 (ushr x y)))
728
+ (let ((amt Reg (amt_vr y)))
729
+ (vec_lshr_by_bit (vec_lshr_by_byte x amt) amt)))
730
+
731
+
732
+ ;;;; Rules for `sshr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
733
+
734
+ ;; Shift right arithmetic, shift amount in register.
735
+ ;; For types smaller than 32-bit, the input value must be sign-extended.
736
+ (rule 0 (lower (has_type (fits_in_64 ty) (sshr x y)))
737
+ (let ((ext_reg Reg (put_in_reg_sext32 x))
738
+ (masked_amt Reg (mask_amt_reg ty (amt_reg y))))
739
+ (ashr_reg (ty_ext32 ty) ext_reg masked_amt)))
740
+
741
+ ;; Shift right arithmetic, immediate shift amount.
742
+ ;; For types smaller than 32-bit, the input value must be sign-extended.
743
+ (rule 1 (lower (has_type (fits_in_64 ty) (sshr x (i64_from_value y))))
744
+ (let ((ext_reg Reg (put_in_reg_sext32 x))
745
+ (masked_amt u8 (mask_amt_imm ty y)))
746
+ (ashr_imm (ty_ext32 ty) ext_reg masked_amt)))
747
+
748
+ ;; Vector shift right arithmetic, shift amount in register.
749
+ (rule 2 (lower (has_type (ty_vec128 ty) (sshr x y)))
750
+ (vec_ashr_reg ty x (amt_reg y)))
751
+
752
+ ;; Vector shift right arithmetic, immediate shift amount.
753
+ (rule 3 (lower (has_type (ty_vec128 ty) (sshr x (i64_from_value y))))
754
+ (let ((masked_amt u8 (mask_amt_imm ty y)))
755
+ (vec_ashr_imm ty x masked_amt)))
756
+
757
+ ;; 128-bit vector shift right arithmetic.
758
+ (rule 4 (lower (has_type $I128 (sshr x y)))
759
+ (let ((amt Reg (amt_vr y)))
760
+ (vec_ashr_by_bit (vec_ashr_by_byte x amt) amt)))
761
+
762
+
763
+ ;;;; Rules for `rotl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
764
+
765
+ ;; Rotate left, shift amount in register. 32-bit or 64-bit types.
766
+ (rule 0 (lower (has_type (ty_32_or_64 ty) (rotl x y)))
767
+ (rot_reg ty x (amt_reg y)))
768
+
769
+ ;; Rotate left arithmetic, immediate shift amount. 32-bit or 64-bit types.
770
+ (rule 1 (lower (has_type (ty_32_or_64 ty) (rotl x (i64_from_value y))))
771
+ (let ((masked_amt u8 (mask_amt_imm ty y)))
772
+ (rot_imm ty x masked_amt)))
773
+
774
+ ;; Rotate left, shift amount in register. 8-bit or 16-bit types.
775
+ ;; Implemented via a pair of 32-bit shifts on the zero-extended input.
776
+ (rule 2 (lower (has_type (ty_8_or_16 ty) (rotl x y)))
777
+ (let ((ext_reg Reg (put_in_reg_zext32 x))
778
+ (ext_ty Type (ty_ext32 ty))
779
+ (pos_amt Reg (amt_reg y))
780
+ (neg_amt Reg (neg_reg $I32 pos_amt))
781
+ (masked_pos_amt Reg (mask_amt_reg ty pos_amt))
782
+ (masked_neg_amt Reg (mask_amt_reg ty neg_amt)))
783
+ (or_reg ty (lshl_reg ext_ty ext_reg masked_pos_amt)
784
+ (lshr_reg ext_ty ext_reg masked_neg_amt))))
785
+
786
+ ;; Rotate left, immediate shift amount. 8-bit or 16-bit types.
787
+ ;; Implemented via a pair of 32-bit shifts on the zero-extended input.
788
+ (rule 3 (lower (has_type (ty_8_or_16 ty) (rotl x (and (i64_from_value pos_amt)
789
+ (i64_from_negated_value neg_amt)))))
790
+ (let ((ext_reg Reg (put_in_reg_zext32 x))
791
+ (ext_ty Type (ty_ext32 ty))
792
+ (masked_pos_amt u8 (mask_amt_imm ty pos_amt))
793
+ (masked_neg_amt u8 (mask_amt_imm ty neg_amt)))
794
+ (or_reg ty (lshl_imm ext_ty ext_reg masked_pos_amt)
795
+ (lshr_imm ext_ty ext_reg masked_neg_amt))))
796
+
797
+ ;; Vector rotate left, shift amount in register.
798
+ (rule 4 (lower (has_type (ty_vec128 ty) (rotl x y)))
799
+ (vec_rot_reg ty x (amt_reg y)))
800
+
801
+ ;; Vector rotate left, immediate shift amount.
802
+ (rule 5 (lower (has_type (ty_vec128 ty) (rotl x (i64_from_value y))))
803
+ (let ((masked_amt u8 (mask_amt_imm ty y)))
804
+ (vec_rot_imm ty x masked_amt)))
805
+
806
+ ;; 128-bit full vector rotate left.
807
+ ;; Implemented via a pair of 128-bit full vector shifts.
808
+ (rule 6 (lower (has_type $I128 (rotl x y)))
809
+ (let ((x_reg Reg x)
810
+ (pos_amt Reg (amt_vr y))
811
+ (neg_amt Reg (vec_neg $I8X16 pos_amt)))
812
+ (vec_or $I128
813
+ (vec_lshl_by_bit (vec_lshl_by_byte x_reg pos_amt) pos_amt)
814
+ (vec_lshr_by_bit (vec_lshr_by_byte x_reg neg_amt) neg_amt))))
815
+
816
+
817
+ ;;;; Rules for `rotr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
818
+
819
+ ;; Rotate right, shift amount in register. 32-bit or 64-bit types.
820
+ ;; Implemented as rotate left with negated rotate amount.
821
+ (rule 0 (lower (has_type (ty_32_or_64 ty) (rotr x y)))
822
+ (let ((negated_amt Reg (neg_reg $I32 (amt_reg y))))
823
+ (rot_reg ty x negated_amt)))
824
+
825
+ ;; Rotate right arithmetic, immediate shift amount. 32-bit or 64-bit types.
826
+ ;; Implemented as rotate left with negated rotate amount.
827
+ (rule 1 (lower (has_type (ty_32_or_64 ty) (rotr x (i64_from_negated_value y))))
828
+ (let ((negated_amt u8 (mask_amt_imm ty y)))
829
+ (rot_imm ty x negated_amt)))
830
+
831
+ ;; Rotate right, shift amount in register. 8-bit or 16-bit types.
832
+ ;; Implemented as rotate left with negated rotate amount.
833
+ (rule 2 (lower (has_type (ty_8_or_16 ty) (rotr x y)))
834
+ (let ((ext_reg Reg (put_in_reg_zext32 x))
835
+ (ext_ty Type (ty_ext32 ty))
836
+ (pos_amt Reg (amt_reg y))
837
+ (neg_amt Reg (neg_reg $I32 pos_amt))
838
+ (masked_pos_amt Reg (mask_amt_reg ty pos_amt))
839
+ (masked_neg_amt Reg (mask_amt_reg ty neg_amt)))
840
+ (or_reg ty (lshl_reg ext_ty ext_reg masked_neg_amt)
841
+ (lshr_reg ext_ty ext_reg masked_pos_amt))))
842
+
843
+ ;; Rotate right, immediate shift amount. 8-bit or 16-bit types.
844
+ ;; Implemented as rotate left with negated rotate amount.
845
+ (rule 3 (lower (has_type (ty_8_or_16 ty) (rotr x (and (i64_from_value pos_amt)
846
+ (i64_from_negated_value neg_amt)))))
847
+ (let ((ext_reg Reg (put_in_reg_zext32 x))
848
+ (ext_ty Type (ty_ext32 ty))
849
+ (masked_pos_amt u8 (mask_amt_imm ty pos_amt))
850
+ (masked_neg_amt u8 (mask_amt_imm ty neg_amt)))
851
+ (or_reg ty (lshl_imm ext_ty ext_reg masked_neg_amt)
852
+ (lshr_imm ext_ty ext_reg masked_pos_amt))))
853
+
854
+ ;; Vector rotate right, shift amount in register.
855
+ ;; Implemented as rotate left with negated rotate amount.
856
+ (rule 4 (lower (has_type (ty_vec128 ty) (rotr x y)))
857
+ (let ((negated_amt Reg (neg_reg $I32 (amt_reg y))))
858
+ (vec_rot_reg ty x negated_amt)))
859
+
860
+ ;; Vector rotate right, immediate shift amount.
861
+ ;; Implemented as rotate left with negated rotate amount.
862
+ (rule 5 (lower (has_type (ty_vec128 ty) (rotr x (i64_from_negated_value y))))
863
+ (let ((negated_amt u8 (mask_amt_imm ty y)))
864
+ (vec_rot_imm ty x negated_amt)))
865
+
866
+ ;; 128-bit full vector rotate right.
867
+ ;; Implemented via a pair of 128-bit full vector shifts.
868
+ (rule 6 (lower (has_type $I128 (rotr x y)))
869
+ (let ((x_reg Reg x)
870
+ (pos_amt Reg (amt_vr y))
871
+ (neg_amt Reg (vec_neg $I8X16 pos_amt)))
872
+ (vec_or $I128
873
+ (vec_lshl_by_bit (vec_lshl_by_byte x_reg neg_amt) neg_amt)
874
+ (vec_lshr_by_bit (vec_lshr_by_byte x_reg pos_amt) pos_amt))))
875
+
876
+
877
+ ;;;; Rules for `ireduce` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
878
+
879
+ ;; Up to 64-bit source type: Always a no-op.
880
+ (rule 1 (lower (ireduce x @ (value_type (fits_in_64 _ty))))
881
+ x)
882
+
883
+ ;; 128-bit source type: Extract the low half.
884
+ (rule (lower (ireduce x @ (value_type (vr128_ty _ty))))
885
+ (vec_extract_lane $I64X2 x 1 (zero_reg)))
886
+
887
+
888
+ ;;;; Rules for `uextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
889
+
890
+ ;; 16- or 32-bit target types.
891
+ (rule 1 (lower (has_type (gpr32_ty _ty) (uextend x)))
892
+ (put_in_reg_zext32 x))
893
+
894
+ ;; 64-bit target types.
895
+ (rule 2 (lower (has_type (gpr64_ty _ty) (uextend x)))
896
+ (put_in_reg_zext64 x))
897
+
898
+ ;; 128-bit target types.
899
+ (rule (lower (has_type $I128 (uextend x @ (value_type $I8))))
900
+ (vec_insert_lane $I8X16 (vec_imm $I128 0) x 15 (zero_reg)))
901
+ (rule (lower (has_type $I128 (uextend x @ (value_type $I16))))
902
+ (vec_insert_lane $I16X8 (vec_imm $I128 0) x 7 (zero_reg)))
903
+ (rule (lower (has_type $I128 (uextend x @ (value_type $I32))))
904
+ (vec_insert_lane $I32X4 (vec_imm $I128 0) x 3 (zero_reg)))
905
+ (rule (lower (has_type $I128 (uextend x @ (value_type $I64))))
906
+ (vec_insert_lane $I64X2 (vec_imm $I128 0) x 1 (zero_reg)))
907
+
908
+
909
+ ;;;; Rules for `sextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
910
+
911
+ ;; 16- or 32-bit target types.
912
+ (rule 1 (lower (has_type (gpr32_ty _ty) (sextend x)))
913
+ (put_in_reg_sext32 x))
914
+
915
+ ;; 64-bit target types.
916
+ (rule 2 (lower (has_type (gpr64_ty _ty) (sextend x)))
917
+ (put_in_reg_sext64 x))
918
+
919
+ ;; 128-bit target types.
920
+ (rule (lower (has_type $I128 (sextend x)))
921
+ (let ((x_ext Reg (put_in_reg_sext64 x)))
922
+ (mov_to_vec128 $I128 (ashr_imm $I64 x_ext 63) x_ext)))
923
+
924
+
925
+ ;;;; Rules for `snarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
926
+
927
+ (rule (lower (snarrow x @ (value_type (ty_vec128 ty)) y))
928
+ (vec_pack_ssat_lane_order ty x y))
929
+
930
+
931
+ ;;;; Rules for `uunarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
932
+
933
+ (rule (lower (uunarrow x @ (value_type (ty_vec128 ty)) y))
934
+ (vec_pack_usat_lane_order ty x y))
935
+
936
+
937
+ ;;;; Rules for `unarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
938
+
939
+ (rule (lower (unarrow x @ (value_type (ty_vec128 ty)) y))
940
+ (let ((zero Reg (vec_imm ty 0)))
941
+ (vec_pack_usat_lane_order ty (vec_smax ty x zero) (vec_smax ty y zero))))
942
+
943
+
944
+ ;;;; Rules for `swiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
945
+
946
+ (rule (lower (swiden_low x @ (value_type (ty_vec128 ty))))
947
+ (vec_unpacks_low_lane_order ty x))
948
+
949
+
950
+ ;;;; Rules for `swiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
951
+
952
+ (rule (lower (swiden_high x @ (value_type (ty_vec128 ty))))
953
+ (vec_unpacks_high_lane_order ty x))
954
+
955
+
956
+ ;;;; Rules for `uwiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
957
+
958
+ (rule (lower (uwiden_low x @ (value_type (ty_vec128 ty))))
959
+ (vec_unpacku_low_lane_order ty x))
960
+
961
+
962
+ ;;;; Rules for `uwiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
963
+
964
+ (rule (lower (uwiden_high x @ (value_type (ty_vec128 ty))))
965
+ (vec_unpacku_high_lane_order ty x))
966
+
967
+
968
+ ;;;; Rules for `bnot` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
969
+
970
+ ;; z15 version using a single instruction (NOR).
971
+ (rule 2 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bnot x)))
972
+ (let ((rx Reg x))
973
+ (not_or_reg ty rx rx)))
974
+
975
+ ;; z14 version using XOR with -1.
976
+ (rule 1 (lower (has_type (and (mie2_disabled) (fits_in_64 ty)) (bnot x)))
977
+ (not_reg ty x))
978
+
979
+ ;; Vector version using vector NOR.
980
+ (rule (lower (has_type (vr128_ty ty) (bnot x)))
981
+ (vec_not ty x))
982
+
983
+ ;; With z15 (bnot (bxor ...)) can be a single instruction, similar to the
984
+ ;; (bxor _ (bnot _)) lowering.
985
+ (rule 3 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bnot (bxor x y))))
986
+ (not_xor_reg ty x y))
987
+
988
+ ;; Combine a not/xor operation of vector types into one.
989
+ (rule 4 (lower (has_type (vr128_ty ty) (bnot (bxor x y))))
990
+ (vec_not_xor ty x y))
991
+
992
+
993
+ ;;;; Rules for `band` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
994
+
995
+ ;; And two registers.
996
+ (rule -1 (lower (has_type (fits_in_64 ty) (band x y)))
997
+ (and_reg ty x y))
998
+
999
+ ;; And a register and an immediate.
1000
+ (rule 5 (lower (has_type (fits_in_64 ty) (band x (uimm16shifted_from_inverted_value y))))
1001
+ (and_uimm16shifted ty x y))
1002
+ (rule 6 (lower (has_type (fits_in_64 ty) (band (uimm16shifted_from_inverted_value x) y)))
1003
+ (and_uimm16shifted ty y x))
1004
+ (rule 3 (lower (has_type (fits_in_64 ty) (band x (uimm32shifted_from_inverted_value y))))
1005
+ (and_uimm32shifted ty x y))
1006
+ (rule 4 (lower (has_type (fits_in_64 ty) (band (uimm32shifted_from_inverted_value x) y)))
1007
+ (and_uimm32shifted ty y x))
1008
+
1009
+ ;; And a register and memory (32/64-bit types).
1010
+ (rule 1 (lower (has_type (fits_in_64 ty) (band x (sinkable_load_32_64 y))))
1011
+ (and_mem ty x (sink_load y)))
1012
+ (rule 2 (lower (has_type (fits_in_64 ty) (band (sinkable_load_32_64 x) y)))
1013
+ (and_mem ty y (sink_load x)))
1014
+
1015
+ ;; And two vector registers.
1016
+ (rule 0 (lower (has_type (vr128_ty ty) (band x y)))
1017
+ (vec_and ty x y))
1018
+
1019
+ ;; Specialized lowerings for `(band x (bnot y))` which is additionally produced
1020
+ ;; by Cranelift's `band_not` instruction that is legalized into the simpler
1021
+ ;; forms early on.
1022
+
1023
+ ;; z15 version using a single instruction.
1024
+ (rule 7 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (band x (bnot y))))
1025
+ (and_not_reg ty x y))
1026
+ (rule 8 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (band (bnot y) x)))
1027
+ (and_not_reg ty x y))
1028
+
1029
+ ;; And-not two vector registers.
1030
+ (rule 9 (lower (has_type (vr128_ty ty) (band x (bnot y))))
1031
+ (vec_and_not ty x y))
1032
+ (rule 10 (lower (has_type (vr128_ty ty) (band (bnot y) x)))
1033
+ (vec_and_not ty x y))
1034
+
1035
+ ;;;; Rules for `bor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1036
+
1037
+ ;; Or two registers.
1038
+ (rule -1 (lower (has_type (fits_in_64 ty) (bor x y)))
1039
+ (or_reg ty x y))
1040
+
1041
+ ;; Or a register and an immediate.
1042
+ (rule 5 (lower (has_type (fits_in_64 ty) (bor x (uimm16shifted_from_value y))))
1043
+ (or_uimm16shifted ty x y))
1044
+ (rule 6 (lower (has_type (fits_in_64 ty) (bor (uimm16shifted_from_value x) y)))
1045
+ (or_uimm16shifted ty y x))
1046
+ (rule 3 (lower (has_type (fits_in_64 ty) (bor x (uimm32shifted_from_value y))))
1047
+ (or_uimm32shifted ty x y))
1048
+ (rule 4 (lower (has_type (fits_in_64 ty) (bor (uimm32shifted_from_value x) y)))
1049
+ (or_uimm32shifted ty y x))
1050
+
1051
+ ;; Or a register and memory (32/64-bit types).
1052
+ (rule 1 (lower (has_type (fits_in_64 ty) (bor x (sinkable_load_32_64 y))))
1053
+ (or_mem ty x (sink_load y)))
1054
+ (rule 2 (lower (has_type (fits_in_64 ty) (bor (sinkable_load_32_64 x) y)))
1055
+ (or_mem ty y (sink_load x)))
1056
+
1057
+ ;; Or two vector registers.
1058
+ (rule 0 (lower (has_type (vr128_ty ty) (bor x y)))
1059
+ (vec_or ty x y))
1060
+
1061
+ ;; Specialized lowerings for `(bor x (bnot y))` which is additionally produced
1062
+ ;; by Cranelift's `bor_not` instruction that is legalized into the simpler
1063
+ ;; forms early on.
1064
+
1065
+ ;; z15 version using a single instruction.
1066
+ (rule 7 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bor x (bnot y))))
1067
+ (or_not_reg ty x y))
1068
+ (rule 8 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bor (bnot y) x)))
1069
+ (or_not_reg ty x y))
1070
+
1071
+ ;; Or-not two vector registers.
1072
+ (rule 9 (lower (has_type (vr128_ty ty) (bor x (bnot y))))
1073
+ (vec_or_not ty x y))
1074
+ (rule 10 (lower (has_type (vr128_ty ty) (bor (bnot y) x)))
1075
+ (vec_or_not ty x y))
1076
+
1077
+
1078
+ ;;;; Rules for `bxor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1079
+
1080
+ ;; Xor two registers.
1081
+ (rule -1 (lower (has_type (fits_in_64 ty) (bxor x y)))
1082
+ (xor_reg ty x y))
1083
+
1084
+ ;; Xor a register and an immediate.
1085
+ (rule 3 (lower (has_type (fits_in_64 ty) (bxor x (uimm32shifted_from_value y))))
1086
+ (xor_uimm32shifted ty x y))
1087
+ (rule 4 (lower (has_type (fits_in_64 ty) (bxor (uimm32shifted_from_value x) y)))
1088
+ (xor_uimm32shifted ty y x))
1089
+
1090
+ ;; Xor a register and memory (32/64-bit types).
1091
+ (rule 1 (lower (has_type (fits_in_64 ty) (bxor x (sinkable_load_32_64 y))))
1092
+ (xor_mem ty x (sink_load y)))
1093
+ (rule 2 (lower (has_type (fits_in_64 ty) (bxor (sinkable_load_32_64 x) y)))
1094
+ (xor_mem ty y (sink_load x)))
1095
+
1096
+ ;; Xor two vector registers.
1097
+ (rule 0 (lower (has_type (vr128_ty ty) (bxor x y)))
1098
+ (vec_xor ty x y))
1099
+
1100
+ ;; Specialized lowerings for `(bxor x (bnot y))` which is additionally produced
1101
+ ;; by Cranelift's `bxor_not` instruction that is legalized into the simpler
1102
+ ;; forms early on.
1103
+
1104
+ ;; z15 version using a single instruction.
1105
+ (rule 5 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bxor x (bnot y))))
1106
+ (not_xor_reg ty x y))
1107
+ (rule 6 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bxor (bnot y) x)))
1108
+ (not_xor_reg ty x y))
1109
+
1110
+ ;; Xor-not two vector registers.
1111
+ (rule 7 (lower (has_type (vr128_ty ty) (bxor x (bnot y))))
1112
+ (vec_not_xor ty x y))
1113
+ (rule 8 (lower (has_type (vr128_ty ty) (bxor (bnot y) x)))
1114
+ (vec_not_xor ty x y))
1115
+
1116
+
1117
+ ;;;; Rules for `bitselect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1118
+
1119
+ ;; z15 version using a NAND instruction.
1120
+ (rule 2 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (bitselect x y z)))
1121
+ (let ((rx Reg x)
1122
+ (if_true Reg (and_reg ty y rx))
1123
+ (if_false Reg (and_not_reg ty z rx)))
1124
+ (or_reg ty if_false if_true)))
1125
+
1126
+ ;; z14 version using XOR with -1.
1127
+ (rule 1 (lower (has_type (and (mie2_disabled) (fits_in_64 ty)) (bitselect x y z)))
1128
+ (let ((rx Reg x)
1129
+ (if_true Reg (and_reg ty y rx))
1130
+ (if_false Reg (and_reg ty z (not_reg ty rx))))
1131
+ (or_reg ty if_false if_true)))
1132
+
1133
+ ;; Bitselect vector registers.
1134
+ (rule (lower (has_type (vr128_ty ty) (bitselect x y z)))
1135
+ (vec_select ty y z x))
1136
+
1137
+ ;; Special-case some float-selection instructions for min/max
1138
+ (rule 3 (lower (has_type (ty_vec128 ty) (bitselect (bitcast _ (fcmp (FloatCC.LessThan) x y)) x y)))
1139
+ (fmin_pseudo_reg ty y x))
1140
+ (rule 4 (lower (has_type (ty_vec128 ty) (bitselect (bitcast _ (fcmp (FloatCC.LessThan) y x)) x y)))
1141
+ (fmax_pseudo_reg ty y x))
1142
+
1143
+
1144
+
1145
+ ;;;; Rules for `bmask` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1146
+
1147
+ (rule (lower (has_type ty (bmask x)))
1148
+ (lower_bool_to_mask ty (value_nonzero x)))
1149
+
1150
+
1151
+ ;;;; Rules for `bitrev` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1152
+
1153
+ (rule (lower (has_type ty (bitrev x)))
1154
+ (bitrev_bytes ty
1155
+ (bitrev_bits 4 0xf0f0_f0f0_f0f0_f0f0 ty
1156
+ (bitrev_bits 2 0xcccc_cccc_cccc_cccc ty
1157
+ (bitrev_bits 1 0xaaaa_aaaa_aaaa_aaaa ty x)))))
1158
+
1159
+ (decl bitrev_bits (u8 u64 Type Reg) Reg)
1160
+ (rule 1 (bitrev_bits size bitmask (fits_in_64 ty) x)
1161
+ (let ((mask Reg (imm ty bitmask))
1162
+ (xh Reg (lshl_imm (ty_ext32 ty) x size))
1163
+ (xl Reg (lshr_imm (ty_ext32 ty) x size))
1164
+ (xh_masked Reg (and_reg ty xh mask))
1165
+ (xl_masked Reg (and_reg ty xl (not_reg ty mask))))
1166
+ (or_reg ty xh_masked xl_masked)))
1167
+
1168
+ (rule (bitrev_bits size bitmask (vr128_ty ty) x)
1169
+ (let ((mask Reg (vec_imm_splat $I64X2 bitmask))
1170
+ (size_reg Reg (vec_imm_splat $I8X16 (u8_as_u64 size)))
1171
+ (xh Reg (vec_lshl_by_bit x size_reg))
1172
+ (xl Reg (vec_lshr_by_bit x size_reg)))
1173
+ (vec_select ty xh xl mask)))
1174
+
1175
+ (decl bitrev_bytes (Type Reg) Reg)
1176
+ (rule (bitrev_bytes $I8 x) x)
1177
+ (rule (bitrev_bytes $I16 x) (lshr_imm $I32 (bswap_reg $I32 x) 16))
1178
+ (rule (bitrev_bytes $I32 x) (bswap_reg $I32 x))
1179
+ (rule (bitrev_bytes $I64 x) (bswap_reg $I64 x))
1180
+ (rule (bitrev_bytes $I128 x)
1181
+ (vec_permute $I128 x x
1182
+ (vec_imm $I8X16 (imm8x16 15 14 13 12 11 10 9 8
1183
+ 7 6 5 4 3 2 1 0))))
1184
+
1185
+
1186
+ ;;;; Rules for `bswap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1187
+
1188
+ (rule (lower (has_type ty (bswap x)))
1189
+ (bitrev_bytes ty x))
1190
+
1191
+ ;;;; Rules for `clz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1192
+
1193
+ ;; The FLOGR hardware instruction always operates on the full 64-bit register.
1194
+ ;; We can zero-extend smaller types, but then we have to compensate for the
1195
+ ;; additional leading zero bits the instruction will actually see.
1196
+ (decl clz_offset (Type Reg) Reg)
1197
+ (rule (clz_offset $I8 x) (add_simm16 $I8 x -56))
1198
+ (rule (clz_offset $I16 x) (add_simm16 $I16 x -48))
1199
+ (rule (clz_offset $I32 x) (add_simm16 $I32 x -32))
1200
+ (rule (clz_offset $I64 x) x)
1201
+
1202
+ ;; Count leading zeros, via FLOGR on an input zero-extended to 64 bits,
1203
+ ;; with the result compensated for the extra bits.
1204
+ (rule 1 (lower (has_type (fits_in_64 ty) (clz x)))
1205
+ (let ((ext_reg Reg (put_in_reg_zext64 x))
1206
+ ;; Ask for a value of 64 in the all-zero 64-bit input case.
1207
+ ;; After compensation this will match the expected semantics.
1208
+ (clz Reg (clz_reg 64 ext_reg)))
1209
+ (clz_offset ty clz)))
1210
+
1211
+ ;; Count leading zeros, 128-bit full vector.
1212
+ (rule (lower (has_type $I128 (clz x)))
1213
+ (let ((clz_vec Reg (vec_clz $I64X2 x))
1214
+ (zero Reg (vec_imm $I64X2 0))
1215
+ (clz_hi Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 0))
1216
+ (clz_lo Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 1))
1217
+ (clz_sum Reg (vec_add $I64X2 clz_hi clz_lo))
1218
+ (mask Reg (vec_cmpeq $I64X2 clz_hi (vec_imm_splat $I64X2 64))))
1219
+ (vec_select $I128 clz_sum clz_hi mask)))
1220
+
1221
+
1222
+ ;;;; Rules for `cls` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1223
+
1224
+ ;; The result of cls is not supposed to count the sign bit itself, just
1225
+ ;; additional copies of it. Therefore, when computing cls in terms of clz,
1226
+ ;; we need to subtract one. Fold this into the offset computation.
1227
+ (decl cls_offset (Type Reg) Reg)
1228
+ (rule (cls_offset $I8 x) (add_simm16 $I8 x -57))
1229
+ (rule (cls_offset $I16 x) (add_simm16 $I16 x -49))
1230
+ (rule (cls_offset $I32 x) (add_simm16 $I32 x -33))
1231
+ (rule (cls_offset $I64 x) (add_simm16 $I64 x -1))
1232
+
1233
+ ;; Count leading sign-bit copies. We don't have any instruction for that,
1234
+ ;; so we instead count the leading zeros after inverting the input if negative,
1235
+ ;; i.e. computing
1236
+ ;; cls(x) == clz(x ^ (x >> 63)) - 1
1237
+ ;; where x is the sign-extended input.
1238
+ (rule 1 (lower (has_type (fits_in_64 ty) (cls x)))
1239
+ (let ((ext_reg Reg (put_in_reg_sext64 x))
1240
+ (signbit_copies Reg (ashr_imm $I64 ext_reg 63))
1241
+ (inv_reg Reg (xor_reg $I64 ext_reg signbit_copies))
1242
+ (clz Reg (clz_reg 64 inv_reg)))
1243
+ (cls_offset ty clz)))
1244
+
1245
+ ;; Count leading sign-bit copies, 128-bit full vector.
1246
+ (rule (lower (has_type $I128 (cls x)))
1247
+ (let ((x_reg Reg x)
1248
+ (ones Reg (vec_imm_splat $I8X16 255))
1249
+ (signbit_copies Reg (vec_ashr_by_bit (vec_ashr_by_byte x_reg ones) ones))
1250
+ (inv_reg Reg (vec_xor $I128 x_reg signbit_copies))
1251
+ (clz_vec Reg (vec_clz $I64X2 inv_reg))
1252
+ (zero Reg (vec_imm $I64X2 0))
1253
+ (clz_hi Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 0))
1254
+ (clz_lo Reg (vec_permute_dw_imm $I64X2 zero 0 clz_vec 1))
1255
+ (clz_sum Reg (vec_add $I64X2 clz_hi clz_lo))
1256
+ (mask Reg (vec_cmpeq $I64X2 clz_hi (vec_imm_splat $I64X2 64))))
1257
+ (vec_add $I128 (vec_select $I128 clz_sum clz_hi mask) ones)))
1258
+
1259
+
1260
+ ;;;; Rules for `ctz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1261
+
1262
+ ;; To count trailing zeros, we find the last bit set in the input via (x & -x),
1263
+ ;; count the leading zeros of that value, and subtract from 63:
1264
+ ;;
1265
+ ;; ctz(x) == 63 - clz(x & -x)
1266
+ ;;
1267
+ ;; This works for all cases except a zero input, where the above formula would
1268
+ ;; return -1, but we are expected to return the type size. The compensation
1269
+ ;; for this case is handled differently for 64-bit types vs. smaller types.
1270
+
1271
+ ;; For smaller types, we simply ensure that the extended 64-bit input is
1272
+ ;; never zero by setting a "guard bit" in the position corresponding to
1273
+ ;; the input type size. This way the 64-bit algorithm above will handle
1274
+ ;; that case correctly automatically.
1275
+ (rule 2 (lower (has_type (gpr32_ty ty) (ctz x)))
1276
+ (let ((rx Reg (or_uimm16shifted $I64 x (ctz_guardbit ty)))
1277
+ (lastbit Reg (and_reg $I64 rx (neg_reg $I64 rx)))
1278
+ (clz Reg (clz_reg 64 lastbit)))
1279
+ (sub_reg ty (imm ty 63) clz)))
1280
+
1281
+ (decl ctz_guardbit (Type) UImm16Shifted)
1282
+ (rule (ctz_guardbit $I8) (uimm16shifted 256 0))
1283
+ (rule (ctz_guardbit $I16) (uimm16shifted 1 16))
1284
+ (rule (ctz_guardbit $I32) (uimm16shifted 1 32))
1285
+
1286
+ ;; For 64-bit types, the FLOGR instruction will indicate the zero input case
1287
+ ;; via its condition code. We check for that and replace the instruction
1288
+ ;; result with the value -1 via a conditional move, which will then lead to
1289
+ ;; the correct result after the final subtraction from 63.
1290
+ (rule 1 (lower (has_type (gpr64_ty _ty) (ctz x)))
1291
+ (let ((rx Reg x)
1292
+ (lastbit Reg (and_reg $I64 rx (neg_reg $I64 rx)))
1293
+ (clz Reg (clz_reg -1 lastbit)))
1294
+ (sub_reg $I64 (imm $I64 63) clz)))
1295
+
1296
+ ;; Count trailing zeros, 128-bit full vector.
1297
+ (rule 0 (lower (has_type $I128 (ctz x)))
1298
+ (let ((ctz_vec Reg (vec_ctz $I64X2 x))
1299
+ (zero Reg (vec_imm $I64X2 0))
1300
+ (ctz_hi Reg (vec_permute_dw_imm $I64X2 zero 0 ctz_vec 0))
1301
+ (ctz_lo Reg (vec_permute_dw_imm $I64X2 zero 0 ctz_vec 1))
1302
+ (ctz_sum Reg (vec_add $I64X2 ctz_hi ctz_lo))
1303
+ (mask Reg (vec_cmpeq $I64X2 ctz_lo (vec_imm_splat $I64X2 64))))
1304
+ (vec_select $I128 ctz_sum ctz_lo mask)))
1305
+
1306
+
1307
+ ;;;; Rules for `popcnt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1308
+
1309
+ ;; Population count for 8-bit types is supported by the POPCNT instruction.
1310
+ (rule (lower (has_type $I8 (popcnt x)))
1311
+ (popcnt_byte x))
1312
+
1313
+ ;; On z15, the POPCNT instruction has a variant to compute a full 64-bit
1314
+ ;; population count, which we also use for 16- and 32-bit types.
1315
+ (rule -1 (lower (has_type (and (mie2_enabled) (fits_in_64 ty)) (popcnt x)))
1316
+ (popcnt_reg (put_in_reg_zext64 x)))
1317
+
1318
+ ;; On z14, we use the regular POPCNT, which computes the population count
1319
+ ;; of each input byte separately, so we need to accumulate those partial
1320
+ ;; results via a series of log2(type size in bytes) - 1 additions. We
1321
+ ;; accumulate in the high byte, so that a final right shift will zero out
1322
+ ;; any unrelated bits to give a clean result. (This does not work with
1323
+ ;; $I16, where we instead accumulate in the low byte and clear high bits
1324
+ ;; via an explicit and operation.)
1325
+
1326
+ (rule (lower (has_type (and (mie2_disabled) $I16) (popcnt x)))
1327
+ (let ((cnt2 Reg (popcnt_byte x))
1328
+ (cnt1 Reg (add_reg $I32 cnt2 (lshr_imm $I32 cnt2 8))))
1329
+ (and_uimm16shifted $I32 cnt1 (uimm16shifted 255 0))))
1330
+
1331
+ (rule (lower (has_type (and (mie2_disabled) $I32) (popcnt x)))
1332
+ (let ((cnt4 Reg (popcnt_byte x))
1333
+ (cnt2 Reg (add_reg $I32 cnt4 (lshl_imm $I32 cnt4 16)))
1334
+ (cnt1 Reg (add_reg $I32 cnt2 (lshl_imm $I32 cnt2 8))))
1335
+ (lshr_imm $I32 cnt1 24)))
1336
+
1337
+ (rule (lower (has_type (and (mie2_disabled) $I64) (popcnt x)))
1338
+ (let ((cnt8 Reg (popcnt_byte x))
1339
+ (cnt4 Reg (add_reg $I64 cnt8 (lshl_imm $I64 cnt8 32)))
1340
+ (cnt2 Reg (add_reg $I64 cnt4 (lshl_imm $I64 cnt4 16)))
1341
+ (cnt1 Reg (add_reg $I64 cnt2 (lshl_imm $I64 cnt2 8))))
1342
+ (lshr_imm $I64 cnt1 56)))
1343
+
1344
+ ;; Population count for vector types.
1345
+ (rule 1 (lower (has_type (ty_vec128 ty) (popcnt x)))
1346
+ (vec_popcnt ty x))
1347
+
1348
+ ;; Population count, 128-bit full vector.
1349
+ (rule (lower (has_type $I128 (popcnt x)))
1350
+ (let ((popcnt_vec Reg (vec_popcnt $I64X2 x))
1351
+ (zero Reg (vec_imm $I64X2 0))
1352
+ (popcnt_hi Reg (vec_permute_dw_imm $I64X2 zero 0 popcnt_vec 0))
1353
+ (popcnt_lo Reg (vec_permute_dw_imm $I64X2 zero 0 popcnt_vec 1)))
1354
+ (vec_add $I64X2 popcnt_hi popcnt_lo)))
1355
+
1356
+
1357
+ ;;;; Rules for `fadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1358
+
1359
+ ;; Add two registers.
1360
+ (rule (lower (has_type ty (fadd x y)))
1361
+ (fadd_reg ty x y))
1362
+
1363
+
1364
+ ;;;; Rules for `fsub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1365
+
1366
+ ;; Subtract two registers.
1367
+ (rule (lower (has_type ty (fsub x y)))
1368
+ (fsub_reg ty x y))
1369
+
1370
+
1371
+ ;;;; Rules for `fmul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1372
+
1373
+ ;; Multiply two registers.
1374
+ (rule (lower (has_type ty (fmul x y)))
1375
+ (fmul_reg ty x y))
1376
+
1377
+
1378
+ ;;;; Rules for `fdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1379
+
1380
+ ;; Divide two registers.
1381
+ (rule (lower (has_type ty (fdiv x y)))
1382
+ (fdiv_reg ty x y))
1383
+
1384
+
1385
+ ;;;; Rules for `fmin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1386
+
1387
+ ;; Minimum of two registers.
1388
+ (rule (lower (has_type ty (fmin x y)))
1389
+ (fmin_reg ty x y))
1390
+
1391
+
1392
+ ;;;; Rules for `fmax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1393
+
1394
+ ;; Maximum of two registers.
1395
+ (rule (lower (has_type ty (fmax x y)))
1396
+ (fmax_reg ty x y))
1397
+
1398
+
1399
+ ;;;; Rules for `fcopysign` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1400
+
1401
+ ;; Copysign of two registers.
1402
+ (rule (lower (has_type $F32 (fcopysign x y)))
1403
+ (vec_select $F32 x y (imm $F32 2147483647)))
1404
+ (rule (lower (has_type $F64 (fcopysign x y)))
1405
+ (vec_select $F64 x y (imm $F64 9223372036854775807)))
1406
+ (rule (lower (has_type $F32X4 (fcopysign x y)))
1407
+ (vec_select $F32X4 x y (vec_imm_bit_mask $F32X4 1 31)))
1408
+ (rule (lower (has_type $F64X2 (fcopysign x y)))
1409
+ (vec_select $F64X2 x y (vec_imm_bit_mask $F64X2 1 63)))
1410
+
1411
+
1412
+ ;;;; Rules for `fma` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1413
+
1414
+ ;; Multiply-and-add of three registers.
1415
+ (rule (lower (has_type ty (fma x y z)))
1416
+ (fma_reg ty x y z))
1417
+
1418
+
1419
+ ;;;; Rules for `sqrt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1420
+
1421
+ ;; Square root of a register.
1422
+ (rule (lower (has_type ty (sqrt x)))
1423
+ (sqrt_reg ty x))
1424
+
1425
+
1426
+ ;;;; Rules for `fneg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1427
+
1428
+ ;; Negated value of a register.
1429
+ (rule (lower (has_type ty (fneg x)))
1430
+ (fneg_reg ty x))
1431
+
1432
+
1433
+ ;;;; Rules for `fabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1434
+
1435
+ ;; Absolute value of a register.
1436
+ (rule (lower (has_type ty (fabs x)))
1437
+ (fabs_reg ty x))
1438
+
1439
+
1440
+ ;;;; Rules for `ceil` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1441
+
1442
+ ;; Round value in a register towards positive infinity.
1443
+ (rule (lower (has_type ty (ceil x)))
1444
+ (ceil_reg ty x))
1445
+
1446
+
1447
+ ;;;; Rules for `floor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1448
+
1449
+ ;; Round value in a register towards negative infinity.
1450
+ (rule (lower (has_type ty (floor x)))
1451
+ (floor_reg ty x))
1452
+
1453
+
1454
+ ;;;; Rules for `trunc` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1455
+
1456
+ ;; Round value in a register towards zero.
1457
+ (rule (lower (has_type ty (trunc x)))
1458
+ (trunc_reg ty x))
1459
+
1460
+
1461
+ ;;;; Rules for `nearest` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1462
+
1463
+ ;; Round value in a register towards nearest.
1464
+ (rule (lower (has_type ty (nearest x)))
1465
+ (nearest_reg ty x))
1466
+
1467
+
1468
+ ;;;; Rules for `fpromote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1469
+
1470
+ ;; Promote a register.
1471
+ (rule (lower (has_type (fits_in_64 dst_ty) (fpromote x @ (value_type src_ty))))
1472
+ (fpromote_reg dst_ty src_ty x))
1473
+
1474
+
1475
+ ;;;; Rules for `fvpromote_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1476
+
1477
+ ;; Promote a register.
1478
+ (rule (lower (has_type $F64X2 (fvpromote_low x @ (value_type $F32X4))))
1479
+ (fpromote_reg $F64X2 $F32X4 (vec_merge_low_lane_order $I32X4 x x)))
1480
+
1481
+
1482
+ ;;;; Rules for `fdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1483
+
1484
+ ;; Demote a register.
1485
+ (rule (lower (has_type (fits_in_64 dst_ty) (fdemote x @ (value_type src_ty))))
1486
+ (fdemote_reg dst_ty src_ty (FpuRoundMode.Current) x))
1487
+
1488
+
1489
+ ;;;; Rules for `fvdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1490
+
1491
+ ;; Demote a register.
1492
+ (rule (lower (has_type $F32X4 (fvdemote x @ (value_type $F64X2))))
1493
+ (let ((dst Reg (fdemote_reg $F32X4 $F64X2 (FpuRoundMode.Current) x)))
1494
+ (vec_pack_lane_order $I64X2 (vec_lshr_imm $I64X2 dst 32)
1495
+ (vec_imm $I64X2 0))))
1496
+
1497
+
1498
+ ;;;; Rules for `fcvt_from_uint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1499
+
1500
+ ;; Convert a 32-bit or smaller unsigned integer to $F32 (z15 instruction).
1501
+ (rule 1 (lower (has_type $F32
1502
+ (fcvt_from_uint x @ (value_type (and (vxrs_ext2_enabled) (fits_in_32 ty))))))
1503
+ (fcvt_from_uint_reg $F32 (FpuRoundMode.ToNearestTiesToEven)
1504
+ (put_in_reg_zext32 x)))
1505
+
1506
+ ;; Convert a 64-bit or smaller unsigned integer to $F32, via an intermediate $F64.
1507
+ (rule (lower (has_type $F32 (fcvt_from_uint x @ (value_type (fits_in_64 ty)))))
1508
+ (fdemote_reg $F32 $F64 (FpuRoundMode.ToNearestTiesToEven)
1509
+ (fcvt_from_uint_reg $F64 (FpuRoundMode.ShorterPrecision)
1510
+ (put_in_reg_zext64 x))))
1511
+
1512
+ ;; Convert a 64-bit or smaller unsigned integer to $F64.
1513
+ (rule (lower (has_type $F64 (fcvt_from_uint x @ (value_type (fits_in_64 ty)))))
1514
+ (fcvt_from_uint_reg $F64 (FpuRoundMode.ToNearestTiesToEven)
1515
+ (put_in_reg_zext64 x)))
1516
+
1517
+ ;; Convert $I32X4 to $F32X4 (z15 instruction).
1518
+ (rule 1 (lower (has_type (and (vxrs_ext2_enabled) $F32X4)
1519
+ (fcvt_from_uint x @ (value_type $I32X4))))
1520
+ (fcvt_from_uint_reg $F32X4 (FpuRoundMode.ToNearestTiesToEven) x))
1521
+
1522
+ ;; Convert $I32X4 to $F32X4 (via two $F64X2 on z14).
1523
+ (rule (lower (has_type (and (vxrs_ext2_disabled) $F32X4)
1524
+ (fcvt_from_uint x @ (value_type $I32X4))))
1525
+ (vec_permute $F32X4
1526
+ (fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
1527
+ (fcvt_from_uint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
1528
+ (vec_unpacku_high $I32X4 x)))
1529
+ (fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
1530
+ (fcvt_from_uint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
1531
+ (vec_unpacku_low $I32X4 x)))
1532
+ (vec_imm $I8X16 (imm8x16 0 1 2 3 8 9 10 11 16 17 18 19 24 25 26 27))))
1533
+
1534
+ ;; Convert $I64X2 to $F64X2.
1535
+ (rule (lower (has_type $F64X2 (fcvt_from_uint x @ (value_type $I64X2))))
1536
+ (fcvt_from_uint_reg $F64X2 (FpuRoundMode.ToNearestTiesToEven) x))
1537
+
1538
+
1539
+ ;;;; Rules for `fcvt_from_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1540
+
1541
+ ;; Convert a 32-bit or smaller signed integer to $F32 (z15 instruction).
1542
+ (rule 1 (lower (has_type $F32
1543
+ (fcvt_from_sint x @ (value_type (and (vxrs_ext2_enabled) (fits_in_32 ty))))))
1544
+ (fcvt_from_sint_reg $F32 (FpuRoundMode.ToNearestTiesToEven)
1545
+ (put_in_reg_sext32 x)))
1546
+
1547
+ ;; Convert a 64-bit or smaller signed integer to $F32, via an intermediate $F64.
1548
+ (rule (lower (has_type $F32 (fcvt_from_sint x @ (value_type (fits_in_64 ty)))))
1549
+ (fdemote_reg $F32 $F64 (FpuRoundMode.ToNearestTiesToEven)
1550
+ (fcvt_from_sint_reg $F64 (FpuRoundMode.ShorterPrecision)
1551
+ (put_in_reg_sext64 x))))
1552
+
1553
+ ;; Convert a 64-bit or smaller signed integer to $F64.
1554
+ (rule (lower (has_type $F64 (fcvt_from_sint x @ (value_type (fits_in_64 ty)))))
1555
+ (fcvt_from_sint_reg $F64 (FpuRoundMode.ToNearestTiesToEven)
1556
+ (put_in_reg_sext64 x)))
1557
+
1558
+ ;; Convert $I32X4 to $F32X4 (z15 instruction).
1559
+ (rule 1 (lower (has_type (and (vxrs_ext2_enabled) $F32X4)
1560
+ (fcvt_from_sint x @ (value_type $I32X4))))
1561
+ (fcvt_from_sint_reg $F32X4 (FpuRoundMode.ToNearestTiesToEven) x))
1562
+
1563
+ ;; Convert $I32X4 to $F32X4 (via two $F64X2 on z14).
1564
+ (rule (lower (has_type (and (vxrs_ext2_disabled) $F32X4)
1565
+ (fcvt_from_sint x @ (value_type $I32X4))))
1566
+ (vec_permute $F32X4
1567
+ (fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
1568
+ (fcvt_from_sint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
1569
+ (vec_unpacks_high $I32X4 x)))
1570
+ (fdemote_reg $F32X4 $F64X2 (FpuRoundMode.ToNearestTiesToEven)
1571
+ (fcvt_from_sint_reg $F64X2 (FpuRoundMode.ShorterPrecision)
1572
+ (vec_unpacks_low $I32X4 x)))
1573
+ (vec_imm $I8X16 (imm8x16 0 1 2 3 8 9 10 11 16 17 18 19 24 25 26 27))))
1574
+
1575
+ ;; Convert $I64X2 to $F64X2.
1576
+ (rule (lower (has_type $F64X2 (fcvt_from_sint x @ (value_type $I64X2))))
1577
+ (fcvt_from_sint_reg $F64X2 (FpuRoundMode.ToNearestTiesToEven) x))
1578
+
1579
+
1580
+ ;;;; Rules for `fcvt_to_uint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1581
+
1582
+ ;; Convert a scalar floating-point value in a register to an unsigned integer.
1583
+ ;; Traps if the input cannot be represented in the output type.
1584
+ (rule (lower (has_type (fits_in_64 dst_ty)
1585
+ (fcvt_to_uint x @ (value_type src_ty))))
1586
+ (let ((src Reg (put_in_reg x))
1587
+ ;; First, check whether the input is a NaN, and trap if so.
1588
+ (_ Reg (trap_if (fcmp_reg src_ty src src)
1589
+ (floatcc_as_cond (FloatCC.Unordered))
1590
+ (trap_code_bad_conversion_to_integer)))
1591
+ ;; Now check whether the input is out of range for the target type.
1592
+ (_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_uint_ub src_ty dst_ty))
1593
+ (floatcc_as_cond (FloatCC.GreaterThanOrEqual))
1594
+ (trap_code_integer_overflow)))
1595
+ (_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_uint_lb src_ty))
1596
+ (floatcc_as_cond (FloatCC.LessThanOrEqual))
1597
+ (trap_code_integer_overflow)))
1598
+ ;; Perform the conversion using the larger type size.
1599
+ (flt_ty Type (fcvt_flt_ty dst_ty src_ty))
1600
+ (src_ext Reg (fpromote_reg flt_ty src_ty src)))
1601
+ (fcvt_to_uint_reg flt_ty (FpuRoundMode.ToZero) src_ext)))
1602
+
1603
+
1604
+ ;;;; Rules for `fcvt_to_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1605
+
1606
+ ;; Convert a scalar floating-point value in a register to a signed integer.
1607
+ ;; Traps if the input cannot be represented in the output type.
1608
+ (rule (lower (has_type (fits_in_64 dst_ty)
1609
+ (fcvt_to_sint x @ (value_type src_ty))))
1610
+ (let ((src Reg (put_in_reg x))
1611
+ ;; First, check whether the input is a NaN, and trap if so.
1612
+ (_ Reg (trap_if (fcmp_reg src_ty src src)
1613
+ (floatcc_as_cond (FloatCC.Unordered))
1614
+ (trap_code_bad_conversion_to_integer)))
1615
+ ;; Now check whether the input is out of range for the target type.
1616
+ (_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_sint_ub src_ty dst_ty))
1617
+ (floatcc_as_cond (FloatCC.GreaterThanOrEqual))
1618
+ (trap_code_integer_overflow)))
1619
+ (_ Reg (trap_if (fcmp_reg src_ty src (fcvt_to_sint_lb src_ty dst_ty))
1620
+ (floatcc_as_cond (FloatCC.LessThanOrEqual))
1621
+ (trap_code_integer_overflow)))
1622
+ ;; Perform the conversion using the larger type size.
1623
+ (flt_ty Type (fcvt_flt_ty dst_ty src_ty))
1624
+ (src_ext Reg (fpromote_reg flt_ty src_ty src)))
1625
+ ;; Perform the conversion.
1626
+ (fcvt_to_sint_reg flt_ty (FpuRoundMode.ToZero) src_ext)))
1627
+
1628
+
1629
+ ;;;; Rules for `fcvt_to_uint_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1630
+
1631
+ ;; Convert a scalar floating-point value in a register to an unsigned integer.
1632
+ (rule -1 (lower (has_type (fits_in_64 dst_ty)
1633
+ (fcvt_to_uint_sat x @ (value_type src_ty))))
1634
+ (let ((src Reg (put_in_reg x))
1635
+ ;; Perform the conversion using the larger type size.
1636
+ (flt_ty Type (fcvt_flt_ty dst_ty src_ty))
1637
+ (int_ty Type (fcvt_int_ty dst_ty src_ty))
1638
+ (src_ext Reg (fpromote_reg flt_ty src_ty src))
1639
+ (dst Reg (fcvt_to_uint_reg flt_ty (FpuRoundMode.ToZero) src_ext)))
1640
+ ;; Clamp the output to the destination type bounds.
1641
+ (uint_sat_reg dst_ty int_ty dst)))
1642
+
1643
+ ;; Convert $F32X4 to $I32X4 (z15 instruction).
1644
+ (rule 1 (lower (has_type (and (vxrs_ext2_enabled) $I32X4)
1645
+ (fcvt_to_uint_sat x @ (value_type $F32X4))))
1646
+ (fcvt_to_uint_reg $F32X4 (FpuRoundMode.ToZero) x))
1647
+
1648
+ ;; Convert $F32X4 to $I32X4 (via two $F64X2 on z14).
1649
+ (rule (lower (has_type (and (vxrs_ext2_disabled) $I32X4)
1650
+ (fcvt_to_uint_sat x @ (value_type $F32X4))))
1651
+ (vec_pack_usat $I64X2
1652
+ (fcvt_to_uint_reg $F64X2 (FpuRoundMode.ToZero)
1653
+ (fpromote_reg $F64X2 $F32X4 (vec_merge_high $I32X4 x x)))
1654
+ (fcvt_to_uint_reg $F64X2 (FpuRoundMode.ToZero)
1655
+ (fpromote_reg $F64X2 $F32X4 (vec_merge_low $I32X4 x x)))))
1656
+
1657
+ ;; Convert $F64X2 to $I64X2.
1658
+ (rule (lower (has_type $I64X2 (fcvt_to_uint_sat x @ (value_type $F64X2))))
1659
+ (fcvt_to_uint_reg $F64X2 (FpuRoundMode.ToZero) x))
1660
+
1661
+
1662
+ ;;;; Rules for `fcvt_to_sint_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1663
+
1664
+ ;; Convert a scalar floating-point value in a register to a signed integer.
1665
+ (rule -1 (lower (has_type (fits_in_64 dst_ty)
1666
+ (fcvt_to_sint_sat x @ (value_type src_ty))))
1667
+ (let ((src Reg (put_in_reg x))
1668
+ ;; Perform the conversion using the larger type size.
1669
+ (flt_ty Type (fcvt_flt_ty dst_ty src_ty))
1670
+ (int_ty Type (fcvt_int_ty dst_ty src_ty))
1671
+ (src_ext Reg (fpromote_reg flt_ty src_ty src))
1672
+ (dst Reg (fcvt_to_sint_reg flt_ty (FpuRoundMode.ToZero) src_ext))
1673
+ ;; In most special cases, the Z instruction already yields the
1674
+ ;; result expected by Cranelift semantics. The only exception
1675
+ ;; it the case where the input was a NaN. We explicitly check
1676
+ ;; for that and force the output to 0 in that case.
1677
+ (sat Reg (with_flags_reg (fcmp_reg src_ty src src)
1678
+ (cmov_imm int_ty
1679
+ (floatcc_as_cond (FloatCC.Unordered)) 0 dst))))
1680
+ ;; Clamp the output to the destination type bounds.
1681
+ (sint_sat_reg dst_ty int_ty sat)))
1682
+
1683
+ ;; Convert $F32X4 to $I32X4 (z15 instruction).
1684
+ (rule 1 (lower (has_type (and (vxrs_ext2_enabled) $I32X4)
1685
+ (fcvt_to_sint_sat src @ (value_type $F32X4))))
1686
+ ;; See above for why we need to handle NaNs specially.
1687
+ (vec_select $I32X4
1688
+ (fcvt_to_sint_reg $F32X4 (FpuRoundMode.ToZero) src)
1689
+ (vec_imm $I32X4 0) (vec_fcmpeq $F32X4 src src)))
1690
+
1691
+ ;; Convert $F32X4 to $I32X4 (via two $F64X2 on z14).
1692
+ (rule (lower (has_type (and (vxrs_ext2_disabled) $I32X4)
1693
+ (fcvt_to_sint_sat src @ (value_type $F32X4))))
1694
+ ;; See above for why we need to handle NaNs specially.
1695
+ (vec_select $I32X4
1696
+ (vec_pack_ssat $I64X2
1697
+ (fcvt_to_sint_reg $F64X2 (FpuRoundMode.ToZero)
1698
+ (fpromote_reg $F64X2 $F32X4 (vec_merge_high $I32X4 src src)))
1699
+ (fcvt_to_sint_reg $F64X2 (FpuRoundMode.ToZero)
1700
+ (fpromote_reg $F64X2 $F32X4 (vec_merge_low $I32X4 src src))))
1701
+ (vec_imm $I32X4 0) (vec_fcmpeq $F32X4 src src)))
1702
+
1703
+ ;; Convert $F64X2 to $I64X2.
1704
+ (rule (lower (has_type $I64X2 (fcvt_to_sint_sat src @ (value_type $F64X2))))
1705
+ ;; See above for why we need to handle NaNs specially.
1706
+ (vec_select $I64X2
1707
+ (fcvt_to_sint_reg $F64X2 (FpuRoundMode.ToZero) src)
1708
+ (vec_imm $I64X2 0) (vec_fcmpeq $F64X2 src src)))
1709
+
1710
+
1711
+ ;;;; Rules for `bitcast` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1712
+
1713
+ ;; Reinterpret a 64-bit integer value as floating-point.
1714
+ (rule (lower (has_type $F64 (bitcast _ x @ (value_type $I64))))
1715
+ (vec_insert_lane_undef $F64X2 x 0 (zero_reg)))
1716
+
1717
+ ;; Reinterpret a 64-bit floating-point value as integer.
1718
+ (rule (lower (has_type $I64 (bitcast _ x @ (value_type $F64))))
1719
+ (vec_extract_lane $F64X2 x 0 (zero_reg)))
1720
+
1721
+ ;; Reinterpret a 32-bit integer value as floating-point.
1722
+ (rule (lower (has_type $F32 (bitcast _ x @ (value_type $I32))))
1723
+ (vec_insert_lane_undef $F32X4 x 0 (zero_reg)))
1724
+
1725
+ ;; Reinterpret a 32-bit floating-point value as integer.
1726
+ (rule (lower (has_type $I32 (bitcast _ x @ (value_type $F32))))
1727
+ (vec_extract_lane $F32X4 x 0 (zero_reg)))
1728
+
1729
+ ;; Bitcast between types residing in GPRs is a no-op.
1730
+ (rule 1 (lower (has_type (gpr32_ty _)
1731
+ (bitcast _ x @ (value_type (gpr32_ty _))))) x)
1732
+ (rule 2 (lower (has_type (gpr64_ty _)
1733
+ (bitcast _ x @ (value_type (gpr64_ty _))))) x)
1734
+
1735
+ ;; Bitcast between types residing in FPRs is a no-op.
1736
+ (rule 3 (lower (has_type (ty_scalar_float _)
1737
+ (bitcast _ x @ (value_type (ty_scalar_float _))))) x)
1738
+
1739
+ ;; Bitcast between types residing in VRs is a no-op if lane count is unchanged.
1740
+ (rule 5 (lower (has_type (multi_lane bits count)
1741
+ (bitcast _ x @ (value_type (multi_lane bits count))))) x)
1742
+
1743
+ ;; Bitcast between types residing in VRs with different lane counts is a
1744
+ ;; no-op if the operation's MemFlags indicate a byte order compatible with
1745
+ ;; the current lane order. Otherwise, lane elements need to be swapped,
1746
+ ;; first in the input type, and then again in the output type. This could
1747
+ ;; be optimized further, but we don't bother at the moment since due to our
1748
+ ;; choice of lane order depending on the current function ABI, this case will
1749
+ ;; currently never arise in practice.
1750
+ (rule 4 (lower (has_type (vr128_ty out_ty)
1751
+ (bitcast flags x @ (value_type (vr128_ty in_ty)))))
1752
+ (abi_vec_elt_rev (lane_order_from_memflags flags) out_ty
1753
+ (abi_vec_elt_rev (lane_order_from_memflags flags) in_ty x)))
1754
+
1755
+
1756
+ ;;;; Rules for `insertlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1757
+
1758
+ ;; Insert vector lane from general-purpose register.
1759
+ (rule 1 (lower (insertlane x @ (value_type ty)
1760
+ y @ (value_type in_ty)
1761
+ (u8_from_uimm8 idx)))
1762
+ (if (ty_int_ref_scalar_64 in_ty))
1763
+ (vec_insert_lane ty x y (be_lane_idx ty idx) (zero_reg)))
1764
+
1765
+ ;; Insert vector lane from floating-point register.
1766
+ (rule 0 (lower (insertlane x @ (value_type ty)
1767
+ y @ (value_type (ty_scalar_float _))
1768
+ (u8_from_uimm8 idx)))
1769
+ (vec_move_lane_and_insert ty x (be_lane_idx ty idx) y 0))
1770
+
1771
+ ;; Insert vector lane from another vector lane.
1772
+ (rule 2 (lower (insertlane x @ (value_type ty)
1773
+ (extractlane y (u8_from_uimm8 src_idx))
1774
+ (u8_from_uimm8 dst_idx)))
1775
+ (vec_move_lane_and_insert ty x (be_lane_idx ty dst_idx)
1776
+ y (be_lane_idx ty src_idx)))
1777
+
1778
+ ;; Insert vector lane from signed 16-bit immediate.
1779
+ (rule 3 (lower (insertlane x @ (value_type ty) (i16_from_value y)
1780
+ (u8_from_uimm8 idx)))
1781
+ (vec_insert_lane_imm ty x y (be_lane_idx ty idx)))
1782
+
1783
+ ;; Insert vector lane from big-endian memory.
1784
+ (rule 4 (lower (insertlane x @ (value_type ty) (sinkable_load y)
1785
+ (u8_from_uimm8 idx)))
1786
+ (vec_load_lane ty x (sink_load y) (be_lane_idx ty idx)))
1787
+
1788
+ ;; Insert vector lane from little-endian memory.
1789
+ (rule 5 (lower (insertlane x @ (value_type ty) (sinkable_load_little y)
1790
+ (u8_from_uimm8 idx)))
1791
+ (vec_load_lane_little ty x (sink_load y) (be_lane_idx ty idx)))
1792
+
1793
+
1794
+ ;; Helper to extract one lane from a vector and insert it into another.
1795
+ (decl vec_move_lane_and_insert (Type Reg u8 Reg u8) Reg)
1796
+
1797
+ ;; For 64-bit elements we always use VPDI.
1798
+ (rule (vec_move_lane_and_insert ty @ (multi_lane 64 _) dst 0 src src_idx)
1799
+ (vec_permute_dw_imm ty src src_idx dst 1))
1800
+ (rule (vec_move_lane_and_insert ty @ (multi_lane 64 _) dst 1 src src_idx)
1801
+ (vec_permute_dw_imm ty dst 0 src src_idx))
1802
+
1803
+ ;; If source and destination index are the same, use vec_select.
1804
+ (rule -1 (vec_move_lane_and_insert ty dst idx src idx)
1805
+ (vec_select ty src
1806
+ dst (vec_imm_byte_mask ty (lane_byte_mask ty idx))))
1807
+
1808
+ ;; Otherwise replicate source first and then use vec_select.
1809
+ (rule -2 (vec_move_lane_and_insert ty dst dst_idx src src_idx)
1810
+ (vec_select ty (vec_replicate_lane ty src src_idx)
1811
+ dst (vec_imm_byte_mask ty (lane_byte_mask ty dst_idx))))
1812
+
1813
+
1814
+ ;; Helper to implement a generic little-endian variant of vec_load_lane.
1815
+ (decl vec_load_lane_little (Type Reg MemArg u8) Reg)
1816
+
1817
+ ;; 8-byte little-endian loads can be performed via a normal load.
1818
+ (rule (vec_load_lane_little ty @ (multi_lane 8 _) dst addr lane_imm)
1819
+ (vec_load_lane ty dst addr lane_imm))
1820
+
1821
+ ;; On z15, we have instructions to perform little-endian loads.
1822
+ (rule 1 (vec_load_lane_little (and (vxrs_ext2_enabled)
1823
+ ty @ (multi_lane 16 _)) dst addr lane_imm)
1824
+ (vec_load_lane_rev ty dst addr lane_imm))
1825
+ (rule 1 (vec_load_lane_little (and (vxrs_ext2_enabled)
1826
+ ty @ (multi_lane 32 _)) dst addr lane_imm)
1827
+ (vec_load_lane_rev ty dst addr lane_imm))
1828
+ (rule 1 (vec_load_lane_little (and (vxrs_ext2_enabled)
1829
+ ty @ (multi_lane 64 _)) dst addr lane_imm)
1830
+ (vec_load_lane_rev ty dst addr lane_imm))
1831
+
1832
+ ;; On z14, use a little-endian load to GPR followed by vec_insert_lane.
1833
+ (rule (vec_load_lane_little (and (vxrs_ext2_disabled)
1834
+ ty @ (multi_lane 16 _)) dst addr lane_imm)
1835
+ (vec_insert_lane ty dst (loadrev16 addr) lane_imm (zero_reg)))
1836
+ (rule (vec_load_lane_little (and (vxrs_ext2_disabled)
1837
+ ty @ (multi_lane 32 _)) dst addr lane_imm)
1838
+ (vec_insert_lane ty dst (loadrev32 addr) lane_imm (zero_reg)))
1839
+ (rule (vec_load_lane_little (and (vxrs_ext2_disabled)
1840
+ ty @ (multi_lane 64 _)) dst addr lane_imm)
1841
+ (vec_insert_lane ty dst (loadrev64 addr) lane_imm (zero_reg)))
1842
+
1843
+ ;; Helper to implement a generic little-endian variant of vec_load_lane_undef.
1844
+ (decl vec_load_lane_little_undef (Type MemArg u8) Reg)
1845
+
1846
+ ;; 8-byte little-endian loads can be performed via a normal load.
1847
+ (rule (vec_load_lane_little_undef ty @ (multi_lane 8 _) addr lane_imm)
1848
+ (vec_load_lane_undef ty addr lane_imm))
1849
+
1850
+ ;; On z15, we have instructions to perform little-endian loads.
1851
+ (rule 1 (vec_load_lane_little_undef (and (vxrs_ext2_enabled)
1852
+ ty @ (multi_lane 16 _)) addr lane_imm)
1853
+ (vec_load_lane_rev_undef ty addr lane_imm))
1854
+ (rule 1 (vec_load_lane_little_undef (and (vxrs_ext2_enabled)
1855
+ ty @ (multi_lane 32 _)) addr lane_imm)
1856
+ (vec_load_lane_rev_undef ty addr lane_imm))
1857
+ (rule 1 (vec_load_lane_little_undef (and (vxrs_ext2_enabled)
1858
+ ty @ (multi_lane 64 _)) addr lane_imm)
1859
+ (vec_load_lane_rev_undef ty addr lane_imm))
1860
+
1861
+ ;; On z14, use a little-endian load to GPR followed by vec_insert_lane_undef.
1862
+ (rule (vec_load_lane_little_undef (and (vxrs_ext2_disabled)
1863
+ ty @ (multi_lane 16 _)) addr lane_imm)
1864
+ (vec_insert_lane_undef ty (loadrev16 addr) lane_imm (zero_reg)))
1865
+ (rule (vec_load_lane_little_undef (and (vxrs_ext2_disabled)
1866
+ ty @ (multi_lane 32 _)) addr lane_imm)
1867
+ (vec_insert_lane_undef ty (loadrev32 addr) lane_imm (zero_reg)))
1868
+ (rule (vec_load_lane_little_undef (and (vxrs_ext2_disabled)
1869
+ ty @ (multi_lane 64 _)) addr lane_imm)
1870
+ (vec_insert_lane_undef ty (loadrev64 addr) lane_imm (zero_reg)))
1871
+
1872
+
1873
+ ;;;; Rules for `extractlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1874
+
1875
+ ;; Extract vector lane to general-purpose register.
1876
+ (rule 1 (lower (has_type out_ty
1877
+ (extractlane x @ (value_type ty) (u8_from_uimm8 idx))))
1878
+ (if (ty_int_ref_scalar_64 out_ty))
1879
+ (vec_extract_lane ty x (be_lane_idx ty idx) (zero_reg)))
1880
+
1881
+ ;; Extract vector lane to floating-point register.
1882
+ (rule 0 (lower (has_type (ty_scalar_float _)
1883
+ (extractlane x @ (value_type ty) (u8_from_uimm8 idx))))
1884
+ (vec_replicate_lane ty x (be_lane_idx ty idx)))
1885
+
1886
+ ;; Extract vector lane and store to big-endian memory.
1887
+ (rule 6 (lower (store flags @ (bigendian)
1888
+ (extractlane x @ (value_type ty) (u8_from_uimm8 idx))
1889
+ addr offset))
1890
+ (side_effect (vec_store_lane ty x
1891
+ (lower_address flags addr offset) (be_lane_idx ty idx))))
1892
+
1893
+ ;; Extract vector lane and store to little-endian memory.
1894
+ (rule 5 (lower (store flags @ (littleendian)
1895
+ (extractlane x @ (value_type ty) (u8_from_uimm8 idx))
1896
+ addr offset))
1897
+ (side_effect (vec_store_lane_little ty x
1898
+ (lower_address flags addr offset) (be_lane_idx ty idx))))
1899
+
1900
+
1901
+ ;; Helper to implement a generic little-endian variant of vec_store_lane.
1902
+ (decl vec_store_lane_little (Type Reg MemArg u8) SideEffectNoResult)
1903
+
1904
+ ;; 8-byte little-endian stores can be performed via a normal store.
1905
+ (rule (vec_store_lane_little ty @ (multi_lane 8 _) src addr lane_imm)
1906
+ (vec_store_lane ty src addr lane_imm))
1907
+
1908
+ ;; On z15, we have instructions to perform little-endian stores.
1909
+ (rule 1 (vec_store_lane_little (and (vxrs_ext2_enabled)
1910
+ ty @ (multi_lane 16 _)) src addr lane_imm)
1911
+ (vec_store_lane_rev ty src addr lane_imm))
1912
+ (rule 1 (vec_store_lane_little (and (vxrs_ext2_enabled)
1913
+ ty @ (multi_lane 32 _)) src addr lane_imm)
1914
+ (vec_store_lane_rev ty src addr lane_imm))
1915
+ (rule 1 (vec_store_lane_little (and (vxrs_ext2_enabled)
1916
+ ty @ (multi_lane 64 _)) src addr lane_imm)
1917
+ (vec_store_lane_rev ty src addr lane_imm))
1918
+
1919
+ ;; On z14, use vec_extract_lane followed by a little-endian store from GPR.
1920
+ (rule (vec_store_lane_little (and (vxrs_ext2_disabled)
1921
+ ty @ (multi_lane 16 _)) src addr lane_imm)
1922
+ (storerev16 (vec_extract_lane ty src lane_imm (zero_reg)) addr))
1923
+ (rule (vec_store_lane_little (and (vxrs_ext2_disabled)
1924
+ ty @ (multi_lane 32 _)) src addr lane_imm)
1925
+ (storerev32 (vec_extract_lane ty src lane_imm (zero_reg)) addr))
1926
+ (rule (vec_store_lane_little (and (vxrs_ext2_disabled)
1927
+ ty @ (multi_lane 64 _)) src addr lane_imm)
1928
+ (storerev64 (vec_extract_lane ty src lane_imm (zero_reg)) addr))
1929
+
1930
+
1931
+ ;;;; Rules for `splat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1932
+
1933
+ ;; Load replicated value from general-purpose register.
1934
+ (rule 1 (lower (has_type ty (splat x @ (value_type in_ty))))
1935
+ (if (ty_int_ref_scalar_64 in_ty))
1936
+ (vec_replicate_lane ty (vec_insert_lane_undef ty x 0 (zero_reg)) 0))
1937
+
1938
+ ;; Load replicated value from floating-point register.
1939
+ (rule 0 (lower (has_type ty (splat
1940
+ x @ (value_type (ty_scalar_float _)))))
1941
+ (vec_replicate_lane ty x 0))
1942
+
1943
+ ;; Load replicated value from vector lane.
1944
+ (rule 2 (lower (has_type ty (splat (extractlane x (u8_from_uimm8 idx)))))
1945
+ (vec_replicate_lane ty x (be_lane_idx ty idx)))
1946
+
1947
+ ;; Load replicated 16-bit immediate value.
1948
+ (rule 3 (lower (has_type ty (splat (i16_from_value x))))
1949
+ (vec_imm_replicate ty x))
1950
+
1951
+ ;; Load replicated value from big-endian memory.
1952
+ (rule 4 (lower (has_type ty (splat (sinkable_load x))))
1953
+ (vec_load_replicate ty (sink_load x)))
1954
+
1955
+ ;; Load replicated value from little-endian memory.
1956
+ (rule 5 (lower (has_type ty (splat (sinkable_load_little x))))
1957
+ (vec_load_replicate_little ty (sink_load x)))
1958
+
1959
+
1960
+ ;; Helper to implement a generic little-endian variant of vec_load_replicate
1961
+ (decl vec_load_replicate_little (Type MemArg) Reg)
1962
+
1963
+ ;; 8-byte little-endian loads can be performed via a normal load.
1964
+ (rule (vec_load_replicate_little ty @ (multi_lane 8 _) addr)
1965
+ (vec_load_replicate ty addr))
1966
+
1967
+ ;; On z15, we have instructions to perform little-endian loads.
1968
+ (rule 1 (vec_load_replicate_little (and (vxrs_ext2_enabled)
1969
+ ty @ (multi_lane 16 _)) addr)
1970
+ (vec_load_replicate_rev ty addr))
1971
+ (rule 1 (vec_load_replicate_little (and (vxrs_ext2_enabled)
1972
+ ty @ (multi_lane 32 _)) addr)
1973
+ (vec_load_replicate_rev ty addr))
1974
+ (rule 1 (vec_load_replicate_little (and (vxrs_ext2_enabled)
1975
+ ty @ (multi_lane 64 _)) addr)
1976
+ (vec_load_replicate_rev ty addr))
1977
+
1978
+ ;; On z14, use a little-endian load (via GPR) and replicate.
1979
+ (rule (vec_load_replicate_little (and (vxrs_ext2_disabled)
1980
+ ty @ (multi_lane 16 _)) addr)
1981
+ (vec_replicate_lane ty (vec_load_lane_little_undef ty addr 0) 0))
1982
+ (rule (vec_load_replicate_little (and (vxrs_ext2_disabled)
1983
+ ty @ (multi_lane 32 _)) addr)
1984
+ (vec_replicate_lane ty (vec_load_lane_little_undef ty addr 0) 0))
1985
+ (rule (vec_load_replicate_little (and (vxrs_ext2_disabled)
1986
+ ty @ (multi_lane 64 _)) addr)
1987
+ (vec_replicate_lane ty (vec_load_lane_little_undef ty addr 0) 0))
1988
+
1989
+
1990
+ ;;;; Rules for `scalar_to_vector` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1991
+
1992
+ ;; Load scalar value from general-purpose register.
1993
+ (rule 1 (lower (has_type ty (scalar_to_vector
1994
+ x @ (value_type in_ty))))
1995
+ (if (ty_int_ref_scalar_64 in_ty))
1996
+ (vec_insert_lane ty (vec_imm ty 0) x (be_lane_idx ty 0) (zero_reg)))
1997
+
1998
+ ;; Load scalar value from floating-point register.
1999
+ (rule 0 (lower (has_type ty (scalar_to_vector
2000
+ x @ (value_type (ty_scalar_float _)))))
2001
+ (vec_move_lane_and_zero ty (be_lane_idx ty 0) x 0))
2002
+
2003
+ ;; Load scalar value from vector lane.
2004
+ (rule 2 (lower (has_type ty (scalar_to_vector
2005
+ (extractlane x (u8_from_uimm8 idx)))))
2006
+ (vec_move_lane_and_zero ty (be_lane_idx ty 0) x (be_lane_idx ty idx)))
2007
+
2008
+ ;; Load scalar 16-bit immediate value.
2009
+ (rule 3 (lower (has_type ty (scalar_to_vector (i16_from_value x))))
2010
+ (vec_insert_lane_imm ty (vec_imm ty 0) x (be_lane_idx ty 0)))
2011
+
2012
+ ;; Load scalar value from big-endian memory.
2013
+ (rule 4 (lower (has_type ty (scalar_to_vector (sinkable_load x))))
2014
+ (vec_load_lane ty (vec_imm ty 0) (sink_load x) (be_lane_idx ty 0)))
2015
+
2016
+ ;; Load scalar value lane from little-endian memory.
2017
+ (rule 5 (lower (has_type ty (scalar_to_vector (sinkable_load_little x))))
2018
+ (vec_load_lane_little ty (vec_imm ty 0) (sink_load x) (be_lane_idx ty 0)))
2019
+
2020
+
2021
+ ;; Helper to extract one lane from a vector and insert it into a zero vector.
2022
+ (decl vec_move_lane_and_zero (Type u8 Reg u8) Reg)
2023
+
2024
+ ;; For 64-bit elements we always use VPDI.
2025
+ (rule (vec_move_lane_and_zero ty @ (multi_lane 64 _) 0 src src_idx)
2026
+ (vec_permute_dw_imm ty src src_idx (vec_imm ty 0) 0))
2027
+ (rule (vec_move_lane_and_zero ty @ (multi_lane 64 _) 1 src src_idx)
2028
+ (vec_permute_dw_imm ty (vec_imm ty 0) 0 src src_idx))
2029
+
2030
+ ;; If source and destination index are the same, simply mask to this lane.
2031
+ (rule -1 (vec_move_lane_and_zero ty idx src idx)
2032
+ (vec_and ty src
2033
+ (vec_imm_byte_mask ty (lane_byte_mask ty idx))))
2034
+
2035
+ ;; Otherwise replicate source first and then mask to the lane.
2036
+ (rule -2 (vec_move_lane_and_zero ty dst_idx src src_idx)
2037
+ (vec_and ty (vec_replicate_lane ty src src_idx)
2038
+ (vec_imm_byte_mask ty (lane_byte_mask ty dst_idx))))
2039
+
2040
+
2041
+ ;;;; Rules for `shuffle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2042
+
2043
+ ;; General case: use vec_permute and then mask off zero lanes.
2044
+ (rule -2 (lower (shuffle x y (shuffle_mask permute_mask and_mask)))
2045
+ (vec_and $I8X16 (vec_imm_byte_mask $I8X16 and_mask)
2046
+ (vec_permute $I8X16 x y (vec_imm $I8X16 permute_mask))))
2047
+
2048
+ ;; If the pattern has no zero lanes, just a vec_permute suffices.
2049
+ (rule -1 (lower (shuffle x y (shuffle_mask permute_mask 65535)))
2050
+ (vec_permute $I8X16 x y (vec_imm $I8X16 permute_mask)))
2051
+
2052
+ ;; Special patterns that can be implemented via MERGE HIGH.
2053
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23) 65535)))
2054
+ (vec_merge_high $I64X2 x y))
2055
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 16 17 18 19 4 5 6 7 20 21 22 23) 65535)))
2056
+ (vec_merge_high $I32X4 x y))
2057
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 16 17 2 3 18 19 4 5 20 21 6 7 22 23) 65535)))
2058
+ (vec_merge_high $I16X8 x y))
2059
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 16 1 17 2 18 3 19 4 20 5 21 6 22 7 23) 65535)))
2060
+ (vec_merge_high $I8X16 x y))
2061
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 0 1 2 3 4 5 6 7) 65535)))
2062
+ (vec_merge_high $I64X2 y x))
2063
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 0 1 2 3 20 21 22 23 4 5 6 7) 65535)))
2064
+ (vec_merge_high $I32X4 y x))
2065
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 0 1 18 19 2 3 20 21 4 5 22 23 6 7) 65535)))
2066
+ (vec_merge_high $I16X8 y x))
2067
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 0 17 1 18 2 19 3 20 4 21 5 22 6 23 7) 65535)))
2068
+ (vec_merge_high $I8X16 y x))
2069
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7) 65535)))
2070
+ (vec_merge_high $I64X2 x x))
2071
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 0 1 2 3 4 5 6 7 4 5 6 7) 65535)))
2072
+ (vec_merge_high $I32X4 x x))
2073
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 0 1 2 3 2 3 4 5 4 5 6 7 6 7) 65535)))
2074
+ (vec_merge_high $I16X8 x x))
2075
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7) 65535)))
2076
+ (vec_merge_high $I8X16 x x))
2077
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 16 17 18 19 20 21 22 23) 65535)))
2078
+ (vec_merge_high $I64X2 y y))
2079
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 16 17 18 19 20 21 22 23 20 21 22 23) 65535)))
2080
+ (vec_merge_high $I32X4 y y))
2081
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 16 17 18 19 18 19 20 21 20 21 22 23 22 23) 65535)))
2082
+ (vec_merge_high $I16X8 y y))
2083
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23) 65535)))
2084
+ (vec_merge_high $I8X16 y y))
2085
+
2086
+ ;; Special patterns that can be implemented via MERGE LOW.
2087
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31) 65535)))
2088
+ (vec_merge_low $I64X2 x y))
2089
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 24 25 26 27 12 13 14 15 28 29 30 31) 65535)))
2090
+ (vec_merge_low $I32X4 x y))
2091
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 24 25 10 11 26 27 12 13 28 29 14 15 30 31) 65535)))
2092
+ (vec_merge_low $I16X8 x y))
2093
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 24 9 25 10 26 11 27 12 28 13 29 14 30 15 31) 65535)))
2094
+ (vec_merge_low $I8X16 x y))
2095
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 8 9 10 11 12 13 14 15) 65535)))
2096
+ (vec_merge_low $I64X2 y x))
2097
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 8 9 10 11 28 29 30 31 12 13 14 15) 65535)))
2098
+ (vec_merge_low $I32X4 y x))
2099
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 8 9 26 27 10 11 28 29 12 13 30 31 14 15) 65535)))
2100
+ (vec_merge_low $I16X8 y x))
2101
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 8 25 9 26 10 27 11 28 12 29 13 30 14 31 15) 65535)))
2102
+ (vec_merge_low $I8X16 y x))
2103
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 8 9 10 11 12 13 14 15) 65535)))
2104
+ (vec_merge_low $I64X2 x x))
2105
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 8 9 10 11 12 13 14 15 12 13 14 15) 65535)))
2106
+ (vec_merge_low $I32X4 x x))
2107
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 8 9 10 11 10 11 12 13 12 13 14 15 14 15) 65535)))
2108
+ (vec_merge_low $I16X8 x x))
2109
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15) 65535)))
2110
+ (vec_merge_low $I8X16 x x))
2111
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 24 25 26 27 28 29 30 31) 65535)))
2112
+ (vec_merge_low $I64X2 y y))
2113
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 24 25 26 27 28 29 30 31 28 29 30 31) 65535)))
2114
+ (vec_merge_low $I32X4 y y))
2115
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 24 25 26 27 26 27 28 29 28 29 30 31 30 31) 65535)))
2116
+ (vec_merge_low $I16X8 y y))
2117
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31) 65535)))
2118
+ (vec_merge_low $I8X16 y y))
2119
+
2120
+ ;; Special patterns that can be implemented via PACK.
2121
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 4 5 6 7 12 13 14 15 20 21 22 23 28 29 30 31) 65535)))
2122
+ (vec_pack $I64X2 x y))
2123
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 2 3 6 7 10 11 14 15 18 19 22 23 26 27 30 31) 65535)))
2124
+ (vec_pack $I32X4 x y))
2125
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31) 65535)))
2126
+ (vec_pack $I16X8 x y))
2127
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 20 21 22 23 28 29 30 31 4 5 6 7 12 13 14 15) 65535)))
2128
+ (vec_pack $I64X2 y x))
2129
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 18 19 22 23 26 27 30 31 2 3 6 7 10 11 14 15) 65535)))
2130
+ (vec_pack $I32X4 y x))
2131
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 17 19 21 23 25 27 29 31 1 3 5 7 9 11 13 15) 65535)))
2132
+ (vec_pack $I16X8 y x))
2133
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 4 5 6 7 12 13 14 15 4 5 6 7 12 13 14 15) 65535)))
2134
+ (vec_pack $I64X2 x x))
2135
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 2 3 6 7 10 11 14 15 2 3 6 7 10 11 14 15) 65535)))
2136
+ (vec_pack $I32X4 x x))
2137
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 1 3 5 7 9 11 13 15 1 3 5 7 9 11 13 15) 65535)))
2138
+ (vec_pack $I16X8 x x))
2139
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 20 21 22 23 28 29 30 31 20 21 22 23 28 29 30 31) 65535)))
2140
+ (vec_pack $I64X2 y y))
2141
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 18 19 22 23 26 27 30 31 18 19 22 23 26 27 30 31) 65535)))
2142
+ (vec_pack $I32X4 y y))
2143
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 17 19 21 23 25 27 29 31 17 19 21 23 25 27 29 31) 65535)))
2144
+ (vec_pack $I16X8 y y))
2145
+
2146
+ ;; Special patterns that can be implemented via UNPACK HIGH.
2147
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 0 1 2 3 _ _ _ _ 4 5 6 7) 3855)))
2148
+ (vec_unpacku_high $I32X4 x))
2149
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 0 1 _ _ 2 3 _ _ 4 5 _ _ 6 7) 13107)))
2150
+ (vec_unpacku_high $I16X8 x))
2151
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 0 _ 1 _ 2 _ 3 _ 4 _ 5 _ 6 _ 7) 21845)))
2152
+ (vec_unpacku_high $I8X16 x))
2153
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 16 17 18 19 _ _ _ _ 20 21 22 23) 3855)))
2154
+ (vec_unpacku_high $I32X4 y))
2155
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 16 17 _ _ 18 19 _ _ 20 21 _ _ 22 23) 13107)))
2156
+ (vec_unpacku_high $I16X8 y))
2157
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 16 _ 17 _ 18 _ 19 _ 20 _ 21 _ 22 _ 23) 21845)))
2158
+ (vec_unpacku_high $I8X16 y))
2159
+
2160
+ ;; Special patterns that can be implemented via UNPACK LOW.
2161
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 8 9 10 11 _ _ _ _ 12 13 14 15) 3855)))
2162
+ (vec_unpacku_low $I32X4 x))
2163
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 8 9 _ _ 10 11 _ _ 12 13 _ _ 14 15) 13107)))
2164
+ (vec_unpacku_low $I16X8 x))
2165
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 8 _ 9 _ 10 _ 11 _ 12 _ 13 _ 14 _ 15) 21845)))
2166
+ (vec_unpacku_low $I8X16 x))
2167
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ _ _ 24 25 26 27 _ _ _ _ 28 29 30 31) 3855)))
2168
+ (vec_unpacku_low $I32X4 y))
2169
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ _ 24 25 _ _ 26 27 _ _ 28 29 _ _ 30 31) 13107)))
2170
+ (vec_unpacku_low $I16X8 y))
2171
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 _ 24 _ 25 _ 26 _ 27 _ 28 _ 29 _ 30 _ 31) 21845)))
2172
+ (vec_unpacku_low $I8X16 y))
2173
+
2174
+ ;; Special patterns that can be implemented via PERMUTE DOUBLEWORD IMMEDIATE.
2175
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 24 25 26 27 28 29 30 31) 65535)))
2176
+ (vec_permute_dw_imm $I8X16 x 0 y 1))
2177
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23) 65535)))
2178
+ (vec_permute_dw_imm $I8X16 x 1 y 0))
2179
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 8 9 10 11 12 13 14 15) 65535)))
2180
+ (vec_permute_dw_imm $I8X16 y 0 x 1))
2181
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 0 1 2 3 4 5 6 7) 65535)))
2182
+ (vec_permute_dw_imm $I8X16 y 1 x 0))
2183
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15) 65535)))
2184
+ (vec_permute_dw_imm $I8X16 x 0 x 1))
2185
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7) 65535)))
2186
+ (vec_permute_dw_imm $I8X16 x 1 x 0))
2187
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31) 65535)))
2188
+ (vec_permute_dw_imm $I8X16 y 0 y 1))
2189
+ (rule (lower (shuffle x y (shuffle_mask (imm8x16 24 25 26 27 28 29 30 31 16 17 18 19 20 21 22 23) 65535)))
2190
+ (vec_permute_dw_imm $I8X16 y 1 y 0))
2191
+
2192
+
2193
+ ;;;; Rules for `swizzle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2194
+
2195
+ ;; When using big-endian lane order, the lane mask is mostly correct, but we
2196
+ ;; need to handle mask elements outside the range 0..15 by zeroing the lane.
2197
+ ;;
2198
+ ;; To do so efficiently, we compute:
2199
+ ;; permute-lane-element := umin (16, swizzle-lane-element)
2200
+ ;; and pass a zero vector as second operand to the permute instruction.
2201
+
2202
+ (rule 1 (lower (has_type (ty_vec128 ty) (swizzle x y)))
2203
+ (if-let (LaneOrder.BigEndian) (lane_order))
2204
+ (vec_permute ty x (vec_imm ty 0)
2205
+ (vec_umin $I8X16 (vec_imm_splat $I8X16 16) y)))
2206
+
2207
+ ;; When using little-endian lane order, in addition to zeroing (as above),
2208
+ ;; we need to convert from little-endian to big-endian lane numbering.
2209
+ ;;
2210
+ ;; To do so efficiently, we compute:
2211
+ ;; permute-lane-element := umax (239, ~ swizzle-lane-element)
2212
+ ;; which has the following effect:
2213
+ ;; elements 0 .. 15 --> 255 .. 240 (i.e. 31 .. 16 mod 32)
2214
+ ;; everything else --> 239 (i.e. 15 mod 32)
2215
+ ;;
2216
+ ;; Then, we can use a single permute instruction with
2217
+ ;; a zero vector as first operand (covering lane 15)
2218
+ ;; the input vector as second operand (covering lanes 16 .. 31)
2219
+ ;; to implement the required swizzle semantics.
2220
+
2221
+ (rule (lower (has_type (ty_vec128 ty) (swizzle x y)))
2222
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2223
+ (vec_permute ty (vec_imm ty 0) x
2224
+ (vec_umax $I8X16 (vec_imm_splat $I8X16 239)
2225
+ (vec_not $I8X16 y))))
2226
+
2227
+
2228
+ ;;;; Rules for `stack_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2229
+
2230
+ ;; Load the address of a stack slot.
2231
+ (rule (lower (has_type ty (stack_addr stack_slot offset)))
2232
+ (stack_addr_impl ty stack_slot offset))
2233
+
2234
+
2235
+ ;;;; Rules for `func_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2236
+
2237
+ ;; Load the address of a function, target reachable via PC-relative instruction.
2238
+ (rule 1 (lower (func_addr (func_ref_data _ name (reloc_distance_near))))
2239
+ (load_addr (memarg_symbol name 0 (memflags_trusted))))
2240
+
2241
+ ;; Load the address of a function, general case.
2242
+ (rule (lower (func_addr (func_ref_data _ name _)))
2243
+ (load_symbol_reloc (SymbolReloc.Absolute name 0)))
2244
+
2245
+
2246
+ ;;;; Rules for `symbol_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2247
+
2248
+ ;; Load the address of a symbol, target reachable via PC-relative instruction.
2249
+ (rule 1 (lower (symbol_value (symbol_value_data name (reloc_distance_near)
2250
+ off)))
2251
+ (if-let offset (memarg_symbol_offset off))
2252
+ (load_addr (memarg_symbol name offset (memflags_trusted))))
2253
+
2254
+ ;; Load the address of a symbol, general case.
2255
+ (rule (lower (symbol_value (symbol_value_data name _ offset)))
2256
+ (load_symbol_reloc (SymbolReloc.Absolute name offset)))
2257
+
2258
+
2259
+ ;;;; Rules for `tls_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2260
+
2261
+ ;; Load the address of a TLS symbol (ELF general-dynamic model).
2262
+ (rule (lower (tls_value (symbol_value_data name _ 0)))
2263
+ (if (tls_model_is_elf_gd))
2264
+ (let ((symbol SymbolReloc (SymbolReloc.TlsGd name))
2265
+ (got Reg (load_addr (memarg_got)))
2266
+ (got_offset Reg (load_symbol_reloc symbol))
2267
+ (tls_offset Reg (lib_call_tls_get_offset got got_offset symbol)))
2268
+ (add_reg $I64 tls_offset (thread_pointer))))
2269
+
2270
+ ;; Helper to perform a call to the __tls_get_offset library routine.
2271
+ (decl lib_call_tls_get_offset (Reg Reg SymbolReloc) Reg)
2272
+ (rule (lib_call_tls_get_offset got got_offset symbol)
2273
+ (let ((tls_offset WritableReg (temp_writable_reg $I64))
2274
+ (libcall LibCallInfo (lib_call_info_tls_get_offset tls_offset got got_offset symbol))
2275
+ (_ Unit (lib_accumulate_outgoing_args_size libcall))
2276
+ (_ InstOutput (side_effect (lib_call libcall))))
2277
+ tls_offset))
2278
+
2279
+ ;; Helper to extract the current thread pointer from %a0/%a1.
2280
+ (decl thread_pointer () Reg)
2281
+ (rule (thread_pointer)
2282
+ (insert_ar (lshl_imm $I64 (load_ar 0) 32) 1))
2283
+
2284
+
2285
+ ;;;; Rules for `load` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2286
+
2287
+ ;; Load 8-bit integers.
2288
+ (rule (lower (has_type $I8 (load flags addr offset)))
2289
+ (zext32_mem $I8 (lower_address flags addr offset)))
2290
+
2291
+ ;; Load 16-bit big-endian integers.
2292
+ (rule (lower (has_type $I16 (load flags @ (bigendian) addr offset)))
2293
+ (zext32_mem $I16 (lower_address flags addr offset)))
2294
+
2295
+ ;; Load 16-bit little-endian integers.
2296
+ (rule -1 (lower (has_type $I16 (load flags @ (littleendian) addr offset)))
2297
+ (loadrev16 (lower_address flags addr offset)))
2298
+
2299
+ ;; Load 32-bit big-endian integers.
2300
+ (rule (lower (has_type $I32 (load flags @ (bigendian) addr offset)))
2301
+ (load32 (lower_address flags addr offset)))
2302
+
2303
+ ;; Load 32-bit little-endian integers.
2304
+ (rule -1 (lower (has_type $I32 (load flags @ (littleendian) addr offset)))
2305
+ (loadrev32 (lower_address flags addr offset)))
2306
+
2307
+ ;; Load 64-bit big-endian integers.
2308
+ (rule (lower (has_type $I64 (load flags @ (bigendian) addr offset)))
2309
+ (load64 (lower_address flags addr offset)))
2310
+
2311
+ ;; Load 64-bit little-endian integers.
2312
+ (rule -1 (lower (has_type $I64 (load flags @ (littleendian) addr offset)))
2313
+ (loadrev64 (lower_address flags addr offset)))
2314
+
2315
+ ;; Load 64-bit big-endian references.
2316
+ (rule (lower (has_type $R64 (load flags @ (bigendian) addr offset)))
2317
+ (load64 (lower_address flags addr offset)))
2318
+
2319
+ ;; Load 64-bit little-endian references.
2320
+ (rule -1 (lower (has_type $R64 (load flags @ (littleendian) addr offset)))
2321
+ (loadrev64 (lower_address flags addr offset)))
2322
+
2323
+ ;; Load 32-bit big-endian floating-point values (as vector lane).
2324
+ (rule (lower (has_type $F32 (load flags @ (bigendian) addr offset)))
2325
+ (vec_load_lane_undef $F32X4 (lower_address flags addr offset) 0))
2326
+
2327
+ ;; Load 32-bit little-endian floating-point values (as vector lane).
2328
+ (rule -1 (lower (has_type $F32 (load flags @ (littleendian) addr offset)))
2329
+ (vec_load_lane_little_undef $F32X4 (lower_address flags addr offset) 0))
2330
+
2331
+ ;; Load 64-bit big-endian floating-point values (as vector lane).
2332
+ (rule (lower (has_type $F64 (load flags @ (bigendian) addr offset)))
2333
+ (vec_load_lane_undef $F64X2 (lower_address flags addr offset) 0))
2334
+
2335
+ ;; Load 64-bit little-endian floating-point values (as vector lane).
2336
+ (rule -1 (lower (has_type $F64 (load flags @ (littleendian) addr offset)))
2337
+ (vec_load_lane_little_undef $F64X2 (lower_address flags addr offset) 0))
2338
+
2339
+ ;; Load 128-bit big-endian vector values, BE lane order - direct load.
2340
+ (rule 4 (lower (has_type (vr128_ty ty) (load flags @ (bigendian) addr offset)))
2341
+ (if-let (LaneOrder.BigEndian) (lane_order))
2342
+ (vec_load ty (lower_address flags addr offset)))
2343
+
2344
+ ;; Load 128-bit little-endian vector values, BE lane order - byte-reversed load.
2345
+ (rule 3 (lower (has_type (vr128_ty ty) (load flags @ (littleendian) addr offset)))
2346
+ (if-let (LaneOrder.BigEndian) (lane_order))
2347
+ (vec_load_byte_rev ty flags addr offset))
2348
+
2349
+ ;; Load 128-bit big-endian vector values, LE lane order - element-reversed load.
2350
+ (rule 2 (lower (has_type (vr128_ty ty) (load flags @ (bigendian) addr offset)))
2351
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2352
+ (vec_load_elt_rev ty flags addr offset))
2353
+
2354
+ ;; Load 128-bit little-endian vector values, LE lane order - fully-reversed load.
2355
+ (rule 1 (lower (has_type (vr128_ty ty) (load flags @ (littleendian) addr offset)))
2356
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2357
+ (vec_load_full_rev ty flags addr offset))
2358
+
2359
+
2360
+ ;; Helper to perform a 128-bit full-vector byte-reversed load.
2361
+ (decl vec_load_full_rev (Type MemFlags Value Offset32) Reg)
2362
+
2363
+ ;; Full-vector byte-reversed load via single instruction on z15.
2364
+ (rule 1 (vec_load_full_rev (and (vxrs_ext2_enabled) (vr128_ty ty)) flags addr offset)
2365
+ (vec_loadrev ty (lower_address flags addr offset)))
2366
+
2367
+ ;; Full-vector byte-reversed load via GPRs on z14.
2368
+ (rule (vec_load_full_rev (and (vxrs_ext2_disabled) (vr128_ty ty)) flags addr offset)
2369
+ (let ((lo_addr MemArg (lower_address_bias flags addr offset 0))
2370
+ (hi_addr MemArg (lower_address_bias flags addr offset 8))
2371
+ (lo_val Reg (loadrev64 lo_addr))
2372
+ (hi_val Reg (loadrev64 hi_addr)))
2373
+ (mov_to_vec128 ty hi_val lo_val)))
2374
+
2375
+
2376
+ ;; Helper to perform an element-wise byte-reversed load.
2377
+ (decl vec_load_byte_rev (Type MemFlags Value Offset32) Reg)
2378
+
2379
+ ;; Element-wise byte-reversed 1x128-bit load is a full byte-reversed load.
2380
+ (rule -1 (vec_load_byte_rev $I128 flags addr offset)
2381
+ (vec_load_full_rev $I128 flags addr offset))
2382
+
2383
+ ;; Element-wise byte-reversed 16x8-bit load is a direct load.
2384
+ (rule (vec_load_byte_rev ty @ (multi_lane 8 16) flags addr offset)
2385
+ (vec_load ty (lower_address flags addr offset)))
2386
+
2387
+ ;; Element-wise byte-reversed load via single instruction on z15.
2388
+ (rule 1 (vec_load_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
2389
+ flags addr offset)
2390
+ (vec_load_byte64rev ty (lower_address flags addr offset)))
2391
+ (rule 1 (vec_load_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
2392
+ flags addr offset)
2393
+ (vec_load_byte32rev ty (lower_address flags addr offset)))
2394
+ (rule 1 (vec_load_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
2395
+ flags addr offset)
2396
+ (vec_load_byte16rev ty (lower_address flags addr offset)))
2397
+
2398
+ ;; Element-wise byte-reversed load as element-swapped byte-reversed load on z14.
2399
+ (rule (vec_load_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
2400
+ flags addr offset)
2401
+ (vec_elt_rev ty (vec_load_full_rev ty flags addr offset)))
2402
+ (rule (vec_load_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
2403
+ flags addr offset)
2404
+ (vec_elt_rev ty (vec_load_full_rev ty flags addr offset)))
2405
+ (rule (vec_load_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
2406
+ flags addr offset)
2407
+ (vec_elt_rev ty (vec_load_full_rev ty flags addr offset)))
2408
+
2409
+
2410
+ ;; Helper to perform an element-reversed load.
2411
+ (decl vec_load_elt_rev (Type MemFlags Value Offset32) Reg)
2412
+
2413
+ ;; Element-reversed 1x128-bit load is a direct load.
2414
+ ;; For 1x128-bit types, this is a direct load.
2415
+ (rule -1 (vec_load_elt_rev $I128 flags addr offset)
2416
+ (vec_load $I128 (lower_address flags addr offset)))
2417
+
2418
+ ;; Element-reversed 16x8-bit load is a full byte-reversed load.
2419
+ (rule (vec_load_elt_rev ty @ (multi_lane 8 16) flags addr offset)
2420
+ (vec_load_full_rev ty flags addr offset))
2421
+
2422
+ ;; Element-reversed load via single instruction on z15.
2423
+ (rule 1 (vec_load_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
2424
+ flags addr offset)
2425
+ (vec_load_elt64rev ty (lower_address flags addr offset)))
2426
+ (rule 1 (vec_load_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
2427
+ flags addr offset)
2428
+ (vec_load_elt32rev ty (lower_address flags addr offset)))
2429
+ (rule 1 (vec_load_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
2430
+ flags addr offset)
2431
+ (vec_load_elt16rev ty (lower_address flags addr offset)))
2432
+
2433
+ ;; Element-reversed load as element-swapped direct load on z14.
2434
+ (rule (vec_load_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
2435
+ flags addr offset)
2436
+ (vec_elt_rev ty (vec_load ty (lower_address flags addr offset))))
2437
+ (rule (vec_load_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
2438
+ flags addr offset)
2439
+ (vec_elt_rev ty (vec_load ty (lower_address flags addr offset))))
2440
+ (rule (vec_load_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
2441
+ flags addr offset)
2442
+ (vec_elt_rev ty (vec_load ty (lower_address flags addr offset))))
2443
+
2444
+
2445
+ ;;;; Rules for `uload8` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2446
+
2447
+ ;; 16- or 32-bit target types.
2448
+ (rule (lower (has_type (gpr32_ty _ty) (uload8 flags addr offset)))
2449
+ (zext32_mem $I8 (lower_address flags addr offset)))
2450
+
2451
+ ;; 64-bit target types.
2452
+ (rule 1 (lower (has_type (gpr64_ty _ty) (uload8 flags addr offset)))
2453
+ (zext64_mem $I8 (lower_address flags addr offset)))
2454
+
2455
+
2456
+ ;;;; Rules for `sload8` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2457
+
2458
+ ;; 16- or 32-bit target types.
2459
+ (rule (lower (has_type (gpr32_ty _ty) (sload8 flags addr offset)))
2460
+ (sext32_mem $I8 (lower_address flags addr offset)))
2461
+
2462
+ ;; 64-bit target types.
2463
+ (rule 1 (lower (has_type (gpr64_ty _ty) (sload8 flags addr offset)))
2464
+ (sext64_mem $I8 (lower_address flags addr offset)))
2465
+
2466
+
2467
+ ;;;; Rules for `uload16` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2468
+
2469
+ ;; 32-bit target type, big-endian source value.
2470
+ (rule 3 (lower (has_type (gpr32_ty _ty)
2471
+ (uload16 flags @ (bigendian) addr offset)))
2472
+ (zext32_mem $I16 (lower_address flags addr offset)))
2473
+
2474
+ ;; 32-bit target type, little-endian source value (via explicit extension).
2475
+ (rule 1 (lower (has_type (gpr32_ty _ty)
2476
+ (uload16 flags @ (littleendian) addr offset)))
2477
+ (let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
2478
+ (zext32_reg $I16 reg16)))
2479
+
2480
+ ;; 64-bit target type, big-endian source value.
2481
+ (rule 4 (lower (has_type (gpr64_ty _ty)
2482
+ (uload16 flags @ (bigendian) addr offset)))
2483
+ (zext64_mem $I16 (lower_address flags addr offset)))
2484
+
2485
+ ;; 64-bit target type, little-endian source value (via explicit extension).
2486
+ (rule 2 (lower (has_type (gpr64_ty _ty)
2487
+ (uload16 flags @ (littleendian) addr offset)))
2488
+ (let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
2489
+ (zext64_reg $I16 reg16)))
2490
+
2491
+
2492
+ ;;;; Rules for `sload16` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2493
+
2494
+ ;; 32-bit target type, big-endian source value.
2495
+ (rule 2 (lower (has_type (gpr32_ty _ty)
2496
+ (sload16 flags @ (bigendian) addr offset)))
2497
+ (sext32_mem $I16 (lower_address flags addr offset)))
2498
+
2499
+ ;; 32-bit target type, little-endian source value (via explicit extension).
2500
+ (rule 0 (lower (has_type (gpr32_ty _ty)
2501
+ (sload16 flags @ (littleendian) addr offset)))
2502
+ (let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
2503
+ (sext32_reg $I16 reg16)))
2504
+
2505
+ ;; 64-bit target type, big-endian source value.
2506
+ (rule 3 (lower (has_type (gpr64_ty _ty)
2507
+ (sload16 flags @ (bigendian) addr offset)))
2508
+ (sext64_mem $I16 (lower_address flags addr offset)))
2509
+
2510
+ ;; 64-bit target type, little-endian source value (via explicit extension).
2511
+ (rule 1 (lower (has_type (gpr64_ty _ty)
2512
+ (sload16 flags @ (littleendian) addr offset)))
2513
+ (let ((reg16 Reg (loadrev16 (lower_address flags addr offset))))
2514
+ (sext64_reg $I16 reg16)))
2515
+
2516
+
2517
+ ;;;; Rules for `uload32` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2518
+
2519
+ ;; 64-bit target type, big-endian source value.
2520
+ (rule 1 (lower (has_type (gpr64_ty _ty)
2521
+ (uload32 flags @ (bigendian) addr offset)))
2522
+ (zext64_mem $I32 (lower_address flags addr offset)))
2523
+
2524
+ ;; 64-bit target type, little-endian source value (via explicit extension).
2525
+ (rule (lower (has_type (gpr64_ty _ty)
2526
+ (uload32 flags @ (littleendian) addr offset)))
2527
+ (let ((reg32 Reg (loadrev32 (lower_address flags addr offset))))
2528
+ (zext64_reg $I32 reg32)))
2529
+
2530
+
2531
+ ;;;; Rules for `sload32` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2532
+
2533
+ ;; 64-bit target type, big-endian source value.
2534
+ (rule 1 (lower (has_type (gpr64_ty _ty)
2535
+ (sload32 flags @ (bigendian) addr offset)))
2536
+ (sext64_mem $I32 (lower_address flags addr offset)))
2537
+
2538
+ ;; 64-bit target type, little-endian source value (via explicit extension).
2539
+ (rule (lower (has_type (gpr64_ty _ty)
2540
+ (sload32 flags @ (littleendian) addr offset)))
2541
+ (let ((reg32 Reg (loadrev32 (lower_address flags addr offset))))
2542
+ (sext64_reg $I32 reg32)))
2543
+
2544
+
2545
+ ;;;; Rules for `uloadNxM` and `sloadNxM` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2546
+
2547
+ ;; Unsigned 8->16 bit extension.
2548
+ (rule (lower (has_type $I16X8 (uload8x8 flags addr offset)))
2549
+ (vec_unpacku_high $I8X16 (load_v64 $I8X16 flags addr offset)))
2550
+
2551
+ ;; Signed 8->16 bit extension.
2552
+ (rule (lower (has_type $I16X8 (sload8x8 flags addr offset)))
2553
+ (vec_unpacks_high $I8X16 (load_v64 $I8X16 flags addr offset)))
2554
+
2555
+ ;; Unsigned 16->32 bit extension.
2556
+ (rule (lower (has_type $I32X4 (uload16x4 flags addr offset)))
2557
+ (vec_unpacku_high $I16X8 (load_v64 $I16X8 flags addr offset)))
2558
+
2559
+ ;; Signed 16->32 bit extension.
2560
+ (rule (lower (has_type $I32X4 (sload16x4 flags addr offset)))
2561
+ (vec_unpacks_high $I16X8 (load_v64 $I16X8 flags addr offset)))
2562
+
2563
+ ;; Unsigned 32->64 bit extension.
2564
+ (rule (lower (has_type $I64X2 (uload32x2 flags addr offset)))
2565
+ (vec_unpacku_high $I32X4 (load_v64 $I32X4 flags addr offset)))
2566
+
2567
+ ;; Signed 32->64 bit extension.
2568
+ (rule (lower (has_type $I64X2 (sload32x2 flags addr offset)))
2569
+ (vec_unpacks_high $I32X4 (load_v64 $I32X4 flags addr offset)))
2570
+
2571
+
2572
+ ;; Helper to load a 64-bit half-size vector from memory.
2573
+ (decl load_v64 (Type MemFlags Value Offset32) Reg)
2574
+
2575
+ ;; Any big-endian source value, BE lane order.
2576
+ (rule -1 (load_v64 _ flags @ (bigendian) addr offset)
2577
+ (if-let (LaneOrder.BigEndian) (lane_order))
2578
+ (vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0))
2579
+
2580
+ ;; Any little-endian source value, LE lane order.
2581
+ (rule -2 (load_v64 _ flags @ (littleendian) addr offset)
2582
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2583
+ (vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0))
2584
+
2585
+ ;; Big-endian or little-endian 8x8-bit source value, BE lane order.
2586
+ (rule (load_v64 (multi_lane 8 16) flags addr offset)
2587
+ (if-let (LaneOrder.BigEndian) (lane_order))
2588
+ (vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0))
2589
+
2590
+ ;; Big-endian or little-endian 8x8-bit source value, LE lane order.
2591
+ (rule 1 (load_v64 (multi_lane 8 16) flags addr offset)
2592
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2593
+ (vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0))
2594
+
2595
+ ;; Little-endian 4x16-bit source value, BE lane order.
2596
+ (rule (load_v64 (multi_lane 16 8) flags @ (littleendian) addr offset)
2597
+ (if-let (LaneOrder.BigEndian) (lane_order))
2598
+ (vec_rot_imm $I16X8
2599
+ (vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0) 8))
2600
+
2601
+ ;; Big-endian 4x16-bit source value, LE lane order.
2602
+ (rule 1 (load_v64 (multi_lane 16 8) flags @ (bigendian) addr offset)
2603
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2604
+ (vec_rot_imm $I16X8
2605
+ (vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0) 8))
2606
+
2607
+ ;; Little-endian 2x32-bit source value, BE lane order.
2608
+ (rule (load_v64 (multi_lane 32 4) flags @ (littleendian) addr offset)
2609
+ (if-let (LaneOrder.BigEndian) (lane_order))
2610
+ (vec_rot_imm $I64X2
2611
+ (vec_load_lane_little_undef $I64X2 (lower_address flags addr offset) 0) 32))
2612
+
2613
+ ;; Big-endian 2x32-bit source value, LE lane order.
2614
+ (rule 1 (load_v64 (multi_lane 32 4) flags @ (bigendian) addr offset)
2615
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2616
+ (vec_rot_imm $I64X2
2617
+ (vec_load_lane_undef $I64X2 (lower_address flags addr offset) 0) 32))
2618
+
2619
+
2620
+ ;;;; Rules for `store` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2621
+
2622
+ ;; The actual store logic for integer types is identical for the `store`,
2623
+ ;; `istoreNN`, and `atomic_store` instructions, so we share common helpers.
2624
+
2625
+ ;; Store 8-bit integer type, main lowering entry point.
2626
+ (rule (lower (store flags val @ (value_type $I8) addr offset))
2627
+ (side_effect (istore8_impl flags val addr offset)))
2628
+
2629
+ ;; Store 16-bit integer type, main lowering entry point.
2630
+ (rule (lower (store flags val @ (value_type $I16) addr offset))
2631
+ (side_effect (istore16_impl flags val addr offset)))
2632
+
2633
+ ;; Store 32-bit integer type, main lowering entry point.
2634
+ (rule (lower (store flags val @ (value_type $I32) addr offset))
2635
+ (side_effect (istore32_impl flags val addr offset)))
2636
+
2637
+ ;; Store 64-bit integer type, main lowering entry point.
2638
+ (rule (lower (store flags val @ (value_type $I64) addr offset))
2639
+ (side_effect (istore64_impl flags val addr offset)))
2640
+
2641
+ ;; Store 64-bit reference type, main lowering entry point.
2642
+ (rule (lower (store flags val @ (value_type $R64) addr offset))
2643
+ (side_effect (istore64_impl flags val addr offset)))
2644
+
2645
+ ;; Store 32-bit big-endian floating-point type (as vector lane).
2646
+ (rule -1 (lower (store flags @ (bigendian)
2647
+ val @ (value_type $F32) addr offset))
2648
+ (side_effect (vec_store_lane $F32X4 val
2649
+ (lower_address flags addr offset) 0)))
2650
+
2651
+ ;; Store 32-bit little-endian floating-point type (as vector lane).
2652
+ (rule (lower (store flags @ (littleendian)
2653
+ val @ (value_type $F32) addr offset))
2654
+ (side_effect (vec_store_lane_little $F32X4 val
2655
+ (lower_address flags addr offset) 0)))
2656
+
2657
+ ;; Store 64-bit big-endian floating-point type (as vector lane).
2658
+ (rule -1 (lower (store flags @ (bigendian)
2659
+ val @ (value_type $F64) addr offset))
2660
+ (side_effect (vec_store_lane $F64X2 val
2661
+ (lower_address flags addr offset) 0)))
2662
+
2663
+ ;; Store 64-bit little-endian floating-point type (as vector lane).
2664
+ (rule (lower (store flags @ (littleendian)
2665
+ val @ (value_type $F64) addr offset))
2666
+ (side_effect (vec_store_lane_little $F64X2 val
2667
+ (lower_address flags addr offset) 0)))
2668
+
2669
+ ;; Store 128-bit big-endian vector type, BE lane order - direct store.
2670
+ (rule 4 (lower (store flags @ (bigendian)
2671
+ val @ (value_type (vr128_ty ty)) addr offset))
2672
+ (if-let (LaneOrder.BigEndian) (lane_order))
2673
+ (side_effect (vec_store val (lower_address flags addr offset))))
2674
+
2675
+ ;; Store 128-bit little-endian vector type, BE lane order - byte-reversed store.
2676
+ (rule 3 (lower (store flags @ (littleendian)
2677
+ val @ (value_type (vr128_ty ty)) addr offset))
2678
+ (if-let (LaneOrder.BigEndian) (lane_order))
2679
+ (side_effect (vec_store_byte_rev ty val flags addr offset)))
2680
+
2681
+ ;; Store 128-bit big-endian vector type, LE lane order - element-reversed store.
2682
+ (rule 2 (lower (store flags @ (bigendian)
2683
+ val @ (value_type (vr128_ty ty)) addr offset))
2684
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2685
+ (side_effect (vec_store_elt_rev ty val flags addr offset)))
2686
+
2687
+ ;; Store 128-bit little-endian vector type, LE lane order - fully-reversed store.
2688
+ (rule 1 (lower (store flags @ (littleendian)
2689
+ val @ (value_type (vr128_ty ty)) addr offset))
2690
+ (if-let (LaneOrder.LittleEndian) (lane_order))
2691
+ (side_effect (vec_store_full_rev ty val flags addr offset)))
2692
+
2693
+
2694
+ ;; Helper to perform a 128-bit full-vector byte-reversed store.
2695
+ (decl vec_store_full_rev (Type Reg MemFlags Value Offset32) SideEffectNoResult)
2696
+
2697
+ ;; Full-vector byte-reversed store via single instruction on z15.
2698
+ (rule 1 (vec_store_full_rev (vxrs_ext2_enabled) val flags addr offset)
2699
+ (vec_storerev val (lower_address flags addr offset)))
2700
+
2701
+ ;; Full-vector byte-reversed store via GPRs on z14.
2702
+ (rule (vec_store_full_rev (vxrs_ext2_disabled) val flags addr offset)
2703
+ (let ((lo_addr MemArg (lower_address_bias flags addr offset 0))
2704
+ (hi_addr MemArg (lower_address_bias flags addr offset 8))
2705
+ (lo_val Reg (vec_extract_lane $I64X2 val 1 (zero_reg)))
2706
+ (hi_val Reg (vec_extract_lane $I64X2 val 0 (zero_reg))))
2707
+ (side_effect_concat (storerev64 lo_val lo_addr)
2708
+ (storerev64 hi_val hi_addr))))
2709
+
2710
+
2711
+ ;; Helper to perform an element-wise byte-reversed store.
2712
+ (decl vec_store_byte_rev (Type Reg MemFlags Value Offset32) SideEffectNoResult)
2713
+
2714
+ ;; Element-wise byte-reversed 1x128-bit store is a full byte-reversed store.
2715
+ (rule -1 (vec_store_byte_rev $I128 val flags addr offset)
2716
+ (vec_store_full_rev $I128 val flags addr offset))
2717
+
2718
+ ;; Element-wise byte-reversed 16x8-bit store is a direct store.
2719
+ (rule (vec_store_byte_rev (multi_lane 8 16) val flags addr offset)
2720
+ (vec_store val (lower_address flags addr offset)))
2721
+
2722
+ ;; Element-wise byte-reversed store via single instruction on z15.
2723
+ (rule 1 (vec_store_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
2724
+ val flags addr offset)
2725
+ (vec_store_byte64rev val (lower_address flags addr offset)))
2726
+ (rule 1 (vec_store_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
2727
+ val flags addr offset)
2728
+ (vec_store_byte32rev val (lower_address flags addr offset)))
2729
+ (rule 1 (vec_store_byte_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
2730
+ val flags addr offset)
2731
+ (vec_store_byte16rev val (lower_address flags addr offset)))
2732
+
2733
+ ;; Element-wise byte-reversed load as element-swapped byte-reversed store on z14.
2734
+ (rule (vec_store_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
2735
+ val flags addr offset)
2736
+ (vec_store_full_rev ty (vec_elt_rev ty val) flags addr offset))
2737
+ (rule (vec_store_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
2738
+ val flags addr offset)
2739
+ (vec_store_full_rev ty (vec_elt_rev ty val) flags addr offset))
2740
+ (rule (vec_store_byte_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
2741
+ val flags addr offset)
2742
+ (vec_store_full_rev ty (vec_elt_rev ty val) flags addr offset))
2743
+
2744
+
2745
+ ;; Helper to perform an element-reversed store.
2746
+ (decl vec_store_elt_rev (Type Reg MemFlags Value Offset32) SideEffectNoResult)
2747
+
2748
+ ;; Element-reversed 1x128-bit store is a direct store.
2749
+ (rule -1 (vec_store_elt_rev $I128 val flags addr offset)
2750
+ (vec_store val (lower_address flags addr offset)))
2751
+
2752
+ ;; Element-reversed 16x8-bit store is a full byte-reversed store.
2753
+ (rule (vec_store_elt_rev ty @ (multi_lane 8 16) val flags addr offset)
2754
+ (vec_store_full_rev ty val flags addr offset))
2755
+
2756
+ ;; Element-reversed store via single instruction on z15.
2757
+ (rule 1 (vec_store_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 64 2))
2758
+ val flags addr offset)
2759
+ (vec_store_elt64rev val (lower_address flags addr offset)))
2760
+ (rule 1 (vec_store_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 32 4))
2761
+ val flags addr offset)
2762
+ (vec_store_elt32rev val (lower_address flags addr offset)))
2763
+ (rule 1 (vec_store_elt_rev (and (vxrs_ext2_enabled) ty @ (multi_lane 16 8))
2764
+ val flags addr offset)
2765
+ (vec_store_elt16rev val (lower_address flags addr offset)))
2766
+
2767
+ ;; Element-reversed store as element-swapped direct store on z14.
2768
+ (rule (vec_store_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 64 2))
2769
+ val flags addr offset)
2770
+ (vec_store (vec_elt_rev ty val) (lower_address flags addr offset)))
2771
+ (rule (vec_store_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 32 4))
2772
+ val flags addr offset)
2773
+ (vec_store (vec_elt_rev ty val) (lower_address flags addr offset)))
2774
+ (rule (vec_store_elt_rev (and (vxrs_ext2_disabled) ty @ (multi_lane 16 8))
2775
+ val flags addr offset)
2776
+ (vec_store (vec_elt_rev ty val) (lower_address flags addr offset)))
2777
+
2778
+
2779
+ ;;;; Rules for 8-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2780
+
2781
+ ;; Main `istore8` lowering entry point, dispatching to the helper.
2782
+ (rule (lower (istore8 flags val addr offset))
2783
+ (side_effect (istore8_impl flags val addr offset)))
2784
+
2785
+ ;; Helper to store 8-bit integer types.
2786
+ (decl istore8_impl (MemFlags Value Value Offset32) SideEffectNoResult)
2787
+
2788
+ ;; Store 8-bit integer types, register input.
2789
+ (rule (istore8_impl flags val addr offset)
2790
+ (store8 (put_in_reg val) (lower_address flags addr offset)))
2791
+
2792
+ ;; Store 8-bit integer types, immediate input.
2793
+ (rule 1 (istore8_impl flags (u8_from_value imm) addr offset)
2794
+ (store8_imm imm (lower_address flags addr offset)))
2795
+
2796
+
2797
+ ;;;; Rules for 16-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2798
+
2799
+ ;; Main `istore16` lowering entry point, dispatching to the helper.
2800
+ (rule (lower (istore16 flags val addr offset))
2801
+ (side_effect (istore16_impl flags val addr offset)))
2802
+
2803
+ ;; Helper to store 16-bit integer types.
2804
+ (decl istore16_impl (MemFlags Value Value Offset32) SideEffectNoResult)
2805
+
2806
+ ;; Store 16-bit big-endian integer types, register input.
2807
+ (rule 2 (istore16_impl flags @ (bigendian) val addr offset)
2808
+ (store16 (put_in_reg val) (lower_address flags addr offset)))
2809
+
2810
+ ;; Store 16-bit little-endian integer types, register input.
2811
+ (rule 0 (istore16_impl flags @ (littleendian) val addr offset)
2812
+ (storerev16 (put_in_reg val) (lower_address flags addr offset)))
2813
+
2814
+ ;; Store 16-bit big-endian integer types, immediate input.
2815
+ (rule 3 (istore16_impl flags @ (bigendian) (i16_from_value imm) addr offset)
2816
+ (store16_imm imm (lower_address flags addr offset)))
2817
+
2818
+ ;; Store 16-bit little-endian integer types, immediate input.
2819
+ (rule 1 (istore16_impl flags @ (littleendian) (i16_from_swapped_value imm) addr offset)
2820
+ (store16_imm imm (lower_address flags addr offset)))
2821
+
2822
+
2823
+ ;;;; Rules for 32-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2824
+
2825
+ ;; Main `istore32` lowering entry point, dispatching to the helper.
2826
+ (rule (lower (istore32 flags val addr offset))
2827
+ (side_effect (istore32_impl flags val addr offset)))
2828
+
2829
+ ;; Helper to store 32-bit integer types.
2830
+ (decl istore32_impl (MemFlags Value Value Offset32) SideEffectNoResult)
2831
+
2832
+ ;; Store 32-bit big-endian integer types, register input.
2833
+ (rule 1 (istore32_impl flags @ (bigendian) val addr offset)
2834
+ (store32 (put_in_reg val) (lower_address flags addr offset)))
2835
+
2836
+ ;; Store 32-bit big-endian integer types, immediate input.
2837
+ (rule 2 (istore32_impl flags @ (bigendian) (i16_from_value imm) addr offset)
2838
+ (store32_simm16 imm (lower_address flags addr offset)))
2839
+
2840
+ ;; Store 32-bit little-endian integer types.
2841
+ (rule 0 (istore32_impl flags @ (littleendian) val addr offset)
2842
+ (storerev32 (put_in_reg val) (lower_address flags addr offset)))
2843
+
2844
+
2845
+ ;;;; Rules for 64-bit integer stores ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2846
+
2847
+ ;; Helper to store 64-bit integer types.
2848
+ (decl istore64_impl (MemFlags Value Value Offset32) SideEffectNoResult)
2849
+
2850
+ ;; Store 64-bit big-endian integer types, register input.
2851
+ (rule 1 (istore64_impl flags @ (bigendian) val addr offset)
2852
+ (store64 (put_in_reg val) (lower_address flags addr offset)))
2853
+
2854
+ ;; Store 64-bit big-endian integer types, immediate input.
2855
+ (rule 2 (istore64_impl flags @ (bigendian) (i16_from_value imm) addr offset)
2856
+ (store64_simm16 imm (lower_address flags addr offset)))
2857
+
2858
+ ;; Store 64-bit little-endian integer types.
2859
+ (rule 0 (istore64_impl flags @ (littleendian) val addr offset)
2860
+ (storerev64 (put_in_reg val) (lower_address flags addr offset)))
2861
+
2862
+
2863
+ ;;;; Rules for `atomic_rmw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2864
+
2865
+ ;; Atomic operations that do not require a compare-and-swap loop.
2866
+
2867
+ ;; Atomic AND for 32/64-bit big-endian types, using a single instruction.
2868
+ (rule 1 (lower (has_type (ty_32_or_64 ty)
2869
+ (atomic_rmw flags @ (bigendian) (AtomicRmwOp.And) addr src)))
2870
+ (atomic_rmw_and ty (put_in_reg src)
2871
+ (lower_address flags addr (zero_offset))))
2872
+
2873
+ ;; Atomic AND for 32/64-bit big-endian types, using byte-swapped input/output.
2874
+ (rule (lower (has_type (ty_32_or_64 ty)
2875
+ (atomic_rmw flags @ (littleendian) (AtomicRmwOp.And) addr src)))
2876
+ (bswap_reg ty (atomic_rmw_and ty (bswap_reg ty (put_in_reg src))
2877
+ (lower_address flags addr (zero_offset)))))
2878
+
2879
+ ;; Atomic OR for 32/64-bit big-endian types, using a single instruction.
2880
+ (rule 1 (lower (has_type (ty_32_or_64 ty)
2881
+ (atomic_rmw flags @ (bigendian) (AtomicRmwOp.Or) addr src)))
2882
+ (atomic_rmw_or ty (put_in_reg src)
2883
+ (lower_address flags addr (zero_offset))))
2884
+
2885
+ ;; Atomic OR for 32/64-bit little-endian types, using byte-swapped input/output.
2886
+ (rule (lower (has_type (ty_32_or_64 ty)
2887
+ (atomic_rmw flags @ (littleendian) (AtomicRmwOp.Or) addr src)))
2888
+ (bswap_reg ty (atomic_rmw_or ty (bswap_reg ty (put_in_reg src))
2889
+ (lower_address flags addr (zero_offset)))))
2890
+
2891
+ ;; Atomic XOR for 32/64-bit big-endian types, using a single instruction.
2892
+ (rule 1 (lower (has_type (ty_32_or_64 ty)
2893
+ (atomic_rmw flags @ (bigendian) (AtomicRmwOp.Xor) addr src)))
2894
+ (atomic_rmw_xor ty (put_in_reg src)
2895
+ (lower_address flags addr (zero_offset))))
2896
+
2897
+ ;; Atomic XOR for 32/64-bit little-endian types, using byte-swapped input/output.
2898
+ (rule (lower (has_type (ty_32_or_64 ty)
2899
+ (atomic_rmw flags @ (littleendian) (AtomicRmwOp.Xor) addr src)))
2900
+ (bswap_reg ty (atomic_rmw_xor ty (bswap_reg ty (put_in_reg src))
2901
+ (lower_address flags addr (zero_offset)))))
2902
+
2903
+ ;; Atomic ADD for 32/64-bit big-endian types, using a single instruction.
2904
+ (rule (lower (has_type (ty_32_or_64 ty)
2905
+ (atomic_rmw flags @ (bigendian) (AtomicRmwOp.Add) addr src)))
2906
+ (atomic_rmw_add ty (put_in_reg src)
2907
+ (lower_address flags addr (zero_offset))))
2908
+
2909
+ ;; Atomic SUB for 32/64-bit big-endian types, using atomic ADD with negated input.
2910
+ (rule (lower (has_type (ty_32_or_64 ty)
2911
+ (atomic_rmw flags @ (bigendian) (AtomicRmwOp.Sub) addr src)))
2912
+ (atomic_rmw_add ty (neg_reg ty (put_in_reg src))
2913
+ (lower_address flags addr (zero_offset))))
2914
+
2915
+
2916
+ ;; Atomic operations that require a compare-and-swap loop.
2917
+
2918
+ ;; Operations for 32/64-bit types can use a fullword compare-and-swap loop.
2919
+ (rule -1 (lower (has_type (ty_32_or_64 ty) (atomic_rmw flags op addr src)))
2920
+ (let ((src_reg Reg (put_in_reg src))
2921
+ (addr_reg Reg (put_in_reg addr))
2922
+ ;; Create body of compare-and-swap loop.
2923
+ (ib VecMInstBuilder (inst_builder_new))
2924
+ (val0 Reg (writable_reg_to_reg (casloop_val_reg)))
2925
+ (val1 Reg (atomic_rmw_body ib ty flags op
2926
+ (casloop_tmp_reg) val0 src_reg)))
2927
+ ;; Emit compare-and-swap loop and extract final result.
2928
+ (casloop ib ty flags addr_reg val1)))
2929
+
2930
+ ;; Operations for 8/16-bit types must operate on the surrounding aligned word.
2931
+ (rule -2 (lower (has_type (ty_8_or_16 ty) (atomic_rmw flags op addr src)))
2932
+ (let ((src_reg Reg (put_in_reg src))
2933
+ (addr_reg Reg (put_in_reg addr))
2934
+ ;; Prepare access to surrounding aligned word.
2935
+ (bitshift Reg (casloop_bitshift addr_reg))
2936
+ (aligned_addr Reg (casloop_aligned_addr addr_reg))
2937
+ ;; Create body of compare-and-swap loop.
2938
+ (ib VecMInstBuilder (inst_builder_new))
2939
+ (val0 Reg (writable_reg_to_reg (casloop_val_reg)))
2940
+ (val1 Reg (casloop_rotate_in ib ty flags bitshift val0))
2941
+ (val2 Reg (atomic_rmw_body ib ty flags op
2942
+ (casloop_tmp_reg) val1 src_reg))
2943
+ (val3 Reg (casloop_rotate_out ib ty flags bitshift val2)))
2944
+ ;; Emit compare-and-swap loop and extract final result.
2945
+ (casloop_subword ib ty flags aligned_addr bitshift val3)))
2946
+
2947
+ ;; Loop bodies for atomic read-modify-write operations.
2948
+ (decl atomic_rmw_body (VecMInstBuilder Type MemFlags AtomicRmwOp
2949
+ WritableReg Reg Reg) Reg)
2950
+
2951
+ ;; Loop bodies for 32-/64-bit atomic XCHG operations.
2952
+ ;; Simply use the source (possibly byte-swapped) as new target value.
2953
+ (rule 2 (atomic_rmw_body ib (ty_32_or_64 ty) (bigendian)
2954
+ (AtomicRmwOp.Xchg) tmp val src)
2955
+ src)
2956
+ (rule 1 (atomic_rmw_body ib (ty_32_or_64 ty) (littleendian)
2957
+ (AtomicRmwOp.Xchg) tmp val src)
2958
+ (bswap_reg ty src))
2959
+
2960
+ ;; Loop bodies for 32-/64-bit atomic NAND operations.
2961
+ ;; On z15 this can use the NN(G)RK instruction. On z14, perform an And
2962
+ ;; operation and invert the result. In the little-endian case, we can
2963
+ ;; simply byte-swap the source operand.
2964
+ (rule 4 (atomic_rmw_body ib (and (mie2_enabled) (ty_32_or_64 ty)) (bigendian)
2965
+ (AtomicRmwOp.Nand) tmp val src)
2966
+ (push_alu_reg ib (aluop_not_and ty) tmp val src))
2967
+ (rule 3 (atomic_rmw_body ib (and (mie2_enabled) (ty_32_or_64 ty)) (littleendian)
2968
+ (AtomicRmwOp.Nand) tmp val src)
2969
+ (push_alu_reg ib (aluop_not_and ty) tmp val (bswap_reg ty src)))
2970
+ (rule 2 (atomic_rmw_body ib (and (mie2_disabled) (ty_32_or_64 ty)) (bigendian)
2971
+ (AtomicRmwOp.Nand) tmp val src)
2972
+ (push_not_reg ib ty tmp
2973
+ (push_alu_reg ib (aluop_and ty) tmp val src)))
2974
+ (rule 1 (atomic_rmw_body ib (and (mie2_disabled) (ty_32_or_64 ty)) (littleendian)
2975
+ (AtomicRmwOp.Nand) tmp val src)
2976
+ (push_not_reg ib ty tmp
2977
+ (push_alu_reg ib (aluop_and ty) tmp val (bswap_reg ty src))))
2978
+
2979
+ ;; Loop bodies for 8-/16-bit atomic bit operations.
2980
+ ;; These use the "rotate-then-<op>-selected bits" family of instructions.
2981
+ ;; For the Nand operation, we again perform And and invert the result.
2982
+ (rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Xchg) tmp val src)
2983
+ (atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.Insert) tmp val src))
2984
+ (rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.And) tmp val src)
2985
+ (atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.And) tmp val src))
2986
+ (rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Or) tmp val src)
2987
+ (atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.Or) tmp val src))
2988
+ (rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Xor) tmp val src)
2989
+ (atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.Xor) tmp val src))
2990
+ (rule (atomic_rmw_body ib (ty_8_or_16 ty) flags (AtomicRmwOp.Nand) tmp val src)
2991
+ (atomic_rmw_body_invert ib ty flags tmp
2992
+ (atomic_rmw_body_rxsbg ib ty flags (RxSBGOp.And) tmp val src)))
2993
+
2994
+ ;; RxSBG subword operation.
2995
+ (decl atomic_rmw_body_rxsbg (VecMInstBuilder Type MemFlags RxSBGOp
2996
+ WritableReg Reg Reg) Reg)
2997
+ ;; 8-bit case: use the low byte of "src" and the high byte of "val".
2998
+ (rule (atomic_rmw_body_rxsbg ib $I8 _ op tmp val src)
2999
+ (push_rxsbg ib op tmp val src 32 40 24))
3000
+ ;; 16-bit big-endian case: use the low two bytes of "src" and the
3001
+ ;; high two bytes of "val".
3002
+ (rule 1 (atomic_rmw_body_rxsbg ib $I16 (bigendian) op tmp val src)
3003
+ (push_rxsbg ib op tmp val src 32 48 16))
3004
+ ;; 16-bit little-endian case: use the low two bytes of "src", byte-swapped
3005
+ ;; so they end up in the high two bytes, and the low two bytes of "val".
3006
+ (rule (atomic_rmw_body_rxsbg ib $I16 (littleendian) op tmp val src)
3007
+ (push_rxsbg ib op tmp val (bswap_reg $I32 src) 48 64 -16))
3008
+
3009
+ ;; Invert a subword.
3010
+ (decl atomic_rmw_body_invert (VecMInstBuilder Type MemFlags WritableReg Reg) Reg)
3011
+ ;; 8-bit case: invert the high byte.
3012
+ (rule (atomic_rmw_body_invert ib $I8 _ tmp val)
3013
+ (push_xor_uimm32shifted ib $I32 tmp val (uimm32shifted 0xff000000 0)))
3014
+ ;; 16-bit big-endian case: invert the two high bytes.
3015
+ (rule 1 (atomic_rmw_body_invert ib $I16 (bigendian) tmp val)
3016
+ (push_xor_uimm32shifted ib $I32 tmp val (uimm32shifted 0xffff0000 0)))
3017
+ ;; 16-bit little-endian case: invert the two low bytes.
3018
+ (rule (atomic_rmw_body_invert ib $I16 (littleendian) tmp val)
3019
+ (push_xor_uimm32shifted ib $I32 tmp val (uimm32shifted 0xffff 0)))
3020
+
3021
+ ;; Loop bodies for atomic ADD/SUB operations.
3022
+ (rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Add) tmp val src)
3023
+ (atomic_rmw_body_addsub ib ty flags (aluop_add (ty_ext32 ty)) tmp val src))
3024
+ (rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Sub) tmp val src)
3025
+ (atomic_rmw_body_addsub ib ty flags (aluop_sub (ty_ext32 ty)) tmp val src))
3026
+
3027
+ ;; Addition or subtraction operation.
3028
+ (decl atomic_rmw_body_addsub (VecMInstBuilder Type MemFlags ALUOp
3029
+ WritableReg Reg Reg) Reg)
3030
+ ;; 32/64-bit big-endian case: just a regular add/sub operation.
3031
+ (rule 2 (atomic_rmw_body_addsub ib (ty_32_or_64 ty) (bigendian) op tmp val src)
3032
+ (push_alu_reg ib op tmp val src))
3033
+ ;; 32/64-bit little-endian case: byte-swap the value loaded from memory before
3034
+ ;; and after performing the operation in native endianness.
3035
+ (rule 1 (atomic_rmw_body_addsub ib (ty_32_or_64 ty) (littleendian) op tmp val src)
3036
+ (let ((val_swapped Reg (push_bswap_reg ib ty tmp val))
3037
+ (res_swapped Reg (push_alu_reg ib op tmp val_swapped src)))
3038
+ (push_bswap_reg ib ty tmp res_swapped)))
3039
+ ;; 8-bit case: perform a 32-bit addition of the source value shifted by 24 bits
3040
+ ;; to the memory value, which contains the target in its high byte.
3041
+ (rule (atomic_rmw_body_addsub ib $I8 _ op tmp val src)
3042
+ (let ((src_shifted Reg (lshl_imm $I32 src 24)))
3043
+ (push_alu_reg ib op tmp val src_shifted)))
3044
+ ;; 16-bit big-endian case: similar, just shift the source by 16 bits.
3045
+ (rule 3 (atomic_rmw_body_addsub ib $I16 (bigendian) op tmp val src)
3046
+ (let ((src_shifted Reg (lshl_imm $I32 src 16)))
3047
+ (push_alu_reg ib op tmp val src_shifted)))
3048
+ ;; 16-bit little-endian case: the same, but in addition we need to byte-swap
3049
+ ;; the memory value before and after the operation. Since the value was placed
3050
+ ;; in the low two bytes by our standard rotation, we can use a 32-bit byte-swap
3051
+ ;; and the native-endian value will end up in the high bytes where we need it
3052
+ ;; to perform the operation.
3053
+ (rule (atomic_rmw_body_addsub ib $I16 (littleendian) op tmp val src)
3054
+ (let ((src_shifted Reg (lshl_imm $I32 src 16))
3055
+ (val_swapped Reg (push_bswap_reg ib $I32 tmp val))
3056
+ (res_swapped Reg (push_alu_reg ib op tmp val_swapped src_shifted)))
3057
+ (push_bswap_reg ib $I32 tmp res_swapped)))
3058
+
3059
+ ;; Loop bodies for atomic MIN/MAX operations.
3060
+ (rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Smin) tmp val src)
3061
+ (atomic_rmw_body_minmax ib ty flags (cmpop_cmps (ty_ext32 ty))
3062
+ (intcc_as_cond (IntCC.SignedLessThan)) tmp val src))
3063
+ (rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Smax) tmp val src)
3064
+ (atomic_rmw_body_minmax ib ty flags (cmpop_cmps (ty_ext32 ty))
3065
+ (intcc_as_cond (IntCC.SignedGreaterThan)) tmp val src))
3066
+ (rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Umin) tmp val src)
3067
+ (atomic_rmw_body_minmax ib ty flags (cmpop_cmpu (ty_ext32 ty))
3068
+ (intcc_as_cond (IntCC.UnsignedLessThan)) tmp val src))
3069
+ (rule (atomic_rmw_body ib ty flags (AtomicRmwOp.Umax) tmp val src)
3070
+ (atomic_rmw_body_minmax ib ty flags (cmpop_cmpu (ty_ext32 ty))
3071
+ (intcc_as_cond (IntCC.UnsignedGreaterThan)) tmp val src))
3072
+
3073
+ ;; Minimum or maximum operation.
3074
+ (decl atomic_rmw_body_minmax (VecMInstBuilder Type MemFlags CmpOp Cond
3075
+ WritableReg Reg Reg) Reg)
3076
+ ;; 32/64-bit big-endian case: just a comparison followed by a conditional
3077
+ ;; break out of the loop if the memory value does not need to change.
3078
+ ;; If it does need to change, the new value is simply the source operand.
3079
+ (rule 2 (atomic_rmw_body_minmax ib (ty_32_or_64 ty) (bigendian)
3080
+ op cond tmp val src)
3081
+ (let ((_ Reg (push_break_if ib (cmp_rr op src val) (invert_cond cond))))
3082
+ src))
3083
+ ;; 32/64-bit little-endian case: similar, but we need to byte-swap the
3084
+ ;; memory value before the comparison. If we need to store the new value,
3085
+ ;; it also needs to be byte-swapped.
3086
+ (rule 1 (atomic_rmw_body_minmax ib (ty_32_or_64 ty) (littleendian)
3087
+ op cond tmp val src)
3088
+ (let ((val_swapped Reg (push_bswap_reg ib ty tmp val))
3089
+ (_ Reg (push_break_if ib (cmp_rr op src val_swapped)
3090
+ (invert_cond cond))))
3091
+ (push_bswap_reg ib ty tmp src)))
3092
+ ;; 8-bit case: compare the memory value (which contains the target in the
3093
+ ;; high byte) with the source operand shifted by 24 bits. Note that in
3094
+ ;; the case where the high bytes are equal, the comparison may succeed
3095
+ ;; or fail depending on the unrelated low bits of the memory value, and
3096
+ ;; so we either may or may not perform the update. But it would be an
3097
+ ;; update with the same value in any case, so this does not matter.
3098
+ (rule (atomic_rmw_body_minmax ib $I8 _ op cond tmp val src)
3099
+ (let ((src_shifted Reg (lshl_imm $I32 src 24))
3100
+ (_ Reg (push_break_if ib (cmp_rr op src_shifted val)
3101
+ (invert_cond cond))))
3102
+ (push_rxsbg ib (RxSBGOp.Insert) tmp val src_shifted 32 40 0)))
3103
+ ;; 16-bit big-endian case: similar, just shift the source by 16 bits.
3104
+ (rule 3 (atomic_rmw_body_minmax ib $I16 (bigendian) op cond tmp val src)
3105
+ (let ((src_shifted Reg (lshl_imm $I32 src 16))
3106
+ (_ Reg (push_break_if ib (cmp_rr op src_shifted val)
3107
+ (invert_cond cond))))
3108
+ (push_rxsbg ib (RxSBGOp.Insert) tmp val src_shifted 32 48 0)))
3109
+ ;; 16-bit little-endian case: similar, but in addition byte-swap the
3110
+ ;; memory value before and after the operation, like for _addsub_.
3111
+ (rule (atomic_rmw_body_minmax ib $I16 (littleendian) op cond tmp val src)
3112
+ (let ((src_shifted Reg (lshl_imm $I32 src 16))
3113
+ (val_swapped Reg (push_bswap_reg ib $I32 tmp val))
3114
+ (_ Reg (push_break_if ib (cmp_rr op src_shifted val_swapped)
3115
+ (invert_cond cond)))
3116
+ (res_swapped Reg (push_rxsbg ib (RxSBGOp.Insert)
3117
+ tmp val_swapped src_shifted 32 48 0)))
3118
+ (push_bswap_reg ib $I32 tmp res_swapped)))
3119
+
3120
+
3121
+ ;;;; Rules for `atomic_cas` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3122
+
3123
+ ;; 32/64-bit big-endian atomic compare-and-swap instruction.
3124
+ (rule 2 (lower (has_type (ty_32_or_64 ty)
3125
+ (atomic_cas flags @ (bigendian) addr src1 src2)))
3126
+ (atomic_cas_impl ty (put_in_reg src1) (put_in_reg src2)
3127
+ (lower_address flags addr (zero_offset))))
3128
+
3129
+ ;; 32/64-bit little-endian atomic compare-and-swap instruction.
3130
+ ;; Implemented by byte-swapping old/new inputs and the output.
3131
+ (rule 1 (lower (has_type (ty_32_or_64 ty)
3132
+ (atomic_cas flags @ (littleendian) addr src1 src2)))
3133
+ (bswap_reg ty (atomic_cas_impl ty (bswap_reg ty (put_in_reg src1))
3134
+ (bswap_reg ty (put_in_reg src2))
3135
+ (lower_address flags addr (zero_offset)))))
3136
+
3137
+ ;; 8/16-bit atomic compare-and-swap implemented via loop.
3138
+ (rule (lower (has_type (ty_8_or_16 ty) (atomic_cas flags addr src1 src2)))
3139
+ (let ((src1_reg Reg (put_in_reg src1))
3140
+ (src2_reg Reg (put_in_reg src2))
3141
+ (addr_reg Reg (put_in_reg addr))
3142
+ ;; Prepare access to the surrounding aligned word.
3143
+ (bitshift Reg (casloop_bitshift addr_reg))
3144
+ (aligned_addr Reg (casloop_aligned_addr addr_reg))
3145
+ ;; Create body of compare-and-swap loop.
3146
+ (ib VecMInstBuilder (inst_builder_new))
3147
+ (val0 Reg (writable_reg_to_reg (casloop_val_reg)))
3148
+ (val1 Reg (casloop_rotate_in ib ty flags bitshift val0))
3149
+ (val2 Reg (atomic_cas_body ib ty flags
3150
+ (casloop_tmp_reg) val1 src1_reg src2_reg))
3151
+ (val3 Reg (casloop_rotate_out ib ty flags bitshift val2)))
3152
+ ;; Emit compare-and-swap loop and extract final result.
3153
+ (casloop_subword ib ty flags aligned_addr bitshift val3)))
3154
+
3155
+ ;; Emit loop body instructions to perform a subword compare-and-swap.
3156
+ (decl atomic_cas_body (VecMInstBuilder Type MemFlags
3157
+ WritableReg Reg Reg Reg) Reg)
3158
+
3159
+ ;; 8-bit case: "val" contains the value loaded from memory in the high byte.
3160
+ ;; Compare with the comparison value in the low byte of "src1". If unequal,
3161
+ ;; break out of the loop, otherwise replace the target byte in "val" with
3162
+ ;; the low byte of "src2".
3163
+ (rule (atomic_cas_body ib $I8 _ tmp val src1 src2)
3164
+ (let ((_ Reg (push_break_if ib (rxsbg_test (RxSBGOp.Xor) val src1 32 40 24)
3165
+ (intcc_as_cond (IntCC.NotEqual)))))
3166
+ (push_rxsbg ib (RxSBGOp.Insert) tmp val src2 32 40 24)))
3167
+
3168
+ ;; 16-bit big-endian case: Same as above, except with values in the high
3169
+ ;; two bytes of "val" and low two bytes of "src1" and "src2".
3170
+ (rule 1 (atomic_cas_body ib $I16 (bigendian) tmp val src1 src2)
3171
+ (let ((_ Reg (push_break_if ib (rxsbg_test (RxSBGOp.Xor) val src1 32 48 16)
3172
+ (intcc_as_cond (IntCC.NotEqual)))))
3173
+ (push_rxsbg ib (RxSBGOp.Insert) tmp val src2 32 48 16)))
3174
+
3175
+ ;; 16-bit little-endian case: "val" here contains a little-endian value in the
3176
+ ;; *low* two bytes. "src1" and "src2" contain native (i.e. big-endian) values
3177
+ ;; in their low two bytes. Perform the operation in little-endian mode by
3178
+ ;; byte-swapping "src1" and "src" ahead of the loop. Note that this is a
3179
+ ;; 32-bit operation so the little-endian 16-bit values end up in the *high*
3180
+ ;; two bytes of the swapped values.
3181
+ (rule (atomic_cas_body ib $I16 (littleendian) tmp val src1 src2)
3182
+ (let ((src1_swapped Reg (bswap_reg $I32 src1))
3183
+ (src2_swapped Reg (bswap_reg $I32 src2))
3184
+ (_ Reg (push_break_if ib
3185
+ (rxsbg_test (RxSBGOp.Xor) val src1_swapped 48 64 -16)
3186
+ (intcc_as_cond (IntCC.NotEqual)))))
3187
+ (push_rxsbg ib (RxSBGOp.Insert) tmp val src2_swapped 48 64 -16)))
3188
+
3189
+
3190
+ ;;;; Rules for `atomic_load` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3191
+
3192
+ ;; Atomic loads can be implemented via regular loads on this platform.
3193
+
3194
+ ;; 8-bit atomic load.
3195
+ (rule (lower (has_type $I8 (atomic_load flags addr)))
3196
+ (zext32_mem $I8 (lower_address flags addr (zero_offset))))
3197
+
3198
+ ;; 16-bit big-endian atomic load.
3199
+ (rule 1 (lower (has_type $I16 (atomic_load flags @ (bigendian) addr)))
3200
+ (zext32_mem $I16 (lower_address flags addr (zero_offset))))
3201
+
3202
+ ;; 16-bit little-endian atomic load.
3203
+ (rule (lower (has_type $I16 (atomic_load flags @ (littleendian) addr)))
3204
+ (loadrev16 (lower_address flags addr (zero_offset))))
3205
+
3206
+ ;; 32-bit big-endian atomic load.
3207
+ (rule 1 (lower (has_type $I32 (atomic_load flags @ (bigendian) addr)))
3208
+ (load32 (lower_address flags addr (zero_offset))))
3209
+
3210
+ ;; 32-bit little-endian atomic load.
3211
+ (rule (lower (has_type $I32 (atomic_load flags @ (littleendian) addr)))
3212
+ (loadrev32 (lower_address flags addr (zero_offset))))
3213
+
3214
+ ;; 64-bit big-endian atomic load.
3215
+ (rule 1 (lower (has_type $I64 (atomic_load flags @ (bigendian) addr)))
3216
+ (load64 (lower_address flags addr (zero_offset))))
3217
+
3218
+ ;; 64-bit little-endian atomic load.
3219
+ (rule (lower (has_type $I64 (atomic_load flags @ (littleendian) addr)))
3220
+ (loadrev64 (lower_address flags addr (zero_offset))))
3221
+
3222
+
3223
+ ;;;; Rules for `atomic_store` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3224
+
3225
+ ;; Atomic stores can be implemented via regular stores followed by a fence.
3226
+ (decl atomic_store_impl (SideEffectNoResult) InstOutput)
3227
+ (rule (atomic_store_impl store)
3228
+ (let ((_ InstOutput (side_effect store)))
3229
+ (side_effect (fence_impl))))
3230
+
3231
+ ;; 8-bit atomic store.
3232
+ (rule (lower (atomic_store flags val @ (value_type $I8) addr))
3233
+ (atomic_store_impl (istore8_impl flags val addr (zero_offset))))
3234
+
3235
+ ;; 16-bit atomic store.
3236
+ (rule (lower (atomic_store flags val @ (value_type $I16) addr))
3237
+ (atomic_store_impl (istore16_impl flags val addr (zero_offset))))
3238
+
3239
+ ;; 32-bit atomic store.
3240
+ (rule (lower (atomic_store flags val @ (value_type $I32) addr))
3241
+ (atomic_store_impl (istore32_impl flags val addr (zero_offset))))
3242
+
3243
+ ;; 64-bit atomic store.
3244
+ (rule (lower (atomic_store flags val @ (value_type $I64) addr))
3245
+ (atomic_store_impl (istore64_impl flags val addr (zero_offset))))
3246
+
3247
+
3248
+ ;;;; Rules for `fence` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3249
+
3250
+ ;; Fence to ensure sequential consistency.
3251
+ (rule (lower (fence))
3252
+ (side_effect (fence_impl)))
3253
+
3254
+
3255
+ ;;;; Rules for `icmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3256
+
3257
+ ;; We want to optimize the typical use of `icmp` (generating an integer 0/1
3258
+ ;; result) followed by some user, like a `select` or a conditional branch.
3259
+ ;; Instead of first generating the integer result and later testing it again,
3260
+ ;; we want to sink the comparison to be performed at the site of use.
3261
+ ;;
3262
+ ;; To enable this, we provide generic helpers that return a `ProducesBool`
3263
+ ;; encapsulating the comparison in question, which can be used by all the
3264
+ ;; above scenarios.
3265
+ ;;
3266
+ ;; N.B. There are specific considerations when sinking a memory load into a
3267
+ ;; comparison. When emitting an `icmp` directly, this can of course be done
3268
+ ;; as usual. However, when we use the `ProducesBool` elsewhere, we need to
3269
+ ;; consider *three* instructions: the load, the `icmp`, and the final user
3270
+ ;; (e.g. a conditional branch). The only way to safely sink the load would
3271
+ ;; be to sink it direct into the final user, which is only possible if there
3272
+ ;; is no *other* user of the `icmp` result. This is not currently being
3273
+ ;; verified by the `SinkableInst` logic, so to be safe we do not perform this
3274
+ ;; optimization at all.
3275
+ ;;
3276
+ ;; The generic `icmp_val` helper therefore has a flag indicating whether
3277
+ ;; it is being invoked in a context where it is safe to sink memory loads
3278
+ ;; (e.g. when directly emitting an `icmp`), or whether it is not (e.g. when
3279
+ ;; sinking the `icmp` result into a conditional branch or select).
3280
+
3281
+ ;; Main `icmp` entry point. Generate a `ProducesBool` capturing the
3282
+ ;; integer comparison and immediately lower it to a 0/1 integer result.
3283
+ ;; In this case, it is safe to sink memory loads.
3284
+ (rule -1 (lower (has_type (fits_in_64 ty) (icmp int_cc x y)))
3285
+ (lower_bool ty (icmp_val $true int_cc x y)))
3286
+
3287
+
3288
+ ;; Return a `ProducesBool` to implement any integer comparison.
3289
+ ;; The first argument is a flag to indicate whether it is safe to sink
3290
+ ;; memory loads as discussed above.
3291
+ (decl icmp_val (bool IntCC Value Value) ProducesBool)
3292
+
3293
+ ;; Dispatch for signed comparisons.
3294
+ (rule -1 (icmp_val allow_mem int_cc @ (signed) x @ (value_type (fits_in_64 _)) y)
3295
+ (bool (icmps_val allow_mem x y) (intcc_as_cond int_cc)))
3296
+ ;; Dispatch for unsigned comparisons.
3297
+ (rule -2 (icmp_val allow_mem int_cc @ (unsigned) x @ (value_type (fits_in_64 _)) y)
3298
+ (bool (icmpu_val allow_mem x y) (intcc_as_cond int_cc)))
3299
+
3300
+
3301
+ ;; Return a `ProducesBool` to implement signed integer comparisons.
3302
+ (decl icmps_val (bool Value Value) ProducesFlags)
3303
+
3304
+ ;; Compare (signed) two registers.
3305
+ (rule 0 (icmps_val _ x @ (value_type (fits_in_64 ty)) y)
3306
+ (icmps_reg (ty_ext32 ty) (put_in_reg_sext32 x) (put_in_reg_sext32 y)))
3307
+
3308
+ ;; Compare (signed) a register and a sign-extended register.
3309
+ (rule 3 (icmps_val _ x @ (value_type (fits_in_64 ty)) (sext32_value y))
3310
+ (icmps_reg_sext32 ty x y))
3311
+
3312
+ ;; Compare (signed) a register and an immediate.
3313
+ (rule 2 (icmps_val _ x @ (value_type (fits_in_64 ty)) (i16_from_value y))
3314
+ (icmps_simm16 (ty_ext32 ty) (put_in_reg_sext32 x) y))
3315
+ (rule 1 (icmps_val _ x @ (value_type (fits_in_64 ty)) (i32_from_value y))
3316
+ (icmps_simm32 (ty_ext32 ty) (put_in_reg_sext32 x) y))
3317
+
3318
+ ;; Compare (signed) a register and memory (32/64-bit types).
3319
+ (rule 4 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_load_32_64 y))
3320
+ (icmps_mem ty x (sink_load y)))
3321
+
3322
+ ;; Compare (signed) a register and memory (16-bit types).
3323
+ (rule 5 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_load_16 y))
3324
+ (icmps_mem_sext16 (ty_ext32 ty) (put_in_reg_sext32 x) (sink_load y)))
3325
+
3326
+ ;; Compare (signed) a register and sign-extended memory.
3327
+ (rule 4 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_sload16 y))
3328
+ (icmps_mem_sext16 ty x (sink_sload16 y)))
3329
+ (rule 4 (icmps_val $true x @ (value_type (fits_in_64 ty)) (sinkable_sload32 y))
3330
+ (icmps_mem_sext32 ty x (sink_sload32 y)))
3331
+
3332
+
3333
+ ;; Return a `ProducesBool` to implement unsigned integer comparisons.
3334
+ (decl icmpu_val (bool Value Value) ProducesFlags)
3335
+
3336
+ ;; Compare (unsigned) two registers.
3337
+ (rule (icmpu_val _ x @ (value_type (fits_in_64 ty)) y)
3338
+ (icmpu_reg (ty_ext32 ty) (put_in_reg_zext32 x) (put_in_reg_zext32 y)))
3339
+
3340
+ ;; Compare (unsigned) a register and a sign-extended register.
3341
+ (rule 1 (icmpu_val _ x @ (value_type (fits_in_64 ty)) (zext32_value y))
3342
+ (icmpu_reg_zext32 ty x y))
3343
+
3344
+ ;; Compare (unsigned) a register and an immediate.
3345
+ (rule 2 (icmpu_val _ x @ (value_type (fits_in_64 ty)) (u32_from_value y))
3346
+ (icmpu_uimm32 (ty_ext32 ty) (put_in_reg_zext32 x) y))
3347
+
3348
+ ;; Compare (unsigned) a register and memory (32/64-bit types).
3349
+ (rule 4 (icmpu_val $true x @ (value_type (fits_in_64 ty)) (sinkable_load_32_64 y))
3350
+ (icmpu_mem ty x (sink_load y)))
3351
+
3352
+ ;; Compare (unsigned) a register and memory (16-bit types).
3353
+ ;; Note that the ISA only provides instructions with a PC-relative memory
3354
+ ;; address here, so we need to check whether the sinkable load matches this.
3355
+ (rule 3 (icmpu_val $true x @ (value_type (fits_in_64 ty))
3356
+ (sinkable_load_16 ld))
3357
+ (if-let y (load_sym ld))
3358
+ (icmpu_mem_zext16 (ty_ext32 ty) (put_in_reg_zext32 x) (sink_load y)))
3359
+
3360
+ ;; Compare (unsigned) a register and zero-extended memory.
3361
+ ;; Note that the ISA only provides instructions with a PC-relative memory
3362
+ ;; address here, so we need to check whether the sinkable load matches this.
3363
+ (rule 3 (icmpu_val $true x @ (value_type (fits_in_64 ty))
3364
+ (sinkable_uload16 ld))
3365
+ (if-let y (uload16_sym ld))
3366
+ (icmpu_mem_zext16 ty x (sink_uload16 y)))
3367
+ (rule 3 (icmpu_val $true x @ (value_type (fits_in_64 ty)) (sinkable_uload32 y))
3368
+ (icmpu_mem_zext32 ty x (sink_uload32 y)))
3369
+
3370
+
3371
+ ;; Compare 128-bit integers for equality.
3372
+ ;; Implemented via element-wise comparison using the all-element true CC flag.
3373
+ (rule (icmp_val _ (IntCC.Equal) x @ (value_type (vr128_ty _)) y)
3374
+ (bool (vec_cmpeqs $I64X2 x y)
3375
+ (floatcc_as_cond (FloatCC.Equal))))
3376
+ (rule (icmp_val _ (IntCC.NotEqual) x @ (value_type (vr128_ty _)) y)
3377
+ (bool (vec_cmpeqs $I64X2 x y)
3378
+ (floatcc_as_cond (FloatCC.NotEqual))))
3379
+
3380
+ ;; Compare (signed) 128-bit integers for relational inequality.
3381
+ ;; Implemented via synthetic instruction using VECG and VCHLGS.
3382
+ (rule (icmp_val _ (IntCC.SignedGreaterThan) x @ (value_type (vr128_ty ty)) y)
3383
+ (vec_int128_scmphi x y))
3384
+ (rule (icmp_val _ (IntCC.SignedLessThan) x @ (value_type (vr128_ty ty)) y)
3385
+ (vec_int128_scmphi y x))
3386
+ (rule (icmp_val _ (IntCC.SignedGreaterThanOrEqual) x @ (value_type (vr128_ty ty)) y)
3387
+ (invert_bool (vec_int128_scmphi y x)))
3388
+ (rule (icmp_val _ (IntCC.SignedLessThanOrEqual) x @ (value_type (vr128_ty ty)) y)
3389
+ (invert_bool (vec_int128_scmphi x y)))
3390
+
3391
+ ;; Compare (unsigned) 128-bit integers for relational inequality.
3392
+ ;; Implemented via synthetic instruction using VECLG and VCHLGS.
3393
+ (rule (icmp_val _ (IntCC.UnsignedGreaterThan) x @ (value_type (vr128_ty ty)) y)
3394
+ (vec_int128_ucmphi x y))
3395
+ (rule (icmp_val _ (IntCC.UnsignedLessThan) x @ (value_type (vr128_ty ty)) y)
3396
+ (vec_int128_ucmphi y x))
3397
+ (rule (icmp_val _ (IntCC.UnsignedGreaterThanOrEqual) x @ (value_type (vr128_ty ty)) y)
3398
+ (invert_bool (vec_int128_ucmphi y x)))
3399
+ (rule (icmp_val _ (IntCC.UnsignedLessThanOrEqual) x @ (value_type (vr128_ty ty)) y)
3400
+ (invert_bool (vec_int128_ucmphi x y)))
3401
+
3402
+
3403
+ ;; Vector `icmp` produces a boolean vector.
3404
+ ;; We need to handle the various IntCC flags separately here.
3405
+
3406
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.Equal) x y)))
3407
+ (vec_cmpeq ty x y))
3408
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.NotEqual) x y)))
3409
+ (vec_not ty (vec_cmpeq ty x y)))
3410
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedGreaterThan) x y)))
3411
+ (vec_cmph ty x y))
3412
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedLessThanOrEqual) x y)))
3413
+ (vec_not ty (vec_cmph ty x y)))
3414
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedLessThan) x y)))
3415
+ (vec_cmph ty y x))
3416
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.SignedGreaterThanOrEqual) x y)))
3417
+ (vec_not ty (vec_cmph ty y x)))
3418
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedGreaterThan) x y)))
3419
+ (vec_cmphl ty x y))
3420
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedLessThanOrEqual) x y)))
3421
+ (vec_not ty (vec_cmphl ty x y)))
3422
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedLessThan) x y)))
3423
+ (vec_cmphl ty y x))
3424
+ (rule (lower (has_type (ty_vec128 ty) (icmp (IntCC.UnsignedGreaterThanOrEqual) x y)))
3425
+ (vec_not ty (vec_cmphl ty y x)))
3426
+
3427
+
3428
+ ;;;; Rules for `fcmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3429
+
3430
+ ;; Main `fcmp` entry point. Generate a `ProducesBool` capturing the
3431
+ ;; integer comparison and immediately lower it to a 0/1 integer result.
3432
+ (rule -1 (lower (has_type (fits_in_64 ty) (fcmp float_cc x y)))
3433
+ (lower_bool ty (fcmp_val float_cc x y)))
3434
+
3435
+ ;; Return a `ProducesBool` to implement any floating-point comparison.
3436
+ (decl fcmp_val (FloatCC Value Value) ProducesBool)
3437
+ (rule (fcmp_val float_cc x @ (value_type ty) y)
3438
+ (bool (fcmp_reg ty x y)
3439
+ (floatcc_as_cond float_cc)))
3440
+
3441
+ ;; Vector `fcmp` produces a boolean vector.
3442
+ ;; We need to handle the various FloatCC flags separately here.
3443
+
3444
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.Equal) x y)))
3445
+ (vec_fcmpeq ty x y))
3446
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.NotEqual) x y)))
3447
+ (vec_not ty (vec_fcmpeq ty x y)))
3448
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.GreaterThan) x y)))
3449
+ (vec_fcmph ty x y))
3450
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrLessThanOrEqual) x y)))
3451
+ (vec_not ty (vec_fcmph ty x y)))
3452
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.GreaterThanOrEqual) x y)))
3453
+ (vec_fcmphe ty x y))
3454
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrLessThan) x y)))
3455
+ (vec_not ty (vec_fcmphe ty x y)))
3456
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.LessThan) x y)))
3457
+ (vec_fcmph ty y x))
3458
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) x y)))
3459
+ (vec_not ty (vec_fcmph ty y x)))
3460
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.LessThanOrEqual) x y)))
3461
+ (vec_fcmphe ty y x))
3462
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrGreaterThan) x y)))
3463
+ (vec_not ty (vec_fcmphe ty y x)))
3464
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.Ordered) x y)))
3465
+ (vec_or ty (vec_fcmphe ty x y) (vec_fcmphe ty y x)))
3466
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.Unordered) x y)))
3467
+ (vec_not_or ty (vec_fcmphe ty x y) (vec_fcmphe ty y x)))
3468
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.OrderedNotEqual) x y)))
3469
+ (vec_or ty (vec_fcmph ty x y) (vec_fcmph ty y x)))
3470
+ (rule (lower (has_type (ty_vec128 ty) (fcmp (FloatCC.UnorderedOrEqual) x y)))
3471
+ (vec_not_or ty (vec_fcmph ty x y) (vec_fcmph ty y x)))
3472
+
3473
+
3474
+ ;;;; Rules for `vall_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3475
+
3476
+ ;; Main `vall_true` entry point. Generate a `ProducesBool` capturing the
3477
+ ;; comparison and immediately lower it to a 0/1 integer result.
3478
+ (rule (lower (has_type (fits_in_64 ty) (vall_true x)))
3479
+ (lower_bool ty (vall_true_val x)))
3480
+
3481
+ ;; Return a `ProducesBool` to implement `vall_true`.
3482
+ (decl vall_true_val (Value) ProducesBool)
3483
+ (rule -1 (vall_true_val x @ (value_type ty))
3484
+ (bool (vec_cmpeqs ty x (vec_imm ty 0))
3485
+ (floatcc_as_cond (FloatCC.Unordered))))
3486
+
3487
+ ;; Short-circuit `vall_true` on the result of a `icmp`.
3488
+ (rule (vall_true_val (has_type ty (icmp (IntCC.Equal) x y)))
3489
+ (bool (vec_cmpeqs ty x y)
3490
+ (floatcc_as_cond (FloatCC.Equal))))
3491
+ (rule (vall_true_val (has_type ty (icmp (IntCC.NotEqual) x y)))
3492
+ (bool (vec_cmpeqs ty x y)
3493
+ (floatcc_as_cond (FloatCC.Unordered))))
3494
+ (rule (vall_true_val (has_type ty (icmp (IntCC.SignedGreaterThan) x y)))
3495
+ (bool (vec_cmphs ty x y)
3496
+ (floatcc_as_cond (FloatCC.Equal))))
3497
+ (rule (vall_true_val (has_type ty (icmp (IntCC.SignedLessThanOrEqual) x y)))
3498
+ (bool (vec_cmphs ty x y)
3499
+ (floatcc_as_cond (FloatCC.Unordered))))
3500
+ (rule (vall_true_val (has_type ty (icmp (IntCC.SignedLessThan) x y)))
3501
+ (bool (vec_cmphs ty y x)
3502
+ (floatcc_as_cond (FloatCC.Equal))))
3503
+ (rule (vall_true_val (has_type ty (icmp (IntCC.SignedGreaterThanOrEqual) x y)))
3504
+ (bool (vec_cmphs ty y x)
3505
+ (floatcc_as_cond (FloatCC.Unordered))))
3506
+ (rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThan) x y)))
3507
+ (bool (vec_cmphls ty x y)
3508
+ (floatcc_as_cond (FloatCC.Equal))))
3509
+ (rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedLessThanOrEqual) x y)))
3510
+ (bool (vec_cmphls ty x y)
3511
+ (floatcc_as_cond (FloatCC.Unordered))))
3512
+ (rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedLessThan) x y)))
3513
+ (bool (vec_cmphls ty y x)
3514
+ (floatcc_as_cond (FloatCC.Equal))))
3515
+ (rule (vall_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThanOrEqual) x y)))
3516
+ (bool (vec_cmphls ty y x)
3517
+ (floatcc_as_cond (FloatCC.Unordered))))
3518
+
3519
+ ;; Short-circuit `vall_true` on the result of a `fcmp` where possible.
3520
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.Equal) x y)))
3521
+ (bool (vec_fcmpeqs ty x y)
3522
+ (floatcc_as_cond (FloatCC.Equal))))
3523
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.NotEqual) x y)))
3524
+ (bool (vec_fcmpeqs ty x y)
3525
+ (floatcc_as_cond (FloatCC.Unordered))))
3526
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.GreaterThan) x y)))
3527
+ (bool (vec_fcmphs ty x y)
3528
+ (floatcc_as_cond (FloatCC.Equal))))
3529
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThanOrEqual) x y)))
3530
+ (bool (vec_fcmphs ty x y)
3531
+ (floatcc_as_cond (FloatCC.Unordered))))
3532
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.GreaterThanOrEqual) x y)))
3533
+ (bool (vec_fcmphes ty x y)
3534
+ (floatcc_as_cond (FloatCC.Equal))))
3535
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThan) x y)))
3536
+ (bool (vec_fcmphes ty x y)
3537
+ (floatcc_as_cond (FloatCC.Unordered))))
3538
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.LessThan) x y)))
3539
+ (bool (vec_fcmphs ty y x)
3540
+ (floatcc_as_cond (FloatCC.Equal))))
3541
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) x y)))
3542
+ (bool (vec_fcmphs ty y x)
3543
+ (floatcc_as_cond (FloatCC.Unordered))))
3544
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.LessThanOrEqual) x y)))
3545
+ (bool (vec_fcmphes ty y x)
3546
+ (floatcc_as_cond (FloatCC.Equal))))
3547
+ (rule (vall_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThan) x y)))
3548
+ (bool (vec_fcmphes ty y x)
3549
+ (floatcc_as_cond (FloatCC.Unordered))))
3550
+
3551
+
3552
+ ;;;; Rules for `vany_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3553
+
3554
+ ;; Main `vany_true` entry point. Generate a `ProducesBool` capturing the
3555
+ ;; comparison and immediately lower it to a 0/1 integer result.
3556
+ (rule (lower (has_type (fits_in_64 ty) (vany_true x)))
3557
+ (lower_bool ty (vany_true_val x)))
3558
+
3559
+ ;; Return a `ProducesBool` to implement `vany_true`.
3560
+ (decl vany_true_val (Value) ProducesBool)
3561
+ (rule -1 (vany_true_val x @ (value_type ty))
3562
+ (bool (vec_cmpeqs ty x (vec_imm ty 0))
3563
+ (floatcc_as_cond (FloatCC.NotEqual))))
3564
+
3565
+ ;; Short-circuit `vany_true` on the result of a `icmp`.
3566
+ (rule (vany_true_val (has_type ty (icmp (IntCC.Equal) x y)))
3567
+ (bool (vec_cmpeqs ty x y)
3568
+ (floatcc_as_cond (FloatCC.Ordered))))
3569
+ (rule (vany_true_val (has_type ty (icmp (IntCC.NotEqual) x y)))
3570
+ (bool (vec_cmpeqs ty x y)
3571
+ (floatcc_as_cond (FloatCC.NotEqual))))
3572
+ (rule (vany_true_val (has_type ty (icmp (IntCC.SignedGreaterThan) x y)))
3573
+ (bool (vec_cmphs ty x y)
3574
+ (floatcc_as_cond (FloatCC.Ordered))))
3575
+ (rule (vany_true_val (has_type ty (icmp (IntCC.SignedLessThanOrEqual) x y)))
3576
+ (bool (vec_cmphs ty x y)
3577
+ (floatcc_as_cond (FloatCC.NotEqual))))
3578
+ (rule (vany_true_val (has_type ty (icmp (IntCC.SignedLessThan) x y)))
3579
+ (bool (vec_cmphs ty y x)
3580
+ (floatcc_as_cond (FloatCC.Ordered))))
3581
+ (rule (vany_true_val (has_type ty (icmp (IntCC.SignedGreaterThanOrEqual) x y)))
3582
+ (bool (vec_cmphs ty y x)
3583
+ (floatcc_as_cond (FloatCC.NotEqual))))
3584
+ (rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThan) x y)))
3585
+ (bool (vec_cmphls ty x y)
3586
+ (floatcc_as_cond (FloatCC.Ordered))))
3587
+ (rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedLessThanOrEqual) x y)))
3588
+ (bool (vec_cmphls ty x y)
3589
+ (floatcc_as_cond (FloatCC.NotEqual))))
3590
+ (rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedLessThan) x y)))
3591
+ (bool (vec_cmphls ty y x)
3592
+ (floatcc_as_cond (FloatCC.Ordered))))
3593
+ (rule (vany_true_val (has_type ty (icmp (IntCC.UnsignedGreaterThanOrEqual) x y)))
3594
+ (bool (vec_cmphls ty y x)
3595
+ (floatcc_as_cond (FloatCC.NotEqual))))
3596
+
3597
+ ;; Short-circuit `vany_true` on the result of a `fcmp` where possible.
3598
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.Equal) x y)))
3599
+ (bool (vec_fcmpeqs ty x y)
3600
+ (floatcc_as_cond (FloatCC.Ordered))))
3601
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.NotEqual) x y)))
3602
+ (bool (vec_fcmpeqs ty x y)
3603
+ (floatcc_as_cond (FloatCC.NotEqual))))
3604
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.GreaterThan) x y)))
3605
+ (bool (vec_fcmphs ty x y)
3606
+ (floatcc_as_cond (FloatCC.Ordered))))
3607
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThanOrEqual) x y)))
3608
+ (bool (vec_fcmphs ty x y)
3609
+ (floatcc_as_cond (FloatCC.NotEqual))))
3610
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.GreaterThanOrEqual) x y)))
3611
+ (bool (vec_fcmphes ty x y)
3612
+ (floatcc_as_cond (FloatCC.Ordered))))
3613
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrLessThan) x y)))
3614
+ (bool (vec_fcmphes ty x y)
3615
+ (floatcc_as_cond (FloatCC.NotEqual))))
3616
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.LessThan) x y)))
3617
+ (bool (vec_fcmphs ty y x)
3618
+ (floatcc_as_cond (FloatCC.Ordered))))
3619
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) x y)))
3620
+ (bool (vec_fcmphs ty y x)
3621
+ (floatcc_as_cond (FloatCC.NotEqual))))
3622
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.LessThanOrEqual) x y)))
3623
+ (bool (vec_fcmphes ty y x)
3624
+ (floatcc_as_cond (FloatCC.Ordered))))
3625
+ (rule (vany_true_val (has_type ty (fcmp (FloatCC.UnorderedOrGreaterThan) x y)))
3626
+ (bool (vec_fcmphes ty y x)
3627
+ (floatcc_as_cond (FloatCC.NotEqual))))
3628
+
3629
+
3630
+ ;;;; Rules for `vhigh_bits` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3631
+
3632
+ (rule (lower (vhigh_bits x @ (value_type (multi_lane 8 16))))
3633
+ (if-let (LaneOrder.LittleEndian) (lane_order))
3634
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 0 8 16 24 32 40 48 56
3635
+ 64 72 80 88 96 104 112 120))))
3636
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3637
+ (rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 8 16))))
3638
+ (if-let (LaneOrder.BigEndian) (lane_order))
3639
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 120 112 104 96 88 80 72 64
3640
+ 56 48 40 32 24 16 8 0))))
3641
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3642
+
3643
+ (rule (lower (vhigh_bits x @ (value_type (multi_lane 16 8))))
3644
+ (if-let (LaneOrder.LittleEndian) (lane_order))
3645
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
3646
+ 0 16 32 48 64 80 96 112))))
3647
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3648
+ (rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 16 8))))
3649
+ (if-let (LaneOrder.BigEndian) (lane_order))
3650
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
3651
+ 112 96 80 64 48 32 16 0))))
3652
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3653
+
3654
+ (rule (lower (vhigh_bits x @ (value_type (multi_lane 32 4))))
3655
+ (if-let (LaneOrder.LittleEndian) (lane_order))
3656
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
3657
+ 128 128 128 128 0 32 64 96))))
3658
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3659
+ (rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 32 4))))
3660
+ (if-let (LaneOrder.BigEndian) (lane_order))
3661
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
3662
+ 128 128 128 128 96 64 32 0))))
3663
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3664
+
3665
+ (rule (lower (vhigh_bits x @ (value_type (multi_lane 64 2))))
3666
+ (if-let (LaneOrder.LittleEndian) (lane_order))
3667
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
3668
+ 128 128 128 128 128 128 0 64))))
3669
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3670
+ (rule 1 (lower (vhigh_bits x @ (value_type (multi_lane 64 2))))
3671
+ (if-let (LaneOrder.BigEndian) (lane_order))
3672
+ (let ((mask Reg (vec_imm $I8X16 (imm8x16 128 128 128 128 128 128 128 128
3673
+ 128 128 128 128 128 128 64 0))))
3674
+ (vec_extract_lane $I64X2 (vec_bitpermute x mask) 0 (zero_reg))))
3675
+
3676
+
3677
+ ;;;; Rules for `is_null` and `is_invalid` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3678
+
3679
+ ;; Null references are represented by the constant value 0.
3680
+ (rule (lower (has_type $I8 (is_null x @ (value_type $R64))))
3681
+ (lower_bool $I8 (bool (icmps_simm16 $I64 x 0)
3682
+ (intcc_as_cond (IntCC.Equal)))))
3683
+
3684
+
3685
+ ;; Invalid references are represented by the constant value -1.
3686
+ (rule (lower (has_type $I8 (is_invalid x @ (value_type $R64))))
3687
+ (lower_bool $I8 (bool (icmps_simm16 $I64 x -1)
3688
+ (intcc_as_cond (IntCC.Equal)))))
3689
+
3690
+
3691
+ ;;;; Rules for `select` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3692
+
3693
+ ;; Return a `ProducesBool` to capture the fact that the input value is nonzero.
3694
+ ;; In the common case where that input is the result of an `icmp` or `fcmp`
3695
+ ;; instruction, directly use that compare. Note that it is not safe to sink
3696
+ ;; memory loads here, see the `icmp` comment.
3697
+ (decl value_nonzero (Value) ProducesBool)
3698
+ (rule (value_nonzero (icmp int_cc x y)) (icmp_val $false int_cc x y))
3699
+ (rule (value_nonzero (fcmp float_cc x y)) (fcmp_val float_cc x y))
3700
+ (rule -1 (value_nonzero val @ (value_type (gpr32_ty ty)))
3701
+ (bool (icmps_simm16 $I32 (put_in_reg_sext32 val) 0)
3702
+ (intcc_as_cond (IntCC.NotEqual))))
3703
+ (rule -2 (value_nonzero val @ (value_type (gpr64_ty ty)))
3704
+ (bool (icmps_simm16 $I64 (put_in_reg val) 0)
3705
+ (intcc_as_cond (IntCC.NotEqual))))
3706
+ (rule -3 (value_nonzero val @ (value_type (vr128_ty ty)))
3707
+ (bool (vec_cmpeqs $I64X2 val (vec_imm $I64X2 0))
3708
+ (floatcc_as_cond (FloatCC.NotEqual))))
3709
+
3710
+ ;; Main `select` entry point. Lower the `value_nonzero` result.
3711
+ (rule (lower (has_type ty (select val_cond val_true val_false)))
3712
+ (select_bool_reg ty (value_nonzero val_cond)
3713
+ (put_in_reg val_true) (put_in_reg val_false)))
3714
+
3715
+ ;; Special-case some float-selection instructions for min/max
3716
+ (rule 1 (lower (has_type (ty_scalar_float ty) (select (maybe_uextend (fcmp (FloatCC.LessThan) x y)) x y)))
3717
+ (fmin_pseudo_reg ty y x))
3718
+ (rule 2 (lower (has_type (ty_scalar_float ty) (select (maybe_uextend (fcmp (FloatCC.LessThan) y x)) x y)))
3719
+ (fmax_pseudo_reg ty y x))
3720
+
3721
+
3722
+ ;;;; Rules for `select_spectre_guard` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3723
+
3724
+ ;; We need to guarantee a conditional move instruction. But on this platform
3725
+ ;; this is already the best way to implement select in general, so the
3726
+ ;; implementation of `select_spectre_guard` is identical to `select`.
3727
+ (rule (lower (has_type ty (select_spectre_guard
3728
+ val_cond val_true val_false)))
3729
+ (select_bool_reg ty (value_nonzero val_cond)
3730
+ (put_in_reg val_true) (put_in_reg val_false)))
3731
+
3732
+
3733
+ ;;;; Rules for `jump` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3734
+
3735
+ ;; Unconditional branch. The target is found as first (and only) element in
3736
+ ;; the list of the current block's branch targets passed as `targets`.
3737
+ (rule (lower_branch (jump _) targets)
3738
+ (emit_side_effect (jump_impl (vec_element targets 0))))
3739
+
3740
+
3741
+ ;;;; Rules for `br_table` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3742
+
3743
+ ;; Jump table. `targets` contains the default target followed by the
3744
+ ;; list of branch targets per index value.
3745
+ (rule (lower_branch (br_table val_idx _) targets)
3746
+ (let ((idx Reg (put_in_reg_zext64 val_idx))
3747
+ ;; Bounds-check the index and branch to default.
3748
+ ;; This is an internal branch that is not a terminator insn.
3749
+ ;; Instead, the default target is listed a potential target
3750
+ ;; in the final JTSequence, which is the block terminator.
3751
+ (cond ProducesBool
3752
+ (bool (icmpu_uimm32 $I64 idx (vec_length_minus1 targets))
3753
+ (intcc_as_cond (IntCC.UnsignedGreaterThanOrEqual))))
3754
+ (_ Unit (emit_side_effect (oneway_cond_br_bool cond
3755
+ (vec_element targets 0)))))
3756
+ ;; Scale the index by the element size, and then emit the
3757
+ ;; compound instruction that does:
3758
+ ;;
3759
+ ;; larl %r1, <jt-base>
3760
+ ;; agf %r1, 0(%r1, %rScaledIndex)
3761
+ ;; br %r1
3762
+ ;; [jt entries]
3763
+ ;;
3764
+ ;; This must be *one* instruction in the vcode because
3765
+ ;; we cannot allow regalloc to insert any spills/fills
3766
+ ;; in the middle of the sequence; otherwise, the LARL's
3767
+ ;; PC-rel offset to the jumptable would be incorrect.
3768
+ ;; (The alternative is to introduce a relocation pass
3769
+ ;; for inlined jumptables, which is much worse, IMHO.)
3770
+ (emit_side_effect (jt_sequence (lshl_imm $I64 idx 2) targets))))
3771
+
3772
+
3773
+ ;;;; Rules for `brif` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3774
+
3775
+ ;; Two-way conditional branch on nonzero. `targets` contains:
3776
+ ;; - element 0: target if the condition is true (i.e. value is nonzero)
3777
+ ;; - element 1: target if the condition is false (i.e. value is zero)
3778
+ (rule (lower_branch (brif val_cond _ _) targets)
3779
+ (emit_side_effect (cond_br_bool (value_nonzero val_cond)
3780
+ (vec_element targets 0)
3781
+ (vec_element targets 1))))
3782
+
3783
+
3784
+ ;;;; Rules for `trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3785
+
3786
+ (rule (lower (trap trap_code))
3787
+ (side_effect (trap_impl trap_code)))
3788
+
3789
+
3790
+ ;;;; Rules for `resumable_trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3791
+
3792
+ (rule (lower (resumable_trap trap_code))
3793
+ (side_effect (trap_impl trap_code)))
3794
+
3795
+
3796
+ ;;;; Rules for `trapz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3797
+
3798
+ (rule (lower (trapz val trap_code))
3799
+ (side_effect (trap_if_bool (invert_bool (value_nonzero val)) trap_code)))
3800
+
3801
+
3802
+ ;;;; Rules for `trapnz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3803
+
3804
+ (rule (lower (trapnz val trap_code))
3805
+ (side_effect (trap_if_bool (value_nonzero val) trap_code)))
3806
+
3807
+
3808
+ ;;;; Rules for `resumable_trapnz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3809
+
3810
+ (rule (lower (resumable_trapnz val trap_code))
3811
+ (side_effect (trap_if_bool (value_nonzero val) trap_code)))
3812
+
3813
+
3814
+ ;;;; Rules for `debugtrap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3815
+
3816
+ (rule (lower (debugtrap))
3817
+ (side_effect (debugtrap_impl)))
3818
+
3819
+ ;;;; Rules for `uadd_overflow_trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3820
+
3821
+ ;; UaddOverflowTrap is implemented via a ADD LOGICAL instruction, which sets the
3822
+ ;; the condition code as follows:
3823
+ ;; 0 Result zero; no carry
3824
+ ;; 1 Result not zero; no carry
3825
+ ;; 2 Result zero; carry
3826
+ ;; 3 Result not zero; carry
3827
+ ;; This means "carry" corresponds to condition code 2 or 3, i.e.
3828
+ ;; a condition mask of 2 | 1.
3829
+ ;;
3830
+ ;; As this does not match any of the encodings used with a normal integer
3831
+ ;; comparsion, this cannot be represented by any IntCC value. We need to
3832
+ ;; remap the IntCC::UnsignedGreaterThan value that we have here as result
3833
+ ;; of the unsigned_add_overflow_condition call to the correct mask.
3834
+
3835
+ (rule 0 (lower (has_type (fits_in_64 ty) (uadd_overflow_trap x y tc)))
3836
+ (with_flags
3837
+ (add_logical_reg_with_flags_paired ty x y)
3838
+ (trap_if_impl (mask_as_cond 3) tc)))
3839
+
3840
+ ;; Add a register an a zero-extended register.
3841
+ (rule 4 (lower (has_type (fits_in_64 ty)
3842
+ (uadd_overflow_trap x (zext32_value y) tc)))
3843
+ (with_flags
3844
+ (add_logical_reg_zext32_with_flags_paired ty x y)
3845
+ (trap_if_impl (mask_as_cond 3) tc)))
3846
+ (rule 8 (lower (has_type (fits_in_64 ty)
3847
+ (uadd_overflow_trap (zext32_value x) y tc)))
3848
+ (with_flags
3849
+ (add_logical_reg_zext32_with_flags_paired ty y x)
3850
+ (trap_if_impl (mask_as_cond 3) tc)))
3851
+
3852
+ ;; Add a register and an immediate
3853
+ (rule 3 (lower (has_type (fits_in_64 ty)
3854
+ (uadd_overflow_trap x (u32_from_value y) tc)))
3855
+ (with_flags
3856
+ (add_logical_zimm32_with_flags_paired ty x y)
3857
+ (trap_if_impl (mask_as_cond 3) tc)))
3858
+ (rule 7 (lower (has_type (fits_in_64 ty)
3859
+ (uadd_overflow_trap (u32_from_value x) y tc)))
3860
+ (with_flags
3861
+ (add_logical_zimm32_with_flags_paired ty y x)
3862
+ (trap_if_impl (mask_as_cond 3) tc)))
3863
+
3864
+ ;; Add a register and memory (32/64-bit types).
3865
+ (rule 2 (lower (has_type (fits_in_64 ty)
3866
+ (uadd_overflow_trap x (sinkable_load_32_64 y) tc)))
3867
+ (with_flags
3868
+ (add_logical_mem_with_flags_paired ty x (sink_load y))
3869
+ (trap_if_impl (mask_as_cond 3) tc)))
3870
+ (rule 6 (lower (has_type (fits_in_64 ty)
3871
+ (uadd_overflow_trap (sinkable_load_32_64 x) y tc)))
3872
+ (with_flags
3873
+ (add_logical_mem_with_flags_paired ty y (sink_load x))
3874
+ (trap_if_impl (mask_as_cond 3) tc)))
3875
+
3876
+ ;; Add a register and zero-extended memory.
3877
+ (rule 1 (lower (has_type (fits_in_64 ty)
3878
+ (uadd_overflow_trap x (sinkable_uload32 y) tc)))
3879
+ (with_flags
3880
+ (add_logical_mem_zext32_with_flags_paired ty x (sink_uload32 y))
3881
+ (trap_if_impl (mask_as_cond 3) tc)))
3882
+ (rule 5 (lower (has_type (fits_in_64 ty)
3883
+ (uadd_overflow_trap (sinkable_uload32 x) y tc)))
3884
+ (with_flags
3885
+ (add_logical_mem_zext32_with_flags_paired ty y (sink_uload32 x))
3886
+ (trap_if_impl (mask_as_cond 3) tc)))
3887
+
3888
+ ;;;; Rules for `return` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3889
+
3890
+ (rule (lower (return args))
3891
+ (lower_return args))
3892
+
3893
+
3894
+ ;;;; Rules for `call` and `call_indirect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3895
+
3896
+ ;; Direct call to an in-range function.
3897
+ (rule 1 (lower (call (func_ref_data sig_ref name (reloc_distance_near)) args))
3898
+ (let ((abi Sig (abi_sig sig_ref))
3899
+ (_ Unit (abi_accumulate_outgoing_args_size abi))
3900
+ (uses CallArgList (lower_call_args abi (range 0 (abi_num_args abi)) args))
3901
+ (defs CallRetList (defs_init abi))
3902
+ (_ InstOutput (side_effect (abi_call abi name uses defs (Opcode.Call)))))
3903
+ (lower_call_rets abi defs (range (abi_first_ret sig_ref abi)
3904
+ (abi_num_rets abi)) (output_builder_new))))
3905
+
3906
+ ;; Direct call to an out-of-range function (implicitly via pointer).
3907
+ (rule (lower (call (func_ref_data sig_ref name _) args))
3908
+ (let ((abi Sig (abi_sig sig_ref))
3909
+ (_ Unit (abi_accumulate_outgoing_args_size abi))
3910
+ (uses CallArgList (lower_call_args abi (range 0 (abi_num_args abi)) args))
3911
+ (defs CallRetList (defs_init abi))
3912
+ (target Reg (load_symbol_reloc (SymbolReloc.Absolute name 0)))
3913
+ (_ InstOutput (side_effect (abi_call_ind abi target uses defs (Opcode.Call)))))
3914
+ (lower_call_rets abi defs (range (abi_first_ret sig_ref abi)
3915
+ (abi_num_rets abi)) (output_builder_new))))
3916
+
3917
+ ;; Indirect call.
3918
+ (rule (lower (call_indirect sig_ref ptr args))
3919
+ (let ((abi Sig (abi_sig sig_ref))
3920
+ (target Reg (put_in_reg ptr))
3921
+ (_ Unit (abi_accumulate_outgoing_args_size abi))
3922
+ (uses CallArgList (lower_call_args abi (range 0 (abi_num_args abi)) args))
3923
+ (defs CallRetList (defs_init abi))
3924
+ (_ InstOutput (side_effect (abi_call_ind abi target uses defs (Opcode.CallIndirect)))))
3925
+ (lower_call_rets abi defs (range (abi_first_ret sig_ref abi)
3926
+ (abi_num_rets abi)) (output_builder_new))))
3927
+
3928
+ ;; Lower function arguments.
3929
+ (decl lower_call_args (Sig Range ValueSlice) CallArgList)
3930
+ (rule (lower_call_args abi range args)
3931
+ (let ((uses CallArgListBuilder (args_builder_new))
3932
+ (_ InstOutput (lower_call_args_buffer abi range args))
3933
+ (_ InstOutput (lower_call_args_slots abi uses range args))
3934
+ (_ InstOutput (lower_call_ret_arg abi uses)))
3935
+ (args_builder_finish uses)))
3936
+
3937
+ ;; Lower function arguments (part 1): prepare buffer copies.
3938
+ (decl lower_call_args_buffer (Sig Range ValueSlice) InstOutput)
3939
+ (rule (lower_call_args_buffer abi (range_empty) _) (output_none))
3940
+ (rule (lower_call_args_buffer abi (range_unwrap head tail) args)
3941
+ (let ((_ InstOutput (copy_to_buffer 0 (abi_get_arg abi head)
3942
+ (value_slice_get args head))))
3943
+ (lower_call_args_buffer abi tail args)))
3944
+
3945
+ ;; Lower function arguments (part 2): set up registers / stack slots.
3946
+ (decl lower_call_args_slots (Sig CallArgListBuilder Range ValueSlice) InstOutput)
3947
+ (rule (lower_call_args_slots abi _ (range_empty) _) (output_none))
3948
+ (rule (lower_call_args_slots abi uses (range_unwrap head tail) args)
3949
+ (let ((_ InstOutput (copy_to_arg uses (abi_lane_order abi)
3950
+ 0 (abi_get_arg abi head)
3951
+ (value_slice_get args head))))
3952
+ (lower_call_args_slots abi uses tail args)))
3953
+
3954
+ ;; Lower function arguments (part 3): implicit return-area pointer.
3955
+ (decl lower_call_ret_arg (Sig CallArgListBuilder) InstOutput)
3956
+ (rule (lower_call_ret_arg (abi_no_ret_arg) _) (output_none))
3957
+ (rule 1 (lower_call_ret_arg abi @ (abi_ret_arg (abi_arg_only_slot slot)) uses)
3958
+ (let ((mem MemArg (memarg_stack_off (abi_sized_stack_arg_space abi) 0)))
3959
+ (copy_reg_to_arg_slot uses (abi_lane_order abi) 0 slot (load_addr mem))))
3960
+
3961
+ ;; Lower function return values by collecting them from registers / stack slots.
3962
+ (decl lower_call_rets (Sig CallRetList Range InstOutputBuilder) InstOutput)
3963
+ (rule (lower_call_rets abi _ (range_empty) builder) (output_builder_finish builder))
3964
+ (rule (lower_call_rets abi defs (range_unwrap head tail) builder)
3965
+ (let ((ret ValueRegs (copy_from_arg defs (abi_lane_order abi)
3966
+ (abi_sized_stack_arg_space abi)
3967
+ (abi_get_ret abi head)))
3968
+ (_ Unit (output_builder_push builder ret)))
3969
+ (lower_call_rets abi defs tail builder)))
3970
+
3971
+ ;;;; Rules for `get_{frame,stack}_pointer` and `get_return_address` ;;;;;;;;;;;;
3972
+
3973
+ (rule (lower (get_stack_pointer))
3974
+ (sp))
3975
+
3976
+ (rule (lower (get_frame_pointer))
3977
+ (load64 (memarg_stack_off 0 0)))
3978
+
3979
+ (rule (lower (get_return_address))
3980
+ ;; The return address is 14 pointer-sized slots above the initial SP. So
3981
+ ;; our offset is `14 * 8 = 112`.
3982
+ (load64 (memarg_initial_sp_offset 112)))