wasmtime 22.0.0 → 23.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2164) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +127 -90
  3. data/ext/Cargo.toml +5 -5
  4. data/ext/cargo-vendor/cranelift-bforest-0.110.2/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cranelift-bforest-0.110.2/Cargo.toml +50 -0
  6. data/ext/cargo-vendor/cranelift-bitset-0.110.2/.cargo-checksum.json +1 -0
  7. data/ext/cargo-vendor/cranelift-bitset-0.110.2/Cargo.toml +60 -0
  8. data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/compound.rs +508 -0
  9. data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/lib.rs +19 -0
  10. data/ext/cargo-vendor/cranelift-bitset-0.110.2/src/scalar.rs +575 -0
  11. data/ext/cargo-vendor/cranelift-bitset-0.110.2/tests/bitset.rs +78 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.110.2/.cargo-checksum.json +1 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.110.2/Cargo.toml +206 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/binemit/stack_map.rs +141 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/context.rs +390 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/data_value.rs +410 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/dfg.rs +1806 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/globalvalue.rs +147 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/immediates.rs +2109 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/instructions.rs +1015 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/jumptable.rs +168 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/mod.rs +110 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/trapcode.rs +148 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/types.rs +643 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/ir/user_stack_maps.rs +101 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/emit.rs +3605 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/emit_tests.rs +7927 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst/mod.rs +3058 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/inst.isle +4221 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/lower.isle +2969 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/aarch64/mod.rs +259 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/mod.rs +462 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/emit.rs +2741 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/emit_tests.rs +2219 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst/mod.rs +1935 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/inst.isle +3153 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/lower/isle.rs +654 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/lower.isle +2953 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/riscv64/mod.rs +265 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/inst/emit.rs +3421 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/inst/mod.rs +3395 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/lower.isle +3983 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/s390x/mod.rs +220 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/emit.rs +4297 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/emit_state.rs +65 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst/mod.rs +2818 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/inst.isle +5299 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/lower.isle +4819 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isa/x64/mod.rs +239 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/isle_prelude.rs +965 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/legalizer/mod.rs +343 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/lib.rs +106 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/abi.rs +2427 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/buffer.rs +2544 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/helpers.rs +23 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/isle.rs +908 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/lower.rs +1462 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/mod.rs +564 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/machinst/vcode.rs +1840 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/prelude.isle +654 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/prelude_lower.isle +1070 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.110.2/src/write.rs +660 -0
  63. data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/.cargo-checksum.json +1 -0
  64. data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/Cargo.toml +45 -0
  65. data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/cdsl/types.rs +512 -0
  66. data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/cdsl/typevar.rs +980 -0
  67. data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/gen_inst.rs +1278 -0
  68. data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/shared/instructions.rs +3760 -0
  69. data/ext/cargo-vendor/cranelift-codegen-meta-0.110.2/src/shared/types.rs +143 -0
  70. data/ext/cargo-vendor/cranelift-codegen-shared-0.110.2/.cargo-checksum.json +1 -0
  71. data/ext/cargo-vendor/cranelift-codegen-shared-0.110.2/Cargo.toml +31 -0
  72. data/ext/cargo-vendor/cranelift-control-0.110.2/.cargo-checksum.json +1 -0
  73. data/ext/cargo-vendor/cranelift-control-0.110.2/Cargo.toml +39 -0
  74. data/ext/cargo-vendor/cranelift-entity-0.110.2/.cargo-checksum.json +1 -0
  75. data/ext/cargo-vendor/cranelift-entity-0.110.2/Cargo.toml +66 -0
  76. data/ext/cargo-vendor/cranelift-entity-0.110.2/src/set.rs +193 -0
  77. data/ext/cargo-vendor/cranelift-frontend-0.110.2/.cargo-checksum.json +1 -0
  78. data/ext/cargo-vendor/cranelift-frontend-0.110.2/Cargo.toml +87 -0
  79. data/ext/cargo-vendor/cranelift-frontend-0.110.2/src/frontend.rs +2867 -0
  80. data/ext/cargo-vendor/cranelift-isle-0.110.2/.cargo-checksum.json +1 -0
  81. data/ext/cargo-vendor/cranelift-isle-0.110.2/Cargo.toml +60 -0
  82. data/ext/cargo-vendor/cranelift-isle-0.110.2/src/codegen.rs +920 -0
  83. data/ext/cargo-vendor/cranelift-isle-0.110.2/src/parser.rs +562 -0
  84. data/ext/cargo-vendor/cranelift-isle-0.110.2/src/sema.rs +2503 -0
  85. data/ext/cargo-vendor/cranelift-isle-0.110.2/src/trie_again.rs +695 -0
  86. data/ext/cargo-vendor/cranelift-native-0.110.2/.cargo-checksum.json +1 -0
  87. data/ext/cargo-vendor/cranelift-native-0.110.2/Cargo.toml +52 -0
  88. data/ext/cargo-vendor/cranelift-native-0.110.2/src/lib.rs +188 -0
  89. data/ext/cargo-vendor/cranelift-wasm-0.110.2/.cargo-checksum.json +1 -0
  90. data/ext/cargo-vendor/cranelift-wasm-0.110.2/Cargo.toml +119 -0
  91. data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/code_translator/bounds_checks.rs +731 -0
  92. data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/code_translator.rs +3694 -0
  93. data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/heap.rs +119 -0
  94. data/ext/cargo-vendor/cranelift-wasm-0.110.2/src/sections_translator.rs +333 -0
  95. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.23/.cargo-checksum.json +1 -0
  96. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.23/Cargo.toml +69 -0
  97. data/ext/cargo-vendor/termcolor-1.4.1/.cargo-checksum.json +1 -0
  98. data/ext/cargo-vendor/termcolor-1.4.1/COPYING +3 -0
  99. data/ext/cargo-vendor/termcolor-1.4.1/Cargo.toml +40 -0
  100. data/ext/cargo-vendor/termcolor-1.4.1/LICENSE-MIT +21 -0
  101. data/ext/cargo-vendor/termcolor-1.4.1/README.md +110 -0
  102. data/ext/cargo-vendor/termcolor-1.4.1/UNLICENSE +24 -0
  103. data/ext/cargo-vendor/termcolor-1.4.1/rustfmt.toml +2 -0
  104. data/ext/cargo-vendor/termcolor-1.4.1/src/lib.rs +2572 -0
  105. data/ext/cargo-vendor/wasi-common-23.0.2/.cargo-checksum.json +1 -0
  106. data/ext/cargo-vendor/wasi-common-23.0.2/Cargo.toml +234 -0
  107. data/ext/cargo-vendor/wasi-common-23.0.2/src/tokio/mod.rs +135 -0
  108. data/ext/cargo-vendor/wasi-common-23.0.2/tests/all/async_.rs +295 -0
  109. data/ext/cargo-vendor/wasi-common-23.0.2/tests/all/sync.rs +284 -0
  110. data/ext/cargo-vendor/wasm-encoder-0.212.0/.cargo-checksum.json +1 -0
  111. data/ext/cargo-vendor/wasm-encoder-0.212.0/Cargo.toml +49 -0
  112. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/component/types.rs +771 -0
  113. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/code.rs +3571 -0
  114. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/exports.rs +85 -0
  115. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/globals.rs +100 -0
  116. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/imports.rs +143 -0
  117. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/memories.rs +115 -0
  118. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/tables.rs +121 -0
  119. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/tags.rs +85 -0
  120. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/core/types.rs +663 -0
  121. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/lib.rs +218 -0
  122. data/ext/cargo-vendor/wasm-encoder-0.212.0/src/reencode.rs +1804 -0
  123. data/ext/cargo-vendor/wasm-encoder-0.215.0/.cargo-checksum.json +1 -0
  124. data/ext/cargo-vendor/wasm-encoder-0.215.0/Cargo.toml +65 -0
  125. data/ext/cargo-vendor/wasm-encoder-0.215.0/README.md +80 -0
  126. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/aliases.rs +160 -0
  127. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/builder.rs +455 -0
  128. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/canonicals.rs +159 -0
  129. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/components.rs +29 -0
  130. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/exports.rs +124 -0
  131. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/imports.rs +175 -0
  132. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/instances.rs +200 -0
  133. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/modules.rs +29 -0
  134. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/names.rs +149 -0
  135. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/start.rs +52 -0
  136. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component/types.rs +802 -0
  137. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/component.rs +168 -0
  138. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/code.rs +3947 -0
  139. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/custom.rs +73 -0
  140. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/data.rs +186 -0
  141. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/dump.rs +627 -0
  142. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/elements.rs +222 -0
  143. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/exports.rs +85 -0
  144. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/functions.rs +63 -0
  145. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/globals.rs +100 -0
  146. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/imports.rs +143 -0
  147. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/linking.rs +263 -0
  148. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/memories.rs +115 -0
  149. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/names.rs +298 -0
  150. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/producers.rs +181 -0
  151. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/start.rs +39 -0
  152. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/tables.rs +129 -0
  153. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/tags.rs +85 -0
  154. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core/types.rs +678 -0
  155. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/core.rs +168 -0
  156. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/lib.rs +218 -0
  157. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/raw.rs +30 -0
  158. data/ext/cargo-vendor/wasm-encoder-0.215.0/src/reencode.rs +2002 -0
  159. data/ext/cargo-vendor/wasmparser-0.212.0/.cargo-checksum.json +1 -0
  160. data/ext/cargo-vendor/wasmparser-0.212.0/Cargo.lock +669 -0
  161. data/ext/cargo-vendor/wasmparser-0.212.0/Cargo.toml +112 -0
  162. data/ext/cargo-vendor/wasmparser-0.212.0/src/binary_reader.rs +1968 -0
  163. data/ext/cargo-vendor/wasmparser-0.212.0/src/features.rs +166 -0
  164. data/ext/cargo-vendor/wasmparser-0.212.0/src/lib.rs +814 -0
  165. data/ext/cargo-vendor/wasmparser-0.212.0/src/parser.rs +1682 -0
  166. data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/operators.rs +453 -0
  167. data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/tables.rs +93 -0
  168. data/ext/cargo-vendor/wasmparser-0.212.0/src/readers/core/types.rs +1941 -0
  169. data/ext/cargo-vendor/wasmparser-0.212.0/src/resources.rs +234 -0
  170. data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/component.rs +3252 -0
  171. data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/core.rs +1454 -0
  172. data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/operators.rs +4230 -0
  173. data/ext/cargo-vendor/wasmparser-0.212.0/src/validator/types.rs +4598 -0
  174. data/ext/cargo-vendor/wasmparser-0.212.0/src/validator.rs +1632 -0
  175. data/ext/cargo-vendor/wasmprinter-0.212.0/.cargo-checksum.json +1 -0
  176. data/ext/cargo-vendor/wasmprinter-0.212.0/Cargo.toml +54 -0
  177. data/ext/cargo-vendor/wasmprinter-0.212.0/src/lib.rs +3221 -0
  178. data/ext/cargo-vendor/wasmprinter-0.212.0/src/operator.rs +1189 -0
  179. data/ext/cargo-vendor/wasmprinter-0.212.0/src/print.rs +190 -0
  180. data/ext/cargo-vendor/wasmprinter-0.212.0/tests/all.rs +48 -0
  181. data/ext/cargo-vendor/wasmtime-23.0.2/.cargo-checksum.json +1 -0
  182. data/ext/cargo-vendor/wasmtime-23.0.2/Cargo.toml +399 -0
  183. data/ext/cargo-vendor/wasmtime-23.0.2/build.rs +38 -0
  184. data/ext/cargo-vendor/wasmtime-23.0.2/src/compile/code_builder.rs +274 -0
  185. data/ext/cargo-vendor/wasmtime-23.0.2/src/compile/runtime.rs +167 -0
  186. data/ext/cargo-vendor/wasmtime-23.0.2/src/compile.rs +881 -0
  187. data/ext/cargo-vendor/wasmtime-23.0.2/src/config.rs +2902 -0
  188. data/ext/cargo-vendor/wasmtime-23.0.2/src/engine/serialization.rs +893 -0
  189. data/ext/cargo-vendor/wasmtime-23.0.2/src/engine.rs +719 -0
  190. data/ext/cargo-vendor/wasmtime-23.0.2/src/lib.rs +406 -0
  191. data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/jitdump.rs +65 -0
  192. data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/perfmap.rs +47 -0
  193. data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent/vtune.rs +80 -0
  194. data/ext/cargo-vendor/wasmtime-23.0.2/src/profiling_agent.rs +104 -0
  195. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/code_memory.rs +337 -0
  196. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/bindgen_examples/mod.rs +488 -0
  197. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/component.rs +811 -0
  198. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/host.rs +439 -0
  199. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/options.rs +552 -0
  200. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func/typed.rs +2497 -0
  201. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/func.rs +688 -0
  202. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/instance.rs +846 -0
  203. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/linker.rs +673 -0
  204. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/matching.rs +216 -0
  205. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/mod.rs +663 -0
  206. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/resources.rs +1132 -0
  207. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/component/values.rs +979 -0
  208. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/coredump.rs +339 -0
  209. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/debug.rs +165 -0
  210. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/externals/global.rs +310 -0
  211. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/externals/table.rs +480 -0
  212. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/func/typed.rs +788 -0
  213. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/func.rs +2593 -0
  214. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/disabled/rooting.rs +224 -0
  215. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/enabled/externref.rs +591 -0
  216. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/gc/enabled/rooting.rs +1590 -0
  217. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/instance.rs +989 -0
  218. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/instantiate.rs +332 -0
  219. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/limits.rs +398 -0
  220. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/linker.rs +1498 -0
  221. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/memory.rs +1101 -0
  222. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/module/registry.rs +353 -0
  223. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/module.rs +1179 -0
  224. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/profiling.rs +280 -0
  225. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/stack.rs +72 -0
  226. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/store/data.rs +301 -0
  227. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/store.rs +2873 -0
  228. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/func.rs +93 -0
  229. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/memory.rs +295 -0
  230. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline/table.rs +28 -0
  231. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trampoline.rs +75 -0
  232. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/trap.rs +642 -0
  233. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/types/matching.rs +428 -0
  234. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/types.rs +2771 -0
  235. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/values.rs +966 -0
  236. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/arch/riscv64.rs +41 -0
  237. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component/libcalls.rs +571 -0
  238. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component/resources.rs +351 -0
  239. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/component.rs +857 -0
  240. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/const_expr.rs +102 -0
  241. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/cow.rs +988 -0
  242. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/disabled.rs +23 -0
  243. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/enabled/drc.rs +964 -0
  244. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/enabled/free_list.rs +770 -0
  245. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/gc_ref.rs +490 -0
  246. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc/gc_runtime.rs +505 -0
  247. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/gc.rs +244 -0
  248. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/on_demand.rs +219 -0
  249. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +199 -0
  250. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +93 -0
  251. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +78 -0
  252. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +703 -0
  253. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +990 -0
  254. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/table_pool.rs +245 -0
  255. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +279 -0
  256. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator/pooling.rs +793 -0
  257. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance/allocator.rs +808 -0
  258. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/instance.rs +1518 -0
  259. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/libcalls.rs +832 -0
  260. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/memory.rs +815 -0
  261. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mmap.rs +217 -0
  262. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mmap_vec.rs +159 -0
  263. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/module_id.rs +19 -0
  264. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/disabled.rs +43 -0
  265. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/enabled.rs +213 -0
  266. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/mod.rs +59 -0
  267. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/mpk/sys.rs +113 -0
  268. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/mmap.rs +112 -0
  269. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/mod.rs +34 -0
  270. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/unwind.rs +17 -0
  271. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/custom/vm.rs +105 -0
  272. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/miri/mmap.rs +98 -0
  273. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/miri/unwind.rs +17 -0
  274. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/mmap.rs +159 -0
  275. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/signals.rs +407 -0
  276. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/unix/unwind.rs +149 -0
  277. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/windows/mmap.rs +220 -0
  278. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/sys/windows/unwind.rs +46 -0
  279. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/table.rs +898 -0
  280. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/threads/shared_memory.rs +235 -0
  281. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/threads/shared_memory_disabled.rs +104 -0
  282. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/traphandlers.rs +767 -0
  283. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/vmcontext/vm_host_func_context.rs +79 -0
  284. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm/vmcontext.rs +1246 -0
  285. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime/vm.rs +403 -0
  286. data/ext/cargo-vendor/wasmtime-23.0.2/src/runtime.rs +113 -0
  287. data/ext/cargo-vendor/wasmtime-asm-macros-23.0.2/.cargo-checksum.json +1 -0
  288. data/ext/cargo-vendor/wasmtime-asm-macros-23.0.2/Cargo.toml +32 -0
  289. data/ext/cargo-vendor/wasmtime-cache-23.0.2/.cargo-checksum.json +1 -0
  290. data/ext/cargo-vendor/wasmtime-cache-23.0.2/Cargo.toml +103 -0
  291. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/.cargo-checksum.json +1 -0
  292. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/Cargo.toml +106 -0
  293. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/src/bindgen.rs +500 -0
  294. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/codegen.rs +698 -0
  295. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/char.rs +268 -0
  296. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/char_async.rs +291 -0
  297. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/conventions.rs +706 -0
  298. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/conventions_async.rs +757 -0
  299. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/dead-code.rs +194 -0
  300. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/dead-code_async.rs +213 -0
  301. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/direct-import.rs +120 -0
  302. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/direct-import_async.rs +132 -0
  303. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/empty.rs +74 -0
  304. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/empty_async.rs +80 -0
  305. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/flags.rs +743 -0
  306. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/flags_async.rs +791 -0
  307. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/floats.rs +343 -0
  308. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/floats_async.rs +376 -0
  309. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/function-new.rs +94 -0
  310. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/function-new_async.rs +103 -0
  311. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/integers.rs +873 -0
  312. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/integers_async.rs +976 -0
  313. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/lists.rs +1924 -0
  314. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/lists_async.rs +2114 -0
  315. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/many-arguments.rs +614 -0
  316. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/many-arguments_async.rs +638 -0
  317. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multi-return.rs +357 -0
  318. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multi-return_async.rs +391 -0
  319. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multiversion.rs +354 -0
  320. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/multiversion_async.rs +379 -0
  321. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/records.rs +940 -0
  322. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/records_async.rs +1008 -0
  323. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/rename.rs +183 -0
  324. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/rename_async.rs +202 -0
  325. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-export.rs +657 -0
  326. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-export_async.rs +712 -0
  327. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-import.rs +1088 -0
  328. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/resources-import_async.rs +1166 -0
  329. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/share-types.rs +315 -0
  330. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/share-types_async.rs +337 -0
  331. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-functions.rs +399 -0
  332. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-functions_async.rs +439 -0
  333. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-lists.rs +427 -0
  334. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-lists_async.rs +464 -0
  335. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-wasi.rs +245 -0
  336. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/simple-wasi_async.rs +264 -0
  337. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/small-anonymous.rs +338 -0
  338. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/small-anonymous_async.rs +356 -0
  339. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-default.rs +94 -0
  340. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-default_async.rs +103 -0
  341. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-export.rs +149 -0
  342. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke-export_async.rs +158 -0
  343. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke.rs +133 -0
  344. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/smoke_async.rs +146 -0
  345. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/strings.rs +316 -0
  346. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/strings_async.rs +344 -0
  347. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/unversioned-foo.rs +165 -0
  348. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/unversioned-foo_async.rs +178 -0
  349. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/use-paths.rs +317 -0
  350. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/use-paths_async.rs +349 -0
  351. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/variants.rs +1896 -0
  352. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/variants_async.rs +2019 -0
  353. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/wat.rs +145 -0
  354. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/wat_async.rs +151 -0
  355. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/worlds-with-types.rs +175 -0
  356. data/ext/cargo-vendor/wasmtime-component-macro-23.0.2/tests/expanded/worlds-with-types_async.rs +191 -0
  357. data/ext/cargo-vendor/wasmtime-component-util-23.0.2/.cargo-checksum.json +1 -0
  358. data/ext/cargo-vendor/wasmtime-component-util-23.0.2/Cargo.toml +35 -0
  359. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/.cargo-checksum.json +1 -0
  360. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/Cargo.toml +125 -0
  361. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/compiler.rs +1029 -0
  362. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/gc.rs +257 -0
  363. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/address_transform.rs +841 -0
  364. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/attr.rs +328 -0
  365. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/expression.rs +1264 -0
  366. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/line_program.rs +287 -0
  367. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/mod.rs +273 -0
  368. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/range_info_builder.rs +234 -0
  369. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/simulate.rs +423 -0
  370. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/unit.rs +520 -0
  371. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/transform/utils.rs +165 -0
  372. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug/write_debuginfo.rs +176 -0
  373. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/debug.rs +178 -0
  374. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/func_environ.rs +2721 -0
  375. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/gc/enabled.rs +648 -0
  376. data/ext/cargo-vendor/wasmtime-cranelift-23.0.2/src/lib.rs +458 -0
  377. data/ext/cargo-vendor/wasmtime-environ-23.0.2/.cargo-checksum.json +1 -0
  378. data/ext/cargo-vendor/wasmtime-environ-23.0.2/Cargo.lock +792 -0
  379. data/ext/cargo-vendor/wasmtime-environ-23.0.2/Cargo.toml +185 -0
  380. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/compile/mod.rs +379 -0
  381. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/compile/module_environ.rs +1264 -0
  382. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/dfg.rs +718 -0
  383. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/info.rs +683 -0
  384. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/names.rs +275 -0
  385. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/translate/inline.rs +1333 -0
  386. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/translate.rs +993 -0
  387. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/types.rs +1041 -0
  388. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component/types_builder.rs +976 -0
  389. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/component.rs +109 -0
  390. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/lib.rs +64 -0
  391. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/module.rs +702 -0
  392. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/stack_map.rs +31 -0
  393. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/tunables.rs +165 -0
  394. data/ext/cargo-vendor/wasmtime-environ-23.0.2/src/vmoffsets.rs +897 -0
  395. data/ext/cargo-vendor/wasmtime-fiber-23.0.2/.cargo-checksum.json +1 -0
  396. data/ext/cargo-vendor/wasmtime-fiber-23.0.2/Cargo.toml +75 -0
  397. data/ext/cargo-vendor/wasmtime-jit-debug-23.0.2/.cargo-checksum.json +1 -0
  398. data/ext/cargo-vendor/wasmtime-jit-debug-23.0.2/Cargo.toml +77 -0
  399. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-23.0.2/.cargo-checksum.json +1 -0
  400. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-23.0.2/Cargo.toml +62 -0
  401. data/ext/cargo-vendor/wasmtime-slab-23.0.2/.cargo-checksum.json +1 -0
  402. data/ext/cargo-vendor/wasmtime-slab-23.0.2/Cargo.toml +31 -0
  403. data/ext/cargo-vendor/wasmtime-types-23.0.2/.cargo-checksum.json +1 -0
  404. data/ext/cargo-vendor/wasmtime-types-23.0.2/Cargo.toml +71 -0
  405. data/ext/cargo-vendor/wasmtime-types-23.0.2/src/lib.rs +1760 -0
  406. data/ext/cargo-vendor/wasmtime-types-23.0.2/src/prelude.rs +86 -0
  407. data/ext/cargo-vendor/wasmtime-versioned-export-macros-23.0.2/.cargo-checksum.json +1 -0
  408. data/ext/cargo-vendor/wasmtime-versioned-export-macros-23.0.2/Cargo.toml +40 -0
  409. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/.cargo-checksum.json +1 -0
  410. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/Cargo.toml +215 -0
  411. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/bindings.rs +561 -0
  412. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/filesystem.rs +448 -0
  413. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/host/filesystem.rs +1091 -0
  414. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/host/io.rs +391 -0
  415. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/lib.rs +419 -0
  416. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/preview1.rs +2801 -0
  417. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/src/stdio.rs +596 -0
  418. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/api.rs +197 -0
  419. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/async_.rs +397 -0
  420. data/ext/cargo-vendor/wasmtime-wasi-23.0.2/tests/all/sync.rs +331 -0
  421. data/ext/cargo-vendor/wasmtime-winch-23.0.2/.cargo-checksum.json +1 -0
  422. data/ext/cargo-vendor/wasmtime-winch-23.0.2/Cargo.toml +92 -0
  423. data/ext/cargo-vendor/wasmtime-winch-23.0.2/src/compiler.rs +242 -0
  424. data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/.cargo-checksum.json +1 -0
  425. data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/Cargo.toml +57 -0
  426. data/ext/cargo-vendor/wasmtime-wit-bindgen-23.0.2/src/lib.rs +2777 -0
  427. data/ext/cargo-vendor/wast-215.0.0/.cargo-checksum.json +1 -0
  428. data/ext/cargo-vendor/wast-215.0.0/Cargo.toml +101 -0
  429. data/ext/cargo-vendor/wast-215.0.0/src/component/binary.rs +1014 -0
  430. data/ext/cargo-vendor/wast-215.0.0/src/component/component.rs +320 -0
  431. data/ext/cargo-vendor/wast-215.0.0/src/component/expand.rs +875 -0
  432. data/ext/cargo-vendor/wast-215.0.0/src/component/resolve.rs +988 -0
  433. data/ext/cargo-vendor/wast-215.0.0/src/component.rs +28 -0
  434. data/ext/cargo-vendor/wast-215.0.0/src/core/binary/dwarf.rs +610 -0
  435. data/ext/cargo-vendor/wast-215.0.0/src/core/binary/dwarf_disabled.rs +41 -0
  436. data/ext/cargo-vendor/wast-215.0.0/src/core/binary.rs +1542 -0
  437. data/ext/cargo-vendor/wast-215.0.0/src/core/expr.rs +2110 -0
  438. data/ext/cargo-vendor/wast-215.0.0/src/core/memory.rs +279 -0
  439. data/ext/cargo-vendor/wast-215.0.0/src/core/module.rs +215 -0
  440. data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/deinline_import_export.rs +232 -0
  441. data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/names.rs +791 -0
  442. data/ext/cargo-vendor/wast-215.0.0/src/core/resolve/types.rs +270 -0
  443. data/ext/cargo-vendor/wast-215.0.0/src/core/table.rs +308 -0
  444. data/ext/cargo-vendor/wast-215.0.0/src/core/types.rs +1057 -0
  445. data/ext/cargo-vendor/wast-215.0.0/src/core.rs +30 -0
  446. data/ext/cargo-vendor/wast-215.0.0/src/lib.rs +556 -0
  447. data/ext/cargo-vendor/wast-215.0.0/src/parser.rs +1434 -0
  448. data/ext/cargo-vendor/wast-215.0.0/src/wat.rs +68 -0
  449. data/ext/cargo-vendor/wat-1.215.0/.cargo-checksum.json +1 -0
  450. data/ext/cargo-vendor/wat-1.215.0/Cargo.toml +56 -0
  451. data/ext/cargo-vendor/wat-1.215.0/src/lib.rs +469 -0
  452. data/ext/cargo-vendor/wiggle-23.0.2/.cargo-checksum.json +1 -0
  453. data/ext/cargo-vendor/wiggle-23.0.2/Cargo.toml +110 -0
  454. data/ext/cargo-vendor/wiggle-generate-23.0.2/.cargo-checksum.json +1 -0
  455. data/ext/cargo-vendor/wiggle-generate-23.0.2/Cargo.toml +76 -0
  456. data/ext/cargo-vendor/wiggle-macro-23.0.2/.cargo-checksum.json +1 -0
  457. data/ext/cargo-vendor/wiggle-macro-23.0.2/Cargo.toml +59 -0
  458. data/ext/cargo-vendor/winapi-util-0.1.9/.cargo-checksum.json +1 -0
  459. data/ext/cargo-vendor/winapi-util-0.1.9/COPYING +3 -0
  460. data/ext/cargo-vendor/winapi-util-0.1.9/Cargo.toml +53 -0
  461. data/ext/cargo-vendor/winapi-util-0.1.9/LICENSE-MIT +21 -0
  462. data/ext/cargo-vendor/winapi-util-0.1.9/README.md +64 -0
  463. data/ext/cargo-vendor/winapi-util-0.1.9/UNLICENSE +24 -0
  464. data/ext/cargo-vendor/winapi-util-0.1.9/rustfmt.toml +2 -0
  465. data/ext/cargo-vendor/winapi-util-0.1.9/src/console.rs +407 -0
  466. data/ext/cargo-vendor/winapi-util-0.1.9/src/file.rs +166 -0
  467. data/ext/cargo-vendor/winapi-util-0.1.9/src/lib.rs +35 -0
  468. data/ext/cargo-vendor/winapi-util-0.1.9/src/sysinfo.rs +161 -0
  469. data/ext/cargo-vendor/winapi-util-0.1.9/src/win.rs +246 -0
  470. data/ext/cargo-vendor/winch-codegen-0.21.2/.cargo-checksum.json +1 -0
  471. data/ext/cargo-vendor/winch-codegen-0.21.2/Cargo.toml +87 -0
  472. data/ext/cargo-vendor/winch-codegen-0.21.2/src/codegen/env.rs +449 -0
  473. data/ext/cargo-vendor/winch-codegen-0.21.2/src/codegen/mod.rs +878 -0
  474. data/ext/cargo-vendor/winch-codegen-0.21.2/src/visitor.rs +2154 -0
  475. data/ext/cargo-vendor/wit-parser-0.212.0/.cargo-checksum.json +1 -0
  476. data/ext/cargo-vendor/wit-parser-0.212.0/Cargo.toml +112 -0
  477. data/ext/cargo-vendor/wit-parser-0.212.0/src/ast/lex.rs +751 -0
  478. data/ext/cargo-vendor/wit-parser-0.212.0/src/ast/resolve.rs +1539 -0
  479. data/ext/cargo-vendor/wit-parser-0.212.0/src/ast.rs +1851 -0
  480. data/ext/cargo-vendor/wit-parser-0.212.0/src/decoding.rs +1798 -0
  481. data/ext/cargo-vendor/wit-parser-0.212.0/src/lib.rs +888 -0
  482. data/ext/cargo-vendor/wit-parser-0.212.0/src/resolve.rs +2740 -0
  483. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/feature-gates.wit.json +308 -0
  484. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package/a.wit +23 -0
  485. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package/b.wit +23 -0
  486. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-file-multi-package.wit.json +250 -0
  487. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/deps/dep1/types.wit +2 -0
  488. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/deps/dep2/types.wit +2 -0
  489. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps/packages.wit +13 -0
  490. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-shared-deps.wit.json +83 -0
  491. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/deps/dep1/types.wit +9 -0
  492. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/deps/dep2/types.wit +5 -0
  493. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps/packages.wit +11 -0
  494. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/multi-package-transitive-deps.wit.json +116 -0
  495. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-colliding-decl-names.wit +23 -0
  496. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-colliding-decl-names.wit.json +130 -0
  497. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-internal-references.wit +15 -0
  498. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-internal-references.wit.json +87 -0
  499. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-with-semver.wit +23 -0
  500. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-explicit-with-semver.wit.json +130 -0
  501. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-multiple-explicit.wit +23 -0
  502. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-multiple-explicit.wit.json +130 -0
  503. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-single-explicit.wit +11 -0
  504. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/packages-single-explicit.wit.json +70 -0
  505. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-colliding-names.wit +3 -0
  506. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-colliding-names.wit.result +1 -0
  507. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-with-error.wit +13 -0
  508. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/explicit-packages-with-error.wit.result +8 -0
  509. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-explicit-then-implicit-package.wit +23 -0
  510. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-explicit-then-implicit-package.wit.result +1 -0
  511. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-implicit-then-explicit-package.wit +23 -0
  512. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/mix-implicit-then-explicit-package.wit.result +5 -0
  513. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter/observe.wit +5 -0
  514. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter/world.wit +5 -0
  515. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multi-file-missing-delimiter.wit.result +9 -0
  516. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-package-inline-cycle.wit +11 -0
  517. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-package-inline-cycle.wit.result +5 -0
  518. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit +15 -0
  519. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/parse-fail/multiple-packages-no-scope-blocks.wit.result +5 -0
  520. data/ext/cargo-vendor/wit-parser-0.212.0/tests/ui/since-and-unstable.wit.json +583 -0
  521. data/ext/src/ruby_api/memory.rs +2 -1
  522. data/lib/wasmtime/version.rb +1 -1
  523. metadata +1736 -1643
  524. data/ext/cargo-vendor/cranelift-bforest-0.109.0/.cargo-checksum.json +0 -1
  525. data/ext/cargo-vendor/cranelift-bforest-0.109.0/Cargo.toml +0 -41
  526. data/ext/cargo-vendor/cranelift-codegen-0.109.0/.cargo-checksum.json +0 -1
  527. data/ext/cargo-vendor/cranelift-codegen-0.109.0/Cargo.toml +0 -193
  528. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/binemit/stack_map.rs +0 -155
  529. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/bitset.rs +0 -187
  530. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/context.rs +0 -384
  531. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/data_value.rs +0 -385
  532. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/dfg.rs +0 -1777
  533. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/globalvalue.rs +0 -147
  534. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/immediates.rs +0 -1612
  535. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/instructions.rs +0 -1020
  536. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/jumptable.rs +0 -168
  537. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/mod.rs +0 -108
  538. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/trapcode.rs +0 -149
  539. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/ir/types.rs +0 -627
  540. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit.rs +0 -3584
  541. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/emit_tests.rs +0 -7901
  542. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst/mod.rs +0 -3060
  543. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/inst.isle +0 -4218
  544. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/lower.isle +0 -2933
  545. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/aarch64/mod.rs +0 -242
  546. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/mod.rs +0 -449
  547. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit.rs +0 -2682
  548. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/emit_tests.rs +0 -2215
  549. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst/mod.rs +0 -1938
  550. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/inst.isle +0 -3127
  551. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower/isle.rs +0 -649
  552. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/lower.isle +0 -2923
  553. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/riscv64/mod.rs +0 -260
  554. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/emit.rs +0 -3401
  555. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/inst/mod.rs +0 -3401
  556. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/lower.isle +0 -3995
  557. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/s390x/mod.rs +0 -215
  558. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit.rs +0 -4287
  559. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/emit_state.rs +0 -52
  560. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst/mod.rs +0 -2821
  561. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/inst.isle +0 -5289
  562. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/lower.isle +0 -4810
  563. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isa/x64/mod.rs +0 -234
  564. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/isle_prelude.rs +0 -986
  565. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/legalizer/mod.rs +0 -348
  566. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/lib.rs +0 -106
  567. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/abi.rs +0 -2419
  568. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/buffer.rs +0 -2508
  569. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/helpers.rs +0 -33
  570. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/isle.rs +0 -909
  571. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/lower.rs +0 -1432
  572. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/mod.rs +0 -551
  573. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/machinst/vcode.rs +0 -1741
  574. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude.isle +0 -664
  575. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/prelude_lower.isle +0 -1073
  576. data/ext/cargo-vendor/cranelift-codegen-0.109.0/src/write.rs +0 -638
  577. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/.cargo-checksum.json +0 -1
  578. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/Cargo.toml +0 -36
  579. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/types.rs +0 -496
  580. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/cdsl/typevar.rs +0 -980
  581. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/gen_inst.rs +0 -1278
  582. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/shared/instructions.rs +0 -3791
  583. data/ext/cargo-vendor/cranelift-codegen-meta-0.109.0/src/shared/types.rs +0 -137
  584. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/.cargo-checksum.json +0 -1
  585. data/ext/cargo-vendor/cranelift-codegen-shared-0.109.0/Cargo.toml +0 -22
  586. data/ext/cargo-vendor/cranelift-control-0.109.0/.cargo-checksum.json +0 -1
  587. data/ext/cargo-vendor/cranelift-control-0.109.0/Cargo.toml +0 -30
  588. data/ext/cargo-vendor/cranelift-entity-0.109.0/.cargo-checksum.json +0 -1
  589. data/ext/cargo-vendor/cranelift-entity-0.109.0/Cargo.toml +0 -53
  590. data/ext/cargo-vendor/cranelift-entity-0.109.0/src/set.rs +0 -290
  591. data/ext/cargo-vendor/cranelift-frontend-0.109.0/.cargo-checksum.json +0 -1
  592. data/ext/cargo-vendor/cranelift-frontend-0.109.0/Cargo.toml +0 -68
  593. data/ext/cargo-vendor/cranelift-frontend-0.109.0/src/frontend.rs +0 -1857
  594. data/ext/cargo-vendor/cranelift-isle-0.109.0/.cargo-checksum.json +0 -1
  595. data/ext/cargo-vendor/cranelift-isle-0.109.0/Cargo.toml +0 -47
  596. data/ext/cargo-vendor/cranelift-isle-0.109.0/src/codegen.rs +0 -886
  597. data/ext/cargo-vendor/cranelift-isle-0.109.0/src/parser.rs +0 -562
  598. data/ext/cargo-vendor/cranelift-isle-0.109.0/src/sema.rs +0 -2492
  599. data/ext/cargo-vendor/cranelift-isle-0.109.0/src/trie_again.rs +0 -684
  600. data/ext/cargo-vendor/cranelift-native-0.109.0/.cargo-checksum.json +0 -1
  601. data/ext/cargo-vendor/cranelift-native-0.109.0/Cargo.toml +0 -43
  602. data/ext/cargo-vendor/cranelift-native-0.109.0/src/lib.rs +0 -188
  603. data/ext/cargo-vendor/cranelift-wasm-0.109.0/.cargo-checksum.json +0 -1
  604. data/ext/cargo-vendor/cranelift-wasm-0.109.0/Cargo.toml +0 -110
  605. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator/bounds_checks.rs +0 -713
  606. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/code_translator.rs +0 -3695
  607. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/heap.rs +0 -116
  608. data/ext/cargo-vendor/cranelift-wasm-0.109.0/src/sections_translator.rs +0 -343
  609. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/.cargo-checksum.json +0 -1
  610. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/Cargo.toml +0 -48
  611. data/ext/cargo-vendor/memoffset-0.9.0/.cargo-checksum.json +0 -1
  612. data/ext/cargo-vendor/memoffset-0.9.0/Cargo.toml +0 -37
  613. data/ext/cargo-vendor/memoffset-0.9.0/LICENSE +0 -19
  614. data/ext/cargo-vendor/memoffset-0.9.0/README.md +0 -85
  615. data/ext/cargo-vendor/memoffset-0.9.0/build.rs +0 -25
  616. data/ext/cargo-vendor/memoffset-0.9.0/src/lib.rs +0 -94
  617. data/ext/cargo-vendor/memoffset-0.9.0/src/offset_of.rs +0 -400
  618. data/ext/cargo-vendor/memoffset-0.9.0/src/raw_field.rs +0 -226
  619. data/ext/cargo-vendor/memoffset-0.9.0/src/span_of.rs +0 -263
  620. data/ext/cargo-vendor/wasi-common-22.0.0/.cargo-checksum.json +0 -1
  621. data/ext/cargo-vendor/wasi-common-22.0.0/Cargo.toml +0 -224
  622. data/ext/cargo-vendor/wasi-common-22.0.0/src/tokio/mod.rs +0 -137
  623. data/ext/cargo-vendor/wasi-common-22.0.0/tests/all/async_.rs +0 -293
  624. data/ext/cargo-vendor/wasi-common-22.0.0/tests/all/sync.rs +0 -279
  625. data/ext/cargo-vendor/wasm-encoder-0.209.1/.cargo-checksum.json +0 -1
  626. data/ext/cargo-vendor/wasm-encoder-0.209.1/Cargo.toml +0 -46
  627. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/component/types.rs +0 -792
  628. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/code.rs +0 -3595
  629. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/exports.rs +0 -98
  630. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/globals.rs +0 -112
  631. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/imports.rs +0 -157
  632. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/memories.rs +0 -128
  633. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/tables.rs +0 -134
  634. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/tags.rs +0 -104
  635. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/core/types.rs +0 -678
  636. data/ext/cargo-vendor/wasm-encoder-0.209.1/src/lib.rs +0 -215
  637. data/ext/cargo-vendor/wasmparser-0.209.1/.cargo-checksum.json +0 -1
  638. data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.lock +0 -662
  639. data/ext/cargo-vendor/wasmparser-0.209.1/Cargo.toml +0 -109
  640. data/ext/cargo-vendor/wasmparser-0.209.1/src/binary_reader.rs +0 -1929
  641. data/ext/cargo-vendor/wasmparser-0.209.1/src/features.rs +0 -164
  642. data/ext/cargo-vendor/wasmparser-0.209.1/src/lib.rs +0 -814
  643. data/ext/cargo-vendor/wasmparser-0.209.1/src/parser.rs +0 -1682
  644. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/operators.rs +0 -423
  645. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/tables.rs +0 -93
  646. data/ext/cargo-vendor/wasmparser-0.209.1/src/readers/core/types.rs +0 -1788
  647. data/ext/cargo-vendor/wasmparser-0.209.1/src/resources.rs +0 -235
  648. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/component.rs +0 -3236
  649. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/core.rs +0 -1464
  650. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/operators.rs +0 -4231
  651. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator/types.rs +0 -4550
  652. data/ext/cargo-vendor/wasmparser-0.209.1/src/validator.rs +0 -1633
  653. data/ext/cargo-vendor/wasmprinter-0.209.1/.cargo-checksum.json +0 -1
  654. data/ext/cargo-vendor/wasmprinter-0.209.1/Cargo.toml +0 -51
  655. data/ext/cargo-vendor/wasmprinter-0.209.1/src/lib.rs +0 -3225
  656. data/ext/cargo-vendor/wasmprinter-0.209.1/src/operator.rs +0 -1171
  657. data/ext/cargo-vendor/wasmprinter-0.209.1/tests/all.rs +0 -293
  658. data/ext/cargo-vendor/wasmtime-22.0.0/.cargo-checksum.json +0 -1
  659. data/ext/cargo-vendor/wasmtime-22.0.0/Cargo.toml +0 -387
  660. data/ext/cargo-vendor/wasmtime-22.0.0/build.rs +0 -42
  661. data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/code_builder.rs +0 -275
  662. data/ext/cargo-vendor/wasmtime-22.0.0/src/compile/runtime.rs +0 -167
  663. data/ext/cargo-vendor/wasmtime-22.0.0/src/compile.rs +0 -917
  664. data/ext/cargo-vendor/wasmtime-22.0.0/src/config.rs +0 -2943
  665. data/ext/cargo-vendor/wasmtime-22.0.0/src/engine/serialization.rs +0 -890
  666. data/ext/cargo-vendor/wasmtime-22.0.0/src/engine.rs +0 -728
  667. data/ext/cargo-vendor/wasmtime-22.0.0/src/lib.rs +0 -389
  668. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/jitdump.rs +0 -67
  669. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/perfmap.rs +0 -48
  670. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent/vtune.rs +0 -81
  671. data/ext/cargo-vendor/wasmtime-22.0.0/src/profiling_agent.rs +0 -106
  672. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/code_memory.rs +0 -338
  673. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/bindgen_examples/mod.rs +0 -489
  674. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/component.rs +0 -656
  675. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/host.rs +0 -440
  676. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/options.rs +0 -555
  677. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func/typed.rs +0 -2498
  678. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/func.rs +0 -689
  679. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/instance.rs +0 -810
  680. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/linker.rs +0 -854
  681. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/matching.rs +0 -217
  682. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/mod.rs +0 -657
  683. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/resources.rs +0 -1133
  684. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/component/values.rs +0 -980
  685. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/coredump.rs +0 -342
  686. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/debug.rs +0 -166
  687. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/global.rs +0 -310
  688. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/externals/table.rs +0 -481
  689. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func/typed.rs +0 -780
  690. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/func.rs +0 -2564
  691. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/disabled/rooting.rs +0 -224
  692. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/externref.rs +0 -592
  693. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/gc/enabled/rooting.rs +0 -1588
  694. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instance.rs +0 -992
  695. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/instantiate.rs +0 -337
  696. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/limits.rs +0 -399
  697. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/linker.rs +0 -1499
  698. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/memory.rs +0 -998
  699. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module/registry.rs +0 -353
  700. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/module.rs +0 -1322
  701. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/profiling.rs +0 -221
  702. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/stack.rs +0 -73
  703. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store/data.rs +0 -301
  704. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/store.rs +0 -2824
  705. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/func.rs +0 -94
  706. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/memory.rs +0 -287
  707. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline/table.rs +0 -29
  708. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trampoline.rs +0 -78
  709. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/trap.rs +0 -642
  710. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types/matching.rs +0 -421
  711. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/types.rs +0 -2580
  712. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/values.rs +0 -966
  713. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/arch/riscv64.rs +0 -41
  714. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/libcalls.rs +0 -571
  715. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component/resources.rs +0 -352
  716. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/component.rs +0 -857
  717. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/const_expr.rs +0 -102
  718. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/cow.rs +0 -972
  719. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/disabled.rs +0 -24
  720. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/enabled/drc.rs +0 -968
  721. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/enabled/free_list.rs +0 -771
  722. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_ref.rs +0 -491
  723. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc/gc_runtime.rs +0 -506
  724. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/gc.rs +0 -245
  725. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/on_demand.rs +0 -220
  726. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/decommit_queue.rs +0 -194
  727. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +0 -94
  728. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +0 -78
  729. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +0 -707
  730. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +0 -975
  731. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/table_pool.rs +0 -245
  732. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +0 -278
  733. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator/pooling.rs +0 -794
  734. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance/allocator.rs +0 -801
  735. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/instance.rs +0 -1514
  736. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/libcalls.rs +0 -834
  737. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/memory.rs +0 -736
  738. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mmap.rs +0 -220
  739. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mmap_vec.rs +0 -162
  740. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/module_id.rs +0 -43
  741. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/disabled.rs +0 -43
  742. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/enabled.rs +0 -214
  743. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/mod.rs +0 -54
  744. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/mpk/sys.rs +0 -114
  745. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/mmap.rs +0 -112
  746. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/mod.rs +0 -34
  747. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/unwind.rs +0 -17
  748. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/custom/vm.rs +0 -105
  749. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/mmap.rs +0 -95
  750. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/miri/unwind.rs +0 -17
  751. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/mmap.rs +0 -162
  752. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/signals.rs +0 -407
  753. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/unix/unwind.rs +0 -150
  754. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/mmap.rs +0 -221
  755. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/sys/windows/unwind.rs +0 -46
  756. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/table.rs +0 -899
  757. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/threads/shared_memory.rs +0 -233
  758. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/threads/shared_memory_disabled.rs +0 -101
  759. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/traphandlers.rs +0 -768
  760. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext/vm_host_func_context.rs +0 -79
  761. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm/vmcontext.rs +0 -1302
  762. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime/vm.rs +0 -277
  763. data/ext/cargo-vendor/wasmtime-22.0.0/src/runtime.rs +0 -113
  764. data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/.cargo-checksum.json +0 -1
  765. data/ext/cargo-vendor/wasmtime-asm-macros-22.0.0/Cargo.toml +0 -22
  766. data/ext/cargo-vendor/wasmtime-cache-22.0.0/.cargo-checksum.json +0 -1
  767. data/ext/cargo-vendor/wasmtime-cache-22.0.0/Cargo.toml +0 -89
  768. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/.cargo-checksum.json +0 -1
  769. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/Cargo.toml +0 -86
  770. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/src/bindgen.rs +0 -493
  771. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/codegen.rs +0 -651
  772. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char.rs +0 -198
  773. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/char_async.rs +0 -215
  774. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions.rs +0 -586
  775. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/conventions_async.rs +0 -631
  776. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code.rs +0 -165
  777. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/dead-code_async.rs +0 -178
  778. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import.rs +0 -91
  779. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/direct-import_async.rs +0 -97
  780. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty.rs +0 -45
  781. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/empty_async.rs +0 -45
  782. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags.rs +0 -637
  783. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/flags_async.rs +0 -679
  784. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats.rs +0 -255
  785. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/floats_async.rs +0 -282
  786. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new.rs +0 -59
  787. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/function-new_async.rs +0 -62
  788. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers.rs +0 -722
  789. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/integers_async.rs +0 -819
  790. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists.rs +0 -1743
  791. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/lists_async.rs +0 -1927
  792. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments.rs +0 -543
  793. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/many-arguments_async.rs +0 -561
  794. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return.rs +0 -270
  795. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multi-return_async.rs +0 -298
  796. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion.rs +0 -251
  797. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/multiversion_async.rs +0 -270
  798. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records.rs +0 -815
  799. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/records_async.rs +0 -877
  800. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename.rs +0 -154
  801. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/rename_async.rs +0 -167
  802. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export.rs +0 -467
  803. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-export_async.rs +0 -516
  804. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import.rs +0 -1014
  805. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/resources-import_async.rs +0 -1086
  806. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types.rs +0 -249
  807. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/share-types_async.rs +0 -265
  808. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions.rs +0 -313
  809. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-functions_async.rs +0 -347
  810. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists.rs +0 -350
  811. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-lists_async.rs +0 -381
  812. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi.rs +0 -216
  813. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/simple-wasi_async.rs +0 -229
  814. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous.rs +0 -275
  815. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/small-anonymous_async.rs +0 -287
  816. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default.rs +0 -59
  817. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-default_async.rs +0 -62
  818. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export.rs +0 -86
  819. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke-export_async.rs +0 -89
  820. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke.rs +0 -104
  821. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/smoke_async.rs +0 -111
  822. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings.rs +0 -247
  823. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/strings_async.rs +0 -269
  824. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo.rs +0 -136
  825. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/unversioned-foo_async.rs +0 -143
  826. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths.rs +0 -288
  827. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/use-paths_async.rs +0 -314
  828. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants.rs +0 -1750
  829. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/variants_async.rs +0 -1867
  830. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat.rs +0 -84
  831. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/wat_async.rs +0 -84
  832. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types.rs +0 -138
  833. data/ext/cargo-vendor/wasmtime-component-macro-22.0.0/tests/expanded/worlds-with-types_async.rs +0 -148
  834. data/ext/cargo-vendor/wasmtime-component-util-22.0.0/.cargo-checksum.json +0 -1
  835. data/ext/cargo-vendor/wasmtime-component-util-22.0.0/Cargo.toml +0 -25
  836. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/.cargo-checksum.json +0 -1
  837. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/Cargo.toml +0 -115
  838. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/compiler.rs +0 -1067
  839. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/gc.rs +0 -252
  840. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/address_transform.rs +0 -783
  841. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/attr.rs +0 -320
  842. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/expression.rs +0 -1248
  843. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/line_program.rs +0 -287
  844. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/mod.rs +0 -256
  845. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/range_info_builder.rs +0 -221
  846. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/simulate.rs +0 -411
  847. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/unit.rs +0 -529
  848. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/transform/utils.rs +0 -186
  849. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug/write_debuginfo.rs +0 -196
  850. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/debug.rs +0 -18
  851. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/func_environ.rs +0 -2910
  852. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/gc/enabled.rs +0 -648
  853. data/ext/cargo-vendor/wasmtime-cranelift-22.0.0/src/lib.rs +0 -462
  854. data/ext/cargo-vendor/wasmtime-environ-22.0.0/.cargo-checksum.json +0 -1
  855. data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.lock +0 -774
  856. data/ext/cargo-vendor/wasmtime-environ-22.0.0/Cargo.toml +0 -161
  857. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/mod.rs +0 -374
  858. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/compile/module_environ.rs +0 -1348
  859. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/dfg.rs +0 -691
  860. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/info.rs +0 -672
  861. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate/inline.rs +0 -1332
  862. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/translate.rs +0 -985
  863. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types.rs +0 -1038
  864. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component/types_builder.rs +0 -1004
  865. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/component.rs +0 -107
  866. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/lib.rs +0 -151
  867. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/module.rs +0 -704
  868. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/stack_map.rs +0 -37
  869. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/tunables.rs +0 -175
  870. data/ext/cargo-vendor/wasmtime-environ-22.0.0/src/vmoffsets.rs +0 -989
  871. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/.cargo-checksum.json +0 -1
  872. data/ext/cargo-vendor/wasmtime-fiber-22.0.0/Cargo.toml +0 -65
  873. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/.cargo-checksum.json +0 -1
  874. data/ext/cargo-vendor/wasmtime-jit-debug-22.0.0/Cargo.toml +0 -68
  875. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/.cargo-checksum.json +0 -1
  876. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-22.0.0/Cargo.toml +0 -52
  877. data/ext/cargo-vendor/wasmtime-slab-22.0.0/.cargo-checksum.json +0 -1
  878. data/ext/cargo-vendor/wasmtime-slab-22.0.0/Cargo.toml +0 -21
  879. data/ext/cargo-vendor/wasmtime-types-22.0.0/.cargo-checksum.json +0 -1
  880. data/ext/cargo-vendor/wasmtime-types-22.0.0/Cargo.toml +0 -56
  881. data/ext/cargo-vendor/wasmtime-types-22.0.0/src/lib.rs +0 -1737
  882. data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/.cargo-checksum.json +0 -1
  883. data/ext/cargo-vendor/wasmtime-versioned-export-macros-22.0.0/Cargo.toml +0 -32
  884. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/.cargo-checksum.json +0 -1
  885. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/Cargo.toml +0 -201
  886. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/bindings.rs +0 -289
  887. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/filesystem.rs +0 -446
  888. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/filesystem.rs +0 -1091
  889. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/host/io.rs +0 -388
  890. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/lib.rs +0 -417
  891. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/preview1.rs +0 -2801
  892. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/src/stdio.rs +0 -533
  893. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/api.rs +0 -198
  894. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/async_.rs +0 -397
  895. data/ext/cargo-vendor/wasmtime-wasi-22.0.0/tests/all/sync.rs +0 -331
  896. data/ext/cargo-vendor/wasmtime-winch-22.0.0/.cargo-checksum.json +0 -1
  897. data/ext/cargo-vendor/wasmtime-winch-22.0.0/Cargo.toml +0 -82
  898. data/ext/cargo-vendor/wasmtime-winch-22.0.0/src/compiler.rs +0 -239
  899. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/.cargo-checksum.json +0 -1
  900. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/Cargo.toml +0 -47
  901. data/ext/cargo-vendor/wasmtime-wit-bindgen-22.0.0/src/lib.rs +0 -2639
  902. data/ext/cargo-vendor/wast-209.0.1/.cargo-checksum.json +0 -1
  903. data/ext/cargo-vendor/wast-209.0.1/Cargo.toml +0 -60
  904. data/ext/cargo-vendor/wast-209.0.1/src/component/binary.rs +0 -1000
  905. data/ext/cargo-vendor/wast-209.0.1/src/component/component.rs +0 -321
  906. data/ext/cargo-vendor/wast-209.0.1/src/component/expand.rs +0 -875
  907. data/ext/cargo-vendor/wast-209.0.1/src/component/resolve.rs +0 -999
  908. data/ext/cargo-vendor/wast-209.0.1/src/component.rs +0 -28
  909. data/ext/cargo-vendor/wast-209.0.1/src/core/binary.rs +0 -1396
  910. data/ext/cargo-vendor/wast-209.0.1/src/core/expr.rs +0 -2016
  911. data/ext/cargo-vendor/wast-209.0.1/src/core/memory.rs +0 -284
  912. data/ext/cargo-vendor/wast-209.0.1/src/core/module.rs +0 -218
  913. data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/deinline_import_export.rs +0 -235
  914. data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/names.rs +0 -751
  915. data/ext/cargo-vendor/wast-209.0.1/src/core/resolve/types.rs +0 -267
  916. data/ext/cargo-vendor/wast-209.0.1/src/core/table.rs +0 -302
  917. data/ext/cargo-vendor/wast-209.0.1/src/core/types.rs +0 -901
  918. data/ext/cargo-vendor/wast-209.0.1/src/core.rs +0 -29
  919. data/ext/cargo-vendor/wast-209.0.1/src/lib.rs +0 -551
  920. data/ext/cargo-vendor/wast-209.0.1/src/parser.rs +0 -1414
  921. data/ext/cargo-vendor/wast-209.0.1/src/wat.rs +0 -71
  922. data/ext/cargo-vendor/wat-1.209.1/.cargo-checksum.json +0 -1
  923. data/ext/cargo-vendor/wat-1.209.1/Cargo.toml +0 -34
  924. data/ext/cargo-vendor/wat-1.209.1/src/lib.rs +0 -401
  925. data/ext/cargo-vendor/wiggle-22.0.0/.cargo-checksum.json +0 -1
  926. data/ext/cargo-vendor/wiggle-22.0.0/Cargo.toml +0 -124
  927. data/ext/cargo-vendor/wiggle-generate-22.0.0/.cargo-checksum.json +0 -1
  928. data/ext/cargo-vendor/wiggle-generate-22.0.0/Cargo.toml +0 -67
  929. data/ext/cargo-vendor/wiggle-generate-22.0.0/LICENSE +0 -220
  930. data/ext/cargo-vendor/wiggle-macro-22.0.0/.cargo-checksum.json +0 -1
  931. data/ext/cargo-vendor/wiggle-macro-22.0.0/Cargo.toml +0 -51
  932. data/ext/cargo-vendor/wiggle-macro-22.0.0/LICENSE +0 -220
  933. data/ext/cargo-vendor/winch-codegen-0.20.0/.cargo-checksum.json +0 -1
  934. data/ext/cargo-vendor/winch-codegen-0.20.0/Cargo.toml +0 -77
  935. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/env.rs +0 -448
  936. data/ext/cargo-vendor/winch-codegen-0.20.0/src/codegen/mod.rs +0 -882
  937. data/ext/cargo-vendor/winch-codegen-0.20.0/src/visitor.rs +0 -2149
  938. data/ext/cargo-vendor/wit-parser-0.209.1/.cargo-checksum.json +0 -1
  939. data/ext/cargo-vendor/wit-parser-0.209.1/Cargo.toml +0 -112
  940. data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/lex.rs +0 -747
  941. data/ext/cargo-vendor/wit-parser-0.209.1/src/ast/resolve.rs +0 -1524
  942. data/ext/cargo-vendor/wit-parser-0.209.1/src/ast.rs +0 -1668
  943. data/ext/cargo-vendor/wit-parser-0.209.1/src/decoding.rs +0 -1795
  944. data/ext/cargo-vendor/wit-parser-0.209.1/src/lib.rs +0 -873
  945. data/ext/cargo-vendor/wit-parser-0.209.1/src/resolve.rs +0 -2498
  946. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/feature-gates.wit.json +0 -288
  947. data/ext/cargo-vendor/wit-parser-0.209.1/tests/ui/since-and-unstable.wit.json +0 -549
  948. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/LICENSE +0 -0
  949. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/README.md +0 -0
  950. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/lib.rs +0 -0
  951. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/map.rs +0 -0
  952. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/node.rs +0 -0
  953. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/path.rs +0 -0
  954. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/pool.rs +0 -0
  955. /data/ext/cargo-vendor/{cranelift-bforest-0.109.0 → cranelift-bforest-0.110.2}/src/set.rs +0 -0
  956. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/LICENSE +0 -0
  957. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/README.md +0 -0
  958. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/benches/x64-evex-encoding.rs +0 -0
  959. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/build.rs +0 -0
  960. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/alias_analysis.rs +0 -0
  961. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/binemit/mod.rs +0 -0
  962. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/cfg_printer.rs +0 -0
  963. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/constant_hash.rs +0 -0
  964. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ctxhash.rs +0 -0
  965. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/cursor.rs +0 -0
  966. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/dbg.rs +0 -0
  967. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/dominator_tree.rs +0 -0
  968. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph/cost.rs +0 -0
  969. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph/elaborate.rs +0 -0
  970. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/egraph.rs +0 -0
  971. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/flowgraph.rs +0 -0
  972. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/incremental_cache.rs +0 -0
  973. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/inst_predicates.rs +0 -0
  974. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/atomic_rmw_op.rs +0 -0
  975. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/builder.rs +0 -0
  976. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/condcodes.rs +0 -0
  977. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/constant.rs +0 -0
  978. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/dynamic_type.rs +0 -0
  979. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/entities.rs +0 -0
  980. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/extfunc.rs +0 -0
  981. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/extname.rs +0 -0
  982. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/function.rs +0 -0
  983. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/known_symbol.rs +0 -0
  984. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/layout.rs +0 -0
  985. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/libcall.rs +0 -0
  986. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/memflags.rs +0 -0
  987. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/memtype.rs +0 -0
  988. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/pcc.rs +0 -0
  989. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/progpoint.rs +0 -0
  990. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/sourceloc.rs +0 -0
  991. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ir/stackslot.rs +0 -0
  992. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/abi.rs +0 -0
  993. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/args.rs +0 -0
  994. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/imms.rs +0 -0
  995. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/regs.rs +0 -0
  996. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  997. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst/unwind.rs +0 -0
  998. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/inst_neon.isle +0 -0
  999. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1000. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower/isle.rs +0 -0
  1001. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower.rs +0 -0
  1002. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1003. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/pcc.rs +0 -0
  1004. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/aarch64/settings.rs +0 -0
  1005. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/call_conv.rs +0 -0
  1006. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/abi.rs +0 -0
  1007. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/args.rs +0 -0
  1008. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/encode.rs +0 -0
  1009. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/imms.rs +0 -0
  1010. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/regs.rs +0 -0
  1011. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  1012. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/unwind.rs +0 -0
  1013. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst/vector.rs +0 -0
  1014. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/inst_vector.isle +0 -0
  1015. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1016. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/lower.rs +0 -0
  1017. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/riscv64/settings.rs +0 -0
  1018. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/abi.rs +0 -0
  1019. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/args.rs +0 -0
  1020. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
  1021. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/imms.rs +0 -0
  1022. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/regs.rs +0 -0
  1023. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1024. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst/unwind.rs +0 -0
  1025. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/inst.isle +0 -0
  1026. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1027. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower/isle.rs +0 -0
  1028. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/lower.rs +0 -0
  1029. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/s390x/settings.rs +0 -0
  1030. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind/systemv.rs +0 -0
  1031. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind/winx64.rs +0 -0
  1032. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/unwind.rs +0 -0
  1033. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/abi.rs +0 -0
  1034. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/evex.rs +0 -0
  1035. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/mod.rs +0 -0
  1036. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/rex.rs +0 -0
  1037. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/encoding/vex.rs +0 -0
  1038. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/args.rs +0 -0
  1039. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/emit_tests.rs +0 -0
  1040. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/regs.rs +0 -0
  1041. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1042. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1043. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/inst/unwind.rs +0 -0
  1044. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1045. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower/isle.rs +0 -0
  1046. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/lower.rs +0 -0
  1047. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/pcc.rs +0 -0
  1048. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/isa/x64/settings.rs +0 -0
  1049. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/iterators.rs +0 -0
  1050. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/legalizer/globalvalue.rs +0 -0
  1051. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/loop_analysis.rs +0 -0
  1052. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/blockorder.rs +0 -0
  1053. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/compile.rs +0 -0
  1054. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/inst_common.rs +0 -0
  1055. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/pcc.rs +0 -0
  1056. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/reg.rs +0 -0
  1057. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/machinst/valueregs.rs +0 -0
  1058. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/nan_canonicalization.rs +0 -0
  1059. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/README.md +0 -0
  1060. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/arithmetic.isle +0 -0
  1061. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/bitops.isle +0 -0
  1062. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/cprop.isle +0 -0
  1063. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/extends.isle +0 -0
  1064. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/generated_code.rs +0 -0
  1065. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/icmp.isle +0 -0
  1066. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/remat.isle +0 -0
  1067. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/selects.isle +0 -0
  1068. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/shifts.isle +0 -0
  1069. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/spaceship.isle +0 -0
  1070. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/spectre.isle +0 -0
  1071. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts/vector.isle +0 -0
  1072. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/opts.rs +0 -0
  1073. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/prelude_opt.isle +0 -0
  1074. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/print_errors.rs +0 -0
  1075. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/ranges.rs +0 -0
  1076. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/remove_constant_phis.rs +0 -0
  1077. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/result.rs +0 -0
  1078. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/scoped_hash_map.rs +0 -0
  1079. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/settings.rs +0 -0
  1080. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/souper_harvest.rs +0 -0
  1081. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/timing.rs +0 -0
  1082. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/traversals.rs +0 -0
  1083. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/unionfind.rs +0 -0
  1084. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/unreachable_code.rs +0 -0
  1085. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/value_label.rs +0 -0
  1086. /data/ext/cargo-vendor/{cranelift-codegen-0.109.0 → cranelift-codegen-0.110.2}/src/verifier/mod.rs +0 -0
  1087. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/LICENSE +0 -0
  1088. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/README.md +0 -0
  1089. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/formats.rs +0 -0
  1090. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/instructions.rs +0 -0
  1091. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/isa.rs +0 -0
  1092. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/mod.rs +0 -0
  1093. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/operands.rs +0 -0
  1094. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/cdsl/settings.rs +0 -0
  1095. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/constant_hash.rs +0 -0
  1096. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/error.rs +0 -0
  1097. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_isle.rs +0 -0
  1098. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_settings.rs +0 -0
  1099. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/gen_types.rs +0 -0
  1100. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/arm64.rs +0 -0
  1101. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/mod.rs +0 -0
  1102. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/riscv64.rs +0 -0
  1103. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/s390x.rs +0 -0
  1104. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isa/x86.rs +0 -0
  1105. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/isle.rs +0 -0
  1106. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/lib.rs +0 -0
  1107. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/entities.rs +0 -0
  1108. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/formats.rs +0 -0
  1109. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/immediates.rs +0 -0
  1110. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/mod.rs +0 -0
  1111. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/shared/settings.rs +0 -0
  1112. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/srcgen.rs +0 -0
  1113. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.109.0 → cranelift-codegen-meta-0.110.2}/src/unique_table.rs +0 -0
  1114. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/LICENSE +0 -0
  1115. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/README.md +0 -0
  1116. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/constant_hash.rs +0 -0
  1117. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/constants.rs +0 -0
  1118. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.109.0 → cranelift-codegen-shared-0.110.2}/src/lib.rs +0 -0
  1119. /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/LICENSE +0 -0
  1120. /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/README.md +0 -0
  1121. /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/chaos.rs +0 -0
  1122. /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/lib.rs +0 -0
  1123. /data/ext/cargo-vendor/{cranelift-control-0.109.0 → cranelift-control-0.110.2}/src/zero_sized.rs +0 -0
  1124. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/LICENSE +0 -0
  1125. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/README.md +0 -0
  1126. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/boxed_slice.rs +0 -0
  1127. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/iter.rs +0 -0
  1128. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/keys.rs +0 -0
  1129. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/lib.rs +0 -0
  1130. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/list.rs +0 -0
  1131. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/map.rs +0 -0
  1132. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/packed_option.rs +0 -0
  1133. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/primary.rs +0 -0
  1134. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/sparse.rs +0 -0
  1135. /data/ext/cargo-vendor/{cranelift-entity-0.109.0 → cranelift-entity-0.110.2}/src/unsigned.rs +0 -0
  1136. /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/LICENSE +0 -0
  1137. /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/README.md +0 -0
  1138. /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/lib.rs +0 -0
  1139. /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/ssa.rs +0 -0
  1140. /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/switch.rs +0 -0
  1141. /data/ext/cargo-vendor/{cranelift-frontend-0.109.0 → cranelift-frontend-0.110.2}/src/variable.rs +0 -0
  1142. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/README.md +0 -0
  1143. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/build.rs +0 -0
  1144. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/bad_converters.isle +0 -0
  1145. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1146. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1147. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/error1.isle +0 -0
  1148. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/extra_parens.isle +0 -0
  1149. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/impure_expression.isle +0 -0
  1150. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/impure_rhs.isle +0 -0
  1151. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1152. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/fail/multi_prio.isle +0 -0
  1153. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/borrows.isle +0 -0
  1154. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/borrows_main.rs +0 -0
  1155. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/iflets.isle +0 -0
  1156. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/iflets_main.rs +0 -0
  1157. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_constructor.isle +0 -0
  1158. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_constructor_main.rs +0 -0
  1159. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_extractor.isle +0 -0
  1160. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/multi_extractor_main.rs +0 -0
  1161. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/test.isle +0 -0
  1162. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/link/test_main.rs +0 -0
  1163. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/bound_var.isle +0 -0
  1164. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/construct_and_extract.isle +0 -0
  1165. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/conversions.isle +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/conversions_extern.isle +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/let.isle +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/nodebug.isle +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test2.isle +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test3.isle +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/test4.isle +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/pass/tutorial.isle +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/iconst.isle +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/iconst_main.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/let_shadowing.isle +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/isle_examples/run/let_shadowing_main.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/ast.rs +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/compile.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/disjointsets.rs +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/error.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/lexer.rs +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/lib.rs +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/log.rs +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/overlap.rs +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/serialize.rs +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/src/stablemapset.rs +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-isle-0.109.0 → cranelift-isle-0.110.2}/tests/run_tests.rs +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/LICENSE +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/README.md +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-native-0.109.0 → cranelift-native-0.110.2}/src/riscv.rs +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/LICENSE +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/README.md +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/dummy.rs +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/mod.rs +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/environ/spec.rs +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/func_translator.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/lib.rs +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/module_translator.rs +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/state.rs +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/table.rs +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-wasm-0.109.0 → cranelift-wasm-0.110.2}/src/translation_utils.rs +0 -0
  1203. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/README.md +0 -0
  1204. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/clocks.rs +0 -0
  1205. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/lib.rs +0 -0
  1206. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/src/noop_scheduler.rs +0 -0
  1207. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/clocks.rs +0 -0
  1208. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/common/mod.rs +0 -0
  1209. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/random.rs +0 -0
  1210. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.22 → deterministic-wasi-ctx-0.1.23}/tests/scheduler.rs +0 -0
  1211. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/LICENSE +0 -0
  1212. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/README.md +0 -0
  1213. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/clocks.rs +0 -0
  1214. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/ctx.rs +0 -0
  1215. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/dir.rs +0 -0
  1216. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/error.rs +0 -0
  1217. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/file.rs +0 -0
  1218. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/lib.rs +0 -0
  1219. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/pipe.rs +0 -0
  1220. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/random.rs +0 -0
  1221. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sched/subscription.rs +0 -0
  1222. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sched.rs +0 -0
  1223. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/mod.rs +0 -0
  1224. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_0.rs +0 -0
  1225. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_1/error.rs +0 -0
  1226. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/snapshots/preview_1.rs +0 -0
  1227. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/string_array.rs +0 -0
  1228. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/clocks.rs +0 -0
  1229. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/dir.rs +0 -0
  1230. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/file.rs +0 -0
  1231. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/mod.rs +0 -0
  1232. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/net.rs +0 -0
  1233. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched/unix.rs +0 -0
  1234. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched/windows.rs +0 -0
  1235. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/sched.rs +0 -0
  1236. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/sync/stdio.rs +0 -0
  1237. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/table.rs +0 -0
  1238. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/dir.rs +0 -0
  1239. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/file.rs +0 -0
  1240. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/net.rs +0 -0
  1241. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched/unix.rs +0 -0
  1242. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched/windows.rs +0 -0
  1243. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/sched.rs +0 -0
  1244. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/src/tokio/stdio.rs +0 -0
  1245. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/tests/all/main.rs +0 -0
  1246. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview0/typenames.witx +0 -0
  1247. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview0/wasi_unstable.witx +0 -0
  1248. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview1/typenames.witx +0 -0
  1249. /data/ext/cargo-vendor/{wasi-common-22.0.0 → wasi-common-23.0.2}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1250. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/LICENSE +0 -0
  1251. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/README.md +0 -0
  1252. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/aliases.rs +0 -0
  1253. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/builder.rs +0 -0
  1254. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/canonicals.rs +0 -0
  1255. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/components.rs +0 -0
  1256. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/exports.rs +0 -0
  1257. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/imports.rs +0 -0
  1258. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/instances.rs +0 -0
  1259. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/modules.rs +0 -0
  1260. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/names.rs +0 -0
  1261. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component/start.rs +0 -0
  1262. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/component.rs +0 -0
  1263. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/custom.rs +0 -0
  1264. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/data.rs +0 -0
  1265. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/dump.rs +0 -0
  1266. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/elements.rs +0 -0
  1267. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/functions.rs +0 -0
  1268. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/linking.rs +0 -0
  1269. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/names.rs +0 -0
  1270. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/producers.rs +0 -0
  1271. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core/start.rs +0 -0
  1272. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/core.rs +0 -0
  1273. /data/ext/cargo-vendor/{wasm-encoder-0.209.1 → wasm-encoder-0.212.0}/src/raw.rs +0 -0
  1274. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/README.md +0 -0
  1275. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/benches/benchmark.rs +0 -0
  1276. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/examples/simple.rs +0 -0
  1277. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/hash.rs +0 -0
  1278. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map/detail.rs +0 -0
  1279. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map/tests.rs +0 -0
  1280. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_map.rs +0 -0
  1281. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/index_set.rs +0 -0
  1282. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/map.rs +0 -0
  1283. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/mod.rs +0 -0
  1284. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/collections/set.rs +0 -0
  1285. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/limits.rs +0 -0
  1286. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/aliases.rs +0 -0
  1287. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/canonicals.rs +0 -0
  1288. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/exports.rs +0 -0
  1289. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/imports.rs +0 -0
  1290. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/instances.rs +0 -0
  1291. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/names.rs +0 -0
  1292. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/start.rs +0 -0
  1293. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component/types.rs +0 -0
  1294. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/component.rs +0 -0
  1295. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/branch_hinting.rs +0 -0
  1296. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/code.rs +0 -0
  1297. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/coredumps.rs +0 -0
  1298. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/custom.rs +0 -0
  1299. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/data.rs +0 -0
  1300. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/dylink0.rs +0 -0
  1301. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/elements.rs +0 -0
  1302. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/exports.rs +0 -0
  1303. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/functions.rs +0 -0
  1304. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/globals.rs +0 -0
  1305. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/imports.rs +0 -0
  1306. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/init.rs +0 -0
  1307. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/linking.rs +0 -0
  1308. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/memories.rs +0 -0
  1309. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/names.rs +0 -0
  1310. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/producers.rs +0 -0
  1311. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/reloc.rs +0 -0
  1312. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/tags.rs +0 -0
  1313. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core/types/matches.rs +0 -0
  1314. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers/core.rs +0 -0
  1315. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/readers.rs +0 -0
  1316. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/core/canonical.rs +0 -0
  1317. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/func.rs +0 -0
  1318. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/src/validator/names.rs +0 -0
  1319. /data/ext/cargo-vendor/{wasmparser-0.209.1 → wasmparser-0.212.0}/tests/big-module.rs +0 -0
  1320. /data/ext/cargo-vendor/{wasmprinter-0.209.1 → wasmprinter-0.212.0}/LICENSE +0 -0
  1321. /data/ext/cargo-vendor/{wasmprinter-0.209.1 → wasmprinter-0.212.0}/README.md +0 -0
  1322. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/LICENSE +0 -0
  1323. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/README.md +0 -0
  1324. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/proptest-regressions/runtime/vm/instance/allocator/pooling/memory_pool.txt +0 -0
  1325. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/code.rs +0 -0
  1326. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_0_hello_world.rs +0 -0
  1327. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_1_world_imports.rs +0 -0
  1328. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_2_world_exports.rs +0 -0
  1329. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_3_interface_imports.rs +0 -0
  1330. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_4_imported_resources.rs +0 -0
  1331. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_5_all_world_export_kinds.rs +0 -0
  1332. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/bindgen_examples/_6_exported_resources.rs +0 -0
  1333. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/resource_table.rs +0 -0
  1334. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/storage.rs +0 -0
  1335. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/store.rs +0 -0
  1336. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/component/types.rs +0 -0
  1337. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/externals.rs +0 -0
  1338. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/anyref.rs +0 -0
  1339. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/externref.rs +0 -0
  1340. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled/i31.rs +0 -0
  1341. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/disabled.rs +0 -0
  1342. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled/anyref.rs +0 -0
  1343. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled/i31.rs +0 -0
  1344. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/enabled.rs +0 -0
  1345. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc/noextern.rs +0 -0
  1346. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/gc.rs +0 -0
  1347. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/resources.rs +0 -0
  1348. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/signatures.rs +0 -0
  1349. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/store/context.rs +0 -0
  1350. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/store/func_refs.rs +0 -0
  1351. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/trampoline/global.rs +0 -0
  1352. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/type_registry.rs +0 -0
  1353. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/uninhabited.rs +0 -0
  1354. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/unix.rs +0 -0
  1355. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/v128.rs +0 -0
  1356. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/aarch64.rs +0 -0
  1357. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/mod.rs +0 -0
  1358. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/s390x.S +0 -0
  1359. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/s390x.rs +0 -0
  1360. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/arch/x86_64.rs +0 -0
  1361. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/async_yield.rs +0 -0
  1362. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/debug_builtins.rs +0 -0
  1363. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/export.rs +0 -0
  1364. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/enabled/externref.rs +0 -0
  1365. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/enabled.rs +0 -0
  1366. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/host_data.rs +0 -0
  1367. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/gc/i31.rs +0 -0
  1368. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/helpers.c +0 -0
  1369. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/imports.rs +0 -0
  1370. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/mpk/pkru.rs +0 -0
  1371. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/send_sync_ptr.rs +0 -0
  1372. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/store_box.rs +0 -0
  1373. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/custom/capi.rs +0 -0
  1374. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/custom/traphandlers.rs +0 -0
  1375. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/mod.rs +0 -0
  1376. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/traphandlers.rs +0 -0
  1377. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/miri/vm.rs +0 -0
  1378. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/mod.rs +0 -0
  1379. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/machports.rs +0 -0
  1380. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/macos_traphandlers.rs +0 -0
  1381. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/mod.rs +0 -0
  1382. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/unix/vm.rs +0 -0
  1383. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/mod.rs +0 -0
  1384. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/traphandlers.rs +0 -0
  1385. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/sys/windows/vm.rs +0 -0
  1386. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/threads/mod.rs +0 -0
  1387. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/threads/parking_spot.rs +0 -0
  1388. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/backtrace.rs +0 -0
  1389. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/coredump_disabled.rs +0 -0
  1390. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/vm/traphandlers/coredump_enabled.rs +0 -0
  1391. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/runtime/windows.rs +0 -0
  1392. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/sync_nostd.rs +0 -0
  1393. /data/ext/cargo-vendor/{wasmtime-22.0.0 → wasmtime-23.0.2}/src/sync_std.rs +0 -0
  1394. /data/ext/cargo-vendor/{wasmtime-asm-macros-22.0.0 → wasmtime-asm-macros-23.0.2}/src/lib.rs +0 -0
  1395. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/LICENSE +0 -0
  1396. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/build.rs +0 -0
  1397. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/config/tests.rs +0 -0
  1398. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/config.rs +0 -0
  1399. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/lib.rs +0 -0
  1400. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/tests.rs +0 -0
  1401. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker/tests/system_time_stub.rs +0 -0
  1402. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker/tests.rs +0 -0
  1403. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/src/worker.rs +0 -0
  1404. /data/ext/cargo-vendor/{wasmtime-cache-22.0.0 → wasmtime-cache-23.0.2}/tests/cache_write_default_config.rs +0 -0
  1405. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/build.rs +0 -0
  1406. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/src/component.rs +0 -0
  1407. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/src/lib.rs +0 -0
  1408. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/char.wit +0 -0
  1409. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/conventions.wit +0 -0
  1410. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/dead-code.wit +0 -0
  1411. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/direct-import.wit +0 -0
  1412. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/empty.wit +0 -0
  1413. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/flags.wit +0 -0
  1414. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/floats.wit +0 -0
  1415. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/function-new.wit +0 -0
  1416. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/integers.wit +0 -0
  1417. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/lists.wit +0 -0
  1418. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/many-arguments.wit +0 -0
  1419. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multi-return.wit +0 -0
  1420. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1421. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1422. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/multiversion/root.wit +0 -0
  1423. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/records.wit +0 -0
  1424. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/rename.wit +0 -0
  1425. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/resources-export.wit +0 -0
  1426. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/resources-import.wit +0 -0
  1427. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/share-types.wit +0 -0
  1428. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-functions.wit +0 -0
  1429. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-lists.wit +0 -0
  1430. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/simple-wasi.wit +0 -0
  1431. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/small-anonymous.wit +0 -0
  1432. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke-default.wit +0 -0
  1433. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke-export.wit +0 -0
  1434. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/smoke.wit +0 -0
  1435. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/strings.wit +0 -0
  1436. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/unversioned-foo.wit +0 -0
  1437. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/use-paths.wit +0 -0
  1438. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/variants.wit +0 -0
  1439. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/wat.wit +0 -0
  1440. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen/worlds-with-types.wit +0 -0
  1441. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/codegen_no_std.rs +0 -0
  1442. /data/ext/cargo-vendor/{wasmtime-component-macro-22.0.0 → wasmtime-component-macro-23.0.2}/tests/expanded.rs +0 -0
  1443. /data/ext/cargo-vendor/{wasmtime-component-util-22.0.0 → wasmtime-component-util-23.0.2}/src/lib.rs +0 -0
  1444. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/LICENSE +0 -0
  1445. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/SECURITY.md +0 -0
  1446. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/builder.rs +0 -0
  1447. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/compiled_function.rs +0 -0
  1448. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/compiler/component.rs +0 -0
  1449. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/debug/transform/refs.rs +0 -0
  1450. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/gc/disabled.rs +0 -0
  1451. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/gc.rs +0 -0
  1452. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/isa_builder.rs +0 -0
  1453. /data/ext/cargo-vendor/{wasmtime-cranelift-22.0.0 → wasmtime-cranelift-23.0.2}/src/obj.rs +0 -0
  1454. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/LICENSE +0 -0
  1455. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/examples/factc.rs +0 -0
  1456. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/address_map.rs +0 -0
  1457. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/builtin.rs +0 -0
  1458. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/address_map.rs +0 -0
  1459. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/module_artifacts.rs +0 -0
  1460. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/module_types.rs +0 -0
  1461. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/compile/trap_encoding.rs +0 -0
  1462. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/artifacts.rs +0 -0
  1463. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/compiler.rs +0 -0
  1464. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/translate/adapt.rs +0 -0
  1465. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/types_builder/resources.rs +0 -0
  1466. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/component/vmcomponent_offsets.rs +0 -0
  1467. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/demangling.rs +0 -0
  1468. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/core_types.rs +0 -0
  1469. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/signature.rs +0 -0
  1470. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/trampoline.rs +0 -0
  1471. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/transcode.rs +0 -0
  1472. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact/traps.rs +0 -0
  1473. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/fact.rs +0 -0
  1474. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/gc.rs +0 -0
  1475. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/module_artifacts.rs +0 -0
  1476. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/module_types.rs +0 -0
  1477. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/obj.rs +0 -0
  1478. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/ref_bits.rs +0 -0
  1479. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/scopevec.rs +0 -0
  1480. /data/ext/cargo-vendor/{wasmtime-environ-22.0.0 → wasmtime-environ-23.0.2}/src/trap_encoding.rs +0 -0
  1481. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/LICENSE +0 -0
  1482. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/build.rs +0 -0
  1483. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/lib.rs +0 -0
  1484. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/aarch64.rs +0 -0
  1485. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/arm.rs +0 -0
  1486. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/riscv64.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/s390x.S +0 -0
  1488. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/x86.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix/x86_64.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/unix.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/windows.c +0 -0
  1492. /data/ext/cargo-vendor/{wasmtime-fiber-22.0.0 → wasmtime-fiber-23.0.2}/src/windows.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/README.md +0 -0
  1494. /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/gdb_jit_int.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/lib.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasmtime-jit-debug-22.0.0 → wasmtime-jit-debug-23.0.2}/src/perf_jitdump.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/lib.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/libc.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/miri.rs +0 -0
  1500. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-22.0.0 → wasmtime-jit-icache-coherence-23.0.2}/src/win.rs +0 -0
  1501. /data/ext/cargo-vendor/{wasmtime-slab-22.0.0 → wasmtime-slab-23.0.2}/src/lib.rs +0 -0
  1502. /data/ext/cargo-vendor/{wasmtime-types-22.0.0 → wasmtime-types-23.0.2}/LICENSE +0 -0
  1503. /data/ext/cargo-vendor/{wasmtime-types-22.0.0 → wasmtime-types-23.0.2}/src/error.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-22.0.0 → wasmtime-versioned-export-macros-23.0.2}/src/lib.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/LICENSE +0 -0
  1506. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/README.md +0 -0
  1507. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/clocks/host.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/clocks.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/ctx.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/error.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/clocks.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/env.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/exit.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/filesystem/sync.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/instance_network.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/mod.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/network.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/random.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/tcp.rs +0 -0
  1520. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/tcp_create_socket.rs +0 -0
  1521. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/udp.rs +0 -0
  1522. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/host/udp_create_socket.rs +0 -0
  1523. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/ip_name_lookup.rs +0 -0
  1524. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/network.rs +0 -0
  1525. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/pipe.rs +0 -0
  1526. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/poll.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/preview0.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/random.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/runtime.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/stdio/worker_thread_stdin.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/stream.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/tcp.rs +0 -0
  1533. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/udp.rs +0 -0
  1534. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/src/write_stream.rs +0 -0
  1535. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/all/main.rs +0 -0
  1536. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/all/preview1.rs +0 -0
  1537. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/tests/process_stdin.rs +0 -0
  1538. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/command-extended.wit +0 -0
  1539. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/command.wit +0 -0
  1540. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/environment.wit +0 -0
  1541. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/exit.wit +0 -0
  1542. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/imports.wit +0 -0
  1543. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/run.wit +0 -0
  1544. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/stdio.wit +0 -0
  1545. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/cli/terminal.wit +0 -0
  1546. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1547. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/wall-clock.wit +0 -0
  1548. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/clocks/world.wit +0 -0
  1549. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/preopens.wit +0 -0
  1550. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/types.wit +0 -0
  1551. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/filesystem/world.wit +0 -0
  1552. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/handler.wit +0 -0
  1553. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/proxy.wit +0 -0
  1554. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/http/types.wit +0 -0
  1555. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/error.wit +0 -0
  1556. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/poll.wit +0 -0
  1557. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/streams.wit +0 -0
  1558. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/io/world.wit +0 -0
  1559. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/insecure-seed.wit +0 -0
  1560. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/insecure.wit +0 -0
  1561. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/random.wit +0 -0
  1562. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/random/world.wit +0 -0
  1563. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/instance-network.wit +0 -0
  1564. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1565. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/network.wit +0 -0
  1566. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1567. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/tcp.wit +0 -0
  1568. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1569. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/udp.wit +0 -0
  1570. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/deps/sockets/world.wit +0 -0
  1571. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/wit/test.wit +0 -0
  1572. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview0/typenames.witx +0 -0
  1573. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview0/wasi_unstable.witx +0 -0
  1574. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview1/typenames.witx +0 -0
  1575. /data/ext/cargo-vendor/{wasmtime-wasi-22.0.0 → wasmtime-wasi-23.0.2}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1576. /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/LICENSE +0 -0
  1577. /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/src/builder.rs +0 -0
  1578. /data/ext/cargo-vendor/{wasmtime-winch-22.0.0 → wasmtime-winch-23.0.2}/src/lib.rs +0 -0
  1579. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/rust.rs +0 -0
  1580. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/source.rs +0 -0
  1581. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-22.0.0 → wasmtime-wit-bindgen-23.0.2}/src/types.rs +0 -0
  1582. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/README.md +0 -0
  1583. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/alias.rs +0 -0
  1584. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/custom.rs +0 -0
  1585. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/export.rs +0 -0
  1586. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/func.rs +0 -0
  1587. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/import.rs +0 -0
  1588. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/instance.rs +0 -0
  1589. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/item_ref.rs +0 -0
  1590. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/module.rs +0 -0
  1591. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/types.rs +0 -0
  1592. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/component/wast.rs +0 -0
  1593. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/custom.rs +0 -0
  1594. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/export.rs +0 -0
  1595. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/func.rs +0 -0
  1596. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/global.rs +0 -0
  1597. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/import.rs +0 -0
  1598. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/resolve/mod.rs +0 -0
  1599. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/tag.rs +0 -0
  1600. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/core/wast.rs +0 -0
  1601. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/encode.rs +0 -0
  1602. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/error.rs +0 -0
  1603. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/gensym.rs +0 -0
  1604. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/lexer.rs +0 -0
  1605. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/names.rs +0 -0
  1606. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/token.rs +0 -0
  1607. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/src/wast.rs +0 -0
  1608. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/annotations.rs +0 -0
  1609. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/comments.rs +0 -0
  1610. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-core-func-alias.wat +0 -0
  1611. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
  1612. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-func-alias.wat +0 -0
  1613. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-func-alias.wat.err +0 -0
  1614. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-index.wat +0 -0
  1615. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-index.wat.err +0 -0
  1616. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name.wat +0 -0
  1617. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name.wat.err +0 -0
  1618. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name2.wat +0 -0
  1619. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name2.wat.err +0 -0
  1620. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name3.wat +0 -0
  1621. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/bad-name3.wat.err +0 -0
  1622. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block1.wat +0 -0
  1623. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block1.wat.err +0 -0
  1624. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block2.wat +0 -0
  1625. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block2.wat.err +0 -0
  1626. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block3.wat +0 -0
  1627. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/block3.wat.err +0 -0
  1628. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment0.wat +0 -0
  1629. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
  1630. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment1.wat +0 -0
  1631. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
  1632. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment2.wat +0 -0
  1633. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
  1634. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment3.wat +0 -0
  1635. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
  1636. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment4.wat +0 -0
  1637. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
  1638. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment5.wat +0 -0
  1639. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
  1640. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment6.wat +0 -0
  1641. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
  1642. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment7.wat +0 -0
  1643. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
  1644. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment8.wat +0 -0
  1645. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
  1646. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment0.wat +0 -0
  1647. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
  1648. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment1.wat +0 -0
  1649. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
  1650. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment2.wat +0 -0
  1651. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
  1652. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment3.wat +0 -0
  1653. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
  1654. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment4.wat +0 -0
  1655. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
  1656. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment5.wat +0 -0
  1657. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
  1658. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment6.wat +0 -0
  1659. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
  1660. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment7.wat +0 -0
  1661. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
  1662. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment8.wat +0 -0
  1663. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
  1664. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string0.wat +0 -0
  1665. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string0.wat.err +0 -0
  1666. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string1.wat +0 -0
  1667. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string1.wat.err +0 -0
  1668. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string2.wat +0 -0
  1669. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string2.wat.err +0 -0
  1670. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string3.wat +0 -0
  1671. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string3.wat.err +0 -0
  1672. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string4.wat +0 -0
  1673. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string4.wat.err +0 -0
  1674. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string5.wat +0 -0
  1675. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string5.wat.err +0 -0
  1676. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string6.wat +0 -0
  1677. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string6.wat.err +0 -0
  1678. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string7.wat +0 -0
  1679. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string7.wat.err +0 -0
  1680. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string8.wat +0 -0
  1681. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/confusing-string8.wat.err +0 -0
  1682. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/inline1.wat +0 -0
  1683. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/inline1.wat.err +0 -0
  1684. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/newline-in-string.wat +0 -0
  1685. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/newline-in-string.wat.err +0 -0
  1686. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string1.wat +0 -0
  1687. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string1.wat.err +0 -0
  1688. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string10.wat +0 -0
  1689. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string10.wat.err +0 -0
  1690. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string11.wat +0 -0
  1691. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string11.wat.err +0 -0
  1692. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string12.wat +0 -0
  1693. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string12.wat.err +0 -0
  1694. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string13.wat +0 -0
  1695. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string13.wat.err +0 -0
  1696. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string14.wat +0 -0
  1697. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string14.wat.err +0 -0
  1698. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string15.wat +0 -0
  1699. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string15.wat.err +0 -0
  1700. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string16.wat +0 -0
  1701. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string16.wat.err +0 -0
  1702. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string2.wat +0 -0
  1703. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string2.wat.err +0 -0
  1704. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string3.wat +0 -0
  1705. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string3.wat.err +0 -0
  1706. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string4.wat +0 -0
  1707. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string4.wat.err +0 -0
  1708. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string5.wat +0 -0
  1709. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string5.wat.err +0 -0
  1710. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string6.wat +0 -0
  1711. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string6.wat.err +0 -0
  1712. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string7.wat +0 -0
  1713. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string7.wat.err +0 -0
  1714. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string8.wat +0 -0
  1715. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string8.wat.err +0 -0
  1716. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string9.wat +0 -0
  1717. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/string9.wat.err +0 -0
  1718. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/unbalanced.wat +0 -0
  1719. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail/unbalanced.wat.err +0 -0
  1720. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/parse-fail.rs +0 -0
  1721. /data/ext/cargo-vendor/{wast-209.0.1 → wast-215.0.0}/tests/recursive.rs +0 -0
  1722. /data/ext/cargo-vendor/{wat-1.209.1 → wat-1.215.0}/README.md +0 -0
  1723. /data/ext/cargo-vendor/{wast-209.0.1 → wiggle-23.0.2}/LICENSE +0 -0
  1724. /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/README.md +0 -0
  1725. /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/error.rs +0 -0
  1726. /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/guest_type.rs +0 -0
  1727. /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/lib.rs +0 -0
  1728. /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-23.0.2}/src/region.rs +0 -0
  1729. /data/ext/cargo-vendor/{wat-1.209.1 → wiggle-generate-23.0.2}/LICENSE +0 -0
  1730. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/README.md +0 -0
  1731. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/codegen_settings.rs +0 -0
  1732. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/config.rs +0 -0
  1733. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/funcs.rs +0 -0
  1734. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/lib.rs +0 -0
  1735. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/lifetimes.rs +0 -0
  1736. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/module_trait.rs +0 -0
  1737. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/names.rs +0 -0
  1738. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/error.rs +0 -0
  1739. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/flags.rs +0 -0
  1740. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/handle.rs +0 -0
  1741. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/mod.rs +0 -0
  1742. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/record.rs +0 -0
  1743. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/types/variant.rs +0 -0
  1744. /data/ext/cargo-vendor/{wiggle-generate-22.0.0 → wiggle-generate-23.0.2}/src/wasmtime.rs +0 -0
  1745. /data/ext/cargo-vendor/{wiggle-22.0.0 → wiggle-macro-23.0.2}/LICENSE +0 -0
  1746. /data/ext/cargo-vendor/{wiggle-macro-22.0.0 → wiggle-macro-23.0.2}/build.rs +0 -0
  1747. /data/ext/cargo-vendor/{wiggle-macro-22.0.0 → wiggle-macro-23.0.2}/src/lib.rs +0 -0
  1748. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/LICENSE +0 -0
  1749. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/build.rs +0 -0
  1750. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/abi/local.rs +0 -0
  1751. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/abi/mod.rs +0 -0
  1752. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/bounds.rs +0 -0
  1753. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/builtin.rs +0 -0
  1754. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/call.rs +0 -0
  1755. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/context.rs +0 -0
  1756. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/codegen/control.rs +0 -0
  1757. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/frame/mod.rs +0 -0
  1758. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/abi.rs +0 -0
  1759. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/address.rs +0 -0
  1760. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/asm.rs +0 -0
  1761. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/masm.rs +0 -0
  1762. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/mod.rs +0 -0
  1763. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/aarch64/regs.rs +0 -0
  1764. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/mod.rs +0 -0
  1765. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/reg.rs +0 -0
  1766. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/abi.rs +0 -0
  1767. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/address.rs +0 -0
  1768. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/asm.rs +0 -0
  1769. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/masm.rs +0 -0
  1770. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/mod.rs +0 -0
  1771. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/isa/x64/regs.rs +0 -0
  1772. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/lib.rs +0 -0
  1773. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/masm.rs +0 -0
  1774. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/regalloc.rs +0 -0
  1775. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/regset.rs +0 -0
  1776. /data/ext/cargo-vendor/{winch-codegen-0.20.0 → winch-codegen-0.21.2}/src/stack.rs +0 -0
  1777. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/README.md +0 -0
  1778. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/abi.rs +0 -0
  1779. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/ast/toposort.rs +0 -0
  1780. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/live.rs +0 -0
  1781. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/metadata.rs +0 -0
  1782. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/serde_.rs +0 -0
  1783. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/src/sizealign.rs +0 -0
  1784. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/all.rs +0 -0
  1785. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/comments.wit +0 -0
  1786. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/comments.wit.json +0 -0
  1787. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  1788. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  1789. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include/root.wit +0 -0
  1790. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/complex-include.wit.json +0 -0
  1791. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  1792. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource/foo.wit +0 -0
  1793. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/cross-package-resource.wit.json +0 -0
  1794. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  1795. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  1796. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1/join.wit +0 -0
  1797. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/diamond1.wit.json +0 -0
  1798. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  1799. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  1800. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
  1801. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
  1802. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/empty.wit +0 -0
  1803. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/empty.wit.json +0 -0
  1804. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/feature-gates.wit +0 -0
  1805. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  1806. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  1807. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  1808. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  1809. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  1810. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  1811. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  1812. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps/root.wit +0 -0
  1813. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  1814. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  1815. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  1816. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  1817. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  1818. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  1819. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  1820. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  1821. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union/root.wit +0 -0
  1822. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps-union.wit.json +0 -0
  1823. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/foreign-deps.wit.json +0 -0
  1824. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/functions.wit +0 -0
  1825. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/functions.wit.json +0 -0
  1826. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  1827. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  1828. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps/world.wit +0 -0
  1829. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/ignore-files-deps.wit.json +0 -0
  1830. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap1.wit +0 -0
  1831. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap1.wit.json +0 -0
  1832. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap2.wit +0 -0
  1833. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/import-export-overlap2.wit.json +0 -0
  1834. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/include-reps.wit +0 -0
  1835. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/include-reps.wit.json +0 -0
  1836. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kebab-name-include-with.wit +0 -0
  1837. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
  1838. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/a.wit +0 -0
  1839. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  1840. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  1841. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  1842. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  1843. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/kinds-of-deps.wit.json +0 -0
  1844. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names/a.wit +0 -0
  1845. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names/b.wit +0 -0
  1846. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/many-names.wit.json +0 -0
  1847. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/bar.wit +0 -0
  1848. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/cycle-a.wit +0 -0
  1849. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/cycle-b.wit +0 -0
  1850. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file/foo.wit +0 -0
  1851. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/multi-file.wit.json +0 -0
  1852. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  1853. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  1854. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  1855. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax1.wit +0 -0
  1856. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax1.wit.json +0 -0
  1857. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax3.wit +0 -0
  1858. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax3.wit.json +0 -0
  1859. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax4.wit +0 -0
  1860. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/package-syntax4.wit.json +0 -0
  1861. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1862. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  1863. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/async.wit.result +0 -0
  1864. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  1865. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function.wit +0 -0
  1866. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  1867. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
  1868. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  1869. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate1.wit +0 -0
  1870. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate1.wit.result +0 -0
  1871. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate2.wit +0 -0
  1872. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate2.wit.result +0 -0
  1873. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate3.wit +0 -0
  1874. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate3.wit.result +0 -0
  1875. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate4.wit +0 -0
  1876. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate4.wit.result +0 -0
  1877. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate5.wit +0 -0
  1878. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-gate5.wit.result +0 -0
  1879. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
  1880. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  1881. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
  1882. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  1883. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
  1884. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  1885. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  1886. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1887. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  1888. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  1889. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  1890. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  1891. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  1892. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1893. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  1894. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  1895. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  1896. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  1897. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  1898. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  1899. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  1900. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  1901. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1902. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  1903. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  1904. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  1905. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  1906. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  1907. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  1908. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  1909. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  1910. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  1911. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  1912. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  1913. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  1914. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  1934. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  1935. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since1.wit +0 -0
  1936. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since1.wit.result +0 -0
  1937. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since3.wit +0 -0
  1938. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-since3.wit.result +0 -0
  1939. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  1940. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  1941. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  1942. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  1943. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
  1944. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle.wit +0 -0
  1945. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
  1946. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle2.wit +0 -0
  1947. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  1948. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle3.wit +0 -0
  1949. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  1950. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle4.wit +0 -0
  1951. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  1952. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle5.wit +0 -0
  1953. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  1954. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  1955. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  1956. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  1957. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  1958. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  1959. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  1960. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  1961. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  1962. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  1963. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  1964. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  1965. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  1966. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  1967. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
  1968. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  1969. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  1970. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  1971. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/export-twice.wit +0 -0
  1972. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  1973. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  1974. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  1975. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  1976. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  1977. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  1978. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  1979. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  1980. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  1981. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  1982. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  1983. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-twice.wit +0 -0
  1984. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  1985. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
  1986. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  1987. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  1988. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  1989. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  1990. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
  1991. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  1992. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  1993. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  1994. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  1995. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  1996. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  1997. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  1998. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  1999. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  2000. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  2001. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  2002. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  2003. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  2004. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/keyword.wit +0 -0
  2005. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  2006. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/missing-package.wit +0 -0
  2007. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  2008. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  2009. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  2010. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
  2011. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  2012. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  2013. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  2014. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  2015. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  2016. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  2017. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  2018. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  2019. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  2020. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  2021. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  2022. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  2023. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  2024. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit +0 -0
  2025. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +0 -0
  2026. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-return-borrow.wit +0 -0
  2027. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/resources-return-borrow.wit.result +0 -0
  2028. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow1.wit +0 -0
  2029. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow1.wit.result +0 -0
  2030. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow2.wit +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow2.wit.result +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow3.wit +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow3.wit.result +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow4.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow4.wit.result +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow5.wit +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow5.wit.result +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow6.wit +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow6.wit.result +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow7.wit +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow7.wit.result +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8/deps/baz.wit +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8/foo.wit +0 -0
  2044. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/return-borrow8.wit.result +0 -0
  2045. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  2046. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  2047. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  2048. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  2049. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  2050. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  2051. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  2052. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  2053. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  2054. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  2055. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  2056. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  2057. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  2058. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  2059. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  2060. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  2061. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  2062. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  2063. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  2064. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  2065. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  2066. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  2067. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  2068. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  2069. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  2070. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  2071. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2072. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2073. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2074. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2075. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2076. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2077. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2078. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  2079. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2080. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2081. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2082. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2083. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2084. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2085. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2086. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2087. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2088. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2089. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2090. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2091. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2092. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2093. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
  2094. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2095. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2096. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2097. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2098. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2099. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2100. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2101. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2102. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2103. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2104. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/random.wit +0 -0
  2105. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/random.wit.json +0 -0
  2106. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-empty.wit +0 -0
  2107. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-empty.wit.json +0 -0
  2108. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2109. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2110. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple.wit +0 -0
  2111. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-multiple.wit.json +0 -0
  2112. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-return-own.wit +0 -0
  2113. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources-return-own.wit.json +0 -0
  2114. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources.wit +0 -0
  2115. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources.wit.json +0 -0
  2116. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources1.wit +0 -0
  2117. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/resources1.wit.json +0 -0
  2118. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/same-name-import-export.wit +0 -0
  2119. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/same-name-import-export.wit.json +0 -0
  2120. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/shared-types.wit +0 -0
  2121. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/shared-types.wit.json +0 -0
  2122. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/simple-wasm-text.wat +0 -0
  2123. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/simple-wasm-text.wit.json +0 -0
  2124. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/since-and-unstable.wit +0 -0
  2125. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/stress-export-elaborate.wit +0 -0
  2126. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
  2127. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/type-then-eof.wit +0 -0
  2128. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/type-then-eof.wit.json +0 -0
  2129. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/types.wit +0 -0
  2130. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/types.wit.json +0 -0
  2131. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-1.wit +0 -0
  2132. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-1.wit.json +0 -0
  2133. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-2.wit +0 -0
  2134. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/union-fuzz-2.wit.json +0 -0
  2135. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use-chain.wit +0 -0
  2136. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use-chain.wit.json +0 -0
  2137. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use.wit +0 -0
  2138. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/use.wit.json +0 -0
  2139. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2140. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2141. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions/foo.wit +0 -0
  2142. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/versions.wit.json +0 -0
  2143. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/wasi.wit +0 -0
  2144. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/wasi.wit.json +0 -0
  2145. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-diamond.wit +0 -0
  2146. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-diamond.wit.json +0 -0
  2147. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-iface-no-collide.wit +0 -0
  2148. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
  2149. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import1.wit +0 -0
  2150. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import1.wit.json +0 -0
  2151. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import2.wit +0 -0
  2152. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import2.wit.json +0 -0
  2153. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import3.wit +0 -0
  2154. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-implicit-import3.wit.json +0 -0
  2155. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-same-fields4.wit +0 -0
  2156. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-same-fields4.wit.json +0 -0
  2157. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-funcs.wit +0 -0
  2158. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2159. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-resources.wit +0 -0
  2160. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/world-top-level-resources.wit.json +0 -0
  2161. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-union-dedup.wit +0 -0
  2162. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
  2163. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-with-types.wit +0 -0
  2164. /data/ext/cargo-vendor/{wit-parser-0.209.1 → wit-parser-0.212.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,4297 @@
1
+ use crate::ir;
2
+ use crate::ir::immediates::{Ieee32, Ieee64};
3
+ use crate::ir::KnownSymbol;
4
+ use crate::isa::x64::encoding::evex::{EvexInstruction, EvexVectorLength, RegisterOrAmode};
5
+ use crate::isa::x64::encoding::rex::{
6
+ emit_simm, emit_std_enc_enc, emit_std_enc_mem, emit_std_reg_mem, emit_std_reg_reg, int_reg_enc,
7
+ low8_will_sign_extend_to_32, low8_will_sign_extend_to_64, reg_enc, LegacyPrefixes, OpcodeMap,
8
+ RexFlags,
9
+ };
10
+ use crate::isa::x64::encoding::vex::{VexInstruction, VexVectorLength};
11
+ use crate::isa::x64::inst::args::*;
12
+ use crate::isa::x64::inst::*;
13
+
14
+ /// A small helper to generate a signed conversion instruction.
15
+ fn emit_signed_cvt(
16
+ sink: &mut MachBuffer<Inst>,
17
+ info: &EmitInfo,
18
+ state: &mut EmitState,
19
+ // Required to be RealRegs.
20
+ src: Reg,
21
+ dst: Writable<Reg>,
22
+ to_f64: bool,
23
+ ) {
24
+ // Handle an unsigned int, which is the "easy" case: a signed conversion will do the
25
+ // right thing.
26
+ let op = if to_f64 {
27
+ SseOpcode::Cvtsi2sd
28
+ } else {
29
+ SseOpcode::Cvtsi2ss
30
+ };
31
+ let dst = WritableXmm::from_writable_reg(dst).unwrap();
32
+ Inst::CvtIntToFloat {
33
+ op,
34
+ dst,
35
+ src1: dst.to_reg(),
36
+ src2: GprMem::new(RegMem::reg(src)).unwrap(),
37
+ src2_size: OperandSize::Size64,
38
+ }
39
+ .emit(sink, info, state);
40
+ }
41
+
42
+ /// Emits a one way conditional jump if CC is set (true).
43
+ fn one_way_jmp(sink: &mut MachBuffer<Inst>, cc: CC, label: MachLabel) {
44
+ let cond_start = sink.cur_offset();
45
+ let cond_disp_off = cond_start + 2;
46
+ sink.use_label_at_offset(cond_disp_off, label, LabelUse::JmpRel32);
47
+ sink.put1(0x0F);
48
+ sink.put1(0x80 + cc.get_enc());
49
+ sink.put4(0x0);
50
+ }
51
+
52
+ /// Emits a relocation, attaching the current source location as well.
53
+ fn emit_reloc(sink: &mut MachBuffer<Inst>, kind: Reloc, name: &ExternalName, addend: Addend) {
54
+ sink.add_reloc(kind, name, addend);
55
+ }
56
+
57
+ /// The top-level emit function.
58
+ ///
59
+ /// Important! Do not add improved (shortened) encoding cases to existing
60
+ /// instructions without also adding tests for those improved encodings. That
61
+ /// is a dangerous game that leads to hard-to-track-down errors in the emitted
62
+ /// code.
63
+ ///
64
+ /// For all instructions, make sure to have test coverage for all of the
65
+ /// following situations. Do this by creating the cross product resulting from
66
+ /// applying the following rules to each operand:
67
+ ///
68
+ /// (1) for any insn that mentions a register: one test using a register from
69
+ /// the group [rax, rcx, rdx, rbx, rsp, rbp, rsi, rdi] and a second one
70
+ /// using a register from the group [r8, r9, r10, r11, r12, r13, r14, r15].
71
+ /// This helps detect incorrect REX prefix construction.
72
+ ///
73
+ /// (2) for any insn that mentions a byte register: one test for each of the
74
+ /// four encoding groups [al, cl, dl, bl], [spl, bpl, sil, dil],
75
+ /// [r8b .. r11b] and [r12b .. r15b]. This checks that
76
+ /// apparently-redundant REX prefixes are retained when required.
77
+ ///
78
+ /// (3) for any insn that contains an immediate field, check the following
79
+ /// cases: field is zero, field is in simm8 range (-128 .. 127), field is
80
+ /// in simm32 range (-0x8000_0000 .. 0x7FFF_FFFF). This is because some
81
+ /// instructions that require a 32-bit immediate have a short-form encoding
82
+ /// when the imm is in simm8 range.
83
+ ///
84
+ /// Rules (1), (2) and (3) don't apply for registers within address expressions
85
+ /// (`Addr`s). Those are already pretty well tested, and the registers in them
86
+ /// don't have any effect on the containing instruction (apart from possibly
87
+ /// require REX prefix bits).
88
+ ///
89
+ /// When choosing registers for a test, avoid using registers with the same
90
+ /// offset within a given group. For example, don't use rax and r8, since they
91
+ /// both have the lowest 3 bits as 000, and so the test won't detect errors
92
+ /// where those 3-bit register sub-fields are confused by the emitter. Instead
93
+ /// use (eg) rax (lo3 = 000) and r9 (lo3 = 001). Similarly, don't use (eg) cl
94
+ /// and bpl since they have the same offset in their group; use instead (eg) cl
95
+ /// and sil.
96
+ ///
97
+ /// For all instructions, also add a test that uses only low-half registers
98
+ /// (rax .. rdi, xmm0 .. xmm7) etc, so as to check that any redundant REX
99
+ /// prefixes are correctly omitted. This low-half restriction must apply to
100
+ /// _all_ registers in the insn, even those in address expressions.
101
+ ///
102
+ /// Following these rules creates large numbers of test cases, but it's the
103
+ /// only way to make the emitter reliable.
104
+ ///
105
+ /// Known possible improvements:
106
+ ///
107
+ /// * there's a shorter encoding for shl/shr/sar by a 1-bit immediate. (Do we
108
+ /// care?)
109
+ pub(crate) fn emit(
110
+ inst: &Inst,
111
+ sink: &mut MachBuffer<Inst>,
112
+ info: &EmitInfo,
113
+ state: &mut EmitState,
114
+ ) {
115
+ let matches_isa_flags = |iset_requirement: &InstructionSet| -> bool {
116
+ match iset_requirement {
117
+ // Cranelift assumes SSE2 at least.
118
+ InstructionSet::SSE | InstructionSet::SSE2 => true,
119
+ InstructionSet::SSSE3 => info.isa_flags.use_ssse3(),
120
+ InstructionSet::SSE41 => info.isa_flags.use_sse41(),
121
+ InstructionSet::SSE42 => info.isa_flags.use_sse42(),
122
+ InstructionSet::Popcnt => info.isa_flags.use_popcnt(),
123
+ InstructionSet::Lzcnt => info.isa_flags.use_lzcnt(),
124
+ InstructionSet::BMI1 => info.isa_flags.use_bmi1(),
125
+ InstructionSet::BMI2 => info.isa_flags.has_bmi2(),
126
+ InstructionSet::FMA => info.isa_flags.has_fma(),
127
+ InstructionSet::AVX => info.isa_flags.has_avx(),
128
+ InstructionSet::AVX2 => info.isa_flags.has_avx2(),
129
+ InstructionSet::AVX512BITALG => info.isa_flags.has_avx512bitalg(),
130
+ InstructionSet::AVX512DQ => info.isa_flags.has_avx512dq(),
131
+ InstructionSet::AVX512F => info.isa_flags.has_avx512f(),
132
+ InstructionSet::AVX512VBMI => info.isa_flags.has_avx512vbmi(),
133
+ InstructionSet::AVX512VL => info.isa_flags.has_avx512vl(),
134
+ }
135
+ };
136
+
137
+ // Certain instructions may be present in more than one ISA feature set; we must at least match
138
+ // one of them in the target CPU.
139
+ let isa_requirements = inst.available_in_any_isa();
140
+ if !isa_requirements.is_empty() && !isa_requirements.iter().all(matches_isa_flags) {
141
+ panic!(
142
+ "Cannot emit inst '{:?}' for target; failed to match ISA requirements: {:?}",
143
+ inst, isa_requirements
144
+ )
145
+ }
146
+
147
+ match inst {
148
+ Inst::AluRmiR {
149
+ size,
150
+ op,
151
+ src1,
152
+ src2,
153
+ dst: reg_g,
154
+ } => {
155
+ let src1 = src1.to_reg();
156
+ let reg_g = reg_g.to_reg().to_reg();
157
+ debug_assert_eq!(src1, reg_g);
158
+ let src2 = src2.clone().to_reg_mem_imm().clone();
159
+
160
+ let prefix = if *size == OperandSize::Size16 {
161
+ LegacyPrefixes::_66
162
+ } else {
163
+ LegacyPrefixes::None
164
+ };
165
+
166
+ let mut rex = RexFlags::from(*size);
167
+ let (opcode_r, opcode_m, subopcode_i) = match op {
168
+ AluRmiROpcode::Add => (0x01, 0x03, 0),
169
+ AluRmiROpcode::Adc => (0x11, 0x03, 0),
170
+ AluRmiROpcode::Sub => (0x29, 0x2B, 5),
171
+ AluRmiROpcode::Sbb => (0x19, 0x2B, 5),
172
+ AluRmiROpcode::And => (0x21, 0x23, 4),
173
+ AluRmiROpcode::Or => (0x09, 0x0B, 1),
174
+ AluRmiROpcode::Xor => (0x31, 0x33, 6),
175
+ };
176
+
177
+ let (opcode_r, opcode_m) = if *size == OperandSize::Size8 {
178
+ (opcode_r - 1, opcode_m - 1)
179
+ } else {
180
+ (opcode_r, opcode_m)
181
+ };
182
+
183
+ if *size == OperandSize::Size8 {
184
+ debug_assert!(reg_g.is_real());
185
+ rex.always_emit_if_8bit_needed(reg_g);
186
+ }
187
+
188
+ match src2 {
189
+ RegMemImm::Reg { reg: reg_e } => {
190
+ if *size == OperandSize::Size8 {
191
+ debug_assert!(reg_e.is_real());
192
+ rex.always_emit_if_8bit_needed(reg_e);
193
+ }
194
+
195
+ // GCC/llvm use the swapped operand encoding (viz., the R/RM vs RM/R
196
+ // duality). Do this too, so as to be able to compare generated machine
197
+ // code easily.
198
+ emit_std_reg_reg(sink, prefix, opcode_r, 1, reg_e, reg_g, rex);
199
+ }
200
+
201
+ RegMemImm::Mem { addr } => {
202
+ let amode = addr.finalize(state, sink);
203
+ // Here we revert to the "normal" G-E ordering.
204
+ emit_std_reg_mem(sink, prefix, opcode_m, 1, reg_g, &amode, rex, 0);
205
+ }
206
+
207
+ RegMemImm::Imm { simm32 } => {
208
+ let imm_size = if *size == OperandSize::Size8 {
209
+ 1
210
+ } else {
211
+ if low8_will_sign_extend_to_32(simm32) {
212
+ 1
213
+ } else {
214
+ if *size == OperandSize::Size16 {
215
+ 2
216
+ } else {
217
+ 4
218
+ }
219
+ }
220
+ };
221
+
222
+ let opcode = if *size == OperandSize::Size8 {
223
+ 0x80
224
+ } else if low8_will_sign_extend_to_32(simm32) {
225
+ 0x83
226
+ } else {
227
+ 0x81
228
+ };
229
+
230
+ // And also here we use the "normal" G-E ordering.
231
+ let enc_g = int_reg_enc(reg_g);
232
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode_i, enc_g, rex);
233
+ emit_simm(sink, imm_size, simm32);
234
+ }
235
+ }
236
+ }
237
+
238
+ &Inst::AluConstOp { op, size, dst } => {
239
+ let dst = WritableGpr::from_writable_reg(dst.to_writable_reg()).unwrap();
240
+ emit(
241
+ &Inst::AluRmiR {
242
+ size,
243
+ op,
244
+ dst,
245
+ src1: dst.to_reg(),
246
+ src2: dst.to_reg().into(),
247
+ },
248
+ sink,
249
+ info,
250
+ state,
251
+ );
252
+ }
253
+
254
+ Inst::AluRM {
255
+ size,
256
+ src1_dst,
257
+ src2,
258
+ op,
259
+ } => {
260
+ let src2 = src2.to_reg();
261
+ let src1_dst = src1_dst.finalize(state, sink).clone();
262
+
263
+ let opcode = match op {
264
+ AluRmiROpcode::Add => 0x01,
265
+ AluRmiROpcode::Sub => 0x29,
266
+ AluRmiROpcode::And => 0x21,
267
+ AluRmiROpcode::Or => 0x09,
268
+ AluRmiROpcode::Xor => 0x31,
269
+ _ => panic!("Unsupported read-modify-write ALU opcode"),
270
+ };
271
+
272
+ let prefix = if *size == OperandSize::Size16 {
273
+ LegacyPrefixes::_66
274
+ } else {
275
+ LegacyPrefixes::None
276
+ };
277
+ let opcode = if *size == OperandSize::Size8 {
278
+ opcode - 1
279
+ } else {
280
+ opcode
281
+ };
282
+
283
+ let mut rex = RexFlags::from(*size);
284
+ if *size == OperandSize::Size8 {
285
+ debug_assert!(src2.is_real());
286
+ rex.always_emit_if_8bit_needed(src2);
287
+ }
288
+
289
+ let enc_g = int_reg_enc(src2);
290
+ emit_std_enc_mem(sink, prefix, opcode, 1, enc_g, &src1_dst, rex, 0);
291
+ }
292
+
293
+ Inst::AluRmRVex {
294
+ size,
295
+ op,
296
+ dst,
297
+ src1,
298
+ src2,
299
+ } => {
300
+ use AluRmROpcode::*;
301
+ use LegacyPrefixes as LP;
302
+
303
+ let dst = dst.to_reg().to_reg();
304
+ let src1 = src1.to_reg();
305
+ let src2 = match src2.clone().to_reg_mem().clone() {
306
+ RegMem::Reg { reg } => {
307
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
308
+ }
309
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
310
+ };
311
+
312
+ let w = match size {
313
+ OperandSize::Size32 => false,
314
+ OperandSize::Size64 => true,
315
+
316
+ // the other cases would be rejected by isle constructors
317
+ _ => unreachable!(),
318
+ };
319
+
320
+ let (prefix, opcode) = match op {
321
+ Andn => (LP::None, 0xf2),
322
+ Sarx => (LP::_F3, 0xf7),
323
+ Shrx => (LP::_F2, 0xf7),
324
+ Shlx => (LP::_66, 0xf7),
325
+ Bzhi => (LP::None, 0xf5),
326
+ };
327
+
328
+ VexInstruction::new()
329
+ .prefix(prefix)
330
+ .map(OpcodeMap::_0F38)
331
+ .w(w)
332
+ .reg(dst.to_real_reg().unwrap().hw_enc())
333
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
334
+ .rm(src2)
335
+ .opcode(opcode)
336
+ .encode(sink);
337
+ }
338
+
339
+ Inst::UnaryRmR { size, op, src, dst } => {
340
+ let dst = dst.to_reg().to_reg();
341
+ let rex_flags = RexFlags::from(*size);
342
+ use UnaryRmROpcode::*;
343
+ let prefix = match size {
344
+ OperandSize::Size16 => match op {
345
+ Bsr | Bsf => LegacyPrefixes::_66,
346
+ Lzcnt | Tzcnt | Popcnt => LegacyPrefixes::_66F3,
347
+ },
348
+ OperandSize::Size32 | OperandSize::Size64 => match op {
349
+ Bsr | Bsf => LegacyPrefixes::None,
350
+ Lzcnt | Tzcnt | Popcnt => LegacyPrefixes::_F3,
351
+ },
352
+ _ => unreachable!(),
353
+ };
354
+
355
+ let (opcode, num_opcodes) = match op {
356
+ Bsr => (0x0fbd, 2),
357
+ Bsf => (0x0fbc, 2),
358
+ Lzcnt => (0x0fbd, 2),
359
+ Tzcnt => (0x0fbc, 2),
360
+ Popcnt => (0x0fb8, 2),
361
+ };
362
+
363
+ match src.clone().into() {
364
+ RegMem::Reg { reg: src } => {
365
+ emit_std_reg_reg(sink, prefix, opcode, num_opcodes, dst, src, rex_flags);
366
+ }
367
+ RegMem::Mem { addr: src } => {
368
+ let amode = src.finalize(state, sink).clone();
369
+ emit_std_reg_mem(sink, prefix, opcode, num_opcodes, dst, &amode, rex_flags, 0);
370
+ }
371
+ }
372
+ }
373
+
374
+ Inst::UnaryRmRVex { size, op, src, dst } => {
375
+ let dst = dst.to_reg().to_reg();
376
+ let src = match src.clone().to_reg_mem().clone() {
377
+ RegMem::Reg { reg } => {
378
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
379
+ }
380
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
381
+ };
382
+
383
+ let (opcode, opcode_ext) = match op {
384
+ UnaryRmRVexOpcode::Blsr => (0xF3, 1),
385
+ UnaryRmRVexOpcode::Blsmsk => (0xF3, 2),
386
+ UnaryRmRVexOpcode::Blsi => (0xF3, 3),
387
+ };
388
+
389
+ VexInstruction::new()
390
+ .map(OpcodeMap::_0F38)
391
+ .w(*size == OperandSize::Size64)
392
+ .opcode(opcode)
393
+ .reg(opcode_ext)
394
+ .vvvv(dst.to_real_reg().unwrap().hw_enc())
395
+ .rm(src)
396
+ .encode(sink);
397
+ }
398
+
399
+ Inst::UnaryRmRImmVex {
400
+ size,
401
+ op,
402
+ src,
403
+ dst,
404
+ imm,
405
+ } => {
406
+ let dst = dst.to_reg().to_reg();
407
+ let src = match src.clone().to_reg_mem().clone() {
408
+ RegMem::Reg { reg } => {
409
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
410
+ }
411
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
412
+ };
413
+
414
+ let opcode = match op {
415
+ UnaryRmRImmVexOpcode::Rorx => 0xF0,
416
+ };
417
+
418
+ VexInstruction::new()
419
+ .prefix(LegacyPrefixes::_F2)
420
+ .map(OpcodeMap::_0F3A)
421
+ .w(*size == OperandSize::Size64)
422
+ .opcode(opcode)
423
+ .reg(dst.to_real_reg().unwrap().hw_enc())
424
+ .rm(src)
425
+ .imm(*imm)
426
+ .encode(sink);
427
+ }
428
+
429
+ Inst::Not { size, src, dst } => {
430
+ let src = src.to_reg();
431
+ let dst = dst.to_reg().to_reg();
432
+ debug_assert_eq!(src, dst);
433
+ let rex_flags = RexFlags::from((*size, dst));
434
+ let (opcode, prefix) = match size {
435
+ OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
436
+ OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
437
+ OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
438
+ OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
439
+ };
440
+
441
+ let subopcode = 2;
442
+ let enc_src = int_reg_enc(dst);
443
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_src, rex_flags)
444
+ }
445
+
446
+ Inst::Neg { size, src, dst } => {
447
+ let src = src.to_reg();
448
+ let dst = dst.to_reg().to_reg();
449
+ debug_assert_eq!(src, dst);
450
+ let rex_flags = RexFlags::from((*size, dst));
451
+ let (opcode, prefix) = match size {
452
+ OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
453
+ OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
454
+ OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
455
+ OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
456
+ };
457
+
458
+ let subopcode = 3;
459
+ let enc_src = int_reg_enc(dst);
460
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_src, rex_flags)
461
+ }
462
+
463
+ Inst::Div {
464
+ sign,
465
+ trap,
466
+ divisor,
467
+ ..
468
+ }
469
+ | Inst::Div8 {
470
+ sign,
471
+ trap,
472
+ divisor,
473
+ ..
474
+ } => {
475
+ let divisor = divisor.clone().to_reg_mem().clone();
476
+ let size = match inst {
477
+ Inst::Div {
478
+ size,
479
+ dividend_lo,
480
+ dividend_hi,
481
+ dst_quotient,
482
+ dst_remainder,
483
+ ..
484
+ } => {
485
+ let dividend_lo = dividend_lo.to_reg();
486
+ let dividend_hi = dividend_hi.to_reg();
487
+ let dst_quotient = dst_quotient.to_reg().to_reg();
488
+ let dst_remainder = dst_remainder.to_reg().to_reg();
489
+ debug_assert_eq!(dividend_lo, regs::rax());
490
+ debug_assert_eq!(dividend_hi, regs::rdx());
491
+ debug_assert_eq!(dst_quotient, regs::rax());
492
+ debug_assert_eq!(dst_remainder, regs::rdx());
493
+ *size
494
+ }
495
+ Inst::Div8 { dividend, dst, .. } => {
496
+ let dividend = dividend.to_reg();
497
+ let dst = dst.to_reg().to_reg();
498
+ debug_assert_eq!(dividend, regs::rax());
499
+ debug_assert_eq!(dst, regs::rax());
500
+ OperandSize::Size8
501
+ }
502
+ _ => unreachable!(),
503
+ };
504
+
505
+ let (opcode, prefix) = match size {
506
+ OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
507
+ OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
508
+ OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
509
+ OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
510
+ };
511
+
512
+ sink.add_trap(*trap);
513
+
514
+ let subopcode = match sign {
515
+ DivSignedness::Signed => 7,
516
+ DivSignedness::Unsigned => 6,
517
+ };
518
+ match divisor {
519
+ RegMem::Reg { reg } => {
520
+ let src = int_reg_enc(reg);
521
+ emit_std_enc_enc(
522
+ sink,
523
+ prefix,
524
+ opcode,
525
+ 1,
526
+ subopcode,
527
+ src,
528
+ RexFlags::from((size, reg)),
529
+ )
530
+ }
531
+ RegMem::Mem { addr: src } => {
532
+ let amode = src.finalize(state, sink);
533
+ emit_std_enc_mem(
534
+ sink,
535
+ prefix,
536
+ opcode,
537
+ 1,
538
+ subopcode,
539
+ &amode,
540
+ RexFlags::from(size),
541
+ 0,
542
+ );
543
+ }
544
+ }
545
+ }
546
+
547
+ Inst::Mul {
548
+ signed,
549
+ size,
550
+ src1,
551
+ src2,
552
+ dst_lo,
553
+ dst_hi,
554
+ } => {
555
+ let src1 = src1.to_reg();
556
+ let dst_lo = dst_lo.to_reg().to_reg();
557
+ let dst_hi = dst_hi.to_reg().to_reg();
558
+ debug_assert_eq!(src1, regs::rax());
559
+ debug_assert_eq!(dst_lo, regs::rax());
560
+ debug_assert_eq!(dst_hi, regs::rdx());
561
+ let src2 = src2.clone().to_reg_mem().clone();
562
+
563
+ let rex_flags = RexFlags::from(*size);
564
+ let prefix = match size {
565
+ OperandSize::Size16 => LegacyPrefixes::_66,
566
+ OperandSize::Size32 => LegacyPrefixes::None,
567
+ OperandSize::Size64 => LegacyPrefixes::None,
568
+ _ => unreachable!(),
569
+ };
570
+
571
+ let subopcode = if *signed { 5 } else { 4 };
572
+ match src2 {
573
+ RegMem::Reg { reg } => {
574
+ let src = int_reg_enc(reg);
575
+ emit_std_enc_enc(sink, prefix, 0xF7, 1, subopcode, src, rex_flags)
576
+ }
577
+ RegMem::Mem { addr: src } => {
578
+ let amode = src.finalize(state, sink);
579
+ emit_std_enc_mem(sink, prefix, 0xF7, 1, subopcode, &amode, rex_flags, 0);
580
+ }
581
+ }
582
+ }
583
+ Inst::Mul8 {
584
+ signed,
585
+ src1,
586
+ src2,
587
+ dst,
588
+ } => {
589
+ let src1 = src1.to_reg();
590
+ let dst = dst.to_reg().to_reg();
591
+ debug_assert_eq!(src1, regs::rax());
592
+ debug_assert_eq!(dst, regs::rax());
593
+ let src2 = src2.clone().to_reg_mem().clone();
594
+
595
+ let mut rex_flags = RexFlags::from(OperandSize::Size8);
596
+ let prefix = LegacyPrefixes::None;
597
+ let subopcode = if *signed { 5 } else { 4 };
598
+ match src2 {
599
+ RegMem::Reg { reg } => {
600
+ // The intel manual states:
601
+ //
602
+ // > r/m8 can not be encoded to access the following byte
603
+ // > registers if a REX prefix is used: AH, BH, CH, DH
604
+ //
605
+ // And apparently that also means that a REX prefix must be
606
+ // used if it's not one of those registers.
607
+ if !(reg == regs::rax()
608
+ || reg == regs::rbx()
609
+ || reg == regs::rcx()
610
+ || reg == regs::rdx())
611
+ {
612
+ rex_flags.always_emit();
613
+ }
614
+ let src = int_reg_enc(reg);
615
+ emit_std_enc_enc(sink, prefix, 0xF6, 1, subopcode, src, rex_flags)
616
+ }
617
+ RegMem::Mem { addr } => {
618
+ let amode = addr.finalize(state, sink);
619
+ emit_std_enc_mem(sink, prefix, 0xF6, 1, subopcode, &amode, rex_flags, 0);
620
+ }
621
+ }
622
+ }
623
+ Inst::IMul {
624
+ size,
625
+ src1,
626
+ src2,
627
+ dst,
628
+ } => {
629
+ let src1 = src1.to_reg();
630
+ let dst = dst.to_reg().to_reg();
631
+ debug_assert_eq!(src1, dst);
632
+ let src2 = src2.clone().to_reg_mem().clone();
633
+
634
+ let rex = RexFlags::from(*size);
635
+ let prefix = LegacyPrefixes::None;
636
+ match src2 {
637
+ RegMem::Reg { reg } => {
638
+ emit_std_reg_reg(sink, prefix, 0x0FAF, 2, dst, reg, rex);
639
+ }
640
+
641
+ RegMem::Mem { addr } => {
642
+ let amode = addr.finalize(state, sink);
643
+ emit_std_reg_mem(sink, prefix, 0x0FAF, 2, dst, &amode, rex, 0);
644
+ }
645
+ }
646
+ }
647
+
648
+ Inst::IMulImm {
649
+ size,
650
+ src1,
651
+ src2,
652
+ dst,
653
+ } => {
654
+ let dst = dst.to_reg().to_reg();
655
+ let src1 = src1.clone().to_reg_mem().clone();
656
+
657
+ let rex = RexFlags::from(*size);
658
+ let prefix = match size {
659
+ // NB: the intel manual doesn't seem to mention this prefix as
660
+ // being required
661
+ OperandSize::Size16 => LegacyPrefixes::_66,
662
+ _ => LegacyPrefixes::None,
663
+ };
664
+ let imm_size = if i8::try_from(*src2).is_ok() {
665
+ 1
666
+ } else {
667
+ if *size == OperandSize::Size16 {
668
+ 2
669
+ } else {
670
+ 4
671
+ }
672
+ };
673
+ let opcode = if imm_size == 1 { 0x6B } else { 0x69 };
674
+ match src1 {
675
+ RegMem::Reg { reg } => {
676
+ emit_std_reg_reg(sink, prefix, opcode, 1, dst, reg, rex);
677
+ }
678
+
679
+ RegMem::Mem { addr } => {
680
+ let amode = addr.finalize(state, sink);
681
+ emit_std_reg_mem(sink, prefix, opcode, 1, dst, &amode, rex, imm_size);
682
+ }
683
+ }
684
+ emit_simm(sink, imm_size, *src2 as u32);
685
+ }
686
+
687
+ Inst::SignExtendData { size, src, dst } => {
688
+ let src = src.to_reg();
689
+ let dst = dst.to_reg().to_reg();
690
+ debug_assert_eq!(src, regs::rax());
691
+ if *size == OperandSize::Size8 {
692
+ debug_assert_eq!(dst, regs::rax());
693
+ } else {
694
+ debug_assert_eq!(dst, regs::rdx());
695
+ }
696
+ match size {
697
+ OperandSize::Size8 => {
698
+ sink.put1(0x66);
699
+ sink.put1(0x98);
700
+ }
701
+ OperandSize::Size16 => {
702
+ sink.put1(0x66);
703
+ sink.put1(0x99);
704
+ }
705
+ OperandSize::Size32 => sink.put1(0x99),
706
+ OperandSize::Size64 => {
707
+ sink.put1(0x48);
708
+ sink.put1(0x99);
709
+ }
710
+ }
711
+ }
712
+
713
+ Inst::CheckedSRemSeq { divisor, .. } | Inst::CheckedSRemSeq8 { divisor, .. } => {
714
+ let divisor = divisor.to_reg();
715
+
716
+ // Validate that the register constraints of the dividend and the
717
+ // destination are all as expected.
718
+ let (dst, size) = match inst {
719
+ Inst::CheckedSRemSeq {
720
+ dividend_lo,
721
+ dividend_hi,
722
+ dst_quotient,
723
+ dst_remainder,
724
+ size,
725
+ ..
726
+ } => {
727
+ let dividend_lo = dividend_lo.to_reg();
728
+ let dividend_hi = dividend_hi.to_reg();
729
+ let dst_quotient = dst_quotient.to_reg().to_reg();
730
+ let dst_remainder = dst_remainder.to_reg().to_reg();
731
+ debug_assert_eq!(dividend_lo, regs::rax());
732
+ debug_assert_eq!(dividend_hi, regs::rdx());
733
+ debug_assert_eq!(dst_quotient, regs::rax());
734
+ debug_assert_eq!(dst_remainder, regs::rdx());
735
+ (regs::rdx(), *size)
736
+ }
737
+ Inst::CheckedSRemSeq8 { dividend, dst, .. } => {
738
+ let dividend = dividend.to_reg();
739
+ let dst = dst.to_reg().to_reg();
740
+ debug_assert_eq!(dividend, regs::rax());
741
+ debug_assert_eq!(dst, regs::rax());
742
+ (regs::rax(), OperandSize::Size8)
743
+ }
744
+ _ => unreachable!(),
745
+ };
746
+
747
+ // Generates the following code sequence:
748
+ //
749
+ // cmp -1 %divisor
750
+ // jnz $do_op
751
+ //
752
+ // ;; for srem, result is 0
753
+ // mov #0, %dst
754
+ // j $done
755
+ //
756
+ // $do_op:
757
+ // idiv %divisor
758
+ //
759
+ // $done:
760
+
761
+ let do_op = sink.get_label();
762
+ let done_label = sink.get_label();
763
+
764
+ // Check if the divisor is -1, and if it isn't then immediately
765
+ // go to the `idiv`.
766
+ let inst = Inst::cmp_rmi_r(size, divisor, RegMemImm::imm(0xffffffff));
767
+ inst.emit(sink, info, state);
768
+ one_way_jmp(sink, CC::NZ, do_op);
769
+
770
+ // ... otherwise the divisor is -1 and the result is always 0. This
771
+ // is written to the destination register which will be %rax for
772
+ // 8-bit srem and %rdx otherwise.
773
+ //
774
+ // Note that for 16-to-64-bit srem operations this leaves the
775
+ // second destination, %rax, unchanged. This isn't semantically
776
+ // correct if a lowering actually tries to use the `dst_quotient`
777
+ // output but for srem only the `dst_remainder` output is used for
778
+ // now.
779
+ let inst = Inst::imm(OperandSize::Size64, 0, Writable::from_reg(dst));
780
+ inst.emit(sink, info, state);
781
+ let inst = Inst::jmp_known(done_label);
782
+ inst.emit(sink, info, state);
783
+
784
+ // Here the `idiv` is executed, which is different depending on the
785
+ // size
786
+ sink.bind_label(do_op, state.ctrl_plane_mut());
787
+ let inst = match size {
788
+ OperandSize::Size8 => Inst::div8(
789
+ DivSignedness::Signed,
790
+ TrapCode::IntegerDivisionByZero,
791
+ RegMem::reg(divisor),
792
+ Gpr::new(regs::rax()).unwrap(),
793
+ Writable::from_reg(Gpr::new(regs::rax()).unwrap()),
794
+ ),
795
+ _ => Inst::div(
796
+ size,
797
+ DivSignedness::Signed,
798
+ TrapCode::IntegerDivisionByZero,
799
+ RegMem::reg(divisor),
800
+ Gpr::new(regs::rax()).unwrap(),
801
+ Gpr::new(regs::rdx()).unwrap(),
802
+ Writable::from_reg(Gpr::new(regs::rax()).unwrap()),
803
+ Writable::from_reg(Gpr::new(regs::rdx()).unwrap()),
804
+ ),
805
+ };
806
+ inst.emit(sink, info, state);
807
+
808
+ sink.bind_label(done_label, state.ctrl_plane_mut());
809
+ }
810
+
811
+ Inst::Imm {
812
+ dst_size,
813
+ simm64,
814
+ dst,
815
+ } => {
816
+ let dst = dst.to_reg().to_reg();
817
+ let enc_dst = int_reg_enc(dst);
818
+ if *dst_size == OperandSize::Size64 {
819
+ if low32_will_sign_extend_to_64(*simm64) {
820
+ // Sign-extended move imm32.
821
+ emit_std_enc_enc(
822
+ sink,
823
+ LegacyPrefixes::None,
824
+ 0xC7,
825
+ 1,
826
+ /* subopcode */ 0,
827
+ enc_dst,
828
+ RexFlags::set_w(),
829
+ );
830
+ sink.put4(*simm64 as u32);
831
+ } else {
832
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
833
+ sink.put1(0xB8 | (enc_dst & 7));
834
+ sink.put8(*simm64);
835
+ }
836
+ } else {
837
+ if ((enc_dst >> 3) & 1) == 1 {
838
+ sink.put1(0x41);
839
+ }
840
+ sink.put1(0xB8 | (enc_dst & 7));
841
+ sink.put4(*simm64 as u32);
842
+ }
843
+ }
844
+
845
+ Inst::MovImmM { size, simm32, dst } => {
846
+ let dst = &dst.finalize(state, sink).clone();
847
+ let default_rex = RexFlags::clear_w();
848
+ let default_opcode = 0xC7;
849
+ let bytes = size.to_bytes();
850
+ let prefix = LegacyPrefixes::None;
851
+
852
+ let (opcode, rex, size, prefix) = match *size {
853
+ // In the 8-bit case, we don't need to enforce REX flags via
854
+ // `always_emit_if_8bit_needed()` since the destination
855
+ // operand is a memory operand, not a possibly 8-bit register.
856
+ OperandSize::Size8 => (0xC6, default_rex, bytes, prefix),
857
+ OperandSize::Size16 => (0xC7, default_rex, bytes, LegacyPrefixes::_66),
858
+ OperandSize::Size64 => (default_opcode, RexFlags::from(*size), bytes, prefix),
859
+
860
+ _ => (default_opcode, default_rex, bytes, prefix),
861
+ };
862
+
863
+ // 8-bit C6 /0 ib
864
+ // 16-bit 0x66 C7 /0 iw
865
+ // 32-bit C7 /0 id
866
+ // 64-bit REX.W C7 /0 id
867
+ emit_std_enc_mem(sink, prefix, opcode, 1, /*subopcode*/ 0, dst, rex, 0);
868
+ emit_simm(sink, size, *simm32 as u32);
869
+ }
870
+
871
+ Inst::MovRR { size, src, dst } => {
872
+ let src = src.to_reg();
873
+ let dst = dst.to_reg().to_reg();
874
+ emit_std_reg_reg(
875
+ sink,
876
+ LegacyPrefixes::None,
877
+ 0x89,
878
+ 1,
879
+ src,
880
+ dst,
881
+ RexFlags::from(*size),
882
+ );
883
+ }
884
+
885
+ Inst::MovFromPReg { src, dst } => {
886
+ let src: Reg = (*src).into();
887
+ debug_assert!([regs::rsp(), regs::rbp(), regs::pinned_reg()].contains(&src));
888
+ let src = Gpr::new(src).unwrap();
889
+ let size = OperandSize::Size64;
890
+ let dst = WritableGpr::from_writable_reg(dst.to_writable_reg()).unwrap();
891
+ Inst::MovRR { size, src, dst }.emit(sink, info, state);
892
+ }
893
+
894
+ Inst::MovToPReg { src, dst } => {
895
+ let src = src.to_reg();
896
+ let src = Gpr::new(src).unwrap();
897
+ let dst: Reg = (*dst).into();
898
+ debug_assert!([regs::rsp(), regs::rbp(), regs::pinned_reg()].contains(&dst));
899
+ let dst = WritableGpr::from_writable_reg(Writable::from_reg(dst)).unwrap();
900
+ let size = OperandSize::Size64;
901
+ Inst::MovRR { size, src, dst }.emit(sink, info, state);
902
+ }
903
+
904
+ Inst::MovzxRmR { ext_mode, src, dst } => {
905
+ let dst = dst.to_reg().to_reg();
906
+ let (opcodes, num_opcodes, mut rex_flags) = match ext_mode {
907
+ ExtMode::BL => {
908
+ // MOVZBL is (REX.W==0) 0F B6 /r
909
+ (0x0FB6, 2, RexFlags::clear_w())
910
+ }
911
+ ExtMode::BQ => {
912
+ // MOVZBQ is (REX.W==1) 0F B6 /r
913
+ // I'm not sure why the Intel manual offers different
914
+ // encodings for MOVZBQ than for MOVZBL. AIUI they should
915
+ // achieve the same, since MOVZBL is just going to zero out
916
+ // the upper half of the destination anyway.
917
+ (0x0FB6, 2, RexFlags::set_w())
918
+ }
919
+ ExtMode::WL => {
920
+ // MOVZWL is (REX.W==0) 0F B7 /r
921
+ (0x0FB7, 2, RexFlags::clear_w())
922
+ }
923
+ ExtMode::WQ => {
924
+ // MOVZWQ is (REX.W==1) 0F B7 /r
925
+ (0x0FB7, 2, RexFlags::set_w())
926
+ }
927
+ ExtMode::LQ => {
928
+ // This is just a standard 32 bit load, and we rely on the
929
+ // default zero-extension rule to perform the extension.
930
+ // Note that in reg/reg mode, gcc seems to use the swapped form R/RM, which we
931
+ // don't do here, since it's the same encoding size.
932
+ // MOV r/m32, r32 is (REX.W==0) 8B /r
933
+ (0x8B, 1, RexFlags::clear_w())
934
+ }
935
+ };
936
+
937
+ match src.clone().to_reg_mem() {
938
+ RegMem::Reg { reg: src } => {
939
+ match ext_mode {
940
+ ExtMode::BL | ExtMode::BQ => {
941
+ // A redundant REX prefix must be emitted for certain register inputs.
942
+ rex_flags.always_emit_if_8bit_needed(src);
943
+ }
944
+ _ => {}
945
+ }
946
+ emit_std_reg_reg(
947
+ sink,
948
+ LegacyPrefixes::None,
949
+ opcodes,
950
+ num_opcodes,
951
+ dst,
952
+ src,
953
+ rex_flags,
954
+ )
955
+ }
956
+
957
+ RegMem::Mem { addr: src } => {
958
+ let src = &src.finalize(state, sink).clone();
959
+
960
+ emit_std_reg_mem(
961
+ sink,
962
+ LegacyPrefixes::None,
963
+ opcodes,
964
+ num_opcodes,
965
+ dst,
966
+ src,
967
+ rex_flags,
968
+ 0,
969
+ )
970
+ }
971
+ }
972
+ }
973
+
974
+ Inst::Mov64MR { src, dst } => {
975
+ let dst = dst.to_reg().to_reg();
976
+ let src = &src.finalize(state, sink).clone();
977
+
978
+ emit_std_reg_mem(
979
+ sink,
980
+ LegacyPrefixes::None,
981
+ 0x8B,
982
+ 1,
983
+ dst,
984
+ src,
985
+ RexFlags::set_w(),
986
+ 0,
987
+ )
988
+ }
989
+
990
+ Inst::LoadEffectiveAddress { addr, dst, size } => {
991
+ let dst = dst.to_reg().to_reg();
992
+ let amode = addr.finalize(state, sink).clone();
993
+
994
+ // If this `lea` can actually get encoded as an `add` then do that
995
+ // instead. Currently all candidate `iadd`s become an `lea`
996
+ // pseudo-instruction here but maximizing the sue of `lea` is not
997
+ // necessarily optimal. The `lea` instruction goes through dedicated
998
+ // address units on cores which are finite and disjoint from the
999
+ // general ALU, so if everything uses `lea` then those units can get
1000
+ // saturated while leaving the ALU idle.
1001
+ //
1002
+ // To help make use of more parts of a cpu, this attempts to use
1003
+ // `add` when it's semantically equivalent to `lea`, or otherwise
1004
+ // when the `dst` register is the same as the `base` or `index`
1005
+ // register.
1006
+ //
1007
+ // FIXME: ideally regalloc is informed of this constraint. Register
1008
+ // allocation of `lea` should "attempt" to put the `base` in the
1009
+ // same register as `dst` but not at the expense of generating a
1010
+ // `mov` instruction. Currently that's not possible but perhaps one
1011
+ // day it may be worth it.
1012
+ match amode {
1013
+ // If `base == dst` then this is `add $imm, %dst`, so encode
1014
+ // that instead.
1015
+ Amode::ImmReg {
1016
+ simm32,
1017
+ base,
1018
+ flags: _,
1019
+ } if base == dst => {
1020
+ let inst = Inst::alu_rmi_r(
1021
+ *size,
1022
+ AluRmiROpcode::Add,
1023
+ RegMemImm::imm(simm32 as u32),
1024
+ Writable::from_reg(dst),
1025
+ );
1026
+ inst.emit(sink, info, state);
1027
+ }
1028
+ // If the offset is 0 and the shift is 0 (meaning multiplication
1029
+ // by 1) then:
1030
+ //
1031
+ // * If `base == dst`, then this is `add %index, %base`
1032
+ // * If `index == dst`, then this is `add %base, %index`
1033
+ //
1034
+ // Encode the appropriate instruction here in that case.
1035
+ Amode::ImmRegRegShift {
1036
+ simm32: 0,
1037
+ base,
1038
+ index,
1039
+ shift: 0,
1040
+ flags: _,
1041
+ } if base == dst || index == dst => {
1042
+ let (dst, operand) = if base == dst {
1043
+ (base, index)
1044
+ } else {
1045
+ (index, base)
1046
+ };
1047
+ let inst = Inst::alu_rmi_r(
1048
+ *size,
1049
+ AluRmiROpcode::Add,
1050
+ RegMemImm::reg(operand.to_reg()),
1051
+ Writable::from_reg(dst.to_reg()),
1052
+ );
1053
+ inst.emit(sink, info, state);
1054
+ }
1055
+
1056
+ // If `lea`'s 3-operand mode is leveraged by regalloc, or if
1057
+ // it's fancy like imm-plus-shift-plus-base, then `lea` is
1058
+ // actually emitted.
1059
+ _ => {
1060
+ let flags = match size {
1061
+ OperandSize::Size32 => RexFlags::clear_w(),
1062
+ OperandSize::Size64 => RexFlags::set_w(),
1063
+ _ => unreachable!(),
1064
+ };
1065
+ emit_std_reg_mem(sink, LegacyPrefixes::None, 0x8D, 1, dst, &amode, flags, 0);
1066
+ }
1067
+ };
1068
+ }
1069
+
1070
+ Inst::MovsxRmR { ext_mode, src, dst } => {
1071
+ let dst = dst.to_reg().to_reg();
1072
+ let (opcodes, num_opcodes, mut rex_flags) = match ext_mode {
1073
+ ExtMode::BL => {
1074
+ // MOVSBL is (REX.W==0) 0F BE /r
1075
+ (0x0FBE, 2, RexFlags::clear_w())
1076
+ }
1077
+ ExtMode::BQ => {
1078
+ // MOVSBQ is (REX.W==1) 0F BE /r
1079
+ (0x0FBE, 2, RexFlags::set_w())
1080
+ }
1081
+ ExtMode::WL => {
1082
+ // MOVSWL is (REX.W==0) 0F BF /r
1083
+ (0x0FBF, 2, RexFlags::clear_w())
1084
+ }
1085
+ ExtMode::WQ => {
1086
+ // MOVSWQ is (REX.W==1) 0F BF /r
1087
+ (0x0FBF, 2, RexFlags::set_w())
1088
+ }
1089
+ ExtMode::LQ => {
1090
+ // MOVSLQ is (REX.W==1) 63 /r
1091
+ (0x63, 1, RexFlags::set_w())
1092
+ }
1093
+ };
1094
+
1095
+ match src.clone().to_reg_mem() {
1096
+ RegMem::Reg { reg: src } => {
1097
+ match ext_mode {
1098
+ ExtMode::BL | ExtMode::BQ => {
1099
+ // A redundant REX prefix must be emitted for certain register inputs.
1100
+ rex_flags.always_emit_if_8bit_needed(src);
1101
+ }
1102
+ _ => {}
1103
+ }
1104
+ emit_std_reg_reg(
1105
+ sink,
1106
+ LegacyPrefixes::None,
1107
+ opcodes,
1108
+ num_opcodes,
1109
+ dst,
1110
+ src,
1111
+ rex_flags,
1112
+ )
1113
+ }
1114
+
1115
+ RegMem::Mem { addr: src } => {
1116
+ let src = &src.finalize(state, sink).clone();
1117
+
1118
+ emit_std_reg_mem(
1119
+ sink,
1120
+ LegacyPrefixes::None,
1121
+ opcodes,
1122
+ num_opcodes,
1123
+ dst,
1124
+ src,
1125
+ rex_flags,
1126
+ 0,
1127
+ )
1128
+ }
1129
+ }
1130
+ }
1131
+
1132
+ Inst::MovRM { size, src, dst } => {
1133
+ let src = src.to_reg();
1134
+ let dst = &dst.finalize(state, sink).clone();
1135
+
1136
+ let prefix = match size {
1137
+ OperandSize::Size16 => LegacyPrefixes::_66,
1138
+ _ => LegacyPrefixes::None,
1139
+ };
1140
+
1141
+ let opcode = match size {
1142
+ OperandSize::Size8 => 0x88,
1143
+ _ => 0x89,
1144
+ };
1145
+
1146
+ // This is one of the few places where the presence of a
1147
+ // redundant REX prefix changes the meaning of the
1148
+ // instruction.
1149
+ let rex = RexFlags::from((*size, src));
1150
+
1151
+ // 8-bit: MOV r8, r/m8 is (REX.W==0) 88 /r
1152
+ // 16-bit: MOV r16, r/m16 is 66 (REX.W==0) 89 /r
1153
+ // 32-bit: MOV r32, r/m32 is (REX.W==0) 89 /r
1154
+ // 64-bit: MOV r64, r/m64 is (REX.W==1) 89 /r
1155
+ emit_std_reg_mem(sink, prefix, opcode, 1, src, dst, rex, 0);
1156
+ }
1157
+
1158
+ Inst::ShiftR {
1159
+ size,
1160
+ kind,
1161
+ src,
1162
+ num_bits,
1163
+ dst,
1164
+ } => {
1165
+ let src = src.to_reg();
1166
+ let dst = dst.to_reg().to_reg();
1167
+ debug_assert_eq!(src, dst);
1168
+ let subopcode = match kind {
1169
+ ShiftKind::RotateLeft => 0,
1170
+ ShiftKind::RotateRight => 1,
1171
+ ShiftKind::ShiftLeft => 4,
1172
+ ShiftKind::ShiftRightLogical => 5,
1173
+ ShiftKind::ShiftRightArithmetic => 7,
1174
+ };
1175
+ let enc_dst = int_reg_enc(dst);
1176
+ let rex_flags = RexFlags::from((*size, dst));
1177
+ match num_bits.as_imm8_reg() {
1178
+ &Imm8Reg::Reg { reg } => {
1179
+ debug_assert_eq!(reg, regs::rcx());
1180
+ let (opcode, prefix) = match size {
1181
+ OperandSize::Size8 => (0xD2, LegacyPrefixes::None),
1182
+ OperandSize::Size16 => (0xD3, LegacyPrefixes::_66),
1183
+ OperandSize::Size32 => (0xD3, LegacyPrefixes::None),
1184
+ OperandSize::Size64 => (0xD3, LegacyPrefixes::None),
1185
+ };
1186
+
1187
+ // SHL/SHR/SAR %cl, reg8 is (REX.W==0) D2 /subopcode
1188
+ // SHL/SHR/SAR %cl, reg16 is 66 (REX.W==0) D3 /subopcode
1189
+ // SHL/SHR/SAR %cl, reg32 is (REX.W==0) D3 /subopcode
1190
+ // SHL/SHR/SAR %cl, reg64 is (REX.W==1) D3 /subopcode
1191
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_dst, rex_flags);
1192
+ }
1193
+
1194
+ &Imm8Reg::Imm8 { imm: num_bits } => {
1195
+ let (opcode, prefix) = match size {
1196
+ OperandSize::Size8 => (0xC0, LegacyPrefixes::None),
1197
+ OperandSize::Size16 => (0xC1, LegacyPrefixes::_66),
1198
+ OperandSize::Size32 => (0xC1, LegacyPrefixes::None),
1199
+ OperandSize::Size64 => (0xC1, LegacyPrefixes::None),
1200
+ };
1201
+
1202
+ // SHL/SHR/SAR $ib, reg8 is (REX.W==0) C0 /subopcode
1203
+ // SHL/SHR/SAR $ib, reg16 is 66 (REX.W==0) C1 /subopcode
1204
+ // SHL/SHR/SAR $ib, reg32 is (REX.W==0) C1 /subopcode ib
1205
+ // SHL/SHR/SAR $ib, reg64 is (REX.W==1) C1 /subopcode ib
1206
+ // When the shift amount is 1, there's an even shorter encoding, but we don't
1207
+ // bother with that nicety here.
1208
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_dst, rex_flags);
1209
+ sink.put1(num_bits);
1210
+ }
1211
+ }
1212
+ }
1213
+
1214
+ Inst::XmmRmiReg {
1215
+ opcode,
1216
+ src1,
1217
+ src2,
1218
+ dst,
1219
+ } => {
1220
+ let src1 = src1.to_reg();
1221
+ let dst = dst.to_reg().to_reg();
1222
+ debug_assert_eq!(src1, dst);
1223
+ let rex = RexFlags::clear_w();
1224
+ let prefix = LegacyPrefixes::_66;
1225
+ let src2 = src2.clone().to_reg_mem_imm();
1226
+ if let RegMemImm::Imm { simm32 } = src2 {
1227
+ let (opcode_bytes, reg_digit) = match opcode {
1228
+ SseOpcode::Psllw => (0x0F71, 6),
1229
+ SseOpcode::Pslld => (0x0F72, 6),
1230
+ SseOpcode::Psllq => (0x0F73, 6),
1231
+ SseOpcode::Psraw => (0x0F71, 4),
1232
+ SseOpcode::Psrad => (0x0F72, 4),
1233
+ SseOpcode::Psrlw => (0x0F71, 2),
1234
+ SseOpcode::Psrld => (0x0F72, 2),
1235
+ SseOpcode::Psrlq => (0x0F73, 2),
1236
+ _ => panic!("invalid opcode: {}", opcode),
1237
+ };
1238
+ let dst_enc = reg_enc(dst);
1239
+ emit_std_enc_enc(sink, prefix, opcode_bytes, 2, reg_digit, dst_enc, rex);
1240
+ let imm = (simm32)
1241
+ .try_into()
1242
+ .expect("the immediate must be convertible to a u8");
1243
+ sink.put1(imm);
1244
+ } else {
1245
+ let opcode_bytes = match opcode {
1246
+ SseOpcode::Psllw => 0x0FF1,
1247
+ SseOpcode::Pslld => 0x0FF2,
1248
+ SseOpcode::Psllq => 0x0FF3,
1249
+ SseOpcode::Psraw => 0x0FE1,
1250
+ SseOpcode::Psrad => 0x0FE2,
1251
+ SseOpcode::Psrlw => 0x0FD1,
1252
+ SseOpcode::Psrld => 0x0FD2,
1253
+ SseOpcode::Psrlq => 0x0FD3,
1254
+ _ => panic!("invalid opcode: {}", opcode),
1255
+ };
1256
+
1257
+ match src2 {
1258
+ RegMemImm::Reg { reg } => {
1259
+ emit_std_reg_reg(sink, prefix, opcode_bytes, 2, dst, reg, rex);
1260
+ }
1261
+ RegMemImm::Mem { addr } => {
1262
+ let addr = &addr.finalize(state, sink).clone();
1263
+ emit_std_reg_mem(sink, prefix, opcode_bytes, 2, dst, addr, rex, 0);
1264
+ }
1265
+ RegMemImm::Imm { .. } => unreachable!(),
1266
+ }
1267
+ };
1268
+ }
1269
+
1270
+ Inst::CmpRmiR {
1271
+ size,
1272
+ src1: reg_g,
1273
+ src2: src_e,
1274
+ opcode,
1275
+ } => {
1276
+ let reg_g = reg_g.to_reg();
1277
+
1278
+ let is_cmp = match opcode {
1279
+ CmpOpcode::Cmp => true,
1280
+ CmpOpcode::Test => false,
1281
+ };
1282
+
1283
+ let mut prefix = LegacyPrefixes::None;
1284
+ if *size == OperandSize::Size16 {
1285
+ prefix = LegacyPrefixes::_66;
1286
+ }
1287
+ // A redundant REX prefix can change the meaning of this instruction.
1288
+ let mut rex = RexFlags::from((*size, reg_g));
1289
+
1290
+ match src_e.clone().to_reg_mem_imm() {
1291
+ RegMemImm::Reg { reg: reg_e } => {
1292
+ if *size == OperandSize::Size8 {
1293
+ // Check whether the E register forces the use of a redundant REX.
1294
+ rex.always_emit_if_8bit_needed(reg_e);
1295
+ }
1296
+
1297
+ // Use the swapped operands encoding for CMP, to stay consistent with the output of
1298
+ // gcc/llvm.
1299
+ let opcode = match (*size, is_cmp) {
1300
+ (OperandSize::Size8, true) => 0x38,
1301
+ (_, true) => 0x39,
1302
+ (OperandSize::Size8, false) => 0x84,
1303
+ (_, false) => 0x85,
1304
+ };
1305
+ emit_std_reg_reg(sink, prefix, opcode, 1, reg_e, reg_g, rex);
1306
+ }
1307
+
1308
+ RegMemImm::Mem { addr } => {
1309
+ let addr = &addr.finalize(state, sink).clone();
1310
+ // Whereas here we revert to the "normal" G-E ordering for CMP.
1311
+ let opcode = match (*size, is_cmp) {
1312
+ (OperandSize::Size8, true) => 0x3A,
1313
+ (_, true) => 0x3B,
1314
+ (OperandSize::Size8, false) => 0x84,
1315
+ (_, false) => 0x85,
1316
+ };
1317
+ emit_std_reg_mem(sink, prefix, opcode, 1, reg_g, addr, rex, 0);
1318
+ }
1319
+
1320
+ RegMemImm::Imm { simm32 } => {
1321
+ // FIXME JRS 2020Feb11: there are shorter encodings for
1322
+ // cmp $imm, rax/eax/ax/al.
1323
+ let use_imm8 = is_cmp && low8_will_sign_extend_to_32(simm32);
1324
+
1325
+ // And also here we use the "normal" G-E ordering.
1326
+ let opcode = if is_cmp {
1327
+ if *size == OperandSize::Size8 {
1328
+ 0x80
1329
+ } else if use_imm8 {
1330
+ 0x83
1331
+ } else {
1332
+ 0x81
1333
+ }
1334
+ } else {
1335
+ if *size == OperandSize::Size8 {
1336
+ 0xF6
1337
+ } else {
1338
+ 0xF7
1339
+ }
1340
+ };
1341
+ let subopcode = if is_cmp { 7 } else { 0 };
1342
+
1343
+ let enc_g = int_reg_enc(reg_g);
1344
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_g, rex);
1345
+ emit_simm(sink, if use_imm8 { 1 } else { size.to_bytes() }, simm32);
1346
+ }
1347
+ }
1348
+ }
1349
+
1350
+ Inst::Setcc { cc, dst } => {
1351
+ let dst = dst.to_reg().to_reg();
1352
+ let opcode = 0x0f90 + cc.get_enc() as u32;
1353
+ let mut rex_flags = RexFlags::clear_w();
1354
+ rex_flags.always_emit();
1355
+ emit_std_enc_enc(
1356
+ sink,
1357
+ LegacyPrefixes::None,
1358
+ opcode,
1359
+ 2,
1360
+ 0,
1361
+ reg_enc(dst),
1362
+ rex_flags,
1363
+ );
1364
+ }
1365
+
1366
+ Inst::Bswap { size, src, dst } => {
1367
+ let src = src.to_reg();
1368
+ let dst = dst.to_reg().to_reg();
1369
+ debug_assert_eq!(src, dst);
1370
+ let enc_reg = int_reg_enc(dst);
1371
+
1372
+ // BSWAP reg32 is (REX.W==0) 0F C8
1373
+ // BSWAP reg64 is (REX.W==1) 0F C8
1374
+ let rex_flags = RexFlags::from(*size);
1375
+ rex_flags.emit_one_op(sink, enc_reg);
1376
+
1377
+ sink.put1(0x0F);
1378
+ sink.put1(0xC8 | (enc_reg & 7));
1379
+ }
1380
+
1381
+ Inst::Cmove {
1382
+ size,
1383
+ cc,
1384
+ consequent,
1385
+ alternative,
1386
+ dst,
1387
+ } => {
1388
+ let alternative = alternative.to_reg();
1389
+ let dst = dst.to_reg().to_reg();
1390
+ debug_assert_eq!(alternative, dst);
1391
+ let rex_flags = RexFlags::from(*size);
1392
+ let prefix = match size {
1393
+ OperandSize::Size16 => LegacyPrefixes::_66,
1394
+ OperandSize::Size32 => LegacyPrefixes::None,
1395
+ OperandSize::Size64 => LegacyPrefixes::None,
1396
+ _ => unreachable!("invalid size spec for cmove"),
1397
+ };
1398
+ let opcode = 0x0F40 + cc.get_enc() as u32;
1399
+ match consequent.clone().to_reg_mem() {
1400
+ RegMem::Reg { reg } => {
1401
+ emit_std_reg_reg(sink, prefix, opcode, 2, dst, reg, rex_flags);
1402
+ }
1403
+ RegMem::Mem { addr } => {
1404
+ let addr = &addr.finalize(state, sink).clone();
1405
+ emit_std_reg_mem(sink, prefix, opcode, 2, dst, addr, rex_flags, 0);
1406
+ }
1407
+ }
1408
+ }
1409
+
1410
+ Inst::XmmCmove {
1411
+ ty,
1412
+ cc,
1413
+ consequent,
1414
+ alternative,
1415
+ dst,
1416
+ } => {
1417
+ let alternative = alternative.to_reg();
1418
+ let dst = dst.to_writable_reg();
1419
+ debug_assert_eq!(alternative, dst.to_reg());
1420
+ let consequent = consequent.clone().to_reg();
1421
+
1422
+ // Lowering of the Select IR opcode when the input is an fcmp relies on the fact that
1423
+ // this doesn't clobber flags. Make sure to not do so here.
1424
+ let next = sink.get_label();
1425
+
1426
+ // Jump if cc is *not* set.
1427
+ one_way_jmp(sink, cc.invert(), next);
1428
+
1429
+ let op = match *ty {
1430
+ types::F64 => SseOpcode::Movsd,
1431
+ types::F32 => SseOpcode::Movsd,
1432
+ types::F32X4 => SseOpcode::Movaps,
1433
+ types::F64X2 => SseOpcode::Movapd,
1434
+ ty => {
1435
+ debug_assert!(ty.is_vector() && ty.bytes() == 16);
1436
+ SseOpcode::Movdqa
1437
+ }
1438
+ };
1439
+ let inst = Inst::xmm_unary_rm_r(op, consequent.into(), dst);
1440
+ inst.emit(sink, info, state);
1441
+
1442
+ sink.bind_label(next, state.ctrl_plane_mut());
1443
+ }
1444
+
1445
+ Inst::Push64 { src } => {
1446
+ let src = src.clone().to_reg_mem_imm().clone();
1447
+
1448
+ match src {
1449
+ RegMemImm::Reg { reg } => {
1450
+ let enc_reg = int_reg_enc(reg);
1451
+ let rex = 0x40 | ((enc_reg >> 3) & 1);
1452
+ if rex != 0x40 {
1453
+ sink.put1(rex);
1454
+ }
1455
+ sink.put1(0x50 | (enc_reg & 7));
1456
+ }
1457
+
1458
+ RegMemImm::Mem { addr } => {
1459
+ let addr = &addr.finalize(state, sink);
1460
+ emit_std_enc_mem(
1461
+ sink,
1462
+ LegacyPrefixes::None,
1463
+ 0xFF,
1464
+ 1,
1465
+ 6, /*subopcode*/
1466
+ addr,
1467
+ RexFlags::clear_w(),
1468
+ 0,
1469
+ );
1470
+ }
1471
+
1472
+ RegMemImm::Imm { simm32 } => {
1473
+ if low8_will_sign_extend_to_64(simm32) {
1474
+ sink.put1(0x6A);
1475
+ sink.put1(simm32 as u8);
1476
+ } else {
1477
+ sink.put1(0x68);
1478
+ sink.put4(simm32);
1479
+ }
1480
+ }
1481
+ }
1482
+ }
1483
+
1484
+ Inst::Pop64 { dst } => {
1485
+ let dst = dst.to_reg().to_reg();
1486
+ let enc_dst = int_reg_enc(dst);
1487
+ if enc_dst >= 8 {
1488
+ // 0x41 == REX.{W=0, B=1}. It seems that REX.W is irrelevant here.
1489
+ sink.put1(0x41);
1490
+ }
1491
+ sink.put1(0x58 + (enc_dst & 7));
1492
+ }
1493
+
1494
+ Inst::StackProbeLoop {
1495
+ tmp,
1496
+ frame_size,
1497
+ guard_size,
1498
+ } => {
1499
+ assert!(info.flags.enable_probestack());
1500
+ assert!(guard_size.is_power_of_two());
1501
+
1502
+ let tmp = *tmp;
1503
+
1504
+ // Number of probes that we need to perform
1505
+ let probe_count = align_to(*frame_size, *guard_size) / guard_size;
1506
+
1507
+ // The inline stack probe loop has 3 phases:
1508
+ //
1509
+ // We generate the "guard area" register which is essentially the frame_size aligned to
1510
+ // guard_size. We copy the stack pointer and subtract the guard area from it. This
1511
+ // gets us a register that we can use to compare when looping.
1512
+ //
1513
+ // After that we emit the loop. Essentially we just adjust the stack pointer one guard_size'd
1514
+ // distance at a time and then touch the stack by writing anything to it. We use the previously
1515
+ // created "guard area" register to know when to stop looping.
1516
+ //
1517
+ // When we have touched all the pages that we need, we have to restore the stack pointer
1518
+ // to where it was before.
1519
+ //
1520
+ // Generate the following code:
1521
+ // mov tmp_reg, rsp
1522
+ // sub tmp_reg, guard_size * probe_count
1523
+ // .loop_start:
1524
+ // sub rsp, guard_size
1525
+ // mov [rsp], rsp
1526
+ // cmp rsp, tmp_reg
1527
+ // jne .loop_start
1528
+ // add rsp, guard_size * probe_count
1529
+
1530
+ // Create the guard bound register
1531
+ // mov tmp_reg, rsp
1532
+ let inst = Inst::gen_move(tmp, regs::rsp(), types::I64);
1533
+ inst.emit(sink, info, state);
1534
+
1535
+ // sub tmp_reg, GUARD_SIZE * probe_count
1536
+ let inst = Inst::alu_rmi_r(
1537
+ OperandSize::Size64,
1538
+ AluRmiROpcode::Sub,
1539
+ RegMemImm::imm(guard_size * probe_count),
1540
+ tmp,
1541
+ );
1542
+ inst.emit(sink, info, state);
1543
+
1544
+ // Emit the main loop!
1545
+ let loop_start = sink.get_label();
1546
+ sink.bind_label(loop_start, state.ctrl_plane_mut());
1547
+
1548
+ // sub rsp, GUARD_SIZE
1549
+ let inst = Inst::alu_rmi_r(
1550
+ OperandSize::Size64,
1551
+ AluRmiROpcode::Sub,
1552
+ RegMemImm::imm(*guard_size),
1553
+ Writable::from_reg(regs::rsp()),
1554
+ );
1555
+ inst.emit(sink, info, state);
1556
+
1557
+ // TODO: `mov [rsp], 0` would be better, but we don't have that instruction
1558
+ // Probe the stack! We don't use Inst::gen_store_stack here because we need a predictable
1559
+ // instruction size.
1560
+ // mov [rsp], rsp
1561
+ let inst = Inst::mov_r_m(
1562
+ OperandSize::Size32, // Use Size32 since it saves us one byte
1563
+ regs::rsp(),
1564
+ SyntheticAmode::Real(Amode::imm_reg(0, regs::rsp())),
1565
+ );
1566
+ inst.emit(sink, info, state);
1567
+
1568
+ // Compare and jump if we are not done yet
1569
+ // cmp rsp, tmp_reg
1570
+ let inst = Inst::cmp_rmi_r(
1571
+ OperandSize::Size64,
1572
+ tmp.to_reg(),
1573
+ RegMemImm::reg(regs::rsp()),
1574
+ );
1575
+ inst.emit(sink, info, state);
1576
+
1577
+ // jne .loop_start
1578
+ // TODO: Encoding the JmpIf as a short jump saves us 4 bytes here.
1579
+ one_way_jmp(sink, CC::NZ, loop_start);
1580
+
1581
+ // The regular prologue code is going to emit a `sub` after this, so we need to
1582
+ // reset the stack pointer
1583
+ //
1584
+ // TODO: It would be better if we could avoid the `add` + `sub` that is generated here
1585
+ // and in the stack adj portion of the prologue
1586
+ //
1587
+ // add rsp, GUARD_SIZE * probe_count
1588
+ let inst = Inst::alu_rmi_r(
1589
+ OperandSize::Size64,
1590
+ AluRmiROpcode::Add,
1591
+ RegMemImm::imm(guard_size * probe_count),
1592
+ Writable::from_reg(regs::rsp()),
1593
+ );
1594
+ inst.emit(sink, info, state);
1595
+ }
1596
+
1597
+ Inst::CallKnown {
1598
+ dest,
1599
+ opcode,
1600
+ info: call_info,
1601
+ } => {
1602
+ let (stack_map, user_stack_map) = state.take_stack_map();
1603
+ if let Some(s) = stack_map {
1604
+ sink.add_stack_map(StackMapExtent::UpcomingBytes(5), s);
1605
+ }
1606
+ if let Some(s) = user_stack_map {
1607
+ let offset = sink.cur_offset() + 5;
1608
+ sink.push_user_stack_map(state, offset, s);
1609
+ }
1610
+
1611
+ sink.put1(0xE8);
1612
+ // The addend adjusts for the difference between the end of the instruction and the
1613
+ // beginning of the immediate field.
1614
+ emit_reloc(sink, Reloc::X86CallPCRel4, &dest, -4);
1615
+ sink.put4(0);
1616
+ if opcode.is_call() {
1617
+ sink.add_call_site(*opcode);
1618
+ }
1619
+
1620
+ // Reclaim the outgoing argument area that was released by the callee, to ensure that
1621
+ // StackAMode values are always computed from a consistent SP.
1622
+ if let Some(call_info) = call_info {
1623
+ if call_info.callee_pop_size > 0 {
1624
+ Inst::alu_rmi_r(
1625
+ OperandSize::Size64,
1626
+ AluRmiROpcode::Sub,
1627
+ RegMemImm::imm(call_info.callee_pop_size),
1628
+ Writable::from_reg(regs::rsp()),
1629
+ )
1630
+ .emit(sink, info, state);
1631
+ }
1632
+ }
1633
+ }
1634
+
1635
+ Inst::ReturnCallKnown {
1636
+ callee,
1637
+ info: call_info,
1638
+ } => {
1639
+ emit_return_call_common_sequence(sink, info, state, &call_info);
1640
+
1641
+ // Finally, jump to the callee!
1642
+ //
1643
+ // Note: this is not `Inst::Jmp { .. }.emit(..)` because we have
1644
+ // different metadata in this case: we don't have a label for the
1645
+ // target, but rather a function relocation.
1646
+ sink.put1(0xE9);
1647
+ // The addend adjusts for the difference between the end of the instruction and the
1648
+ // beginning of the immediate field.
1649
+ emit_reloc(sink, Reloc::X86CallPCRel4, &callee, -4);
1650
+ sink.put4(0);
1651
+ sink.add_call_site(ir::Opcode::ReturnCall);
1652
+ }
1653
+
1654
+ Inst::ReturnCallUnknown {
1655
+ callee,
1656
+ info: call_info,
1657
+ } => {
1658
+ let callee = *callee;
1659
+
1660
+ emit_return_call_common_sequence(sink, info, state, &call_info);
1661
+
1662
+ Inst::JmpUnknown {
1663
+ target: RegMem::reg(callee),
1664
+ }
1665
+ .emit(sink, info, state);
1666
+ sink.add_call_site(ir::Opcode::ReturnCallIndirect);
1667
+ }
1668
+
1669
+ Inst::CallUnknown {
1670
+ dest,
1671
+ opcode,
1672
+ info: call_info,
1673
+ } => {
1674
+ let dest = dest.clone();
1675
+
1676
+ let start_offset = sink.cur_offset();
1677
+ match dest {
1678
+ RegMem::Reg { reg } => {
1679
+ let reg_enc = int_reg_enc(reg);
1680
+ emit_std_enc_enc(
1681
+ sink,
1682
+ LegacyPrefixes::None,
1683
+ 0xFF,
1684
+ 1,
1685
+ 2, /*subopcode*/
1686
+ reg_enc,
1687
+ RexFlags::clear_w(),
1688
+ );
1689
+ }
1690
+
1691
+ RegMem::Mem { addr } => {
1692
+ let addr = &addr.finalize(state, sink);
1693
+ emit_std_enc_mem(
1694
+ sink,
1695
+ LegacyPrefixes::None,
1696
+ 0xFF,
1697
+ 1,
1698
+ 2, /*subopcode*/
1699
+ addr,
1700
+ RexFlags::clear_w(),
1701
+ 0,
1702
+ );
1703
+ }
1704
+ }
1705
+
1706
+ let (stack_map, user_stack_map) = state.take_stack_map();
1707
+ if let Some(s) = stack_map {
1708
+ sink.add_stack_map(StackMapExtent::StartedAtOffset(start_offset), s);
1709
+ }
1710
+ if let Some(s) = user_stack_map {
1711
+ let offset = sink.cur_offset();
1712
+ sink.push_user_stack_map(state, offset, s);
1713
+ }
1714
+
1715
+ if opcode.is_call() {
1716
+ sink.add_call_site(*opcode);
1717
+ }
1718
+
1719
+ // Reclaim the outgoing argument area that was released by the callee, to ensure that
1720
+ // StackAMode values are always computed from a consistent SP.
1721
+ if let Some(call_info) = call_info {
1722
+ if call_info.callee_pop_size > 0 {
1723
+ Inst::alu_rmi_r(
1724
+ OperandSize::Size64,
1725
+ AluRmiROpcode::Sub,
1726
+ RegMemImm::imm(call_info.callee_pop_size),
1727
+ Writable::from_reg(regs::rsp()),
1728
+ )
1729
+ .emit(sink, info, state);
1730
+ }
1731
+ }
1732
+ }
1733
+
1734
+ Inst::Args { .. } => {}
1735
+ Inst::Rets { .. } => {}
1736
+
1737
+ Inst::Ret {
1738
+ stack_bytes_to_pop: 0,
1739
+ } => sink.put1(0xC3),
1740
+
1741
+ Inst::Ret { stack_bytes_to_pop } => {
1742
+ sink.put1(0xC2);
1743
+ sink.put2(u16::try_from(*stack_bytes_to_pop).unwrap());
1744
+ }
1745
+
1746
+ Inst::JmpKnown { dst } => {
1747
+ let br_start = sink.cur_offset();
1748
+ let br_disp_off = br_start + 1;
1749
+ let br_end = br_start + 5;
1750
+
1751
+ sink.use_label_at_offset(br_disp_off, *dst, LabelUse::JmpRel32);
1752
+ sink.add_uncond_branch(br_start, br_end, *dst);
1753
+
1754
+ sink.put1(0xE9);
1755
+ // Placeholder for the label value.
1756
+ sink.put4(0x0);
1757
+ }
1758
+
1759
+ Inst::JmpIf { cc, taken } => {
1760
+ let cond_start = sink.cur_offset();
1761
+ let cond_disp_off = cond_start + 2;
1762
+
1763
+ sink.use_label_at_offset(cond_disp_off, *taken, LabelUse::JmpRel32);
1764
+ // Since this is not a terminator, don't enroll in the branch inversion mechanism.
1765
+
1766
+ sink.put1(0x0F);
1767
+ sink.put1(0x80 + cc.get_enc());
1768
+ // Placeholder for the label value.
1769
+ sink.put4(0x0);
1770
+ }
1771
+
1772
+ Inst::JmpCond {
1773
+ cc,
1774
+ taken,
1775
+ not_taken,
1776
+ } => {
1777
+ // If taken.
1778
+ let cond_start = sink.cur_offset();
1779
+ let cond_disp_off = cond_start + 2;
1780
+ let cond_end = cond_start + 6;
1781
+
1782
+ sink.use_label_at_offset(cond_disp_off, *taken, LabelUse::JmpRel32);
1783
+ let inverted: [u8; 6] = [0x0F, 0x80 + (cc.invert().get_enc()), 0x00, 0x00, 0x00, 0x00];
1784
+ sink.add_cond_branch(cond_start, cond_end, *taken, &inverted[..]);
1785
+
1786
+ sink.put1(0x0F);
1787
+ sink.put1(0x80 + cc.get_enc());
1788
+ // Placeholder for the label value.
1789
+ sink.put4(0x0);
1790
+
1791
+ // If not taken.
1792
+ let uncond_start = sink.cur_offset();
1793
+ let uncond_disp_off = uncond_start + 1;
1794
+ let uncond_end = uncond_start + 5;
1795
+
1796
+ sink.use_label_at_offset(uncond_disp_off, *not_taken, LabelUse::JmpRel32);
1797
+ sink.add_uncond_branch(uncond_start, uncond_end, *not_taken);
1798
+
1799
+ sink.put1(0xE9);
1800
+ // Placeholder for the label value.
1801
+ sink.put4(0x0);
1802
+ }
1803
+
1804
+ Inst::JmpUnknown { target } => {
1805
+ let target = target.clone();
1806
+
1807
+ match target {
1808
+ RegMem::Reg { reg } => {
1809
+ let reg_enc = int_reg_enc(reg);
1810
+ emit_std_enc_enc(
1811
+ sink,
1812
+ LegacyPrefixes::None,
1813
+ 0xFF,
1814
+ 1,
1815
+ 4, /*subopcode*/
1816
+ reg_enc,
1817
+ RexFlags::clear_w(),
1818
+ );
1819
+ }
1820
+
1821
+ RegMem::Mem { addr } => {
1822
+ let addr = &addr.finalize(state, sink);
1823
+ emit_std_enc_mem(
1824
+ sink,
1825
+ LegacyPrefixes::None,
1826
+ 0xFF,
1827
+ 1,
1828
+ 4, /*subopcode*/
1829
+ addr,
1830
+ RexFlags::clear_w(),
1831
+ 0,
1832
+ );
1833
+ }
1834
+ }
1835
+ }
1836
+
1837
+ &Inst::JmpTableSeq {
1838
+ idx,
1839
+ tmp1,
1840
+ tmp2,
1841
+ ref targets,
1842
+ ref default_target,
1843
+ ..
1844
+ } => {
1845
+ // This sequence is *one* instruction in the vcode, and is expanded only here at
1846
+ // emission time, because we cannot allow the regalloc to insert spills/reloads in
1847
+ // the middle; we depend on hardcoded PC-rel addressing below.
1848
+ //
1849
+ // We don't have to worry about emitting islands, because the only label-use type has a
1850
+ // maximum range of 2 GB. If we later consider using shorter-range label references,
1851
+ // this will need to be revisited.
1852
+
1853
+ // We generate the following sequence. Note that the only read of %idx is before the
1854
+ // write to %tmp2, so regalloc may use the same register for both; fix x64/inst/mod.rs
1855
+ // if you change this.
1856
+ // lea start_of_jump_table_offset(%rip), %tmp1
1857
+ // movslq [%tmp1, %idx, 4], %tmp2 ;; shift of 2, viz. multiply index by 4
1858
+ // addq %tmp2, %tmp1
1859
+ // j *%tmp1
1860
+ // $start_of_jump_table:
1861
+ // -- jump table entries
1862
+
1863
+ // Load base address of jump table.
1864
+ let start_of_jumptable = sink.get_label();
1865
+ let inst = Inst::lea(Amode::rip_relative(start_of_jumptable), tmp1);
1866
+ inst.emit(sink, info, state);
1867
+
1868
+ // Load value out of the jump table. It's a relative offset to the target block, so it
1869
+ // might be negative; use a sign-extension.
1870
+ let inst = Inst::movsx_rm_r(
1871
+ ExtMode::LQ,
1872
+ RegMem::mem(Amode::imm_reg_reg_shift(
1873
+ 0,
1874
+ Gpr::new(tmp1.to_reg()).unwrap(),
1875
+ Gpr::new(idx).unwrap(),
1876
+ 2,
1877
+ )),
1878
+ tmp2,
1879
+ );
1880
+ inst.emit(sink, info, state);
1881
+
1882
+ // Add base of jump table to jump-table-sourced block offset.
1883
+ let inst = Inst::alu_rmi_r(
1884
+ OperandSize::Size64,
1885
+ AluRmiROpcode::Add,
1886
+ RegMemImm::reg(tmp2.to_reg()),
1887
+ tmp1,
1888
+ );
1889
+ inst.emit(sink, info, state);
1890
+
1891
+ // Branch to computed address.
1892
+ let inst = Inst::jmp_unknown(RegMem::reg(tmp1.to_reg()));
1893
+ inst.emit(sink, info, state);
1894
+
1895
+ // Emit jump table (table of 32-bit offsets).
1896
+ sink.bind_label(start_of_jumptable, state.ctrl_plane_mut());
1897
+ let jt_off = sink.cur_offset();
1898
+ for &target in targets.iter().chain(std::iter::once(default_target)) {
1899
+ let word_off = sink.cur_offset();
1900
+ // off_into_table is an addend here embedded in the label to be later patched at
1901
+ // the end of codegen. The offset is initially relative to this jump table entry;
1902
+ // with the extra addend, it'll be relative to the jump table's start, after
1903
+ // patching.
1904
+ let off_into_table = word_off - jt_off;
1905
+ sink.use_label_at_offset(word_off, target, LabelUse::PCRel32);
1906
+ sink.put4(off_into_table);
1907
+ }
1908
+ }
1909
+
1910
+ Inst::TrapIf { cc, trap_code } => {
1911
+ let trap_label = sink.defer_trap(*trap_code);
1912
+ one_way_jmp(sink, *cc, trap_label);
1913
+ }
1914
+
1915
+ Inst::TrapIfAnd {
1916
+ cc1,
1917
+ cc2,
1918
+ trap_code,
1919
+ } => {
1920
+ let trap_label = sink.defer_trap(*trap_code);
1921
+ let else_label = sink.get_label();
1922
+
1923
+ // Jump to the end if the first condition isn't true, and then if
1924
+ // the second condition is true go to the trap.
1925
+ one_way_jmp(sink, cc1.invert(), else_label);
1926
+ one_way_jmp(sink, *cc2, trap_label);
1927
+
1928
+ sink.bind_label(else_label, state.ctrl_plane_mut());
1929
+ }
1930
+
1931
+ Inst::TrapIfOr {
1932
+ cc1,
1933
+ cc2,
1934
+ trap_code,
1935
+ } => {
1936
+ let trap_label = sink.defer_trap(*trap_code);
1937
+
1938
+ // Emit two jumps to the same trap if either condition code is true.
1939
+ one_way_jmp(sink, *cc1, trap_label);
1940
+ one_way_jmp(sink, *cc2, trap_label);
1941
+ }
1942
+
1943
+ Inst::XmmUnaryRmR { op, src, dst } => {
1944
+ emit(
1945
+ &Inst::XmmUnaryRmRUnaligned {
1946
+ op: *op,
1947
+ src: XmmMem::new(src.clone().into()).unwrap(),
1948
+ dst: *dst,
1949
+ },
1950
+ sink,
1951
+ info,
1952
+ state,
1953
+ );
1954
+ }
1955
+
1956
+ Inst::XmmUnaryRmRUnaligned {
1957
+ op,
1958
+ src: src_e,
1959
+ dst: reg_g,
1960
+ } => {
1961
+ let reg_g = reg_g.to_reg().to_reg();
1962
+ let src_e = src_e.clone().to_reg_mem().clone();
1963
+
1964
+ let rex = RexFlags::clear_w();
1965
+
1966
+ let (prefix, opcode, num_opcodes) = match op {
1967
+ SseOpcode::Cvtdq2pd => (LegacyPrefixes::_F3, 0x0FE6, 2),
1968
+ SseOpcode::Cvtpd2ps => (LegacyPrefixes::_66, 0x0F5A, 2),
1969
+ SseOpcode::Cvtps2pd => (LegacyPrefixes::None, 0x0F5A, 2),
1970
+ SseOpcode::Cvtdq2ps => (LegacyPrefixes::None, 0x0F5B, 2),
1971
+ SseOpcode::Cvttpd2dq => (LegacyPrefixes::_66, 0x0FE6, 2),
1972
+ SseOpcode::Cvttps2dq => (LegacyPrefixes::_F3, 0x0F5B, 2),
1973
+ SseOpcode::Movaps => (LegacyPrefixes::None, 0x0F28, 2),
1974
+ SseOpcode::Movapd => (LegacyPrefixes::_66, 0x0F28, 2),
1975
+ SseOpcode::Movdqa => (LegacyPrefixes::_66, 0x0F6F, 2),
1976
+ SseOpcode::Movdqu => (LegacyPrefixes::_F3, 0x0F6F, 2),
1977
+ SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F10, 2),
1978
+ SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F10, 2),
1979
+ SseOpcode::Movups => (LegacyPrefixes::None, 0x0F10, 2),
1980
+ SseOpcode::Movupd => (LegacyPrefixes::_66, 0x0F10, 2),
1981
+ SseOpcode::Pabsb => (LegacyPrefixes::_66, 0x0F381C, 3),
1982
+ SseOpcode::Pabsw => (LegacyPrefixes::_66, 0x0F381D, 3),
1983
+ SseOpcode::Pabsd => (LegacyPrefixes::_66, 0x0F381E, 3),
1984
+ SseOpcode::Pmovsxbd => (LegacyPrefixes::_66, 0x0F3821, 3),
1985
+ SseOpcode::Pmovsxbw => (LegacyPrefixes::_66, 0x0F3820, 3),
1986
+ SseOpcode::Pmovsxbq => (LegacyPrefixes::_66, 0x0F3822, 3),
1987
+ SseOpcode::Pmovsxwd => (LegacyPrefixes::_66, 0x0F3823, 3),
1988
+ SseOpcode::Pmovsxwq => (LegacyPrefixes::_66, 0x0F3824, 3),
1989
+ SseOpcode::Pmovsxdq => (LegacyPrefixes::_66, 0x0F3825, 3),
1990
+ SseOpcode::Pmovzxbd => (LegacyPrefixes::_66, 0x0F3831, 3),
1991
+ SseOpcode::Pmovzxbw => (LegacyPrefixes::_66, 0x0F3830, 3),
1992
+ SseOpcode::Pmovzxbq => (LegacyPrefixes::_66, 0x0F3832, 3),
1993
+ SseOpcode::Pmovzxwd => (LegacyPrefixes::_66, 0x0F3833, 3),
1994
+ SseOpcode::Pmovzxwq => (LegacyPrefixes::_66, 0x0F3834, 3),
1995
+ SseOpcode::Pmovzxdq => (LegacyPrefixes::_66, 0x0F3835, 3),
1996
+ SseOpcode::Sqrtps => (LegacyPrefixes::None, 0x0F51, 2),
1997
+ SseOpcode::Sqrtpd => (LegacyPrefixes::_66, 0x0F51, 2),
1998
+ SseOpcode::Movddup => (LegacyPrefixes::_F2, 0x0F12, 2),
1999
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2000
+ };
2001
+
2002
+ match src_e {
2003
+ RegMem::Reg { reg: reg_e } => {
2004
+ emit_std_reg_reg(sink, prefix, opcode, num_opcodes, reg_g, reg_e, rex);
2005
+ }
2006
+ RegMem::Mem { addr } => {
2007
+ let addr = &addr.finalize(state, sink);
2008
+ emit_std_reg_mem(sink, prefix, opcode, num_opcodes, reg_g, addr, rex, 0);
2009
+ }
2010
+ };
2011
+ }
2012
+
2013
+ Inst::XmmUnaryRmRImm { op, src, dst, imm } => {
2014
+ let dst = dst.to_reg().to_reg();
2015
+ let src = src.clone().to_reg_mem().clone();
2016
+ let rex = RexFlags::clear_w();
2017
+
2018
+ let (prefix, opcode, len) = match op {
2019
+ SseOpcode::Roundps => (LegacyPrefixes::_66, 0x0F3A08, 3),
2020
+ SseOpcode::Roundss => (LegacyPrefixes::_66, 0x0F3A0A, 3),
2021
+ SseOpcode::Roundpd => (LegacyPrefixes::_66, 0x0F3A09, 3),
2022
+ SseOpcode::Roundsd => (LegacyPrefixes::_66, 0x0F3A0B, 3),
2023
+ SseOpcode::Pshufd => (LegacyPrefixes::_66, 0x0F70, 2),
2024
+ SseOpcode::Pshuflw => (LegacyPrefixes::_F2, 0x0F70, 2),
2025
+ SseOpcode::Pshufhw => (LegacyPrefixes::_F3, 0x0F70, 2),
2026
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2027
+ };
2028
+ match src {
2029
+ RegMem::Reg { reg } => {
2030
+ emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
2031
+ }
2032
+ RegMem::Mem { addr } => {
2033
+ let addr = &addr.finalize(state, sink);
2034
+ // N.B.: bytes_at_end == 1, because of the `imm` byte below.
2035
+ emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 1);
2036
+ }
2037
+ }
2038
+ sink.put1(*imm);
2039
+ }
2040
+
2041
+ Inst::XmmUnaryRmREvex { op, src, dst } => {
2042
+ let dst = dst.to_reg().to_reg();
2043
+ let src = match src.clone().to_reg_mem().clone() {
2044
+ RegMem::Reg { reg } => {
2045
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2046
+ }
2047
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2048
+ };
2049
+
2050
+ let (prefix, map, w, opcode) = match op {
2051
+ Avx512Opcode::Vcvtudq2ps => (LegacyPrefixes::_F2, OpcodeMap::_0F, false, 0x7a),
2052
+ Avx512Opcode::Vpabsq => (LegacyPrefixes::_66, OpcodeMap::_0F38, true, 0x1f),
2053
+ Avx512Opcode::Vpopcntb => (LegacyPrefixes::_66, OpcodeMap::_0F38, false, 0x54),
2054
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2055
+ };
2056
+ EvexInstruction::new()
2057
+ .length(EvexVectorLength::V128)
2058
+ .prefix(prefix)
2059
+ .map(map)
2060
+ .w(w)
2061
+ .opcode(opcode)
2062
+ .tuple_type(op.tuple_type())
2063
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2064
+ .rm(src)
2065
+ .encode(sink);
2066
+ }
2067
+
2068
+ Inst::XmmUnaryRmRImmEvex { op, src, dst, imm } => {
2069
+ let dst = dst.to_reg().to_reg();
2070
+ let src = match src.clone().to_reg_mem().clone() {
2071
+ RegMem::Reg { reg } => {
2072
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2073
+ }
2074
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2075
+ };
2076
+
2077
+ let (opcode, opcode_ext, w) = match op {
2078
+ Avx512Opcode::VpsraqImm => (0x72, 4, true),
2079
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2080
+ };
2081
+ EvexInstruction::new()
2082
+ .length(EvexVectorLength::V128)
2083
+ .prefix(LegacyPrefixes::_66)
2084
+ .map(OpcodeMap::_0F)
2085
+ .w(w)
2086
+ .opcode(opcode)
2087
+ .reg(opcode_ext)
2088
+ .vvvvv(dst.to_real_reg().unwrap().hw_enc())
2089
+ .tuple_type(op.tuple_type())
2090
+ .rm(src)
2091
+ .imm(*imm)
2092
+ .encode(sink);
2093
+ }
2094
+
2095
+ Inst::XmmRmR {
2096
+ op,
2097
+ src1,
2098
+ src2,
2099
+ dst,
2100
+ } => emit(
2101
+ &Inst::XmmRmRUnaligned {
2102
+ op: *op,
2103
+ dst: *dst,
2104
+ src1: *src1,
2105
+ src2: XmmMem::new(src2.clone().to_reg_mem()).unwrap(),
2106
+ },
2107
+ sink,
2108
+ info,
2109
+ state,
2110
+ ),
2111
+
2112
+ Inst::XmmRmRUnaligned {
2113
+ op,
2114
+ src1,
2115
+ src2: src_e,
2116
+ dst: reg_g,
2117
+ } => {
2118
+ let src1 = src1.to_reg();
2119
+ let reg_g = reg_g.to_reg().to_reg();
2120
+ let src_e = src_e.clone().to_reg_mem().clone();
2121
+ debug_assert_eq!(src1, reg_g);
2122
+
2123
+ let rex = RexFlags::clear_w();
2124
+ let (prefix, opcode, length) = match op {
2125
+ SseOpcode::Addps => (LegacyPrefixes::None, 0x0F58, 2),
2126
+ SseOpcode::Addpd => (LegacyPrefixes::_66, 0x0F58, 2),
2127
+ SseOpcode::Addss => (LegacyPrefixes::_F3, 0x0F58, 2),
2128
+ SseOpcode::Addsd => (LegacyPrefixes::_F2, 0x0F58, 2),
2129
+ SseOpcode::Andps => (LegacyPrefixes::None, 0x0F54, 2),
2130
+ SseOpcode::Andpd => (LegacyPrefixes::_66, 0x0F54, 2),
2131
+ SseOpcode::Andnps => (LegacyPrefixes::None, 0x0F55, 2),
2132
+ SseOpcode::Andnpd => (LegacyPrefixes::_66, 0x0F55, 2),
2133
+ SseOpcode::Divps => (LegacyPrefixes::None, 0x0F5E, 2),
2134
+ SseOpcode::Divpd => (LegacyPrefixes::_66, 0x0F5E, 2),
2135
+ SseOpcode::Divss => (LegacyPrefixes::_F3, 0x0F5E, 2),
2136
+ SseOpcode::Divsd => (LegacyPrefixes::_F2, 0x0F5E, 2),
2137
+ SseOpcode::Maxps => (LegacyPrefixes::None, 0x0F5F, 2),
2138
+ SseOpcode::Maxpd => (LegacyPrefixes::_66, 0x0F5F, 2),
2139
+ SseOpcode::Maxss => (LegacyPrefixes::_F3, 0x0F5F, 2),
2140
+ SseOpcode::Maxsd => (LegacyPrefixes::_F2, 0x0F5F, 2),
2141
+ SseOpcode::Minps => (LegacyPrefixes::None, 0x0F5D, 2),
2142
+ SseOpcode::Minpd => (LegacyPrefixes::_66, 0x0F5D, 2),
2143
+ SseOpcode::Minss => (LegacyPrefixes::_F3, 0x0F5D, 2),
2144
+ SseOpcode::Minsd => (LegacyPrefixes::_F2, 0x0F5D, 2),
2145
+ SseOpcode::Movlhps => (LegacyPrefixes::None, 0x0F16, 2),
2146
+ SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F10, 2),
2147
+ SseOpcode::Mulps => (LegacyPrefixes::None, 0x0F59, 2),
2148
+ SseOpcode::Mulpd => (LegacyPrefixes::_66, 0x0F59, 2),
2149
+ SseOpcode::Mulss => (LegacyPrefixes::_F3, 0x0F59, 2),
2150
+ SseOpcode::Mulsd => (LegacyPrefixes::_F2, 0x0F59, 2),
2151
+ SseOpcode::Orpd => (LegacyPrefixes::_66, 0x0F56, 2),
2152
+ SseOpcode::Orps => (LegacyPrefixes::None, 0x0F56, 2),
2153
+ SseOpcode::Packssdw => (LegacyPrefixes::_66, 0x0F6B, 2),
2154
+ SseOpcode::Packsswb => (LegacyPrefixes::_66, 0x0F63, 2),
2155
+ SseOpcode::Packusdw => (LegacyPrefixes::_66, 0x0F382B, 3),
2156
+ SseOpcode::Packuswb => (LegacyPrefixes::_66, 0x0F67, 2),
2157
+ SseOpcode::Paddb => (LegacyPrefixes::_66, 0x0FFC, 2),
2158
+ SseOpcode::Paddd => (LegacyPrefixes::_66, 0x0FFE, 2),
2159
+ SseOpcode::Paddq => (LegacyPrefixes::_66, 0x0FD4, 2),
2160
+ SseOpcode::Paddw => (LegacyPrefixes::_66, 0x0FFD, 2),
2161
+ SseOpcode::Paddsb => (LegacyPrefixes::_66, 0x0FEC, 2),
2162
+ SseOpcode::Paddsw => (LegacyPrefixes::_66, 0x0FED, 2),
2163
+ SseOpcode::Paddusb => (LegacyPrefixes::_66, 0x0FDC, 2),
2164
+ SseOpcode::Paddusw => (LegacyPrefixes::_66, 0x0FDD, 2),
2165
+ SseOpcode::Pmaddubsw => (LegacyPrefixes::_66, 0x0F3804, 3),
2166
+ SseOpcode::Pand => (LegacyPrefixes::_66, 0x0FDB, 2),
2167
+ SseOpcode::Pandn => (LegacyPrefixes::_66, 0x0FDF, 2),
2168
+ SseOpcode::Pavgb => (LegacyPrefixes::_66, 0x0FE0, 2),
2169
+ SseOpcode::Pavgw => (LegacyPrefixes::_66, 0x0FE3, 2),
2170
+ SseOpcode::Pcmpeqb => (LegacyPrefixes::_66, 0x0F74, 2),
2171
+ SseOpcode::Pcmpeqw => (LegacyPrefixes::_66, 0x0F75, 2),
2172
+ SseOpcode::Pcmpeqd => (LegacyPrefixes::_66, 0x0F76, 2),
2173
+ SseOpcode::Pcmpeqq => (LegacyPrefixes::_66, 0x0F3829, 3),
2174
+ SseOpcode::Pcmpgtb => (LegacyPrefixes::_66, 0x0F64, 2),
2175
+ SseOpcode::Pcmpgtw => (LegacyPrefixes::_66, 0x0F65, 2),
2176
+ SseOpcode::Pcmpgtd => (LegacyPrefixes::_66, 0x0F66, 2),
2177
+ SseOpcode::Pcmpgtq => (LegacyPrefixes::_66, 0x0F3837, 3),
2178
+ SseOpcode::Pmaddwd => (LegacyPrefixes::_66, 0x0FF5, 2),
2179
+ SseOpcode::Pmaxsb => (LegacyPrefixes::_66, 0x0F383C, 3),
2180
+ SseOpcode::Pmaxsw => (LegacyPrefixes::_66, 0x0FEE, 2),
2181
+ SseOpcode::Pmaxsd => (LegacyPrefixes::_66, 0x0F383D, 3),
2182
+ SseOpcode::Pmaxub => (LegacyPrefixes::_66, 0x0FDE, 2),
2183
+ SseOpcode::Pmaxuw => (LegacyPrefixes::_66, 0x0F383E, 3),
2184
+ SseOpcode::Pmaxud => (LegacyPrefixes::_66, 0x0F383F, 3),
2185
+ SseOpcode::Pminsb => (LegacyPrefixes::_66, 0x0F3838, 3),
2186
+ SseOpcode::Pminsw => (LegacyPrefixes::_66, 0x0FEA, 2),
2187
+ SseOpcode::Pminsd => (LegacyPrefixes::_66, 0x0F3839, 3),
2188
+ SseOpcode::Pminub => (LegacyPrefixes::_66, 0x0FDA, 2),
2189
+ SseOpcode::Pminuw => (LegacyPrefixes::_66, 0x0F383A, 3),
2190
+ SseOpcode::Pminud => (LegacyPrefixes::_66, 0x0F383B, 3),
2191
+ SseOpcode::Pmuldq => (LegacyPrefixes::_66, 0x0F3828, 3),
2192
+ SseOpcode::Pmulhw => (LegacyPrefixes::_66, 0x0FE5, 2),
2193
+ SseOpcode::Pmulhrsw => (LegacyPrefixes::_66, 0x0F380B, 3),
2194
+ SseOpcode::Pmulhuw => (LegacyPrefixes::_66, 0x0FE4, 2),
2195
+ SseOpcode::Pmulld => (LegacyPrefixes::_66, 0x0F3840, 3),
2196
+ SseOpcode::Pmullw => (LegacyPrefixes::_66, 0x0FD5, 2),
2197
+ SseOpcode::Pmuludq => (LegacyPrefixes::_66, 0x0FF4, 2),
2198
+ SseOpcode::Por => (LegacyPrefixes::_66, 0x0FEB, 2),
2199
+ SseOpcode::Pshufb => (LegacyPrefixes::_66, 0x0F3800, 3),
2200
+ SseOpcode::Psubb => (LegacyPrefixes::_66, 0x0FF8, 2),
2201
+ SseOpcode::Psubd => (LegacyPrefixes::_66, 0x0FFA, 2),
2202
+ SseOpcode::Psubq => (LegacyPrefixes::_66, 0x0FFB, 2),
2203
+ SseOpcode::Psubw => (LegacyPrefixes::_66, 0x0FF9, 2),
2204
+ SseOpcode::Psubsb => (LegacyPrefixes::_66, 0x0FE8, 2),
2205
+ SseOpcode::Psubsw => (LegacyPrefixes::_66, 0x0FE9, 2),
2206
+ SseOpcode::Psubusb => (LegacyPrefixes::_66, 0x0FD8, 2),
2207
+ SseOpcode::Psubusw => (LegacyPrefixes::_66, 0x0FD9, 2),
2208
+ SseOpcode::Punpckhbw => (LegacyPrefixes::_66, 0x0F68, 2),
2209
+ SseOpcode::Punpckhwd => (LegacyPrefixes::_66, 0x0F69, 2),
2210
+ SseOpcode::Punpcklbw => (LegacyPrefixes::_66, 0x0F60, 2),
2211
+ SseOpcode::Punpcklwd => (LegacyPrefixes::_66, 0x0F61, 2),
2212
+ SseOpcode::Punpckldq => (LegacyPrefixes::_66, 0x0F62, 2),
2213
+ SseOpcode::Punpcklqdq => (LegacyPrefixes::_66, 0x0F6C, 2),
2214
+ SseOpcode::Punpckhdq => (LegacyPrefixes::_66, 0x0F6A, 2),
2215
+ SseOpcode::Punpckhqdq => (LegacyPrefixes::_66, 0x0F6D, 2),
2216
+ SseOpcode::Pxor => (LegacyPrefixes::_66, 0x0FEF, 2),
2217
+ SseOpcode::Subps => (LegacyPrefixes::None, 0x0F5C, 2),
2218
+ SseOpcode::Subpd => (LegacyPrefixes::_66, 0x0F5C, 2),
2219
+ SseOpcode::Subss => (LegacyPrefixes::_F3, 0x0F5C, 2),
2220
+ SseOpcode::Subsd => (LegacyPrefixes::_F2, 0x0F5C, 2),
2221
+ SseOpcode::Unpcklps => (LegacyPrefixes::None, 0x0F14, 2),
2222
+ SseOpcode::Unpckhps => (LegacyPrefixes::None, 0x0F15, 2),
2223
+ SseOpcode::Xorps => (LegacyPrefixes::None, 0x0F57, 2),
2224
+ SseOpcode::Xorpd => (LegacyPrefixes::_66, 0x0F57, 2),
2225
+ SseOpcode::Phaddw => (LegacyPrefixes::_66, 0x0F3801, 3),
2226
+ SseOpcode::Phaddd => (LegacyPrefixes::_66, 0x0F3802, 3),
2227
+ SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F10, 2),
2228
+ SseOpcode::Cvtss2sd => (LegacyPrefixes::_F3, 0x0F5A, 2),
2229
+ SseOpcode::Cvtsd2ss => (LegacyPrefixes::_F2, 0x0F5A, 2),
2230
+ SseOpcode::Sqrtss => (LegacyPrefixes::_F3, 0x0F51, 2),
2231
+ SseOpcode::Sqrtsd => (LegacyPrefixes::_F2, 0x0F51, 2),
2232
+ SseOpcode::Unpcklpd => (LegacyPrefixes::_66, 0x0F14, 2),
2233
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2234
+ };
2235
+
2236
+ match src_e {
2237
+ RegMem::Reg { reg: reg_e } => {
2238
+ emit_std_reg_reg(sink, prefix, opcode, length, reg_g, reg_e, rex);
2239
+ }
2240
+ RegMem::Mem { addr } => {
2241
+ let addr = &addr.finalize(state, sink);
2242
+ emit_std_reg_mem(sink, prefix, opcode, length, reg_g, addr, rex, 0);
2243
+ }
2244
+ }
2245
+ }
2246
+
2247
+ Inst::XmmRmRBlend {
2248
+ op,
2249
+ src1,
2250
+ src2,
2251
+ dst,
2252
+ mask,
2253
+ } => {
2254
+ let src1 = src1.to_reg();
2255
+ let mask = mask.to_reg();
2256
+ debug_assert_eq!(mask, regs::xmm0());
2257
+ let reg_g = dst.to_reg().to_reg();
2258
+ debug_assert_eq!(src1, reg_g);
2259
+ let src_e = src2.clone().to_reg_mem().clone();
2260
+
2261
+ let rex = RexFlags::clear_w();
2262
+ let (prefix, opcode, length) = match op {
2263
+ SseOpcode::Blendvps => (LegacyPrefixes::_66, 0x0F3814, 3),
2264
+ SseOpcode::Blendvpd => (LegacyPrefixes::_66, 0x0F3815, 3),
2265
+ SseOpcode::Pblendvb => (LegacyPrefixes::_66, 0x0F3810, 3),
2266
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2267
+ };
2268
+
2269
+ match src_e {
2270
+ RegMem::Reg { reg: reg_e } => {
2271
+ emit_std_reg_reg(sink, prefix, opcode, length, reg_g, reg_e, rex);
2272
+ }
2273
+ RegMem::Mem { addr } => {
2274
+ let addr = &addr.finalize(state, sink);
2275
+ emit_std_reg_mem(sink, prefix, opcode, length, reg_g, addr, rex, 0);
2276
+ }
2277
+ }
2278
+ }
2279
+
2280
+ Inst::XmmRmiRVex {
2281
+ op,
2282
+ src1,
2283
+ src2,
2284
+ dst,
2285
+ } => {
2286
+ use LegacyPrefixes as LP;
2287
+ use OpcodeMap as OM;
2288
+
2289
+ let dst = dst.to_reg().to_reg();
2290
+ let src1 = src1.to_reg();
2291
+ let src2 = src2.clone().to_reg_mem_imm().clone();
2292
+
2293
+ // When the opcode is commutative, src1 is xmm{0..7}, and src2 is
2294
+ // xmm{8..15}, then we can swap the operands to save one byte on the
2295
+ // instruction's encoding.
2296
+ let (src1, src2) = match (src1, src2) {
2297
+ (src1, RegMemImm::Reg { reg: src2 })
2298
+ if op.is_commutative()
2299
+ && src1.to_real_reg().unwrap().hw_enc() < 8
2300
+ && src2.to_real_reg().unwrap().hw_enc() >= 8 =>
2301
+ {
2302
+ (src2, RegMemImm::Reg { reg: src1 })
2303
+ }
2304
+ (src1, src2) => (src1, src2),
2305
+ };
2306
+
2307
+ let src2 = match src2 {
2308
+ // For opcodes where one of the operands is an immediate the
2309
+ // encoding is a bit different, notably the usage of
2310
+ // `opcode_ext`, so handle that specially here.
2311
+ RegMemImm::Imm { simm32 } => {
2312
+ let (opcode, opcode_ext, prefix) = match op {
2313
+ AvxOpcode::Vpsrlw => (0x71, 2, LegacyPrefixes::_66),
2314
+ AvxOpcode::Vpsrld => (0x72, 2, LegacyPrefixes::_66),
2315
+ AvxOpcode::Vpsrlq => (0x73, 2, LegacyPrefixes::_66),
2316
+ AvxOpcode::Vpsllw => (0x71, 6, LegacyPrefixes::_66),
2317
+ AvxOpcode::Vpslld => (0x72, 6, LegacyPrefixes::_66),
2318
+ AvxOpcode::Vpsllq => (0x73, 6, LegacyPrefixes::_66),
2319
+ AvxOpcode::Vpsraw => (0x71, 4, LegacyPrefixes::_66),
2320
+ AvxOpcode::Vpsrad => (0x72, 4, LegacyPrefixes::_66),
2321
+ _ => panic!("unexpected rmi_r_vex opcode with immediate {op:?}"),
2322
+ };
2323
+ VexInstruction::new()
2324
+ .length(VexVectorLength::V128)
2325
+ .prefix(prefix)
2326
+ .map(OpcodeMap::_0F)
2327
+ .opcode(opcode)
2328
+ .opcode_ext(opcode_ext)
2329
+ .vvvv(dst.to_real_reg().unwrap().hw_enc())
2330
+ .prefix(LegacyPrefixes::_66)
2331
+ .rm(src1.to_real_reg().unwrap().hw_enc())
2332
+ .imm(simm32.try_into().unwrap())
2333
+ .encode(sink);
2334
+ return;
2335
+ }
2336
+ RegMemImm::Reg { reg } => {
2337
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2338
+ }
2339
+ RegMemImm::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2340
+ };
2341
+
2342
+ let (prefix, map, opcode) = match op {
2343
+ AvxOpcode::Vminps => (LP::None, OM::_0F, 0x5D),
2344
+ AvxOpcode::Vminpd => (LP::_66, OM::_0F, 0x5D),
2345
+ AvxOpcode::Vmaxps => (LP::None, OM::_0F, 0x5F),
2346
+ AvxOpcode::Vmaxpd => (LP::_66, OM::_0F, 0x5F),
2347
+ AvxOpcode::Vandnps => (LP::None, OM::_0F, 0x55),
2348
+ AvxOpcode::Vandnpd => (LP::_66, OM::_0F, 0x55),
2349
+ AvxOpcode::Vpandn => (LP::_66, OM::_0F, 0xDF),
2350
+ AvxOpcode::Vpsrlw => (LP::_66, OM::_0F, 0xD1),
2351
+ AvxOpcode::Vpsrld => (LP::_66, OM::_0F, 0xD2),
2352
+ AvxOpcode::Vpsrlq => (LP::_66, OM::_0F, 0xD3),
2353
+ AvxOpcode::Vpaddb => (LP::_66, OM::_0F, 0xFC),
2354
+ AvxOpcode::Vpaddw => (LP::_66, OM::_0F, 0xFD),
2355
+ AvxOpcode::Vpaddd => (LP::_66, OM::_0F, 0xFE),
2356
+ AvxOpcode::Vpaddq => (LP::_66, OM::_0F, 0xD4),
2357
+ AvxOpcode::Vpaddsb => (LP::_66, OM::_0F, 0xEC),
2358
+ AvxOpcode::Vpaddsw => (LP::_66, OM::_0F, 0xED),
2359
+ AvxOpcode::Vpaddusb => (LP::_66, OM::_0F, 0xDC),
2360
+ AvxOpcode::Vpaddusw => (LP::_66, OM::_0F, 0xDD),
2361
+ AvxOpcode::Vpsubb => (LP::_66, OM::_0F, 0xF8),
2362
+ AvxOpcode::Vpsubw => (LP::_66, OM::_0F, 0xF9),
2363
+ AvxOpcode::Vpsubd => (LP::_66, OM::_0F, 0xFA),
2364
+ AvxOpcode::Vpsubq => (LP::_66, OM::_0F, 0xFB),
2365
+ AvxOpcode::Vpsubsb => (LP::_66, OM::_0F, 0xE8),
2366
+ AvxOpcode::Vpsubsw => (LP::_66, OM::_0F, 0xE9),
2367
+ AvxOpcode::Vpsubusb => (LP::_66, OM::_0F, 0xD8),
2368
+ AvxOpcode::Vpsubusw => (LP::_66, OM::_0F, 0xD9),
2369
+ AvxOpcode::Vpavgb => (LP::_66, OM::_0F, 0xE0),
2370
+ AvxOpcode::Vpavgw => (LP::_66, OM::_0F, 0xE3),
2371
+ AvxOpcode::Vpand => (LP::_66, OM::_0F, 0xDB),
2372
+ AvxOpcode::Vandps => (LP::None, OM::_0F, 0x54),
2373
+ AvxOpcode::Vandpd => (LP::_66, OM::_0F, 0x54),
2374
+ AvxOpcode::Vpor => (LP::_66, OM::_0F, 0xEB),
2375
+ AvxOpcode::Vorps => (LP::None, OM::_0F, 0x56),
2376
+ AvxOpcode::Vorpd => (LP::_66, OM::_0F, 0x56),
2377
+ AvxOpcode::Vpxor => (LP::_66, OM::_0F, 0xEF),
2378
+ AvxOpcode::Vxorps => (LP::None, OM::_0F, 0x57),
2379
+ AvxOpcode::Vxorpd => (LP::_66, OM::_0F, 0x57),
2380
+ AvxOpcode::Vpmullw => (LP::_66, OM::_0F, 0xD5),
2381
+ AvxOpcode::Vpmulld => (LP::_66, OM::_0F38, 0x40),
2382
+ AvxOpcode::Vpmulhw => (LP::_66, OM::_0F, 0xE5),
2383
+ AvxOpcode::Vpmulhrsw => (LP::_66, OM::_0F38, 0x0B),
2384
+ AvxOpcode::Vpmulhuw => (LP::_66, OM::_0F, 0xE4),
2385
+ AvxOpcode::Vpmuldq => (LP::_66, OM::_0F38, 0x28),
2386
+ AvxOpcode::Vpmuludq => (LP::_66, OM::_0F, 0xF4),
2387
+ AvxOpcode::Vpunpckhwd => (LP::_66, OM::_0F, 0x69),
2388
+ AvxOpcode::Vpunpcklwd => (LP::_66, OM::_0F, 0x61),
2389
+ AvxOpcode::Vunpcklps => (LP::None, OM::_0F, 0x14),
2390
+ AvxOpcode::Vunpckhps => (LP::None, OM::_0F, 0x15),
2391
+ AvxOpcode::Vaddps => (LP::None, OM::_0F, 0x58),
2392
+ AvxOpcode::Vaddpd => (LP::_66, OM::_0F, 0x58),
2393
+ AvxOpcode::Vsubps => (LP::None, OM::_0F, 0x5C),
2394
+ AvxOpcode::Vsubpd => (LP::_66, OM::_0F, 0x5C),
2395
+ AvxOpcode::Vmulps => (LP::None, OM::_0F, 0x59),
2396
+ AvxOpcode::Vmulpd => (LP::_66, OM::_0F, 0x59),
2397
+ AvxOpcode::Vdivps => (LP::None, OM::_0F, 0x5E),
2398
+ AvxOpcode::Vdivpd => (LP::_66, OM::_0F, 0x5E),
2399
+ AvxOpcode::Vpcmpeqb => (LP::_66, OM::_0F, 0x74),
2400
+ AvxOpcode::Vpcmpeqw => (LP::_66, OM::_0F, 0x75),
2401
+ AvxOpcode::Vpcmpeqd => (LP::_66, OM::_0F, 0x76),
2402
+ AvxOpcode::Vpcmpeqq => (LP::_66, OM::_0F38, 0x29),
2403
+ AvxOpcode::Vpcmpgtb => (LP::_66, OM::_0F, 0x64),
2404
+ AvxOpcode::Vpcmpgtw => (LP::_66, OM::_0F, 0x65),
2405
+ AvxOpcode::Vpcmpgtd => (LP::_66, OM::_0F, 0x66),
2406
+ AvxOpcode::Vpcmpgtq => (LP::_66, OM::_0F38, 0x37),
2407
+ AvxOpcode::Vmovlhps => (LP::None, OM::_0F, 0x16),
2408
+ AvxOpcode::Vpminsb => (LP::_66, OM::_0F38, 0x38),
2409
+ AvxOpcode::Vpminsw => (LP::_66, OM::_0F, 0xEA),
2410
+ AvxOpcode::Vpminsd => (LP::_66, OM::_0F38, 0x39),
2411
+ AvxOpcode::Vpmaxsb => (LP::_66, OM::_0F38, 0x3C),
2412
+ AvxOpcode::Vpmaxsw => (LP::_66, OM::_0F, 0xEE),
2413
+ AvxOpcode::Vpmaxsd => (LP::_66, OM::_0F38, 0x3D),
2414
+ AvxOpcode::Vpminub => (LP::_66, OM::_0F, 0xDA),
2415
+ AvxOpcode::Vpminuw => (LP::_66, OM::_0F38, 0x3A),
2416
+ AvxOpcode::Vpminud => (LP::_66, OM::_0F38, 0x3B),
2417
+ AvxOpcode::Vpmaxub => (LP::_66, OM::_0F, 0xDE),
2418
+ AvxOpcode::Vpmaxuw => (LP::_66, OM::_0F38, 0x3E),
2419
+ AvxOpcode::Vpmaxud => (LP::_66, OM::_0F38, 0x3F),
2420
+ AvxOpcode::Vpunpcklbw => (LP::_66, OM::_0F, 0x60),
2421
+ AvxOpcode::Vpunpckhbw => (LP::_66, OM::_0F, 0x68),
2422
+ AvxOpcode::Vpacksswb => (LP::_66, OM::_0F, 0x63),
2423
+ AvxOpcode::Vpackssdw => (LP::_66, OM::_0F, 0x6B),
2424
+ AvxOpcode::Vpackuswb => (LP::_66, OM::_0F, 0x67),
2425
+ AvxOpcode::Vpackusdw => (LP::_66, OM::_0F38, 0x2B),
2426
+ AvxOpcode::Vpmaddwd => (LP::_66, OM::_0F, 0xF5),
2427
+ AvxOpcode::Vpmaddubsw => (LP::_66, OM::_0F38, 0x04),
2428
+ AvxOpcode::Vpshufb => (LP::_66, OM::_0F38, 0x00),
2429
+ AvxOpcode::Vpsllw => (LP::_66, OM::_0F, 0xF1),
2430
+ AvxOpcode::Vpslld => (LP::_66, OM::_0F, 0xF2),
2431
+ AvxOpcode::Vpsllq => (LP::_66, OM::_0F, 0xF3),
2432
+ AvxOpcode::Vpsraw => (LP::_66, OM::_0F, 0xE1),
2433
+ AvxOpcode::Vpsrad => (LP::_66, OM::_0F, 0xE2),
2434
+ AvxOpcode::Vaddss => (LP::_F3, OM::_0F, 0x58),
2435
+ AvxOpcode::Vaddsd => (LP::_F2, OM::_0F, 0x58),
2436
+ AvxOpcode::Vmulss => (LP::_F3, OM::_0F, 0x59),
2437
+ AvxOpcode::Vmulsd => (LP::_F2, OM::_0F, 0x59),
2438
+ AvxOpcode::Vsubss => (LP::_F3, OM::_0F, 0x5C),
2439
+ AvxOpcode::Vsubsd => (LP::_F2, OM::_0F, 0x5C),
2440
+ AvxOpcode::Vdivss => (LP::_F3, OM::_0F, 0x5E),
2441
+ AvxOpcode::Vdivsd => (LP::_F2, OM::_0F, 0x5E),
2442
+ AvxOpcode::Vminss => (LP::_F3, OM::_0F, 0x5D),
2443
+ AvxOpcode::Vminsd => (LP::_F2, OM::_0F, 0x5D),
2444
+ AvxOpcode::Vmaxss => (LP::_F3, OM::_0F, 0x5F),
2445
+ AvxOpcode::Vmaxsd => (LP::_F2, OM::_0F, 0x5F),
2446
+ AvxOpcode::Vphaddw => (LP::_66, OM::_0F38, 0x01),
2447
+ AvxOpcode::Vphaddd => (LP::_66, OM::_0F38, 0x02),
2448
+ AvxOpcode::Vpunpckldq => (LP::_66, OM::_0F, 0x62),
2449
+ AvxOpcode::Vpunpckhdq => (LP::_66, OM::_0F, 0x6A),
2450
+ AvxOpcode::Vpunpcklqdq => (LP::_66, OM::_0F, 0x6C),
2451
+ AvxOpcode::Vpunpckhqdq => (LP::_66, OM::_0F, 0x6D),
2452
+ AvxOpcode::Vmovsd => (LP::_F2, OM::_0F, 0x10),
2453
+ AvxOpcode::Vmovss => (LP::_F3, OM::_0F, 0x10),
2454
+ AvxOpcode::Vcvtss2sd => (LP::_F3, OM::_0F, 0x5A),
2455
+ AvxOpcode::Vcvtsd2ss => (LP::_F2, OM::_0F, 0x5A),
2456
+ AvxOpcode::Vsqrtss => (LP::_F3, OM::_0F, 0x51),
2457
+ AvxOpcode::Vsqrtsd => (LP::_F2, OM::_0F, 0x51),
2458
+ AvxOpcode::Vunpcklpd => (LP::_66, OM::_0F, 0x14),
2459
+ _ => panic!("unexpected rmir vex opcode {op:?}"),
2460
+ };
2461
+ VexInstruction::new()
2462
+ .length(VexVectorLength::V128)
2463
+ .prefix(prefix)
2464
+ .map(map)
2465
+ .opcode(opcode)
2466
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2467
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2468
+ .rm(src2)
2469
+ .encode(sink);
2470
+ }
2471
+
2472
+ Inst::XmmRmRImmVex {
2473
+ op,
2474
+ src1,
2475
+ src2,
2476
+ dst,
2477
+ imm,
2478
+ } => {
2479
+ let dst = dst.to_reg().to_reg();
2480
+ let src1 = src1.to_reg();
2481
+ let src2 = match src2.clone().to_reg_mem().clone() {
2482
+ RegMem::Reg { reg } => {
2483
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2484
+ }
2485
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2486
+ };
2487
+
2488
+ let (w, prefix, map, opcode) = match op {
2489
+ AvxOpcode::Vcmpps => (false, LegacyPrefixes::None, OpcodeMap::_0F, 0xC2),
2490
+ AvxOpcode::Vcmppd => (false, LegacyPrefixes::_66, OpcodeMap::_0F, 0xC2),
2491
+ AvxOpcode::Vpalignr => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0F),
2492
+ AvxOpcode::Vinsertps => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x21),
2493
+ AvxOpcode::Vshufps => (false, LegacyPrefixes::None, OpcodeMap::_0F, 0xC6),
2494
+ AvxOpcode::Vpblendw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0E),
2495
+ _ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
2496
+ };
2497
+
2498
+ VexInstruction::new()
2499
+ .length(VexVectorLength::V128)
2500
+ .prefix(prefix)
2501
+ .map(map)
2502
+ .w(w)
2503
+ .opcode(opcode)
2504
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2505
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2506
+ .rm(src2)
2507
+ .imm(*imm)
2508
+ .encode(sink);
2509
+ }
2510
+
2511
+ Inst::XmmVexPinsr {
2512
+ op,
2513
+ src1,
2514
+ src2,
2515
+ dst,
2516
+ imm,
2517
+ } => {
2518
+ let dst = dst.to_reg().to_reg();
2519
+ let src1 = src1.to_reg();
2520
+ let src2 = match src2.clone().to_reg_mem().clone() {
2521
+ RegMem::Reg { reg } => {
2522
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2523
+ }
2524
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2525
+ };
2526
+
2527
+ let (w, map, opcode) = match op {
2528
+ AvxOpcode::Vpinsrb => (false, OpcodeMap::_0F3A, 0x20),
2529
+ AvxOpcode::Vpinsrw => (false, OpcodeMap::_0F, 0xC4),
2530
+ AvxOpcode::Vpinsrd => (false, OpcodeMap::_0F3A, 0x22),
2531
+ AvxOpcode::Vpinsrq => (true, OpcodeMap::_0F3A, 0x22),
2532
+ _ => panic!("unexpected vex_pinsr opcode {op:?}"),
2533
+ };
2534
+
2535
+ VexInstruction::new()
2536
+ .length(VexVectorLength::V128)
2537
+ .prefix(LegacyPrefixes::_66)
2538
+ .map(map)
2539
+ .w(w)
2540
+ .opcode(opcode)
2541
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2542
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2543
+ .rm(src2)
2544
+ .imm(*imm)
2545
+ .encode(sink);
2546
+ }
2547
+
2548
+ Inst::XmmRmRVex3 {
2549
+ op,
2550
+ src1,
2551
+ src2,
2552
+ src3,
2553
+ dst,
2554
+ } => {
2555
+ let src1 = src1.to_reg();
2556
+ let dst = dst.to_reg().to_reg();
2557
+ debug_assert_eq!(src1, dst);
2558
+ let src2 = src2.to_reg();
2559
+ let src3 = match src3.clone().to_reg_mem().clone() {
2560
+ RegMem::Reg { reg } => {
2561
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2562
+ }
2563
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2564
+ };
2565
+
2566
+ let (w, map, opcode) = match op {
2567
+ AvxOpcode::Vfmadd132ss => (false, OpcodeMap::_0F38, 0x99),
2568
+ AvxOpcode::Vfmadd213ss => (false, OpcodeMap::_0F38, 0xA9),
2569
+ AvxOpcode::Vfnmadd132ss => (false, OpcodeMap::_0F38, 0x9D),
2570
+ AvxOpcode::Vfnmadd213ss => (false, OpcodeMap::_0F38, 0xAD),
2571
+ AvxOpcode::Vfmadd132sd => (true, OpcodeMap::_0F38, 0x99),
2572
+ AvxOpcode::Vfmadd213sd => (true, OpcodeMap::_0F38, 0xA9),
2573
+ AvxOpcode::Vfnmadd132sd => (true, OpcodeMap::_0F38, 0x9D),
2574
+ AvxOpcode::Vfnmadd213sd => (true, OpcodeMap::_0F38, 0xAD),
2575
+ AvxOpcode::Vfmadd132ps => (false, OpcodeMap::_0F38, 0x98),
2576
+ AvxOpcode::Vfmadd213ps => (false, OpcodeMap::_0F38, 0xA8),
2577
+ AvxOpcode::Vfnmadd132ps => (false, OpcodeMap::_0F38, 0x9C),
2578
+ AvxOpcode::Vfnmadd213ps => (false, OpcodeMap::_0F38, 0xAC),
2579
+ AvxOpcode::Vfmadd132pd => (true, OpcodeMap::_0F38, 0x98),
2580
+ AvxOpcode::Vfmadd213pd => (true, OpcodeMap::_0F38, 0xA8),
2581
+ AvxOpcode::Vfnmadd132pd => (true, OpcodeMap::_0F38, 0x9C),
2582
+ AvxOpcode::Vfnmadd213pd => (true, OpcodeMap::_0F38, 0xAC),
2583
+ AvxOpcode::Vblendvps => (false, OpcodeMap::_0F3A, 0x4A),
2584
+ AvxOpcode::Vblendvpd => (false, OpcodeMap::_0F3A, 0x4B),
2585
+ AvxOpcode::Vpblendvb => (false, OpcodeMap::_0F3A, 0x4C),
2586
+ _ => unreachable!(),
2587
+ };
2588
+
2589
+ VexInstruction::new()
2590
+ .length(VexVectorLength::V128)
2591
+ .prefix(LegacyPrefixes::_66)
2592
+ .map(map)
2593
+ .w(w)
2594
+ .opcode(opcode)
2595
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2596
+ .rm(src3)
2597
+ .vvvv(src2.to_real_reg().unwrap().hw_enc())
2598
+ .encode(sink);
2599
+ }
2600
+
2601
+ Inst::XmmRmRBlendVex {
2602
+ op,
2603
+ src1,
2604
+ src2,
2605
+ mask,
2606
+ dst,
2607
+ } => {
2608
+ let dst = dst.to_reg().to_reg();
2609
+ let src1 = src1.to_reg();
2610
+ let src2 = match src2.clone().to_reg_mem().clone() {
2611
+ RegMem::Reg { reg } => {
2612
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2613
+ }
2614
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2615
+ };
2616
+ let mask = mask.to_reg();
2617
+
2618
+ let opcode = match op {
2619
+ AvxOpcode::Vblendvps => 0x4A,
2620
+ AvxOpcode::Vblendvpd => 0x4B,
2621
+ AvxOpcode::Vpblendvb => 0x4C,
2622
+ _ => unreachable!(),
2623
+ };
2624
+
2625
+ VexInstruction::new()
2626
+ .length(VexVectorLength::V128)
2627
+ .prefix(LegacyPrefixes::_66)
2628
+ .map(OpcodeMap::_0F3A)
2629
+ .opcode(opcode)
2630
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2631
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2632
+ .rm(src2)
2633
+ .imm(mask.to_real_reg().unwrap().hw_enc() << 4)
2634
+ .encode(sink);
2635
+ }
2636
+
2637
+ Inst::XmmUnaryRmRVex { op, src, dst } => {
2638
+ let dst = dst.to_reg().to_reg();
2639
+ let src = match src.clone().to_reg_mem().clone() {
2640
+ RegMem::Reg { reg } => {
2641
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2642
+ }
2643
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2644
+ };
2645
+
2646
+ let (prefix, map, opcode) = match op {
2647
+ AvxOpcode::Vpmovsxbw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x20),
2648
+ AvxOpcode::Vpmovzxbw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x30),
2649
+ AvxOpcode::Vpmovsxwd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x23),
2650
+ AvxOpcode::Vpmovzxwd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x33),
2651
+ AvxOpcode::Vpmovsxdq => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x25),
2652
+ AvxOpcode::Vpmovzxdq => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x35),
2653
+ AvxOpcode::Vpabsb => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1C),
2654
+ AvxOpcode::Vpabsw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1D),
2655
+ AvxOpcode::Vpabsd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1E),
2656
+ AvxOpcode::Vsqrtps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x51),
2657
+ AvxOpcode::Vsqrtpd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x51),
2658
+ AvxOpcode::Vcvtdq2pd => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0xE6),
2659
+ AvxOpcode::Vcvtdq2ps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x5B),
2660
+ AvxOpcode::Vcvtpd2ps => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x5A),
2661
+ AvxOpcode::Vcvtps2pd => (LegacyPrefixes::None, OpcodeMap::_0F, 0x5A),
2662
+ AvxOpcode::Vcvttpd2dq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0xE6),
2663
+ AvxOpcode::Vcvttps2dq => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x5B),
2664
+ AvxOpcode::Vmovdqu => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x6F),
2665
+ AvxOpcode::Vmovups => (LegacyPrefixes::None, OpcodeMap::_0F, 0x10),
2666
+ AvxOpcode::Vmovupd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x10),
2667
+
2668
+ // Note that for `vmov{s,d}` the `inst.isle` rules should
2669
+ // statically ensure that only `Amode` operands are used here.
2670
+ // Otherwise the other encodings of `vmovss` are more like
2671
+ // 2-operand instructions which this unary encoding does not
2672
+ // have.
2673
+ AvxOpcode::Vmovss => match &src {
2674
+ RegisterOrAmode::Amode(_) => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x10),
2675
+ _ => unreachable!(),
2676
+ },
2677
+ AvxOpcode::Vmovsd => match &src {
2678
+ RegisterOrAmode::Amode(_) => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x10),
2679
+ _ => unreachable!(),
2680
+ },
2681
+
2682
+ AvxOpcode::Vpbroadcastb => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x78),
2683
+ AvxOpcode::Vpbroadcastw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x79),
2684
+ AvxOpcode::Vpbroadcastd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x58),
2685
+ AvxOpcode::Vbroadcastss => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x18),
2686
+ AvxOpcode::Vmovddup => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x12),
2687
+
2688
+ _ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
2689
+ };
2690
+
2691
+ VexInstruction::new()
2692
+ .length(VexVectorLength::V128)
2693
+ .prefix(prefix)
2694
+ .map(map)
2695
+ .opcode(opcode)
2696
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2697
+ .rm(src)
2698
+ .encode(sink);
2699
+ }
2700
+
2701
+ Inst::XmmUnaryRmRImmVex { op, src, dst, imm } => {
2702
+ let dst = dst.to_reg().to_reg();
2703
+ let src = match src.clone().to_reg_mem().clone() {
2704
+ RegMem::Reg { reg } => {
2705
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2706
+ }
2707
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2708
+ };
2709
+
2710
+ let (prefix, map, opcode) = match op {
2711
+ AvxOpcode::Vroundps => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x08),
2712
+ AvxOpcode::Vroundpd => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x09),
2713
+ AvxOpcode::Vpshuflw => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x70),
2714
+ AvxOpcode::Vpshufhw => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x70),
2715
+ AvxOpcode::Vpshufd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x70),
2716
+ AvxOpcode::Vroundss => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0A),
2717
+ AvxOpcode::Vroundsd => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0B),
2718
+ _ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
2719
+ };
2720
+
2721
+ let vex = VexInstruction::new()
2722
+ .length(VexVectorLength::V128)
2723
+ .prefix(prefix)
2724
+ .map(map)
2725
+ .opcode(opcode)
2726
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2727
+ .rm(src)
2728
+ .imm(*imm);
2729
+
2730
+ // See comments in similar block above in `XmmUnaryRmRVex` for what
2731
+ // this is doing.
2732
+ let vex = match op {
2733
+ AvxOpcode::Vroundss | AvxOpcode::Vroundsd => {
2734
+ vex.vvvv(dst.to_real_reg().unwrap().hw_enc())
2735
+ }
2736
+ _ => vex,
2737
+ };
2738
+ vex.encode(sink);
2739
+ }
2740
+
2741
+ Inst::XmmMovRMVex { op, src, dst } => {
2742
+ let src = src.to_reg();
2743
+ let dst = dst.clone().finalize(state, sink);
2744
+
2745
+ let (prefix, map, opcode) = match op {
2746
+ AvxOpcode::Vmovdqu => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x7F),
2747
+ AvxOpcode::Vmovss => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x11),
2748
+ AvxOpcode::Vmovsd => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x11),
2749
+ AvxOpcode::Vmovups => (LegacyPrefixes::None, OpcodeMap::_0F, 0x11),
2750
+ AvxOpcode::Vmovupd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x11),
2751
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2752
+ };
2753
+ VexInstruction::new()
2754
+ .length(VexVectorLength::V128)
2755
+ .prefix(prefix)
2756
+ .map(map)
2757
+ .opcode(opcode)
2758
+ .rm(dst)
2759
+ .reg(src.to_real_reg().unwrap().hw_enc())
2760
+ .encode(sink);
2761
+ }
2762
+
2763
+ Inst::XmmMovRMImmVex { op, src, dst, imm } => {
2764
+ let src = src.to_reg();
2765
+ let dst = dst.clone().finalize(state, sink);
2766
+
2767
+ let (w, prefix, map, opcode) = match op {
2768
+ AvxOpcode::Vpextrb => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x14),
2769
+ AvxOpcode::Vpextrw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x15),
2770
+ AvxOpcode::Vpextrd => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2771
+ AvxOpcode::Vpextrq => (true, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2772
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2773
+ };
2774
+ VexInstruction::new()
2775
+ .length(VexVectorLength::V128)
2776
+ .w(w)
2777
+ .prefix(prefix)
2778
+ .map(map)
2779
+ .opcode(opcode)
2780
+ .rm(dst)
2781
+ .reg(src.to_real_reg().unwrap().hw_enc())
2782
+ .imm(*imm)
2783
+ .encode(sink);
2784
+ }
2785
+
2786
+ Inst::XmmToGprImmVex { op, src, dst, imm } => {
2787
+ let src = src.to_reg();
2788
+ let dst = dst.to_reg().to_reg();
2789
+
2790
+ let (w, prefix, map, opcode) = match op {
2791
+ AvxOpcode::Vpextrb => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x14),
2792
+ AvxOpcode::Vpextrw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x15),
2793
+ AvxOpcode::Vpextrd => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2794
+ AvxOpcode::Vpextrq => (true, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2795
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2796
+ };
2797
+ VexInstruction::new()
2798
+ .length(VexVectorLength::V128)
2799
+ .w(w)
2800
+ .prefix(prefix)
2801
+ .map(map)
2802
+ .opcode(opcode)
2803
+ .rm(dst.to_real_reg().unwrap().hw_enc())
2804
+ .reg(src.to_real_reg().unwrap().hw_enc())
2805
+ .imm(*imm)
2806
+ .encode(sink);
2807
+ }
2808
+
2809
+ Inst::XmmToGprVex {
2810
+ op,
2811
+ src,
2812
+ dst,
2813
+ dst_size,
2814
+ } => {
2815
+ let src = src.to_reg();
2816
+ let dst = dst.to_reg().to_reg();
2817
+
2818
+ let (prefix, map, opcode) = match op {
2819
+ // vmovd/vmovq are differentiated by `w`
2820
+ AvxOpcode::Vmovd | AvxOpcode::Vmovq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x7E),
2821
+ AvxOpcode::Vmovmskps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x50),
2822
+ AvxOpcode::Vmovmskpd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x50),
2823
+ AvxOpcode::Vpmovmskb => (LegacyPrefixes::_66, OpcodeMap::_0F, 0xD7),
2824
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2825
+ };
2826
+ let w = match dst_size {
2827
+ OperandSize::Size64 => true,
2828
+ _ => false,
2829
+ };
2830
+ let mut vex = VexInstruction::new()
2831
+ .length(VexVectorLength::V128)
2832
+ .w(w)
2833
+ .prefix(prefix)
2834
+ .map(map)
2835
+ .opcode(opcode);
2836
+ vex = match op {
2837
+ // The `vmovq/vmovd` reverse the order of the destination/source
2838
+ // relative to other opcodes using this shape of instruction.
2839
+ AvxOpcode::Vmovd | AvxOpcode::Vmovq => vex
2840
+ .rm(dst.to_real_reg().unwrap().hw_enc())
2841
+ .reg(src.to_real_reg().unwrap().hw_enc()),
2842
+ _ => vex
2843
+ .rm(src.to_real_reg().unwrap().hw_enc())
2844
+ .reg(dst.to_real_reg().unwrap().hw_enc()),
2845
+ };
2846
+ vex.encode(sink);
2847
+ }
2848
+
2849
+ Inst::GprToXmmVex {
2850
+ op,
2851
+ src,
2852
+ dst,
2853
+ src_size,
2854
+ } => {
2855
+ let dst = dst.to_reg().to_reg();
2856
+ let src = match src.clone().to_reg_mem().clone() {
2857
+ RegMem::Reg { reg } => {
2858
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2859
+ }
2860
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2861
+ };
2862
+
2863
+ let (prefix, map, opcode) = match op {
2864
+ // vmovd/vmovq are differentiated by `w`
2865
+ AvxOpcode::Vmovd | AvxOpcode::Vmovq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x6E),
2866
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2867
+ };
2868
+ let w = match src_size {
2869
+ OperandSize::Size64 => true,
2870
+ _ => false,
2871
+ };
2872
+ VexInstruction::new()
2873
+ .length(VexVectorLength::V128)
2874
+ .w(w)
2875
+ .prefix(prefix)
2876
+ .map(map)
2877
+ .opcode(opcode)
2878
+ .rm(src)
2879
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2880
+ .encode(sink);
2881
+ }
2882
+
2883
+ Inst::XmmCmpRmRVex { op, src1, src2 } => {
2884
+ let src1 = src1.to_reg();
2885
+ let src2 = match src2.clone().to_reg_mem().clone() {
2886
+ RegMem::Reg { reg } => {
2887
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2888
+ }
2889
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2890
+ };
2891
+
2892
+ let (prefix, map, opcode) = match op {
2893
+ AvxOpcode::Vucomiss => (LegacyPrefixes::None, OpcodeMap::_0F, 0x2E),
2894
+ AvxOpcode::Vucomisd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x2E),
2895
+ AvxOpcode::Vptest => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x17),
2896
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2897
+ };
2898
+
2899
+ VexInstruction::new()
2900
+ .length(VexVectorLength::V128)
2901
+ .prefix(prefix)
2902
+ .map(map)
2903
+ .opcode(opcode)
2904
+ .rm(src2)
2905
+ .reg(src1.to_real_reg().unwrap().hw_enc())
2906
+ .encode(sink);
2907
+ }
2908
+
2909
+ Inst::XmmRmREvex {
2910
+ op,
2911
+ src1,
2912
+ src2,
2913
+ dst,
2914
+ }
2915
+ | Inst::XmmRmREvex3 {
2916
+ op,
2917
+ src1: _, // `dst` reuses `src1`.
2918
+ src2: src1,
2919
+ src3: src2,
2920
+ dst,
2921
+ } => {
2922
+ let reused_src = match inst {
2923
+ Inst::XmmRmREvex3 { src1, .. } => Some(src1.to_reg()),
2924
+ _ => None,
2925
+ };
2926
+ let src1 = src1.to_reg();
2927
+ let src2 = match src2.clone().to_reg_mem().clone() {
2928
+ RegMem::Reg { reg } => {
2929
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2930
+ }
2931
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2932
+ };
2933
+ let dst = dst.to_reg().to_reg();
2934
+ if let Some(src1) = reused_src {
2935
+ debug_assert_eq!(src1, dst);
2936
+ }
2937
+
2938
+ let (w, opcode, map) = match op {
2939
+ Avx512Opcode::Vpermi2b => (false, 0x75, OpcodeMap::_0F38),
2940
+ Avx512Opcode::Vpmullq => (true, 0x40, OpcodeMap::_0F38),
2941
+ Avx512Opcode::Vpsraq => (true, 0xE2, OpcodeMap::_0F),
2942
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2943
+ };
2944
+ EvexInstruction::new()
2945
+ .length(EvexVectorLength::V128)
2946
+ .prefix(LegacyPrefixes::_66)
2947
+ .map(map)
2948
+ .w(w)
2949
+ .opcode(opcode)
2950
+ .tuple_type(op.tuple_type())
2951
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2952
+ .vvvvv(src1.to_real_reg().unwrap().hw_enc())
2953
+ .rm(src2)
2954
+ .encode(sink);
2955
+ }
2956
+
2957
+ Inst::XmmMinMaxSeq {
2958
+ size,
2959
+ is_min,
2960
+ lhs,
2961
+ rhs,
2962
+ dst,
2963
+ } => {
2964
+ let rhs = rhs.to_reg();
2965
+ let lhs = lhs.to_reg();
2966
+ let dst = dst.to_writable_reg();
2967
+ debug_assert_eq!(rhs, dst.to_reg());
2968
+
2969
+ // Generates the following sequence:
2970
+ // cmpss/cmpsd %lhs, %rhs_dst
2971
+ // jnz do_min_max
2972
+ // jp propagate_nan
2973
+ //
2974
+ // ;; ordered and equal: propagate the sign bit (for -0 vs 0):
2975
+ // {and,or}{ss,sd} %lhs, %rhs_dst
2976
+ // j done
2977
+ //
2978
+ // ;; to get the desired NaN behavior (signalling NaN transformed into a quiet NaN, the
2979
+ // ;; NaN value is returned), we add both inputs.
2980
+ // propagate_nan:
2981
+ // add{ss,sd} %lhs, %rhs_dst
2982
+ // j done
2983
+ //
2984
+ // do_min_max:
2985
+ // {min,max}{ss,sd} %lhs, %rhs_dst
2986
+ //
2987
+ // done:
2988
+ let done = sink.get_label();
2989
+ let propagate_nan = sink.get_label();
2990
+ let do_min_max = sink.get_label();
2991
+
2992
+ let (add_op, cmp_op, and_op, or_op, min_max_op) = match size {
2993
+ OperandSize::Size32 => (
2994
+ SseOpcode::Addss,
2995
+ SseOpcode::Ucomiss,
2996
+ SseOpcode::Andps,
2997
+ SseOpcode::Orps,
2998
+ if *is_min {
2999
+ SseOpcode::Minss
3000
+ } else {
3001
+ SseOpcode::Maxss
3002
+ },
3003
+ ),
3004
+ OperandSize::Size64 => (
3005
+ SseOpcode::Addsd,
3006
+ SseOpcode::Ucomisd,
3007
+ SseOpcode::Andpd,
3008
+ SseOpcode::Orpd,
3009
+ if *is_min {
3010
+ SseOpcode::Minsd
3011
+ } else {
3012
+ SseOpcode::Maxsd
3013
+ },
3014
+ ),
3015
+ _ => unreachable!(),
3016
+ };
3017
+
3018
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, dst.to_reg(), RegMem::reg(lhs));
3019
+ inst.emit(sink, info, state);
3020
+
3021
+ one_way_jmp(sink, CC::NZ, do_min_max);
3022
+ one_way_jmp(sink, CC::P, propagate_nan);
3023
+
3024
+ // Ordered and equal. The operands are bit-identical unless they are zero
3025
+ // and negative zero. These instructions merge the sign bits in that
3026
+ // case, and are no-ops otherwise.
3027
+ let op = if *is_min { or_op } else { and_op };
3028
+ let inst = Inst::xmm_rm_r(op, RegMem::reg(lhs), dst);
3029
+ inst.emit(sink, info, state);
3030
+
3031
+ let inst = Inst::jmp_known(done);
3032
+ inst.emit(sink, info, state);
3033
+
3034
+ // x86's min/max are not symmetric; if either operand is a NaN, they return the
3035
+ // read-only operand: perform an addition between the two operands, which has the
3036
+ // desired NaN propagation effects.
3037
+ sink.bind_label(propagate_nan, state.ctrl_plane_mut());
3038
+ let inst = Inst::xmm_rm_r(add_op, RegMem::reg(lhs), dst);
3039
+ inst.emit(sink, info, state);
3040
+
3041
+ one_way_jmp(sink, CC::P, done);
3042
+
3043
+ sink.bind_label(do_min_max, state.ctrl_plane_mut());
3044
+
3045
+ let inst = Inst::xmm_rm_r(min_max_op, RegMem::reg(lhs), dst);
3046
+ inst.emit(sink, info, state);
3047
+
3048
+ sink.bind_label(done, state.ctrl_plane_mut());
3049
+ }
3050
+
3051
+ Inst::XmmRmRImm {
3052
+ op,
3053
+ src1,
3054
+ src2,
3055
+ dst,
3056
+ imm,
3057
+ size,
3058
+ } => {
3059
+ let src1 = *src1;
3060
+ let dst = dst.to_reg();
3061
+ let src2 = src2.clone();
3062
+ debug_assert_eq!(src1, dst);
3063
+
3064
+ let (prefix, opcode, len) = match op {
3065
+ SseOpcode::Cmpps => (LegacyPrefixes::None, 0x0FC2, 2),
3066
+ SseOpcode::Cmppd => (LegacyPrefixes::_66, 0x0FC2, 2),
3067
+ SseOpcode::Cmpss => (LegacyPrefixes::_F3, 0x0FC2, 2),
3068
+ SseOpcode::Cmpsd => (LegacyPrefixes::_F2, 0x0FC2, 2),
3069
+ SseOpcode::Insertps => (LegacyPrefixes::_66, 0x0F3A21, 3),
3070
+ SseOpcode::Palignr => (LegacyPrefixes::_66, 0x0F3A0F, 3),
3071
+ SseOpcode::Pinsrb => (LegacyPrefixes::_66, 0x0F3A20, 3),
3072
+ SseOpcode::Pinsrw => (LegacyPrefixes::_66, 0x0FC4, 2),
3073
+ SseOpcode::Pinsrd => (LegacyPrefixes::_66, 0x0F3A22, 3),
3074
+ SseOpcode::Shufps => (LegacyPrefixes::None, 0x0FC6, 2),
3075
+ SseOpcode::Pblendw => (LegacyPrefixes::_66, 0x0F3A0E, 3),
3076
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3077
+ };
3078
+ let rex = RexFlags::from(*size);
3079
+ let regs_swapped = match *op {
3080
+ // These opcodes (and not the SSE2 version of PEXTRW) flip the operand
3081
+ // encoding: `dst` in ModRM's r/m, `src` in ModRM's reg field.
3082
+ SseOpcode::Pextrb | SseOpcode::Pextrd => true,
3083
+ // The rest of the opcodes have the customary encoding: `dst` in ModRM's reg,
3084
+ // `src` in ModRM's r/m field.
3085
+ _ => false,
3086
+ };
3087
+ match src2 {
3088
+ RegMem::Reg { reg } => {
3089
+ if regs_swapped {
3090
+ emit_std_reg_reg(sink, prefix, opcode, len, reg, dst, rex);
3091
+ } else {
3092
+ emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
3093
+ }
3094
+ }
3095
+ RegMem::Mem { addr } => {
3096
+ let addr = &addr.finalize(state, sink);
3097
+ assert!(
3098
+ !regs_swapped,
3099
+ "No existing way to encode a mem argument in the ModRM r/m field."
3100
+ );
3101
+ // N.B.: bytes_at_end == 1, because of the `imm` byte below.
3102
+ emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 1);
3103
+ }
3104
+ }
3105
+ sink.put1(*imm);
3106
+ }
3107
+
3108
+ Inst::XmmUninitializedValue { .. } => {
3109
+ // This instruction format only exists to declare a register as a `def`; no code is
3110
+ // emitted.
3111
+ }
3112
+
3113
+ Inst::XmmMovRM { op, src, dst } => {
3114
+ let src = src.to_reg();
3115
+ let dst = dst.clone();
3116
+
3117
+ let (prefix, opcode) = match op {
3118
+ SseOpcode::Movaps => (LegacyPrefixes::None, 0x0F29),
3119
+ SseOpcode::Movapd => (LegacyPrefixes::_66, 0x0F29),
3120
+ SseOpcode::Movdqu => (LegacyPrefixes::_F3, 0x0F7F),
3121
+ SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F11),
3122
+ SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F11),
3123
+ SseOpcode::Movups => (LegacyPrefixes::None, 0x0F11),
3124
+ SseOpcode::Movupd => (LegacyPrefixes::_66, 0x0F11),
3125
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3126
+ };
3127
+ let dst = &dst.finalize(state, sink);
3128
+ emit_std_reg_mem(sink, prefix, opcode, 2, src, dst, RexFlags::clear_w(), 0);
3129
+ }
3130
+
3131
+ Inst::XmmMovRMImm { op, src, dst, imm } => {
3132
+ let src = src.to_reg();
3133
+ let dst = dst.clone();
3134
+
3135
+ let (w, prefix, opcode) = match op {
3136
+ SseOpcode::Pextrb => (false, LegacyPrefixes::_66, 0x0F3A14),
3137
+ SseOpcode::Pextrw => (false, LegacyPrefixes::_66, 0x0F3A15),
3138
+ SseOpcode::Pextrd => (false, LegacyPrefixes::_66, 0x0F3A16),
3139
+ SseOpcode::Pextrq => (true, LegacyPrefixes::_66, 0x0F3A16),
3140
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3141
+ };
3142
+ let rex = if w {
3143
+ RexFlags::set_w()
3144
+ } else {
3145
+ RexFlags::clear_w()
3146
+ };
3147
+ let dst = &dst.finalize(state, sink);
3148
+ emit_std_reg_mem(sink, prefix, opcode, 3, src, dst, rex, 1);
3149
+ sink.put1(*imm);
3150
+ }
3151
+
3152
+ Inst::XmmToGpr {
3153
+ op,
3154
+ src,
3155
+ dst,
3156
+ dst_size,
3157
+ } => {
3158
+ let src = src.to_reg();
3159
+ let dst = dst.to_reg().to_reg();
3160
+
3161
+ let (prefix, opcode, dst_first) = match op {
3162
+ SseOpcode::Cvttss2si => (LegacyPrefixes::_F3, 0x0F2C, true),
3163
+ SseOpcode::Cvttsd2si => (LegacyPrefixes::_F2, 0x0F2C, true),
3164
+ // Movd and movq use the same opcode; the presence of the REX prefix (set below)
3165
+ // actually determines which is used.
3166
+ SseOpcode::Movd | SseOpcode::Movq => (LegacyPrefixes::_66, 0x0F7E, false),
3167
+ SseOpcode::Movmskps => (LegacyPrefixes::None, 0x0F50, true),
3168
+ SseOpcode::Movmskpd => (LegacyPrefixes::_66, 0x0F50, true),
3169
+ SseOpcode::Pmovmskb => (LegacyPrefixes::_66, 0x0FD7, true),
3170
+ _ => panic!("unexpected opcode {:?}", op),
3171
+ };
3172
+ let rex = RexFlags::from(*dst_size);
3173
+ let (src, dst) = if dst_first { (dst, src) } else { (src, dst) };
3174
+
3175
+ emit_std_reg_reg(sink, prefix, opcode, 2, src, dst, rex);
3176
+ }
3177
+
3178
+ Inst::XmmToGprImm { op, src, dst, imm } => {
3179
+ use OperandSize as OS;
3180
+
3181
+ let src = src.to_reg();
3182
+ let dst = dst.to_reg().to_reg();
3183
+
3184
+ let (prefix, opcode, opcode_bytes, dst_size, dst_first) = match op {
3185
+ SseOpcode::Pextrb => (LegacyPrefixes::_66, 0x0F3A14, 3, OS::Size32, false),
3186
+ SseOpcode::Pextrw => (LegacyPrefixes::_66, 0x0FC5, 2, OS::Size32, true),
3187
+ SseOpcode::Pextrd => (LegacyPrefixes::_66, 0x0F3A16, 3, OS::Size32, false),
3188
+ SseOpcode::Pextrq => (LegacyPrefixes::_66, 0x0F3A16, 3, OS::Size64, false),
3189
+ _ => panic!("unexpected opcode {:?}", op),
3190
+ };
3191
+ let rex = RexFlags::from(dst_size);
3192
+ let (src, dst) = if dst_first { (dst, src) } else { (src, dst) };
3193
+
3194
+ emit_std_reg_reg(sink, prefix, opcode, opcode_bytes, src, dst, rex);
3195
+ sink.put1(*imm);
3196
+ }
3197
+
3198
+ Inst::GprToXmm {
3199
+ op,
3200
+ src: src_e,
3201
+ dst: reg_g,
3202
+ src_size,
3203
+ } => {
3204
+ let reg_g = reg_g.to_reg().to_reg();
3205
+ let src_e = src_e.clone().to_reg_mem().clone();
3206
+
3207
+ let (prefix, opcode) = match op {
3208
+ // Movd and movq use the same opcode; the presence of the REX prefix (set below)
3209
+ // actually determines which is used.
3210
+ SseOpcode::Movd | SseOpcode::Movq => (LegacyPrefixes::_66, 0x0F6E),
3211
+ _ => panic!("unexpected opcode {:?}", op),
3212
+ };
3213
+ let rex = RexFlags::from(*src_size);
3214
+ match src_e {
3215
+ RegMem::Reg { reg: reg_e } => {
3216
+ emit_std_reg_reg(sink, prefix, opcode, 2, reg_g, reg_e, rex);
3217
+ }
3218
+ RegMem::Mem { addr } => {
3219
+ let addr = &addr.finalize(state, sink);
3220
+ emit_std_reg_mem(sink, prefix, opcode, 2, reg_g, addr, rex, 0);
3221
+ }
3222
+ }
3223
+ }
3224
+
3225
+ Inst::XmmCmpRmR { op, src1, src2 } => {
3226
+ let src1 = src1.to_reg();
3227
+ let src2 = src2.clone().to_reg_mem().clone();
3228
+
3229
+ let rex = RexFlags::clear_w();
3230
+ let (prefix, opcode, len) = match op {
3231
+ SseOpcode::Ptest => (LegacyPrefixes::_66, 0x0F3817, 3),
3232
+ SseOpcode::Ucomisd => (LegacyPrefixes::_66, 0x0F2E, 2),
3233
+ SseOpcode::Ucomiss => (LegacyPrefixes::None, 0x0F2E, 2),
3234
+ _ => unimplemented!("Emit xmm cmp rm r"),
3235
+ };
3236
+
3237
+ match src2 {
3238
+ RegMem::Reg { reg } => {
3239
+ emit_std_reg_reg(sink, prefix, opcode, len, src1, reg, rex);
3240
+ }
3241
+ RegMem::Mem { addr } => {
3242
+ let addr = &addr.finalize(state, sink);
3243
+ emit_std_reg_mem(sink, prefix, opcode, len, src1, addr, rex, 0);
3244
+ }
3245
+ }
3246
+ }
3247
+
3248
+ Inst::CvtIntToFloat {
3249
+ op,
3250
+ src1,
3251
+ src2,
3252
+ dst,
3253
+ src2_size,
3254
+ } => {
3255
+ let src1 = src1.to_reg();
3256
+ let dst = dst.to_reg().to_reg();
3257
+ assert_eq!(src1, dst);
3258
+ let src2 = src2.clone().to_reg_mem().clone();
3259
+
3260
+ let (prefix, opcode) = match op {
3261
+ SseOpcode::Cvtsi2ss => (LegacyPrefixes::_F3, 0x0F2A),
3262
+ SseOpcode::Cvtsi2sd => (LegacyPrefixes::_F2, 0x0F2A),
3263
+ _ => panic!("unexpected opcode {:?}", op),
3264
+ };
3265
+ let rex = RexFlags::from(*src2_size);
3266
+ match src2 {
3267
+ RegMem::Reg { reg: src2 } => {
3268
+ emit_std_reg_reg(sink, prefix, opcode, 2, dst, src2, rex);
3269
+ }
3270
+ RegMem::Mem { addr } => {
3271
+ let addr = &addr.finalize(state, sink);
3272
+ emit_std_reg_mem(sink, prefix, opcode, 2, dst, addr, rex, 0);
3273
+ }
3274
+ }
3275
+ }
3276
+
3277
+ Inst::CvtIntToFloatVex {
3278
+ op,
3279
+ src1,
3280
+ src2,
3281
+ dst,
3282
+ src2_size,
3283
+ } => {
3284
+ let dst = dst.to_reg().to_reg();
3285
+ let src1 = src1.to_reg();
3286
+ let src2 = match src2.clone().to_reg_mem().clone() {
3287
+ RegMem::Reg { reg } => {
3288
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
3289
+ }
3290
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
3291
+ };
3292
+
3293
+ let (prefix, map, opcode) = match op {
3294
+ AvxOpcode::Vcvtsi2ss => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x2A),
3295
+ AvxOpcode::Vcvtsi2sd => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x2A),
3296
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3297
+ };
3298
+ let w = match src2_size {
3299
+ OperandSize::Size64 => true,
3300
+ _ => false,
3301
+ };
3302
+ VexInstruction::new()
3303
+ .length(VexVectorLength::V128)
3304
+ .w(w)
3305
+ .prefix(prefix)
3306
+ .map(map)
3307
+ .opcode(opcode)
3308
+ .rm(src2)
3309
+ .reg(dst.to_real_reg().unwrap().hw_enc())
3310
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
3311
+ .encode(sink);
3312
+ }
3313
+
3314
+ Inst::CvtUint64ToFloatSeq {
3315
+ dst_size,
3316
+ src,
3317
+ dst,
3318
+ tmp_gpr1,
3319
+ tmp_gpr2,
3320
+ } => {
3321
+ let src = src.to_reg();
3322
+ let dst = dst.to_writable_reg();
3323
+ let tmp_gpr1 = tmp_gpr1.to_writable_reg();
3324
+ let tmp_gpr2 = tmp_gpr2.to_writable_reg();
3325
+
3326
+ // Note: this sequence is specific to 64-bit mode; a 32-bit mode would require a
3327
+ // different sequence.
3328
+ //
3329
+ // Emit the following sequence:
3330
+ //
3331
+ // cmp 0, %src
3332
+ // jl handle_negative
3333
+ //
3334
+ // ;; handle positive, which can't overflow
3335
+ // cvtsi2sd/cvtsi2ss %src, %dst
3336
+ // j done
3337
+ //
3338
+ // ;; handle negative: see below for an explanation of what it's doing.
3339
+ // handle_negative:
3340
+ // mov %src, %tmp_gpr1
3341
+ // shr $1, %tmp_gpr1
3342
+ // mov %src, %tmp_gpr2
3343
+ // and $1, %tmp_gpr2
3344
+ // or %tmp_gpr1, %tmp_gpr2
3345
+ // cvtsi2sd/cvtsi2ss %tmp_gpr2, %dst
3346
+ // addsd/addss %dst, %dst
3347
+ //
3348
+ // done:
3349
+
3350
+ assert_ne!(src, tmp_gpr1.to_reg());
3351
+ assert_ne!(src, tmp_gpr2.to_reg());
3352
+
3353
+ let handle_negative = sink.get_label();
3354
+ let done = sink.get_label();
3355
+
3356
+ // If x seen as a signed int64 is not negative, a signed-conversion will do the right
3357
+ // thing.
3358
+ // TODO use tst src, src here.
3359
+ let inst = Inst::cmp_rmi_r(OperandSize::Size64, src, RegMemImm::imm(0));
3360
+ inst.emit(sink, info, state);
3361
+
3362
+ one_way_jmp(sink, CC::L, handle_negative);
3363
+
3364
+ // Handle a positive int64, which is the "easy" case: a signed conversion will do the
3365
+ // right thing.
3366
+ emit_signed_cvt(
3367
+ sink,
3368
+ info,
3369
+ state,
3370
+ src,
3371
+ dst,
3372
+ *dst_size == OperandSize::Size64,
3373
+ );
3374
+
3375
+ let inst = Inst::jmp_known(done);
3376
+ inst.emit(sink, info, state);
3377
+
3378
+ sink.bind_label(handle_negative, state.ctrl_plane_mut());
3379
+
3380
+ // Divide x by two to get it in range for the signed conversion, keep the LSB, and
3381
+ // scale it back up on the FP side.
3382
+ let inst = Inst::gen_move(tmp_gpr1, src, types::I64);
3383
+ inst.emit(sink, info, state);
3384
+
3385
+ // tmp_gpr1 := src >> 1
3386
+ let inst = Inst::shift_r(
3387
+ OperandSize::Size64,
3388
+ ShiftKind::ShiftRightLogical,
3389
+ Imm8Gpr::new(Imm8Reg::Imm8 { imm: 1 }).unwrap(),
3390
+ tmp_gpr1.to_reg(),
3391
+ tmp_gpr1,
3392
+ );
3393
+ inst.emit(sink, info, state);
3394
+
3395
+ let inst = Inst::gen_move(tmp_gpr2, src, types::I64);
3396
+ inst.emit(sink, info, state);
3397
+
3398
+ let inst = Inst::alu_rmi_r(
3399
+ OperandSize::Size64,
3400
+ AluRmiROpcode::And,
3401
+ RegMemImm::imm(1),
3402
+ tmp_gpr2,
3403
+ );
3404
+ inst.emit(sink, info, state);
3405
+
3406
+ let inst = Inst::alu_rmi_r(
3407
+ OperandSize::Size64,
3408
+ AluRmiROpcode::Or,
3409
+ RegMemImm::reg(tmp_gpr1.to_reg()),
3410
+ tmp_gpr2,
3411
+ );
3412
+ inst.emit(sink, info, state);
3413
+
3414
+ emit_signed_cvt(
3415
+ sink,
3416
+ info,
3417
+ state,
3418
+ tmp_gpr2.to_reg(),
3419
+ dst,
3420
+ *dst_size == OperandSize::Size64,
3421
+ );
3422
+
3423
+ let add_op = if *dst_size == OperandSize::Size64 {
3424
+ SseOpcode::Addsd
3425
+ } else {
3426
+ SseOpcode::Addss
3427
+ };
3428
+ let inst = Inst::xmm_rm_r(add_op, RegMem::reg(dst.to_reg()), dst);
3429
+ inst.emit(sink, info, state);
3430
+
3431
+ sink.bind_label(done, state.ctrl_plane_mut());
3432
+ }
3433
+
3434
+ Inst::CvtFloatToSintSeq {
3435
+ src_size,
3436
+ dst_size,
3437
+ is_saturating,
3438
+ src,
3439
+ dst,
3440
+ tmp_gpr,
3441
+ tmp_xmm,
3442
+ } => {
3443
+ let src = src.to_reg();
3444
+ let dst = dst.to_writable_reg();
3445
+ let tmp_gpr = tmp_gpr.to_writable_reg();
3446
+ let tmp_xmm = tmp_xmm.to_writable_reg();
3447
+
3448
+ // Emits the following common sequence:
3449
+ //
3450
+ // cvttss2si/cvttsd2si %src, %dst
3451
+ // cmp %dst, 1
3452
+ // jno done
3453
+ //
3454
+ // Then, for saturating conversions:
3455
+ //
3456
+ // ;; check for NaN
3457
+ // cmpss/cmpsd %src, %src
3458
+ // jnp not_nan
3459
+ // xor %dst, %dst
3460
+ //
3461
+ // ;; positive inputs get saturated to INT_MAX; negative ones to INT_MIN, which is
3462
+ // ;; already in %dst.
3463
+ // xorpd %tmp_xmm, %tmp_xmm
3464
+ // cmpss/cmpsd %src, %tmp_xmm
3465
+ // jnb done
3466
+ // mov/movaps $INT_MAX, %dst
3467
+ //
3468
+ // done:
3469
+ //
3470
+ // Then, for non-saturating conversions:
3471
+ //
3472
+ // ;; check for NaN
3473
+ // cmpss/cmpsd %src, %src
3474
+ // jnp not_nan
3475
+ // ud2 trap BadConversionToInteger
3476
+ //
3477
+ // ;; check if INT_MIN was the correct result, against a magic constant:
3478
+ // not_nan:
3479
+ // movaps/mov $magic, %tmp_gpr
3480
+ // movq/movd %tmp_gpr, %tmp_xmm
3481
+ // cmpss/cmpsd %tmp_xmm, %src
3482
+ // jnb/jnbe $check_positive
3483
+ // ud2 trap IntegerOverflow
3484
+ //
3485
+ // ;; if positive, it was a real overflow
3486
+ // check_positive:
3487
+ // xorpd %tmp_xmm, %tmp_xmm
3488
+ // cmpss/cmpsd %src, %tmp_xmm
3489
+ // jnb done
3490
+ // ud2 trap IntegerOverflow
3491
+ //
3492
+ // done:
3493
+
3494
+ let (cast_op, cmp_op, trunc_op) = match src_size {
3495
+ OperandSize::Size64 => (SseOpcode::Movq, SseOpcode::Ucomisd, SseOpcode::Cvttsd2si),
3496
+ OperandSize::Size32 => (SseOpcode::Movd, SseOpcode::Ucomiss, SseOpcode::Cvttss2si),
3497
+ _ => unreachable!(),
3498
+ };
3499
+
3500
+ let done = sink.get_label();
3501
+
3502
+ // The truncation.
3503
+ let inst = Inst::xmm_to_gpr(trunc_op, src, dst, *dst_size);
3504
+ inst.emit(sink, info, state);
3505
+
3506
+ // Compare against 1, in case of overflow the dst operand was INT_MIN.
3507
+ let inst = Inst::cmp_rmi_r(*dst_size, dst.to_reg(), RegMemImm::imm(1));
3508
+ inst.emit(sink, info, state);
3509
+
3510
+ one_way_jmp(sink, CC::NO, done); // no overflow => done
3511
+
3512
+ // Check for NaN.
3513
+
3514
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, src, RegMem::reg(src));
3515
+ inst.emit(sink, info, state);
3516
+
3517
+ if *is_saturating {
3518
+ let not_nan = sink.get_label();
3519
+ one_way_jmp(sink, CC::NP, not_nan); // go to not_nan if not a NaN
3520
+
3521
+ // For NaN, emit 0.
3522
+ let inst = Inst::alu_rmi_r(
3523
+ *dst_size,
3524
+ AluRmiROpcode::Xor,
3525
+ RegMemImm::reg(dst.to_reg()),
3526
+ dst,
3527
+ );
3528
+ inst.emit(sink, info, state);
3529
+
3530
+ let inst = Inst::jmp_known(done);
3531
+ inst.emit(sink, info, state);
3532
+
3533
+ sink.bind_label(not_nan, state.ctrl_plane_mut());
3534
+
3535
+ // If the input was positive, saturate to INT_MAX.
3536
+
3537
+ // Zero out tmp_xmm.
3538
+ let inst = Inst::xmm_rm_r(SseOpcode::Xorpd, RegMem::reg(tmp_xmm.to_reg()), tmp_xmm);
3539
+ inst.emit(sink, info, state);
3540
+
3541
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, tmp_xmm.to_reg(), RegMem::reg(src));
3542
+ inst.emit(sink, info, state);
3543
+
3544
+ // Jump if >= to done.
3545
+ one_way_jmp(sink, CC::NB, done);
3546
+
3547
+ // Otherwise, put INT_MAX.
3548
+ if *dst_size == OperandSize::Size64 {
3549
+ let inst = Inst::imm(OperandSize::Size64, 0x7fffffffffffffff, dst);
3550
+ inst.emit(sink, info, state);
3551
+ } else {
3552
+ let inst = Inst::imm(OperandSize::Size32, 0x7fffffff, dst);
3553
+ inst.emit(sink, info, state);
3554
+ }
3555
+ } else {
3556
+ let inst = Inst::trap_if(CC::P, TrapCode::BadConversionToInteger);
3557
+ inst.emit(sink, info, state);
3558
+
3559
+ // Check if INT_MIN was the correct result: determine the smallest floating point
3560
+ // number that would convert to INT_MIN, put it in a temporary register, and compare
3561
+ // against the src register.
3562
+ // If the src register is less (or in some cases, less-or-equal) than the threshold,
3563
+ // trap!
3564
+
3565
+ let mut no_overflow_cc = CC::NB; // >=
3566
+ let output_bits = dst_size.to_bits();
3567
+ match *src_size {
3568
+ OperandSize::Size32 => {
3569
+ let cst = Ieee32::pow2(output_bits - 1).neg().bits();
3570
+ let inst = Inst::imm(OperandSize::Size32, cst as u64, tmp_gpr);
3571
+ inst.emit(sink, info, state);
3572
+ }
3573
+ OperandSize::Size64 => {
3574
+ // An f64 can represent `i32::min_value() - 1` exactly with precision to spare,
3575
+ // so there are values less than -2^(N-1) that convert correctly to INT_MIN.
3576
+ let cst = if output_bits < 64 {
3577
+ no_overflow_cc = CC::NBE; // >
3578
+ Ieee64::fcvt_to_sint_negative_overflow(output_bits)
3579
+ } else {
3580
+ Ieee64::pow2(output_bits - 1).neg()
3581
+ };
3582
+ let inst = Inst::imm(OperandSize::Size64, cst.bits(), tmp_gpr);
3583
+ inst.emit(sink, info, state);
3584
+ }
3585
+ _ => unreachable!(),
3586
+ }
3587
+
3588
+ let inst =
3589
+ Inst::gpr_to_xmm(cast_op, RegMem::reg(tmp_gpr.to_reg()), *src_size, tmp_xmm);
3590
+ inst.emit(sink, info, state);
3591
+
3592
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, src, RegMem::reg(tmp_xmm.to_reg()));
3593
+ inst.emit(sink, info, state);
3594
+
3595
+ // no trap if src >= or > threshold
3596
+ let inst = Inst::trap_if(no_overflow_cc.invert(), TrapCode::IntegerOverflow);
3597
+ inst.emit(sink, info, state);
3598
+
3599
+ // If positive, it was a real overflow.
3600
+
3601
+ // Zero out the tmp_xmm register.
3602
+ let inst = Inst::xmm_rm_r(SseOpcode::Xorpd, RegMem::reg(tmp_xmm.to_reg()), tmp_xmm);
3603
+ inst.emit(sink, info, state);
3604
+
3605
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, tmp_xmm.to_reg(), RegMem::reg(src));
3606
+ inst.emit(sink, info, state);
3607
+
3608
+ // no trap if 0 >= src
3609
+ let inst = Inst::trap_if(CC::B, TrapCode::IntegerOverflow);
3610
+ inst.emit(sink, info, state);
3611
+ }
3612
+
3613
+ sink.bind_label(done, state.ctrl_plane_mut());
3614
+ }
3615
+
3616
+ Inst::CvtFloatToUintSeq {
3617
+ src_size,
3618
+ dst_size,
3619
+ is_saturating,
3620
+ src,
3621
+ dst,
3622
+ tmp_gpr,
3623
+ tmp_xmm,
3624
+ tmp_xmm2,
3625
+ } => {
3626
+ let src = src.to_reg();
3627
+ let dst = dst.to_writable_reg();
3628
+ let tmp_gpr = tmp_gpr.to_writable_reg();
3629
+ let tmp_xmm = tmp_xmm.to_writable_reg();
3630
+ let tmp_xmm2 = tmp_xmm2.to_writable_reg();
3631
+
3632
+ // The only difference in behavior between saturating and non-saturating is how we
3633
+ // handle errors. Emits the following sequence:
3634
+ //
3635
+ // movaps/mov 2**(int_width - 1), %tmp_gpr
3636
+ // movq/movd %tmp_gpr, %tmp_xmm
3637
+ // cmpss/cmpsd %tmp_xmm, %src
3638
+ // jnb is_large
3639
+ //
3640
+ // ;; check for NaN inputs
3641
+ // jnp not_nan
3642
+ // -- non-saturating: ud2 trap BadConversionToInteger
3643
+ // -- saturating: xor %dst, %dst; j done
3644
+ //
3645
+ // not_nan:
3646
+ // cvttss2si/cvttsd2si %src, %dst
3647
+ // cmp 0, %dst
3648
+ // jnl done
3649
+ // -- non-saturating: ud2 trap IntegerOverflow
3650
+ // -- saturating: xor %dst, %dst; j done
3651
+ //
3652
+ // is_large:
3653
+ // mov %src, %tmp_xmm2
3654
+ // subss/subsd %tmp_xmm, %tmp_xmm2
3655
+ // cvttss2si/cvttss2sd %tmp_x, %dst
3656
+ // cmp 0, %dst
3657
+ // jnl next_is_large
3658
+ // -- non-saturating: ud2 trap IntegerOverflow
3659
+ // -- saturating: movaps $UINT_MAX, %dst; j done
3660
+ //
3661
+ // next_is_large:
3662
+ // add 2**(int_width -1), %dst ;; 2 instructions for 64-bits integers
3663
+ //
3664
+ // done:
3665
+
3666
+ assert_ne!(tmp_xmm.to_reg(), src, "tmp_xmm clobbers src!");
3667
+
3668
+ let (sub_op, cast_op, cmp_op, trunc_op) = match src_size {
3669
+ OperandSize::Size32 => (
3670
+ SseOpcode::Subss,
3671
+ SseOpcode::Movd,
3672
+ SseOpcode::Ucomiss,
3673
+ SseOpcode::Cvttss2si,
3674
+ ),
3675
+ OperandSize::Size64 => (
3676
+ SseOpcode::Subsd,
3677
+ SseOpcode::Movq,
3678
+ SseOpcode::Ucomisd,
3679
+ SseOpcode::Cvttsd2si,
3680
+ ),
3681
+ _ => unreachable!(),
3682
+ };
3683
+
3684
+ let done = sink.get_label();
3685
+
3686
+ let cst = match src_size {
3687
+ OperandSize::Size32 => Ieee32::pow2(dst_size.to_bits() - 1).bits() as u64,
3688
+ OperandSize::Size64 => Ieee64::pow2(dst_size.to_bits() - 1).bits(),
3689
+ _ => unreachable!(),
3690
+ };
3691
+
3692
+ let inst = Inst::imm(*src_size, cst, tmp_gpr);
3693
+ inst.emit(sink, info, state);
3694
+
3695
+ let inst = Inst::gpr_to_xmm(cast_op, RegMem::reg(tmp_gpr.to_reg()), *src_size, tmp_xmm);
3696
+ inst.emit(sink, info, state);
3697
+
3698
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, src, RegMem::reg(tmp_xmm.to_reg()));
3699
+ inst.emit(sink, info, state);
3700
+
3701
+ let handle_large = sink.get_label();
3702
+ one_way_jmp(sink, CC::NB, handle_large); // jump to handle_large if src >= large_threshold
3703
+
3704
+ if *is_saturating {
3705
+ // If not NaN jump over this 0-return, otherwise return 0
3706
+ let not_nan = sink.get_label();
3707
+ one_way_jmp(sink, CC::NP, not_nan);
3708
+ let inst = Inst::alu_rmi_r(
3709
+ *dst_size,
3710
+ AluRmiROpcode::Xor,
3711
+ RegMemImm::reg(dst.to_reg()),
3712
+ dst,
3713
+ );
3714
+ inst.emit(sink, info, state);
3715
+
3716
+ let inst = Inst::jmp_known(done);
3717
+ inst.emit(sink, info, state);
3718
+ sink.bind_label(not_nan, state.ctrl_plane_mut());
3719
+ } else {
3720
+ // Trap.
3721
+ let inst = Inst::trap_if(CC::P, TrapCode::BadConversionToInteger);
3722
+ inst.emit(sink, info, state);
3723
+ }
3724
+
3725
+ // Actual truncation for small inputs: if the result is not positive, then we had an
3726
+ // overflow.
3727
+
3728
+ let inst = Inst::xmm_to_gpr(trunc_op, src, dst, *dst_size);
3729
+ inst.emit(sink, info, state);
3730
+
3731
+ let inst = Inst::cmp_rmi_r(*dst_size, dst.to_reg(), RegMemImm::imm(0));
3732
+ inst.emit(sink, info, state);
3733
+
3734
+ one_way_jmp(sink, CC::NL, done); // if dst >= 0, jump to done
3735
+
3736
+ if *is_saturating {
3737
+ // The input was "small" (< 2**(width -1)), so the only way to get an integer
3738
+ // overflow is because the input was too small: saturate to the min value, i.e. 0.
3739
+ let inst = Inst::alu_rmi_r(
3740
+ *dst_size,
3741
+ AluRmiROpcode::Xor,
3742
+ RegMemImm::reg(dst.to_reg()),
3743
+ dst,
3744
+ );
3745
+ inst.emit(sink, info, state);
3746
+
3747
+ let inst = Inst::jmp_known(done);
3748
+ inst.emit(sink, info, state);
3749
+ } else {
3750
+ // Trap.
3751
+ let inst = Inst::trap(TrapCode::IntegerOverflow);
3752
+ inst.emit(sink, info, state);
3753
+ }
3754
+
3755
+ // Now handle large inputs.
3756
+
3757
+ sink.bind_label(handle_large, state.ctrl_plane_mut());
3758
+
3759
+ let inst = Inst::gen_move(tmp_xmm2, src, types::F64);
3760
+ inst.emit(sink, info, state);
3761
+
3762
+ let inst = Inst::xmm_rm_r(sub_op, RegMem::reg(tmp_xmm.to_reg()), tmp_xmm2);
3763
+ inst.emit(sink, info, state);
3764
+
3765
+ let inst = Inst::xmm_to_gpr(trunc_op, tmp_xmm2.to_reg(), dst, *dst_size);
3766
+ inst.emit(sink, info, state);
3767
+
3768
+ let inst = Inst::cmp_rmi_r(*dst_size, dst.to_reg(), RegMemImm::imm(0));
3769
+ inst.emit(sink, info, state);
3770
+
3771
+ if *is_saturating {
3772
+ let next_is_large = sink.get_label();
3773
+ one_way_jmp(sink, CC::NL, next_is_large); // if dst >= 0, jump to next_is_large
3774
+
3775
+ // The input was "large" (>= 2**(width -1)), so the only way to get an integer
3776
+ // overflow is because the input was too large: saturate to the max value.
3777
+ let inst = Inst::imm(
3778
+ OperandSize::Size64,
3779
+ if *dst_size == OperandSize::Size64 {
3780
+ u64::max_value()
3781
+ } else {
3782
+ u32::max_value() as u64
3783
+ },
3784
+ dst,
3785
+ );
3786
+ inst.emit(sink, info, state);
3787
+
3788
+ let inst = Inst::jmp_known(done);
3789
+ inst.emit(sink, info, state);
3790
+ sink.bind_label(next_is_large, state.ctrl_plane_mut());
3791
+ } else {
3792
+ let inst = Inst::trap_if(CC::L, TrapCode::IntegerOverflow);
3793
+ inst.emit(sink, info, state);
3794
+ }
3795
+
3796
+ if *dst_size == OperandSize::Size64 {
3797
+ let inst = Inst::imm(OperandSize::Size64, 1 << 63, tmp_gpr);
3798
+ inst.emit(sink, info, state);
3799
+
3800
+ let inst = Inst::alu_rmi_r(
3801
+ OperandSize::Size64,
3802
+ AluRmiROpcode::Add,
3803
+ RegMemImm::reg(tmp_gpr.to_reg()),
3804
+ dst,
3805
+ );
3806
+ inst.emit(sink, info, state);
3807
+ } else {
3808
+ let inst = Inst::alu_rmi_r(
3809
+ OperandSize::Size32,
3810
+ AluRmiROpcode::Add,
3811
+ RegMemImm::imm(1 << 31),
3812
+ dst,
3813
+ );
3814
+ inst.emit(sink, info, state);
3815
+ }
3816
+
3817
+ sink.bind_label(done, state.ctrl_plane_mut());
3818
+ }
3819
+
3820
+ Inst::LoadExtName {
3821
+ dst,
3822
+ name,
3823
+ offset,
3824
+ distance,
3825
+ } => {
3826
+ let dst = dst.to_reg();
3827
+
3828
+ if info.flags.is_pic() {
3829
+ // Generates: movq symbol@GOTPCREL(%rip), %dst
3830
+ let enc_dst = int_reg_enc(dst);
3831
+ sink.put1(0x48 | ((enc_dst >> 3) & 1) << 2);
3832
+ sink.put1(0x8B);
3833
+ sink.put1(0x05 | ((enc_dst & 7) << 3));
3834
+ emit_reloc(sink, Reloc::X86GOTPCRel4, name, -4);
3835
+ sink.put4(0);
3836
+ // Offset in the relocation above applies to the address of the *GOT entry*, not
3837
+ // the loaded address; so we emit a separate add or sub instruction if needed.
3838
+ if *offset < 0 {
3839
+ assert!(*offset >= -i32::MAX as i64);
3840
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
3841
+ sink.put1(0x81);
3842
+ sink.put1(0xe8 | (enc_dst & 7));
3843
+ sink.put4((-*offset) as u32);
3844
+ } else if *offset > 0 {
3845
+ assert!(*offset <= i32::MAX as i64);
3846
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
3847
+ sink.put1(0x81);
3848
+ sink.put1(0xc0 | (enc_dst & 7));
3849
+ sink.put4(*offset as u32);
3850
+ }
3851
+ } else if distance == &RelocDistance::Near {
3852
+ // If we know the distance to the name is within 2GB (e.g., a module-local function),
3853
+ // we can generate a RIP-relative address, with a relocation.
3854
+ // Generates: lea $name(%rip), $dst
3855
+ let enc_dst = int_reg_enc(dst);
3856
+ sink.put1(0x48 | ((enc_dst >> 3) & 1) << 2);
3857
+ sink.put1(0x8D);
3858
+ sink.put1(0x05 | ((enc_dst & 7) << 3));
3859
+ emit_reloc(sink, Reloc::X86CallPCRel4, name, -4);
3860
+ sink.put4(0);
3861
+ } else {
3862
+ // The full address can be encoded in the register, with a relocation.
3863
+ // Generates: movabsq $name, %dst
3864
+ let enc_dst = int_reg_enc(dst);
3865
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
3866
+ sink.put1(0xB8 | (enc_dst & 7));
3867
+ emit_reloc(sink, Reloc::Abs8, name, *offset);
3868
+ sink.put8(0);
3869
+ }
3870
+ }
3871
+
3872
+ Inst::LockCmpxchg {
3873
+ ty,
3874
+ replacement,
3875
+ expected,
3876
+ mem,
3877
+ dst_old,
3878
+ } => {
3879
+ let replacement = *replacement;
3880
+ let expected = *expected;
3881
+ let dst_old = dst_old.to_reg();
3882
+ let mem = mem.clone();
3883
+
3884
+ debug_assert_eq!(expected, regs::rax());
3885
+ debug_assert_eq!(dst_old, regs::rax());
3886
+
3887
+ // lock cmpxchg{b,w,l,q} %replacement, (mem)
3888
+ // Note that 0xF0 is the Lock prefix.
3889
+ let (prefix, opcodes) = match *ty {
3890
+ types::I8 => (LegacyPrefixes::_F0, 0x0FB0),
3891
+ types::I16 => (LegacyPrefixes::_66F0, 0x0FB1),
3892
+ types::I32 => (LegacyPrefixes::_F0, 0x0FB1),
3893
+ types::I64 => (LegacyPrefixes::_F0, 0x0FB1),
3894
+ _ => unreachable!(),
3895
+ };
3896
+ let rex = RexFlags::from((OperandSize::from_ty(*ty), replacement));
3897
+ let amode = mem.finalize(state, sink);
3898
+ emit_std_reg_mem(sink, prefix, opcodes, 2, replacement, &amode, rex, 0);
3899
+ }
3900
+
3901
+ Inst::AtomicRmwSeq {
3902
+ ty,
3903
+ op,
3904
+ mem,
3905
+ operand,
3906
+ temp,
3907
+ dst_old,
3908
+ } => {
3909
+ let operand = *operand;
3910
+ let temp = *temp;
3911
+ let dst_old = *dst_old;
3912
+ debug_assert_eq!(dst_old.to_reg(), regs::rax());
3913
+ let mem = mem.finalize(state, sink).clone();
3914
+
3915
+ // Emit this:
3916
+ // mov{zbq,zwq,zlq,q} (%r_address), %rax // rax = old value
3917
+ // again:
3918
+ // movq %rax, %r_temp // rax = old value, r_temp = old value
3919
+ // `op`q %r_operand, %r_temp // rax = old value, r_temp = new value
3920
+ // lock cmpxchg{b,w,l,q} %r_temp, (%r_address) // try to store new value
3921
+ // jnz again // If this is taken, rax will have a "revised" old value
3922
+ //
3923
+ // Operand conventions: IN: %r_address, %r_operand OUT: %rax (old
3924
+ // value), %r_temp (trashed), %rflags (trashed)
3925
+ //
3926
+ // In the case where the operation is 'xchg', the "`op`q"
3927
+ // instruction is instead: movq %r_operand,
3928
+ // %r_temp so that we simply write in the destination, the "2nd
3929
+ // arg for `op`".
3930
+ //
3931
+ // TODO: this sequence can be significantly improved (e.g., to `lock
3932
+ // <op>`) when it is known that `dst_old` is not used later, see
3933
+ // https://github.com/bytecodealliance/wasmtime/issues/2153.
3934
+ let again_label = sink.get_label();
3935
+
3936
+ // mov{zbq,zwq,zlq,q} (%r_address), %rax
3937
+ // No need to call `add_trap` here, since the `i1` emit will do that.
3938
+ let i1 = Inst::load(*ty, mem.clone(), dst_old, ExtKind::ZeroExtend);
3939
+ i1.emit(sink, info, state);
3940
+
3941
+ // again:
3942
+ sink.bind_label(again_label, state.ctrl_plane_mut());
3943
+
3944
+ // movq %rax, %r_temp
3945
+ let i2 = Inst::mov_r_r(OperandSize::Size64, dst_old.to_reg(), temp);
3946
+ i2.emit(sink, info, state);
3947
+
3948
+ let operand_rmi = RegMemImm::reg(operand);
3949
+ use inst_common::MachAtomicRmwOp as RmwOp;
3950
+ match op {
3951
+ RmwOp::Xchg => {
3952
+ // movq %r_operand, %r_temp
3953
+ let i3 = Inst::mov_r_r(OperandSize::Size64, operand, temp);
3954
+ i3.emit(sink, info, state);
3955
+ }
3956
+ RmwOp::Nand => {
3957
+ // andq %r_operand, %r_temp
3958
+ let i3 =
3959
+ Inst::alu_rmi_r(OperandSize::Size64, AluRmiROpcode::And, operand_rmi, temp);
3960
+ i3.emit(sink, info, state);
3961
+
3962
+ // notq %r_temp
3963
+ let i4 = Inst::not(OperandSize::Size64, temp);
3964
+ i4.emit(sink, info, state);
3965
+ }
3966
+ RmwOp::Umin | RmwOp::Umax | RmwOp::Smin | RmwOp::Smax => {
3967
+ // cmp %r_temp, %r_operand
3968
+ let i3 = Inst::cmp_rmi_r(
3969
+ OperandSize::from_ty(*ty),
3970
+ operand,
3971
+ RegMemImm::reg(temp.to_reg()),
3972
+ );
3973
+ i3.emit(sink, info, state);
3974
+
3975
+ // cmovcc %r_operand, %r_temp
3976
+ let cc = match op {
3977
+ RmwOp::Umin => CC::BE,
3978
+ RmwOp::Umax => CC::NB,
3979
+ RmwOp::Smin => CC::LE,
3980
+ RmwOp::Smax => CC::NL,
3981
+ _ => unreachable!(),
3982
+ };
3983
+ let i4 = Inst::cmove(OperandSize::Size64, cc, RegMem::reg(operand), temp);
3984
+ i4.emit(sink, info, state);
3985
+ }
3986
+ _ => {
3987
+ // opq %r_operand, %r_temp
3988
+ let alu_op = match op {
3989
+ RmwOp::Add => AluRmiROpcode::Add,
3990
+ RmwOp::Sub => AluRmiROpcode::Sub,
3991
+ RmwOp::And => AluRmiROpcode::And,
3992
+ RmwOp::Or => AluRmiROpcode::Or,
3993
+ RmwOp::Xor => AluRmiROpcode::Xor,
3994
+ RmwOp::Xchg
3995
+ | RmwOp::Nand
3996
+ | RmwOp::Umin
3997
+ | RmwOp::Umax
3998
+ | RmwOp::Smin
3999
+ | RmwOp::Smax => unreachable!(),
4000
+ };
4001
+ let i3 = Inst::alu_rmi_r(OperandSize::Size64, alu_op, operand_rmi, temp);
4002
+ i3.emit(sink, info, state);
4003
+ }
4004
+ }
4005
+
4006
+ // lock cmpxchg{b,w,l,q} %r_temp, (%r_address)
4007
+ // No need to call `add_trap` here, since the `i4` emit will do that.
4008
+ let i4 = Inst::LockCmpxchg {
4009
+ ty: *ty,
4010
+ replacement: temp.to_reg(),
4011
+ expected: dst_old.to_reg(),
4012
+ mem: mem.into(),
4013
+ dst_old,
4014
+ };
4015
+ i4.emit(sink, info, state);
4016
+
4017
+ // jnz again
4018
+ one_way_jmp(sink, CC::NZ, again_label);
4019
+ }
4020
+
4021
+ Inst::Fence { kind } => {
4022
+ sink.put1(0x0F);
4023
+ sink.put1(0xAE);
4024
+ match kind {
4025
+ FenceKind::MFence => sink.put1(0xF0), // mfence = 0F AE F0
4026
+ FenceKind::LFence => sink.put1(0xE8), // lfence = 0F AE E8
4027
+ FenceKind::SFence => sink.put1(0xF8), // sfence = 0F AE F8
4028
+ }
4029
+ }
4030
+
4031
+ Inst::Hlt => {
4032
+ sink.put1(0xcc);
4033
+ }
4034
+
4035
+ Inst::Ud2 { trap_code } => {
4036
+ sink.add_trap(*trap_code);
4037
+ sink.put_data(Inst::TRAP_OPCODE);
4038
+ }
4039
+
4040
+ Inst::Nop { len } => {
4041
+ // These encodings can all be found in Intel's architecture manual, at the NOP
4042
+ // instruction description.
4043
+ let mut len = *len;
4044
+ while len != 0 {
4045
+ let emitted = u8::min(len, 9);
4046
+ match emitted {
4047
+ 0 => {}
4048
+ 1 => sink.put1(0x90), // NOP
4049
+ 2 => {
4050
+ // 66 NOP
4051
+ sink.put1(0x66);
4052
+ sink.put1(0x90);
4053
+ }
4054
+ 3 => {
4055
+ // NOP [EAX]
4056
+ sink.put1(0x0F);
4057
+ sink.put1(0x1F);
4058
+ sink.put1(0x00);
4059
+ }
4060
+ 4 => {
4061
+ // NOP 0(EAX), with 0 a 1-byte immediate.
4062
+ sink.put1(0x0F);
4063
+ sink.put1(0x1F);
4064
+ sink.put1(0x40);
4065
+ sink.put1(0x00);
4066
+ }
4067
+ 5 => {
4068
+ // NOP [EAX, EAX, 1]
4069
+ sink.put1(0x0F);
4070
+ sink.put1(0x1F);
4071
+ sink.put1(0x44);
4072
+ sink.put1(0x00);
4073
+ sink.put1(0x00);
4074
+ }
4075
+ 6 => {
4076
+ // 66 NOP [EAX, EAX, 1]
4077
+ sink.put1(0x66);
4078
+ sink.put1(0x0F);
4079
+ sink.put1(0x1F);
4080
+ sink.put1(0x44);
4081
+ sink.put1(0x00);
4082
+ sink.put1(0x00);
4083
+ }
4084
+ 7 => {
4085
+ // NOP 0[EAX], but 0 is a 4 bytes immediate.
4086
+ sink.put1(0x0F);
4087
+ sink.put1(0x1F);
4088
+ sink.put1(0x80);
4089
+ sink.put1(0x00);
4090
+ sink.put1(0x00);
4091
+ sink.put1(0x00);
4092
+ sink.put1(0x00);
4093
+ }
4094
+ 8 => {
4095
+ // NOP 0[EAX, EAX, 1], with 0 a 4 bytes immediate.
4096
+ sink.put1(0x0F);
4097
+ sink.put1(0x1F);
4098
+ sink.put1(0x84);
4099
+ sink.put1(0x00);
4100
+ sink.put1(0x00);
4101
+ sink.put1(0x00);
4102
+ sink.put1(0x00);
4103
+ sink.put1(0x00);
4104
+ }
4105
+ 9 => {
4106
+ // 66 NOP 0[EAX, EAX, 1], with 0 a 4 bytes immediate.
4107
+ sink.put1(0x66);
4108
+ sink.put1(0x0F);
4109
+ sink.put1(0x1F);
4110
+ sink.put1(0x84);
4111
+ sink.put1(0x00);
4112
+ sink.put1(0x00);
4113
+ sink.put1(0x00);
4114
+ sink.put1(0x00);
4115
+ sink.put1(0x00);
4116
+ }
4117
+ _ => unreachable!(),
4118
+ }
4119
+ len -= emitted;
4120
+ }
4121
+ }
4122
+
4123
+ Inst::ElfTlsGetAddr { ref symbol, dst } => {
4124
+ let dst = dst.to_reg().to_reg();
4125
+ debug_assert_eq!(dst, regs::rax());
4126
+
4127
+ // N.B.: Must be exactly this byte sequence; the linker requires it,
4128
+ // because it must know how to rewrite the bytes.
4129
+
4130
+ // data16 lea gv@tlsgd(%rip),%rdi
4131
+ sink.put1(0x66); // data16
4132
+ sink.put1(0b01001000); // REX.W
4133
+ sink.put1(0x8d); // LEA
4134
+ sink.put1(0x3d); // ModRM byte
4135
+ emit_reloc(sink, Reloc::ElfX86_64TlsGd, symbol, -4);
4136
+ sink.put4(0); // offset
4137
+
4138
+ // data16 data16 callq __tls_get_addr-4
4139
+ sink.put1(0x66); // data16
4140
+ sink.put1(0x66); // data16
4141
+ sink.put1(0b01001000); // REX.W
4142
+ sink.put1(0xe8); // CALL
4143
+ emit_reloc(
4144
+ sink,
4145
+ Reloc::X86CallPLTRel4,
4146
+ &ExternalName::LibCall(LibCall::ElfTlsGetAddr),
4147
+ -4,
4148
+ );
4149
+ sink.put4(0); // offset
4150
+ }
4151
+
4152
+ Inst::MachOTlsGetAddr { ref symbol, dst } => {
4153
+ let dst = dst.to_reg().to_reg();
4154
+ debug_assert_eq!(dst, regs::rax());
4155
+
4156
+ // movq gv@tlv(%rip), %rdi
4157
+ sink.put1(0x48); // REX.w
4158
+ sink.put1(0x8b); // MOV
4159
+ sink.put1(0x3d); // ModRM byte
4160
+ emit_reloc(sink, Reloc::MachOX86_64Tlv, symbol, -4);
4161
+ sink.put4(0); // offset
4162
+
4163
+ // callq *(%rdi)
4164
+ sink.put1(0xff);
4165
+ sink.put1(0x17);
4166
+ }
4167
+
4168
+ Inst::CoffTlsGetAddr {
4169
+ ref symbol,
4170
+ dst,
4171
+ tmp,
4172
+ } => {
4173
+ let dst = dst.to_reg().to_reg();
4174
+ debug_assert_eq!(dst, regs::rax());
4175
+
4176
+ // tmp is used below directly as %rcx
4177
+ let tmp = tmp.to_reg().to_reg();
4178
+ debug_assert_eq!(tmp, regs::rcx());
4179
+
4180
+ // See: https://gcc.godbolt.org/z/M8or9x6ss
4181
+ // And: https://github.com/bjorn3/rustc_codegen_cranelift/issues/388#issuecomment-532930282
4182
+
4183
+ // Emit the following sequence
4184
+ // movl (%rip), %eax ; IMAGE_REL_AMD64_REL32 _tls_index
4185
+ // movq %gs:88, %rcx
4186
+ // movq (%rcx,%rax,8), %rax
4187
+ // leaq (%rax), %rax ; Reloc: IMAGE_REL_AMD64_SECREL symbol
4188
+
4189
+ // Load TLS index for current thread
4190
+ // movl (%rip), %eax
4191
+ sink.put1(0x8b); // mov
4192
+ sink.put1(0x05);
4193
+ emit_reloc(
4194
+ sink,
4195
+ Reloc::X86PCRel4,
4196
+ &ExternalName::KnownSymbol(KnownSymbol::CoffTlsIndex),
4197
+ -4,
4198
+ );
4199
+ sink.put4(0); // offset
4200
+
4201
+ // movq %gs:88, %rcx
4202
+ // Load the TLS Storage Array pointer
4203
+ // The gs segment register refers to the base address of the TEB on x64.
4204
+ // 0x58 is the offset in the TEB for the ThreadLocalStoragePointer member on x64:
4205
+ sink.put_data(&[
4206
+ 0x65, 0x48, // REX.W
4207
+ 0x8b, // MOV
4208
+ 0x0c, 0x25, 0x58, // 0x58 - ThreadLocalStoragePointer offset
4209
+ 0x00, 0x00, 0x00,
4210
+ ]);
4211
+
4212
+ // movq (%rcx,%rax,8), %rax
4213
+ // Load the actual TLS entry for this thread.
4214
+ // Computes ThreadLocalStoragePointer + _tls_index*8
4215
+ sink.put_data(&[0x48, 0x8b, 0x04, 0xc1]);
4216
+
4217
+ // leaq (%rax), %rax
4218
+ sink.put1(0x48);
4219
+ sink.put1(0x8d);
4220
+ sink.put1(0x80);
4221
+ emit_reloc(sink, Reloc::X86SecRel, symbol, 0);
4222
+ sink.put4(0); // offset
4223
+ }
4224
+
4225
+ Inst::Unwind { ref inst } => {
4226
+ sink.add_unwind(inst.clone());
4227
+ }
4228
+
4229
+ Inst::DummyUse { .. } => {
4230
+ // Nothing.
4231
+ }
4232
+ }
4233
+
4234
+ state.clear_post_insn();
4235
+ }
4236
+
4237
+ /// Emit the common sequence used for both direct and indirect tail calls:
4238
+ ///
4239
+ /// * Copy the new frame's stack arguments over the top of our current frame.
4240
+ ///
4241
+ /// * Restore the old frame pointer.
4242
+ ///
4243
+ /// * Initialize the tail callee's stack pointer (simultaneously deallocating
4244
+ /// the temporary stack space we allocated when creating the new frame's stack
4245
+ /// arguments).
4246
+ ///
4247
+ /// * Move the return address into its stack slot.
4248
+ fn emit_return_call_common_sequence(
4249
+ sink: &mut MachBuffer<Inst>,
4250
+ info: &EmitInfo,
4251
+ state: &mut EmitState,
4252
+ call_info: &ReturnCallInfo,
4253
+ ) {
4254
+ assert!(
4255
+ info.flags.preserve_frame_pointers(),
4256
+ "frame pointers aren't fundamentally required for tail calls, \
4257
+ but the current implementation relies on them being present"
4258
+ );
4259
+
4260
+ let tmp = call_info.tmp.to_writable_reg();
4261
+
4262
+ for inst in
4263
+ X64ABIMachineSpec::gen_clobber_restore(CallConv::Tail, &info.flags, state.frame_layout())
4264
+ {
4265
+ inst.emit(sink, info, state);
4266
+ }
4267
+
4268
+ for inst in X64ABIMachineSpec::gen_epilogue_frame_restore(
4269
+ CallConv::Tail,
4270
+ &info.flags,
4271
+ &info.isa_flags,
4272
+ state.frame_layout(),
4273
+ ) {
4274
+ inst.emit(sink, info, state);
4275
+ }
4276
+
4277
+ let incoming_args_diff = state.frame_layout().tail_args_size - call_info.new_stack_arg_size;
4278
+ if incoming_args_diff > 0 {
4279
+ // Move the saved return address up by `incoming_args_diff`
4280
+ Inst::mov64_m_r(Amode::imm_reg(0, regs::rsp()), tmp).emit(sink, info, state);
4281
+ Inst::mov_r_m(
4282
+ OperandSize::Size64,
4283
+ tmp.to_reg(),
4284
+ Amode::imm_reg(i32::try_from(incoming_args_diff).unwrap(), regs::rsp()),
4285
+ )
4286
+ .emit(sink, info, state);
4287
+
4288
+ // Increment the stack pointer to shrink the argument area for the new call.
4289
+ Inst::alu_rmi_r(
4290
+ OperandSize::Size64,
4291
+ AluRmiROpcode::Add,
4292
+ RegMemImm::imm(incoming_args_diff),
4293
+ Writable::from_reg(regs::rsp()),
4294
+ )
4295
+ .emit(sink, info, state);
4296
+ }
4297
+ }