wasmtime 19.0.2 → 20.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2232) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +116 -120
  3. data/ext/Cargo.toml +6 -6
  4. data/ext/cargo-vendor/anyhow-1.0.83/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/anyhow-1.0.83/Cargo.toml +130 -0
  6. data/ext/cargo-vendor/anyhow-1.0.83/README.md +181 -0
  7. data/ext/cargo-vendor/anyhow-1.0.83/build.rs +179 -0
  8. data/ext/cargo-vendor/anyhow-1.0.83/src/backtrace.rs +406 -0
  9. data/ext/cargo-vendor/anyhow-1.0.83/src/chain.rs +102 -0
  10. data/ext/cargo-vendor/anyhow-1.0.83/src/fmt.rs +158 -0
  11. data/ext/cargo-vendor/anyhow-1.0.83/src/kind.rs +121 -0
  12. data/ext/cargo-vendor/anyhow-1.0.83/src/lib.rs +702 -0
  13. data/ext/cargo-vendor/anyhow-1.0.83/src/macros.rs +241 -0
  14. data/ext/cargo-vendor/anyhow-1.0.83/src/wrapper.rs +84 -0
  15. data/ext/cargo-vendor/anyhow-1.0.83/tests/test_ensure.rs +724 -0
  16. data/ext/cargo-vendor/anyhow-1.0.83/tests/test_macros.rs +81 -0
  17. data/ext/cargo-vendor/anyhow-1.0.83/tests/test_repr.rs +30 -0
  18. data/ext/cargo-vendor/anyhow-1.0.83/tests/ui/no-impl.stderr +32 -0
  19. data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +1 -0
  20. data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +40 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +1 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +178 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +396 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +403 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/binemit/mod.rs +171 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/bitset.rs +187 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +386 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +835 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +838 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/inst_predicates.rs +236 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/constant.rs +462 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/dfg.rs +1777 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/entities.rs +562 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/function.rs +490 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +1019 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/memflags.rs +452 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/mod.rs +108 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/trapcode.rs +149 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/types.rs +629 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +1707 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +3932 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +3083 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +4218 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +884 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower.isle +2933 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/mod.rs +242 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +565 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/call_conv.rs +127 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +1109 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +1968 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +3466 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/encode.rs +654 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +2944 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +625 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +2872 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +1047 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +347 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +3646 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst.isle +5033 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/lower.isle +3995 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +1369 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/evex.rs +748 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/rex.rs +596 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/vex.rs +491 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +2289 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +4383 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_state.rs +74 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +2798 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +5304 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +1066 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +4809 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +339 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/mod.rs +234 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +1003 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/legalizer/mod.rs +348 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +2594 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/buffer.rs +2512 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/inst_common.rs +75 -0
  79. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +914 -0
  80. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +1452 -0
  81. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +555 -0
  82. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/pcc.rs +169 -0
  83. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +1807 -0
  84. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +110 -0
  85. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/cprop.isle +281 -0
  86. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/spectre.isle +14 -0
  87. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts.rs +295 -0
  88. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/prelude.isle +646 -0
  89. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/result.rs +111 -0
  90. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +591 -0
  91. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/verifier/mod.rs +1957 -0
  92. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/write.rs +631 -0
  93. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +1 -0
  94. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +35 -0
  95. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/entities.rs +101 -0
  96. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/formats.rs +205 -0
  97. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/instructions.rs +3791 -0
  98. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +22 -0
  100. data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +1 -0
  101. data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +30 -0
  102. data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +1 -0
  103. data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +50 -0
  104. data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +1 -0
  105. data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +69 -0
  106. data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +1 -0
  107. data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +46 -0
  108. data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +1 -0
  109. data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +45 -0
  110. data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +1 -0
  111. data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +107 -0
  112. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +3683 -0
  113. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +912 -0
  114. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/mod.rs +8 -0
  115. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +945 -0
  116. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/func_translator.rs +296 -0
  117. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/lib.rs +58 -0
  118. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/state.rs +522 -0
  119. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/table.rs +104 -0
  120. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +1 -0
  121. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +48 -0
  122. data/ext/cargo-vendor/mach2-0.4.2/.cargo-checksum.json +1 -0
  123. data/ext/cargo-vendor/mach2-0.4.2/Cargo.toml +49 -0
  124. data/ext/cargo-vendor/mach2-0.4.2/LICENSE-APACHE +176 -0
  125. data/ext/cargo-vendor/mach2-0.4.2/LICENSE-BSD +23 -0
  126. data/ext/cargo-vendor/mach2-0.4.2/LICENSE-MIT +25 -0
  127. data/ext/cargo-vendor/mach2-0.4.2/README.md +116 -0
  128. data/ext/cargo-vendor/mach2-0.4.2/src/exc.rs +73 -0
  129. data/ext/cargo-vendor/mach2-0.4.2/src/kern_return.rs +59 -0
  130. data/ext/cargo-vendor/mach2-0.4.2/src/lib.rs +59 -0
  131. data/ext/cargo-vendor/mach2-0.4.2/src/mach_port.rs +50 -0
  132. data/ext/cargo-vendor/mach2-0.4.2/src/message.rs +345 -0
  133. data/ext/cargo-vendor/mach2-0.4.2/src/ndr.rs +19 -0
  134. data/ext/cargo-vendor/mach2-0.4.2/src/port.rs +67 -0
  135. data/ext/cargo-vendor/mach2-0.4.2/src/semaphore.rs +22 -0
  136. data/ext/cargo-vendor/mach2-0.4.2/src/structs.rs +66 -0
  137. data/ext/cargo-vendor/mach2-0.4.2/src/sync_policy.rs +9 -0
  138. data/ext/cargo-vendor/mach2-0.4.2/src/task.rs +46 -0
  139. data/ext/cargo-vendor/mach2-0.4.2/src/task_info.rs +49 -0
  140. data/ext/cargo-vendor/mach2-0.4.2/src/thread_act.rs +36 -0
  141. data/ext/cargo-vendor/mach2-0.4.2/src/thread_policy.rs +121 -0
  142. data/ext/cargo-vendor/mach2-0.4.2/src/thread_status.rs +53 -0
  143. data/ext/cargo-vendor/mach2-0.4.2/src/traps.rs +37 -0
  144. data/ext/cargo-vendor/mach2-0.4.2/src/vm.rs +248 -0
  145. data/ext/cargo-vendor/mach2-0.4.2/src/vm_attributes.rs +18 -0
  146. data/ext/cargo-vendor/mach2-0.4.2/src/vm_page_size.rs +40 -0
  147. data/ext/cargo-vendor/mach2-0.4.2/src/vm_prot.rs +13 -0
  148. data/ext/cargo-vendor/mach2-0.4.2/src/vm_purgable.rs +42 -0
  149. data/ext/cargo-vendor/mach2-0.4.2/src/vm_region.rs +238 -0
  150. data/ext/cargo-vendor/mach2-0.4.2/src/vm_statistics.rs +58 -0
  151. data/ext/cargo-vendor/mach2-0.4.2/src/vm_sync.rs +11 -0
  152. data/ext/cargo-vendor/mach2-0.4.2/src/vm_types.rs +19 -0
  153. data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +1 -0
  154. data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +797 -0
  155. data/ext/cargo-vendor/object-0.33.0/Cargo.toml +179 -0
  156. data/ext/cargo-vendor/object-0.33.0/LICENSE-APACHE +201 -0
  157. data/ext/cargo-vendor/object-0.33.0/LICENSE-MIT +25 -0
  158. data/ext/cargo-vendor/object-0.33.0/README.md +56 -0
  159. data/ext/cargo-vendor/object-0.33.0/src/archive.rs +91 -0
  160. data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +141 -0
  161. data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +3033 -0
  162. data/ext/cargo-vendor/object-0.33.0/src/build/error.rs +41 -0
  163. data/ext/cargo-vendor/object-0.33.0/src/build/mod.rs +18 -0
  164. data/ext/cargo-vendor/object-0.33.0/src/build/table.rs +128 -0
  165. data/ext/cargo-vendor/object-0.33.0/src/common.rs +568 -0
  166. data/ext/cargo-vendor/object-0.33.0/src/elf.rs +6291 -0
  167. data/ext/cargo-vendor/object-0.33.0/src/endian.rs +831 -0
  168. data/ext/cargo-vendor/object-0.33.0/src/lib.rs +107 -0
  169. data/ext/cargo-vendor/object-0.33.0/src/macho.rs +3309 -0
  170. data/ext/cargo-vendor/object-0.33.0/src/pe.rs +3056 -0
  171. data/ext/cargo-vendor/object-0.33.0/src/pod.rs +239 -0
  172. data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +1328 -0
  173. data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +759 -0
  174. data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +211 -0
  175. data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +383 -0
  176. data/ext/cargo-vendor/object-0.33.0/src/read/coff/import.rs +223 -0
  177. data/ext/cargo-vendor/object-0.33.0/src/read/coff/mod.rs +66 -0
  178. data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +108 -0
  179. data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +585 -0
  180. data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +635 -0
  181. data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +306 -0
  182. data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +162 -0
  183. data/ext/cargo-vendor/object-0.33.0/src/read/elf/compression.rs +56 -0
  184. data/ext/cargo-vendor/object-0.33.0/src/read/elf/dynamic.rs +117 -0
  185. data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +918 -0
  186. data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +224 -0
  187. data/ext/cargo-vendor/object-0.33.0/src/read/elf/mod.rs +78 -0
  188. data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +271 -0
  189. data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +629 -0
  190. data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +1150 -0
  191. data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +356 -0
  192. data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +595 -0
  193. data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +424 -0
  194. data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +345 -0
  195. data/ext/cargo-vendor/object-0.33.0/src/read/macho/fat.rs +140 -0
  196. data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +783 -0
  197. data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +386 -0
  198. data/ext/cargo-vendor/object-0.33.0/src/read/macho/mod.rs +72 -0
  199. data/ext/cargo-vendor/object-0.33.0/src/read/macho/relocation.rs +149 -0
  200. data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +389 -0
  201. data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +303 -0
  202. data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +492 -0
  203. data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +880 -0
  204. data/ext/cargo-vendor/object-0.33.0/src/read/pe/data_directory.rs +214 -0
  205. data/ext/cargo-vendor/object-0.33.0/src/read/pe/export.rs +334 -0
  206. data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +1053 -0
  207. data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +339 -0
  208. data/ext/cargo-vendor/object-0.33.0/src/read/pe/mod.rs +68 -0
  209. data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +92 -0
  210. data/ext/cargo-vendor/object-0.33.0/src/read/pe/resource.rs +210 -0
  211. data/ext/cargo-vendor/object-0.33.0/src/read/pe/rich.rs +92 -0
  212. data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +440 -0
  213. data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +213 -0
  214. data/ext/cargo-vendor/object-0.33.0/src/read/read_ref.rs +149 -0
  215. data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +551 -0
  216. data/ext/cargo-vendor/object-0.33.0/src/read/util.rs +425 -0
  217. data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +966 -0
  218. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/comdat.rs +134 -0
  219. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +697 -0
  220. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/mod.rs +63 -0
  221. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +134 -0
  222. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +433 -0
  223. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/segment.rs +117 -0
  224. data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +784 -0
  225. data/ext/cargo-vendor/object-0.33.0/src/write/coff/mod.rs +10 -0
  226. data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +678 -0
  227. data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +518 -0
  228. data/ext/cargo-vendor/object-0.33.0/src/write/elf/mod.rs +9 -0
  229. data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +885 -0
  230. data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +2309 -0
  231. data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +1107 -0
  232. data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +990 -0
  233. data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +847 -0
  234. data/ext/cargo-vendor/object-0.33.0/src/write/string.rs +186 -0
  235. data/ext/cargo-vendor/object-0.33.0/src/write/util.rs +261 -0
  236. data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +589 -0
  237. data/ext/cargo-vendor/object-0.33.0/src/xcoff.rs +905 -0
  238. data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +2 -0
  239. data/ext/cargo-vendor/object-0.33.0/tests/parse_self.rs +25 -0
  240. data/ext/cargo-vendor/object-0.33.0/tests/read/coff.rs +23 -0
  241. data/ext/cargo-vendor/object-0.33.0/tests/read/elf.rs +47 -0
  242. data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +4 -0
  243. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +255 -0
  244. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/coff.rs +58 -0
  245. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +225 -0
  246. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +245 -0
  247. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +289 -0
  248. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/macho.rs +64 -0
  249. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +704 -0
  250. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +90 -0
  251. data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +316 -0
  252. data/ext/cargo-vendor/wasi-common-20.0.0/.cargo-checksum.json +1 -0
  253. data/ext/cargo-vendor/wasi-common-20.0.0/Cargo.toml +220 -0
  254. data/ext/cargo-vendor/wasi-common-20.0.0/src/ctx.rs +128 -0
  255. data/ext/cargo-vendor/wasi-common-20.0.0/src/lib.rs +193 -0
  256. data/ext/cargo-vendor/wasi-common-20.0.0/src/snapshots/preview_1.rs +1497 -0
  257. data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/async_.rs +293 -0
  258. data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/sync.rs +279 -0
  259. data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +1 -0
  260. data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +43 -0
  261. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/component/types.rs +792 -0
  262. data/ext/cargo-vendor/wasm-encoder-0.208.1/.cargo-checksum.json +1 -0
  263. data/ext/cargo-vendor/wasm-encoder-0.208.1/Cargo.toml +46 -0
  264. data/ext/cargo-vendor/wasm-encoder-0.208.1/README.md +80 -0
  265. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/aliases.rs +160 -0
  266. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/builder.rs +455 -0
  267. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/canonicals.rs +159 -0
  268. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/components.rs +29 -0
  269. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/exports.rs +124 -0
  270. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/imports.rs +175 -0
  271. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/instances.rs +200 -0
  272. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/modules.rs +29 -0
  273. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/names.rs +149 -0
  274. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/start.rs +52 -0
  275. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/types.rs +792 -0
  276. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component.rs +168 -0
  277. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/code.rs +3595 -0
  278. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/custom.rs +73 -0
  279. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/data.rs +186 -0
  280. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/dump.rs +627 -0
  281. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/elements.rs +221 -0
  282. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/exports.rs +98 -0
  283. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/functions.rs +63 -0
  284. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/globals.rs +112 -0
  285. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/imports.rs +157 -0
  286. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/linking.rs +263 -0
  287. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/memories.rs +128 -0
  288. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/names.rs +298 -0
  289. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/producers.rs +181 -0
  290. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/start.rs +39 -0
  291. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tables.rs +134 -0
  292. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tags.rs +104 -0
  293. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/types.rs +678 -0
  294. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core.rs +168 -0
  295. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/lib.rs +215 -0
  296. data/ext/cargo-vendor/wasm-encoder-0.208.1/src/raw.rs +30 -0
  297. data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +1 -0
  298. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +744 -0
  299. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +66 -0
  300. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +549 -0
  301. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +4076 -0
  302. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +4449 -0
  303. data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +1 -0
  304. data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +45 -0
  305. data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +3202 -0
  306. data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +1131 -0
  307. data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +279 -0
  308. data/ext/cargo-vendor/wasmtime-20.0.0/.cargo-checksum.json +1 -0
  309. data/ext/cargo-vendor/wasmtime-20.0.0/Cargo.toml +268 -0
  310. data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/code_builder.rs +201 -0
  311. data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/runtime.rs +175 -0
  312. data/ext/cargo-vendor/wasmtime-20.0.0/src/compile.rs +897 -0
  313. data/ext/cargo-vendor/wasmtime-20.0.0/src/config.rs +2695 -0
  314. data/ext/cargo-vendor/wasmtime-20.0.0/src/engine/serialization.rs +849 -0
  315. data/ext/cargo-vendor/wasmtime-20.0.0/src/engine.rs +741 -0
  316. data/ext/cargo-vendor/wasmtime-20.0.0/src/lib.rs +303 -0
  317. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/code_memory.rs +335 -0
  318. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/component.rs +661 -0
  319. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/host.rs +439 -0
  320. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/options.rs +554 -0
  321. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/typed.rs +2484 -0
  322. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func.rs +747 -0
  323. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/instance.rs +804 -0
  324. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/linker.rs +786 -0
  325. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/matching.rs +217 -0
  326. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/mod.rs +756 -0
  327. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/resources.rs +1133 -0
  328. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/types.rs +892 -0
  329. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/values.rs +978 -0
  330. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/coredump.rs +336 -0
  331. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/global.rs +300 -0
  332. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/table.rs +480 -0
  333. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func/typed.rs +898 -0
  334. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func.rs +2633 -0
  335. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/anyref.rs +46 -0
  336. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/externref.rs +50 -0
  337. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/i31.rs +14 -0
  338. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/rooting.rs +222 -0
  339. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled.rs +17 -0
  340. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/anyref.rs +472 -0
  341. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/externref.rs +644 -0
  342. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/i31.rs +345 -0
  343. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/rooting.rs +1543 -0
  344. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled.rs +12 -0
  345. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc.rs +87 -0
  346. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instance.rs +992 -0
  347. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instantiate.rs +345 -0
  348. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/linker.rs +1521 -0
  349. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/memory.rs +999 -0
  350. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module/registry.rs +354 -0
  351. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module.rs +1295 -0
  352. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/profiling.rs +224 -0
  353. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store/data.rs +289 -0
  354. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store.rs +2796 -0
  355. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/func.rs +138 -0
  356. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/global.rs +68 -0
  357. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/memory.rs +286 -0
  358. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/table.rs +34 -0
  359. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trap.rs +641 -0
  360. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/type_registry.rs +632 -0
  361. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types/matching.rs +367 -0
  362. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types.rs +1378 -0
  363. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/v128.rs +131 -0
  364. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/values.rs +945 -0
  365. data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime.rs +112 -0
  366. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/.cargo-checksum.json +1 -0
  367. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/Cargo.toml +22 -0
  368. data/ext/cargo-vendor/wasmtime-cache-20.0.0/.cargo-checksum.json +1 -0
  369. data/ext/cargo-vendor/wasmtime-cache-20.0.0/Cargo.toml +81 -0
  370. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/.cargo-checksum.json +1 -0
  371. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/Cargo.toml +67 -0
  372. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/src/component.rs +1295 -0
  373. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/dead-code.wit +27 -0
  374. data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen.rs +342 -0
  375. data/ext/cargo-vendor/wasmtime-component-util-20.0.0/.cargo-checksum.json +1 -0
  376. data/ext/cargo-vendor/wasmtime-component-util-20.0.0/Cargo.toml +25 -0
  377. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/.cargo-checksum.json +1 -0
  378. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/Cargo.toml +114 -0
  379. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/builder.rs +127 -0
  380. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiled_function.rs +225 -0
  381. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler/component.rs +962 -0
  382. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler.rs +1369 -0
  383. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/address_transform.rs +783 -0
  384. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/expression.rs +1252 -0
  385. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/func_environ.rs +2672 -0
  386. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/disabled.rs +116 -0
  387. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/enabled.rs +649 -0
  388. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc.rs +198 -0
  389. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/lib.rs +505 -0
  390. data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/obj.rs +545 -0
  391. data/ext/cargo-vendor/wasmtime-environ-20.0.0/.cargo-checksum.json +1 -0
  392. data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.lock +782 -0
  393. data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.toml +144 -0
  394. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/address_map.rs +125 -0
  395. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/builtin.rs +184 -0
  396. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/address_map.rs +72 -0
  397. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/mod.rs +389 -0
  398. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/module_artifacts.rs +300 -0
  399. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/trap_encoding.rs +69 -0
  400. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/artifacts.rs +72 -0
  401. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/compiler.rs +19 -0
  402. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/info.rs +672 -0
  403. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/adapt.rs +459 -0
  404. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/inline.rs +1332 -0
  405. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/types.rs +1972 -0
  406. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component.rs +103 -0
  407. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/trampoline.rs +3233 -0
  408. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/transcode.rs +89 -0
  409. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact.rs +711 -0
  410. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/gc.rs +60 -0
  411. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/lib.rs +70 -0
  412. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module.rs +780 -0
  413. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_artifacts.rs +145 -0
  414. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_environ.rs +1288 -0
  415. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/obj.rs +173 -0
  416. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/trap_encoding.rs +188 -0
  417. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/tunables.rs +158 -0
  418. data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/vmoffsets.rs +952 -0
  419. data/ext/cargo-vendor/wasmtime-fiber-20.0.0/.cargo-checksum.json +1 -0
  420. data/ext/cargo-vendor/wasmtime-fiber-20.0.0/Cargo.toml +63 -0
  421. data/ext/cargo-vendor/wasmtime-fiber-20.0.0/src/unix.rs +265 -0
  422. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/.cargo-checksum.json +1 -0
  423. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/Cargo.toml +67 -0
  424. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/.cargo-checksum.json +1 -0
  425. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/Cargo.toml +47 -0
  426. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/.cargo-checksum.json +1 -0
  427. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/Cargo.toml +147 -0
  428. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/build.rs +24 -0
  429. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/aarch64.rs +76 -0
  430. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/riscv64.rs +41 -0
  431. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.S +70 -0
  432. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.rs +34 -0
  433. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/x86_64.rs +41 -0
  434. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/async_yield.rs +35 -0
  435. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component/libcalls.rs +571 -0
  436. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component.rs +860 -0
  437. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/export.rs +108 -0
  438. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/disabled.rs +23 -0
  439. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/drc.rs +963 -0
  440. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/externref.rs +115 -0
  441. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/free_list.rs +767 -0
  442. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled.rs +18 -0
  443. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_ref.rs +486 -0
  444. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_runtime.rs +503 -0
  445. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/host_data.rs +81 -0
  446. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/i31.rs +86 -0
  447. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc.rs +244 -0
  448. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/on_demand.rs +217 -0
  449. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/gc_heap_pool.rs +92 -0
  450. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/table_pool.rs +231 -0
  451. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling.rs +699 -0
  452. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator.rs +780 -0
  453. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance.rs +1566 -0
  454. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/lib.rs +289 -0
  455. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/libcalls.rs +777 -0
  456. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/memory.rs +751 -0
  457. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/send_sync_ptr.rs +106 -0
  458. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/mmap.rs +111 -0
  459. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/traphandlers.rs +55 -0
  460. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/miri/mmap.rs +94 -0
  461. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/machports.rs +416 -0
  462. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/mmap.rs +151 -0
  463. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/signals.rs +401 -0
  464. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/windows/traphandlers.rs +104 -0
  465. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/table.rs +851 -0
  466. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/mod.rs +12 -0
  467. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory.rs +230 -0
  468. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory_disabled.rs +100 -0
  469. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_disabled.rs +16 -0
  470. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_enabled.rs +40 -0
  471. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers.rs +785 -0
  472. data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/vmcontext.rs +1293 -0
  473. data/ext/cargo-vendor/wasmtime-slab-20.0.0/.cargo-checksum.json +1 -0
  474. data/ext/cargo-vendor/wasmtime-slab-20.0.0/Cargo.toml +21 -0
  475. data/ext/cargo-vendor/wasmtime-slab-20.0.0/src/lib.rs +493 -0
  476. data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +1 -0
  477. data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +36 -0
  478. data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +832 -0
  479. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/.cargo-checksum.json +1 -0
  480. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/Cargo.toml +32 -0
  481. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/.cargo-checksum.json +1 -0
  482. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/Cargo.toml +194 -0
  483. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/bindings.rs +283 -0
  484. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ctx.rs +659 -0
  485. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/filesystem.rs +433 -0
  486. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem/sync.rs +518 -0
  487. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem.rs +1079 -0
  488. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/io.rs +367 -0
  489. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/network.rs +539 -0
  490. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/tcp.rs +306 -0
  491. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ip_name_lookup.rs +126 -0
  492. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/lib.rs +404 -0
  493. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/network.rs +107 -0
  494. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/pipe.rs +826 -0
  495. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/poll.rs +233 -0
  496. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview0.rs +879 -0
  497. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview1.rs +2601 -0
  498. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/runtime.rs +175 -0
  499. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio/worker_thread_stdin.rs +177 -0
  500. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio.rs +507 -0
  501. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/tcp.rs +847 -0
  502. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/udp.rs +125 -0
  503. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/write_stream.rs +203 -0
  504. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/api.rs +194 -0
  505. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/async_.rs +397 -0
  506. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/main.rs +91 -0
  507. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/preview1.rs +251 -0
  508. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/sync.rs +333 -0
  509. data/ext/cargo-vendor/wasmtime-wasi-20.0.0/wit/deps/io/poll.wit +41 -0
  510. data/ext/cargo-vendor/wasmtime-winch-20.0.0/.cargo-checksum.json +1 -0
  511. data/ext/cargo-vendor/wasmtime-winch-20.0.0/Cargo.toml +81 -0
  512. data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/builder.rs +85 -0
  513. data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/compiler.rs +257 -0
  514. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/.cargo-checksum.json +1 -0
  515. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/Cargo.toml +41 -0
  516. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/lib.rs +2213 -0
  517. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/rust.rs +421 -0
  518. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/types.rs +202 -0
  519. data/ext/cargo-vendor/wast-208.0.1/.cargo-checksum.json +1 -0
  520. data/ext/cargo-vendor/wast-208.0.1/Cargo.toml +60 -0
  521. data/ext/cargo-vendor/wast-208.0.1/src/component/binary.rs +1000 -0
  522. data/ext/cargo-vendor/wast-208.0.1/src/component/resolve.rs +1007 -0
  523. data/ext/cargo-vendor/wast-208.0.1/src/component/types.rs +999 -0
  524. data/ext/cargo-vendor/wast-208.0.1/src/component/wast.rs +160 -0
  525. data/ext/cargo-vendor/wast-208.0.1/src/core/binary.rs +1396 -0
  526. data/ext/cargo-vendor/wast-208.0.1/src/core/expr.rs +2016 -0
  527. data/ext/cargo-vendor/wast-208.0.1/src/core/func.rs +136 -0
  528. data/ext/cargo-vendor/wast-208.0.1/src/core/memory.rs +284 -0
  529. data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/deinline_import_export.rs +235 -0
  530. data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/names.rs +751 -0
  531. data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/types.rs +267 -0
  532. data/ext/cargo-vendor/wast-208.0.1/src/core/table.rs +302 -0
  533. data/ext/cargo-vendor/wast-208.0.1/src/core/types.rs +901 -0
  534. data/ext/cargo-vendor/wast-208.0.1/src/core/wast.rs +256 -0
  535. data/ext/cargo-vendor/wast-208.0.1/src/lib.rs +551 -0
  536. data/ext/cargo-vendor/wast-208.0.1/src/names.rs +67 -0
  537. data/ext/cargo-vendor/wast-208.0.1/src/parser.rs +1377 -0
  538. data/ext/cargo-vendor/wast-208.0.1/src/token.rs +737 -0
  539. data/ext/cargo-vendor/wast-208.0.1/src/wast.rs +459 -0
  540. data/ext/cargo-vendor/wast-208.0.1/src/wat.rs +71 -0
  541. data/ext/cargo-vendor/wast-208.0.1/tests/annotations.rs +200 -0
  542. data/ext/cargo-vendor/wast-208.0.1/tests/parse-fail.rs +80 -0
  543. data/ext/cargo-vendor/wat-1.208.1/.cargo-checksum.json +1 -0
  544. data/ext/cargo-vendor/wat-1.208.1/Cargo.toml +34 -0
  545. data/ext/cargo-vendor/wiggle-20.0.0/.cargo-checksum.json +1 -0
  546. data/ext/cargo-vendor/wiggle-20.0.0/Cargo.toml +122 -0
  547. data/ext/cargo-vendor/wiggle-20.0.0/src/borrow.rs +113 -0
  548. data/ext/cargo-vendor/wiggle-20.0.0/src/guest_type.rs +237 -0
  549. data/ext/cargo-vendor/wiggle-20.0.0/src/lib.rs +1184 -0
  550. data/ext/cargo-vendor/wiggle-20.0.0/src/wasmtime.rs +97 -0
  551. data/ext/cargo-vendor/wiggle-generate-20.0.0/.cargo-checksum.json +1 -0
  552. data/ext/cargo-vendor/wiggle-generate-20.0.0/Cargo.toml +65 -0
  553. data/ext/cargo-vendor/wiggle-macro-20.0.0/.cargo-checksum.json +1 -0
  554. data/ext/cargo-vendor/wiggle-macro-20.0.0/Cargo.toml +55 -0
  555. data/ext/cargo-vendor/wiggle-macro-20.0.0/LICENSE +220 -0
  556. data/ext/cargo-vendor/winch-codegen-0.18.0/.cargo-checksum.json +1 -0
  557. data/ext/cargo-vendor/winch-codegen-0.18.0/Cargo.toml +81 -0
  558. data/ext/cargo-vendor/winch-codegen-0.18.0/src/abi/mod.rs +671 -0
  559. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/bounds.rs +220 -0
  560. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/builtin.rs +263 -0
  561. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/call.rs +413 -0
  562. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/env.rs +435 -0
  563. data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/mod.rs +756 -0
  564. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/abi.rs +291 -0
  565. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/asm.rs +252 -0
  566. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/masm.rs +573 -0
  567. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/mod.rs +154 -0
  568. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/regs.rs +149 -0
  569. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/mod.rs +223 -0
  570. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/abi.rs +517 -0
  571. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/asm.rs +1423 -0
  572. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/masm.rs +1256 -0
  573. data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/mod.rs +169 -0
  574. data/ext/cargo-vendor/winch-codegen-0.18.0/src/lib.rs +19 -0
  575. data/ext/cargo-vendor/winch-codegen-0.18.0/src/masm.rs +947 -0
  576. data/ext/cargo-vendor/winch-codegen-0.18.0/src/visitor.rs +2149 -0
  577. data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +1 -0
  578. data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +101 -0
  579. data/ext/cargo-vendor/wit-parser-0.202.0/src/abi.rs +309 -0
  580. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/lex.rs +747 -0
  581. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +1443 -0
  582. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast.rs +1348 -0
  583. data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +1764 -0
  584. data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +765 -0
  585. data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +2240 -0
  586. data/ext/cargo-vendor/wit-parser-0.202.0/src/serde_.rs +108 -0
  587. data/ext/cargo-vendor/wit-parser-0.202.0/src/sizealign.rs +179 -0
  588. data/ext/cargo-vendor/wit-parser-0.202.0/tests/all.rs +153 -0
  589. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit +14 -0
  590. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit.json +166 -0
  591. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit +20 -0
  592. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit.json +281 -0
  593. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit +60 -0
  594. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit.json +774 -0
  595. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit +12 -0
  596. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit.json +72 -0
  597. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/wasi.wit +178 -0
  598. data/ext/src/ruby_api/convert.rs +15 -7
  599. data/ext/src/ruby_api/func.rs +2 -2
  600. data/ext/src/ruby_api/global.rs +2 -2
  601. data/ext/src/ruby_api/params.rs +5 -5
  602. data/ext/src/ruby_api/table.rs +3 -3
  603. data/lib/wasmtime/version.rb +1 -1
  604. metadata +1737 -1630
  605. data/ext/cargo-vendor/anyhow-1.0.79/.cargo-checksum.json +0 -1
  606. data/ext/cargo-vendor/anyhow-1.0.79/Cargo.toml +0 -67
  607. data/ext/cargo-vendor/anyhow-1.0.79/README.md +0 -179
  608. data/ext/cargo-vendor/anyhow-1.0.79/build.rs +0 -167
  609. data/ext/cargo-vendor/anyhow-1.0.79/src/backtrace.rs +0 -405
  610. data/ext/cargo-vendor/anyhow-1.0.79/src/chain.rs +0 -102
  611. data/ext/cargo-vendor/anyhow-1.0.79/src/fmt.rs +0 -156
  612. data/ext/cargo-vendor/anyhow-1.0.79/src/kind.rs +0 -119
  613. data/ext/cargo-vendor/anyhow-1.0.79/src/lib.rs +0 -698
  614. data/ext/cargo-vendor/anyhow-1.0.79/src/macros.rs +0 -231
  615. data/ext/cargo-vendor/anyhow-1.0.79/src/wrapper.rs +0 -81
  616. data/ext/cargo-vendor/anyhow-1.0.79/tests/test_ensure.rs +0 -722
  617. data/ext/cargo-vendor/anyhow-1.0.79/tests/test_macros.rs +0 -80
  618. data/ext/cargo-vendor/anyhow-1.0.79/tests/test_repr.rs +0 -31
  619. data/ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr +0 -31
  620. data/ext/cargo-vendor/cranelift-bforest-0.106.2/.cargo-checksum.json +0 -1
  621. data/ext/cargo-vendor/cranelift-bforest-0.106.2/Cargo.toml +0 -40
  622. data/ext/cargo-vendor/cranelift-codegen-0.106.2/.cargo-checksum.json +0 -1
  623. data/ext/cargo-vendor/cranelift-codegen-0.106.2/Cargo.toml +0 -175
  624. data/ext/cargo-vendor/cranelift-codegen-0.106.2/build.rs +0 -395
  625. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/alias_analysis.rs +0 -409
  626. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/binemit/mod.rs +0 -171
  627. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/bitset.rs +0 -165
  628. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/context.rs +0 -384
  629. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph/elaborate.rs +0 -836
  630. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph.rs +0 -702
  631. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/inst_predicates.rs +0 -217
  632. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/constant.rs +0 -462
  633. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/dfg.rs +0 -1734
  634. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/entities.rs +0 -598
  635. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/function.rs +0 -500
  636. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/instructions.rs +0 -1000
  637. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/memflags.rs +0 -310
  638. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/mod.rs +0 -110
  639. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/table.rs +0 -40
  640. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/trapcode.rs +0 -144
  641. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/types.rs +0 -629
  642. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/abi.rs +0 -1707
  643. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/emit.rs +0 -3958
  644. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/mod.rs +0 -3082
  645. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst.isle +0 -4197
  646. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower/isle.rs +0 -879
  647. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower.isle +0 -2917
  648. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/mod.rs +0 -241
  649. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/pcc.rs +0 -565
  650. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/call_conv.rs +0 -119
  651. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/abi.rs +0 -1097
  652. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/args.rs +0 -1974
  653. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/emit.rs +0 -3485
  654. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/encode.rs +0 -654
  655. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst.isle +0 -2928
  656. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower/isle.rs +0 -620
  657. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower.isle +0 -2864
  658. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/abi.rs +0 -1041
  659. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/args.rs +0 -355
  660. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/emit.rs +0 -3663
  661. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst.isle +0 -5031
  662. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/lower.isle +0 -3979
  663. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/abi.rs +0 -1303
  664. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/evex.rs +0 -749
  665. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/rex.rs +0 -598
  666. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/vex.rs +0 -492
  667. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/args.rs +0 -2269
  668. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit.rs +0 -4390
  669. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit_state.rs +0 -72
  670. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/mod.rs +0 -2852
  671. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst.isle +0 -5232
  672. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower/isle.rs +0 -1065
  673. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.isle +0 -4770
  674. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.rs +0 -353
  675. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/mod.rs +0 -233
  676. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/pcc.rs +0 -939
  677. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/mod.rs +0 -356
  678. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/table.rs +0 -114
  679. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/abi.rs +0 -2657
  680. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/buffer.rs +0 -2509
  681. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/inst_common.rs +0 -74
  682. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/isle.rs +0 -914
  683. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/lower.rs +0 -1443
  684. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/mod.rs +0 -558
  685. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/pcc.rs +0 -159
  686. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/vcode.rs +0 -1809
  687. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/nan_canonicalization.rs +0 -106
  688. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts/cprop.isle +0 -266
  689. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts.rs +0 -284
  690. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/prelude.isle +0 -641
  691. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/result.rs +0 -108
  692. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/settings.rs +0 -602
  693. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/verifier/mod.rs +0 -2033
  694. data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/write.rs +0 -647
  695. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/.cargo-checksum.json +0 -1
  696. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/Cargo.toml +0 -35
  697. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/entities.rs +0 -106
  698. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/formats.rs +0 -213
  699. data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/instructions.rs +0 -3810
  700. data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/.cargo-checksum.json +0 -1
  701. data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/Cargo.toml +0 -22
  702. data/ext/cargo-vendor/cranelift-control-0.106.2/.cargo-checksum.json +0 -1
  703. data/ext/cargo-vendor/cranelift-control-0.106.2/Cargo.toml +0 -30
  704. data/ext/cargo-vendor/cranelift-entity-0.106.2/.cargo-checksum.json +0 -1
  705. data/ext/cargo-vendor/cranelift-entity-0.106.2/Cargo.toml +0 -50
  706. data/ext/cargo-vendor/cranelift-frontend-0.106.2/.cargo-checksum.json +0 -1
  707. data/ext/cargo-vendor/cranelift-frontend-0.106.2/Cargo.toml +0 -68
  708. data/ext/cargo-vendor/cranelift-isle-0.106.2/.cargo-checksum.json +0 -1
  709. data/ext/cargo-vendor/cranelift-isle-0.106.2/Cargo.toml +0 -46
  710. data/ext/cargo-vendor/cranelift-native-0.106.2/.cargo-checksum.json +0 -1
  711. data/ext/cargo-vendor/cranelift-native-0.106.2/Cargo.toml +0 -43
  712. data/ext/cargo-vendor/cranelift-wasm-0.106.2/.cargo-checksum.json +0 -1
  713. data/ext/cargo-vendor/cranelift-wasm-0.106.2/Cargo.toml +0 -106
  714. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/code_translator.rs +0 -3680
  715. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/dummy.rs +0 -952
  716. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/mod.rs +0 -12
  717. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/spec.rs +0 -952
  718. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/func_translator.rs +0 -432
  719. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/lib.rs +0 -62
  720. data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/state.rs +0 -542
  721. data/ext/cargo-vendor/cranelift-wasm-0.106.2/tests/wasm_testsuite.rs +0 -153
  722. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/arith.wat +0 -13
  723. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/br_table.wat +0 -30
  724. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call-simd.wat +0 -14
  725. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call.wat +0 -10
  726. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fannkuch.wat +0 -12180
  727. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fasta.wat +0 -12056
  728. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_ifs.wat +0 -11505
  729. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_primes.wat +0 -11185
  730. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fac-multi-value.wat +0 -19
  731. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fibonacci.wat +0 -22
  732. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/globals.wat +0 -8
  733. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall-simd.wat +0 -7
  734. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall.wat +0 -7
  735. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-0.wat +0 -12
  736. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-1.wat +0 -12
  737. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-2.wat +0 -12
  738. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-3.wat +0 -12
  739. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-4.wat +0 -12
  740. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-5.wat +0 -14
  741. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-6.wat +0 -14
  742. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params-2.wat +0 -18
  743. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params.wat +0 -41
  744. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
  745. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/memory.wat +0 -11
  746. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-0.wat +0 -3
  747. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-1.wat +0 -6
  748. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-10.wat +0 -10
  749. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-11.wat +0 -7
  750. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-12.wat +0 -9
  751. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-13.wat +0 -10
  752. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-14.wat +0 -10
  753. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-15.wat +0 -22
  754. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-16.wat +0 -9
  755. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-17.wat +0 -26
  756. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-2.wat +0 -6
  757. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-3.wat +0 -13
  758. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-4.wat +0 -13
  759. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-5.wat +0 -11
  760. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-6.wat +0 -11
  761. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-7.wat +0 -9
  762. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-8.wat +0 -12
  763. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-9.wat +0 -15
  764. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/nullref.wat +0 -11
  765. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/passive-data.wat +0 -12
  766. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2303.wat +0 -15
  767. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2559.wat +0 -51
  768. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/ref-func-0.wat +0 -12
  769. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/rust_fannkuch.wat +0 -1723
  770. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/select.wat +0 -19
  771. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd-store.wat +0 -83
  772. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd.wat +0 -29
  773. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/table-copy.wat +0 -22
  774. data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/unreachable_code.wat +0 -77
  775. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/.cargo-checksum.json +0 -1
  776. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/Cargo.toml +0 -49
  777. data/ext/cargo-vendor/mach-0.3.2/.cargo-checksum.json +0 -1
  778. data/ext/cargo-vendor/mach-0.3.2/Cargo.toml +0 -46
  779. data/ext/cargo-vendor/mach-0.3.2/LICENSE.md +0 -23
  780. data/ext/cargo-vendor/mach-0.3.2/README.md +0 -55
  781. data/ext/cargo-vendor/mach-0.3.2/ci/build_fail.sh +0 -7
  782. data/ext/cargo-vendor/mach-0.3.2/ci/deploy_and_run_on_ios_simulator.rs +0 -175
  783. data/ext/cargo-vendor/mach-0.3.2/ci/run.sh +0 -57
  784. data/ext/cargo-vendor/mach-0.3.2/examples/dump_process_registers.rs +0 -136
  785. data/ext/cargo-vendor/mach-0.3.2/src/exc.rs +0 -44
  786. data/ext/cargo-vendor/mach-0.3.2/src/kern_return.rs +0 -58
  787. data/ext/cargo-vendor/mach-0.3.2/src/lib.rs +0 -60
  788. data/ext/cargo-vendor/mach-0.3.2/src/mach_port.rs +0 -29
  789. data/ext/cargo-vendor/mach-0.3.2/src/message.rs +0 -248
  790. data/ext/cargo-vendor/mach-0.3.2/src/port.rs +0 -26
  791. data/ext/cargo-vendor/mach-0.3.2/src/structs.rs +0 -62
  792. data/ext/cargo-vendor/mach-0.3.2/src/task.rs +0 -41
  793. data/ext/cargo-vendor/mach-0.3.2/src/task_info.rs +0 -44
  794. data/ext/cargo-vendor/mach-0.3.2/src/thread_act.rs +0 -23
  795. data/ext/cargo-vendor/mach-0.3.2/src/thread_status.rs +0 -23
  796. data/ext/cargo-vendor/mach-0.3.2/src/traps.rs +0 -35
  797. data/ext/cargo-vendor/mach-0.3.2/src/vm.rs +0 -247
  798. data/ext/cargo-vendor/mach-0.3.2/src/vm_attributes.rs +0 -18
  799. data/ext/cargo-vendor/mach-0.3.2/src/vm_page_size.rs +0 -33
  800. data/ext/cargo-vendor/mach-0.3.2/src/vm_prot.rs +0 -14
  801. data/ext/cargo-vendor/mach-0.3.2/src/vm_purgable.rs +0 -42
  802. data/ext/cargo-vendor/mach-0.3.2/src/vm_region.rs +0 -238
  803. data/ext/cargo-vendor/mach-0.3.2/src/vm_statistics.rs +0 -78
  804. data/ext/cargo-vendor/mach-0.3.2/src/vm_sync.rs +0 -11
  805. data/ext/cargo-vendor/mach-0.3.2/src/vm_types.rs +0 -19
  806. data/ext/cargo-vendor/wasi-common-19.0.2/.cargo-checksum.json +0 -1
  807. data/ext/cargo-vendor/wasi-common-19.0.2/Cargo.toml +0 -221
  808. data/ext/cargo-vendor/wasi-common-19.0.2/src/ctx.rs +0 -128
  809. data/ext/cargo-vendor/wasi-common-19.0.2/src/lib.rs +0 -189
  810. data/ext/cargo-vendor/wasi-common-19.0.2/src/snapshots/preview_1.rs +0 -1491
  811. data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/async_.rs +0 -289
  812. data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/sync.rs +0 -275
  813. data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +0 -1
  814. data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +0 -43
  815. data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +0 -792
  816. data/ext/cargo-vendor/wasmparser-0.201.0/.cargo-checksum.json +0 -1
  817. data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.lock +0 -744
  818. data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.toml +0 -66
  819. data/ext/cargo-vendor/wasmparser-0.201.0/src/readers/component/types.rs +0 -549
  820. data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/operators.rs +0 -4074
  821. data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/types.rs +0 -4449
  822. data/ext/cargo-vendor/wasmprinter-0.201.0/.cargo-checksum.json +0 -1
  823. data/ext/cargo-vendor/wasmprinter-0.201.0/Cargo.toml +0 -45
  824. data/ext/cargo-vendor/wasmprinter-0.201.0/src/lib.rs +0 -3143
  825. data/ext/cargo-vendor/wasmprinter-0.201.0/src/operator.rs +0 -1110
  826. data/ext/cargo-vendor/wasmprinter-0.201.0/tests/all.rs +0 -279
  827. data/ext/cargo-vendor/wasmtime-19.0.2/.cargo-checksum.json +0 -1
  828. data/ext/cargo-vendor/wasmtime-19.0.2/Cargo.toml +0 -261
  829. data/ext/cargo-vendor/wasmtime-19.0.2/src/compile.rs +0 -835
  830. data/ext/cargo-vendor/wasmtime-19.0.2/src/config.rs +0 -2649
  831. data/ext/cargo-vendor/wasmtime-19.0.2/src/engine/serialization.rs +0 -809
  832. data/ext/cargo-vendor/wasmtime-19.0.2/src/engine.rs +0 -735
  833. data/ext/cargo-vendor/wasmtime-19.0.2/src/lib.rs +0 -293
  834. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/code_memory.rs +0 -335
  835. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/component.rs +0 -586
  836. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/host.rs +0 -456
  837. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/options.rs +0 -541
  838. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/typed.rs +0 -2484
  839. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func.rs +0 -752
  840. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/instance.rs +0 -818
  841. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/linker.rs +0 -788
  842. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/matching.rs +0 -212
  843. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/mod.rs +0 -678
  844. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/resources.rs +0 -1169
  845. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/types.rs +0 -961
  846. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/values.rs +0 -1388
  847. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/coredump.rs +0 -321
  848. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/global.rs +0 -249
  849. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/table.rs +0 -416
  850. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func/typed.rs +0 -985
  851. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func.rs +0 -2585
  852. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instance.rs +0 -981
  853. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instantiate.rs +0 -423
  854. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/linker.rs +0 -1518
  855. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/memory.rs +0 -997
  856. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module/registry.rs +0 -360
  857. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module.rs +0 -1367
  858. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/profiling.rs +0 -222
  859. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/gc_ref.rs +0 -110
  860. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/no_gc_ref.rs +0 -60
  861. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref.rs +0 -9
  862. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store/data.rs +0 -289
  863. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store.rs +0 -2445
  864. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/func.rs +0 -144
  865. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/global.rs +0 -70
  866. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/memory.rs +0 -268
  867. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/table.rs +0 -20
  868. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trap.rs +0 -641
  869. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/type_registry.rs +0 -640
  870. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types/matching.rs +0 -334
  871. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types.rs +0 -1236
  872. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/v128.rs +0 -131
  873. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/values.rs +0 -771
  874. data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime.rs +0 -112
  875. data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/.cargo-checksum.json +0 -1
  876. data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/Cargo.toml +0 -22
  877. data/ext/cargo-vendor/wasmtime-cache-19.0.2/.cargo-checksum.json +0 -1
  878. data/ext/cargo-vendor/wasmtime-cache-19.0.2/Cargo.toml +0 -81
  879. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/.cargo-checksum.json +0 -1
  880. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/Cargo.toml +0 -67
  881. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/src/component.rs +0 -1295
  882. data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/tests/codegen.rs +0 -191
  883. data/ext/cargo-vendor/wasmtime-component-util-19.0.2/.cargo-checksum.json +0 -1
  884. data/ext/cargo-vendor/wasmtime-component-util-19.0.2/Cargo.toml +0 -25
  885. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/.cargo-checksum.json +0 -1
  886. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/Cargo.toml +0 -114
  887. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/builder.rs +0 -127
  888. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler/component.rs +0 -960
  889. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler.rs +0 -1316
  890. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/address_transform.rs +0 -784
  891. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/expression.rs +0 -1252
  892. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/func_environ.rs +0 -2846
  893. data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/lib.rs +0 -186
  894. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/.cargo-checksum.json +0 -1
  895. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/Cargo.toml +0 -71
  896. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/compiled_function.rs +0 -231
  897. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/lib.rs +0 -130
  898. data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/obj.rs +0 -564
  899. data/ext/cargo-vendor/wasmtime-environ-19.0.2/.cargo-checksum.json +0 -1
  900. data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.lock +0 -782
  901. data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.toml +0 -141
  902. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/address_map.rs +0 -191
  903. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/builtin.rs +0 -155
  904. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/compilation.rs +0 -402
  905. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/artifacts.rs +0 -45
  906. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/compiler.rs +0 -47
  907. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/info.rs +0 -594
  908. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/adapt.rs +0 -457
  909. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/inline.rs +0 -1332
  910. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/types.rs +0 -1933
  911. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component.rs +0 -97
  912. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/trampoline.rs +0 -3229
  913. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/transcode.rs +0 -168
  914. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact.rs +0 -713
  915. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/lib.rs +0 -66
  916. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module.rs +0 -1117
  917. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_artifacts.rs +0 -377
  918. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_environ.rs +0 -903
  919. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/obj.rs +0 -172
  920. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/trap_encoding.rs +0 -245
  921. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/tunables.rs +0 -154
  922. data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/vmoffsets.rs +0 -918
  923. data/ext/cargo-vendor/wasmtime-fiber-19.0.2/.cargo-checksum.json +0 -1
  924. data/ext/cargo-vendor/wasmtime-fiber-19.0.2/Cargo.toml +0 -63
  925. data/ext/cargo-vendor/wasmtime-fiber-19.0.2/src/unix.rs +0 -265
  926. data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/.cargo-checksum.json +0 -1
  927. data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/Cargo.toml +0 -67
  928. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/.cargo-checksum.json +0 -1
  929. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/Cargo.toml +0 -46
  930. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/.cargo-checksum.json +0 -1
  931. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/Cargo.toml +0 -140
  932. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/build.rs +0 -28
  933. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/aarch64.rs +0 -120
  934. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/riscv64.rs +0 -88
  935. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.S +0 -70
  936. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.rs +0 -61
  937. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/x86_64.rs +0 -104
  938. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component/libcalls.rs +0 -572
  939. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component.rs +0 -864
  940. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/export.rs +0 -105
  941. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/gc.rs +0 -1058
  942. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/no_gc.rs +0 -125
  943. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref.rs +0 -24
  944. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/on_demand.rs +0 -196
  945. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling/table_pool.rs +0 -227
  946. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling.rs +0 -658
  947. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator.rs +0 -730
  948. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance.rs +0 -1527
  949. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/lib.rs +0 -264
  950. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/libcalls.rs +0 -776
  951. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/memory.rs +0 -972
  952. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/send_sync_ptr.rs +0 -93
  953. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/mmap.rs +0 -111
  954. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/traphandlers.rs +0 -51
  955. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/miri/mmap.rs +0 -94
  956. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/machports.rs +0 -488
  957. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/mmap.rs +0 -151
  958. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/signals.rs +0 -402
  959. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/windows/traphandlers.rs +0 -105
  960. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/table.rs +0 -643
  961. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers/coredump.rs +0 -38
  962. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers.rs +0 -736
  963. data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/vmcontext.rs +0 -1215
  964. data/ext/cargo-vendor/wasmtime-slab-19.0.2/.cargo-checksum.json +0 -1
  965. data/ext/cargo-vendor/wasmtime-slab-19.0.2/Cargo.toml +0 -21
  966. data/ext/cargo-vendor/wasmtime-slab-19.0.2/src/lib.rs +0 -450
  967. data/ext/cargo-vendor/wasmtime-types-19.0.2/.cargo-checksum.json +0 -1
  968. data/ext/cargo-vendor/wasmtime-types-19.0.2/Cargo.toml +0 -36
  969. data/ext/cargo-vendor/wasmtime-types-19.0.2/src/lib.rs +0 -640
  970. data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/.cargo-checksum.json +0 -1
  971. data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/Cargo.toml +0 -32
  972. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/.cargo-checksum.json +0 -1
  973. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/Cargo.toml +0 -194
  974. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/command.rs +0 -122
  975. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ctx.rs +0 -353
  976. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/filesystem.rs +0 -373
  977. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem/sync.rs +0 -517
  978. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem.rs +0 -1081
  979. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/io.rs +0 -366
  980. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/network.rs +0 -519
  981. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/tcp.rs +0 -677
  982. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ip_name_lookup.rs +0 -123
  983. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/lib.rs +0 -323
  984. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/network.rs +0 -108
  985. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/p1ctx.rs +0 -37
  986. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/pipe.rs +0 -826
  987. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/poll.rs +0 -179
  988. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview0.rs +0 -872
  989. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview1.rs +0 -2361
  990. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio/worker_thread_stdin.rs +0 -173
  991. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio.rs +0 -443
  992. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/tcp.rs +0 -350
  993. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/udp.rs +0 -125
  994. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/write_stream.rs +0 -203
  995. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/api.rs +0 -210
  996. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/async_.rs +0 -380
  997. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/main.rs +0 -106
  998. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/preview1.rs +0 -243
  999. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/sync.rs +0 -315
  1000. data/ext/cargo-vendor/wasmtime-wasi-19.0.2/wit/deps/io/poll.wit +0 -42
  1001. data/ext/cargo-vendor/wasmtime-winch-19.0.2/.cargo-checksum.json +0 -1
  1002. data/ext/cargo-vendor/wasmtime-winch-19.0.2/Cargo.toml +0 -77
  1003. data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/builder.rs +0 -65
  1004. data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/compiler.rs +0 -283
  1005. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/.cargo-checksum.json +0 -1
  1006. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/Cargo.toml +0 -41
  1007. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/lib.rs +0 -2104
  1008. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/rust.rs +0 -421
  1009. data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/types.rs +0 -194
  1010. data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/.cargo-checksum.json +0 -1
  1011. data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/Cargo.toml +0 -29
  1012. data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/src/lib.rs +0 -404
  1013. data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +0 -1
  1014. data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +0 -59
  1015. data/ext/cargo-vendor/wast-201.0.0/src/component/binary.rs +0 -1004
  1016. data/ext/cargo-vendor/wast-201.0.0/src/component/resolve.rs +0 -1006
  1017. data/ext/cargo-vendor/wast-201.0.0/src/component/types.rs +0 -991
  1018. data/ext/cargo-vendor/wast-201.0.0/src/component/wast.rs +0 -160
  1019. data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +0 -1365
  1020. data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +0 -1993
  1021. data/ext/cargo-vendor/wast-201.0.0/src/core/func.rs +0 -136
  1022. data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +0 -281
  1023. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +0 -233
  1024. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +0 -763
  1025. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/types.rs +0 -271
  1026. data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +0 -289
  1027. data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +0 -861
  1028. data/ext/cargo-vendor/wast-201.0.0/src/core/wast.rs +0 -256
  1029. data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +0 -542
  1030. data/ext/cargo-vendor/wast-201.0.0/src/names.rs +0 -89
  1031. data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +0 -1374
  1032. data/ext/cargo-vendor/wast-201.0.0/src/token.rs +0 -718
  1033. data/ext/cargo-vendor/wast-201.0.0/src/wast.rs +0 -420
  1034. data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +0 -63
  1035. data/ext/cargo-vendor/wast-201.0.0/tests/annotations.rs +0 -200
  1036. data/ext/cargo-vendor/wast-201.0.0/tests/parse-fail.rs +0 -98
  1037. data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +0 -1
  1038. data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +0 -33
  1039. data/ext/cargo-vendor/wiggle-19.0.2/.cargo-checksum.json +0 -1
  1040. data/ext/cargo-vendor/wiggle-19.0.2/Cargo.toml +0 -122
  1041. data/ext/cargo-vendor/wiggle-19.0.2/src/borrow.rs +0 -259
  1042. data/ext/cargo-vendor/wiggle-19.0.2/src/guest_type.rs +0 -237
  1043. data/ext/cargo-vendor/wiggle-19.0.2/src/lib.rs +0 -1199
  1044. data/ext/cargo-vendor/wiggle-19.0.2/src/wasmtime.rs +0 -101
  1045. data/ext/cargo-vendor/wiggle-generate-19.0.2/.cargo-checksum.json +0 -1
  1046. data/ext/cargo-vendor/wiggle-generate-19.0.2/Cargo.toml +0 -65
  1047. data/ext/cargo-vendor/wiggle-macro-19.0.2/.cargo-checksum.json +0 -1
  1048. data/ext/cargo-vendor/wiggle-macro-19.0.2/Cargo.toml +0 -55
  1049. data/ext/cargo-vendor/winch-codegen-0.17.2/.cargo-checksum.json +0 -1
  1050. data/ext/cargo-vendor/winch-codegen-0.17.2/Cargo.toml +0 -77
  1051. data/ext/cargo-vendor/winch-codegen-0.17.2/src/abi/mod.rs +0 -737
  1052. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/bounds.rs +0 -220
  1053. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/builtin.rs +0 -272
  1054. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/call.rs +0 -413
  1055. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/env.rs +0 -399
  1056. data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/mod.rs +0 -672
  1057. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/abi.rs +0 -309
  1058. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/asm.rs +0 -247
  1059. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/masm.rs +0 -557
  1060. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/mod.rs +0 -152
  1061. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/regs.rs +0 -183
  1062. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/mod.rs +0 -232
  1063. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/abi.rs +0 -543
  1064. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/asm.rs +0 -1418
  1065. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/masm.rs +0 -1300
  1066. data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/mod.rs +0 -192
  1067. data/ext/cargo-vendor/winch-codegen-0.17.2/src/lib.rs +0 -21
  1068. data/ext/cargo-vendor/winch-codegen-0.17.2/src/masm.rs +0 -955
  1069. data/ext/cargo-vendor/winch-codegen-0.17.2/src/trampoline.rs +0 -626
  1070. data/ext/cargo-vendor/winch-codegen-0.17.2/src/visitor.rs +0 -2101
  1071. data/ext/cargo-vendor/wit-parser-0.201.0/.cargo-checksum.json +0 -1
  1072. data/ext/cargo-vendor/wit-parser-0.201.0/Cargo.toml +0 -101
  1073. data/ext/cargo-vendor/wit-parser-0.201.0/src/abi.rs +0 -295
  1074. data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/lex.rs +0 -747
  1075. data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/resolve.rs +0 -1427
  1076. data/ext/cargo-vendor/wit-parser-0.201.0/src/ast.rs +0 -1348
  1077. data/ext/cargo-vendor/wit-parser-0.201.0/src/decoding.rs +0 -1764
  1078. data/ext/cargo-vendor/wit-parser-0.201.0/src/lib.rs +0 -747
  1079. data/ext/cargo-vendor/wit-parser-0.201.0/src/resolve.rs +0 -2239
  1080. data/ext/cargo-vendor/wit-parser-0.201.0/src/serde_.rs +0 -108
  1081. data/ext/cargo-vendor/wit-parser-0.201.0/src/sizealign.rs +0 -144
  1082. data/ext/cargo-vendor/wit-parser-0.201.0/tests/all.rs +0 -185
  1083. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit +0 -14
  1084. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit.json +0 -166
  1085. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit +0 -20
  1086. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit.json +0 -281
  1087. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit +0 -60
  1088. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit.json +0 -774
  1089. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit +0 -12
  1090. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit.json +0 -72
  1091. data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/wasi.wit +0 -178
  1092. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-APACHE +0 -0
  1093. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-MIT +0 -0
  1094. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/build/probe.rs +0 -0
  1095. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/rust-toolchain.toml +0 -0
  1096. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/context.rs +0 -0
  1097. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ensure.rs +0 -0
  1098. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/error.rs +0 -0
  1099. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ptr.rs +0 -0
  1100. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/common/mod.rs +0 -0
  1101. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/compiletest.rs +0 -0
  1102. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/drop/mod.rs +0 -0
  1103. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_autotrait.rs +0 -0
  1104. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_backtrace.rs +0 -0
  1105. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_boxed.rs +0 -0
  1106. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_chain.rs +0 -0
  1107. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_context.rs +0 -0
  1108. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_convert.rs +0 -0
  1109. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_downcast.rs +0 -0
  1110. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_ffi.rs +0 -0
  1111. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_fmt.rs +0 -0
  1112. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_source.rs +0 -0
  1113. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.rs +0 -0
  1114. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.stderr +0 -0
  1115. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.rs +0 -0
  1116. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.stderr +0 -0
  1117. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.rs +0 -0
  1118. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.stderr +0 -0
  1119. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/no-impl.rs +0 -0
  1120. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.rs +0 -0
  1121. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.stderr +0 -0
  1122. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.rs +0 -0
  1123. /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.stderr +0 -0
  1124. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/LICENSE +0 -0
  1125. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/README.md +0 -0
  1126. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/lib.rs +0 -0
  1127. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/map.rs +0 -0
  1128. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/node.rs +0 -0
  1129. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/path.rs +0 -0
  1130. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/pool.rs +0 -0
  1131. /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/set.rs +0 -0
  1132. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/LICENSE +0 -0
  1133. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/README.md +0 -0
  1134. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/benches/x64-evex-encoding.rs +0 -0
  1135. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/binemit/stack_map.rs +0 -0
  1136. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cfg_printer.rs +0 -0
  1137. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/constant_hash.rs +0 -0
  1138. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ctxhash.rs +0 -0
  1139. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cursor.rs +0 -0
  1140. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/data_value.rs +0 -0
  1141. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dbg.rs +0 -0
  1142. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dce.rs +0 -0
  1143. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dominator_tree.rs +0 -0
  1144. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/egraph/cost.rs +0 -0
  1145. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/flowgraph.rs +0 -0
  1146. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/fx.rs +0 -0
  1147. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/incremental_cache.rs +0 -0
  1148. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/atomic_rmw_op.rs +0 -0
  1149. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/builder.rs +0 -0
  1150. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/condcodes.rs +0 -0
  1151. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/dynamic_type.rs +0 -0
  1152. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extfunc.rs +0 -0
  1153. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extname.rs +0 -0
  1154. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/globalvalue.rs +0 -0
  1155. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/immediates.rs +0 -0
  1156. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/jumptable.rs +0 -0
  1157. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/known_symbol.rs +0 -0
  1158. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/layout.rs +0 -0
  1159. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/libcall.rs +0 -0
  1160. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/memtype.rs +0 -0
  1161. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/pcc.rs +0 -0
  1162. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/progpoint.rs +0 -0
  1163. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/sourceloc.rs +0 -0
  1164. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/stackslot.rs +0 -0
  1165. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/args.rs +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/emit_tests.rs +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/imms.rs +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/regs.rs +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind.rs +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst_neon.isle +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower.rs +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/settings.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/mod.rs +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/emit_tests.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/imms.rs +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/mod.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/regs.rs +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind.rs +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/vector.rs +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst_vector.isle +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower.rs +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/mod.rs +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/settings.rs +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/imms.rs +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/mod.rs +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/regs.rs +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind.rs +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle.rs +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/mod.rs +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/settings.rs +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/systemv.rs +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/winx64.rs +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind.rs +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/encoding/mod.rs +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/emit_tests.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/regs.rs +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/settings.rs +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isle_prelude.rs +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/iterators.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/legalizer/globalvalue.rs +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/lib.rs +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/loop_analysis.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/blockorder.rs +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/compile.rs +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/helpers.rs +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/reg.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/valueregs.rs +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/README.md +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/arithmetic.isle +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/bitops.isle +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/extends.isle +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/generated_code.rs +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/icmp.isle +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/remat.isle +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/selects.isle +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/shifts.isle +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/spaceship.isle +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/vector.isle +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_lower.isle +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_opt.isle +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/print_errors.rs +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/remove_constant_phis.rs +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/scoped_hash_map.rs +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/souper_harvest.rs +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/timing.rs +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unionfind.rs +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unreachable_code.rs +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/value_label.rs +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/LICENSE +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/README.md +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/formats.rs +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/instructions.rs +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/isa.rs +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/mod.rs +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/operands.rs +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/settings.rs +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/types.rs +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/typevar.rs +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/constant_hash.rs +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/error.rs +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_inst.rs +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_settings.rs +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_types.rs +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/arm64.rs +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/mod.rs +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/riscv64.rs +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/s390x.rs +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/x86.rs +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/lib.rs +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/immediates.rs +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/mod.rs +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/settings.rs +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/types.rs +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/srcgen.rs +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/unique_table.rs +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/LICENSE +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/README.md +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constant_hash.rs +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constants.rs +0 -0
  1273. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/lib.rs +0 -0
  1274. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/LICENSE +0 -0
  1275. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/README.md +0 -0
  1276. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/chaos.rs +0 -0
  1277. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/lib.rs +0 -0
  1278. /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/zero_sized.rs +0 -0
  1279. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/LICENSE +0 -0
  1280. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/README.md +0 -0
  1281. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/boxed_slice.rs +0 -0
  1282. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/iter.rs +0 -0
  1283. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/keys.rs +0 -0
  1284. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/lib.rs +0 -0
  1285. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/list.rs +0 -0
  1286. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/map.rs +0 -0
  1287. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/packed_option.rs +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/primary.rs +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/set.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/sparse.rs +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/unsigned.rs +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/LICENSE +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/README.md +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/frontend.rs +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/lib.rs +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/ssa.rs +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/switch.rs +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/variable.rs +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/README.md +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/build.rs +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bad_converters.isle +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/error1.isle +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/extra_parens.isle +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_expression.isle +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_rhs.isle +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_prio.isle +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows.isle +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows_main.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets.isle +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets_main.rs +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor.isle +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor_main.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor.isle +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor_main.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test.isle +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test_main.rs +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/bound_var.isle +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/construct_and_extract.isle +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions.isle +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions_extern.isle +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/let.isle +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/nodebug.isle +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test2.isle +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test3.isle +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test4.isle +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/tutorial.isle +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst.isle +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst_main.rs +0 -0
  1333. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing.isle +0 -0
  1334. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing_main.rs +0 -0
  1335. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/ast.rs +0 -0
  1336. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/codegen.rs +0 -0
  1337. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/compile.rs +0 -0
  1338. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/error.rs +0 -0
  1339. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lexer.rs +0 -0
  1340. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lib.rs +0 -0
  1341. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/log.rs +0 -0
  1342. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/overlap.rs +0 -0
  1343. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/parser.rs +0 -0
  1344. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/sema.rs +0 -0
  1345. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/serialize.rs +0 -0
  1346. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/trie_again.rs +0 -0
  1347. /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/tests/run_tests.rs +0 -0
  1348. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/LICENSE +0 -0
  1349. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/README.md +0 -0
  1350. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/lib.rs +0 -0
  1351. /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/riscv.rs +0 -0
  1352. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/LICENSE +0 -0
  1353. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/README.md +0 -0
  1354. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/code_translator/bounds_checks.rs +0 -0
  1355. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/heap.rs +0 -0
  1356. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/module_translator.rs +0 -0
  1357. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/sections_translator.rs +0 -0
  1358. /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/translation_utils.rs +0 -0
  1359. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/README.md +0 -0
  1360. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/clocks.rs +0 -0
  1361. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/lib.rs +0 -0
  1362. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/noop_scheduler.rs +0 -0
  1363. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/clocks.rs +0 -0
  1364. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/common/mod.rs +0 -0
  1365. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/random.rs +0 -0
  1366. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/scheduler.rs +0 -0
  1367. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/boolean.rs +0 -0
  1368. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/bootstrap.rs +0 -0
  1369. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock.rs +0 -0
  1370. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_priv.rs +0 -0
  1371. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_reply.rs +0 -0
  1372. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_types.rs +0 -0
  1373. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/dyld_kernel.rs +0 -0
  1374. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/exception_types.rs +0 -0
  1375. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_init.rs +0 -0
  1376. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_time.rs +0 -0
  1377. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_types.rs +0 -0
  1378. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/memory_object_types.rs +0 -0
  1379. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_behavior.rs +0 -0
  1380. /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_inherit.rs +0 -0
  1381. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/LICENSE +0 -0
  1382. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/README.md +0 -0
  1383. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/clocks.rs +0 -0
  1384. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/dir.rs +0 -0
  1385. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/error.rs +0 -0
  1386. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/file.rs +0 -0
  1387. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/pipe.rs +0 -0
  1388. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/random.rs +0 -0
  1389. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched/subscription.rs +0 -0
  1390. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched.rs +0 -0
  1391. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/mod.rs +0 -0
  1392. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_0.rs +0 -0
  1393. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_1/error.rs +0 -0
  1394. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/string_array.rs +0 -0
  1395. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/clocks.rs +0 -0
  1396. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/dir.rs +0 -0
  1397. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/file.rs +0 -0
  1398. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/mod.rs +0 -0
  1399. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/net.rs +0 -0
  1400. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/unix.rs +0 -0
  1401. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/windows.rs +0 -0
  1402. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched.rs +0 -0
  1403. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/stdio.rs +0 -0
  1404. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/table.rs +0 -0
  1405. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/dir.rs +0 -0
  1406. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/file.rs +0 -0
  1407. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/mod.rs +0 -0
  1408. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/net.rs +0 -0
  1409. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/unix.rs +0 -0
  1410. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/windows.rs +0 -0
  1411. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched.rs +0 -0
  1412. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/stdio.rs +0 -0
  1413. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/tests/all/main.rs +0 -0
  1414. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/typenames.witx +0 -0
  1415. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1416. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/typenames.witx +0 -0
  1417. /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1418. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/LICENSE +0 -0
  1419. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/README.md +0 -0
  1420. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/aliases.rs +0 -0
  1421. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/builder.rs +0 -0
  1422. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/canonicals.rs +0 -0
  1423. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/components.rs +0 -0
  1424. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/exports.rs +0 -0
  1425. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/imports.rs +0 -0
  1426. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/instances.rs +0 -0
  1427. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/modules.rs +0 -0
  1428. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/names.rs +0 -0
  1429. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/start.rs +0 -0
  1430. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component.rs +0 -0
  1431. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/code.rs +0 -0
  1432. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/custom.rs +0 -0
  1433. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/data.rs +0 -0
  1434. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/dump.rs +0 -0
  1435. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/elements.rs +0 -0
  1436. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/exports.rs +0 -0
  1437. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/functions.rs +0 -0
  1438. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/globals.rs +0 -0
  1439. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/imports.rs +0 -0
  1440. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/linking.rs +0 -0
  1441. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/memories.rs +0 -0
  1442. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/names.rs +0 -0
  1443. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/producers.rs +0 -0
  1444. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/start.rs +0 -0
  1445. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tables.rs +0 -0
  1446. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tags.rs +0 -0
  1447. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/types.rs +0 -0
  1448. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core.rs +0 -0
  1449. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/lib.rs +0 -0
  1450. /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/raw.rs +0 -0
  1451. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasm-encoder-0.208.1}/LICENSE +0 -0
  1452. /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmparser-0.202.0}/LICENSE +0 -0
  1453. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/README.md +0 -0
  1454. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/benches/benchmark.rs +0 -0
  1455. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/examples/simple.rs +0 -0
  1456. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/binary_reader.rs +0 -0
  1457. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/lib.rs +0 -0
  1458. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/limits.rs +0 -0
  1459. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/parser.rs +0 -0
  1460. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/aliases.rs +0 -0
  1461. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/canonicals.rs +0 -0
  1462. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/exports.rs +0 -0
  1463. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/imports.rs +0 -0
  1464. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/instances.rs +0 -0
  1465. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/names.rs +0 -0
  1466. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/start.rs +0 -0
  1467. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component.rs +0 -0
  1468. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/branch_hinting.rs +0 -0
  1469. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/code.rs +0 -0
  1470. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/coredumps.rs +0 -0
  1471. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/custom.rs +0 -0
  1472. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/data.rs +0 -0
  1473. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/dylink0.rs +0 -0
  1474. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/elements.rs +0 -0
  1475. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/exports.rs +0 -0
  1476. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/functions.rs +0 -0
  1477. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/globals.rs +0 -0
  1478. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/imports.rs +0 -0
  1479. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/init.rs +0 -0
  1480. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/linking.rs +0 -0
  1481. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/memories.rs +0 -0
  1482. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/names.rs +0 -0
  1483. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/operators.rs +0 -0
  1484. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/producers.rs +0 -0
  1485. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tables.rs +0 -0
  1486. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tags.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types/matches.rs +0 -0
  1488. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/resources.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/component.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core/canonical.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/func.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/names.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/tests/big-module.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmprinter-0.202.0}/LICENSE +0 -0
  1500. /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmprinter-0.202.0}/README.md +0 -0
  1501. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-20.0.0}/LICENSE +0 -0
  1502. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/README.md +0 -0
  1503. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/jitdump.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/perfmap.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/vtune.rs +0 -0
  1506. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent.rs +0 -0
  1507. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/code.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/resource_table.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/storage.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/store.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/debug.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/externals.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/limits.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/resources.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/signatures.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/stack.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/context.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/func_refs.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/trampoline.rs +0 -0
  1520. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/uninhabited.rs +0 -0
  1521. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/unix.rs +0 -0
  1522. /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/windows.rs +0 -0
  1523. /data/ext/cargo-vendor/{wasmtime-asm-macros-19.0.2 → wasmtime-asm-macros-20.0.0}/src/lib.rs +0 -0
  1524. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cache-20.0.0}/LICENSE +0 -0
  1525. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/build.rs +0 -0
  1526. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config/tests.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/lib.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/tests.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests/system_time_stub.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker.rs +0 -0
  1533. /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/tests/cache_write_default_config.rs +0 -0
  1534. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/build.rs +0 -0
  1535. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/bindgen.rs +0 -0
  1536. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/lib.rs +0 -0
  1537. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/char.wit +0 -0
  1538. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/conventions.wit +0 -0
  1539. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/direct-import.wit +0 -0
  1540. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/empty.wit +0 -0
  1541. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/flags.wit +0 -0
  1542. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/floats.wit +0 -0
  1543. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/function-new.wit +0 -0
  1544. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/integers.wit +0 -0
  1545. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/lists.wit +0 -0
  1546. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/many-arguments.wit +0 -0
  1547. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multi-return.wit +0 -0
  1548. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1549. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1550. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/root.wit +0 -0
  1551. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/records.wit +0 -0
  1552. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/rename.wit +0 -0
  1553. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-export.wit +0 -0
  1554. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-import.wit +0 -0
  1555. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/share-types.wit +0 -0
  1556. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-functions.wit +0 -0
  1557. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-lists.wit +0 -0
  1558. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-wasi.wit +0 -0
  1559. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/small-anonymous.wit +0 -0
  1560. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-default.wit +0 -0
  1561. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-export.wit +0 -0
  1562. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke.wit +0 -0
  1563. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/strings.wit +0 -0
  1564. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/unversioned-foo.wit +0 -0
  1565. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/use-paths.wit +0 -0
  1566. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/variants.wit +0 -0
  1567. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/wat.wit +0 -0
  1568. /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/worlds-with-types.wit +0 -0
  1569. /data/ext/cargo-vendor/{wasmtime-component-util-19.0.2 → wasmtime-component-util-20.0.0}/src/lib.rs +0 -0
  1570. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-cranelift-20.0.0}/LICENSE +0 -0
  1571. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/SECURITY.md +0 -0
  1572. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/gc.rs +0 -0
  1573. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/attr.rs +0 -0
  1574. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/line_program.rs +0 -0
  1575. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/mod.rs +0 -0
  1576. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/range_info_builder.rs +0 -0
  1577. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/refs.rs +0 -0
  1578. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/simulate.rs +0 -0
  1579. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/unit.rs +0 -0
  1580. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/utils.rs +0 -0
  1581. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/write_debuginfo.rs +0 -0
  1582. /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug.rs +0 -0
  1583. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-19.0.2 → wasmtime-cranelift-20.0.0}/src/isa_builder.rs +0 -0
  1584. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-environ-20.0.0}/LICENSE +0 -0
  1585. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/examples/factc.rs +0 -0
  1586. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/dfg.rs +0 -0
  1587. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/translate.rs +0 -0
  1588. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/types/resources.rs +0 -0
  1589. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/vmcomponent_offsets.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/demangling.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/core_types.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/signature.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/traps.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/module_types.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/ref_bits.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/scopevec.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/stack_map.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-fiber-20.0.0}/LICENSE +0 -0
  1599. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/build.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/lib.rs +0 -0
  1601. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/aarch64.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/arm.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/riscv64.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/s390x.S +0 -0
  1605. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86_64.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.c +0 -0
  1608. /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.rs +0 -0
  1609. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/README.md +0 -0
  1610. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/gdb_jit_int.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/lib.rs +0 -0
  1612. /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/perf_jitdump.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/lib.rs +0 -0
  1614. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/libc.rs +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/miri.rs +0 -0
  1616. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/win.rs +0 -0
  1617. /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-runtime-20.0.0}/LICENSE +0 -0
  1618. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
  1619. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/arch/mod.rs +0 -0
  1620. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/component/resources.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/cow.rs +0 -0
  1622. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/debug_builtins.rs +0 -0
  1623. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/helpers.c +0 -0
  1624. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/imports.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/memory_pool.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/stack_pool.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap_vec.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/module_id.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/disabled.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/enabled.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/mod.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/pkru.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/sys.rs +0 -0
  1636. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/store_box.rs +0 -0
  1637. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/capi.rs +0 -0
  1638. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/mod.rs +0 -0
  1639. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/unwind.rs +0 -0
  1640. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/vm.rs +0 -0
  1641. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/mod.rs +0 -0
  1642. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/traphandlers.rs +0 -0
  1643. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/unwind.rs +0 -0
  1644. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/vm.rs +0 -0
  1645. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/mod.rs +0 -0
  1646. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/macos_traphandlers.rs +0 -0
  1647. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/mod.rs +0 -0
  1648. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/unwind.rs +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/vm.rs +0 -0
  1650. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mmap.rs +0 -0
  1651. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mod.rs +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/unwind.rs +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/vm.rs +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2/src → wasmtime-runtime-20.0.0/src/threads}/parking_spot.rs +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/traphandlers/backtrace.rs +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-types-20.0.2}/LICENSE +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-types-20.0.2}/src/error.rs +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-19.0.2 → wasmtime-versioned-export-macros-20.0.0}/src/lib.rs +0 -0
  1660. /data/ext/cargo-vendor/{wast-201.0.0 → wasmtime-wasi-20.0.0}/LICENSE +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/README.md +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks/host.rs +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks.rs +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/error.rs +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/clocks.rs +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/env.rs +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/exit.rs +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/instance_network.rs +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/mod.rs +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/random.rs +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/tcp_create_socket.rs +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp.rs +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp_create_socket.rs +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/random.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/stream.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/tests/process_stdin.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/command-extended.wit +0 -0
  1678. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/command.wit +0 -0
  1679. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/environment.wit +0 -0
  1680. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/exit.wit +0 -0
  1681. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/imports.wit +0 -0
  1682. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/run.wit +0 -0
  1683. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/stdio.wit +0 -0
  1684. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/terminal.wit +0 -0
  1685. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1686. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
  1687. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/world.wit +0 -0
  1688. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/preopens.wit +0 -0
  1689. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/types.wit +0 -0
  1690. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/world.wit +0 -0
  1691. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/handler.wit +0 -0
  1692. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/proxy.wit +0 -0
  1693. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/types.wit +0 -0
  1694. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/error.wit +0 -0
  1695. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/streams.wit +0 -0
  1696. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/world.wit +0 -0
  1697. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure-seed.wit +0 -0
  1698. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure.wit +0 -0
  1699. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/random.wit +0 -0
  1700. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/world.wit +0 -0
  1701. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/instance-network.wit +0 -0
  1702. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1703. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/network.wit +0 -0
  1704. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1705. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp.wit +0 -0
  1706. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1707. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp.wit +0 -0
  1708. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/world.wit +0 -0
  1709. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/test.wit +0 -0
  1710. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/typenames.witx +0 -0
  1711. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
  1712. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/typenames.witx +0 -0
  1713. /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1714. /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/LICENSE +0 -0
  1715. /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/src/lib.rs +0 -0
  1716. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-19.0.2 → wasmtime-wit-bindgen-20.0.0}/src/source.rs +0 -0
  1717. /data/ext/cargo-vendor/{wat-1.201.0 → wast-208.0.1}/LICENSE +0 -0
  1718. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/README.md +0 -0
  1719. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/alias.rs +0 -0
  1720. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/component.rs +0 -0
  1721. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/custom.rs +0 -0
  1722. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/expand.rs +0 -0
  1723. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/export.rs +0 -0
  1724. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/func.rs +0 -0
  1725. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/import.rs +0 -0
  1726. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/instance.rs +0 -0
  1727. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/item_ref.rs +0 -0
  1728. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/module.rs +0 -0
  1729. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component.rs +0 -0
  1730. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/custom.rs +0 -0
  1731. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/export.rs +0 -0
  1732. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/global.rs +0 -0
  1733. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/import.rs +0 -0
  1734. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/module.rs +0 -0
  1735. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/resolve/mod.rs +0 -0
  1736. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/tag.rs +0 -0
  1737. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core.rs +0 -0
  1738. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/encode.rs +0 -0
  1739. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/error.rs +0 -0
  1740. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/gensym.rs +0 -0
  1741. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/lexer.rs +0 -0
  1742. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/comments.rs +0 -0
  1743. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
  1744. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
  1745. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
  1746. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
  1747. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat +0 -0
  1748. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
  1749. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat +0 -0
  1750. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
  1751. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat +0 -0
  1752. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
  1753. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat +0 -0
  1754. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
  1755. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat +0 -0
  1756. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat.err +0 -0
  1757. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat +0 -0
  1758. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat.err +0 -0
  1759. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat +0 -0
  1760. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat.err +0 -0
  1761. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
  1762. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
  1763. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
  1764. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
  1765. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
  1766. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
  1767. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
  1768. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
  1769. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
  1770. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
  1771. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
  1772. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
  1773. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
  1774. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
  1775. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
  1776. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
  1777. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
  1778. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
  1779. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
  1780. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
  1781. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
  1782. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
  1783. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
  1784. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
  1785. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
  1786. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
  1787. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
  1788. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
  1789. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
  1790. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
  1791. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
  1792. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
  1793. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
  1794. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
  1795. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
  1796. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
  1797. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
  1798. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
  1799. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
  1800. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
  1801. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
  1802. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
  1803. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
  1804. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
  1805. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
  1806. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
  1807. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
  1808. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
  1809. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
  1810. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
  1811. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
  1812. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
  1813. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
  1814. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
  1815. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat +0 -0
  1816. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat.err +0 -0
  1817. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
  1818. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
  1819. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat +0 -0
  1820. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat.err +0 -0
  1821. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat +0 -0
  1822. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat.err +0 -0
  1823. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat +0 -0
  1824. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat.err +0 -0
  1825. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat +0 -0
  1826. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat.err +0 -0
  1827. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat +0 -0
  1828. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat.err +0 -0
  1829. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat +0 -0
  1830. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat.err +0 -0
  1831. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat +0 -0
  1832. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat.err +0 -0
  1833. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat +0 -0
  1834. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat.err +0 -0
  1835. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat +0 -0
  1836. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat.err +0 -0
  1837. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat +0 -0
  1838. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat.err +0 -0
  1839. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat +0 -0
  1840. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat.err +0 -0
  1841. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat +0 -0
  1842. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat.err +0 -0
  1843. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat +0 -0
  1844. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat.err +0 -0
  1845. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat +0 -0
  1846. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat.err +0 -0
  1847. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat +0 -0
  1848. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat.err +0 -0
  1849. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat +0 -0
  1850. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat.err +0 -0
  1851. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat +0 -0
  1852. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
  1853. /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/recursive.rs +0 -0
  1854. /data/ext/cargo-vendor/{wiggle-19.0.2 → wat-1.208.1}/LICENSE +0 -0
  1855. /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/README.md +0 -0
  1856. /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/src/lib.rs +0 -0
  1857. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-20.0.0}/LICENSE +0 -0
  1858. /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/README.md +0 -0
  1859. /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/error.rs +0 -0
  1860. /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/region.rs +0 -0
  1861. /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-generate-20.0.0}/LICENSE +0 -0
  1862. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/README.md +0 -0
  1863. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/codegen_settings.rs +0 -0
  1864. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/config.rs +0 -0
  1865. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/funcs.rs +0 -0
  1866. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lib.rs +0 -0
  1867. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lifetimes.rs +0 -0
  1868. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/module_trait.rs +0 -0
  1869. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/names.rs +0 -0
  1870. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/error.rs +0 -0
  1871. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/flags.rs +0 -0
  1872. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/handle.rs +0 -0
  1873. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/mod.rs +0 -0
  1874. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/record.rs +0 -0
  1875. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/variant.rs +0 -0
  1876. /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/wasmtime.rs +0 -0
  1877. /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-macro-20.0.0}/src/lib.rs +0 -0
  1878. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/LICENSE +0 -0
  1879. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/build.rs +0 -0
  1880. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/abi/local.rs +0 -0
  1881. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/context.rs +0 -0
  1882. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/control.rs +0 -0
  1883. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/frame/mod.rs +0 -0
  1884. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/aarch64/address.rs +0 -0
  1885. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/reg.rs +0 -0
  1886. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/address.rs +0 -0
  1887. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/regs.rs +0 -0
  1888. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regalloc.rs +0 -0
  1889. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regset.rs +0 -0
  1890. /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/stack.rs +0 -0
  1891. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/README.md +0 -0
  1892. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/ast/toposort.rs +0 -0
  1893. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/docs.rs +0 -0
  1894. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/live.rs +0 -0
  1895. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit +0 -0
  1896. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit.json +0 -0
  1897. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  1898. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  1899. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/root.wit +0 -0
  1900. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include.wit.json +0 -0
  1901. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  1902. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/foo.wit +0 -0
  1903. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource.wit.json +0 -0
  1904. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  1905. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  1906. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/join.wit +0 -0
  1907. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1.wit.json +0 -0
  1908. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  1909. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  1910. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
  1911. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
  1912. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit +0 -0
  1913. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit.json +0 -0
  1914. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/root.wit +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/root.wit +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union.wit.json +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps.wit.json +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  1934. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  1935. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/world.wit +0 -0
  1936. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps.wit.json +0 -0
  1937. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit +0 -0
  1938. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit.json +0 -0
  1939. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit +0 -0
  1940. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit.json +0 -0
  1941. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit +0 -0
  1942. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit.json +0 -0
  1943. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit +0 -0
  1944. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
  1945. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/a.wit +0 -0
  1946. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  1947. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  1948. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  1949. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  1950. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps.wit.json +0 -0
  1951. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/a.wit +0 -0
  1952. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/b.wit +0 -0
  1953. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names.wit.json +0 -0
  1954. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/bar.wit +0 -0
  1955. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-a.wit +0 -0
  1956. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-b.wit +0 -0
  1957. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/foo.wit +0 -0
  1958. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file.wit.json +0 -0
  1959. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  1960. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  1961. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  1962. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit +0 -0
  1963. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit.json +0 -0
  1964. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit +0 -0
  1965. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit.json +0 -0
  1966. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit +0 -0
  1967. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit.json +0 -0
  1968. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1969. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  1970. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async.wit.result +0 -0
  1971. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  1972. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit +0 -0
  1973. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  1974. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
  1975. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  1976. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
  1977. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  1978. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
  1979. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  1980. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
  1981. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  1982. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  1983. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1984. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  1985. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  1986. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  1987. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  1988. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  1989. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1990. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  1991. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  1992. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  1993. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  1994. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  1995. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  1996. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  1997. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  1998. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1999. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  2000. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  2001. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  2002. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  2003. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  2004. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  2005. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  2006. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  2007. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  2008. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  2009. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  2010. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  2011. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  2012. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  2013. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  2014. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  2015. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  2016. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  2017. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  2018. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  2019. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  2020. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  2021. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  2022. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  2023. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  2024. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  2025. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  2026. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  2027. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  2028. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  2029. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  2030. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit +0 -0
  2044. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  2045. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit +0 -0
  2046. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  2047. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  2048. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  2049. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  2050. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  2051. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  2052. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  2053. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  2054. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  2055. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  2056. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  2057. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  2058. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  2059. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  2060. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
  2061. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  2062. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  2063. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  2064. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit +0 -0
  2065. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  2066. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  2067. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  2068. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  2069. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  2070. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  2071. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  2072. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  2073. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  2074. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  2075. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  2076. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit +0 -0
  2077. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  2078. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
  2079. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  2080. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  2081. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  2082. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  2083. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
  2084. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  2085. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  2086. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  2087. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  2088. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  2089. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  2090. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  2091. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  2092. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  2093. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  2094. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  2095. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  2096. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  2097. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit +0 -0
  2098. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  2099. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit +0 -0
  2100. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  2101. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  2102. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  2103. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
  2104. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  2105. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  2106. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  2107. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  2108. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  2109. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  2110. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  2111. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  2112. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  2113. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  2114. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  2115. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  2116. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  2117. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  2118. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  2119. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  2120. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  2121. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  2122. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  2123. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  2124. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  2125. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  2126. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  2127. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  2128. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  2129. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  2130. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  2131. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  2132. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  2133. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  2134. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  2135. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  2136. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  2137. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  2138. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  2139. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  2140. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  2141. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  2142. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  2143. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2144. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2145. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2146. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2147. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2148. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2149. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2150. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  2151. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2152. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2153. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2154. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2155. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2156. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2157. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2158. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2159. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2160. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2161. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2162. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2163. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2164. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2165. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
  2166. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2167. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2168. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2169. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2170. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2171. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2172. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2173. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2174. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2175. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2176. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit +0 -0
  2177. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit.json +0 -0
  2178. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit +0 -0
  2179. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit.json +0 -0
  2180. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
  2181. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
  2182. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2183. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2184. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit +0 -0
  2185. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit.json +0 -0
  2186. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit +0 -0
  2187. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit.json +0 -0
  2188. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit +0 -0
  2189. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit.json +0 -0
  2190. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit +0 -0
  2191. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit.json +0 -0
  2192. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit +0 -0
  2193. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit.json +0 -0
  2194. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit +0 -0
  2195. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit.json +0 -0
  2196. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wat +0 -0
  2197. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wit.json +0 -0
  2198. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit +0 -0
  2199. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
  2200. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit +0 -0
  2201. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit.json +0 -0
  2202. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit +0 -0
  2203. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit.json +0 -0
  2204. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit +0 -0
  2205. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit.json +0 -0
  2206. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit +0 -0
  2207. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit.json +0 -0
  2208. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2209. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2210. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/foo.wit +0 -0
  2211. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions.wit.json +0 -0
  2212. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/wasi.wit.json +0 -0
  2213. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit +0 -0
  2214. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit.json +0 -0
  2215. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit +0 -0
  2216. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
  2217. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit +0 -0
  2218. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit.json +0 -0
  2219. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit +0 -0
  2220. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit.json +0 -0
  2221. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit +0 -0
  2222. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit.json +0 -0
  2223. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit +0 -0
  2224. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit.json +0 -0
  2225. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit +0 -0
  2226. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2227. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit +0 -0
  2228. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit.json +0 -0
  2229. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit +0 -0
  2230. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
  2231. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit +0 -0
  2232. /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,4383 @@
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
+ Inst::CvtIntToFloat {
32
+ op,
33
+ dst: Writable::from_reg(Xmm::new(dst.to_reg()).unwrap()),
34
+ src1: Xmm::new(dst.to_reg()).unwrap(),
35
+ src2: GprMem::new(RegMem::reg(src)).unwrap(),
36
+ src2_size: OperandSize::Size64,
37
+ }
38
+ .emit(&[], sink, info, state);
39
+ }
40
+
41
+ /// Emits a one way conditional jump if CC is set (true).
42
+ fn one_way_jmp(sink: &mut MachBuffer<Inst>, cc: CC, label: MachLabel) {
43
+ let cond_start = sink.cur_offset();
44
+ let cond_disp_off = cond_start + 2;
45
+ sink.use_label_at_offset(cond_disp_off, label, LabelUse::JmpRel32);
46
+ sink.put1(0x0F);
47
+ sink.put1(0x80 + cc.get_enc());
48
+ sink.put4(0x0);
49
+ }
50
+
51
+ /// Emits a relocation, attaching the current source location as well.
52
+ fn emit_reloc(sink: &mut MachBuffer<Inst>, kind: Reloc, name: &ExternalName, addend: Addend) {
53
+ sink.add_reloc(kind, name, addend);
54
+ }
55
+
56
+ /// The top-level emit function.
57
+ ///
58
+ /// Important! Do not add improved (shortened) encoding cases to existing
59
+ /// instructions without also adding tests for those improved encodings. That
60
+ /// is a dangerous game that leads to hard-to-track-down errors in the emitted
61
+ /// code.
62
+ ///
63
+ /// For all instructions, make sure to have test coverage for all of the
64
+ /// following situations. Do this by creating the cross product resulting from
65
+ /// applying the following rules to each operand:
66
+ ///
67
+ /// (1) for any insn that mentions a register: one test using a register from
68
+ /// the group [rax, rcx, rdx, rbx, rsp, rbp, rsi, rdi] and a second one
69
+ /// using a register from the group [r8, r9, r10, r11, r12, r13, r14, r15].
70
+ /// This helps detect incorrect REX prefix construction.
71
+ ///
72
+ /// (2) for any insn that mentions a byte register: one test for each of the
73
+ /// four encoding groups [al, cl, dl, bl], [spl, bpl, sil, dil],
74
+ /// [r8b .. r11b] and [r12b .. r15b]. This checks that
75
+ /// apparently-redundant REX prefixes are retained when required.
76
+ ///
77
+ /// (3) for any insn that contains an immediate field, check the following
78
+ /// cases: field is zero, field is in simm8 range (-128 .. 127), field is
79
+ /// in simm32 range (-0x8000_0000 .. 0x7FFF_FFFF). This is because some
80
+ /// instructions that require a 32-bit immediate have a short-form encoding
81
+ /// when the imm is in simm8 range.
82
+ ///
83
+ /// Rules (1), (2) and (3) don't apply for registers within address expressions
84
+ /// (`Addr`s). Those are already pretty well tested, and the registers in them
85
+ /// don't have any effect on the containing instruction (apart from possibly
86
+ /// require REX prefix bits).
87
+ ///
88
+ /// When choosing registers for a test, avoid using registers with the same
89
+ /// offset within a given group. For example, don't use rax and r8, since they
90
+ /// both have the lowest 3 bits as 000, and so the test won't detect errors
91
+ /// where those 3-bit register sub-fields are confused by the emitter. Instead
92
+ /// use (eg) rax (lo3 = 000) and r9 (lo3 = 001). Similarly, don't use (eg) cl
93
+ /// and bpl since they have the same offset in their group; use instead (eg) cl
94
+ /// and sil.
95
+ ///
96
+ /// For all instructions, also add a test that uses only low-half registers
97
+ /// (rax .. rdi, xmm0 .. xmm7) etc, so as to check that any redundant REX
98
+ /// prefixes are correctly omitted. This low-half restriction must apply to
99
+ /// _all_ registers in the insn, even those in address expressions.
100
+ ///
101
+ /// Following these rules creates large numbers of test cases, but it's the
102
+ /// only way to make the emitter reliable.
103
+ ///
104
+ /// Known possible improvements:
105
+ ///
106
+ /// * there's a shorter encoding for shl/shr/sar by a 1-bit immediate. (Do we
107
+ /// care?)
108
+ pub(crate) fn emit(
109
+ inst: &Inst,
110
+ allocs: &mut AllocationConsumer<'_>,
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 = allocs.next(src1.to_reg());
156
+ let reg_g = allocs.next(reg_g.to_reg().to_reg());
157
+ debug_assert_eq!(src1, reg_g);
158
+ let src2 = src2.clone().to_reg_mem_imm().with_allocs(allocs);
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 = allocs.next(dst.to_reg().to_reg());
240
+ emit(
241
+ &Inst::AluRmiR {
242
+ size: *size,
243
+ op: *op,
244
+ dst: Writable::from_reg(Gpr::new(dst).unwrap()),
245
+ src1: Gpr::new(dst).unwrap(),
246
+ src2: Gpr::new(dst).unwrap().into(),
247
+ },
248
+ allocs,
249
+ sink,
250
+ info,
251
+ state,
252
+ );
253
+ }
254
+
255
+ Inst::AluRM {
256
+ size,
257
+ src1_dst,
258
+ src2,
259
+ op,
260
+ } => {
261
+ let src2 = allocs.next(src2.to_reg());
262
+ let src1_dst = src1_dst.finalize(state, sink).with_allocs(allocs);
263
+
264
+ let opcode = match op {
265
+ AluRmiROpcode::Add => 0x01,
266
+ AluRmiROpcode::Sub => 0x29,
267
+ AluRmiROpcode::And => 0x21,
268
+ AluRmiROpcode::Or => 0x09,
269
+ AluRmiROpcode::Xor => 0x31,
270
+ _ => panic!("Unsupported read-modify-write ALU opcode"),
271
+ };
272
+
273
+ let prefix = if *size == OperandSize::Size16 {
274
+ LegacyPrefixes::_66
275
+ } else {
276
+ LegacyPrefixes::None
277
+ };
278
+ let opcode = if *size == OperandSize::Size8 {
279
+ opcode - 1
280
+ } else {
281
+ opcode
282
+ };
283
+
284
+ let mut rex = RexFlags::from(*size);
285
+ if *size == OperandSize::Size8 {
286
+ debug_assert!(src2.is_real());
287
+ rex.always_emit_if_8bit_needed(src2);
288
+ }
289
+
290
+ let enc_g = int_reg_enc(src2);
291
+ emit_std_enc_mem(sink, prefix, opcode, 1, enc_g, &src1_dst, rex, 0);
292
+ }
293
+
294
+ Inst::AluRmRVex {
295
+ size,
296
+ op,
297
+ dst,
298
+ src1,
299
+ src2,
300
+ } => {
301
+ use AluRmROpcode::*;
302
+ use LegacyPrefixes as LP;
303
+
304
+ let dst = allocs.next(dst.to_reg().to_reg());
305
+ let src1 = allocs.next(src1.to_reg());
306
+ let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
307
+ RegMem::Reg { reg } => {
308
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
309
+ }
310
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
311
+ };
312
+
313
+ let w = match size {
314
+ OperandSize::Size32 => false,
315
+ OperandSize::Size64 => true,
316
+
317
+ // the other cases would be rejected by isle constructors
318
+ _ => unreachable!(),
319
+ };
320
+
321
+ let (prefix, opcode) = match op {
322
+ Andn => (LP::None, 0xf2),
323
+ Sarx => (LP::_F3, 0xf7),
324
+ Shrx => (LP::_F2, 0xf7),
325
+ Shlx => (LP::_66, 0xf7),
326
+ Bzhi => (LP::None, 0xf5),
327
+ };
328
+
329
+ VexInstruction::new()
330
+ .prefix(prefix)
331
+ .map(OpcodeMap::_0F38)
332
+ .w(w)
333
+ .reg(dst.to_real_reg().unwrap().hw_enc())
334
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
335
+ .rm(src2)
336
+ .opcode(opcode)
337
+ .encode(sink);
338
+ }
339
+
340
+ Inst::UnaryRmR { size, op, src, dst } => {
341
+ let dst = allocs.next(dst.to_reg().to_reg());
342
+ let rex_flags = RexFlags::from(*size);
343
+ use UnaryRmROpcode::*;
344
+ let prefix = match size {
345
+ OperandSize::Size16 => match op {
346
+ Bsr | Bsf => LegacyPrefixes::_66,
347
+ Lzcnt | Tzcnt | Popcnt => LegacyPrefixes::_66F3,
348
+ },
349
+ OperandSize::Size32 | OperandSize::Size64 => match op {
350
+ Bsr | Bsf => LegacyPrefixes::None,
351
+ Lzcnt | Tzcnt | Popcnt => LegacyPrefixes::_F3,
352
+ },
353
+ _ => unreachable!(),
354
+ };
355
+
356
+ let (opcode, num_opcodes) = match op {
357
+ Bsr => (0x0fbd, 2),
358
+ Bsf => (0x0fbc, 2),
359
+ Lzcnt => (0x0fbd, 2),
360
+ Tzcnt => (0x0fbc, 2),
361
+ Popcnt => (0x0fb8, 2),
362
+ };
363
+
364
+ match src.clone().into() {
365
+ RegMem::Reg { reg: src } => {
366
+ let src = allocs.next(src);
367
+ emit_std_reg_reg(sink, prefix, opcode, num_opcodes, dst, src, rex_flags);
368
+ }
369
+ RegMem::Mem { addr: src } => {
370
+ let amode = src.finalize(state, sink).with_allocs(allocs);
371
+ emit_std_reg_mem(sink, prefix, opcode, num_opcodes, dst, &amode, rex_flags, 0);
372
+ }
373
+ }
374
+ }
375
+
376
+ Inst::UnaryRmRVex { size, op, src, dst } => {
377
+ let dst = allocs.next(dst.to_reg().to_reg());
378
+ let src = match src.clone().to_reg_mem().with_allocs(allocs) {
379
+ RegMem::Reg { reg } => {
380
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
381
+ }
382
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
383
+ };
384
+
385
+ let (opcode, opcode_ext) = match op {
386
+ UnaryRmRVexOpcode::Blsr => (0xF3, 1),
387
+ UnaryRmRVexOpcode::Blsmsk => (0xF3, 2),
388
+ UnaryRmRVexOpcode::Blsi => (0xF3, 3),
389
+ };
390
+
391
+ VexInstruction::new()
392
+ .map(OpcodeMap::_0F38)
393
+ .w(*size == OperandSize::Size64)
394
+ .opcode(opcode)
395
+ .reg(opcode_ext)
396
+ .vvvv(dst.to_real_reg().unwrap().hw_enc())
397
+ .rm(src)
398
+ .encode(sink);
399
+ }
400
+
401
+ Inst::UnaryRmRImmVex {
402
+ size,
403
+ op,
404
+ src,
405
+ dst,
406
+ imm,
407
+ } => {
408
+ let dst = allocs.next(dst.to_reg().to_reg());
409
+ let src = match src.clone().to_reg_mem().with_allocs(allocs) {
410
+ RegMem::Reg { reg } => {
411
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
412
+ }
413
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
414
+ };
415
+
416
+ let opcode = match op {
417
+ UnaryRmRImmVexOpcode::Rorx => 0xF0,
418
+ };
419
+
420
+ VexInstruction::new()
421
+ .prefix(LegacyPrefixes::_F2)
422
+ .map(OpcodeMap::_0F3A)
423
+ .w(*size == OperandSize::Size64)
424
+ .opcode(opcode)
425
+ .reg(dst.to_real_reg().unwrap().hw_enc())
426
+ .rm(src)
427
+ .imm(*imm)
428
+ .encode(sink);
429
+ }
430
+
431
+ Inst::Not { size, src, dst } => {
432
+ let src = allocs.next(src.to_reg());
433
+ let dst = allocs.next(dst.to_reg().to_reg());
434
+ debug_assert_eq!(src, dst);
435
+ let rex_flags = RexFlags::from((*size, dst));
436
+ let (opcode, prefix) = match size {
437
+ OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
438
+ OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
439
+ OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
440
+ OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
441
+ };
442
+
443
+ let subopcode = 2;
444
+ let enc_src = int_reg_enc(dst);
445
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_src, rex_flags)
446
+ }
447
+
448
+ Inst::Neg { size, src, dst } => {
449
+ let src = allocs.next(src.to_reg());
450
+ let dst = allocs.next(dst.to_reg().to_reg());
451
+ debug_assert_eq!(src, dst);
452
+ let rex_flags = RexFlags::from((*size, dst));
453
+ let (opcode, prefix) = match size {
454
+ OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
455
+ OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
456
+ OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
457
+ OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
458
+ };
459
+
460
+ let subopcode = 3;
461
+ let enc_src = int_reg_enc(dst);
462
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_src, rex_flags)
463
+ }
464
+
465
+ Inst::Div {
466
+ sign,
467
+ trap,
468
+ divisor,
469
+ ..
470
+ }
471
+ | Inst::Div8 {
472
+ sign,
473
+ trap,
474
+ divisor,
475
+ ..
476
+ } => {
477
+ let divisor = divisor.clone().to_reg_mem().with_allocs(allocs);
478
+ let size = match inst {
479
+ Inst::Div {
480
+ size,
481
+ dividend_lo,
482
+ dividend_hi,
483
+ dst_quotient,
484
+ dst_remainder,
485
+ ..
486
+ } => {
487
+ let dividend_lo = allocs.next(dividend_lo.to_reg());
488
+ let dividend_hi = allocs.next(dividend_hi.to_reg());
489
+ let dst_quotient = allocs.next(dst_quotient.to_reg().to_reg());
490
+ let dst_remainder = allocs.next(dst_remainder.to_reg().to_reg());
491
+ debug_assert_eq!(dividend_lo, regs::rax());
492
+ debug_assert_eq!(dividend_hi, regs::rdx());
493
+ debug_assert_eq!(dst_quotient, regs::rax());
494
+ debug_assert_eq!(dst_remainder, regs::rdx());
495
+ *size
496
+ }
497
+ Inst::Div8 { dividend, dst, .. } => {
498
+ let dividend = allocs.next(dividend.to_reg());
499
+ let dst = allocs.next(dst.to_reg().to_reg());
500
+ debug_assert_eq!(dividend, regs::rax());
501
+ debug_assert_eq!(dst, regs::rax());
502
+ OperandSize::Size8
503
+ }
504
+ _ => unreachable!(),
505
+ };
506
+
507
+ let (opcode, prefix) = match size {
508
+ OperandSize::Size8 => (0xF6, LegacyPrefixes::None),
509
+ OperandSize::Size16 => (0xF7, LegacyPrefixes::_66),
510
+ OperandSize::Size32 => (0xF7, LegacyPrefixes::None),
511
+ OperandSize::Size64 => (0xF7, LegacyPrefixes::None),
512
+ };
513
+
514
+ sink.add_trap(*trap);
515
+
516
+ let subopcode = match sign {
517
+ DivSignedness::Signed => 7,
518
+ DivSignedness::Unsigned => 6,
519
+ };
520
+ match divisor {
521
+ RegMem::Reg { reg } => {
522
+ let src = int_reg_enc(reg);
523
+ emit_std_enc_enc(
524
+ sink,
525
+ prefix,
526
+ opcode,
527
+ 1,
528
+ subopcode,
529
+ src,
530
+ RexFlags::from((size, reg)),
531
+ )
532
+ }
533
+ RegMem::Mem { addr: src } => {
534
+ let amode = src.finalize(state, sink);
535
+ emit_std_enc_mem(
536
+ sink,
537
+ prefix,
538
+ opcode,
539
+ 1,
540
+ subopcode,
541
+ &amode,
542
+ RexFlags::from(size),
543
+ 0,
544
+ );
545
+ }
546
+ }
547
+ }
548
+
549
+ Inst::Mul {
550
+ signed,
551
+ size,
552
+ src1,
553
+ src2,
554
+ dst_lo,
555
+ dst_hi,
556
+ } => {
557
+ let src1 = allocs.next(src1.to_reg());
558
+ let dst_lo = allocs.next(dst_lo.to_reg().to_reg());
559
+ let dst_hi = allocs.next(dst_hi.to_reg().to_reg());
560
+ debug_assert_eq!(src1, regs::rax());
561
+ debug_assert_eq!(dst_lo, regs::rax());
562
+ debug_assert_eq!(dst_hi, regs::rdx());
563
+ let src2 = src2.clone().to_reg_mem().with_allocs(allocs);
564
+
565
+ let rex_flags = RexFlags::from(*size);
566
+ let prefix = match size {
567
+ OperandSize::Size16 => LegacyPrefixes::_66,
568
+ OperandSize::Size32 => LegacyPrefixes::None,
569
+ OperandSize::Size64 => LegacyPrefixes::None,
570
+ _ => unreachable!(),
571
+ };
572
+
573
+ let subopcode = if *signed { 5 } else { 4 };
574
+ match src2 {
575
+ RegMem::Reg { reg } => {
576
+ let src = int_reg_enc(reg);
577
+ emit_std_enc_enc(sink, prefix, 0xF7, 1, subopcode, src, rex_flags)
578
+ }
579
+ RegMem::Mem { addr: src } => {
580
+ let amode = src.finalize(state, sink);
581
+ emit_std_enc_mem(sink, prefix, 0xF7, 1, subopcode, &amode, rex_flags, 0);
582
+ }
583
+ }
584
+ }
585
+ Inst::Mul8 {
586
+ signed,
587
+ src1,
588
+ src2,
589
+ dst,
590
+ } => {
591
+ let src1 = allocs.next(src1.to_reg());
592
+ let dst = allocs.next(dst.to_reg().to_reg());
593
+ debug_assert_eq!(src1, regs::rax());
594
+ debug_assert_eq!(dst, regs::rax());
595
+ let src2 = src2.clone().to_reg_mem().with_allocs(allocs);
596
+
597
+ let mut rex_flags = RexFlags::from(OperandSize::Size8);
598
+ let prefix = LegacyPrefixes::None;
599
+ let subopcode = if *signed { 5 } else { 4 };
600
+ match src2 {
601
+ RegMem::Reg { reg } => {
602
+ // The intel manual states:
603
+ //
604
+ // > r/m8 can not be encoded to access the following byte
605
+ // > registers if a REX prefix is used: AH, BH, CH, DH
606
+ //
607
+ // And apparently that also means that a REX prefix must be
608
+ // used if it's not one of those registers.
609
+ if !(reg == regs::rax()
610
+ || reg == regs::rbx()
611
+ || reg == regs::rcx()
612
+ || reg == regs::rdx())
613
+ {
614
+ rex_flags.always_emit();
615
+ }
616
+ let src = int_reg_enc(reg);
617
+ emit_std_enc_enc(sink, prefix, 0xF6, 1, subopcode, src, rex_flags)
618
+ }
619
+ RegMem::Mem { addr } => {
620
+ let amode = addr.finalize(state, sink);
621
+ emit_std_enc_mem(sink, prefix, 0xF6, 1, subopcode, &amode, rex_flags, 0);
622
+ }
623
+ }
624
+ }
625
+ Inst::IMul {
626
+ size,
627
+ src1,
628
+ src2,
629
+ dst,
630
+ } => {
631
+ let src1 = allocs.next(src1.to_reg());
632
+ let dst = allocs.next(dst.to_reg().to_reg());
633
+ debug_assert_eq!(src1, dst);
634
+ let src2 = src2.clone().to_reg_mem().with_allocs(allocs);
635
+
636
+ let rex = RexFlags::from(*size);
637
+ let prefix = LegacyPrefixes::None;
638
+ match src2 {
639
+ RegMem::Reg { reg } => {
640
+ emit_std_reg_reg(sink, prefix, 0x0FAF, 2, dst, reg, rex);
641
+ }
642
+
643
+ RegMem::Mem { addr } => {
644
+ let amode = addr.finalize(state, sink);
645
+ emit_std_reg_mem(sink, prefix, 0x0FAF, 2, dst, &amode, rex, 0);
646
+ }
647
+ }
648
+ }
649
+
650
+ Inst::IMulImm {
651
+ size,
652
+ src1,
653
+ src2,
654
+ dst,
655
+ } => {
656
+ let dst = allocs.next(dst.to_reg().to_reg());
657
+ let src1 = src1.clone().to_reg_mem().with_allocs(allocs);
658
+
659
+ let rex = RexFlags::from(*size);
660
+ let prefix = match size {
661
+ // NB: the intel manual doesn't seem to mention this prefix as
662
+ // being required
663
+ OperandSize::Size16 => LegacyPrefixes::_66,
664
+ _ => LegacyPrefixes::None,
665
+ };
666
+ let imm_size = if i8::try_from(*src2).is_ok() {
667
+ 1
668
+ } else {
669
+ if *size == OperandSize::Size16 {
670
+ 2
671
+ } else {
672
+ 4
673
+ }
674
+ };
675
+ let opcode = if imm_size == 1 { 0x6B } else { 0x69 };
676
+ match src1 {
677
+ RegMem::Reg { reg } => {
678
+ emit_std_reg_reg(sink, prefix, opcode, 1, dst, reg, rex);
679
+ }
680
+
681
+ RegMem::Mem { addr } => {
682
+ let amode = addr.finalize(state, sink);
683
+ emit_std_reg_mem(sink, prefix, opcode, 1, dst, &amode, rex, imm_size);
684
+ }
685
+ }
686
+ emit_simm(sink, imm_size, *src2 as u32);
687
+ }
688
+
689
+ Inst::SignExtendData { size, src, dst } => {
690
+ let src = allocs.next(src.to_reg());
691
+ let dst = allocs.next(dst.to_reg().to_reg());
692
+ debug_assert_eq!(src, regs::rax());
693
+ if *size == OperandSize::Size8 {
694
+ debug_assert_eq!(dst, regs::rax());
695
+ } else {
696
+ debug_assert_eq!(dst, regs::rdx());
697
+ }
698
+ match size {
699
+ OperandSize::Size8 => {
700
+ sink.put1(0x66);
701
+ sink.put1(0x98);
702
+ }
703
+ OperandSize::Size16 => {
704
+ sink.put1(0x66);
705
+ sink.put1(0x99);
706
+ }
707
+ OperandSize::Size32 => sink.put1(0x99),
708
+ OperandSize::Size64 => {
709
+ sink.put1(0x48);
710
+ sink.put1(0x99);
711
+ }
712
+ }
713
+ }
714
+
715
+ Inst::CheckedSRemSeq { divisor, .. } | Inst::CheckedSRemSeq8 { divisor, .. } => {
716
+ let divisor = allocs.next(divisor.to_reg());
717
+
718
+ // Validate that the register constraints of the dividend and the
719
+ // destination are all as expected.
720
+ let (dst, size) = match inst {
721
+ Inst::CheckedSRemSeq {
722
+ dividend_lo,
723
+ dividend_hi,
724
+ dst_quotient,
725
+ dst_remainder,
726
+ size,
727
+ ..
728
+ } => {
729
+ let dividend_lo = allocs.next(dividend_lo.to_reg());
730
+ let dividend_hi = allocs.next(dividend_hi.to_reg());
731
+ let dst_quotient = allocs.next(dst_quotient.to_reg().to_reg());
732
+ let dst_remainder = allocs.next(dst_remainder.to_reg().to_reg());
733
+ debug_assert_eq!(dividend_lo, regs::rax());
734
+ debug_assert_eq!(dividend_hi, regs::rdx());
735
+ debug_assert_eq!(dst_quotient, regs::rax());
736
+ debug_assert_eq!(dst_remainder, regs::rdx());
737
+ (regs::rdx(), *size)
738
+ }
739
+ Inst::CheckedSRemSeq8 { dividend, dst, .. } => {
740
+ let dividend = allocs.next(dividend.to_reg());
741
+ let dst = allocs.next(dst.to_reg().to_reg());
742
+ debug_assert_eq!(dividend, regs::rax());
743
+ debug_assert_eq!(dst, regs::rax());
744
+ (regs::rax(), OperandSize::Size8)
745
+ }
746
+ _ => unreachable!(),
747
+ };
748
+
749
+ // Generates the following code sequence:
750
+ //
751
+ // cmp -1 %divisor
752
+ // jnz $do_op
753
+ //
754
+ // ;; for srem, result is 0
755
+ // mov #0, %dst
756
+ // j $done
757
+ //
758
+ // $do_op:
759
+ // idiv %divisor
760
+ //
761
+ // $done:
762
+
763
+ let do_op = sink.get_label();
764
+ let done_label = sink.get_label();
765
+
766
+ // Check if the divisor is -1, and if it isn't then immediately
767
+ // go to the `idiv`.
768
+ let inst = Inst::cmp_rmi_r(size, RegMemImm::imm(0xffffffff), divisor);
769
+ inst.emit(&[], sink, info, state);
770
+ one_way_jmp(sink, CC::NZ, do_op);
771
+
772
+ // ... otherwise the divisor is -1 and the result is always 0. This
773
+ // is written to the destination register which will be %rax for
774
+ // 8-bit srem and %rdx otherwise.
775
+ //
776
+ // Note that for 16-to-64-bit srem operations this leaves the
777
+ // second destination, %rax, unchanged. This isn't semantically
778
+ // correct if a lowering actually tries to use the `dst_quotient`
779
+ // output but for srem only the `dst_remainder` output is used for
780
+ // now.
781
+ let inst = Inst::imm(OperandSize::Size64, 0, Writable::from_reg(dst));
782
+ inst.emit(&[], sink, info, state);
783
+ let inst = Inst::jmp_known(done_label);
784
+ inst.emit(&[], sink, info, state);
785
+
786
+ // Here the `idiv` is executed, which is different depending on the
787
+ // size
788
+ sink.bind_label(do_op, state.ctrl_plane_mut());
789
+ let inst = match size {
790
+ OperandSize::Size8 => Inst::div8(
791
+ DivSignedness::Signed,
792
+ TrapCode::IntegerDivisionByZero,
793
+ RegMem::reg(divisor),
794
+ Gpr::new(regs::rax()).unwrap(),
795
+ Writable::from_reg(Gpr::new(regs::rax()).unwrap()),
796
+ ),
797
+ _ => Inst::div(
798
+ size,
799
+ DivSignedness::Signed,
800
+ TrapCode::IntegerDivisionByZero,
801
+ RegMem::reg(divisor),
802
+ Gpr::new(regs::rax()).unwrap(),
803
+ Gpr::new(regs::rdx()).unwrap(),
804
+ Writable::from_reg(Gpr::new(regs::rax()).unwrap()),
805
+ Writable::from_reg(Gpr::new(regs::rdx()).unwrap()),
806
+ ),
807
+ };
808
+ inst.emit(&[], sink, info, state);
809
+
810
+ sink.bind_label(done_label, state.ctrl_plane_mut());
811
+ }
812
+
813
+ Inst::Imm {
814
+ dst_size,
815
+ simm64,
816
+ dst,
817
+ } => {
818
+ let dst = allocs.next(dst.to_reg().to_reg());
819
+ let enc_dst = int_reg_enc(dst);
820
+ if *dst_size == OperandSize::Size64 {
821
+ if low32_will_sign_extend_to_64(*simm64) {
822
+ // Sign-extended move imm32.
823
+ emit_std_enc_enc(
824
+ sink,
825
+ LegacyPrefixes::None,
826
+ 0xC7,
827
+ 1,
828
+ /* subopcode */ 0,
829
+ enc_dst,
830
+ RexFlags::set_w(),
831
+ );
832
+ sink.put4(*simm64 as u32);
833
+ } else {
834
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
835
+ sink.put1(0xB8 | (enc_dst & 7));
836
+ sink.put8(*simm64);
837
+ }
838
+ } else {
839
+ if ((enc_dst >> 3) & 1) == 1 {
840
+ sink.put1(0x41);
841
+ }
842
+ sink.put1(0xB8 | (enc_dst & 7));
843
+ sink.put4(*simm64 as u32);
844
+ }
845
+ }
846
+
847
+ Inst::MovImmM { size, simm32, dst } => {
848
+ let dst = &dst.finalize(state, sink).with_allocs(allocs);
849
+ let default_rex = RexFlags::clear_w();
850
+ let default_opcode = 0xC7;
851
+ let bytes = size.to_bytes();
852
+ let prefix = LegacyPrefixes::None;
853
+
854
+ let (opcode, rex, size, prefix) = match *size {
855
+ // In the 8-bit case, we don't need to enforce REX flags via
856
+ // `always_emit_if_8bit_needed()` since the destination
857
+ // operand is a memory operand, not a possibly 8-bit register.
858
+ OperandSize::Size8 => (0xC6, default_rex, bytes, prefix),
859
+ OperandSize::Size16 => (0xC7, default_rex, bytes, LegacyPrefixes::_66),
860
+ OperandSize::Size64 => (default_opcode, RexFlags::from(*size), bytes, prefix),
861
+
862
+ _ => (default_opcode, default_rex, bytes, prefix),
863
+ };
864
+
865
+ // 8-bit C6 /0 ib
866
+ // 16-bit 0x66 C7 /0 iw
867
+ // 32-bit C7 /0 id
868
+ // 64-bit REX.W C7 /0 id
869
+ emit_std_enc_mem(sink, prefix, opcode, 1, /*subopcode*/ 0, dst, rex, 0);
870
+ emit_simm(sink, size, *simm32 as u32);
871
+ }
872
+
873
+ Inst::MovRR { size, src, dst } => {
874
+ let src = allocs.next(src.to_reg());
875
+ let dst = allocs.next(dst.to_reg().to_reg());
876
+ emit_std_reg_reg(
877
+ sink,
878
+ LegacyPrefixes::None,
879
+ 0x89,
880
+ 1,
881
+ src,
882
+ dst,
883
+ RexFlags::from(*size),
884
+ );
885
+ }
886
+
887
+ Inst::MovFromPReg { src, dst } => {
888
+ allocs.next_fixed_nonallocatable(*src);
889
+ let src: Reg = (*src).into();
890
+ debug_assert!([regs::rsp(), regs::rbp(), regs::pinned_reg()].contains(&src));
891
+ let src = Gpr::new(src).unwrap();
892
+ let size = OperandSize::Size64;
893
+ let dst = allocs.next(dst.to_reg().to_reg());
894
+ let dst = WritableGpr::from_writable_reg(Writable::from_reg(dst)).unwrap();
895
+ Inst::MovRR { size, src, dst }.emit(&[], sink, info, state);
896
+ }
897
+
898
+ Inst::MovToPReg { src, dst } => {
899
+ let src = allocs.next(src.to_reg());
900
+ let src = Gpr::new(src).unwrap();
901
+ allocs.next_fixed_nonallocatable(*dst);
902
+ let dst: Reg = (*dst).into();
903
+ debug_assert!([regs::rsp(), regs::rbp(), regs::pinned_reg()].contains(&dst));
904
+ let dst = WritableGpr::from_writable_reg(Writable::from_reg(dst)).unwrap();
905
+ let size = OperandSize::Size64;
906
+ Inst::MovRR { size, src, dst }.emit(&[], sink, info, state);
907
+ }
908
+
909
+ Inst::MovzxRmR { ext_mode, src, dst } => {
910
+ let dst = allocs.next(dst.to_reg().to_reg());
911
+ let (opcodes, num_opcodes, mut rex_flags) = match ext_mode {
912
+ ExtMode::BL => {
913
+ // MOVZBL is (REX.W==0) 0F B6 /r
914
+ (0x0FB6, 2, RexFlags::clear_w())
915
+ }
916
+ ExtMode::BQ => {
917
+ // MOVZBQ is (REX.W==1) 0F B6 /r
918
+ // I'm not sure why the Intel manual offers different
919
+ // encodings for MOVZBQ than for MOVZBL. AIUI they should
920
+ // achieve the same, since MOVZBL is just going to zero out
921
+ // the upper half of the destination anyway.
922
+ (0x0FB6, 2, RexFlags::set_w())
923
+ }
924
+ ExtMode::WL => {
925
+ // MOVZWL is (REX.W==0) 0F B7 /r
926
+ (0x0FB7, 2, RexFlags::clear_w())
927
+ }
928
+ ExtMode::WQ => {
929
+ // MOVZWQ is (REX.W==1) 0F B7 /r
930
+ (0x0FB7, 2, RexFlags::set_w())
931
+ }
932
+ ExtMode::LQ => {
933
+ // This is just a standard 32 bit load, and we rely on the
934
+ // default zero-extension rule to perform the extension.
935
+ // Note that in reg/reg mode, gcc seems to use the swapped form R/RM, which we
936
+ // don't do here, since it's the same encoding size.
937
+ // MOV r/m32, r32 is (REX.W==0) 8B /r
938
+ (0x8B, 1, RexFlags::clear_w())
939
+ }
940
+ };
941
+
942
+ match src.clone().to_reg_mem() {
943
+ RegMem::Reg { reg: src } => {
944
+ let src = allocs.next(src);
945
+ match ext_mode {
946
+ ExtMode::BL | ExtMode::BQ => {
947
+ // A redundant REX prefix must be emitted for certain register inputs.
948
+ rex_flags.always_emit_if_8bit_needed(src);
949
+ }
950
+ _ => {}
951
+ }
952
+ emit_std_reg_reg(
953
+ sink,
954
+ LegacyPrefixes::None,
955
+ opcodes,
956
+ num_opcodes,
957
+ dst,
958
+ src,
959
+ rex_flags,
960
+ )
961
+ }
962
+
963
+ RegMem::Mem { addr: src } => {
964
+ let src = &src.finalize(state, sink).with_allocs(allocs);
965
+
966
+ emit_std_reg_mem(
967
+ sink,
968
+ LegacyPrefixes::None,
969
+ opcodes,
970
+ num_opcodes,
971
+ dst,
972
+ src,
973
+ rex_flags,
974
+ 0,
975
+ )
976
+ }
977
+ }
978
+ }
979
+
980
+ Inst::Mov64MR { src, dst } => {
981
+ let dst = allocs.next(dst.to_reg().to_reg());
982
+ let src = &src.finalize(state, sink).with_allocs(allocs);
983
+
984
+ emit_std_reg_mem(
985
+ sink,
986
+ LegacyPrefixes::None,
987
+ 0x8B,
988
+ 1,
989
+ dst,
990
+ src,
991
+ RexFlags::set_w(),
992
+ 0,
993
+ )
994
+ }
995
+
996
+ Inst::LoadEffectiveAddress { addr, dst, size } => {
997
+ let dst = allocs.next(dst.to_reg().to_reg());
998
+ let amode = addr.finalize(state, sink).with_allocs(allocs);
999
+
1000
+ // If this `lea` can actually get encoded as an `add` then do that
1001
+ // instead. Currently all candidate `iadd`s become an `lea`
1002
+ // pseudo-instruction here but maximizing the sue of `lea` is not
1003
+ // necessarily optimal. The `lea` instruction goes through dedicated
1004
+ // address units on cores which are finite and disjoint from the
1005
+ // general ALU, so if everything uses `lea` then those units can get
1006
+ // saturated while leaving the ALU idle.
1007
+ //
1008
+ // To help make use of more parts of a cpu, this attempts to use
1009
+ // `add` when it's semantically equivalent to `lea`, or otherwise
1010
+ // when the `dst` register is the same as the `base` or `index`
1011
+ // register.
1012
+ //
1013
+ // FIXME: ideally regalloc is informed of this constraint. Register
1014
+ // allocation of `lea` should "attempt" to put the `base` in the
1015
+ // same register as `dst` but not at the expense of generating a
1016
+ // `mov` instruction. Currently that's not possible but perhaps one
1017
+ // day it may be worth it.
1018
+ match amode {
1019
+ // If `base == dst` then this is `add $imm, %dst`, so encode
1020
+ // that instead.
1021
+ Amode::ImmReg {
1022
+ simm32,
1023
+ base,
1024
+ flags: _,
1025
+ } if base == dst => {
1026
+ let inst = Inst::alu_rmi_r(
1027
+ *size,
1028
+ AluRmiROpcode::Add,
1029
+ RegMemImm::imm(simm32 as u32),
1030
+ Writable::from_reg(dst),
1031
+ );
1032
+ inst.emit(&[], sink, info, state);
1033
+ }
1034
+ // If the offset is 0 and the shift is 0 (meaning multiplication
1035
+ // by 1) then:
1036
+ //
1037
+ // * If `base == dst`, then this is `add %index, %base`
1038
+ // * If `index == dst`, then this is `add %base, %index`
1039
+ //
1040
+ // Encode the appropriate instruction here in that case.
1041
+ Amode::ImmRegRegShift {
1042
+ simm32: 0,
1043
+ base,
1044
+ index,
1045
+ shift: 0,
1046
+ flags: _,
1047
+ } if base == dst || index == dst => {
1048
+ let (dst, operand) = if base == dst {
1049
+ (base, index)
1050
+ } else {
1051
+ (index, base)
1052
+ };
1053
+ let inst = Inst::alu_rmi_r(
1054
+ *size,
1055
+ AluRmiROpcode::Add,
1056
+ RegMemImm::reg(operand.to_reg()),
1057
+ Writable::from_reg(dst.to_reg()),
1058
+ );
1059
+ inst.emit(&[], sink, info, state);
1060
+ }
1061
+
1062
+ // If `lea`'s 3-operand mode is leveraged by regalloc, or if
1063
+ // it's fancy like imm-plus-shift-plus-base, then `lea` is
1064
+ // actually emitted.
1065
+ _ => {
1066
+ let flags = match size {
1067
+ OperandSize::Size32 => RexFlags::clear_w(),
1068
+ OperandSize::Size64 => RexFlags::set_w(),
1069
+ _ => unreachable!(),
1070
+ };
1071
+ emit_std_reg_mem(sink, LegacyPrefixes::None, 0x8D, 1, dst, &amode, flags, 0);
1072
+ }
1073
+ };
1074
+ }
1075
+
1076
+ Inst::MovsxRmR { ext_mode, src, dst } => {
1077
+ let dst = allocs.next(dst.to_reg().to_reg());
1078
+ let (opcodes, num_opcodes, mut rex_flags) = match ext_mode {
1079
+ ExtMode::BL => {
1080
+ // MOVSBL is (REX.W==0) 0F BE /r
1081
+ (0x0FBE, 2, RexFlags::clear_w())
1082
+ }
1083
+ ExtMode::BQ => {
1084
+ // MOVSBQ is (REX.W==1) 0F BE /r
1085
+ (0x0FBE, 2, RexFlags::set_w())
1086
+ }
1087
+ ExtMode::WL => {
1088
+ // MOVSWL is (REX.W==0) 0F BF /r
1089
+ (0x0FBF, 2, RexFlags::clear_w())
1090
+ }
1091
+ ExtMode::WQ => {
1092
+ // MOVSWQ is (REX.W==1) 0F BF /r
1093
+ (0x0FBF, 2, RexFlags::set_w())
1094
+ }
1095
+ ExtMode::LQ => {
1096
+ // MOVSLQ is (REX.W==1) 63 /r
1097
+ (0x63, 1, RexFlags::set_w())
1098
+ }
1099
+ };
1100
+
1101
+ match src.clone().to_reg_mem() {
1102
+ RegMem::Reg { reg: src } => {
1103
+ let src = allocs.next(src);
1104
+ match ext_mode {
1105
+ ExtMode::BL | ExtMode::BQ => {
1106
+ // A redundant REX prefix must be emitted for certain register inputs.
1107
+ rex_flags.always_emit_if_8bit_needed(src);
1108
+ }
1109
+ _ => {}
1110
+ }
1111
+ emit_std_reg_reg(
1112
+ sink,
1113
+ LegacyPrefixes::None,
1114
+ opcodes,
1115
+ num_opcodes,
1116
+ dst,
1117
+ src,
1118
+ rex_flags,
1119
+ )
1120
+ }
1121
+
1122
+ RegMem::Mem { addr: src } => {
1123
+ let src = &src.finalize(state, sink).with_allocs(allocs);
1124
+
1125
+ emit_std_reg_mem(
1126
+ sink,
1127
+ LegacyPrefixes::None,
1128
+ opcodes,
1129
+ num_opcodes,
1130
+ dst,
1131
+ src,
1132
+ rex_flags,
1133
+ 0,
1134
+ )
1135
+ }
1136
+ }
1137
+ }
1138
+
1139
+ Inst::MovRM { size, src, dst } => {
1140
+ let src = allocs.next(src.to_reg());
1141
+ let dst = &dst.finalize(state, sink).with_allocs(allocs);
1142
+
1143
+ let prefix = match size {
1144
+ OperandSize::Size16 => LegacyPrefixes::_66,
1145
+ _ => LegacyPrefixes::None,
1146
+ };
1147
+
1148
+ let opcode = match size {
1149
+ OperandSize::Size8 => 0x88,
1150
+ _ => 0x89,
1151
+ };
1152
+
1153
+ // This is one of the few places where the presence of a
1154
+ // redundant REX prefix changes the meaning of the
1155
+ // instruction.
1156
+ let rex = RexFlags::from((*size, src));
1157
+
1158
+ // 8-bit: MOV r8, r/m8 is (REX.W==0) 88 /r
1159
+ // 16-bit: MOV r16, r/m16 is 66 (REX.W==0) 89 /r
1160
+ // 32-bit: MOV r32, r/m32 is (REX.W==0) 89 /r
1161
+ // 64-bit: MOV r64, r/m64 is (REX.W==1) 89 /r
1162
+ emit_std_reg_mem(sink, prefix, opcode, 1, src, dst, rex, 0);
1163
+ }
1164
+
1165
+ Inst::ShiftR {
1166
+ size,
1167
+ kind,
1168
+ src,
1169
+ num_bits,
1170
+ dst,
1171
+ } => {
1172
+ let src = allocs.next(src.to_reg());
1173
+ let dst = allocs.next(dst.to_reg().to_reg());
1174
+ debug_assert_eq!(src, dst);
1175
+ let subopcode = match kind {
1176
+ ShiftKind::RotateLeft => 0,
1177
+ ShiftKind::RotateRight => 1,
1178
+ ShiftKind::ShiftLeft => 4,
1179
+ ShiftKind::ShiftRightLogical => 5,
1180
+ ShiftKind::ShiftRightArithmetic => 7,
1181
+ };
1182
+ let enc_dst = int_reg_enc(dst);
1183
+ let rex_flags = RexFlags::from((*size, dst));
1184
+ match num_bits.clone().to_imm8_reg() {
1185
+ Imm8Reg::Reg { reg } => {
1186
+ let reg = allocs.next(reg);
1187
+ debug_assert_eq!(reg, regs::rcx());
1188
+ let (opcode, prefix) = match size {
1189
+ OperandSize::Size8 => (0xD2, LegacyPrefixes::None),
1190
+ OperandSize::Size16 => (0xD3, LegacyPrefixes::_66),
1191
+ OperandSize::Size32 => (0xD3, LegacyPrefixes::None),
1192
+ OperandSize::Size64 => (0xD3, LegacyPrefixes::None),
1193
+ };
1194
+
1195
+ // SHL/SHR/SAR %cl, reg8 is (REX.W==0) D2 /subopcode
1196
+ // SHL/SHR/SAR %cl, reg16 is 66 (REX.W==0) D3 /subopcode
1197
+ // SHL/SHR/SAR %cl, reg32 is (REX.W==0) D3 /subopcode
1198
+ // SHL/SHR/SAR %cl, reg64 is (REX.W==1) D3 /subopcode
1199
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_dst, rex_flags);
1200
+ }
1201
+
1202
+ Imm8Reg::Imm8 { imm: num_bits } => {
1203
+ let (opcode, prefix) = match size {
1204
+ OperandSize::Size8 => (0xC0, LegacyPrefixes::None),
1205
+ OperandSize::Size16 => (0xC1, LegacyPrefixes::_66),
1206
+ OperandSize::Size32 => (0xC1, LegacyPrefixes::None),
1207
+ OperandSize::Size64 => (0xC1, LegacyPrefixes::None),
1208
+ };
1209
+
1210
+ // SHL/SHR/SAR $ib, reg8 is (REX.W==0) C0 /subopcode
1211
+ // SHL/SHR/SAR $ib, reg16 is 66 (REX.W==0) C1 /subopcode
1212
+ // SHL/SHR/SAR $ib, reg32 is (REX.W==0) C1 /subopcode ib
1213
+ // SHL/SHR/SAR $ib, reg64 is (REX.W==1) C1 /subopcode ib
1214
+ // When the shift amount is 1, there's an even shorter encoding, but we don't
1215
+ // bother with that nicety here.
1216
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_dst, rex_flags);
1217
+ sink.put1(num_bits);
1218
+ }
1219
+ }
1220
+ }
1221
+
1222
+ Inst::XmmRmiReg {
1223
+ opcode,
1224
+ src1,
1225
+ src2,
1226
+ dst,
1227
+ } => {
1228
+ let src1 = allocs.next(src1.to_reg());
1229
+ let dst = allocs.next(dst.to_reg().to_reg());
1230
+ debug_assert_eq!(src1, dst);
1231
+ let rex = RexFlags::clear_w();
1232
+ let prefix = LegacyPrefixes::_66;
1233
+ let src2 = src2.clone().to_reg_mem_imm();
1234
+ if let RegMemImm::Imm { simm32 } = src2 {
1235
+ let (opcode_bytes, reg_digit) = match opcode {
1236
+ SseOpcode::Psllw => (0x0F71, 6),
1237
+ SseOpcode::Pslld => (0x0F72, 6),
1238
+ SseOpcode::Psllq => (0x0F73, 6),
1239
+ SseOpcode::Psraw => (0x0F71, 4),
1240
+ SseOpcode::Psrad => (0x0F72, 4),
1241
+ SseOpcode::Psrlw => (0x0F71, 2),
1242
+ SseOpcode::Psrld => (0x0F72, 2),
1243
+ SseOpcode::Psrlq => (0x0F73, 2),
1244
+ _ => panic!("invalid opcode: {}", opcode),
1245
+ };
1246
+ let dst_enc = reg_enc(dst);
1247
+ emit_std_enc_enc(sink, prefix, opcode_bytes, 2, reg_digit, dst_enc, rex);
1248
+ let imm = (simm32)
1249
+ .try_into()
1250
+ .expect("the immediate must be convertible to a u8");
1251
+ sink.put1(imm);
1252
+ } else {
1253
+ let opcode_bytes = match opcode {
1254
+ SseOpcode::Psllw => 0x0FF1,
1255
+ SseOpcode::Pslld => 0x0FF2,
1256
+ SseOpcode::Psllq => 0x0FF3,
1257
+ SseOpcode::Psraw => 0x0FE1,
1258
+ SseOpcode::Psrad => 0x0FE2,
1259
+ SseOpcode::Psrlw => 0x0FD1,
1260
+ SseOpcode::Psrld => 0x0FD2,
1261
+ SseOpcode::Psrlq => 0x0FD3,
1262
+ _ => panic!("invalid opcode: {}", opcode),
1263
+ };
1264
+
1265
+ match src2 {
1266
+ RegMemImm::Reg { reg } => {
1267
+ let reg = allocs.next(reg);
1268
+ emit_std_reg_reg(sink, prefix, opcode_bytes, 2, dst, reg, rex);
1269
+ }
1270
+ RegMemImm::Mem { addr } => {
1271
+ let addr = &addr.finalize(state, sink).with_allocs(allocs);
1272
+ emit_std_reg_mem(sink, prefix, opcode_bytes, 2, dst, addr, rex, 0);
1273
+ }
1274
+ RegMemImm::Imm { .. } => unreachable!(),
1275
+ }
1276
+ };
1277
+ }
1278
+
1279
+ Inst::CmpRmiR {
1280
+ size,
1281
+ src: src_e,
1282
+ dst: reg_g,
1283
+ opcode,
1284
+ } => {
1285
+ let reg_g = allocs.next(reg_g.to_reg());
1286
+
1287
+ let is_cmp = match opcode {
1288
+ CmpOpcode::Cmp => true,
1289
+ CmpOpcode::Test => false,
1290
+ };
1291
+
1292
+ let mut prefix = LegacyPrefixes::None;
1293
+ if *size == OperandSize::Size16 {
1294
+ prefix = LegacyPrefixes::_66;
1295
+ }
1296
+ // A redundant REX prefix can change the meaning of this instruction.
1297
+ let mut rex = RexFlags::from((*size, reg_g));
1298
+
1299
+ match src_e.clone().to_reg_mem_imm() {
1300
+ RegMemImm::Reg { reg: reg_e } => {
1301
+ let reg_e = allocs.next(reg_e);
1302
+ if *size == OperandSize::Size8 {
1303
+ // Check whether the E register forces the use of a redundant REX.
1304
+ rex.always_emit_if_8bit_needed(reg_e);
1305
+ }
1306
+
1307
+ // Use the swapped operands encoding for CMP, to stay consistent with the output of
1308
+ // gcc/llvm.
1309
+ let opcode = match (*size, is_cmp) {
1310
+ (OperandSize::Size8, true) => 0x38,
1311
+ (_, true) => 0x39,
1312
+ (OperandSize::Size8, false) => 0x84,
1313
+ (_, false) => 0x85,
1314
+ };
1315
+ emit_std_reg_reg(sink, prefix, opcode, 1, reg_e, reg_g, rex);
1316
+ }
1317
+
1318
+ RegMemImm::Mem { addr } => {
1319
+ let addr = &addr.finalize(state, sink).with_allocs(allocs);
1320
+ // Whereas here we revert to the "normal" G-E ordering for CMP.
1321
+ let opcode = match (*size, is_cmp) {
1322
+ (OperandSize::Size8, true) => 0x3A,
1323
+ (_, true) => 0x3B,
1324
+ (OperandSize::Size8, false) => 0x84,
1325
+ (_, false) => 0x85,
1326
+ };
1327
+ emit_std_reg_mem(sink, prefix, opcode, 1, reg_g, addr, rex, 0);
1328
+ }
1329
+
1330
+ RegMemImm::Imm { simm32 } => {
1331
+ // FIXME JRS 2020Feb11: there are shorter encodings for
1332
+ // cmp $imm, rax/eax/ax/al.
1333
+ let use_imm8 = is_cmp && low8_will_sign_extend_to_32(simm32);
1334
+
1335
+ // And also here we use the "normal" G-E ordering.
1336
+ let opcode = if is_cmp {
1337
+ if *size == OperandSize::Size8 {
1338
+ 0x80
1339
+ } else if use_imm8 {
1340
+ 0x83
1341
+ } else {
1342
+ 0x81
1343
+ }
1344
+ } else {
1345
+ if *size == OperandSize::Size8 {
1346
+ 0xF6
1347
+ } else {
1348
+ 0xF7
1349
+ }
1350
+ };
1351
+ let subopcode = if is_cmp { 7 } else { 0 };
1352
+
1353
+ let enc_g = int_reg_enc(reg_g);
1354
+ emit_std_enc_enc(sink, prefix, opcode, 1, subopcode, enc_g, rex);
1355
+ emit_simm(sink, if use_imm8 { 1 } else { size.to_bytes() }, simm32);
1356
+ }
1357
+ }
1358
+ }
1359
+
1360
+ Inst::Setcc { cc, dst } => {
1361
+ let dst = allocs.next(dst.to_reg().to_reg());
1362
+ let opcode = 0x0f90 + cc.get_enc() as u32;
1363
+ let mut rex_flags = RexFlags::clear_w();
1364
+ rex_flags.always_emit();
1365
+ emit_std_enc_enc(
1366
+ sink,
1367
+ LegacyPrefixes::None,
1368
+ opcode,
1369
+ 2,
1370
+ 0,
1371
+ reg_enc(dst),
1372
+ rex_flags,
1373
+ );
1374
+ }
1375
+
1376
+ Inst::Bswap { size, src, dst } => {
1377
+ let src = allocs.next(src.to_reg());
1378
+ let dst = allocs.next(dst.to_reg().to_reg());
1379
+ debug_assert_eq!(src, dst);
1380
+ let enc_reg = int_reg_enc(dst);
1381
+
1382
+ // BSWAP reg32 is (REX.W==0) 0F C8
1383
+ // BSWAP reg64 is (REX.W==1) 0F C8
1384
+ let rex_flags = RexFlags::from(*size);
1385
+ rex_flags.emit_one_op(sink, enc_reg);
1386
+
1387
+ sink.put1(0x0F);
1388
+ sink.put1(0xC8 | (enc_reg & 7));
1389
+ }
1390
+
1391
+ Inst::Cmove {
1392
+ size,
1393
+ cc,
1394
+ consequent,
1395
+ alternative,
1396
+ dst,
1397
+ } => {
1398
+ let alternative = allocs.next(alternative.to_reg());
1399
+ let dst = allocs.next(dst.to_reg().to_reg());
1400
+ debug_assert_eq!(alternative, dst);
1401
+ let rex_flags = RexFlags::from(*size);
1402
+ let prefix = match size {
1403
+ OperandSize::Size16 => LegacyPrefixes::_66,
1404
+ OperandSize::Size32 => LegacyPrefixes::None,
1405
+ OperandSize::Size64 => LegacyPrefixes::None,
1406
+ _ => unreachable!("invalid size spec for cmove"),
1407
+ };
1408
+ let opcode = 0x0F40 + cc.get_enc() as u32;
1409
+ match consequent.clone().to_reg_mem() {
1410
+ RegMem::Reg { reg } => {
1411
+ let reg = allocs.next(reg);
1412
+ emit_std_reg_reg(sink, prefix, opcode, 2, dst, reg, rex_flags);
1413
+ }
1414
+ RegMem::Mem { addr } => {
1415
+ let addr = &addr.finalize(state, sink).with_allocs(allocs);
1416
+ emit_std_reg_mem(sink, prefix, opcode, 2, dst, addr, rex_flags, 0);
1417
+ }
1418
+ }
1419
+ }
1420
+
1421
+ Inst::XmmCmove {
1422
+ ty,
1423
+ cc,
1424
+ consequent,
1425
+ alternative,
1426
+ dst,
1427
+ } => {
1428
+ let alternative = allocs.next(alternative.to_reg());
1429
+ let dst = allocs.next(dst.to_reg().to_reg());
1430
+ debug_assert_eq!(alternative, dst);
1431
+ let consequent = allocs.next(consequent.clone().to_reg());
1432
+
1433
+ // Lowering of the Select IR opcode when the input is an fcmp relies on the fact that
1434
+ // this doesn't clobber flags. Make sure to not do so here.
1435
+ let next = sink.get_label();
1436
+
1437
+ // Jump if cc is *not* set.
1438
+ one_way_jmp(sink, cc.invert(), next);
1439
+
1440
+ let op = match *ty {
1441
+ types::F64 => SseOpcode::Movsd,
1442
+ types::F32 => SseOpcode::Movsd,
1443
+ types::F32X4 => SseOpcode::Movaps,
1444
+ types::F64X2 => SseOpcode::Movapd,
1445
+ ty => {
1446
+ debug_assert!(ty.is_vector() && ty.bytes() == 16);
1447
+ SseOpcode::Movdqa
1448
+ }
1449
+ };
1450
+ let inst = Inst::xmm_unary_rm_r(op, consequent.into(), Writable::from_reg(dst));
1451
+ inst.emit(&[], sink, info, state);
1452
+
1453
+ sink.bind_label(next, state.ctrl_plane_mut());
1454
+ }
1455
+
1456
+ Inst::Push64 { src } => {
1457
+ let src = src.clone().to_reg_mem_imm().with_allocs(allocs);
1458
+
1459
+ match src {
1460
+ RegMemImm::Reg { reg } => {
1461
+ let enc_reg = int_reg_enc(reg);
1462
+ let rex = 0x40 | ((enc_reg >> 3) & 1);
1463
+ if rex != 0x40 {
1464
+ sink.put1(rex);
1465
+ }
1466
+ sink.put1(0x50 | (enc_reg & 7));
1467
+ }
1468
+
1469
+ RegMemImm::Mem { addr } => {
1470
+ let addr = &addr.finalize(state, sink);
1471
+ emit_std_enc_mem(
1472
+ sink,
1473
+ LegacyPrefixes::None,
1474
+ 0xFF,
1475
+ 1,
1476
+ 6, /*subopcode*/
1477
+ addr,
1478
+ RexFlags::clear_w(),
1479
+ 0,
1480
+ );
1481
+ }
1482
+
1483
+ RegMemImm::Imm { simm32 } => {
1484
+ if low8_will_sign_extend_to_64(simm32) {
1485
+ sink.put1(0x6A);
1486
+ sink.put1(simm32 as u8);
1487
+ } else {
1488
+ sink.put1(0x68);
1489
+ sink.put4(simm32);
1490
+ }
1491
+ }
1492
+ }
1493
+ }
1494
+
1495
+ Inst::Pop64 { dst } => {
1496
+ let dst = allocs.next(dst.to_reg().to_reg());
1497
+ let enc_dst = int_reg_enc(dst);
1498
+ if enc_dst >= 8 {
1499
+ // 0x41 == REX.{W=0, B=1}. It seems that REX.W is irrelevant here.
1500
+ sink.put1(0x41);
1501
+ }
1502
+ sink.put1(0x58 + (enc_dst & 7));
1503
+ }
1504
+
1505
+ Inst::StackProbeLoop {
1506
+ tmp,
1507
+ frame_size,
1508
+ guard_size,
1509
+ } => {
1510
+ assert!(info.flags.enable_probestack());
1511
+ assert!(guard_size.is_power_of_two());
1512
+
1513
+ let tmp = allocs.next_writable(*tmp);
1514
+
1515
+ // Number of probes that we need to perform
1516
+ let probe_count = align_to(*frame_size, *guard_size) / guard_size;
1517
+
1518
+ // The inline stack probe loop has 3 phases:
1519
+ //
1520
+ // We generate the "guard area" register which is essentially the frame_size aligned to
1521
+ // guard_size. We copy the stack pointer and subtract the guard area from it. This
1522
+ // gets us a register that we can use to compare when looping.
1523
+ //
1524
+ // After that we emit the loop. Essentially we just adjust the stack pointer one guard_size'd
1525
+ // distance at a time and then touch the stack by writing anything to it. We use the previously
1526
+ // created "guard area" register to know when to stop looping.
1527
+ //
1528
+ // When we have touched all the pages that we need, we have to restore the stack pointer
1529
+ // to where it was before.
1530
+ //
1531
+ // Generate the following code:
1532
+ // mov tmp_reg, rsp
1533
+ // sub tmp_reg, guard_size * probe_count
1534
+ // .loop_start:
1535
+ // sub rsp, guard_size
1536
+ // mov [rsp], rsp
1537
+ // cmp rsp, tmp_reg
1538
+ // jne .loop_start
1539
+ // add rsp, guard_size * probe_count
1540
+
1541
+ // Create the guard bound register
1542
+ // mov tmp_reg, rsp
1543
+ let inst = Inst::gen_move(tmp, regs::rsp(), types::I64);
1544
+ inst.emit(&[], sink, info, state);
1545
+
1546
+ // sub tmp_reg, GUARD_SIZE * probe_count
1547
+ let inst = Inst::alu_rmi_r(
1548
+ OperandSize::Size64,
1549
+ AluRmiROpcode::Sub,
1550
+ RegMemImm::imm(guard_size * probe_count),
1551
+ tmp,
1552
+ );
1553
+ inst.emit(&[], sink, info, state);
1554
+
1555
+ // Emit the main loop!
1556
+ let loop_start = sink.get_label();
1557
+ sink.bind_label(loop_start, state.ctrl_plane_mut());
1558
+
1559
+ // sub rsp, GUARD_SIZE
1560
+ let inst = Inst::alu_rmi_r(
1561
+ OperandSize::Size64,
1562
+ AluRmiROpcode::Sub,
1563
+ RegMemImm::imm(*guard_size),
1564
+ Writable::from_reg(regs::rsp()),
1565
+ );
1566
+ inst.emit(&[], sink, info, state);
1567
+
1568
+ // TODO: `mov [rsp], 0` would be better, but we don't have that instruction
1569
+ // Probe the stack! We don't use Inst::gen_store_stack here because we need a predictable
1570
+ // instruction size.
1571
+ // mov [rsp], rsp
1572
+ let inst = Inst::mov_r_m(
1573
+ OperandSize::Size32, // Use Size32 since it saves us one byte
1574
+ regs::rsp(),
1575
+ SyntheticAmode::Real(Amode::imm_reg(0, regs::rsp())),
1576
+ );
1577
+ inst.emit(&[], sink, info, state);
1578
+
1579
+ // Compare and jump if we are not done yet
1580
+ // cmp rsp, tmp_reg
1581
+ let inst = Inst::cmp_rmi_r(
1582
+ OperandSize::Size64,
1583
+ RegMemImm::reg(regs::rsp()),
1584
+ tmp.to_reg(),
1585
+ );
1586
+ inst.emit(&[], sink, info, state);
1587
+
1588
+ // jne .loop_start
1589
+ // TODO: Encoding the JmpIf as a short jump saves us 4 bytes here.
1590
+ one_way_jmp(sink, CC::NZ, loop_start);
1591
+
1592
+ // The regular prologue code is going to emit a `sub` after this, so we need to
1593
+ // reset the stack pointer
1594
+ //
1595
+ // TODO: It would be better if we could avoid the `add` + `sub` that is generated here
1596
+ // and in the stack adj portion of the prologue
1597
+ //
1598
+ // add rsp, GUARD_SIZE * probe_count
1599
+ let inst = Inst::alu_rmi_r(
1600
+ OperandSize::Size64,
1601
+ AluRmiROpcode::Add,
1602
+ RegMemImm::imm(guard_size * probe_count),
1603
+ Writable::from_reg(regs::rsp()),
1604
+ );
1605
+ inst.emit(&[], sink, info, state);
1606
+ }
1607
+
1608
+ Inst::CallKnown { dest, opcode, info } => {
1609
+ if let Some(s) = state.take_stack_map() {
1610
+ sink.add_stack_map(StackMapExtent::UpcomingBytes(5), s);
1611
+ }
1612
+ sink.put1(0xE8);
1613
+ // The addend adjusts for the difference between the end of the instruction and the
1614
+ // beginning of the immediate field.
1615
+ emit_reloc(sink, Reloc::X86CallPCRel4, &dest, -4);
1616
+ sink.put4(0);
1617
+ if opcode.is_call() {
1618
+ sink.add_call_site(*opcode);
1619
+ }
1620
+
1621
+ if let Some(call_info) = info {
1622
+ let callee_pop_size = i64::from(call_info.callee_pop_size);
1623
+ state.adjust_virtual_sp_offset(-callee_pop_size);
1624
+ }
1625
+ }
1626
+
1627
+ Inst::ReturnCallKnown {
1628
+ callee,
1629
+ info: call_info,
1630
+ } => {
1631
+ emit_return_call_common_sequence(allocs, sink, info, state, &call_info.uses);
1632
+
1633
+ // Finally, jump to the callee!
1634
+ //
1635
+ // Note: this is not `Inst::Jmp { .. }.emit(..)` because we have
1636
+ // different metadata in this case: we don't have a label for the
1637
+ // target, but rather a function relocation.
1638
+ sink.put1(0xE9);
1639
+ // The addend adjusts for the difference between the end of the instruction and the
1640
+ // beginning of the immediate field.
1641
+ emit_reloc(sink, Reloc::X86CallPCRel4, &callee, -4);
1642
+ sink.put4(0);
1643
+ sink.add_call_site(ir::Opcode::ReturnCall);
1644
+ }
1645
+
1646
+ Inst::ReturnCallUnknown {
1647
+ callee,
1648
+ info: call_info,
1649
+ } => {
1650
+ let callee = callee.with_allocs(allocs);
1651
+
1652
+ emit_return_call_common_sequence(allocs, sink, info, state, &call_info.uses);
1653
+
1654
+ Inst::JmpUnknown { target: callee }.emit(&[], sink, info, state);
1655
+ sink.add_call_site(ir::Opcode::ReturnCallIndirect);
1656
+ }
1657
+
1658
+ Inst::CallUnknown { dest, opcode, info } => {
1659
+ let dest = dest.with_allocs(allocs);
1660
+
1661
+ let start_offset = sink.cur_offset();
1662
+ match dest {
1663
+ RegMem::Reg { reg } => {
1664
+ let reg_enc = int_reg_enc(reg);
1665
+ emit_std_enc_enc(
1666
+ sink,
1667
+ LegacyPrefixes::None,
1668
+ 0xFF,
1669
+ 1,
1670
+ 2, /*subopcode*/
1671
+ reg_enc,
1672
+ RexFlags::clear_w(),
1673
+ );
1674
+ }
1675
+
1676
+ RegMem::Mem { addr } => {
1677
+ let addr = &addr.finalize(state, sink);
1678
+ emit_std_enc_mem(
1679
+ sink,
1680
+ LegacyPrefixes::None,
1681
+ 0xFF,
1682
+ 1,
1683
+ 2, /*subopcode*/
1684
+ addr,
1685
+ RexFlags::clear_w(),
1686
+ 0,
1687
+ );
1688
+ }
1689
+ }
1690
+ if let Some(s) = state.take_stack_map() {
1691
+ sink.add_stack_map(StackMapExtent::StartedAtOffset(start_offset), s);
1692
+ }
1693
+ if opcode.is_call() {
1694
+ sink.add_call_site(*opcode);
1695
+ }
1696
+
1697
+ if let Some(call_info) = info {
1698
+ let callee_pop_size = i64::from(call_info.callee_pop_size);
1699
+ state.adjust_virtual_sp_offset(-callee_pop_size);
1700
+ }
1701
+ }
1702
+
1703
+ Inst::GrowArgumentArea { amount, tmp } => {
1704
+ debug_assert!(*amount > 0);
1705
+ debug_assert_eq!(*amount % 8, 0);
1706
+
1707
+ assert!(
1708
+ info.flags.preserve_frame_pointers(),
1709
+ "frame pointers must be enabled for GrowArgumentArea"
1710
+ );
1711
+
1712
+ let tmp = allocs.next(tmp.to_reg().to_reg());
1713
+ let tmp = Gpr::new(tmp).unwrap();
1714
+ let tmp_w = WritableGpr::from_reg(tmp);
1715
+
1716
+ // As we're increasing the number of stack arguments, we need to move the frame down in
1717
+ // memory, by decrementing SP by `amount` and looping from lower addresses to higher
1718
+ // ones, copying down.
1719
+
1720
+ // Decrement SP and FP by `amount`
1721
+ Inst::alu_rmi_r(
1722
+ OperandSize::Size64,
1723
+ AluRmiROpcode::Sub,
1724
+ RegMemImm::imm(*amount),
1725
+ Writable::from_reg(regs::rsp()),
1726
+ )
1727
+ .emit(&[], sink, info, state);
1728
+ Inst::alu_rmi_r(
1729
+ OperandSize::Size64,
1730
+ AluRmiROpcode::Sub,
1731
+ RegMemImm::imm(*amount),
1732
+ Writable::from_reg(regs::rbp()),
1733
+ )
1734
+ .emit(&[], sink, info, state);
1735
+
1736
+ // The total size that we're going to copy, including the return address and frame
1737
+ // pointer that are pushed on the stack already.
1738
+ let size = i32::try_from(state.nominal_sp_to_fp()).unwrap()
1739
+ + i32::try_from(state.frame_layout().setup_area_size).unwrap();
1740
+
1741
+ debug_assert_eq!(size % 8, 0);
1742
+
1743
+ // Copy the `i`th word in the stack from `SP + amount + i * 8` to `SP + i * 8`. Do this
1744
+ // from lower to higher addresses to avoid clobbering words we haven't copied yet.
1745
+ for sp_word_offset in 0..(size / 8) {
1746
+ let sp_byte_offset = sp_word_offset * 8;
1747
+ Inst::Mov64MR {
1748
+ src: SyntheticAmode::nominal_sp_offset(
1749
+ sp_byte_offset + i32::try_from(*amount).unwrap(),
1750
+ ),
1751
+ dst: tmp_w,
1752
+ }
1753
+ .emit(&[], sink, info, state);
1754
+
1755
+ Inst::MovRM {
1756
+ size: OperandSize::Size64,
1757
+ src: tmp,
1758
+ dst: SyntheticAmode::nominal_sp_offset(sp_byte_offset),
1759
+ }
1760
+ .emit(&[], sink, info, state);
1761
+ }
1762
+ }
1763
+
1764
+ Inst::ShrinkArgumentArea { amount, tmp } => {
1765
+ debug_assert!(*amount > 0);
1766
+ debug_assert_eq!(*amount % 8, 0);
1767
+
1768
+ assert!(
1769
+ info.flags.preserve_frame_pointers(),
1770
+ "frame pointers must be enabled for ShrinkArgumentArea"
1771
+ );
1772
+
1773
+ let tmp = allocs.next(tmp.to_reg().to_reg());
1774
+ let tmp = Gpr::new(tmp).unwrap();
1775
+ let tmp_w = WritableGpr::from_reg(tmp);
1776
+
1777
+ // As we're decreasing the number of stack arguments, we need to move the frame up in
1778
+ // memory, looping from higher addresses to lower ones copying up, and finally
1779
+ // incrementing `SP` by `amount`.
1780
+
1781
+ // The total size that we're going to copy, including the return address and frame
1782
+ // pointer that are pushed on the stack alreadcy.
1783
+ let size = i32::try_from(state.nominal_sp_to_fp()).unwrap()
1784
+ + i32::try_from(state.frame_layout().setup_area_size).unwrap();
1785
+
1786
+ debug_assert_eq!(size % 8, 0);
1787
+
1788
+ // Copy the `i`th word in the stack from `SP + i * 8` to `SP + amount + i * 8`. Do this
1789
+ // from higher to lower addresses to avoid clobbering words we haven't copied yet.
1790
+ for sp_word_offset in (0..(size / 8)).rev() {
1791
+ let sp_byte_offset = sp_word_offset * 8;
1792
+ Inst::Mov64MR {
1793
+ src: SyntheticAmode::nominal_sp_offset(sp_byte_offset),
1794
+ dst: tmp_w,
1795
+ }
1796
+ .emit(&[], sink, info, state);
1797
+
1798
+ Inst::MovRM {
1799
+ size: OperandSize::Size64,
1800
+ src: tmp,
1801
+ dst: SyntheticAmode::nominal_sp_offset(
1802
+ sp_byte_offset + i32::try_from(*amount).unwrap(),
1803
+ ),
1804
+ }
1805
+ .emit(&[], sink, info, state);
1806
+ }
1807
+
1808
+ // Increment SP by `amount`
1809
+ Inst::alu_rmi_r(
1810
+ OperandSize::Size64,
1811
+ AluRmiROpcode::Add,
1812
+ RegMemImm::imm(*amount),
1813
+ Writable::from_reg(regs::rsp()),
1814
+ )
1815
+ .emit(&[], sink, info, state);
1816
+
1817
+ // Increment FP by `amount`
1818
+ Inst::alu_rmi_r(
1819
+ OperandSize::Size64,
1820
+ AluRmiROpcode::Add,
1821
+ RegMemImm::imm(*amount),
1822
+ Writable::from_reg(regs::rbp()),
1823
+ )
1824
+ .emit(&[], sink, info, state);
1825
+ }
1826
+
1827
+ Inst::Args { .. } => {}
1828
+ Inst::Rets { .. } => {}
1829
+
1830
+ Inst::Ret {
1831
+ stack_bytes_to_pop: 0,
1832
+ } => sink.put1(0xC3),
1833
+
1834
+ Inst::Ret { stack_bytes_to_pop } => {
1835
+ sink.put1(0xC2);
1836
+ sink.put2(u16::try_from(*stack_bytes_to_pop).unwrap());
1837
+ }
1838
+
1839
+ Inst::JmpKnown { dst } => {
1840
+ let br_start = sink.cur_offset();
1841
+ let br_disp_off = br_start + 1;
1842
+ let br_end = br_start + 5;
1843
+
1844
+ sink.use_label_at_offset(br_disp_off, *dst, LabelUse::JmpRel32);
1845
+ sink.add_uncond_branch(br_start, br_end, *dst);
1846
+
1847
+ sink.put1(0xE9);
1848
+ // Placeholder for the label value.
1849
+ sink.put4(0x0);
1850
+ }
1851
+
1852
+ Inst::JmpIf { cc, taken } => {
1853
+ let cond_start = sink.cur_offset();
1854
+ let cond_disp_off = cond_start + 2;
1855
+
1856
+ sink.use_label_at_offset(cond_disp_off, *taken, LabelUse::JmpRel32);
1857
+ // Since this is not a terminator, don't enroll in the branch inversion mechanism.
1858
+
1859
+ sink.put1(0x0F);
1860
+ sink.put1(0x80 + cc.get_enc());
1861
+ // Placeholder for the label value.
1862
+ sink.put4(0x0);
1863
+ }
1864
+
1865
+ Inst::JmpCond {
1866
+ cc,
1867
+ taken,
1868
+ not_taken,
1869
+ } => {
1870
+ // If taken.
1871
+ let cond_start = sink.cur_offset();
1872
+ let cond_disp_off = cond_start + 2;
1873
+ let cond_end = cond_start + 6;
1874
+
1875
+ sink.use_label_at_offset(cond_disp_off, *taken, LabelUse::JmpRel32);
1876
+ let inverted: [u8; 6] = [0x0F, 0x80 + (cc.invert().get_enc()), 0x00, 0x00, 0x00, 0x00];
1877
+ sink.add_cond_branch(cond_start, cond_end, *taken, &inverted[..]);
1878
+
1879
+ sink.put1(0x0F);
1880
+ sink.put1(0x80 + cc.get_enc());
1881
+ // Placeholder for the label value.
1882
+ sink.put4(0x0);
1883
+
1884
+ // If not taken.
1885
+ let uncond_start = sink.cur_offset();
1886
+ let uncond_disp_off = uncond_start + 1;
1887
+ let uncond_end = uncond_start + 5;
1888
+
1889
+ sink.use_label_at_offset(uncond_disp_off, *not_taken, LabelUse::JmpRel32);
1890
+ sink.add_uncond_branch(uncond_start, uncond_end, *not_taken);
1891
+
1892
+ sink.put1(0xE9);
1893
+ // Placeholder for the label value.
1894
+ sink.put4(0x0);
1895
+ }
1896
+
1897
+ Inst::JmpUnknown { target } => {
1898
+ let target = target.with_allocs(allocs);
1899
+
1900
+ match target {
1901
+ RegMem::Reg { reg } => {
1902
+ let reg_enc = int_reg_enc(reg);
1903
+ emit_std_enc_enc(
1904
+ sink,
1905
+ LegacyPrefixes::None,
1906
+ 0xFF,
1907
+ 1,
1908
+ 4, /*subopcode*/
1909
+ reg_enc,
1910
+ RexFlags::clear_w(),
1911
+ );
1912
+ }
1913
+
1914
+ RegMem::Mem { addr } => {
1915
+ let addr = &addr.finalize(state, sink);
1916
+ emit_std_enc_mem(
1917
+ sink,
1918
+ LegacyPrefixes::None,
1919
+ 0xFF,
1920
+ 1,
1921
+ 4, /*subopcode*/
1922
+ addr,
1923
+ RexFlags::clear_w(),
1924
+ 0,
1925
+ );
1926
+ }
1927
+ }
1928
+ }
1929
+
1930
+ Inst::JmpTableSeq {
1931
+ idx,
1932
+ tmp1,
1933
+ tmp2,
1934
+ ref targets,
1935
+ default_target,
1936
+ ..
1937
+ } => {
1938
+ let idx = allocs.next(*idx);
1939
+ let tmp1 = Writable::from_reg(allocs.next(tmp1.to_reg()));
1940
+ let tmp2 = Writable::from_reg(allocs.next(tmp2.to_reg()));
1941
+
1942
+ // This sequence is *one* instruction in the vcode, and is expanded only here at
1943
+ // emission time, because we cannot allow the regalloc to insert spills/reloads in
1944
+ // the middle; we depend on hardcoded PC-rel addressing below.
1945
+ //
1946
+ // We don't have to worry about emitting islands, because the only label-use type has a
1947
+ // maximum range of 2 GB. If we later consider using shorter-range label references,
1948
+ // this will need to be revisited.
1949
+
1950
+ // We generate the following sequence. Note that the only read of %idx is before the
1951
+ // write to %tmp2, so regalloc may use the same register for both; fix x64/inst/mod.rs
1952
+ // if you change this.
1953
+ // lea start_of_jump_table_offset(%rip), %tmp1
1954
+ // movslq [%tmp1, %idx, 4], %tmp2 ;; shift of 2, viz. multiply index by 4
1955
+ // addq %tmp2, %tmp1
1956
+ // j *%tmp1
1957
+ // $start_of_jump_table:
1958
+ // -- jump table entries
1959
+
1960
+ // Load base address of jump table.
1961
+ let start_of_jumptable = sink.get_label();
1962
+ let inst = Inst::lea(Amode::rip_relative(start_of_jumptable), tmp1);
1963
+ inst.emit(&[], sink, info, state);
1964
+
1965
+ // Load value out of the jump table. It's a relative offset to the target block, so it
1966
+ // might be negative; use a sign-extension.
1967
+ let inst = Inst::movsx_rm_r(
1968
+ ExtMode::LQ,
1969
+ RegMem::mem(Amode::imm_reg_reg_shift(
1970
+ 0,
1971
+ Gpr::new(tmp1.to_reg()).unwrap(),
1972
+ Gpr::new(idx).unwrap(),
1973
+ 2,
1974
+ )),
1975
+ tmp2,
1976
+ );
1977
+ inst.emit(&[], sink, info, state);
1978
+
1979
+ // Add base of jump table to jump-table-sourced block offset.
1980
+ let inst = Inst::alu_rmi_r(
1981
+ OperandSize::Size64,
1982
+ AluRmiROpcode::Add,
1983
+ RegMemImm::reg(tmp2.to_reg()),
1984
+ tmp1,
1985
+ );
1986
+ inst.emit(&[], sink, info, state);
1987
+
1988
+ // Branch to computed address.
1989
+ let inst = Inst::jmp_unknown(RegMem::reg(tmp1.to_reg()));
1990
+ inst.emit(&[], sink, info, state);
1991
+
1992
+ // Emit jump table (table of 32-bit offsets).
1993
+ sink.bind_label(start_of_jumptable, state.ctrl_plane_mut());
1994
+ let jt_off = sink.cur_offset();
1995
+ for &target in targets.iter().chain(std::iter::once(default_target)) {
1996
+ let word_off = sink.cur_offset();
1997
+ // off_into_table is an addend here embedded in the label to be later patched at
1998
+ // the end of codegen. The offset is initially relative to this jump table entry;
1999
+ // with the extra addend, it'll be relative to the jump table's start, after
2000
+ // patching.
2001
+ let off_into_table = word_off - jt_off;
2002
+ sink.use_label_at_offset(word_off, target, LabelUse::PCRel32);
2003
+ sink.put4(off_into_table);
2004
+ }
2005
+ }
2006
+
2007
+ Inst::TrapIf { cc, trap_code } => {
2008
+ let trap_label = sink.defer_trap(*trap_code, state.take_stack_map());
2009
+ one_way_jmp(sink, *cc, trap_label);
2010
+ }
2011
+
2012
+ Inst::TrapIfAnd {
2013
+ cc1,
2014
+ cc2,
2015
+ trap_code,
2016
+ } => {
2017
+ let trap_label = sink.defer_trap(*trap_code, state.take_stack_map());
2018
+ let else_label = sink.get_label();
2019
+
2020
+ // Jump to the end if the first condition isn't true, and then if
2021
+ // the second condition is true go to the trap.
2022
+ one_way_jmp(sink, cc1.invert(), else_label);
2023
+ one_way_jmp(sink, *cc2, trap_label);
2024
+
2025
+ sink.bind_label(else_label, state.ctrl_plane_mut());
2026
+ }
2027
+
2028
+ Inst::TrapIfOr {
2029
+ cc1,
2030
+ cc2,
2031
+ trap_code,
2032
+ } => {
2033
+ let trap_label = sink.defer_trap(*trap_code, state.take_stack_map());
2034
+
2035
+ // Emit two jumps to the same trap if either condition code is true.
2036
+ one_way_jmp(sink, *cc1, trap_label);
2037
+ one_way_jmp(sink, *cc2, trap_label);
2038
+ }
2039
+
2040
+ Inst::XmmUnaryRmR { op, src, dst } => {
2041
+ emit(
2042
+ &Inst::XmmUnaryRmRUnaligned {
2043
+ op: *op,
2044
+ src: XmmMem::new(src.clone().into()).unwrap(),
2045
+ dst: *dst,
2046
+ },
2047
+ allocs,
2048
+ sink,
2049
+ info,
2050
+ state,
2051
+ );
2052
+ }
2053
+
2054
+ Inst::XmmUnaryRmRUnaligned {
2055
+ op,
2056
+ src: src_e,
2057
+ dst: reg_g,
2058
+ } => {
2059
+ let reg_g = allocs.next(reg_g.to_reg().to_reg());
2060
+ let src_e = src_e.clone().to_reg_mem().with_allocs(allocs);
2061
+
2062
+ let rex = RexFlags::clear_w();
2063
+
2064
+ let (prefix, opcode, num_opcodes) = match op {
2065
+ SseOpcode::Cvtdq2pd => (LegacyPrefixes::_F3, 0x0FE6, 2),
2066
+ SseOpcode::Cvtpd2ps => (LegacyPrefixes::_66, 0x0F5A, 2),
2067
+ SseOpcode::Cvtps2pd => (LegacyPrefixes::None, 0x0F5A, 2),
2068
+ SseOpcode::Cvtdq2ps => (LegacyPrefixes::None, 0x0F5B, 2),
2069
+ SseOpcode::Cvttpd2dq => (LegacyPrefixes::_66, 0x0FE6, 2),
2070
+ SseOpcode::Cvttps2dq => (LegacyPrefixes::_F3, 0x0F5B, 2),
2071
+ SseOpcode::Movaps => (LegacyPrefixes::None, 0x0F28, 2),
2072
+ SseOpcode::Movapd => (LegacyPrefixes::_66, 0x0F28, 2),
2073
+ SseOpcode::Movdqa => (LegacyPrefixes::_66, 0x0F6F, 2),
2074
+ SseOpcode::Movdqu => (LegacyPrefixes::_F3, 0x0F6F, 2),
2075
+ SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F10, 2),
2076
+ SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F10, 2),
2077
+ SseOpcode::Movups => (LegacyPrefixes::None, 0x0F10, 2),
2078
+ SseOpcode::Movupd => (LegacyPrefixes::_66, 0x0F10, 2),
2079
+ SseOpcode::Pabsb => (LegacyPrefixes::_66, 0x0F381C, 3),
2080
+ SseOpcode::Pabsw => (LegacyPrefixes::_66, 0x0F381D, 3),
2081
+ SseOpcode::Pabsd => (LegacyPrefixes::_66, 0x0F381E, 3),
2082
+ SseOpcode::Pmovsxbd => (LegacyPrefixes::_66, 0x0F3821, 3),
2083
+ SseOpcode::Pmovsxbw => (LegacyPrefixes::_66, 0x0F3820, 3),
2084
+ SseOpcode::Pmovsxbq => (LegacyPrefixes::_66, 0x0F3822, 3),
2085
+ SseOpcode::Pmovsxwd => (LegacyPrefixes::_66, 0x0F3823, 3),
2086
+ SseOpcode::Pmovsxwq => (LegacyPrefixes::_66, 0x0F3824, 3),
2087
+ SseOpcode::Pmovsxdq => (LegacyPrefixes::_66, 0x0F3825, 3),
2088
+ SseOpcode::Pmovzxbd => (LegacyPrefixes::_66, 0x0F3831, 3),
2089
+ SseOpcode::Pmovzxbw => (LegacyPrefixes::_66, 0x0F3830, 3),
2090
+ SseOpcode::Pmovzxbq => (LegacyPrefixes::_66, 0x0F3832, 3),
2091
+ SseOpcode::Pmovzxwd => (LegacyPrefixes::_66, 0x0F3833, 3),
2092
+ SseOpcode::Pmovzxwq => (LegacyPrefixes::_66, 0x0F3834, 3),
2093
+ SseOpcode::Pmovzxdq => (LegacyPrefixes::_66, 0x0F3835, 3),
2094
+ SseOpcode::Sqrtps => (LegacyPrefixes::None, 0x0F51, 2),
2095
+ SseOpcode::Sqrtpd => (LegacyPrefixes::_66, 0x0F51, 2),
2096
+ SseOpcode::Movddup => (LegacyPrefixes::_F2, 0x0F12, 2),
2097
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2098
+ };
2099
+
2100
+ match src_e {
2101
+ RegMem::Reg { reg: reg_e } => {
2102
+ emit_std_reg_reg(sink, prefix, opcode, num_opcodes, reg_g, reg_e, rex);
2103
+ }
2104
+ RegMem::Mem { addr } => {
2105
+ let addr = &addr.finalize(state, sink);
2106
+ emit_std_reg_mem(sink, prefix, opcode, num_opcodes, reg_g, addr, rex, 0);
2107
+ }
2108
+ };
2109
+ }
2110
+
2111
+ Inst::XmmUnaryRmRImm { op, src, dst, imm } => {
2112
+ let dst = allocs.next(dst.to_reg().to_reg());
2113
+ let src = src.clone().to_reg_mem().with_allocs(allocs);
2114
+ let rex = RexFlags::clear_w();
2115
+
2116
+ let (prefix, opcode, len) = match op {
2117
+ SseOpcode::Roundps => (LegacyPrefixes::_66, 0x0F3A08, 3),
2118
+ SseOpcode::Roundss => (LegacyPrefixes::_66, 0x0F3A0A, 3),
2119
+ SseOpcode::Roundpd => (LegacyPrefixes::_66, 0x0F3A09, 3),
2120
+ SseOpcode::Roundsd => (LegacyPrefixes::_66, 0x0F3A0B, 3),
2121
+ SseOpcode::Pshufd => (LegacyPrefixes::_66, 0x0F70, 2),
2122
+ SseOpcode::Pshuflw => (LegacyPrefixes::_F2, 0x0F70, 2),
2123
+ SseOpcode::Pshufhw => (LegacyPrefixes::_F3, 0x0F70, 2),
2124
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2125
+ };
2126
+ match src {
2127
+ RegMem::Reg { reg } => {
2128
+ emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
2129
+ }
2130
+ RegMem::Mem { addr } => {
2131
+ let addr = &addr.finalize(state, sink);
2132
+ // N.B.: bytes_at_end == 1, because of the `imm` byte below.
2133
+ emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 1);
2134
+ }
2135
+ }
2136
+ sink.put1(*imm);
2137
+ }
2138
+
2139
+ Inst::XmmUnaryRmREvex { op, src, dst } => {
2140
+ let dst = allocs.next(dst.to_reg().to_reg());
2141
+ let src = match src.clone().to_reg_mem().with_allocs(allocs) {
2142
+ RegMem::Reg { reg } => {
2143
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2144
+ }
2145
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2146
+ };
2147
+
2148
+ let (prefix, map, w, opcode) = match op {
2149
+ Avx512Opcode::Vcvtudq2ps => (LegacyPrefixes::_F2, OpcodeMap::_0F, false, 0x7a),
2150
+ Avx512Opcode::Vpabsq => (LegacyPrefixes::_66, OpcodeMap::_0F38, true, 0x1f),
2151
+ Avx512Opcode::Vpopcntb => (LegacyPrefixes::_66, OpcodeMap::_0F38, false, 0x54),
2152
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2153
+ };
2154
+ EvexInstruction::new()
2155
+ .length(EvexVectorLength::V128)
2156
+ .prefix(prefix)
2157
+ .map(map)
2158
+ .w(w)
2159
+ .opcode(opcode)
2160
+ .tuple_type(op.tuple_type())
2161
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2162
+ .rm(src)
2163
+ .encode(sink);
2164
+ }
2165
+
2166
+ Inst::XmmUnaryRmRImmEvex { op, src, dst, imm } => {
2167
+ let dst = allocs.next(dst.to_reg().to_reg());
2168
+ let src = match src.clone().to_reg_mem().with_allocs(allocs) {
2169
+ RegMem::Reg { reg } => {
2170
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2171
+ }
2172
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2173
+ };
2174
+
2175
+ let (opcode, opcode_ext, w) = match op {
2176
+ Avx512Opcode::VpsraqImm => (0x72, 4, true),
2177
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2178
+ };
2179
+ EvexInstruction::new()
2180
+ .length(EvexVectorLength::V128)
2181
+ .prefix(LegacyPrefixes::_66)
2182
+ .map(OpcodeMap::_0F)
2183
+ .w(w)
2184
+ .opcode(opcode)
2185
+ .reg(opcode_ext)
2186
+ .vvvvv(dst.to_real_reg().unwrap().hw_enc())
2187
+ .tuple_type(op.tuple_type())
2188
+ .rm(src)
2189
+ .imm(*imm)
2190
+ .encode(sink);
2191
+ }
2192
+
2193
+ Inst::XmmRmR {
2194
+ op,
2195
+ src1,
2196
+ src2,
2197
+ dst,
2198
+ } => emit(
2199
+ &Inst::XmmRmRUnaligned {
2200
+ op: *op,
2201
+ dst: *dst,
2202
+ src1: *src1,
2203
+ src2: XmmMem::new(src2.clone().to_reg_mem()).unwrap(),
2204
+ },
2205
+ allocs,
2206
+ sink,
2207
+ info,
2208
+ state,
2209
+ ),
2210
+
2211
+ Inst::XmmRmRUnaligned {
2212
+ op,
2213
+ src1,
2214
+ src2: src_e,
2215
+ dst: reg_g,
2216
+ } => {
2217
+ let src1 = allocs.next(src1.to_reg());
2218
+ let reg_g = allocs.next(reg_g.to_reg().to_reg());
2219
+ let src_e = src_e.clone().to_reg_mem().with_allocs(allocs);
2220
+ debug_assert_eq!(src1, reg_g);
2221
+
2222
+ let rex = RexFlags::clear_w();
2223
+ let (prefix, opcode, length) = match op {
2224
+ SseOpcode::Addps => (LegacyPrefixes::None, 0x0F58, 2),
2225
+ SseOpcode::Addpd => (LegacyPrefixes::_66, 0x0F58, 2),
2226
+ SseOpcode::Addss => (LegacyPrefixes::_F3, 0x0F58, 2),
2227
+ SseOpcode::Addsd => (LegacyPrefixes::_F2, 0x0F58, 2),
2228
+ SseOpcode::Andps => (LegacyPrefixes::None, 0x0F54, 2),
2229
+ SseOpcode::Andpd => (LegacyPrefixes::_66, 0x0F54, 2),
2230
+ SseOpcode::Andnps => (LegacyPrefixes::None, 0x0F55, 2),
2231
+ SseOpcode::Andnpd => (LegacyPrefixes::_66, 0x0F55, 2),
2232
+ SseOpcode::Divps => (LegacyPrefixes::None, 0x0F5E, 2),
2233
+ SseOpcode::Divpd => (LegacyPrefixes::_66, 0x0F5E, 2),
2234
+ SseOpcode::Divss => (LegacyPrefixes::_F3, 0x0F5E, 2),
2235
+ SseOpcode::Divsd => (LegacyPrefixes::_F2, 0x0F5E, 2),
2236
+ SseOpcode::Maxps => (LegacyPrefixes::None, 0x0F5F, 2),
2237
+ SseOpcode::Maxpd => (LegacyPrefixes::_66, 0x0F5F, 2),
2238
+ SseOpcode::Maxss => (LegacyPrefixes::_F3, 0x0F5F, 2),
2239
+ SseOpcode::Maxsd => (LegacyPrefixes::_F2, 0x0F5F, 2),
2240
+ SseOpcode::Minps => (LegacyPrefixes::None, 0x0F5D, 2),
2241
+ SseOpcode::Minpd => (LegacyPrefixes::_66, 0x0F5D, 2),
2242
+ SseOpcode::Minss => (LegacyPrefixes::_F3, 0x0F5D, 2),
2243
+ SseOpcode::Minsd => (LegacyPrefixes::_F2, 0x0F5D, 2),
2244
+ SseOpcode::Movlhps => (LegacyPrefixes::None, 0x0F16, 2),
2245
+ SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F10, 2),
2246
+ SseOpcode::Mulps => (LegacyPrefixes::None, 0x0F59, 2),
2247
+ SseOpcode::Mulpd => (LegacyPrefixes::_66, 0x0F59, 2),
2248
+ SseOpcode::Mulss => (LegacyPrefixes::_F3, 0x0F59, 2),
2249
+ SseOpcode::Mulsd => (LegacyPrefixes::_F2, 0x0F59, 2),
2250
+ SseOpcode::Orpd => (LegacyPrefixes::_66, 0x0F56, 2),
2251
+ SseOpcode::Orps => (LegacyPrefixes::None, 0x0F56, 2),
2252
+ SseOpcode::Packssdw => (LegacyPrefixes::_66, 0x0F6B, 2),
2253
+ SseOpcode::Packsswb => (LegacyPrefixes::_66, 0x0F63, 2),
2254
+ SseOpcode::Packusdw => (LegacyPrefixes::_66, 0x0F382B, 3),
2255
+ SseOpcode::Packuswb => (LegacyPrefixes::_66, 0x0F67, 2),
2256
+ SseOpcode::Paddb => (LegacyPrefixes::_66, 0x0FFC, 2),
2257
+ SseOpcode::Paddd => (LegacyPrefixes::_66, 0x0FFE, 2),
2258
+ SseOpcode::Paddq => (LegacyPrefixes::_66, 0x0FD4, 2),
2259
+ SseOpcode::Paddw => (LegacyPrefixes::_66, 0x0FFD, 2),
2260
+ SseOpcode::Paddsb => (LegacyPrefixes::_66, 0x0FEC, 2),
2261
+ SseOpcode::Paddsw => (LegacyPrefixes::_66, 0x0FED, 2),
2262
+ SseOpcode::Paddusb => (LegacyPrefixes::_66, 0x0FDC, 2),
2263
+ SseOpcode::Paddusw => (LegacyPrefixes::_66, 0x0FDD, 2),
2264
+ SseOpcode::Pmaddubsw => (LegacyPrefixes::_66, 0x0F3804, 3),
2265
+ SseOpcode::Pand => (LegacyPrefixes::_66, 0x0FDB, 2),
2266
+ SseOpcode::Pandn => (LegacyPrefixes::_66, 0x0FDF, 2),
2267
+ SseOpcode::Pavgb => (LegacyPrefixes::_66, 0x0FE0, 2),
2268
+ SseOpcode::Pavgw => (LegacyPrefixes::_66, 0x0FE3, 2),
2269
+ SseOpcode::Pcmpeqb => (LegacyPrefixes::_66, 0x0F74, 2),
2270
+ SseOpcode::Pcmpeqw => (LegacyPrefixes::_66, 0x0F75, 2),
2271
+ SseOpcode::Pcmpeqd => (LegacyPrefixes::_66, 0x0F76, 2),
2272
+ SseOpcode::Pcmpeqq => (LegacyPrefixes::_66, 0x0F3829, 3),
2273
+ SseOpcode::Pcmpgtb => (LegacyPrefixes::_66, 0x0F64, 2),
2274
+ SseOpcode::Pcmpgtw => (LegacyPrefixes::_66, 0x0F65, 2),
2275
+ SseOpcode::Pcmpgtd => (LegacyPrefixes::_66, 0x0F66, 2),
2276
+ SseOpcode::Pcmpgtq => (LegacyPrefixes::_66, 0x0F3837, 3),
2277
+ SseOpcode::Pmaddwd => (LegacyPrefixes::_66, 0x0FF5, 2),
2278
+ SseOpcode::Pmaxsb => (LegacyPrefixes::_66, 0x0F383C, 3),
2279
+ SseOpcode::Pmaxsw => (LegacyPrefixes::_66, 0x0FEE, 2),
2280
+ SseOpcode::Pmaxsd => (LegacyPrefixes::_66, 0x0F383D, 3),
2281
+ SseOpcode::Pmaxub => (LegacyPrefixes::_66, 0x0FDE, 2),
2282
+ SseOpcode::Pmaxuw => (LegacyPrefixes::_66, 0x0F383E, 3),
2283
+ SseOpcode::Pmaxud => (LegacyPrefixes::_66, 0x0F383F, 3),
2284
+ SseOpcode::Pminsb => (LegacyPrefixes::_66, 0x0F3838, 3),
2285
+ SseOpcode::Pminsw => (LegacyPrefixes::_66, 0x0FEA, 2),
2286
+ SseOpcode::Pminsd => (LegacyPrefixes::_66, 0x0F3839, 3),
2287
+ SseOpcode::Pminub => (LegacyPrefixes::_66, 0x0FDA, 2),
2288
+ SseOpcode::Pminuw => (LegacyPrefixes::_66, 0x0F383A, 3),
2289
+ SseOpcode::Pminud => (LegacyPrefixes::_66, 0x0F383B, 3),
2290
+ SseOpcode::Pmuldq => (LegacyPrefixes::_66, 0x0F3828, 3),
2291
+ SseOpcode::Pmulhw => (LegacyPrefixes::_66, 0x0FE5, 2),
2292
+ SseOpcode::Pmulhrsw => (LegacyPrefixes::_66, 0x0F380B, 3),
2293
+ SseOpcode::Pmulhuw => (LegacyPrefixes::_66, 0x0FE4, 2),
2294
+ SseOpcode::Pmulld => (LegacyPrefixes::_66, 0x0F3840, 3),
2295
+ SseOpcode::Pmullw => (LegacyPrefixes::_66, 0x0FD5, 2),
2296
+ SseOpcode::Pmuludq => (LegacyPrefixes::_66, 0x0FF4, 2),
2297
+ SseOpcode::Por => (LegacyPrefixes::_66, 0x0FEB, 2),
2298
+ SseOpcode::Pshufb => (LegacyPrefixes::_66, 0x0F3800, 3),
2299
+ SseOpcode::Psubb => (LegacyPrefixes::_66, 0x0FF8, 2),
2300
+ SseOpcode::Psubd => (LegacyPrefixes::_66, 0x0FFA, 2),
2301
+ SseOpcode::Psubq => (LegacyPrefixes::_66, 0x0FFB, 2),
2302
+ SseOpcode::Psubw => (LegacyPrefixes::_66, 0x0FF9, 2),
2303
+ SseOpcode::Psubsb => (LegacyPrefixes::_66, 0x0FE8, 2),
2304
+ SseOpcode::Psubsw => (LegacyPrefixes::_66, 0x0FE9, 2),
2305
+ SseOpcode::Psubusb => (LegacyPrefixes::_66, 0x0FD8, 2),
2306
+ SseOpcode::Psubusw => (LegacyPrefixes::_66, 0x0FD9, 2),
2307
+ SseOpcode::Punpckhbw => (LegacyPrefixes::_66, 0x0F68, 2),
2308
+ SseOpcode::Punpckhwd => (LegacyPrefixes::_66, 0x0F69, 2),
2309
+ SseOpcode::Punpcklbw => (LegacyPrefixes::_66, 0x0F60, 2),
2310
+ SseOpcode::Punpcklwd => (LegacyPrefixes::_66, 0x0F61, 2),
2311
+ SseOpcode::Punpckldq => (LegacyPrefixes::_66, 0x0F62, 2),
2312
+ SseOpcode::Punpcklqdq => (LegacyPrefixes::_66, 0x0F6C, 2),
2313
+ SseOpcode::Punpckhdq => (LegacyPrefixes::_66, 0x0F6A, 2),
2314
+ SseOpcode::Punpckhqdq => (LegacyPrefixes::_66, 0x0F6D, 2),
2315
+ SseOpcode::Pxor => (LegacyPrefixes::_66, 0x0FEF, 2),
2316
+ SseOpcode::Subps => (LegacyPrefixes::None, 0x0F5C, 2),
2317
+ SseOpcode::Subpd => (LegacyPrefixes::_66, 0x0F5C, 2),
2318
+ SseOpcode::Subss => (LegacyPrefixes::_F3, 0x0F5C, 2),
2319
+ SseOpcode::Subsd => (LegacyPrefixes::_F2, 0x0F5C, 2),
2320
+ SseOpcode::Unpcklps => (LegacyPrefixes::None, 0x0F14, 2),
2321
+ SseOpcode::Unpckhps => (LegacyPrefixes::None, 0x0F15, 2),
2322
+ SseOpcode::Xorps => (LegacyPrefixes::None, 0x0F57, 2),
2323
+ SseOpcode::Xorpd => (LegacyPrefixes::_66, 0x0F57, 2),
2324
+ SseOpcode::Phaddw => (LegacyPrefixes::_66, 0x0F3801, 3),
2325
+ SseOpcode::Phaddd => (LegacyPrefixes::_66, 0x0F3802, 3),
2326
+ SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F10, 2),
2327
+ SseOpcode::Cvtss2sd => (LegacyPrefixes::_F3, 0x0F5A, 2),
2328
+ SseOpcode::Cvtsd2ss => (LegacyPrefixes::_F2, 0x0F5A, 2),
2329
+ SseOpcode::Sqrtss => (LegacyPrefixes::_F3, 0x0F51, 2),
2330
+ SseOpcode::Sqrtsd => (LegacyPrefixes::_F2, 0x0F51, 2),
2331
+ SseOpcode::Unpcklpd => (LegacyPrefixes::_66, 0x0F14, 2),
2332
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2333
+ };
2334
+
2335
+ match src_e {
2336
+ RegMem::Reg { reg: reg_e } => {
2337
+ emit_std_reg_reg(sink, prefix, opcode, length, reg_g, reg_e, rex);
2338
+ }
2339
+ RegMem::Mem { addr } => {
2340
+ let addr = &addr.finalize(state, sink);
2341
+ emit_std_reg_mem(sink, prefix, opcode, length, reg_g, addr, rex, 0);
2342
+ }
2343
+ }
2344
+ }
2345
+
2346
+ Inst::XmmRmRBlend {
2347
+ op,
2348
+ src1,
2349
+ src2,
2350
+ dst,
2351
+ mask,
2352
+ } => {
2353
+ let src1 = allocs.next(src1.to_reg());
2354
+ let mask = allocs.next(mask.to_reg());
2355
+ debug_assert_eq!(mask, regs::xmm0());
2356
+ let reg_g = allocs.next(dst.to_reg().to_reg());
2357
+ debug_assert_eq!(src1, reg_g);
2358
+ let src_e = src2.clone().to_reg_mem().with_allocs(allocs);
2359
+
2360
+ let rex = RexFlags::clear_w();
2361
+ let (prefix, opcode, length) = match op {
2362
+ SseOpcode::Blendvps => (LegacyPrefixes::_66, 0x0F3814, 3),
2363
+ SseOpcode::Blendvpd => (LegacyPrefixes::_66, 0x0F3815, 3),
2364
+ SseOpcode::Pblendvb => (LegacyPrefixes::_66, 0x0F3810, 3),
2365
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2366
+ };
2367
+
2368
+ match src_e {
2369
+ RegMem::Reg { reg: reg_e } => {
2370
+ emit_std_reg_reg(sink, prefix, opcode, length, reg_g, reg_e, rex);
2371
+ }
2372
+ RegMem::Mem { addr } => {
2373
+ let addr = &addr.finalize(state, sink);
2374
+ emit_std_reg_mem(sink, prefix, opcode, length, reg_g, addr, rex, 0);
2375
+ }
2376
+ }
2377
+ }
2378
+
2379
+ Inst::XmmRmiRVex {
2380
+ op,
2381
+ src1,
2382
+ src2,
2383
+ dst,
2384
+ } => {
2385
+ use LegacyPrefixes as LP;
2386
+ use OpcodeMap as OM;
2387
+
2388
+ let dst = allocs.next(dst.to_reg().to_reg());
2389
+ let src1 = allocs.next(src1.to_reg());
2390
+ let src2 = src2.clone().to_reg_mem_imm().with_allocs(allocs);
2391
+
2392
+ // When the opcode is commutative, src1 is xmm{0..7}, and src2 is
2393
+ // xmm{8..15}, then we can swap the operands to save one byte on the
2394
+ // instruction's encoding.
2395
+ let (src1, src2) = match (src1, src2) {
2396
+ (src1, RegMemImm::Reg { reg: src2 })
2397
+ if op.is_commutative()
2398
+ && src1.to_real_reg().unwrap().hw_enc() < 8
2399
+ && src2.to_real_reg().unwrap().hw_enc() >= 8 =>
2400
+ {
2401
+ (src2, RegMemImm::Reg { reg: src1 })
2402
+ }
2403
+ (src1, src2) => (src1, src2),
2404
+ };
2405
+
2406
+ let src2 = match src2 {
2407
+ // For opcodes where one of the operands is an immediate the
2408
+ // encoding is a bit different, notably the usage of
2409
+ // `opcode_ext`, so handle that specially here.
2410
+ RegMemImm::Imm { simm32 } => {
2411
+ let (opcode, opcode_ext, prefix) = match op {
2412
+ AvxOpcode::Vpsrlw => (0x71, 2, LegacyPrefixes::_66),
2413
+ AvxOpcode::Vpsrld => (0x72, 2, LegacyPrefixes::_66),
2414
+ AvxOpcode::Vpsrlq => (0x73, 2, LegacyPrefixes::_66),
2415
+ AvxOpcode::Vpsllw => (0x71, 6, LegacyPrefixes::_66),
2416
+ AvxOpcode::Vpslld => (0x72, 6, LegacyPrefixes::_66),
2417
+ AvxOpcode::Vpsllq => (0x73, 6, LegacyPrefixes::_66),
2418
+ AvxOpcode::Vpsraw => (0x71, 4, LegacyPrefixes::_66),
2419
+ AvxOpcode::Vpsrad => (0x72, 4, LegacyPrefixes::_66),
2420
+ _ => panic!("unexpected rmi_r_vex opcode with immediate {op:?}"),
2421
+ };
2422
+ VexInstruction::new()
2423
+ .length(VexVectorLength::V128)
2424
+ .prefix(prefix)
2425
+ .map(OpcodeMap::_0F)
2426
+ .opcode(opcode)
2427
+ .opcode_ext(opcode_ext)
2428
+ .vvvv(dst.to_real_reg().unwrap().hw_enc())
2429
+ .prefix(LegacyPrefixes::_66)
2430
+ .rm(src1.to_real_reg().unwrap().hw_enc())
2431
+ .imm(simm32.try_into().unwrap())
2432
+ .encode(sink);
2433
+ return;
2434
+ }
2435
+ RegMemImm::Reg { reg } => {
2436
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2437
+ }
2438
+ RegMemImm::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2439
+ };
2440
+
2441
+ let (prefix, map, opcode) = match op {
2442
+ AvxOpcode::Vminps => (LP::None, OM::_0F, 0x5D),
2443
+ AvxOpcode::Vminpd => (LP::_66, OM::_0F, 0x5D),
2444
+ AvxOpcode::Vmaxps => (LP::None, OM::_0F, 0x5F),
2445
+ AvxOpcode::Vmaxpd => (LP::_66, OM::_0F, 0x5F),
2446
+ AvxOpcode::Vandnps => (LP::None, OM::_0F, 0x55),
2447
+ AvxOpcode::Vandnpd => (LP::_66, OM::_0F, 0x55),
2448
+ AvxOpcode::Vpandn => (LP::_66, OM::_0F, 0xDF),
2449
+ AvxOpcode::Vpsrlw => (LP::_66, OM::_0F, 0xD1),
2450
+ AvxOpcode::Vpsrld => (LP::_66, OM::_0F, 0xD2),
2451
+ AvxOpcode::Vpsrlq => (LP::_66, OM::_0F, 0xD3),
2452
+ AvxOpcode::Vpaddb => (LP::_66, OM::_0F, 0xFC),
2453
+ AvxOpcode::Vpaddw => (LP::_66, OM::_0F, 0xFD),
2454
+ AvxOpcode::Vpaddd => (LP::_66, OM::_0F, 0xFE),
2455
+ AvxOpcode::Vpaddq => (LP::_66, OM::_0F, 0xD4),
2456
+ AvxOpcode::Vpaddsb => (LP::_66, OM::_0F, 0xEC),
2457
+ AvxOpcode::Vpaddsw => (LP::_66, OM::_0F, 0xED),
2458
+ AvxOpcode::Vpaddusb => (LP::_66, OM::_0F, 0xDC),
2459
+ AvxOpcode::Vpaddusw => (LP::_66, OM::_0F, 0xDD),
2460
+ AvxOpcode::Vpsubb => (LP::_66, OM::_0F, 0xF8),
2461
+ AvxOpcode::Vpsubw => (LP::_66, OM::_0F, 0xF9),
2462
+ AvxOpcode::Vpsubd => (LP::_66, OM::_0F, 0xFA),
2463
+ AvxOpcode::Vpsubq => (LP::_66, OM::_0F, 0xFB),
2464
+ AvxOpcode::Vpsubsb => (LP::_66, OM::_0F, 0xE8),
2465
+ AvxOpcode::Vpsubsw => (LP::_66, OM::_0F, 0xE9),
2466
+ AvxOpcode::Vpsubusb => (LP::_66, OM::_0F, 0xD8),
2467
+ AvxOpcode::Vpsubusw => (LP::_66, OM::_0F, 0xD9),
2468
+ AvxOpcode::Vpavgb => (LP::_66, OM::_0F, 0xE0),
2469
+ AvxOpcode::Vpavgw => (LP::_66, OM::_0F, 0xE3),
2470
+ AvxOpcode::Vpand => (LP::_66, OM::_0F, 0xDB),
2471
+ AvxOpcode::Vandps => (LP::None, OM::_0F, 0x54),
2472
+ AvxOpcode::Vandpd => (LP::_66, OM::_0F, 0x54),
2473
+ AvxOpcode::Vpor => (LP::_66, OM::_0F, 0xEB),
2474
+ AvxOpcode::Vorps => (LP::None, OM::_0F, 0x56),
2475
+ AvxOpcode::Vorpd => (LP::_66, OM::_0F, 0x56),
2476
+ AvxOpcode::Vpxor => (LP::_66, OM::_0F, 0xEF),
2477
+ AvxOpcode::Vxorps => (LP::None, OM::_0F, 0x57),
2478
+ AvxOpcode::Vxorpd => (LP::_66, OM::_0F, 0x57),
2479
+ AvxOpcode::Vpmullw => (LP::_66, OM::_0F, 0xD5),
2480
+ AvxOpcode::Vpmulld => (LP::_66, OM::_0F38, 0x40),
2481
+ AvxOpcode::Vpmulhw => (LP::_66, OM::_0F, 0xE5),
2482
+ AvxOpcode::Vpmulhrsw => (LP::_66, OM::_0F38, 0x0B),
2483
+ AvxOpcode::Vpmulhuw => (LP::_66, OM::_0F, 0xE4),
2484
+ AvxOpcode::Vpmuldq => (LP::_66, OM::_0F38, 0x28),
2485
+ AvxOpcode::Vpmuludq => (LP::_66, OM::_0F, 0xF4),
2486
+ AvxOpcode::Vpunpckhwd => (LP::_66, OM::_0F, 0x69),
2487
+ AvxOpcode::Vpunpcklwd => (LP::_66, OM::_0F, 0x61),
2488
+ AvxOpcode::Vunpcklps => (LP::None, OM::_0F, 0x14),
2489
+ AvxOpcode::Vunpckhps => (LP::None, OM::_0F, 0x15),
2490
+ AvxOpcode::Vaddps => (LP::None, OM::_0F, 0x58),
2491
+ AvxOpcode::Vaddpd => (LP::_66, OM::_0F, 0x58),
2492
+ AvxOpcode::Vsubps => (LP::None, OM::_0F, 0x5C),
2493
+ AvxOpcode::Vsubpd => (LP::_66, OM::_0F, 0x5C),
2494
+ AvxOpcode::Vmulps => (LP::None, OM::_0F, 0x59),
2495
+ AvxOpcode::Vmulpd => (LP::_66, OM::_0F, 0x59),
2496
+ AvxOpcode::Vdivps => (LP::None, OM::_0F, 0x5E),
2497
+ AvxOpcode::Vdivpd => (LP::_66, OM::_0F, 0x5E),
2498
+ AvxOpcode::Vpcmpeqb => (LP::_66, OM::_0F, 0x74),
2499
+ AvxOpcode::Vpcmpeqw => (LP::_66, OM::_0F, 0x75),
2500
+ AvxOpcode::Vpcmpeqd => (LP::_66, OM::_0F, 0x76),
2501
+ AvxOpcode::Vpcmpeqq => (LP::_66, OM::_0F38, 0x29),
2502
+ AvxOpcode::Vpcmpgtb => (LP::_66, OM::_0F, 0x64),
2503
+ AvxOpcode::Vpcmpgtw => (LP::_66, OM::_0F, 0x65),
2504
+ AvxOpcode::Vpcmpgtd => (LP::_66, OM::_0F, 0x66),
2505
+ AvxOpcode::Vpcmpgtq => (LP::_66, OM::_0F38, 0x37),
2506
+ AvxOpcode::Vmovlhps => (LP::None, OM::_0F, 0x16),
2507
+ AvxOpcode::Vpminsb => (LP::_66, OM::_0F38, 0x38),
2508
+ AvxOpcode::Vpminsw => (LP::_66, OM::_0F, 0xEA),
2509
+ AvxOpcode::Vpminsd => (LP::_66, OM::_0F38, 0x39),
2510
+ AvxOpcode::Vpmaxsb => (LP::_66, OM::_0F38, 0x3C),
2511
+ AvxOpcode::Vpmaxsw => (LP::_66, OM::_0F, 0xEE),
2512
+ AvxOpcode::Vpmaxsd => (LP::_66, OM::_0F38, 0x3D),
2513
+ AvxOpcode::Vpminub => (LP::_66, OM::_0F, 0xDA),
2514
+ AvxOpcode::Vpminuw => (LP::_66, OM::_0F38, 0x3A),
2515
+ AvxOpcode::Vpminud => (LP::_66, OM::_0F38, 0x3B),
2516
+ AvxOpcode::Vpmaxub => (LP::_66, OM::_0F, 0xDE),
2517
+ AvxOpcode::Vpmaxuw => (LP::_66, OM::_0F38, 0x3E),
2518
+ AvxOpcode::Vpmaxud => (LP::_66, OM::_0F38, 0x3F),
2519
+ AvxOpcode::Vpunpcklbw => (LP::_66, OM::_0F, 0x60),
2520
+ AvxOpcode::Vpunpckhbw => (LP::_66, OM::_0F, 0x68),
2521
+ AvxOpcode::Vpacksswb => (LP::_66, OM::_0F, 0x63),
2522
+ AvxOpcode::Vpackssdw => (LP::_66, OM::_0F, 0x6B),
2523
+ AvxOpcode::Vpackuswb => (LP::_66, OM::_0F, 0x67),
2524
+ AvxOpcode::Vpackusdw => (LP::_66, OM::_0F38, 0x2B),
2525
+ AvxOpcode::Vpmaddwd => (LP::_66, OM::_0F, 0xF5),
2526
+ AvxOpcode::Vpmaddubsw => (LP::_66, OM::_0F38, 0x04),
2527
+ AvxOpcode::Vpshufb => (LP::_66, OM::_0F38, 0x00),
2528
+ AvxOpcode::Vpsllw => (LP::_66, OM::_0F, 0xF1),
2529
+ AvxOpcode::Vpslld => (LP::_66, OM::_0F, 0xF2),
2530
+ AvxOpcode::Vpsllq => (LP::_66, OM::_0F, 0xF3),
2531
+ AvxOpcode::Vpsraw => (LP::_66, OM::_0F, 0xE1),
2532
+ AvxOpcode::Vpsrad => (LP::_66, OM::_0F, 0xE2),
2533
+ AvxOpcode::Vaddss => (LP::_F3, OM::_0F, 0x58),
2534
+ AvxOpcode::Vaddsd => (LP::_F2, OM::_0F, 0x58),
2535
+ AvxOpcode::Vmulss => (LP::_F3, OM::_0F, 0x59),
2536
+ AvxOpcode::Vmulsd => (LP::_F2, OM::_0F, 0x59),
2537
+ AvxOpcode::Vsubss => (LP::_F3, OM::_0F, 0x5C),
2538
+ AvxOpcode::Vsubsd => (LP::_F2, OM::_0F, 0x5C),
2539
+ AvxOpcode::Vdivss => (LP::_F3, OM::_0F, 0x5E),
2540
+ AvxOpcode::Vdivsd => (LP::_F2, OM::_0F, 0x5E),
2541
+ AvxOpcode::Vminss => (LP::_F3, OM::_0F, 0x5D),
2542
+ AvxOpcode::Vminsd => (LP::_F2, OM::_0F, 0x5D),
2543
+ AvxOpcode::Vmaxss => (LP::_F3, OM::_0F, 0x5F),
2544
+ AvxOpcode::Vmaxsd => (LP::_F2, OM::_0F, 0x5F),
2545
+ AvxOpcode::Vphaddw => (LP::_66, OM::_0F38, 0x01),
2546
+ AvxOpcode::Vphaddd => (LP::_66, OM::_0F38, 0x02),
2547
+ AvxOpcode::Vpunpckldq => (LP::_66, OM::_0F, 0x62),
2548
+ AvxOpcode::Vpunpckhdq => (LP::_66, OM::_0F, 0x6A),
2549
+ AvxOpcode::Vpunpcklqdq => (LP::_66, OM::_0F, 0x6C),
2550
+ AvxOpcode::Vpunpckhqdq => (LP::_66, OM::_0F, 0x6D),
2551
+ AvxOpcode::Vmovsd => (LP::_F2, OM::_0F, 0x10),
2552
+ AvxOpcode::Vmovss => (LP::_F3, OM::_0F, 0x10),
2553
+ AvxOpcode::Vcvtss2sd => (LP::_F3, OM::_0F, 0x5A),
2554
+ AvxOpcode::Vcvtsd2ss => (LP::_F2, OM::_0F, 0x5A),
2555
+ AvxOpcode::Vsqrtss => (LP::_F3, OM::_0F, 0x51),
2556
+ AvxOpcode::Vsqrtsd => (LP::_F2, OM::_0F, 0x51),
2557
+ AvxOpcode::Vunpcklpd => (LP::_66, OM::_0F, 0x14),
2558
+ _ => panic!("unexpected rmir vex opcode {op:?}"),
2559
+ };
2560
+ VexInstruction::new()
2561
+ .length(VexVectorLength::V128)
2562
+ .prefix(prefix)
2563
+ .map(map)
2564
+ .opcode(opcode)
2565
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2566
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2567
+ .rm(src2)
2568
+ .encode(sink);
2569
+ }
2570
+
2571
+ Inst::XmmRmRImmVex {
2572
+ op,
2573
+ src1,
2574
+ src2,
2575
+ dst,
2576
+ imm,
2577
+ } => {
2578
+ let dst = allocs.next(dst.to_reg().to_reg());
2579
+ let src1 = allocs.next(src1.to_reg());
2580
+ let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
2581
+ RegMem::Reg { reg } => {
2582
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2583
+ }
2584
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2585
+ };
2586
+
2587
+ let (w, prefix, map, opcode) = match op {
2588
+ AvxOpcode::Vcmpps => (false, LegacyPrefixes::None, OpcodeMap::_0F, 0xC2),
2589
+ AvxOpcode::Vcmppd => (false, LegacyPrefixes::_66, OpcodeMap::_0F, 0xC2),
2590
+ AvxOpcode::Vpalignr => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0F),
2591
+ AvxOpcode::Vinsertps => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x21),
2592
+ AvxOpcode::Vshufps => (false, LegacyPrefixes::None, OpcodeMap::_0F, 0xC6),
2593
+ AvxOpcode::Vpblendw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0E),
2594
+ _ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
2595
+ };
2596
+
2597
+ VexInstruction::new()
2598
+ .length(VexVectorLength::V128)
2599
+ .prefix(prefix)
2600
+ .map(map)
2601
+ .w(w)
2602
+ .opcode(opcode)
2603
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2604
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2605
+ .rm(src2)
2606
+ .imm(*imm)
2607
+ .encode(sink);
2608
+ }
2609
+
2610
+ Inst::XmmVexPinsr {
2611
+ op,
2612
+ src1,
2613
+ src2,
2614
+ dst,
2615
+ imm,
2616
+ } => {
2617
+ let dst = allocs.next(dst.to_reg().to_reg());
2618
+ let src1 = allocs.next(src1.to_reg());
2619
+ let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
2620
+ RegMem::Reg { reg } => {
2621
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2622
+ }
2623
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2624
+ };
2625
+
2626
+ let (w, map, opcode) = match op {
2627
+ AvxOpcode::Vpinsrb => (false, OpcodeMap::_0F3A, 0x20),
2628
+ AvxOpcode::Vpinsrw => (false, OpcodeMap::_0F, 0xC4),
2629
+ AvxOpcode::Vpinsrd => (false, OpcodeMap::_0F3A, 0x22),
2630
+ AvxOpcode::Vpinsrq => (true, OpcodeMap::_0F3A, 0x22),
2631
+ _ => panic!("unexpected vex_pinsr opcode {op:?}"),
2632
+ };
2633
+
2634
+ VexInstruction::new()
2635
+ .length(VexVectorLength::V128)
2636
+ .prefix(LegacyPrefixes::_66)
2637
+ .map(map)
2638
+ .w(w)
2639
+ .opcode(opcode)
2640
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2641
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2642
+ .rm(src2)
2643
+ .imm(*imm)
2644
+ .encode(sink);
2645
+ }
2646
+
2647
+ Inst::XmmRmRVex3 {
2648
+ op,
2649
+ src1,
2650
+ src2,
2651
+ src3,
2652
+ dst,
2653
+ } => {
2654
+ let src1 = allocs.next(src1.to_reg());
2655
+ let dst = allocs.next(dst.to_reg().to_reg());
2656
+ debug_assert_eq!(src1, dst);
2657
+ let src2 = allocs.next(src2.to_reg());
2658
+ let src3 = match src3.clone().to_reg_mem().with_allocs(allocs) {
2659
+ RegMem::Reg { reg } => {
2660
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2661
+ }
2662
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2663
+ };
2664
+
2665
+ let (w, map, opcode) = match op {
2666
+ AvxOpcode::Vfmadd132ss => (false, OpcodeMap::_0F38, 0x99),
2667
+ AvxOpcode::Vfmadd213ss => (false, OpcodeMap::_0F38, 0xA9),
2668
+ AvxOpcode::Vfnmadd132ss => (false, OpcodeMap::_0F38, 0x9D),
2669
+ AvxOpcode::Vfnmadd213ss => (false, OpcodeMap::_0F38, 0xAD),
2670
+ AvxOpcode::Vfmadd132sd => (true, OpcodeMap::_0F38, 0x99),
2671
+ AvxOpcode::Vfmadd213sd => (true, OpcodeMap::_0F38, 0xA9),
2672
+ AvxOpcode::Vfnmadd132sd => (true, OpcodeMap::_0F38, 0x9D),
2673
+ AvxOpcode::Vfnmadd213sd => (true, OpcodeMap::_0F38, 0xAD),
2674
+ AvxOpcode::Vfmadd132ps => (false, OpcodeMap::_0F38, 0x98),
2675
+ AvxOpcode::Vfmadd213ps => (false, OpcodeMap::_0F38, 0xA8),
2676
+ AvxOpcode::Vfnmadd132ps => (false, OpcodeMap::_0F38, 0x9C),
2677
+ AvxOpcode::Vfnmadd213ps => (false, OpcodeMap::_0F38, 0xAC),
2678
+ AvxOpcode::Vfmadd132pd => (true, OpcodeMap::_0F38, 0x98),
2679
+ AvxOpcode::Vfmadd213pd => (true, OpcodeMap::_0F38, 0xA8),
2680
+ AvxOpcode::Vfnmadd132pd => (true, OpcodeMap::_0F38, 0x9C),
2681
+ AvxOpcode::Vfnmadd213pd => (true, OpcodeMap::_0F38, 0xAC),
2682
+ AvxOpcode::Vblendvps => (false, OpcodeMap::_0F3A, 0x4A),
2683
+ AvxOpcode::Vblendvpd => (false, OpcodeMap::_0F3A, 0x4B),
2684
+ AvxOpcode::Vpblendvb => (false, OpcodeMap::_0F3A, 0x4C),
2685
+ _ => unreachable!(),
2686
+ };
2687
+
2688
+ VexInstruction::new()
2689
+ .length(VexVectorLength::V128)
2690
+ .prefix(LegacyPrefixes::_66)
2691
+ .map(map)
2692
+ .w(w)
2693
+ .opcode(opcode)
2694
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2695
+ .rm(src3)
2696
+ .vvvv(src2.to_real_reg().unwrap().hw_enc())
2697
+ .encode(sink);
2698
+ }
2699
+
2700
+ Inst::XmmRmRBlendVex {
2701
+ op,
2702
+ src1,
2703
+ src2,
2704
+ mask,
2705
+ dst,
2706
+ } => {
2707
+ let dst = allocs.next(dst.to_reg().to_reg());
2708
+ let src1 = allocs.next(src1.to_reg());
2709
+ let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
2710
+ RegMem::Reg { reg } => {
2711
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2712
+ }
2713
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2714
+ };
2715
+ let mask = allocs.next(mask.to_reg());
2716
+
2717
+ let opcode = match op {
2718
+ AvxOpcode::Vblendvps => 0x4A,
2719
+ AvxOpcode::Vblendvpd => 0x4B,
2720
+ AvxOpcode::Vpblendvb => 0x4C,
2721
+ _ => unreachable!(),
2722
+ };
2723
+
2724
+ VexInstruction::new()
2725
+ .length(VexVectorLength::V128)
2726
+ .prefix(LegacyPrefixes::_66)
2727
+ .map(OpcodeMap::_0F3A)
2728
+ .opcode(opcode)
2729
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2730
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
2731
+ .rm(src2)
2732
+ .imm(mask.to_real_reg().unwrap().hw_enc() << 4)
2733
+ .encode(sink);
2734
+ }
2735
+
2736
+ Inst::XmmUnaryRmRVex { op, src, dst } => {
2737
+ let dst = allocs.next(dst.to_reg().to_reg());
2738
+ let src = match src.clone().to_reg_mem().with_allocs(allocs) {
2739
+ RegMem::Reg { reg } => {
2740
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2741
+ }
2742
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2743
+ };
2744
+
2745
+ let (prefix, map, opcode) = match op {
2746
+ AvxOpcode::Vpmovsxbw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x20),
2747
+ AvxOpcode::Vpmovzxbw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x30),
2748
+ AvxOpcode::Vpmovsxwd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x23),
2749
+ AvxOpcode::Vpmovzxwd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x33),
2750
+ AvxOpcode::Vpmovsxdq => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x25),
2751
+ AvxOpcode::Vpmovzxdq => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x35),
2752
+ AvxOpcode::Vpabsb => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1C),
2753
+ AvxOpcode::Vpabsw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1D),
2754
+ AvxOpcode::Vpabsd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x1E),
2755
+ AvxOpcode::Vsqrtps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x51),
2756
+ AvxOpcode::Vsqrtpd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x51),
2757
+ AvxOpcode::Vcvtdq2pd => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0xE6),
2758
+ AvxOpcode::Vcvtdq2ps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x5B),
2759
+ AvxOpcode::Vcvtpd2ps => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x5A),
2760
+ AvxOpcode::Vcvtps2pd => (LegacyPrefixes::None, OpcodeMap::_0F, 0x5A),
2761
+ AvxOpcode::Vcvttpd2dq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0xE6),
2762
+ AvxOpcode::Vcvttps2dq => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x5B),
2763
+ AvxOpcode::Vmovdqu => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x6F),
2764
+ AvxOpcode::Vmovups => (LegacyPrefixes::None, OpcodeMap::_0F, 0x10),
2765
+ AvxOpcode::Vmovupd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x10),
2766
+
2767
+ // Note that for `vmov{s,d}` the `inst.isle` rules should
2768
+ // statically ensure that only `Amode` operands are used here.
2769
+ // Otherwise the other encodings of `vmovss` are more like
2770
+ // 2-operand instructions which this unary encoding does not
2771
+ // have.
2772
+ AvxOpcode::Vmovss => match &src {
2773
+ RegisterOrAmode::Amode(_) => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x10),
2774
+ _ => unreachable!(),
2775
+ },
2776
+ AvxOpcode::Vmovsd => match &src {
2777
+ RegisterOrAmode::Amode(_) => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x10),
2778
+ _ => unreachable!(),
2779
+ },
2780
+
2781
+ AvxOpcode::Vpbroadcastb => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x78),
2782
+ AvxOpcode::Vpbroadcastw => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x79),
2783
+ AvxOpcode::Vpbroadcastd => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x58),
2784
+ AvxOpcode::Vbroadcastss => (LegacyPrefixes::_66, OpcodeMap::_0F38, 0x18),
2785
+ AvxOpcode::Vmovddup => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x12),
2786
+
2787
+ _ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
2788
+ };
2789
+
2790
+ VexInstruction::new()
2791
+ .length(VexVectorLength::V128)
2792
+ .prefix(prefix)
2793
+ .map(map)
2794
+ .opcode(opcode)
2795
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2796
+ .rm(src)
2797
+ .encode(sink);
2798
+ }
2799
+
2800
+ Inst::XmmUnaryRmRImmVex { op, src, dst, imm } => {
2801
+ let dst = allocs.next(dst.to_reg().to_reg());
2802
+ let src = match src.clone().to_reg_mem().with_allocs(allocs) {
2803
+ RegMem::Reg { reg } => {
2804
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2805
+ }
2806
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2807
+ };
2808
+
2809
+ let (prefix, map, opcode) = match op {
2810
+ AvxOpcode::Vroundps => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x08),
2811
+ AvxOpcode::Vroundpd => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x09),
2812
+ AvxOpcode::Vpshuflw => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x70),
2813
+ AvxOpcode::Vpshufhw => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x70),
2814
+ AvxOpcode::Vpshufd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x70),
2815
+ AvxOpcode::Vroundss => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0A),
2816
+ AvxOpcode::Vroundsd => (LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x0B),
2817
+ _ => panic!("unexpected rmr_imm_vex opcode {op:?}"),
2818
+ };
2819
+
2820
+ let vex = VexInstruction::new()
2821
+ .length(VexVectorLength::V128)
2822
+ .prefix(prefix)
2823
+ .map(map)
2824
+ .opcode(opcode)
2825
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2826
+ .rm(src)
2827
+ .imm(*imm);
2828
+
2829
+ // See comments in similar block above in `XmmUnaryRmRVex` for what
2830
+ // this is doing.
2831
+ let vex = match op {
2832
+ AvxOpcode::Vroundss | AvxOpcode::Vroundsd => {
2833
+ vex.vvvv(dst.to_real_reg().unwrap().hw_enc())
2834
+ }
2835
+ _ => vex,
2836
+ };
2837
+ vex.encode(sink);
2838
+ }
2839
+
2840
+ Inst::XmmMovRMVex { op, src, dst } => {
2841
+ let src = allocs.next(src.to_reg());
2842
+ let dst = dst.with_allocs(allocs).finalize(state, sink);
2843
+
2844
+ let (prefix, map, opcode) = match op {
2845
+ AvxOpcode::Vmovdqu => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x7F),
2846
+ AvxOpcode::Vmovss => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x11),
2847
+ AvxOpcode::Vmovsd => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x11),
2848
+ AvxOpcode::Vmovups => (LegacyPrefixes::None, OpcodeMap::_0F, 0x11),
2849
+ AvxOpcode::Vmovupd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x11),
2850
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2851
+ };
2852
+ VexInstruction::new()
2853
+ .length(VexVectorLength::V128)
2854
+ .prefix(prefix)
2855
+ .map(map)
2856
+ .opcode(opcode)
2857
+ .rm(dst)
2858
+ .reg(src.to_real_reg().unwrap().hw_enc())
2859
+ .encode(sink);
2860
+ }
2861
+
2862
+ Inst::XmmMovRMImmVex { op, src, dst, imm } => {
2863
+ let src = allocs.next(src.to_reg());
2864
+ let dst = dst.with_allocs(allocs).finalize(state, sink);
2865
+
2866
+ let (w, prefix, map, opcode) = match op {
2867
+ AvxOpcode::Vpextrb => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x14),
2868
+ AvxOpcode::Vpextrw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x15),
2869
+ AvxOpcode::Vpextrd => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2870
+ AvxOpcode::Vpextrq => (true, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2871
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2872
+ };
2873
+ VexInstruction::new()
2874
+ .length(VexVectorLength::V128)
2875
+ .w(w)
2876
+ .prefix(prefix)
2877
+ .map(map)
2878
+ .opcode(opcode)
2879
+ .rm(dst)
2880
+ .reg(src.to_real_reg().unwrap().hw_enc())
2881
+ .imm(*imm)
2882
+ .encode(sink);
2883
+ }
2884
+
2885
+ Inst::XmmToGprImmVex { op, src, dst, imm } => {
2886
+ let src = allocs.next(src.to_reg());
2887
+ let dst = allocs.next(dst.to_reg().to_reg());
2888
+
2889
+ let (w, prefix, map, opcode) = match op {
2890
+ AvxOpcode::Vpextrb => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x14),
2891
+ AvxOpcode::Vpextrw => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x15),
2892
+ AvxOpcode::Vpextrd => (false, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2893
+ AvxOpcode::Vpextrq => (true, LegacyPrefixes::_66, OpcodeMap::_0F3A, 0x16),
2894
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2895
+ };
2896
+ VexInstruction::new()
2897
+ .length(VexVectorLength::V128)
2898
+ .w(w)
2899
+ .prefix(prefix)
2900
+ .map(map)
2901
+ .opcode(opcode)
2902
+ .rm(dst.to_real_reg().unwrap().hw_enc())
2903
+ .reg(src.to_real_reg().unwrap().hw_enc())
2904
+ .imm(*imm)
2905
+ .encode(sink);
2906
+ }
2907
+
2908
+ Inst::XmmToGprVex {
2909
+ op,
2910
+ src,
2911
+ dst,
2912
+ dst_size,
2913
+ } => {
2914
+ let src = allocs.next(src.to_reg());
2915
+ let dst = allocs.next(dst.to_reg().to_reg());
2916
+
2917
+ let (prefix, map, opcode) = match op {
2918
+ // vmovd/vmovq are differentiated by `w`
2919
+ AvxOpcode::Vmovd | AvxOpcode::Vmovq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x7E),
2920
+ AvxOpcode::Vmovmskps => (LegacyPrefixes::None, OpcodeMap::_0F, 0x50),
2921
+ AvxOpcode::Vmovmskpd => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x50),
2922
+ AvxOpcode::Vpmovmskb => (LegacyPrefixes::_66, OpcodeMap::_0F, 0xD7),
2923
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2924
+ };
2925
+ let w = match dst_size {
2926
+ OperandSize::Size64 => true,
2927
+ _ => false,
2928
+ };
2929
+ let mut vex = VexInstruction::new()
2930
+ .length(VexVectorLength::V128)
2931
+ .w(w)
2932
+ .prefix(prefix)
2933
+ .map(map)
2934
+ .opcode(opcode);
2935
+ vex = match op {
2936
+ // The `vmovq/vmovd` reverse the order of the destination/source
2937
+ // relative to other opcodes using this shape of instruction.
2938
+ AvxOpcode::Vmovd | AvxOpcode::Vmovq => vex
2939
+ .rm(dst.to_real_reg().unwrap().hw_enc())
2940
+ .reg(src.to_real_reg().unwrap().hw_enc()),
2941
+ _ => vex
2942
+ .rm(src.to_real_reg().unwrap().hw_enc())
2943
+ .reg(dst.to_real_reg().unwrap().hw_enc()),
2944
+ };
2945
+ vex.encode(sink);
2946
+ }
2947
+
2948
+ Inst::GprToXmmVex {
2949
+ op,
2950
+ src,
2951
+ dst,
2952
+ src_size,
2953
+ } => {
2954
+ let dst = allocs.next(dst.to_reg().to_reg());
2955
+ let src = match src.clone().to_reg_mem().with_allocs(allocs) {
2956
+ RegMem::Reg { reg } => {
2957
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
2958
+ }
2959
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
2960
+ };
2961
+
2962
+ let (prefix, map, opcode) = match op {
2963
+ // vmovd/vmovq are differentiated by `w`
2964
+ AvxOpcode::Vmovd | AvxOpcode::Vmovq => (LegacyPrefixes::_66, OpcodeMap::_0F, 0x6E),
2965
+ _ => unimplemented!("Opcode {:?} not implemented", op),
2966
+ };
2967
+ let w = match src_size {
2968
+ OperandSize::Size64 => true,
2969
+ _ => false,
2970
+ };
2971
+ VexInstruction::new()
2972
+ .length(VexVectorLength::V128)
2973
+ .w(w)
2974
+ .prefix(prefix)
2975
+ .map(map)
2976
+ .opcode(opcode)
2977
+ .rm(src)
2978
+ .reg(dst.to_real_reg().unwrap().hw_enc())
2979
+ .encode(sink);
2980
+ }
2981
+
2982
+ Inst::XmmRmREvex {
2983
+ op,
2984
+ src1,
2985
+ src2,
2986
+ dst,
2987
+ }
2988
+ | Inst::XmmRmREvex3 {
2989
+ op,
2990
+ src1: _, // `dst` reuses `src1`.
2991
+ src2: src1,
2992
+ src3: src2,
2993
+ dst,
2994
+ } => {
2995
+ let reused_src = match inst {
2996
+ Inst::XmmRmREvex3 { src1, .. } => Some(allocs.next(src1.to_reg())),
2997
+ _ => None,
2998
+ };
2999
+ let src1 = allocs.next(src1.to_reg());
3000
+ let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
3001
+ RegMem::Reg { reg } => {
3002
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
3003
+ }
3004
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
3005
+ };
3006
+ let dst = allocs.next(dst.to_reg().to_reg());
3007
+ if let Some(src1) = reused_src {
3008
+ debug_assert_eq!(src1, dst);
3009
+ }
3010
+
3011
+ let (w, opcode, map) = match op {
3012
+ Avx512Opcode::Vpermi2b => (false, 0x75, OpcodeMap::_0F38),
3013
+ Avx512Opcode::Vpmullq => (true, 0x40, OpcodeMap::_0F38),
3014
+ Avx512Opcode::Vpsraq => (true, 0xE2, OpcodeMap::_0F),
3015
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3016
+ };
3017
+ EvexInstruction::new()
3018
+ .length(EvexVectorLength::V128)
3019
+ .prefix(LegacyPrefixes::_66)
3020
+ .map(map)
3021
+ .w(w)
3022
+ .opcode(opcode)
3023
+ .tuple_type(op.tuple_type())
3024
+ .reg(dst.to_real_reg().unwrap().hw_enc())
3025
+ .vvvvv(src1.to_real_reg().unwrap().hw_enc())
3026
+ .rm(src2)
3027
+ .encode(sink);
3028
+ }
3029
+
3030
+ Inst::XmmMinMaxSeq {
3031
+ size,
3032
+ is_min,
3033
+ lhs,
3034
+ rhs,
3035
+ dst,
3036
+ } => {
3037
+ let rhs = allocs.next(rhs.to_reg());
3038
+ let lhs = allocs.next(lhs.to_reg());
3039
+ let dst = allocs.next(dst.to_reg().to_reg());
3040
+ debug_assert_eq!(rhs, dst);
3041
+
3042
+ // Generates the following sequence:
3043
+ // cmpss/cmpsd %lhs, %rhs_dst
3044
+ // jnz do_min_max
3045
+ // jp propagate_nan
3046
+ //
3047
+ // ;; ordered and equal: propagate the sign bit (for -0 vs 0):
3048
+ // {and,or}{ss,sd} %lhs, %rhs_dst
3049
+ // j done
3050
+ //
3051
+ // ;; to get the desired NaN behavior (signalling NaN transformed into a quiet NaN, the
3052
+ // ;; NaN value is returned), we add both inputs.
3053
+ // propagate_nan:
3054
+ // add{ss,sd} %lhs, %rhs_dst
3055
+ // j done
3056
+ //
3057
+ // do_min_max:
3058
+ // {min,max}{ss,sd} %lhs, %rhs_dst
3059
+ //
3060
+ // done:
3061
+ let done = sink.get_label();
3062
+ let propagate_nan = sink.get_label();
3063
+ let do_min_max = sink.get_label();
3064
+
3065
+ let (add_op, cmp_op, and_op, or_op, min_max_op) = match size {
3066
+ OperandSize::Size32 => (
3067
+ SseOpcode::Addss,
3068
+ SseOpcode::Ucomiss,
3069
+ SseOpcode::Andps,
3070
+ SseOpcode::Orps,
3071
+ if *is_min {
3072
+ SseOpcode::Minss
3073
+ } else {
3074
+ SseOpcode::Maxss
3075
+ },
3076
+ ),
3077
+ OperandSize::Size64 => (
3078
+ SseOpcode::Addsd,
3079
+ SseOpcode::Ucomisd,
3080
+ SseOpcode::Andpd,
3081
+ SseOpcode::Orpd,
3082
+ if *is_min {
3083
+ SseOpcode::Minsd
3084
+ } else {
3085
+ SseOpcode::Maxsd
3086
+ },
3087
+ ),
3088
+ _ => unreachable!(),
3089
+ };
3090
+
3091
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(lhs), dst);
3092
+ inst.emit(&[], sink, info, state);
3093
+
3094
+ one_way_jmp(sink, CC::NZ, do_min_max);
3095
+ one_way_jmp(sink, CC::P, propagate_nan);
3096
+
3097
+ // Ordered and equal. The operands are bit-identical unless they are zero
3098
+ // and negative zero. These instructions merge the sign bits in that
3099
+ // case, and are no-ops otherwise.
3100
+ let op = if *is_min { or_op } else { and_op };
3101
+ let inst = Inst::xmm_rm_r(op, RegMem::reg(lhs), Writable::from_reg(dst));
3102
+ inst.emit(&[], sink, info, state);
3103
+
3104
+ let inst = Inst::jmp_known(done);
3105
+ inst.emit(&[], sink, info, state);
3106
+
3107
+ // x86's min/max are not symmetric; if either operand is a NaN, they return the
3108
+ // read-only operand: perform an addition between the two operands, which has the
3109
+ // desired NaN propagation effects.
3110
+ sink.bind_label(propagate_nan, state.ctrl_plane_mut());
3111
+ let inst = Inst::xmm_rm_r(add_op, RegMem::reg(lhs), Writable::from_reg(dst));
3112
+ inst.emit(&[], sink, info, state);
3113
+
3114
+ one_way_jmp(sink, CC::P, done);
3115
+
3116
+ sink.bind_label(do_min_max, state.ctrl_plane_mut());
3117
+
3118
+ let inst = Inst::xmm_rm_r(min_max_op, RegMem::reg(lhs), Writable::from_reg(dst));
3119
+ inst.emit(&[], sink, info, state);
3120
+
3121
+ sink.bind_label(done, state.ctrl_plane_mut());
3122
+ }
3123
+
3124
+ Inst::XmmRmRImm {
3125
+ op,
3126
+ src1,
3127
+ src2,
3128
+ dst,
3129
+ imm,
3130
+ size,
3131
+ } => {
3132
+ let src1 = allocs.next(*src1);
3133
+ let dst = allocs.next(dst.to_reg());
3134
+ let src2 = src2.with_allocs(allocs);
3135
+ debug_assert_eq!(src1, dst);
3136
+
3137
+ let (prefix, opcode, len) = match op {
3138
+ SseOpcode::Cmpps => (LegacyPrefixes::None, 0x0FC2, 2),
3139
+ SseOpcode::Cmppd => (LegacyPrefixes::_66, 0x0FC2, 2),
3140
+ SseOpcode::Cmpss => (LegacyPrefixes::_F3, 0x0FC2, 2),
3141
+ SseOpcode::Cmpsd => (LegacyPrefixes::_F2, 0x0FC2, 2),
3142
+ SseOpcode::Insertps => (LegacyPrefixes::_66, 0x0F3A21, 3),
3143
+ SseOpcode::Palignr => (LegacyPrefixes::_66, 0x0F3A0F, 3),
3144
+ SseOpcode::Pinsrb => (LegacyPrefixes::_66, 0x0F3A20, 3),
3145
+ SseOpcode::Pinsrw => (LegacyPrefixes::_66, 0x0FC4, 2),
3146
+ SseOpcode::Pinsrd => (LegacyPrefixes::_66, 0x0F3A22, 3),
3147
+ SseOpcode::Shufps => (LegacyPrefixes::None, 0x0FC6, 2),
3148
+ SseOpcode::Pblendw => (LegacyPrefixes::_66, 0x0F3A0E, 3),
3149
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3150
+ };
3151
+ let rex = RexFlags::from(*size);
3152
+ let regs_swapped = match *op {
3153
+ // These opcodes (and not the SSE2 version of PEXTRW) flip the operand
3154
+ // encoding: `dst` in ModRM's r/m, `src` in ModRM's reg field.
3155
+ SseOpcode::Pextrb | SseOpcode::Pextrd => true,
3156
+ // The rest of the opcodes have the customary encoding: `dst` in ModRM's reg,
3157
+ // `src` in ModRM's r/m field.
3158
+ _ => false,
3159
+ };
3160
+ match src2 {
3161
+ RegMem::Reg { reg } => {
3162
+ if regs_swapped {
3163
+ emit_std_reg_reg(sink, prefix, opcode, len, reg, dst, rex);
3164
+ } else {
3165
+ emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
3166
+ }
3167
+ }
3168
+ RegMem::Mem { addr } => {
3169
+ let addr = &addr.finalize(state, sink);
3170
+ assert!(
3171
+ !regs_swapped,
3172
+ "No existing way to encode a mem argument in the ModRM r/m field."
3173
+ );
3174
+ // N.B.: bytes_at_end == 1, because of the `imm` byte below.
3175
+ emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 1);
3176
+ }
3177
+ }
3178
+ sink.put1(*imm);
3179
+ }
3180
+
3181
+ Inst::XmmUninitializedValue { .. } => {
3182
+ // This instruction format only exists to declare a register as a `def`; no code is
3183
+ // emitted.
3184
+ }
3185
+
3186
+ Inst::XmmMovRM { op, src, dst } => {
3187
+ let src = allocs.next(src.to_reg());
3188
+ let dst = dst.with_allocs(allocs);
3189
+
3190
+ let (prefix, opcode) = match op {
3191
+ SseOpcode::Movaps => (LegacyPrefixes::None, 0x0F29),
3192
+ SseOpcode::Movapd => (LegacyPrefixes::_66, 0x0F29),
3193
+ SseOpcode::Movdqu => (LegacyPrefixes::_F3, 0x0F7F),
3194
+ SseOpcode::Movss => (LegacyPrefixes::_F3, 0x0F11),
3195
+ SseOpcode::Movsd => (LegacyPrefixes::_F2, 0x0F11),
3196
+ SseOpcode::Movups => (LegacyPrefixes::None, 0x0F11),
3197
+ SseOpcode::Movupd => (LegacyPrefixes::_66, 0x0F11),
3198
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3199
+ };
3200
+ let dst = &dst.finalize(state, sink);
3201
+ emit_std_reg_mem(sink, prefix, opcode, 2, src, dst, RexFlags::clear_w(), 0);
3202
+ }
3203
+
3204
+ Inst::XmmMovRMImm { op, src, dst, imm } => {
3205
+ let src = allocs.next(src.to_reg());
3206
+ let dst = dst.with_allocs(allocs);
3207
+
3208
+ let (w, prefix, opcode) = match op {
3209
+ SseOpcode::Pextrb => (false, LegacyPrefixes::_66, 0x0F3A14),
3210
+ SseOpcode::Pextrw => (false, LegacyPrefixes::_66, 0x0F3A15),
3211
+ SseOpcode::Pextrd => (false, LegacyPrefixes::_66, 0x0F3A16),
3212
+ SseOpcode::Pextrq => (true, LegacyPrefixes::_66, 0x0F3A16),
3213
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3214
+ };
3215
+ let rex = if w {
3216
+ RexFlags::set_w()
3217
+ } else {
3218
+ RexFlags::clear_w()
3219
+ };
3220
+ let dst = &dst.finalize(state, sink);
3221
+ emit_std_reg_mem(sink, prefix, opcode, 3, src, dst, rex, 1);
3222
+ sink.put1(*imm);
3223
+ }
3224
+
3225
+ Inst::XmmToGpr {
3226
+ op,
3227
+ src,
3228
+ dst,
3229
+ dst_size,
3230
+ } => {
3231
+ let src = allocs.next(src.to_reg());
3232
+ let dst = allocs.next(dst.to_reg().to_reg());
3233
+
3234
+ let (prefix, opcode, dst_first) = match op {
3235
+ SseOpcode::Cvttss2si => (LegacyPrefixes::_F3, 0x0F2C, true),
3236
+ SseOpcode::Cvttsd2si => (LegacyPrefixes::_F2, 0x0F2C, true),
3237
+ // Movd and movq use the same opcode; the presence of the REX prefix (set below)
3238
+ // actually determines which is used.
3239
+ SseOpcode::Movd | SseOpcode::Movq => (LegacyPrefixes::_66, 0x0F7E, false),
3240
+ SseOpcode::Movmskps => (LegacyPrefixes::None, 0x0F50, true),
3241
+ SseOpcode::Movmskpd => (LegacyPrefixes::_66, 0x0F50, true),
3242
+ SseOpcode::Pmovmskb => (LegacyPrefixes::_66, 0x0FD7, true),
3243
+ _ => panic!("unexpected opcode {:?}", op),
3244
+ };
3245
+ let rex = RexFlags::from(*dst_size);
3246
+ let (src, dst) = if dst_first { (dst, src) } else { (src, dst) };
3247
+
3248
+ emit_std_reg_reg(sink, prefix, opcode, 2, src, dst, rex);
3249
+ }
3250
+
3251
+ Inst::XmmToGprImm { op, src, dst, imm } => {
3252
+ use OperandSize as OS;
3253
+
3254
+ let src = allocs.next(src.to_reg());
3255
+ let dst = allocs.next(dst.to_reg().to_reg());
3256
+
3257
+ let (prefix, opcode, opcode_bytes, dst_size, dst_first) = match op {
3258
+ SseOpcode::Pextrb => (LegacyPrefixes::_66, 0x0F3A14, 3, OS::Size32, false),
3259
+ SseOpcode::Pextrw => (LegacyPrefixes::_66, 0x0FC5, 2, OS::Size32, true),
3260
+ SseOpcode::Pextrd => (LegacyPrefixes::_66, 0x0F3A16, 3, OS::Size32, false),
3261
+ SseOpcode::Pextrq => (LegacyPrefixes::_66, 0x0F3A16, 3, OS::Size64, false),
3262
+ _ => panic!("unexpected opcode {:?}", op),
3263
+ };
3264
+ let rex = RexFlags::from(dst_size);
3265
+ let (src, dst) = if dst_first { (dst, src) } else { (src, dst) };
3266
+
3267
+ emit_std_reg_reg(sink, prefix, opcode, opcode_bytes, src, dst, rex);
3268
+ sink.put1(*imm);
3269
+ }
3270
+
3271
+ Inst::GprToXmm {
3272
+ op,
3273
+ src: src_e,
3274
+ dst: reg_g,
3275
+ src_size,
3276
+ } => {
3277
+ let reg_g = allocs.next(reg_g.to_reg().to_reg());
3278
+ let src_e = src_e.clone().to_reg_mem().with_allocs(allocs);
3279
+
3280
+ let (prefix, opcode) = match op {
3281
+ // Movd and movq use the same opcode; the presence of the REX prefix (set below)
3282
+ // actually determines which is used.
3283
+ SseOpcode::Movd | SseOpcode::Movq => (LegacyPrefixes::_66, 0x0F6E),
3284
+ _ => panic!("unexpected opcode {:?}", op),
3285
+ };
3286
+ let rex = RexFlags::from(*src_size);
3287
+ match src_e {
3288
+ RegMem::Reg { reg: reg_e } => {
3289
+ emit_std_reg_reg(sink, prefix, opcode, 2, reg_g, reg_e, rex);
3290
+ }
3291
+ RegMem::Mem { addr } => {
3292
+ let addr = &addr.finalize(state, sink);
3293
+ emit_std_reg_mem(sink, prefix, opcode, 2, reg_g, addr, rex, 0);
3294
+ }
3295
+ }
3296
+ }
3297
+
3298
+ Inst::XmmCmpRmR { op, src, dst } => {
3299
+ let dst = allocs.next(dst.to_reg());
3300
+ let src = src.clone().to_reg_mem().with_allocs(allocs);
3301
+
3302
+ let rex = RexFlags::clear_w();
3303
+ let (prefix, opcode, len) = match op {
3304
+ SseOpcode::Ptest => (LegacyPrefixes::_66, 0x0F3817, 3),
3305
+ SseOpcode::Ucomisd => (LegacyPrefixes::_66, 0x0F2E, 2),
3306
+ SseOpcode::Ucomiss => (LegacyPrefixes::None, 0x0F2E, 2),
3307
+ _ => unimplemented!("Emit xmm cmp rm r"),
3308
+ };
3309
+
3310
+ match src {
3311
+ RegMem::Reg { reg } => {
3312
+ emit_std_reg_reg(sink, prefix, opcode, len, dst, reg, rex);
3313
+ }
3314
+ RegMem::Mem { addr } => {
3315
+ let addr = &addr.finalize(state, sink);
3316
+ emit_std_reg_mem(sink, prefix, opcode, len, dst, addr, rex, 0);
3317
+ }
3318
+ }
3319
+ }
3320
+
3321
+ Inst::CvtIntToFloat {
3322
+ op,
3323
+ src1,
3324
+ src2,
3325
+ dst,
3326
+ src2_size,
3327
+ } => {
3328
+ let src1 = allocs.next(src1.to_reg());
3329
+ let dst = allocs.next(dst.to_reg().to_reg());
3330
+ assert_eq!(src1, dst);
3331
+ let src2 = src2.clone().to_reg_mem().with_allocs(allocs);
3332
+
3333
+ let (prefix, opcode) = match op {
3334
+ SseOpcode::Cvtsi2ss => (LegacyPrefixes::_F3, 0x0F2A),
3335
+ SseOpcode::Cvtsi2sd => (LegacyPrefixes::_F2, 0x0F2A),
3336
+ _ => panic!("unexpected opcode {:?}", op),
3337
+ };
3338
+ let rex = RexFlags::from(*src2_size);
3339
+ match src2 {
3340
+ RegMem::Reg { reg: src2 } => {
3341
+ emit_std_reg_reg(sink, prefix, opcode, 2, dst, src2, rex);
3342
+ }
3343
+ RegMem::Mem { addr } => {
3344
+ let addr = &addr.finalize(state, sink);
3345
+ emit_std_reg_mem(sink, prefix, opcode, 2, dst, addr, rex, 0);
3346
+ }
3347
+ }
3348
+ }
3349
+
3350
+ Inst::CvtIntToFloatVex {
3351
+ op,
3352
+ src1,
3353
+ src2,
3354
+ dst,
3355
+ src2_size,
3356
+ } => {
3357
+ let dst = allocs.next(dst.to_reg().to_reg());
3358
+ let src1 = allocs.next(src1.to_reg());
3359
+ let src2 = match src2.clone().to_reg_mem().with_allocs(allocs) {
3360
+ RegMem::Reg { reg } => {
3361
+ RegisterOrAmode::Register(reg.to_real_reg().unwrap().hw_enc().into())
3362
+ }
3363
+ RegMem::Mem { addr } => RegisterOrAmode::Amode(addr.finalize(state, sink)),
3364
+ };
3365
+
3366
+ let (prefix, map, opcode) = match op {
3367
+ AvxOpcode::Vcvtsi2ss => (LegacyPrefixes::_F3, OpcodeMap::_0F, 0x2A),
3368
+ AvxOpcode::Vcvtsi2sd => (LegacyPrefixes::_F2, OpcodeMap::_0F, 0x2A),
3369
+ _ => unimplemented!("Opcode {:?} not implemented", op),
3370
+ };
3371
+ let w = match src2_size {
3372
+ OperandSize::Size64 => true,
3373
+ _ => false,
3374
+ };
3375
+ VexInstruction::new()
3376
+ .length(VexVectorLength::V128)
3377
+ .w(w)
3378
+ .prefix(prefix)
3379
+ .map(map)
3380
+ .opcode(opcode)
3381
+ .rm(src2)
3382
+ .reg(dst.to_real_reg().unwrap().hw_enc())
3383
+ .vvvv(src1.to_real_reg().unwrap().hw_enc())
3384
+ .encode(sink);
3385
+ }
3386
+
3387
+ Inst::CvtUint64ToFloatSeq {
3388
+ dst_size,
3389
+ src,
3390
+ dst,
3391
+ tmp_gpr1,
3392
+ tmp_gpr2,
3393
+ } => {
3394
+ let src = allocs.next(src.to_reg());
3395
+ let dst = allocs.next(dst.to_reg().to_reg());
3396
+ let tmp_gpr1 = allocs.next(tmp_gpr1.to_reg().to_reg());
3397
+ let tmp_gpr2 = allocs.next(tmp_gpr2.to_reg().to_reg());
3398
+
3399
+ // Note: this sequence is specific to 64-bit mode; a 32-bit mode would require a
3400
+ // different sequence.
3401
+ //
3402
+ // Emit the following sequence:
3403
+ //
3404
+ // cmp 0, %src
3405
+ // jl handle_negative
3406
+ //
3407
+ // ;; handle positive, which can't overflow
3408
+ // cvtsi2sd/cvtsi2ss %src, %dst
3409
+ // j done
3410
+ //
3411
+ // ;; handle negative: see below for an explanation of what it's doing.
3412
+ // handle_negative:
3413
+ // mov %src, %tmp_gpr1
3414
+ // shr $1, %tmp_gpr1
3415
+ // mov %src, %tmp_gpr2
3416
+ // and $1, %tmp_gpr2
3417
+ // or %tmp_gpr1, %tmp_gpr2
3418
+ // cvtsi2sd/cvtsi2ss %tmp_gpr2, %dst
3419
+ // addsd/addss %dst, %dst
3420
+ //
3421
+ // done:
3422
+
3423
+ assert_ne!(src, tmp_gpr1);
3424
+ assert_ne!(src, tmp_gpr2);
3425
+ assert_ne!(tmp_gpr1, tmp_gpr2);
3426
+
3427
+ let handle_negative = sink.get_label();
3428
+ let done = sink.get_label();
3429
+
3430
+ // If x seen as a signed int64 is not negative, a signed-conversion will do the right
3431
+ // thing.
3432
+ // TODO use tst src, src here.
3433
+ let inst = Inst::cmp_rmi_r(OperandSize::Size64, RegMemImm::imm(0), src);
3434
+ inst.emit(&[], sink, info, state);
3435
+
3436
+ one_way_jmp(sink, CC::L, handle_negative);
3437
+
3438
+ // Handle a positive int64, which is the "easy" case: a signed conversion will do the
3439
+ // right thing.
3440
+ emit_signed_cvt(
3441
+ sink,
3442
+ info,
3443
+ state,
3444
+ src,
3445
+ Writable::from_reg(dst),
3446
+ *dst_size == OperandSize::Size64,
3447
+ );
3448
+
3449
+ let inst = Inst::jmp_known(done);
3450
+ inst.emit(&[], sink, info, state);
3451
+
3452
+ sink.bind_label(handle_negative, state.ctrl_plane_mut());
3453
+
3454
+ // Divide x by two to get it in range for the signed conversion, keep the LSB, and
3455
+ // scale it back up on the FP side.
3456
+ let inst = Inst::gen_move(Writable::from_reg(tmp_gpr1), src, types::I64);
3457
+ inst.emit(&[], sink, info, state);
3458
+
3459
+ // tmp_gpr1 := src >> 1
3460
+ let inst = Inst::shift_r(
3461
+ OperandSize::Size64,
3462
+ ShiftKind::ShiftRightLogical,
3463
+ Imm8Gpr::new(Imm8Reg::Imm8 { imm: 1 }).unwrap(),
3464
+ tmp_gpr1,
3465
+ Writable::from_reg(tmp_gpr1),
3466
+ );
3467
+ inst.emit(&[], sink, info, state);
3468
+
3469
+ let inst = Inst::gen_move(Writable::from_reg(tmp_gpr2), src, types::I64);
3470
+ inst.emit(&[], sink, info, state);
3471
+
3472
+ let inst = Inst::alu_rmi_r(
3473
+ OperandSize::Size64,
3474
+ AluRmiROpcode::And,
3475
+ RegMemImm::imm(1),
3476
+ Writable::from_reg(tmp_gpr2),
3477
+ );
3478
+ inst.emit(&[], sink, info, state);
3479
+
3480
+ let inst = Inst::alu_rmi_r(
3481
+ OperandSize::Size64,
3482
+ AluRmiROpcode::Or,
3483
+ RegMemImm::reg(tmp_gpr1),
3484
+ Writable::from_reg(tmp_gpr2),
3485
+ );
3486
+ inst.emit(&[], sink, info, state);
3487
+
3488
+ emit_signed_cvt(
3489
+ sink,
3490
+ info,
3491
+ state,
3492
+ tmp_gpr2,
3493
+ Writable::from_reg(dst),
3494
+ *dst_size == OperandSize::Size64,
3495
+ );
3496
+
3497
+ let add_op = if *dst_size == OperandSize::Size64 {
3498
+ SseOpcode::Addsd
3499
+ } else {
3500
+ SseOpcode::Addss
3501
+ };
3502
+ let inst = Inst::xmm_rm_r(add_op, RegMem::reg(dst), Writable::from_reg(dst));
3503
+ inst.emit(&[], sink, info, state);
3504
+
3505
+ sink.bind_label(done, state.ctrl_plane_mut());
3506
+ }
3507
+
3508
+ Inst::CvtFloatToSintSeq {
3509
+ src_size,
3510
+ dst_size,
3511
+ is_saturating,
3512
+ src,
3513
+ dst,
3514
+ tmp_gpr,
3515
+ tmp_xmm,
3516
+ } => {
3517
+ let src = allocs.next(src.to_reg());
3518
+ let dst = allocs.next(dst.to_reg().to_reg());
3519
+ let tmp_gpr = allocs.next(tmp_gpr.to_reg().to_reg());
3520
+ let tmp_xmm = allocs.next(tmp_xmm.to_reg().to_reg());
3521
+
3522
+ // Emits the following common sequence:
3523
+ //
3524
+ // cvttss2si/cvttsd2si %src, %dst
3525
+ // cmp %dst, 1
3526
+ // jno done
3527
+ //
3528
+ // Then, for saturating conversions:
3529
+ //
3530
+ // ;; check for NaN
3531
+ // cmpss/cmpsd %src, %src
3532
+ // jnp not_nan
3533
+ // xor %dst, %dst
3534
+ //
3535
+ // ;; positive inputs get saturated to INT_MAX; negative ones to INT_MIN, which is
3536
+ // ;; already in %dst.
3537
+ // xorpd %tmp_xmm, %tmp_xmm
3538
+ // cmpss/cmpsd %src, %tmp_xmm
3539
+ // jnb done
3540
+ // mov/movaps $INT_MAX, %dst
3541
+ //
3542
+ // done:
3543
+ //
3544
+ // Then, for non-saturating conversions:
3545
+ //
3546
+ // ;; check for NaN
3547
+ // cmpss/cmpsd %src, %src
3548
+ // jnp not_nan
3549
+ // ud2 trap BadConversionToInteger
3550
+ //
3551
+ // ;; check if INT_MIN was the correct result, against a magic constant:
3552
+ // not_nan:
3553
+ // movaps/mov $magic, %tmp_gpr
3554
+ // movq/movd %tmp_gpr, %tmp_xmm
3555
+ // cmpss/cmpsd %tmp_xmm, %src
3556
+ // jnb/jnbe $check_positive
3557
+ // ud2 trap IntegerOverflow
3558
+ //
3559
+ // ;; if positive, it was a real overflow
3560
+ // check_positive:
3561
+ // xorpd %tmp_xmm, %tmp_xmm
3562
+ // cmpss/cmpsd %src, %tmp_xmm
3563
+ // jnb done
3564
+ // ud2 trap IntegerOverflow
3565
+ //
3566
+ // done:
3567
+
3568
+ let (cast_op, cmp_op, trunc_op) = match src_size {
3569
+ OperandSize::Size64 => (SseOpcode::Movq, SseOpcode::Ucomisd, SseOpcode::Cvttsd2si),
3570
+ OperandSize::Size32 => (SseOpcode::Movd, SseOpcode::Ucomiss, SseOpcode::Cvttss2si),
3571
+ _ => unreachable!(),
3572
+ };
3573
+
3574
+ let done = sink.get_label();
3575
+
3576
+ // The truncation.
3577
+ let inst = Inst::xmm_to_gpr(trunc_op, src, Writable::from_reg(dst), *dst_size);
3578
+ inst.emit(&[], sink, info, state);
3579
+
3580
+ // Compare against 1, in case of overflow the dst operand was INT_MIN.
3581
+ let inst = Inst::cmp_rmi_r(*dst_size, RegMemImm::imm(1), dst);
3582
+ inst.emit(&[], sink, info, state);
3583
+
3584
+ one_way_jmp(sink, CC::NO, done); // no overflow => done
3585
+
3586
+ // Check for NaN.
3587
+
3588
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(src), src);
3589
+ inst.emit(&[], sink, info, state);
3590
+
3591
+ if *is_saturating {
3592
+ let not_nan = sink.get_label();
3593
+ one_way_jmp(sink, CC::NP, not_nan); // go to not_nan if not a NaN
3594
+
3595
+ // For NaN, emit 0.
3596
+ let inst = Inst::alu_rmi_r(
3597
+ *dst_size,
3598
+ AluRmiROpcode::Xor,
3599
+ RegMemImm::reg(dst),
3600
+ Writable::from_reg(dst),
3601
+ );
3602
+ inst.emit(&[], sink, info, state);
3603
+
3604
+ let inst = Inst::jmp_known(done);
3605
+ inst.emit(&[], sink, info, state);
3606
+
3607
+ sink.bind_label(not_nan, state.ctrl_plane_mut());
3608
+
3609
+ // If the input was positive, saturate to INT_MAX.
3610
+
3611
+ // Zero out tmp_xmm.
3612
+ let inst = Inst::xmm_rm_r(
3613
+ SseOpcode::Xorpd,
3614
+ RegMem::reg(tmp_xmm),
3615
+ Writable::from_reg(tmp_xmm),
3616
+ );
3617
+ inst.emit(&[], sink, info, state);
3618
+
3619
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(src), tmp_xmm);
3620
+ inst.emit(&[], sink, info, state);
3621
+
3622
+ // Jump if >= to done.
3623
+ one_way_jmp(sink, CC::NB, done);
3624
+
3625
+ // Otherwise, put INT_MAX.
3626
+ if *dst_size == OperandSize::Size64 {
3627
+ let inst = Inst::imm(
3628
+ OperandSize::Size64,
3629
+ 0x7fffffffffffffff,
3630
+ Writable::from_reg(dst),
3631
+ );
3632
+ inst.emit(&[], sink, info, state);
3633
+ } else {
3634
+ let inst = Inst::imm(OperandSize::Size32, 0x7fffffff, Writable::from_reg(dst));
3635
+ inst.emit(&[], sink, info, state);
3636
+ }
3637
+ } else {
3638
+ let inst = Inst::trap_if(CC::P, TrapCode::BadConversionToInteger);
3639
+ inst.emit(&[], sink, info, state);
3640
+
3641
+ // Check if INT_MIN was the correct result: determine the smallest floating point
3642
+ // number that would convert to INT_MIN, put it in a temporary register, and compare
3643
+ // against the src register.
3644
+ // If the src register is less (or in some cases, less-or-equal) than the threshold,
3645
+ // trap!
3646
+
3647
+ let mut no_overflow_cc = CC::NB; // >=
3648
+ let output_bits = dst_size.to_bits();
3649
+ match *src_size {
3650
+ OperandSize::Size32 => {
3651
+ let cst = Ieee32::pow2(output_bits - 1).neg().bits();
3652
+ let inst =
3653
+ Inst::imm(OperandSize::Size32, cst as u64, Writable::from_reg(tmp_gpr));
3654
+ inst.emit(&[], sink, info, state);
3655
+ }
3656
+ OperandSize::Size64 => {
3657
+ // An f64 can represent `i32::min_value() - 1` exactly with precision to spare,
3658
+ // so there are values less than -2^(N-1) that convert correctly to INT_MIN.
3659
+ let cst = if output_bits < 64 {
3660
+ no_overflow_cc = CC::NBE; // >
3661
+ Ieee64::fcvt_to_sint_negative_overflow(output_bits)
3662
+ } else {
3663
+ Ieee64::pow2(output_bits - 1).neg()
3664
+ };
3665
+ let inst =
3666
+ Inst::imm(OperandSize::Size64, cst.bits(), Writable::from_reg(tmp_gpr));
3667
+ inst.emit(&[], sink, info, state);
3668
+ }
3669
+ _ => unreachable!(),
3670
+ }
3671
+
3672
+ let inst = Inst::gpr_to_xmm(
3673
+ cast_op,
3674
+ RegMem::reg(tmp_gpr),
3675
+ *src_size,
3676
+ Writable::from_reg(tmp_xmm),
3677
+ );
3678
+ inst.emit(&[], sink, info, state);
3679
+
3680
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(tmp_xmm), src);
3681
+ inst.emit(&[], sink, info, state);
3682
+
3683
+ // no trap if src >= or > threshold
3684
+ let inst = Inst::trap_if(no_overflow_cc.invert(), TrapCode::IntegerOverflow);
3685
+ inst.emit(&[], sink, info, state);
3686
+
3687
+ // If positive, it was a real overflow.
3688
+
3689
+ // Zero out the tmp_xmm register.
3690
+ let inst = Inst::xmm_rm_r(
3691
+ SseOpcode::Xorpd,
3692
+ RegMem::reg(tmp_xmm),
3693
+ Writable::from_reg(tmp_xmm),
3694
+ );
3695
+ inst.emit(&[], sink, info, state);
3696
+
3697
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(src), tmp_xmm);
3698
+ inst.emit(&[], sink, info, state);
3699
+
3700
+ // no trap if 0 >= src
3701
+ let inst = Inst::trap_if(CC::B, TrapCode::IntegerOverflow);
3702
+ inst.emit(&[], sink, info, state);
3703
+ }
3704
+
3705
+ sink.bind_label(done, state.ctrl_plane_mut());
3706
+ }
3707
+
3708
+ Inst::CvtFloatToUintSeq {
3709
+ src_size,
3710
+ dst_size,
3711
+ is_saturating,
3712
+ src,
3713
+ dst,
3714
+ tmp_gpr,
3715
+ tmp_xmm,
3716
+ tmp_xmm2,
3717
+ } => {
3718
+ let src = allocs.next(src.to_reg());
3719
+ let dst = allocs.next(dst.to_reg().to_reg());
3720
+ let tmp_gpr = allocs.next(tmp_gpr.to_reg().to_reg());
3721
+ let tmp_xmm = allocs.next(tmp_xmm.to_reg().to_reg());
3722
+ let tmp_xmm2 = allocs.next(tmp_xmm2.to_reg().to_reg());
3723
+
3724
+ // The only difference in behavior between saturating and non-saturating is how we
3725
+ // handle errors. Emits the following sequence:
3726
+ //
3727
+ // movaps/mov 2**(int_width - 1), %tmp_gpr
3728
+ // movq/movd %tmp_gpr, %tmp_xmm
3729
+ // cmpss/cmpsd %tmp_xmm, %src
3730
+ // jnb is_large
3731
+ //
3732
+ // ;; check for NaN inputs
3733
+ // jnp not_nan
3734
+ // -- non-saturating: ud2 trap BadConversionToInteger
3735
+ // -- saturating: xor %dst, %dst; j done
3736
+ //
3737
+ // not_nan:
3738
+ // cvttss2si/cvttsd2si %src, %dst
3739
+ // cmp 0, %dst
3740
+ // jnl done
3741
+ // -- non-saturating: ud2 trap IntegerOverflow
3742
+ // -- saturating: xor %dst, %dst; j done
3743
+ //
3744
+ // is_large:
3745
+ // mov %src, %tmp_xmm2
3746
+ // subss/subsd %tmp_xmm, %tmp_xmm2
3747
+ // cvttss2si/cvttss2sd %tmp_x, %dst
3748
+ // cmp 0, %dst
3749
+ // jnl next_is_large
3750
+ // -- non-saturating: ud2 trap IntegerOverflow
3751
+ // -- saturating: movaps $UINT_MAX, %dst; j done
3752
+ //
3753
+ // next_is_large:
3754
+ // add 2**(int_width -1), %dst ;; 2 instructions for 64-bits integers
3755
+ //
3756
+ // done:
3757
+
3758
+ assert_ne!(tmp_xmm, src, "tmp_xmm clobbers src!");
3759
+
3760
+ let (sub_op, cast_op, cmp_op, trunc_op) = match src_size {
3761
+ OperandSize::Size32 => (
3762
+ SseOpcode::Subss,
3763
+ SseOpcode::Movd,
3764
+ SseOpcode::Ucomiss,
3765
+ SseOpcode::Cvttss2si,
3766
+ ),
3767
+ OperandSize::Size64 => (
3768
+ SseOpcode::Subsd,
3769
+ SseOpcode::Movq,
3770
+ SseOpcode::Ucomisd,
3771
+ SseOpcode::Cvttsd2si,
3772
+ ),
3773
+ _ => unreachable!(),
3774
+ };
3775
+
3776
+ let done = sink.get_label();
3777
+
3778
+ let cst = match src_size {
3779
+ OperandSize::Size32 => Ieee32::pow2(dst_size.to_bits() - 1).bits() as u64,
3780
+ OperandSize::Size64 => Ieee64::pow2(dst_size.to_bits() - 1).bits(),
3781
+ _ => unreachable!(),
3782
+ };
3783
+
3784
+ let inst = Inst::imm(*src_size, cst, Writable::from_reg(tmp_gpr));
3785
+ inst.emit(&[], sink, info, state);
3786
+
3787
+ let inst = Inst::gpr_to_xmm(
3788
+ cast_op,
3789
+ RegMem::reg(tmp_gpr),
3790
+ *src_size,
3791
+ Writable::from_reg(tmp_xmm),
3792
+ );
3793
+ inst.emit(&[], sink, info, state);
3794
+
3795
+ let inst = Inst::xmm_cmp_rm_r(cmp_op, RegMem::reg(tmp_xmm), src);
3796
+ inst.emit(&[], sink, info, state);
3797
+
3798
+ let handle_large = sink.get_label();
3799
+ one_way_jmp(sink, CC::NB, handle_large); // jump to handle_large if src >= large_threshold
3800
+
3801
+ if *is_saturating {
3802
+ // If not NaN jump over this 0-return, otherwise return 0
3803
+ let not_nan = sink.get_label();
3804
+ one_way_jmp(sink, CC::NP, not_nan);
3805
+ let inst = Inst::alu_rmi_r(
3806
+ *dst_size,
3807
+ AluRmiROpcode::Xor,
3808
+ RegMemImm::reg(dst),
3809
+ Writable::from_reg(dst),
3810
+ );
3811
+ inst.emit(&[], sink, info, state);
3812
+
3813
+ let inst = Inst::jmp_known(done);
3814
+ inst.emit(&[], sink, info, state);
3815
+ sink.bind_label(not_nan, state.ctrl_plane_mut());
3816
+ } else {
3817
+ // Trap.
3818
+ let inst = Inst::trap_if(CC::P, TrapCode::BadConversionToInteger);
3819
+ inst.emit(&[], sink, info, state);
3820
+ }
3821
+
3822
+ // Actual truncation for small inputs: if the result is not positive, then we had an
3823
+ // overflow.
3824
+
3825
+ let inst = Inst::xmm_to_gpr(trunc_op, src, Writable::from_reg(dst), *dst_size);
3826
+ inst.emit(&[], sink, info, state);
3827
+
3828
+ let inst = Inst::cmp_rmi_r(*dst_size, RegMemImm::imm(0), dst);
3829
+ inst.emit(&[], sink, info, state);
3830
+
3831
+ one_way_jmp(sink, CC::NL, done); // if dst >= 0, jump to done
3832
+
3833
+ if *is_saturating {
3834
+ // The input was "small" (< 2**(width -1)), so the only way to get an integer
3835
+ // overflow is because the input was too small: saturate to the min value, i.e. 0.
3836
+ let inst = Inst::alu_rmi_r(
3837
+ *dst_size,
3838
+ AluRmiROpcode::Xor,
3839
+ RegMemImm::reg(dst),
3840
+ Writable::from_reg(dst),
3841
+ );
3842
+ inst.emit(&[], sink, info, state);
3843
+
3844
+ let inst = Inst::jmp_known(done);
3845
+ inst.emit(&[], sink, info, state);
3846
+ } else {
3847
+ // Trap.
3848
+ let inst = Inst::trap(TrapCode::IntegerOverflow);
3849
+ inst.emit(&[], sink, info, state);
3850
+ }
3851
+
3852
+ // Now handle large inputs.
3853
+
3854
+ sink.bind_label(handle_large, state.ctrl_plane_mut());
3855
+
3856
+ let inst = Inst::gen_move(Writable::from_reg(tmp_xmm2), src, types::F64);
3857
+ inst.emit(&[], sink, info, state);
3858
+
3859
+ let inst = Inst::xmm_rm_r(sub_op, RegMem::reg(tmp_xmm), Writable::from_reg(tmp_xmm2));
3860
+ inst.emit(&[], sink, info, state);
3861
+
3862
+ let inst = Inst::xmm_to_gpr(trunc_op, tmp_xmm2, Writable::from_reg(dst), *dst_size);
3863
+ inst.emit(&[], sink, info, state);
3864
+
3865
+ let inst = Inst::cmp_rmi_r(*dst_size, RegMemImm::imm(0), dst);
3866
+ inst.emit(&[], sink, info, state);
3867
+
3868
+ if *is_saturating {
3869
+ let next_is_large = sink.get_label();
3870
+ one_way_jmp(sink, CC::NL, next_is_large); // if dst >= 0, jump to next_is_large
3871
+
3872
+ // The input was "large" (>= 2**(width -1)), so the only way to get an integer
3873
+ // overflow is because the input was too large: saturate to the max value.
3874
+ let inst = Inst::imm(
3875
+ OperandSize::Size64,
3876
+ if *dst_size == OperandSize::Size64 {
3877
+ u64::max_value()
3878
+ } else {
3879
+ u32::max_value() as u64
3880
+ },
3881
+ Writable::from_reg(dst),
3882
+ );
3883
+ inst.emit(&[], sink, info, state);
3884
+
3885
+ let inst = Inst::jmp_known(done);
3886
+ inst.emit(&[], sink, info, state);
3887
+ sink.bind_label(next_is_large, state.ctrl_plane_mut());
3888
+ } else {
3889
+ let inst = Inst::trap_if(CC::L, TrapCode::IntegerOverflow);
3890
+ inst.emit(&[], sink, info, state);
3891
+ }
3892
+
3893
+ if *dst_size == OperandSize::Size64 {
3894
+ let inst = Inst::imm(OperandSize::Size64, 1 << 63, Writable::from_reg(tmp_gpr));
3895
+ inst.emit(&[], sink, info, state);
3896
+
3897
+ let inst = Inst::alu_rmi_r(
3898
+ OperandSize::Size64,
3899
+ AluRmiROpcode::Add,
3900
+ RegMemImm::reg(tmp_gpr),
3901
+ Writable::from_reg(dst),
3902
+ );
3903
+ inst.emit(&[], sink, info, state);
3904
+ } else {
3905
+ let inst = Inst::alu_rmi_r(
3906
+ OperandSize::Size32,
3907
+ AluRmiROpcode::Add,
3908
+ RegMemImm::imm(1 << 31),
3909
+ Writable::from_reg(dst),
3910
+ );
3911
+ inst.emit(&[], sink, info, state);
3912
+ }
3913
+
3914
+ sink.bind_label(done, state.ctrl_plane_mut());
3915
+ }
3916
+
3917
+ Inst::LoadExtName {
3918
+ dst,
3919
+ name,
3920
+ offset,
3921
+ distance,
3922
+ } => {
3923
+ let dst = allocs.next(dst.to_reg());
3924
+
3925
+ if info.flags.is_pic() {
3926
+ // Generates: movq symbol@GOTPCREL(%rip), %dst
3927
+ let enc_dst = int_reg_enc(dst);
3928
+ sink.put1(0x48 | ((enc_dst >> 3) & 1) << 2);
3929
+ sink.put1(0x8B);
3930
+ sink.put1(0x05 | ((enc_dst & 7) << 3));
3931
+ emit_reloc(sink, Reloc::X86GOTPCRel4, name, -4);
3932
+ sink.put4(0);
3933
+ // Offset in the relocation above applies to the address of the *GOT entry*, not
3934
+ // the loaded address; so we emit a separate add or sub instruction if needed.
3935
+ if *offset < 0 {
3936
+ assert!(*offset >= -i32::MAX as i64);
3937
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
3938
+ sink.put1(0x81);
3939
+ sink.put1(0xe8 | (enc_dst & 7));
3940
+ sink.put4((-*offset) as u32);
3941
+ } else if *offset > 0 {
3942
+ assert!(*offset <= i32::MAX as i64);
3943
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
3944
+ sink.put1(0x81);
3945
+ sink.put1(0xc0 | (enc_dst & 7));
3946
+ sink.put4(*offset as u32);
3947
+ }
3948
+ } else if distance == &RelocDistance::Near {
3949
+ // If we know the distance to the name is within 2GB (e.g., a module-local function),
3950
+ // we can generate a RIP-relative address, with a relocation.
3951
+ // Generates: lea $name(%rip), $dst
3952
+ let enc_dst = int_reg_enc(dst);
3953
+ sink.put1(0x48 | ((enc_dst >> 3) & 1) << 2);
3954
+ sink.put1(0x8D);
3955
+ sink.put1(0x05 | ((enc_dst & 7) << 3));
3956
+ emit_reloc(sink, Reloc::X86CallPCRel4, name, -4);
3957
+ sink.put4(0);
3958
+ } else {
3959
+ // The full address can be encoded in the register, with a relocation.
3960
+ // Generates: movabsq $name, %dst
3961
+ let enc_dst = int_reg_enc(dst);
3962
+ sink.put1(0x48 | ((enc_dst >> 3) & 1));
3963
+ sink.put1(0xB8 | (enc_dst & 7));
3964
+ emit_reloc(sink, Reloc::Abs8, name, *offset);
3965
+ sink.put8(0);
3966
+ }
3967
+ }
3968
+
3969
+ Inst::LockCmpxchg {
3970
+ ty,
3971
+ replacement,
3972
+ expected,
3973
+ mem,
3974
+ dst_old,
3975
+ } => {
3976
+ let replacement = allocs.next(*replacement);
3977
+ let expected = allocs.next(*expected);
3978
+ let dst_old = allocs.next(dst_old.to_reg());
3979
+ let mem = mem.with_allocs(allocs);
3980
+
3981
+ debug_assert_eq!(expected, regs::rax());
3982
+ debug_assert_eq!(dst_old, regs::rax());
3983
+
3984
+ // lock cmpxchg{b,w,l,q} %replacement, (mem)
3985
+ // Note that 0xF0 is the Lock prefix.
3986
+ let (prefix, opcodes) = match *ty {
3987
+ types::I8 => (LegacyPrefixes::_F0, 0x0FB0),
3988
+ types::I16 => (LegacyPrefixes::_66F0, 0x0FB1),
3989
+ types::I32 => (LegacyPrefixes::_F0, 0x0FB1),
3990
+ types::I64 => (LegacyPrefixes::_F0, 0x0FB1),
3991
+ _ => unreachable!(),
3992
+ };
3993
+ let rex = RexFlags::from((OperandSize::from_ty(*ty), replacement));
3994
+ let amode = mem.finalize(state, sink);
3995
+ emit_std_reg_mem(sink, prefix, opcodes, 2, replacement, &amode, rex, 0);
3996
+ }
3997
+
3998
+ Inst::AtomicRmwSeq {
3999
+ ty,
4000
+ op,
4001
+ mem,
4002
+ operand,
4003
+ temp,
4004
+ dst_old,
4005
+ } => {
4006
+ let operand = allocs.next(*operand);
4007
+ let temp = allocs.next_writable(*temp);
4008
+ let dst_old = allocs.next_writable(*dst_old);
4009
+ debug_assert_eq!(dst_old.to_reg(), regs::rax());
4010
+ let mem = mem.finalize(state, sink).with_allocs(allocs);
4011
+
4012
+ // Emit this:
4013
+ // mov{zbq,zwq,zlq,q} (%r_address), %rax // rax = old value
4014
+ // again:
4015
+ // movq %rax, %r_temp // rax = old value, r_temp = old value
4016
+ // `op`q %r_operand, %r_temp // rax = old value, r_temp = new value
4017
+ // lock cmpxchg{b,w,l,q} %r_temp, (%r_address) // try to store new value
4018
+ // jnz again // If this is taken, rax will have a "revised" old value
4019
+ //
4020
+ // Operand conventions: IN: %r_address, %r_operand OUT: %rax (old
4021
+ // value), %r_temp (trashed), %rflags (trashed)
4022
+ //
4023
+ // In the case where the operation is 'xchg', the "`op`q"
4024
+ // instruction is instead: movq %r_operand,
4025
+ // %r_temp so that we simply write in the destination, the "2nd
4026
+ // arg for `op`".
4027
+ //
4028
+ // TODO: this sequence can be significantly improved (e.g., to `lock
4029
+ // <op>`) when it is known that `dst_old` is not used later, see
4030
+ // https://github.com/bytecodealliance/wasmtime/issues/2153.
4031
+ let again_label = sink.get_label();
4032
+
4033
+ // mov{zbq,zwq,zlq,q} (%r_address), %rax
4034
+ // No need to call `add_trap` here, since the `i1` emit will do that.
4035
+ let i1 = Inst::load(*ty, mem.clone(), dst_old, ExtKind::ZeroExtend);
4036
+ i1.emit(&[], sink, info, state);
4037
+
4038
+ // again:
4039
+ sink.bind_label(again_label, state.ctrl_plane_mut());
4040
+
4041
+ // movq %rax, %r_temp
4042
+ let i2 = Inst::mov_r_r(OperandSize::Size64, dst_old.to_reg(), temp);
4043
+ i2.emit(&[], sink, info, state);
4044
+
4045
+ let operand_rmi = RegMemImm::reg(operand);
4046
+ use inst_common::MachAtomicRmwOp as RmwOp;
4047
+ match op {
4048
+ RmwOp::Xchg => {
4049
+ // movq %r_operand, %r_temp
4050
+ let i3 = Inst::mov_r_r(OperandSize::Size64, operand, temp);
4051
+ i3.emit(&[], sink, info, state);
4052
+ }
4053
+ RmwOp::Nand => {
4054
+ // andq %r_operand, %r_temp
4055
+ let i3 =
4056
+ Inst::alu_rmi_r(OperandSize::Size64, AluRmiROpcode::And, operand_rmi, temp);
4057
+ i3.emit(&[], sink, info, state);
4058
+
4059
+ // notq %r_temp
4060
+ let i4 = Inst::not(OperandSize::Size64, temp);
4061
+ i4.emit(&[], sink, info, state);
4062
+ }
4063
+ RmwOp::Umin | RmwOp::Umax | RmwOp::Smin | RmwOp::Smax => {
4064
+ // cmp %r_temp, %r_operand
4065
+ let i3 = Inst::cmp_rmi_r(
4066
+ OperandSize::from_ty(*ty),
4067
+ RegMemImm::reg(temp.to_reg()),
4068
+ operand,
4069
+ );
4070
+ i3.emit(&[], sink, info, state);
4071
+
4072
+ // cmovcc %r_operand, %r_temp
4073
+ let cc = match op {
4074
+ RmwOp::Umin => CC::BE,
4075
+ RmwOp::Umax => CC::NB,
4076
+ RmwOp::Smin => CC::LE,
4077
+ RmwOp::Smax => CC::NL,
4078
+ _ => unreachable!(),
4079
+ };
4080
+ let i4 = Inst::cmove(OperandSize::Size64, cc, RegMem::reg(operand), temp);
4081
+ i4.emit(&[], sink, info, state);
4082
+ }
4083
+ _ => {
4084
+ // opq %r_operand, %r_temp
4085
+ let alu_op = match op {
4086
+ RmwOp::Add => AluRmiROpcode::Add,
4087
+ RmwOp::Sub => AluRmiROpcode::Sub,
4088
+ RmwOp::And => AluRmiROpcode::And,
4089
+ RmwOp::Or => AluRmiROpcode::Or,
4090
+ RmwOp::Xor => AluRmiROpcode::Xor,
4091
+ RmwOp::Xchg
4092
+ | RmwOp::Nand
4093
+ | RmwOp::Umin
4094
+ | RmwOp::Umax
4095
+ | RmwOp::Smin
4096
+ | RmwOp::Smax => unreachable!(),
4097
+ };
4098
+ let i3 = Inst::alu_rmi_r(OperandSize::Size64, alu_op, operand_rmi, temp);
4099
+ i3.emit(&[], sink, info, state);
4100
+ }
4101
+ }
4102
+
4103
+ // lock cmpxchg{b,w,l,q} %r_temp, (%r_address)
4104
+ // No need to call `add_trap` here, since the `i4` emit will do that.
4105
+ let i4 = Inst::LockCmpxchg {
4106
+ ty: *ty,
4107
+ replacement: temp.to_reg(),
4108
+ expected: dst_old.to_reg(),
4109
+ mem: mem.into(),
4110
+ dst_old,
4111
+ };
4112
+ i4.emit(&[], sink, info, state);
4113
+
4114
+ // jnz again
4115
+ one_way_jmp(sink, CC::NZ, again_label);
4116
+ }
4117
+
4118
+ Inst::Fence { kind } => {
4119
+ sink.put1(0x0F);
4120
+ sink.put1(0xAE);
4121
+ match kind {
4122
+ FenceKind::MFence => sink.put1(0xF0), // mfence = 0F AE F0
4123
+ FenceKind::LFence => sink.put1(0xE8), // lfence = 0F AE E8
4124
+ FenceKind::SFence => sink.put1(0xF8), // sfence = 0F AE F8
4125
+ }
4126
+ }
4127
+
4128
+ Inst::Hlt => {
4129
+ sink.put1(0xcc);
4130
+ }
4131
+
4132
+ Inst::Ud2 { trap_code } => {
4133
+ sink.add_trap(*trap_code);
4134
+ if let Some(s) = state.take_stack_map() {
4135
+ sink.add_stack_map(StackMapExtent::UpcomingBytes(2), s);
4136
+ }
4137
+ sink.put_data(Inst::TRAP_OPCODE);
4138
+ }
4139
+
4140
+ Inst::VirtualSPOffsetAdj { offset } => {
4141
+ state.adjust_virtual_sp_offset(*offset);
4142
+ }
4143
+
4144
+ Inst::Nop { len } => {
4145
+ // These encodings can all be found in Intel's architecture manual, at the NOP
4146
+ // instruction description.
4147
+ let mut len = *len;
4148
+ while len != 0 {
4149
+ let emitted = u8::min(len, 9);
4150
+ match emitted {
4151
+ 0 => {}
4152
+ 1 => sink.put1(0x90), // NOP
4153
+ 2 => {
4154
+ // 66 NOP
4155
+ sink.put1(0x66);
4156
+ sink.put1(0x90);
4157
+ }
4158
+ 3 => {
4159
+ // NOP [EAX]
4160
+ sink.put1(0x0F);
4161
+ sink.put1(0x1F);
4162
+ sink.put1(0x00);
4163
+ }
4164
+ 4 => {
4165
+ // NOP 0(EAX), with 0 a 1-byte immediate.
4166
+ sink.put1(0x0F);
4167
+ sink.put1(0x1F);
4168
+ sink.put1(0x40);
4169
+ sink.put1(0x00);
4170
+ }
4171
+ 5 => {
4172
+ // NOP [EAX, EAX, 1]
4173
+ sink.put1(0x0F);
4174
+ sink.put1(0x1F);
4175
+ sink.put1(0x44);
4176
+ sink.put1(0x00);
4177
+ sink.put1(0x00);
4178
+ }
4179
+ 6 => {
4180
+ // 66 NOP [EAX, EAX, 1]
4181
+ sink.put1(0x66);
4182
+ sink.put1(0x0F);
4183
+ sink.put1(0x1F);
4184
+ sink.put1(0x44);
4185
+ sink.put1(0x00);
4186
+ sink.put1(0x00);
4187
+ }
4188
+ 7 => {
4189
+ // NOP 0[EAX], but 0 is a 4 bytes immediate.
4190
+ sink.put1(0x0F);
4191
+ sink.put1(0x1F);
4192
+ sink.put1(0x80);
4193
+ sink.put1(0x00);
4194
+ sink.put1(0x00);
4195
+ sink.put1(0x00);
4196
+ sink.put1(0x00);
4197
+ }
4198
+ 8 => {
4199
+ // NOP 0[EAX, EAX, 1], with 0 a 4 bytes immediate.
4200
+ sink.put1(0x0F);
4201
+ sink.put1(0x1F);
4202
+ sink.put1(0x84);
4203
+ sink.put1(0x00);
4204
+ sink.put1(0x00);
4205
+ sink.put1(0x00);
4206
+ sink.put1(0x00);
4207
+ sink.put1(0x00);
4208
+ }
4209
+ 9 => {
4210
+ // 66 NOP 0[EAX, EAX, 1], with 0 a 4 bytes immediate.
4211
+ sink.put1(0x66);
4212
+ sink.put1(0x0F);
4213
+ sink.put1(0x1F);
4214
+ sink.put1(0x84);
4215
+ sink.put1(0x00);
4216
+ sink.put1(0x00);
4217
+ sink.put1(0x00);
4218
+ sink.put1(0x00);
4219
+ sink.put1(0x00);
4220
+ }
4221
+ _ => unreachable!(),
4222
+ }
4223
+ len -= emitted;
4224
+ }
4225
+ }
4226
+
4227
+ Inst::ElfTlsGetAddr { ref symbol, dst } => {
4228
+ let dst = allocs.next(dst.to_reg().to_reg());
4229
+ debug_assert_eq!(dst, regs::rax());
4230
+
4231
+ // N.B.: Must be exactly this byte sequence; the linker requires it,
4232
+ // because it must know how to rewrite the bytes.
4233
+
4234
+ // data16 lea gv@tlsgd(%rip),%rdi
4235
+ sink.put1(0x66); // data16
4236
+ sink.put1(0b01001000); // REX.W
4237
+ sink.put1(0x8d); // LEA
4238
+ sink.put1(0x3d); // ModRM byte
4239
+ emit_reloc(sink, Reloc::ElfX86_64TlsGd, symbol, -4);
4240
+ sink.put4(0); // offset
4241
+
4242
+ // data16 data16 callq __tls_get_addr-4
4243
+ sink.put1(0x66); // data16
4244
+ sink.put1(0x66); // data16
4245
+ sink.put1(0b01001000); // REX.W
4246
+ sink.put1(0xe8); // CALL
4247
+ emit_reloc(
4248
+ sink,
4249
+ Reloc::X86CallPLTRel4,
4250
+ &ExternalName::LibCall(LibCall::ElfTlsGetAddr),
4251
+ -4,
4252
+ );
4253
+ sink.put4(0); // offset
4254
+ }
4255
+
4256
+ Inst::MachOTlsGetAddr { ref symbol, dst } => {
4257
+ let dst = allocs.next(dst.to_reg().to_reg());
4258
+ debug_assert_eq!(dst, regs::rax());
4259
+
4260
+ // movq gv@tlv(%rip), %rdi
4261
+ sink.put1(0x48); // REX.w
4262
+ sink.put1(0x8b); // MOV
4263
+ sink.put1(0x3d); // ModRM byte
4264
+ emit_reloc(sink, Reloc::MachOX86_64Tlv, symbol, -4);
4265
+ sink.put4(0); // offset
4266
+
4267
+ // callq *(%rdi)
4268
+ sink.put1(0xff);
4269
+ sink.put1(0x17);
4270
+ }
4271
+
4272
+ Inst::CoffTlsGetAddr {
4273
+ ref symbol,
4274
+ dst,
4275
+ tmp,
4276
+ } => {
4277
+ let dst = allocs.next(dst.to_reg().to_reg());
4278
+ debug_assert_eq!(dst, regs::rax());
4279
+
4280
+ // tmp is used below directly as %rcx
4281
+ let tmp = allocs.next(tmp.to_reg().to_reg());
4282
+ debug_assert_eq!(tmp, regs::rcx());
4283
+
4284
+ // See: https://gcc.godbolt.org/z/M8or9x6ss
4285
+ // And: https://github.com/bjorn3/rustc_codegen_cranelift/issues/388#issuecomment-532930282
4286
+
4287
+ // Emit the following sequence
4288
+ // movl (%rip), %eax ; IMAGE_REL_AMD64_REL32 _tls_index
4289
+ // movq %gs:88, %rcx
4290
+ // movq (%rcx,%rax,8), %rax
4291
+ // leaq (%rax), %rax ; Reloc: IMAGE_REL_AMD64_SECREL symbol
4292
+
4293
+ // Load TLS index for current thread
4294
+ // movl (%rip), %eax
4295
+ sink.put1(0x8b); // mov
4296
+ sink.put1(0x05);
4297
+ emit_reloc(
4298
+ sink,
4299
+ Reloc::X86PCRel4,
4300
+ &ExternalName::KnownSymbol(KnownSymbol::CoffTlsIndex),
4301
+ -4,
4302
+ );
4303
+ sink.put4(0); // offset
4304
+
4305
+ // movq %gs:88, %rcx
4306
+ // Load the TLS Storage Array pointer
4307
+ // The gs segment register refers to the base address of the TEB on x64.
4308
+ // 0x58 is the offset in the TEB for the ThreadLocalStoragePointer member on x64:
4309
+ sink.put_data(&[
4310
+ 0x65, 0x48, // REX.W
4311
+ 0x8b, // MOV
4312
+ 0x0c, 0x25, 0x58, // 0x58 - ThreadLocalStoragePointer offset
4313
+ 0x00, 0x00, 0x00,
4314
+ ]);
4315
+
4316
+ // movq (%rcx,%rax,8), %rax
4317
+ // Load the actual TLS entry for this thread.
4318
+ // Computes ThreadLocalStoragePointer + _tls_index*8
4319
+ sink.put_data(&[0x48, 0x8b, 0x04, 0xc1]);
4320
+
4321
+ // leaq (%rax), %rax
4322
+ sink.put1(0x48);
4323
+ sink.put1(0x8d);
4324
+ sink.put1(0x80);
4325
+ emit_reloc(sink, Reloc::X86SecRel, symbol, 0);
4326
+ sink.put4(0); // offset
4327
+ }
4328
+
4329
+ Inst::Unwind { ref inst } => {
4330
+ sink.add_unwind(inst.clone());
4331
+ }
4332
+
4333
+ Inst::DummyUse { .. } => {
4334
+ // Nothing.
4335
+ }
4336
+ }
4337
+
4338
+ state.clear_post_insn();
4339
+ }
4340
+
4341
+ /// Emit the common sequence used for both direct and indirect tail calls:
4342
+ ///
4343
+ /// * Copy the new frame's stack arguments over the top of our current frame.
4344
+ ///
4345
+ /// * Restore the old frame pointer.
4346
+ ///
4347
+ /// * Initialize the tail callee's stack pointer (simultaneously deallocating
4348
+ /// the temporary stack space we allocated when creating the new frame's stack
4349
+ /// arguments).
4350
+ ///
4351
+ /// * Move the return address into its stack slot.
4352
+ fn emit_return_call_common_sequence(
4353
+ allocs: &mut AllocationConsumer<'_>,
4354
+ sink: &mut MachBuffer<Inst>,
4355
+ info: &EmitInfo,
4356
+ state: &mut EmitState,
4357
+ uses: &CallArgList,
4358
+ ) {
4359
+ assert!(
4360
+ info.flags.preserve_frame_pointers(),
4361
+ "frame pointers aren't fundamentally required for tail calls, \
4362
+ but the current implementation relies on them being present"
4363
+ );
4364
+
4365
+ for u in uses {
4366
+ let _ = allocs.next(u.vreg);
4367
+ }
4368
+
4369
+ for inst in
4370
+ X64ABIMachineSpec::gen_clobber_restore(CallConv::Tail, &info.flags, state.frame_layout())
4371
+ {
4372
+ inst.emit(&[], sink, info, state);
4373
+ }
4374
+
4375
+ for inst in X64ABIMachineSpec::gen_epilogue_frame_restore(
4376
+ CallConv::Tail,
4377
+ &info.flags,
4378
+ &info.isa_flags,
4379
+ state.frame_layout(),
4380
+ ) {
4381
+ inst.emit(&[], sink, info, state);
4382
+ }
4383
+ }