wasmtime 20.0.2 → 21.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2089) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +129 -124
  3. data/ext/Cargo.toml +8 -6
  4. data/ext/cargo-vendor/cobs-0.2.3/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cobs-0.2.3/Cargo.toml +39 -0
  6. data/ext/cargo-vendor/cobs-0.2.3/LICENSE-APACHE +202 -0
  7. data/ext/cargo-vendor/cobs-0.2.3/LICENSE-MIT +19 -0
  8. data/ext/cargo-vendor/cobs-0.2.3/README.md +23 -0
  9. data/ext/cargo-vendor/cobs-0.2.3/src/dec.rs +360 -0
  10. data/ext/cargo-vendor/cobs-0.2.3/src/enc.rs +216 -0
  11. data/ext/cargo-vendor/cobs-0.2.3/src/lib.rs +14 -0
  12. data/ext/cargo-vendor/cobs-0.2.3/tests/test.rs +265 -0
  13. data/ext/cargo-vendor/cranelift-bforest-0.108.1/.cargo-checksum.json +1 -0
  14. data/ext/cargo-vendor/cranelift-bforest-0.108.1/Cargo.toml +40 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.108.1/.cargo-checksum.json +1 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.108.1/Cargo.toml +189 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.108.1/build.rs +266 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/alias_analysis.rs +403 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/context.rs +395 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ctxhash.rs +167 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph/elaborate.rs +835 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/egraph.rs +839 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/incremental_cache.rs +256 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ir/instructions.rs +1020 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/abi.rs +1580 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/args.rs +721 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit.rs +3846 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/emit_tests.rs +7902 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/imms.rs +1213 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/mod.rs +3094 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst/regs.rs +288 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/inst.isle +4225 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/lower/isle.rs +810 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/aarch64/pcc.rs +568 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/mod.rs +449 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/abi.rs +1051 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/args.rs +1938 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit.rs +2681 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/emit_tests.rs +2197 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/mod.rs +1975 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/regs.rs +168 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst/vector.rs +1144 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/inst.isle +2969 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower/isle.rs +625 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/riscv64/lower.isle +2883 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/abi.rs +1037 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/args.rs +314 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/emit.rs +3646 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/imms.rs +202 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/mod.rs +3421 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/s390x/inst/regs.rs +180 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/abi.rs +1410 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/args.rs +2256 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit.rs +4311 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/emit_tests.rs +5171 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/mod.rs +2838 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst/regs.rs +276 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/inst.isle +5294 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower/isle.rs +1064 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.isle +4808 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/lower.rs +337 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/isa/x64/pcc.rs +1014 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/lib.rs +106 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/abi.rs +2506 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/blockorder.rs +465 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/isle.rs +903 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/lower.rs +1432 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/mod.rs +555 -0
  69. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/reg.rs +522 -0
  70. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/valueregs.rs +138 -0
  71. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/machinst/vcode.rs +1741 -0
  72. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/nan_canonicalization.rs +130 -0
  73. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/arithmetic.isle +240 -0
  74. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/opts/icmp.isle +215 -0
  75. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/ranges.rs +131 -0
  76. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/remove_constant_phis.rs +419 -0
  77. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/scoped_hash_map.rs +310 -0
  78. data/ext/cargo-vendor/cranelift-codegen-0.108.1/src/settings.rs +590 -0
  79. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/.cargo-checksum.json +1 -0
  80. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/Cargo.toml +35 -0
  81. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_inst.rs +1278 -0
  82. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_isle.rs +519 -0
  83. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_settings.rs +508 -0
  84. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/gen_types.rs +75 -0
  85. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/riscv64.rs +168 -0
  86. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isa/x86.rs +414 -0
  87. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/isle.rs +126 -0
  88. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/lib.rs +98 -0
  89. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/shared/settings.rs +348 -0
  90. data/ext/cargo-vendor/cranelift-codegen-meta-0.108.1/src/srcgen.rs +464 -0
  91. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/.cargo-checksum.json +1 -0
  92. data/ext/cargo-vendor/cranelift-codegen-shared-0.108.1/Cargo.toml +22 -0
  93. data/ext/cargo-vendor/cranelift-control-0.108.1/.cargo-checksum.json +1 -0
  94. data/ext/cargo-vendor/cranelift-control-0.108.1/Cargo.toml +30 -0
  95. data/ext/cargo-vendor/cranelift-entity-0.108.1/.cargo-checksum.json +1 -0
  96. data/ext/cargo-vendor/cranelift-entity-0.108.1/Cargo.toml +52 -0
  97. data/ext/cargo-vendor/cranelift-entity-0.108.1/src/lib.rs +381 -0
  98. data/ext/cargo-vendor/cranelift-frontend-0.108.1/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/cranelift-frontend-0.108.1/Cargo.toml +67 -0
  100. data/ext/cargo-vendor/cranelift-frontend-0.108.1/src/switch.rs +696 -0
  101. data/ext/cargo-vendor/cranelift-isle-0.108.1/.cargo-checksum.json +1 -0
  102. data/ext/cargo-vendor/cranelift-isle-0.108.1/Cargo.toml +46 -0
  103. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/codegen.rs +886 -0
  104. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/disjointsets.rs +169 -0
  105. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/lib.rs +33 -0
  106. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/sema.rs +2492 -0
  107. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/serialize.rs +846 -0
  108. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/stablemapset.rs +79 -0
  109. data/ext/cargo-vendor/cranelift-isle-0.108.1/src/trie_again.rs +684 -0
  110. data/ext/cargo-vendor/cranelift-native-0.108.1/.cargo-checksum.json +1 -0
  111. data/ext/cargo-vendor/cranelift-native-0.108.1/Cargo.toml +43 -0
  112. data/ext/cargo-vendor/cranelift-wasm-0.108.1/.cargo-checksum.json +1 -0
  113. data/ext/cargo-vendor/cranelift-wasm-0.108.1/Cargo.toml +109 -0
  114. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/code_translator.rs +3687 -0
  115. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/environ/dummy.rs +906 -0
  116. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/environ/spec.rs +945 -0
  117. data/ext/cargo-vendor/cranelift-wasm-0.108.1/src/sections_translator.rs +389 -0
  118. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/.cargo-checksum.json +1 -0
  119. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.22/Cargo.toml +48 -0
  120. data/ext/cargo-vendor/embedded-io-0.4.0/.cargo-checksum.json +1 -0
  121. data/ext/cargo-vendor/embedded-io-0.4.0/CHANGELOG.md +28 -0
  122. data/ext/cargo-vendor/embedded-io-0.4.0/Cargo.toml +73 -0
  123. data/ext/cargo-vendor/embedded-io-0.4.0/LICENSE-APACHE +201 -0
  124. data/ext/cargo-vendor/embedded-io-0.4.0/LICENSE-MIT +25 -0
  125. data/ext/cargo-vendor/embedded-io-0.4.0/README.md +33 -0
  126. data/ext/cargo-vendor/embedded-io-0.4.0/ci.sh +21 -0
  127. data/ext/cargo-vendor/embedded-io-0.4.0/rust-toolchain.toml +3 -0
  128. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/futures_io.rs +65 -0
  129. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/mod.rs +40 -0
  130. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/std_io.rs +107 -0
  131. data/ext/cargo-vendor/embedded-io-0.4.0/src/adapters/tokio.rs +108 -0
  132. data/ext/cargo-vendor/embedded-io-0.4.0/src/asynch.rs +230 -0
  133. data/ext/cargo-vendor/embedded-io-0.4.0/src/blocking.rs +309 -0
  134. data/ext/cargo-vendor/embedded-io-0.4.0/src/fmt.rs +228 -0
  135. data/ext/cargo-vendor/embedded-io-0.4.0/src/lib.rs +125 -0
  136. data/ext/cargo-vendor/libm-0.2.8/.cargo-checksum.json +1 -0
  137. data/ext/cargo-vendor/libm-0.2.8/CHANGELOG.md +123 -0
  138. data/ext/cargo-vendor/libm-0.2.8/CONTRIBUTING.md +95 -0
  139. data/ext/cargo-vendor/libm-0.2.8/Cargo.toml +45 -0
  140. data/ext/cargo-vendor/libm-0.2.8/LICENSE-APACHE +201 -0
  141. data/ext/cargo-vendor/libm-0.2.8/LICENSE-MIT +25 -0
  142. data/ext/cargo-vendor/libm-0.2.8/README.md +51 -0
  143. data/ext/cargo-vendor/libm-0.2.8/build.rs +463 -0
  144. data/ext/cargo-vendor/libm-0.2.8/src/lib.rs +59 -0
  145. data/ext/cargo-vendor/libm-0.2.8/src/libm_helper.rs +171 -0
  146. data/ext/cargo-vendor/libm-0.2.8/src/math/acos.rs +112 -0
  147. data/ext/cargo-vendor/libm-0.2.8/src/math/acosf.rs +79 -0
  148. data/ext/cargo-vendor/libm-0.2.8/src/math/acosh.rs +27 -0
  149. data/ext/cargo-vendor/libm-0.2.8/src/math/acoshf.rs +26 -0
  150. data/ext/cargo-vendor/libm-0.2.8/src/math/asin.rs +119 -0
  151. data/ext/cargo-vendor/libm-0.2.8/src/math/asinf.rs +72 -0
  152. data/ext/cargo-vendor/libm-0.2.8/src/math/asinh.rs +40 -0
  153. data/ext/cargo-vendor/libm-0.2.8/src/math/asinhf.rs +39 -0
  154. data/ext/cargo-vendor/libm-0.2.8/src/math/atan.rs +184 -0
  155. data/ext/cargo-vendor/libm-0.2.8/src/math/atan2.rs +126 -0
  156. data/ext/cargo-vendor/libm-0.2.8/src/math/atan2f.rs +91 -0
  157. data/ext/cargo-vendor/libm-0.2.8/src/math/atanf.rs +112 -0
  158. data/ext/cargo-vendor/libm-0.2.8/src/math/atanh.rs +37 -0
  159. data/ext/cargo-vendor/libm-0.2.8/src/math/atanhf.rs +37 -0
  160. data/ext/cargo-vendor/libm-0.2.8/src/math/cbrt.rs +113 -0
  161. data/ext/cargo-vendor/libm-0.2.8/src/math/cbrtf.rs +75 -0
  162. data/ext/cargo-vendor/libm-0.2.8/src/math/ceil.rs +82 -0
  163. data/ext/cargo-vendor/libm-0.2.8/src/math/ceilf.rs +65 -0
  164. data/ext/cargo-vendor/libm-0.2.8/src/math/copysign.rs +12 -0
  165. data/ext/cargo-vendor/libm-0.2.8/src/math/copysignf.rs +12 -0
  166. data/ext/cargo-vendor/libm-0.2.8/src/math/cos.rs +73 -0
  167. data/ext/cargo-vendor/libm-0.2.8/src/math/cosf.rs +83 -0
  168. data/ext/cargo-vendor/libm-0.2.8/src/math/cosh.rs +38 -0
  169. data/ext/cargo-vendor/libm-0.2.8/src/math/coshf.rs +38 -0
  170. data/ext/cargo-vendor/libm-0.2.8/src/math/erf.rs +318 -0
  171. data/ext/cargo-vendor/libm-0.2.8/src/math/erff.rs +230 -0
  172. data/ext/cargo-vendor/libm-0.2.8/src/math/exp.rs +154 -0
  173. data/ext/cargo-vendor/libm-0.2.8/src/math/exp10.rs +22 -0
  174. data/ext/cargo-vendor/libm-0.2.8/src/math/exp10f.rs +22 -0
  175. data/ext/cargo-vendor/libm-0.2.8/src/math/exp2.rs +394 -0
  176. data/ext/cargo-vendor/libm-0.2.8/src/math/exp2f.rs +135 -0
  177. data/ext/cargo-vendor/libm-0.2.8/src/math/expf.rs +101 -0
  178. data/ext/cargo-vendor/libm-0.2.8/src/math/expm1.rs +144 -0
  179. data/ext/cargo-vendor/libm-0.2.8/src/math/expm1f.rs +134 -0
  180. data/ext/cargo-vendor/libm-0.2.8/src/math/expo2.rs +14 -0
  181. data/ext/cargo-vendor/libm-0.2.8/src/math/fabs.rs +41 -0
  182. data/ext/cargo-vendor/libm-0.2.8/src/math/fabsf.rs +41 -0
  183. data/ext/cargo-vendor/libm-0.2.8/src/math/fdim.rs +22 -0
  184. data/ext/cargo-vendor/libm-0.2.8/src/math/fdimf.rs +22 -0
  185. data/ext/cargo-vendor/libm-0.2.8/src/math/fenv.rs +27 -0
  186. data/ext/cargo-vendor/libm-0.2.8/src/math/floor.rs +81 -0
  187. data/ext/cargo-vendor/libm-0.2.8/src/math/floorf.rs +66 -0
  188. data/ext/cargo-vendor/libm-0.2.8/src/math/fma.rs +232 -0
  189. data/ext/cargo-vendor/libm-0.2.8/src/math/fmaf.rs +117 -0
  190. data/ext/cargo-vendor/libm-0.2.8/src/math/fmax.rs +12 -0
  191. data/ext/cargo-vendor/libm-0.2.8/src/math/fmaxf.rs +12 -0
  192. data/ext/cargo-vendor/libm-0.2.8/src/math/fmin.rs +12 -0
  193. data/ext/cargo-vendor/libm-0.2.8/src/math/fminf.rs +12 -0
  194. data/ext/cargo-vendor/libm-0.2.8/src/math/fmod.rs +80 -0
  195. data/ext/cargo-vendor/libm-0.2.8/src/math/fmodf.rs +89 -0
  196. data/ext/cargo-vendor/libm-0.2.8/src/math/frexp.rs +20 -0
  197. data/ext/cargo-vendor/libm-0.2.8/src/math/frexpf.rs +21 -0
  198. data/ext/cargo-vendor/libm-0.2.8/src/math/hypot.rs +74 -0
  199. data/ext/cargo-vendor/libm-0.2.8/src/math/hypotf.rs +43 -0
  200. data/ext/cargo-vendor/libm-0.2.8/src/math/ilogb.rs +32 -0
  201. data/ext/cargo-vendor/libm-0.2.8/src/math/ilogbf.rs +32 -0
  202. data/ext/cargo-vendor/libm-0.2.8/src/math/j0.rs +422 -0
  203. data/ext/cargo-vendor/libm-0.2.8/src/math/j0f.rs +359 -0
  204. data/ext/cargo-vendor/libm-0.2.8/src/math/j1.rs +414 -0
  205. data/ext/cargo-vendor/libm-0.2.8/src/math/j1f.rs +380 -0
  206. data/ext/cargo-vendor/libm-0.2.8/src/math/jn.rs +343 -0
  207. data/ext/cargo-vendor/libm-0.2.8/src/math/jnf.rs +259 -0
  208. data/ext/cargo-vendor/libm-0.2.8/src/math/k_cos.rs +62 -0
  209. data/ext/cargo-vendor/libm-0.2.8/src/math/k_cosf.rs +29 -0
  210. data/ext/cargo-vendor/libm-0.2.8/src/math/k_expo2.rs +14 -0
  211. data/ext/cargo-vendor/libm-0.2.8/src/math/k_expo2f.rs +14 -0
  212. data/ext/cargo-vendor/libm-0.2.8/src/math/k_sin.rs +57 -0
  213. data/ext/cargo-vendor/libm-0.2.8/src/math/k_sinf.rs +30 -0
  214. data/ext/cargo-vendor/libm-0.2.8/src/math/k_tan.rs +105 -0
  215. data/ext/cargo-vendor/libm-0.2.8/src/math/k_tanf.rs +46 -0
  216. data/ext/cargo-vendor/libm-0.2.8/src/math/ldexp.rs +4 -0
  217. data/ext/cargo-vendor/libm-0.2.8/src/math/ldexpf.rs +4 -0
  218. data/ext/cargo-vendor/libm-0.2.8/src/math/lgamma.rs +6 -0
  219. data/ext/cargo-vendor/libm-0.2.8/src/math/lgamma_r.rs +320 -0
  220. data/ext/cargo-vendor/libm-0.2.8/src/math/lgammaf.rs +6 -0
  221. data/ext/cargo-vendor/libm-0.2.8/src/math/lgammaf_r.rs +255 -0
  222. data/ext/cargo-vendor/libm-0.2.8/src/math/log.rs +117 -0
  223. data/ext/cargo-vendor/libm-0.2.8/src/math/log10.rs +117 -0
  224. data/ext/cargo-vendor/libm-0.2.8/src/math/log10f.rs +91 -0
  225. data/ext/cargo-vendor/libm-0.2.8/src/math/log1p.rs +143 -0
  226. data/ext/cargo-vendor/libm-0.2.8/src/math/log1pf.rs +98 -0
  227. data/ext/cargo-vendor/libm-0.2.8/src/math/log2.rs +106 -0
  228. data/ext/cargo-vendor/libm-0.2.8/src/math/log2f.rs +87 -0
  229. data/ext/cargo-vendor/libm-0.2.8/src/math/logf.rs +65 -0
  230. data/ext/cargo-vendor/libm-0.2.8/src/math/mod.rs +370 -0
  231. data/ext/cargo-vendor/libm-0.2.8/src/math/modf.rs +34 -0
  232. data/ext/cargo-vendor/libm-0.2.8/src/math/modff.rs +33 -0
  233. data/ext/cargo-vendor/libm-0.2.8/src/math/nextafter.rs +37 -0
  234. data/ext/cargo-vendor/libm-0.2.8/src/math/nextafterf.rs +37 -0
  235. data/ext/cargo-vendor/libm-0.2.8/src/math/pow.rs +637 -0
  236. data/ext/cargo-vendor/libm-0.2.8/src/math/powf.rs +342 -0
  237. data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2.rs +233 -0
  238. data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2_large.rs +470 -0
  239. data/ext/cargo-vendor/libm-0.2.8/src/math/rem_pio2f.rs +67 -0
  240. data/ext/cargo-vendor/libm-0.2.8/src/math/remainder.rs +5 -0
  241. data/ext/cargo-vendor/libm-0.2.8/src/math/remainderf.rs +5 -0
  242. data/ext/cargo-vendor/libm-0.2.8/src/math/remquo.rs +110 -0
  243. data/ext/cargo-vendor/libm-0.2.8/src/math/remquof.rs +97 -0
  244. data/ext/cargo-vendor/libm-0.2.8/src/math/rint.rs +58 -0
  245. data/ext/cargo-vendor/libm-0.2.8/src/math/rintf.rs +58 -0
  246. data/ext/cargo-vendor/libm-0.2.8/src/math/round.rs +28 -0
  247. data/ext/cargo-vendor/libm-0.2.8/src/math/roundf.rs +30 -0
  248. data/ext/cargo-vendor/libm-0.2.8/src/math/scalbn.rs +33 -0
  249. data/ext/cargo-vendor/libm-0.2.8/src/math/scalbnf.rs +29 -0
  250. data/ext/cargo-vendor/libm-0.2.8/src/math/sin.rs +88 -0
  251. data/ext/cargo-vendor/libm-0.2.8/src/math/sincos.rs +134 -0
  252. data/ext/cargo-vendor/libm-0.2.8/src/math/sincosf.rs +185 -0
  253. data/ext/cargo-vendor/libm-0.2.8/src/math/sinf.rs +93 -0
  254. data/ext/cargo-vendor/libm-0.2.8/src/math/sinh.rs +49 -0
  255. data/ext/cargo-vendor/libm-0.2.8/src/math/sinhf.rs +30 -0
  256. data/ext/cargo-vendor/libm-0.2.8/src/math/sqrt.rs +280 -0
  257. data/ext/cargo-vendor/libm-0.2.8/src/math/sqrtf.rs +170 -0
  258. data/ext/cargo-vendor/libm-0.2.8/src/math/tan.rs +70 -0
  259. data/ext/cargo-vendor/libm-0.2.8/src/math/tanf.rs +78 -0
  260. data/ext/cargo-vendor/libm-0.2.8/src/math/tanh.rs +53 -0
  261. data/ext/cargo-vendor/libm-0.2.8/src/math/tanhf.rs +39 -0
  262. data/ext/cargo-vendor/libm-0.2.8/src/math/tgamma.rs +208 -0
  263. data/ext/cargo-vendor/libm-0.2.8/src/math/tgammaf.rs +6 -0
  264. data/ext/cargo-vendor/libm-0.2.8/src/math/trunc.rs +40 -0
  265. data/ext/cargo-vendor/libm-0.2.8/src/math/truncf.rs +42 -0
  266. data/ext/cargo-vendor/postcard-1.0.8/.cargo-checksum.json +1 -0
  267. data/ext/cargo-vendor/postcard-1.0.8/CHANGELOG.md +141 -0
  268. data/ext/cargo-vendor/postcard-1.0.8/Cargo.toml +100 -0
  269. data/ext/cargo-vendor/postcard-1.0.8/LICENSE-APACHE +201 -0
  270. data/ext/cargo-vendor/postcard-1.0.8/LICENSE-MIT +25 -0
  271. data/ext/cargo-vendor/postcard-1.0.8/README.md +146 -0
  272. data/ext/cargo-vendor/postcard-1.0.8/spec/LICENSE-CC-BY-SA +427 -0
  273. data/ext/cargo-vendor/postcard-1.0.8/spec/book.toml +6 -0
  274. data/ext/cargo-vendor/postcard-1.0.8/spec/src/SUMMARY.md +6 -0
  275. data/ext/cargo-vendor/postcard-1.0.8/spec/src/glossary.md +17 -0
  276. data/ext/cargo-vendor/postcard-1.0.8/spec/src/intro.md +12 -0
  277. data/ext/cargo-vendor/postcard-1.0.8/spec/src/serde-data-model.md +190 -0
  278. data/ext/cargo-vendor/postcard-1.0.8/spec/src/wire-format.md +327 -0
  279. data/ext/cargo-vendor/postcard-1.0.8/src/accumulator.rs +367 -0
  280. data/ext/cargo-vendor/postcard-1.0.8/src/de/deserializer.rs +599 -0
  281. data/ext/cargo-vendor/postcard-1.0.8/src/de/flavors.rs +468 -0
  282. data/ext/cargo-vendor/postcard-1.0.8/src/de/mod.rs +568 -0
  283. data/ext/cargo-vendor/postcard-1.0.8/src/error.rs +95 -0
  284. data/ext/cargo-vendor/postcard-1.0.8/src/fixint.rs +189 -0
  285. data/ext/cargo-vendor/postcard-1.0.8/src/lib.rs +143 -0
  286. data/ext/cargo-vendor/postcard-1.0.8/src/max_size.rs +233 -0
  287. data/ext/cargo-vendor/postcard-1.0.8/src/schema.rs +282 -0
  288. data/ext/cargo-vendor/postcard-1.0.8/src/ser/flavors.rs +722 -0
  289. data/ext/cargo-vendor/postcard-1.0.8/src/ser/mod.rs +866 -0
  290. data/ext/cargo-vendor/postcard-1.0.8/src/ser/serializer.rs +564 -0
  291. data/ext/cargo-vendor/postcard-1.0.8/src/varint.rs +103 -0
  292. data/ext/cargo-vendor/postcard-1.0.8/tests/accumulator.rs +57 -0
  293. data/ext/cargo-vendor/postcard-1.0.8/tests/crc.rs +60 -0
  294. data/ext/cargo-vendor/postcard-1.0.8/tests/loopback.rs +248 -0
  295. data/ext/cargo-vendor/postcard-1.0.8/tests/max_size.rs +101 -0
  296. data/ext/cargo-vendor/postcard-1.0.8/tests/schema.rs +107 -0
  297. data/ext/cargo-vendor/rb-sys-0.9.100/.cargo-checksum.json +1 -0
  298. data/ext/cargo-vendor/rb-sys-0.9.100/Cargo.toml +58 -0
  299. data/ext/cargo-vendor/rb-sys-0.9.100/build/main.rs +267 -0
  300. data/ext/cargo-vendor/rb-sys-0.9.100/build/stable_api_config.rs +139 -0
  301. data/ext/cargo-vendor/rb-sys-0.9.100/src/bindings.rs +21 -0
  302. data/ext/cargo-vendor/rb-sys-0.9.100/src/tracking_allocator.rs +266 -0
  303. data/ext/cargo-vendor/rb-sys-build-0.9.100/.cargo-checksum.json +1 -0
  304. data/ext/cargo-vendor/rb-sys-build-0.9.100/Cargo.toml +62 -0
  305. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/bindings/stable_api.rs +203 -0
  306. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/bindings.rs +254 -0
  307. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/cc.rs +374 -0
  308. data/ext/cargo-vendor/rb-sys-build-0.9.100/src/utils.rs +52 -0
  309. data/ext/cargo-vendor/wasi-common-21.0.1/.cargo-checksum.json +1 -0
  310. data/ext/cargo-vendor/wasi-common-21.0.1/Cargo.toml +223 -0
  311. data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/async_.rs +293 -0
  312. data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/main.rs +21 -0
  313. data/ext/cargo-vendor/wasi-common-21.0.1/tests/all/sync.rs +279 -0
  314. data/ext/cargo-vendor/wasm-encoder-0.207.0/.cargo-checksum.json +1 -0
  315. data/ext/cargo-vendor/wasm-encoder-0.207.0/Cargo.toml +45 -0
  316. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/code.rs +3502 -0
  317. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/data.rs +186 -0
  318. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/elements.rs +221 -0
  319. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/globals.rs +112 -0
  320. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/imports.rs +157 -0
  321. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/memories.rs +128 -0
  322. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/tables.rs +134 -0
  323. data/ext/cargo-vendor/wasm-encoder-0.207.0/src/core/types.rs +678 -0
  324. data/ext/cargo-vendor/wasmparser-0.207.0/.cargo-checksum.json +1 -0
  325. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.lock +659 -0
  326. data/ext/cargo-vendor/wasmparser-0.207.0/Cargo.toml +95 -0
  327. data/ext/cargo-vendor/wasmparser-0.207.0/src/binary_reader.rs +1867 -0
  328. data/ext/cargo-vendor/wasmparser-0.207.0/src/lib.rs +805 -0
  329. data/ext/cargo-vendor/wasmparser-0.207.0/src/limits.rs +78 -0
  330. data/ext/cargo-vendor/wasmparser-0.207.0/src/map.rs +137 -0
  331. data/ext/cargo-vendor/wasmparser-0.207.0/src/parser.rs +1636 -0
  332. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/canonicals.rs +121 -0
  333. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/instances.rs +164 -0
  334. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/names.rs +102 -0
  335. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/start.rs +31 -0
  336. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/component/types.rs +551 -0
  337. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/code.rs +146 -0
  338. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/coredumps.rs +244 -0
  339. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/custom.rs +64 -0
  340. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/data.rs +96 -0
  341. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/dylink0.rs +110 -0
  342. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/elements.rs +152 -0
  343. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/globals.rs +51 -0
  344. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/linking.rs +450 -0
  345. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/memories.rs +57 -0
  346. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/names.rs +159 -0
  347. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/operators.rs +430 -0
  348. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/reloc.rs +301 -0
  349. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/tables.rs +93 -0
  350. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types/matches.rs +277 -0
  351. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core/types.rs +1773 -0
  352. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers/core.rs +43 -0
  353. data/ext/cargo-vendor/wasmparser-0.207.0/src/readers.rs +316 -0
  354. data/ext/cargo-vendor/wasmparser-0.207.0/src/resources.rs +235 -0
  355. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/component.rs +3242 -0
  356. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core/canonical.rs +233 -0
  357. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/core.rs +1450 -0
  358. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/func.rs +331 -0
  359. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/names.rs +947 -0
  360. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/operators.rs +4117 -0
  361. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator/types.rs +4492 -0
  362. data/ext/cargo-vendor/wasmparser-0.207.0/src/validator.rs +1786 -0
  363. data/ext/cargo-vendor/wasmprinter-0.207.0/.cargo-checksum.json +1 -0
  364. data/ext/cargo-vendor/wasmprinter-0.207.0/Cargo.toml +50 -0
  365. data/ext/cargo-vendor/wasmprinter-0.207.0/src/lib.rs +3226 -0
  366. data/ext/cargo-vendor/wasmprinter-0.207.0/src/operator.rs +1164 -0
  367. data/ext/cargo-vendor/wasmprinter-0.207.0/tests/all.rs +293 -0
  368. data/ext/cargo-vendor/wasmtime-21.0.1/.cargo-checksum.json +1 -0
  369. data/ext/cargo-vendor/wasmtime-21.0.1/Cargo.toml +386 -0
  370. data/ext/cargo-vendor/wasmtime-21.0.1/build.rs +37 -0
  371. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/code_builder.rs +275 -0
  372. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile/runtime.rs +176 -0
  373. data/ext/cargo-vendor/wasmtime-21.0.1/src/compile.rs +910 -0
  374. data/ext/cargo-vendor/wasmtime-21.0.1/src/config.rs +2904 -0
  375. data/ext/cargo-vendor/wasmtime-21.0.1/src/engine/serialization.rs +887 -0
  376. data/ext/cargo-vendor/wasmtime-21.0.1/src/engine.rs +728 -0
  377. data/ext/cargo-vendor/wasmtime-21.0.1/src/lib.rs +328 -0
  378. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/jitdump.rs +67 -0
  379. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/perfmap.rs +48 -0
  380. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent/vtune.rs +81 -0
  381. data/ext/cargo-vendor/wasmtime-21.0.1/src/profiling_agent.rs +106 -0
  382. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code.rs +102 -0
  383. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/code_memory.rs +337 -0
  384. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/component.rs +661 -0
  385. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/host.rs +440 -0
  386. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/options.rs +555 -0
  387. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func/typed.rs +2498 -0
  388. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/func.rs +746 -0
  389. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/instance.rs +814 -0
  390. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/linker.rs +783 -0
  391. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/matching.rs +217 -0
  392. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/mod.rs +783 -0
  393. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resource_table.rs +355 -0
  394. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/resources.rs +1133 -0
  395. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/storage.rs +43 -0
  396. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/store.rs +29 -0
  397. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/types.rs +892 -0
  398. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/component/values.rs +980 -0
  399. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/coredump.rs +342 -0
  400. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/debug.rs +166 -0
  401. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/global.rs +310 -0
  402. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals/table.rs +477 -0
  403. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/externals.rs +236 -0
  404. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func/typed.rs +899 -0
  405. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/func.rs +2627 -0
  406. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/anyref.rs +46 -0
  407. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/externref.rs +50 -0
  408. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/disabled/rooting.rs +224 -0
  409. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/anyref.rs +473 -0
  410. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/externref.rs +650 -0
  411. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/i31.rs +346 -0
  412. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc/enabled/rooting.rs +1588 -0
  413. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/gc.rs +89 -0
  414. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instance.rs +992 -0
  415. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/instantiate.rs +346 -0
  416. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/limits.rs +399 -0
  417. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/linker.rs +1506 -0
  418. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/memory.rs +998 -0
  419. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module/registry.rs +353 -0
  420. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/module.rs +1295 -0
  421. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/profiling.rs +221 -0
  422. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/resources.rs +33 -0
  423. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/signatures.rs +216 -0
  424. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/stack.rs +73 -0
  425. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/context.rs +243 -0
  426. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/data.rs +301 -0
  427. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store/func_refs.rs +90 -0
  428. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/store.rs +2820 -0
  429. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/func.rs +139 -0
  430. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/global.rs +68 -0
  431. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/memory.rs +287 -0
  432. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline/table.rs +29 -0
  433. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trampoline.rs +78 -0
  434. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/trap.rs +642 -0
  435. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/type_registry.rs +807 -0
  436. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types/matching.rs +421 -0
  437. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/types.rs +2239 -0
  438. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/unix.rs +40 -0
  439. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/v128.rs +131 -0
  440. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/values.rs +966 -0
  441. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/arch/aarch64.rs +76 -0
  442. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/arch/x86_64.rs +41 -0
  443. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/async_yield.rs +35 -0
  444. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/libcalls.rs +571 -0
  445. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component/resources.rs +352 -0
  446. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/component.rs +860 -0
  447. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/const_expr.rs +102 -0
  448. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/cow.rs +893 -0
  449. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/debug_builtins.rs +59 -0
  450. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/export.rs +108 -0
  451. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/disabled.rs +24 -0
  452. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/drc.rs +968 -0
  453. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/externref.rs +116 -0
  454. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled/free_list.rs +771 -0
  455. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/enabled.rs +18 -0
  456. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_ref.rs +491 -0
  457. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/gc_runtime.rs +506 -0
  458. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/host_data.rs +82 -0
  459. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc/i31.rs +87 -0
  460. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/gc.rs +245 -0
  461. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/imports.rs +29 -0
  462. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/on_demand.rs +218 -0
  463. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/gc_heap_pool.rs +93 -0
  464. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/generic_stack_pool.rs +66 -0
  465. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/index_allocator.rs +705 -0
  466. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/memory_pool.rs +1000 -0
  467. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/table_pool.rs +233 -0
  468. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling/unix_stack_pool.rs +245 -0
  469. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator/pooling.rs +656 -0
  470. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance/allocator.rs +798 -0
  471. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/instance.rs +1519 -0
  472. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/libcalls.rs +834 -0
  473. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/memory.rs +744 -0
  474. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mmap.rs +220 -0
  475. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mmap_vec.rs +162 -0
  476. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/module_id.rs +43 -0
  477. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/enabled.rs +214 -0
  478. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/mod.rs +54 -0
  479. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/pkru.rs +104 -0
  480. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/mpk/sys.rs +114 -0
  481. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/send_sync_ptr.rs +106 -0
  482. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/store_box.rs +37 -0
  483. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/capi.rs +200 -0
  484. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/mmap.rs +112 -0
  485. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/mod.rs +34 -0
  486. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/traphandlers.rs +55 -0
  487. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/custom/vm.rs +109 -0
  488. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/mmap.rs +95 -0
  489. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/mod.rs +24 -0
  490. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/miri/traphandlers.rs +47 -0
  491. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/mod.rs +25 -0
  492. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/machports.rs +416 -0
  493. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/mmap.rs +162 -0
  494. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/mod.rs +35 -0
  495. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/signals.rs +401 -0
  496. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/unwind.rs +150 -0
  497. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/unix/vm.rs +215 -0
  498. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/mmap.rs +221 -0
  499. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/mod.rs +20 -0
  500. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/sys/windows/traphandlers.rs +104 -0
  501. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/table.rs +847 -0
  502. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/parking_spot.rs +623 -0
  503. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/shared_memory.rs +233 -0
  504. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/threads/shared_memory_disabled.rs +101 -0
  505. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/backtrace.rs +267 -0
  506. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/coredump_disabled.rs +16 -0
  507. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers/coredump_enabled.rs +42 -0
  508. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/traphandlers.rs +768 -0
  509. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext/vm_host_func_context.rs +138 -0
  510. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm/vmcontext.rs +1337 -0
  511. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/vm.rs +287 -0
  512. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime/windows.rs +35 -0
  513. data/ext/cargo-vendor/wasmtime-21.0.1/src/runtime.rs +110 -0
  514. data/ext/cargo-vendor/wasmtime-21.0.1/src/sync_nostd.rs +255 -0
  515. data/ext/cargo-vendor/wasmtime-21.0.1/src/sync_std.rs +52 -0
  516. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/.cargo-checksum.json +1 -0
  517. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/Cargo.toml +22 -0
  518. data/ext/cargo-vendor/wasmtime-asm-macros-21.0.1/src/lib.rs +83 -0
  519. data/ext/cargo-vendor/wasmtime-cache-21.0.1/.cargo-checksum.json +1 -0
  520. data/ext/cargo-vendor/wasmtime-cache-21.0.1/Cargo.toml +88 -0
  521. data/ext/cargo-vendor/wasmtime-cache-21.0.1/src/lib.rs +235 -0
  522. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/.cargo-checksum.json +1 -0
  523. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/Cargo.toml +79 -0
  524. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/bindgen.rs +436 -0
  525. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/src/component.rs +1295 -0
  526. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen.rs +576 -0
  527. data/ext/cargo-vendor/wasmtime-component-macro-21.0.1/tests/codegen_no_std.rs +16 -0
  528. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/.cargo-checksum.json +1 -0
  529. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/Cargo.toml +25 -0
  530. data/ext/cargo-vendor/wasmtime-component-util-21.0.1/src/lib.rs +182 -0
  531. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/.cargo-checksum.json +1 -0
  532. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/Cargo.toml +114 -0
  533. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler/component.rs +968 -0
  534. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/compiler.rs +1383 -0
  535. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/gc.rs +252 -0
  536. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/attr.rs +320 -0
  537. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/expression.rs +1248 -0
  538. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/line_program.rs +287 -0
  539. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/mod.rs +256 -0
  540. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/unit.rs +529 -0
  541. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/transform/utils.rs +186 -0
  542. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug/write_debuginfo.rs +196 -0
  543. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/debug.rs +18 -0
  544. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/func_environ.rs +2888 -0
  545. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc/enabled.rs +648 -0
  546. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/gc.rs +198 -0
  547. data/ext/cargo-vendor/wasmtime-cranelift-21.0.1/src/lib.rs +511 -0
  548. data/ext/cargo-vendor/wasmtime-environ-21.0.1/.cargo-checksum.json +1 -0
  549. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.lock +772 -0
  550. data/ext/cargo-vendor/wasmtime-environ-21.0.1/Cargo.toml +154 -0
  551. data/ext/cargo-vendor/wasmtime-environ-21.0.1/examples/factc.rs +198 -0
  552. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/address_map.rs +73 -0
  553. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/mod.rs +419 -0
  554. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_artifacts.rs +315 -0
  555. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_environ.rs +1337 -0
  556. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/module_types.rs +362 -0
  557. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/compile/trap_encoding.rs +70 -0
  558. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/compiler.rs +20 -0
  559. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/dfg.rs +691 -0
  560. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/info.rs +672 -0
  561. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate/adapt.rs +455 -0
  562. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/translate.rs +978 -0
  563. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types.rs +1029 -0
  564. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder/resources.rs +233 -0
  565. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component/types_builder.rs +997 -0
  566. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/component.rs +107 -0
  567. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/demangling.rs +28 -0
  568. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/core_types.rs +25 -0
  569. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/signature.rs +119 -0
  570. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/trampoline.rs +3234 -0
  571. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/transcode.rs +90 -0
  572. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact/traps.rs +116 -0
  573. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/fact.rs +714 -0
  574. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/lib.rs +161 -0
  575. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module.rs +697 -0
  576. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_artifacts.rs +146 -0
  577. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/module_types.rs +91 -0
  578. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/scopevec.rs +80 -0
  579. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/stack_map.rs +37 -0
  580. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/trap_encoding.rs +189 -0
  581. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/tunables.rs +168 -0
  582. data/ext/cargo-vendor/wasmtime-environ-21.0.1/src/vmoffsets.rs +1015 -0
  583. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/.cargo-checksum.json +1 -0
  584. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/Cargo.toml +64 -0
  585. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/build.rs +38 -0
  586. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/lib.rs +328 -0
  587. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/unix.rs +490 -0
  588. data/ext/cargo-vendor/wasmtime-fiber-21.0.1/src/windows.rs +166 -0
  589. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/.cargo-checksum.json +1 -0
  590. data/ext/cargo-vendor/wasmtime-jit-debug-21.0.1/Cargo.toml +67 -0
  591. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/.cargo-checksum.json +1 -0
  592. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/Cargo.toml +51 -0
  593. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/lib.rs +109 -0
  594. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/libc.rs +163 -0
  595. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/miri.rs +10 -0
  596. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-21.0.1/src/win.rs +49 -0
  597. data/ext/cargo-vendor/wasmtime-slab-21.0.1/.cargo-checksum.json +1 -0
  598. data/ext/cargo-vendor/wasmtime-slab-21.0.1/Cargo.toml +21 -0
  599. data/ext/cargo-vendor/wasmtime-slab-21.0.1/src/lib.rs +498 -0
  600. data/ext/cargo-vendor/wasmtime-types-21.0.1/.cargo-checksum.json +1 -0
  601. data/ext/cargo-vendor/wasmtime-types-21.0.1/Cargo.toml +55 -0
  602. data/ext/cargo-vendor/wasmtime-types-21.0.1/src/error.rs +81 -0
  603. data/ext/cargo-vendor/wasmtime-types-21.0.1/src/lib.rs +1572 -0
  604. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/.cargo-checksum.json +1 -0
  605. data/ext/cargo-vendor/wasmtime-versioned-export-macros-21.0.1/Cargo.toml +32 -0
  606. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/.cargo-checksum.json +1 -0
  607. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/Cargo.toml +200 -0
  608. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/bindings.rs +280 -0
  609. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/ctx.rs +667 -0
  610. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/filesystem.rs +446 -0
  611. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/lib.rs +426 -0
  612. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview0.rs +877 -0
  613. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/src/preview1.rs +2660 -0
  614. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/api.rs +198 -0
  615. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/async_.rs +397 -0
  616. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/main.rs +91 -0
  617. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/preview1.rs +251 -0
  618. data/ext/cargo-vendor/wasmtime-wasi-21.0.1/tests/all/sync.rs +331 -0
  619. data/ext/cargo-vendor/wasmtime-winch-21.0.1/.cargo-checksum.json +1 -0
  620. data/ext/cargo-vendor/wasmtime-winch-21.0.1/Cargo.toml +81 -0
  621. data/ext/cargo-vendor/wasmtime-winch-21.0.1/src/compiler.rs +261 -0
  622. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/.cargo-checksum.json +1 -0
  623. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/Cargo.toml +46 -0
  624. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/lib.rs +2541 -0
  625. data/ext/cargo-vendor/wasmtime-wit-bindgen-21.0.1/src/rust.rs +421 -0
  626. data/ext/cargo-vendor/wiggle-21.0.1/.cargo-checksum.json +1 -0
  627. data/ext/cargo-vendor/wiggle-21.0.1/Cargo.toml +123 -0
  628. data/ext/cargo-vendor/wiggle-generate-21.0.1/.cargo-checksum.json +1 -0
  629. data/ext/cargo-vendor/wiggle-generate-21.0.1/Cargo.toml +66 -0
  630. data/ext/cargo-vendor/wiggle-macro-21.0.1/.cargo-checksum.json +1 -0
  631. data/ext/cargo-vendor/wiggle-macro-21.0.1/Cargo.toml +55 -0
  632. data/ext/cargo-vendor/winch-codegen-0.19.1/.cargo-checksum.json +1 -0
  633. data/ext/cargo-vendor/winch-codegen-0.19.1/Cargo.toml +76 -0
  634. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/context.rs +534 -0
  635. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/env.rs +440 -0
  636. data/ext/cargo-vendor/winch-codegen-0.19.1/src/codegen/mod.rs +882 -0
  637. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/abi.rs +291 -0
  638. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/address.rs +143 -0
  639. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/asm.rs +380 -0
  640. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/masm.rs +566 -0
  641. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/mod.rs +158 -0
  642. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/aarch64/regs.rs +161 -0
  643. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/reg.rs +73 -0
  644. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/asm.rs +1423 -0
  645. data/ext/cargo-vendor/winch-codegen-0.19.1/src/isa/x64/masm.rs +1120 -0
  646. data/ext/cargo-vendor/winch-codegen-0.19.1/src/masm.rs +941 -0
  647. data/ext/cargo-vendor/winch-codegen-0.19.1/src/regalloc.rs +65 -0
  648. data/ext/cargo-vendor/winch-codegen-0.19.1/src/regset.rs +194 -0
  649. data/ext/cargo-vendor/winch-codegen-0.19.1/src/visitor.rs +2144 -0
  650. data/ext/cargo-vendor/wit-parser-0.207.0/.cargo-checksum.json +1 -0
  651. data/ext/cargo-vendor/wit-parser-0.207.0/Cargo.toml +109 -0
  652. data/ext/cargo-vendor/wit-parser-0.207.0/src/ast/resolve.rs +1442 -0
  653. data/ext/cargo-vendor/wit-parser-0.207.0/src/decoding.rs +1764 -0
  654. data/ext/cargo-vendor/wit-parser-0.207.0/src/lib.rs +777 -0
  655. data/ext/cargo-vendor/wit-parser-0.207.0/src/live.rs +126 -0
  656. data/ext/cargo-vendor/wit-parser-0.207.0/src/resolve.rs +2337 -0
  657. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-multiple-returns-borrow.wit.result +5 -0
  658. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/resources-return-borrow.wit.result +5 -0
  659. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit +7 -0
  660. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow1.wit.result +5 -0
  661. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit +8 -0
  662. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow2.wit.result +5 -0
  663. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow3.wit +7 -0
  664. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow3.wit.result +5 -0
  665. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow4.wit +7 -0
  666. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow4.wit.result +5 -0
  667. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow5.wit +7 -0
  668. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow5.wit.result +5 -0
  669. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit +7 -0
  670. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow6.wit.result +5 -0
  671. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit +11 -0
  672. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow7.wit.result +5 -0
  673. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8/deps/baz.wit +9 -0
  674. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8/foo.wit +7 -0
  675. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/parse-fail/return-borrow8.wit.result +8 -0
  676. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit +24 -0
  677. data/ext/cargo-vendor/wit-parser-0.207.0/tests/ui/world-top-level-resources.wit.json +231 -0
  678. data/ext/src/lib.rs +1 -0
  679. data/ext/src/ruby_api/config.rs +1 -12
  680. data/ext/src/ruby_api/engine.rs +3 -6
  681. data/ext/src/ruby_api/store.rs +68 -5
  682. data/lib/wasmtime/version.rb +1 -1
  683. metadata +1601 -1408
  684. data/ext/cargo-vendor/bincode-1.3.3/.cargo-checksum.json +0 -1
  685. data/ext/cargo-vendor/bincode-1.3.3/Cargo.toml +0 -37
  686. data/ext/cargo-vendor/bincode-1.3.3/LICENSE.md +0 -21
  687. data/ext/cargo-vendor/bincode-1.3.3/readme.md +0 -112
  688. data/ext/cargo-vendor/bincode-1.3.3/src/byteorder.rs +0 -385
  689. data/ext/cargo-vendor/bincode-1.3.3/src/config/endian.rs +0 -27
  690. data/ext/cargo-vendor/bincode-1.3.3/src/config/int.rs +0 -682
  691. data/ext/cargo-vendor/bincode-1.3.3/src/config/legacy.rs +0 -253
  692. data/ext/cargo-vendor/bincode-1.3.3/src/config/limit.rs +0 -49
  693. data/ext/cargo-vendor/bincode-1.3.3/src/config/mod.rs +0 -408
  694. data/ext/cargo-vendor/bincode-1.3.3/src/config/trailing.rs +0 -37
  695. data/ext/cargo-vendor/bincode-1.3.3/src/de/mod.rs +0 -515
  696. data/ext/cargo-vendor/bincode-1.3.3/src/de/read.rs +0 -202
  697. data/ext/cargo-vendor/bincode-1.3.3/src/error.rs +0 -115
  698. data/ext/cargo-vendor/bincode-1.3.3/src/internal.rs +0 -124
  699. data/ext/cargo-vendor/bincode-1.3.3/src/lib.rs +0 -201
  700. data/ext/cargo-vendor/bincode-1.3.3/src/ser/mod.rs +0 -772
  701. data/ext/cargo-vendor/bincode-1.3.3/tests/test.rs +0 -899
  702. data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +0 -1
  703. data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +0 -40
  704. data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +0 -1
  705. data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +0 -178
  706. data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +0 -396
  707. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +0 -403
  708. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +0 -386
  709. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ctxhash.rs +0 -167
  710. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +0 -835
  711. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +0 -838
  712. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/fx.rs +0 -105
  713. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/incremental_cache.rs +0 -256
  714. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +0 -1019
  715. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +0 -1707
  716. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/args.rs +0 -779
  717. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +0 -3932
  718. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit_tests.rs +0 -7919
  719. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/imms.rs +0 -1218
  720. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +0 -3083
  721. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/regs.rs +0 -292
  722. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +0 -4218
  723. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +0 -884
  724. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +0 -565
  725. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/mod.rs +0 -432
  726. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +0 -1109
  727. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +0 -1968
  728. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +0 -3466
  729. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit_tests.rs +0 -2146
  730. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/mod.rs +0 -2041
  731. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/regs.rs +0 -175
  732. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/vector.rs +0 -1162
  733. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +0 -2944
  734. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +0 -625
  735. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +0 -2872
  736. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +0 -1047
  737. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +0 -347
  738. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +0 -3646
  739. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/imms.rs +0 -202
  740. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/mod.rs +0 -3423
  741. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/regs.rs +0 -187
  742. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +0 -1369
  743. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +0 -2289
  744. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +0 -4383
  745. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_tests.rs +0 -5131
  746. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +0 -2798
  747. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/regs.rs +0 -276
  748. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +0 -5304
  749. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +0 -1066
  750. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +0 -4809
  751. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +0 -339
  752. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +0 -1003
  753. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/lib.rs +0 -106
  754. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +0 -2594
  755. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/blockorder.rs +0 -465
  756. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +0 -914
  757. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +0 -1452
  758. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +0 -555
  759. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/reg.rs +0 -562
  760. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/valueregs.rs +0 -132
  761. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +0 -1807
  762. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +0 -110
  763. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/arithmetic.isle +0 -179
  764. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/icmp.isle +0 -197
  765. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/remove_constant_phis.rs +0 -420
  766. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/scoped_hash_map.rs +0 -310
  767. data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +0 -591
  768. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +0 -1
  769. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +0 -35
  770. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_inst.rs +0 -1784
  771. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_settings.rs +0 -508
  772. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/gen_types.rs +0 -75
  773. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/riscv64.rs +0 -160
  774. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/isa/x86.rs +0 -402
  775. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/lib.rs +0 -59
  776. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/settings.rs +0 -355
  777. data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/srcgen.rs +0 -470
  778. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +0 -1
  779. data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +0 -22
  780. data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +0 -1
  781. data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +0 -30
  782. data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +0 -1
  783. data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +0 -50
  784. data/ext/cargo-vendor/cranelift-entity-0.107.2/src/lib.rs +0 -317
  785. data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +0 -1
  786. data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +0 -69
  787. data/ext/cargo-vendor/cranelift-frontend-0.107.2/src/switch.rs +0 -654
  788. data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +0 -1
  789. data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +0 -46
  790. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/codegen.rs +0 -886
  791. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/lib.rs +0 -271
  792. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/sema.rs +0 -2492
  793. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/serialize.rs +0 -846
  794. data/ext/cargo-vendor/cranelift-isle-0.107.2/src/trie_again.rs +0 -683
  795. data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +0 -1
  796. data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +0 -45
  797. data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +0 -1
  798. data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +0 -107
  799. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +0 -3683
  800. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +0 -912
  801. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +0 -945
  802. data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/sections_translator.rs +0 -409
  803. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +0 -1
  804. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +0 -48
  805. data/ext/cargo-vendor/rb-sys-0.9.97/.cargo-checksum.json +0 -1
  806. data/ext/cargo-vendor/rb-sys-0.9.97/Cargo.toml +0 -54
  807. data/ext/cargo-vendor/rb-sys-0.9.97/build/main.rs +0 -238
  808. data/ext/cargo-vendor/rb-sys-0.9.97/build/stable_api_config.rs +0 -133
  809. data/ext/cargo-vendor/rb-sys-0.9.97/src/bindings.rs +0 -20
  810. data/ext/cargo-vendor/rb-sys-0.9.97/src/tracking_allocator.rs +0 -265
  811. data/ext/cargo-vendor/rb-sys-build-0.9.97/.cargo-checksum.json +0 -1
  812. data/ext/cargo-vendor/rb-sys-build-0.9.97/Cargo.toml +0 -62
  813. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/bindings/stable_api.rs +0 -202
  814. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/bindings.rs +0 -250
  815. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/cc.rs +0 -365
  816. data/ext/cargo-vendor/rb-sys-build-0.9.97/src/utils.rs +0 -52
  817. data/ext/cargo-vendor/wasi-common-20.0.2/.cargo-checksum.json +0 -1
  818. data/ext/cargo-vendor/wasi-common-20.0.2/Cargo.toml +0 -220
  819. data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/async_.rs +0 -293
  820. data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/main.rs +0 -21
  821. data/ext/cargo-vendor/wasi-common-20.0.2/tests/all/sync.rs +0 -279
  822. data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +0 -1
  823. data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +0 -43
  824. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/code.rs +0 -3444
  825. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/data.rs +0 -185
  826. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/elements.rs +0 -220
  827. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/globals.rs +0 -101
  828. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/imports.rs +0 -156
  829. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/memories.rs +0 -111
  830. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/tables.rs +0 -116
  831. data/ext/cargo-vendor/wasm-encoder-0.202.0/src/core/types.rs +0 -673
  832. data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +0 -1
  833. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +0 -744
  834. data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +0 -66
  835. data/ext/cargo-vendor/wasmparser-0.202.0/src/binary_reader.rs +0 -1849
  836. data/ext/cargo-vendor/wasmparser-0.202.0/src/lib.rs +0 -766
  837. data/ext/cargo-vendor/wasmparser-0.202.0/src/limits.rs +0 -64
  838. data/ext/cargo-vendor/wasmparser-0.202.0/src/parser.rs +0 -1611
  839. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/canonicals.rs +0 -120
  840. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/instances.rs +0 -163
  841. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/names.rs +0 -102
  842. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/start.rs +0 -30
  843. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +0 -549
  844. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/code.rs +0 -146
  845. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/coredumps.rs +0 -243
  846. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/custom.rs +0 -63
  847. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/data.rs +0 -96
  848. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/dylink0.rs +0 -109
  849. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/elements.rs +0 -152
  850. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/globals.rs +0 -49
  851. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/linking.rs +0 -449
  852. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/memories.rs +0 -56
  853. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/names.rs +0 -156
  854. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/operators.rs +0 -411
  855. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/tables.rs +0 -87
  856. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/types/matches.rs +0 -277
  857. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core/types.rs +0 -1680
  858. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/core.rs +0 -41
  859. data/ext/cargo-vendor/wasmparser-0.202.0/src/readers.rs +0 -316
  860. data/ext/cargo-vendor/wasmparser-0.202.0/src/resources.rs +0 -235
  861. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/component.rs +0 -3238
  862. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/core/canonical.rs +0 -233
  863. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/core.rs +0 -1400
  864. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/func.rs +0 -338
  865. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/names.rs +0 -929
  866. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +0 -4076
  867. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +0 -4449
  868. data/ext/cargo-vendor/wasmparser-0.202.0/src/validator.rs +0 -1619
  869. data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +0 -1
  870. data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +0 -45
  871. data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +0 -3202
  872. data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +0 -1131
  873. data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +0 -279
  874. data/ext/cargo-vendor/wasmtime-20.0.2/.cargo-checksum.json +0 -1
  875. data/ext/cargo-vendor/wasmtime-20.0.2/Cargo.toml +0 -268
  876. data/ext/cargo-vendor/wasmtime-20.0.2/src/compile/code_builder.rs +0 -201
  877. data/ext/cargo-vendor/wasmtime-20.0.2/src/compile/runtime.rs +0 -175
  878. data/ext/cargo-vendor/wasmtime-20.0.2/src/compile.rs +0 -897
  879. data/ext/cargo-vendor/wasmtime-20.0.2/src/config.rs +0 -2695
  880. data/ext/cargo-vendor/wasmtime-20.0.2/src/engine/serialization.rs +0 -849
  881. data/ext/cargo-vendor/wasmtime-20.0.2/src/engine.rs +0 -741
  882. data/ext/cargo-vendor/wasmtime-20.0.2/src/lib.rs +0 -303
  883. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/jitdump.rs +0 -66
  884. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/perfmap.rs +0 -47
  885. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent/vtune.rs +0 -80
  886. data/ext/cargo-vendor/wasmtime-20.0.2/src/profiling_agent.rs +0 -105
  887. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/code.rs +0 -102
  888. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/code_memory.rs +0 -335
  889. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/component.rs +0 -661
  890. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/host.rs +0 -439
  891. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/options.rs +0 -554
  892. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func/typed.rs +0 -2484
  893. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/func.rs +0 -747
  894. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/instance.rs +0 -804
  895. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/linker.rs +0 -786
  896. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/matching.rs +0 -217
  897. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/mod.rs +0 -756
  898. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/resource_table.rs +0 -350
  899. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/resources.rs +0 -1133
  900. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/storage.rs +0 -43
  901. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/store.rs +0 -28
  902. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/types.rs +0 -892
  903. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/component/values.rs +0 -978
  904. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/coredump.rs +0 -336
  905. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/debug.rs +0 -165
  906. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals/global.rs +0 -300
  907. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals/table.rs +0 -480
  908. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/externals.rs +0 -236
  909. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/func/typed.rs +0 -898
  910. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/func.rs +0 -2633
  911. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/anyref.rs +0 -46
  912. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/externref.rs +0 -50
  913. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/disabled/rooting.rs +0 -222
  914. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/anyref.rs +0 -472
  915. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/externref.rs +0 -644
  916. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/i31.rs +0 -345
  917. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc/enabled/rooting.rs +0 -1543
  918. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/gc.rs +0 -87
  919. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/instance.rs +0 -992
  920. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/instantiate.rs +0 -345
  921. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/limits.rs +0 -398
  922. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/linker.rs +0 -1521
  923. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/memory.rs +0 -999
  924. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/module/registry.rs +0 -354
  925. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/module.rs +0 -1295
  926. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/profiling.rs +0 -224
  927. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/resources.rs +0 -33
  928. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/signatures.rs +0 -216
  929. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/stack.rs +0 -73
  930. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/context.rs +0 -243
  931. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/data.rs +0 -289
  932. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store/func_refs.rs +0 -85
  933. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/store.rs +0 -2796
  934. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/func.rs +0 -138
  935. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/global.rs +0 -68
  936. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/memory.rs +0 -286
  937. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline/table.rs +0 -34
  938. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trampoline.rs +0 -77
  939. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/trap.rs +0 -641
  940. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/type_registry.rs +0 -632
  941. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/types/matching.rs +0 -367
  942. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/types.rs +0 -1378
  943. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/unix.rs +0 -39
  944. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/v128.rs +0 -131
  945. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/values.rs +0 -945
  946. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime/windows.rs +0 -34
  947. data/ext/cargo-vendor/wasmtime-20.0.2/src/runtime.rs +0 -112
  948. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/.cargo-checksum.json +0 -1
  949. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/Cargo.toml +0 -22
  950. data/ext/cargo-vendor/wasmtime-asm-macros-20.0.2/src/lib.rs +0 -81
  951. data/ext/cargo-vendor/wasmtime-cache-20.0.2/.cargo-checksum.json +0 -1
  952. data/ext/cargo-vendor/wasmtime-cache-20.0.2/Cargo.toml +0 -81
  953. data/ext/cargo-vendor/wasmtime-cache-20.0.2/src/lib.rs +0 -235
  954. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/.cargo-checksum.json +0 -1
  955. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/Cargo.toml +0 -67
  956. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/src/bindgen.rs +0 -390
  957. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/src/component.rs +0 -1295
  958. data/ext/cargo-vendor/wasmtime-component-macro-20.0.2/tests/codegen.rs +0 -342
  959. data/ext/cargo-vendor/wasmtime-component-util-20.0.2/.cargo-checksum.json +0 -1
  960. data/ext/cargo-vendor/wasmtime-component-util-20.0.2/Cargo.toml +0 -25
  961. data/ext/cargo-vendor/wasmtime-component-util-20.0.2/src/lib.rs +0 -180
  962. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/.cargo-checksum.json +0 -1
  963. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/Cargo.toml +0 -114
  964. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/compiler/component.rs +0 -962
  965. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/compiler.rs +0 -1369
  966. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/gc.rs +0 -239
  967. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/attr.rs +0 -345
  968. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/expression.rs +0 -1252
  969. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/line_program.rs +0 -282
  970. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/mod.rs +0 -126
  971. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/unit.rs +0 -522
  972. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/transform/utils.rs +0 -187
  973. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug/write_debuginfo.rs +0 -187
  974. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/debug.rs +0 -18
  975. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/func_environ.rs +0 -2672
  976. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/gc/enabled.rs +0 -649
  977. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/gc.rs +0 -198
  978. data/ext/cargo-vendor/wasmtime-cranelift-20.0.2/src/lib.rs +0 -505
  979. data/ext/cargo-vendor/wasmtime-environ-20.0.2/.cargo-checksum.json +0 -1
  980. data/ext/cargo-vendor/wasmtime-environ-20.0.2/Cargo.lock +0 -782
  981. data/ext/cargo-vendor/wasmtime-environ-20.0.2/Cargo.toml +0 -144
  982. data/ext/cargo-vendor/wasmtime-environ-20.0.2/examples/factc.rs +0 -205
  983. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/address_map.rs +0 -72
  984. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/mod.rs +0 -389
  985. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/module_artifacts.rs +0 -300
  986. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/compile/trap_encoding.rs +0 -69
  987. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/compiler.rs +0 -19
  988. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/dfg.rs +0 -690
  989. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/info.rs +0 -672
  990. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/translate/adapt.rs +0 -459
  991. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/translate.rs +0 -965
  992. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/types/resources.rs +0 -234
  993. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component/types.rs +0 -1972
  994. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/component.rs +0 -103
  995. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/demangling.rs +0 -28
  996. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/core_types.rs +0 -24
  997. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/signature.rs +0 -135
  998. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/trampoline.rs +0 -3233
  999. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/transcode.rs +0 -89
  1000. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact/traps.rs +0 -115
  1001. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/fact.rs +0 -711
  1002. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/lib.rs +0 -70
  1003. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module.rs +0 -780
  1004. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_artifacts.rs +0 -145
  1005. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_environ.rs +0 -1288
  1006. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/module_types.rs +0 -122
  1007. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/scopevec.rs +0 -78
  1008. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/stack_map.rs +0 -36
  1009. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/trap_encoding.rs +0 -188
  1010. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/tunables.rs +0 -158
  1011. data/ext/cargo-vendor/wasmtime-environ-20.0.2/src/vmoffsets.rs +0 -952
  1012. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/.cargo-checksum.json +0 -1
  1013. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/Cargo.toml +0 -63
  1014. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/build.rs +0 -26
  1015. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/lib.rs +0 -328
  1016. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/unix.rs +0 -265
  1017. data/ext/cargo-vendor/wasmtime-fiber-20.0.2/src/windows.rs +0 -166
  1018. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.2/.cargo-checksum.json +0 -1
  1019. data/ext/cargo-vendor/wasmtime-jit-debug-20.0.2/Cargo.toml +0 -67
  1020. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/.cargo-checksum.json +0 -1
  1021. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/Cargo.toml +0 -47
  1022. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/lib.rs +0 -108
  1023. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/libc.rs +0 -149
  1024. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/miri.rs +0 -10
  1025. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.2/src/win.rs +0 -45
  1026. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/.cargo-checksum.json +0 -1
  1027. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/Cargo.toml +0 -147
  1028. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/build.rs +0 -24
  1029. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/arch/aarch64.rs +0 -76
  1030. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/arch/x86_64.rs +0 -41
  1031. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/async_yield.rs +0 -35
  1032. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component/libcalls.rs +0 -571
  1033. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component/resources.rs +0 -351
  1034. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/component.rs +0 -860
  1035. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/cow.rs +0 -888
  1036. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/debug_builtins.rs +0 -59
  1037. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/export.rs +0 -108
  1038. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/disabled.rs +0 -23
  1039. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/drc.rs +0 -963
  1040. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/externref.rs +0 -115
  1041. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled/free_list.rs +0 -767
  1042. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/enabled.rs +0 -18
  1043. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/gc_ref.rs +0 -486
  1044. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/gc_runtime.rs +0 -503
  1045. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/host_data.rs +0 -81
  1046. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc/i31.rs +0 -86
  1047. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/gc.rs +0 -244
  1048. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/imports.rs +0 -27
  1049. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/on_demand.rs +0 -217
  1050. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/gc_heap_pool.rs +0 -92
  1051. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/index_allocator.rs +0 -704
  1052. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/memory_pool.rs +0 -996
  1053. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/stack_pool.rs +0 -242
  1054. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling/table_pool.rs +0 -231
  1055. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator/pooling.rs +0 -699
  1056. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance/allocator.rs +0 -780
  1057. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/instance.rs +0 -1566
  1058. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/lib.rs +0 -289
  1059. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/libcalls.rs +0 -777
  1060. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/memory.rs +0 -751
  1061. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mmap.rs +0 -214
  1062. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mmap_vec.rs +0 -201
  1063. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/module_id.rs +0 -43
  1064. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/enabled.rs +0 -213
  1065. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/mod.rs +0 -54
  1066. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/pkru.rs +0 -104
  1067. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/mpk/sys.rs +0 -113
  1068. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/send_sync_ptr.rs +0 -106
  1069. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/store_box.rs +0 -35
  1070. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/capi.rs +0 -189
  1071. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/mmap.rs +0 -111
  1072. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/mod.rs +0 -24
  1073. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/traphandlers.rs +0 -55
  1074. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/custom/vm.rs +0 -108
  1075. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/mmap.rs +0 -94
  1076. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/mod.rs +0 -10
  1077. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/miri/traphandlers.rs +0 -47
  1078. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/mod.rs +0 -33
  1079. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/machports.rs +0 -416
  1080. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/mmap.rs +0 -151
  1081. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/mod.rs +0 -21
  1082. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/signals.rs +0 -401
  1083. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/unwind.rs +0 -149
  1084. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/unix/vm.rs +0 -208
  1085. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/mmap.rs +0 -216
  1086. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/mod.rs +0 -6
  1087. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/sys/windows/traphandlers.rs +0 -104
  1088. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/table.rs +0 -851
  1089. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/parking_spot.rs +0 -621
  1090. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/shared_memory.rs +0 -230
  1091. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/threads/shared_memory_disabled.rs +0 -100
  1092. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/backtrace.rs +0 -265
  1093. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/coredump_disabled.rs +0 -16
  1094. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers/coredump_enabled.rs +0 -40
  1095. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/traphandlers.rs +0 -785
  1096. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/vmcontext/vm_host_func_context.rs +0 -137
  1097. data/ext/cargo-vendor/wasmtime-runtime-20.0.2/src/vmcontext.rs +0 -1293
  1098. data/ext/cargo-vendor/wasmtime-slab-20.0.2/.cargo-checksum.json +0 -1
  1099. data/ext/cargo-vendor/wasmtime-slab-20.0.2/Cargo.toml +0 -21
  1100. data/ext/cargo-vendor/wasmtime-slab-20.0.2/src/lib.rs +0 -493
  1101. data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +0 -1
  1102. data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +0 -36
  1103. data/ext/cargo-vendor/wasmtime-types-20.0.2/src/error.rs +0 -59
  1104. data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +0 -832
  1105. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.2/.cargo-checksum.json +0 -1
  1106. data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.2/Cargo.toml +0 -32
  1107. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/.cargo-checksum.json +0 -1
  1108. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/Cargo.toml +0 -194
  1109. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/bindings.rs +0 -283
  1110. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/ctx.rs +0 -659
  1111. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/filesystem.rs +0 -433
  1112. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/lib.rs +0 -404
  1113. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/preview0.rs +0 -879
  1114. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/src/preview1.rs +0 -2601
  1115. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/api.rs +0 -194
  1116. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/async_.rs +0 -397
  1117. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/main.rs +0 -91
  1118. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/preview1.rs +0 -251
  1119. data/ext/cargo-vendor/wasmtime-wasi-20.0.2/tests/all/sync.rs +0 -333
  1120. data/ext/cargo-vendor/wasmtime-winch-20.0.2/.cargo-checksum.json +0 -1
  1121. data/ext/cargo-vendor/wasmtime-winch-20.0.2/Cargo.toml +0 -81
  1122. data/ext/cargo-vendor/wasmtime-winch-20.0.2/src/compiler.rs +0 -257
  1123. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/.cargo-checksum.json +0 -1
  1124. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/Cargo.toml +0 -41
  1125. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/src/lib.rs +0 -2213
  1126. data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.2/src/rust.rs +0 -421
  1127. data/ext/cargo-vendor/wiggle-20.0.2/.cargo-checksum.json +0 -1
  1128. data/ext/cargo-vendor/wiggle-20.0.2/Cargo.toml +0 -122
  1129. data/ext/cargo-vendor/wiggle-generate-20.0.2/.cargo-checksum.json +0 -1
  1130. data/ext/cargo-vendor/wiggle-generate-20.0.2/Cargo.toml +0 -65
  1131. data/ext/cargo-vendor/wiggle-generate-20.0.2/LICENSE +0 -220
  1132. data/ext/cargo-vendor/wiggle-macro-20.0.2/.cargo-checksum.json +0 -1
  1133. data/ext/cargo-vendor/wiggle-macro-20.0.2/Cargo.toml +0 -55
  1134. data/ext/cargo-vendor/wiggle-macro-20.0.2/LICENSE +0 -220
  1135. data/ext/cargo-vendor/winch-codegen-0.18.2/.cargo-checksum.json +0 -1
  1136. data/ext/cargo-vendor/winch-codegen-0.18.2/Cargo.toml +0 -81
  1137. data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/context.rs +0 -534
  1138. data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/env.rs +0 -435
  1139. data/ext/cargo-vendor/winch-codegen-0.18.2/src/codegen/mod.rs +0 -756
  1140. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/abi.rs +0 -291
  1141. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/address.rs +0 -144
  1142. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/asm.rs +0 -252
  1143. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/masm.rs +0 -573
  1144. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/mod.rs +0 -154
  1145. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/aarch64/regs.rs +0 -149
  1146. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/reg.rs +0 -86
  1147. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/x64/asm.rs +0 -1423
  1148. data/ext/cargo-vendor/winch-codegen-0.18.2/src/isa/x64/masm.rs +0 -1256
  1149. data/ext/cargo-vendor/winch-codegen-0.18.2/src/masm.rs +0 -947
  1150. data/ext/cargo-vendor/winch-codegen-0.18.2/src/regalloc.rs +0 -65
  1151. data/ext/cargo-vendor/winch-codegen-0.18.2/src/regset.rs +0 -194
  1152. data/ext/cargo-vendor/winch-codegen-0.18.2/src/visitor.rs +0 -2149
  1153. data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +0 -1
  1154. data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +0 -101
  1155. data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +0 -1443
  1156. data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +0 -1764
  1157. data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +0 -765
  1158. data/ext/cargo-vendor/wit-parser-0.202.0/src/live.rs +0 -111
  1159. data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +0 -2240
  1160. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple-returns-borrow.wit.json +0 -74
  1161. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-return-borrow.wit.json +0 -69
  1162. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/world-top-level-resources.wit +0 -24
  1163. data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/world-top-level-resources.wit.json +0 -240
  1164. data/ext/src/ruby_api/config/tracked_memory_creator.rs +0 -82
  1165. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/LICENSE +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/README.md +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/lib.rs +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/map.rs +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/node.rs +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/path.rs +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/pool.rs +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-bforest-0.107.2 → cranelift-bforest-0.108.1}/src/set.rs +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/LICENSE +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/README.md +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/benches/x64-evex-encoding.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/binemit/mod.rs +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/binemit/stack_map.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/bitset.rs +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/cfg_printer.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/constant_hash.rs +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/cursor.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/data_value.rs +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dbg.rs +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dce.rs +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/dominator_tree.rs +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/egraph/cost.rs +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/flowgraph.rs +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/inst_predicates.rs +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/atomic_rmw_op.rs +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/builder.rs +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/condcodes.rs +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/constant.rs +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/dfg.rs +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/dynamic_type.rs +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/entities.rs +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/extfunc.rs +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/extname.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/function.rs +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/globalvalue.rs +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/immediates.rs +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/jumptable.rs +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/known_symbol.rs +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/layout.rs +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/libcall.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/memflags.rs +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/memtype.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/mod.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/pcc.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/progpoint.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/sourceloc.rs +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/stackslot.rs +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/trapcode.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/ir/types.rs +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst/unwind.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/inst_neon.isle +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower.isle +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/mod.rs +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/aarch64/settings.rs +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/call_conv.rs +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/encode.rs +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/imms.rs +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst/unwind.rs +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/inst_vector.isle +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/lower.rs +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/mod.rs +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/riscv64/settings.rs +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/emit_tests.rs +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst/unwind.rs +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/inst.isle +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower/isle.rs +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower.isle +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/lower.rs +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/mod.rs +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/s390x/settings.rs +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind/systemv.rs +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind/winx64.rs +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/unwind.rs +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/evex.rs +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/mod.rs +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/rex.rs +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/encoding/vex.rs +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/emit_state.rs +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/inst/unwind.rs +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/mod.rs +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isa/x64/settings.rs +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/isle_prelude.rs +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/iterators.rs +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/legalizer/globalvalue.rs +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/legalizer/mod.rs +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/loop_analysis.rs +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/buffer.rs +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/compile.rs +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/helpers.rs +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/inst_common.rs +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/machinst/pcc.rs +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/README.md +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/bitops.isle +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/cprop.isle +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/extends.isle +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/generated_code.rs +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/remat.isle +0 -0
  1273. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/selects.isle +0 -0
  1274. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/shifts.isle +0 -0
  1275. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/spaceship.isle +0 -0
  1276. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/spectre.isle +0 -0
  1277. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts/vector.isle +0 -0
  1278. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/opts.rs +0 -0
  1279. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude.isle +0 -0
  1280. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude_lower.isle +0 -0
  1281. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/prelude_opt.isle +0 -0
  1282. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/print_errors.rs +0 -0
  1283. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/result.rs +0 -0
  1284. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/souper_harvest.rs +0 -0
  1285. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/timing.rs +0 -0
  1286. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/unionfind.rs +0 -0
  1287. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/unreachable_code.rs +0 -0
  1288. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/value_label.rs +0 -0
  1289. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/verifier/mod.rs +0 -0
  1290. /data/ext/cargo-vendor/{cranelift-codegen-0.107.2 → cranelift-codegen-0.108.1}/src/write.rs +0 -0
  1291. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/LICENSE +0 -0
  1292. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/README.md +0 -0
  1293. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/formats.rs +0 -0
  1294. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/instructions.rs +0 -0
  1295. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/isa.rs +0 -0
  1296. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/mod.rs +0 -0
  1297. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/operands.rs +0 -0
  1298. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/settings.rs +0 -0
  1299. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/types.rs +0 -0
  1300. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/cdsl/typevar.rs +0 -0
  1301. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/constant_hash.rs +0 -0
  1302. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/error.rs +0 -0
  1303. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/arm64.rs +0 -0
  1304. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/mod.rs +0 -0
  1305. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/isa/s390x.rs +0 -0
  1306. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/entities.rs +0 -0
  1307. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/formats.rs +0 -0
  1308. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/immediates.rs +0 -0
  1309. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/instructions.rs +0 -0
  1310. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/mod.rs +0 -0
  1311. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/shared/types.rs +0 -0
  1312. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.107.2 → cranelift-codegen-meta-0.108.1}/src/unique_table.rs +0 -0
  1313. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/LICENSE +0 -0
  1314. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/README.md +0 -0
  1315. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/constant_hash.rs +0 -0
  1316. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/constants.rs +0 -0
  1317. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.107.2 → cranelift-codegen-shared-0.108.1}/src/lib.rs +0 -0
  1318. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/LICENSE +0 -0
  1319. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/README.md +0 -0
  1320. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/chaos.rs +0 -0
  1321. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/lib.rs +0 -0
  1322. /data/ext/cargo-vendor/{cranelift-control-0.107.2 → cranelift-control-0.108.1}/src/zero_sized.rs +0 -0
  1323. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/LICENSE +0 -0
  1324. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/README.md +0 -0
  1325. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/boxed_slice.rs +0 -0
  1326. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/iter.rs +0 -0
  1327. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/keys.rs +0 -0
  1328. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/list.rs +0 -0
  1329. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/map.rs +0 -0
  1330. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/packed_option.rs +0 -0
  1331. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/primary.rs +0 -0
  1332. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/set.rs +0 -0
  1333. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/sparse.rs +0 -0
  1334. /data/ext/cargo-vendor/{cranelift-entity-0.107.2 → cranelift-entity-0.108.1}/src/unsigned.rs +0 -0
  1335. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/LICENSE +0 -0
  1336. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/README.md +0 -0
  1337. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/frontend.rs +0 -0
  1338. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/lib.rs +0 -0
  1339. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/ssa.rs +0 -0
  1340. /data/ext/cargo-vendor/{cranelift-frontend-0.107.2 → cranelift-frontend-0.108.1}/src/variable.rs +0 -0
  1341. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/README.md +0 -0
  1342. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/build.rs +0 -0
  1343. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/bad_converters.isle +0 -0
  1344. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1345. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1346. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/error1.isle +0 -0
  1347. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/extra_parens.isle +0 -0
  1348. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/impure_expression.isle +0 -0
  1349. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/impure_rhs.isle +0 -0
  1350. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1351. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/fail/multi_prio.isle +0 -0
  1352. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/borrows.isle +0 -0
  1353. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/borrows_main.rs +0 -0
  1354. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/iflets.isle +0 -0
  1355. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/iflets_main.rs +0 -0
  1356. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_constructor.isle +0 -0
  1357. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_constructor_main.rs +0 -0
  1358. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_extractor.isle +0 -0
  1359. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/multi_extractor_main.rs +0 -0
  1360. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/test.isle +0 -0
  1361. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/link/test_main.rs +0 -0
  1362. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/bound_var.isle +0 -0
  1363. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/construct_and_extract.isle +0 -0
  1364. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/conversions.isle +0 -0
  1365. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/conversions_extern.isle +0 -0
  1366. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/let.isle +0 -0
  1367. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/nodebug.isle +0 -0
  1368. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1369. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test2.isle +0 -0
  1370. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test3.isle +0 -0
  1371. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/test4.isle +0 -0
  1372. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/pass/tutorial.isle +0 -0
  1373. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/iconst.isle +0 -0
  1374. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/iconst_main.rs +0 -0
  1375. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/let_shadowing.isle +0 -0
  1376. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/isle_examples/run/let_shadowing_main.rs +0 -0
  1377. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/ast.rs +0 -0
  1378. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/compile.rs +0 -0
  1379. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/error.rs +0 -0
  1380. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/lexer.rs +0 -0
  1381. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/log.rs +0 -0
  1382. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/overlap.rs +0 -0
  1383. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/src/parser.rs +0 -0
  1384. /data/ext/cargo-vendor/{cranelift-isle-0.107.2 → cranelift-isle-0.108.1}/tests/run_tests.rs +0 -0
  1385. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/LICENSE +0 -0
  1386. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/README.md +0 -0
  1387. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/src/lib.rs +0 -0
  1388. /data/ext/cargo-vendor/{cranelift-native-0.107.2 → cranelift-native-0.108.1}/src/riscv.rs +0 -0
  1389. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/LICENSE +0 -0
  1390. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/README.md +0 -0
  1391. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/code_translator/bounds_checks.rs +0 -0
  1392. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/environ/mod.rs +0 -0
  1393. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/func_translator.rs +0 -0
  1394. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/heap.rs +0 -0
  1395. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/lib.rs +0 -0
  1396. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/module_translator.rs +0 -0
  1397. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/state.rs +0 -0
  1398. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/table.rs +0 -0
  1399. /data/ext/cargo-vendor/{cranelift-wasm-0.107.2 → cranelift-wasm-0.108.1}/src/translation_utils.rs +0 -0
  1400. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/README.md +0 -0
  1401. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/clocks.rs +0 -0
  1402. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/lib.rs +0 -0
  1403. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/src/noop_scheduler.rs +0 -0
  1404. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/clocks.rs +0 -0
  1405. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/common/mod.rs +0 -0
  1406. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/random.rs +0 -0
  1407. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.21 → deterministic-wasi-ctx-0.1.22}/tests/scheduler.rs +0 -0
  1408. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/LICENSE-APACHE +0 -0
  1409. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/LICENSE-MIT +0 -0
  1410. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/bin/release.sh +0 -0
  1411. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/build/features.rs +0 -0
  1412. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/build/version.rs +0 -0
  1413. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/readme.md +0 -0
  1414. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/hidden.rs +0 -0
  1415. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/lib.rs +0 -0
  1416. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/macros.rs +0 -0
  1417. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/memory.rs +0 -0
  1418. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/ruby_abi_version.rs +0 -0
  1419. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/special_consts.rs +0 -0
  1420. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/compiled.c +0 -0
  1421. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/compiled.rs +0 -0
  1422. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_2_6.rs +0 -0
  1423. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_2_7.rs +0 -0
  1424. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_0.rs +0 -0
  1425. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_1.rs +0 -0
  1426. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_2.rs +0 -0
  1427. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api/ruby_3_3.rs +0 -0
  1428. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/stable_api.rs +0 -0
  1429. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/symbol.rs +0 -0
  1430. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/utils.rs +0 -0
  1431. /data/ext/cargo-vendor/{rb-sys-0.9.97 → rb-sys-0.9.100}/src/value_type.rs +0 -0
  1432. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/LICENSE-APACHE +0 -0
  1433. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/LICENSE-MIT +0 -0
  1434. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/bindings/sanitizer.rs +0 -0
  1435. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/bindings/wrapper.h +0 -0
  1436. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/lib.rs +0 -0
  1437. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/flags.rs +0 -0
  1438. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/library.rs +0 -0
  1439. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config/search_path.rs +0 -0
  1440. /data/ext/cargo-vendor/{rb-sys-build-0.9.97 → rb-sys-build-0.9.100}/src/rb_config.rs +0 -0
  1441. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/LICENSE +0 -0
  1442. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/README.md +0 -0
  1443. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/clocks.rs +0 -0
  1444. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/ctx.rs +0 -0
  1445. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/dir.rs +0 -0
  1446. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/error.rs +0 -0
  1447. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/file.rs +0 -0
  1448. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/lib.rs +0 -0
  1449. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/pipe.rs +0 -0
  1450. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/random.rs +0 -0
  1451. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sched/subscription.rs +0 -0
  1452. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sched.rs +0 -0
  1453. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/mod.rs +0 -0
  1454. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_0.rs +0 -0
  1455. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_1/error.rs +0 -0
  1456. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/snapshots/preview_1.rs +0 -0
  1457. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/string_array.rs +0 -0
  1458. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/clocks.rs +0 -0
  1459. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/dir.rs +0 -0
  1460. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/file.rs +0 -0
  1461. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/mod.rs +0 -0
  1462. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/net.rs +0 -0
  1463. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched/unix.rs +0 -0
  1464. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched/windows.rs +0 -0
  1465. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/sched.rs +0 -0
  1466. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/sync/stdio.rs +0 -0
  1467. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/table.rs +0 -0
  1468. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/dir.rs +0 -0
  1469. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/file.rs +0 -0
  1470. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/mod.rs +0 -0
  1471. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/net.rs +0 -0
  1472. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched/unix.rs +0 -0
  1473. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched/windows.rs +0 -0
  1474. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/sched.rs +0 -0
  1475. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/src/tokio/stdio.rs +0 -0
  1476. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview0/typenames.witx +0 -0
  1477. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview0/wasi_unstable.witx +0 -0
  1478. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview1/typenames.witx +0 -0
  1479. /data/ext/cargo-vendor/{wasi-common-20.0.2 → wasi-common-21.0.1}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1480. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/LICENSE +0 -0
  1481. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/README.md +0 -0
  1482. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/aliases.rs +0 -0
  1483. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/builder.rs +0 -0
  1484. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/canonicals.rs +0 -0
  1485. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/components.rs +0 -0
  1486. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/exports.rs +0 -0
  1487. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/imports.rs +0 -0
  1488. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/instances.rs +0 -0
  1489. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/modules.rs +0 -0
  1490. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/names.rs +0 -0
  1491. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/start.rs +0 -0
  1492. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component/types.rs +0 -0
  1493. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/component.rs +0 -0
  1494. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/custom.rs +0 -0
  1495. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/dump.rs +0 -0
  1496. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/exports.rs +0 -0
  1497. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/functions.rs +0 -0
  1498. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/linking.rs +0 -0
  1499. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/names.rs +0 -0
  1500. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/producers.rs +0 -0
  1501. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/start.rs +0 -0
  1502. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core/tags.rs +0 -0
  1503. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/core.rs +0 -0
  1504. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/lib.rs +0 -0
  1505. /data/ext/cargo-vendor/{wasm-encoder-0.202.0 → wasm-encoder-0.207.0}/src/raw.rs +0 -0
  1506. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/README.md +0 -0
  1507. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/benches/benchmark.rs +0 -0
  1508. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/examples/simple.rs +0 -0
  1509. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/aliases.rs +0 -0
  1510. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/exports.rs +0 -0
  1511. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component/imports.rs +0 -0
  1512. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/component.rs +0 -0
  1513. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/branch_hinting.rs +0 -0
  1514. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/exports.rs +0 -0
  1515. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/functions.rs +0 -0
  1516. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/imports.rs +0 -0
  1517. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/init.rs +0 -0
  1518. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/producers.rs +0 -0
  1519. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/src/readers/core/tags.rs +0 -0
  1520. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmparser-0.207.0}/tests/big-module.rs +0 -0
  1521. /data/ext/cargo-vendor/{wasmparser-0.202.0 → wasmprinter-0.207.0}/LICENSE +0 -0
  1522. /data/ext/cargo-vendor/{wasmprinter-0.202.0 → wasmprinter-0.207.0}/README.md +0 -0
  1523. /data/ext/cargo-vendor/{wasmprinter-0.202.0 → wasmtime-21.0.1}/LICENSE +0 -0
  1524. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/README.md +0 -0
  1525. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/proptest-regressions → wasmtime-21.0.1/proptest-regressions/runtime/vm}/instance/allocator/pooling/memory_pool.txt +0 -0
  1526. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/disabled/i31.rs +0 -0
  1527. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/disabled.rs +0 -0
  1528. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/gc/enabled.rs +0 -0
  1529. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-21.0.1}/src/runtime/uninhabited.rs +0 -0
  1530. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/mod.rs +0 -0
  1531. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/riscv64.rs +0 -0
  1532. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/s390x.S +0 -0
  1533. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/arch/s390x.rs +0 -0
  1534. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/helpers.c +0 -0
  1535. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/mpk/disabled.rs +0 -0
  1536. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/custom/unwind.rs +0 -0
  1537. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/miri/unwind.rs +0 -0
  1538. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/miri/vm.rs +0 -0
  1539. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/unix/macos_traphandlers.rs +0 -0
  1540. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/windows/unwind.rs +0 -0
  1541. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/sys/windows/vm.rs +0 -0
  1542. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2/src → wasmtime-21.0.1/src/runtime/vm}/threads/mod.rs +0 -0
  1543. /data/ext/cargo-vendor/{wasmtime-20.0.2 → wasmtime-cache-21.0.1}/LICENSE +0 -0
  1544. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/build.rs +0 -0
  1545. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/config/tests.rs +0 -0
  1546. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/config.rs +0 -0
  1547. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/tests.rs +0 -0
  1548. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker/tests/system_time_stub.rs +0 -0
  1549. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker/tests.rs +0 -0
  1550. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/src/worker.rs +0 -0
  1551. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cache-21.0.1}/tests/cache_write_default_config.rs +0 -0
  1552. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/build.rs +0 -0
  1553. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/src/lib.rs +0 -0
  1554. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/char.wit +0 -0
  1555. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/conventions.wit +0 -0
  1556. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/dead-code.wit +0 -0
  1557. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/direct-import.wit +0 -0
  1558. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/empty.wit +0 -0
  1559. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/flags.wit +0 -0
  1560. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/floats.wit +0 -0
  1561. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/function-new.wit +0 -0
  1562. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/integers.wit +0 -0
  1563. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/lists.wit +0 -0
  1564. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/many-arguments.wit +0 -0
  1565. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multi-return.wit +0 -0
  1566. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1567. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1568. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/multiversion/root.wit +0 -0
  1569. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/records.wit +0 -0
  1570. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/rename.wit +0 -0
  1571. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/resources-export.wit +0 -0
  1572. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/resources-import.wit +0 -0
  1573. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/share-types.wit +0 -0
  1574. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-functions.wit +0 -0
  1575. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-lists.wit +0 -0
  1576. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/simple-wasi.wit +0 -0
  1577. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/small-anonymous.wit +0 -0
  1578. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke-default.wit +0 -0
  1579. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke-export.wit +0 -0
  1580. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/smoke.wit +0 -0
  1581. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/strings.wit +0 -0
  1582. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/unversioned-foo.wit +0 -0
  1583. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/use-paths.wit +0 -0
  1584. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/variants.wit +0 -0
  1585. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/wat.wit +0 -0
  1586. /data/ext/cargo-vendor/{wasmtime-component-macro-20.0.2 → wasmtime-component-macro-21.0.1}/tests/codegen/worlds-with-types.wit +0 -0
  1587. /data/ext/cargo-vendor/{wasmtime-cache-20.0.2 → wasmtime-cranelift-21.0.1}/LICENSE +0 -0
  1588. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/SECURITY.md +0 -0
  1589. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/builder.rs +0 -0
  1590. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/compiled_function.rs +0 -0
  1591. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/address_transform.rs +0 -0
  1592. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/range_info_builder.rs +0 -0
  1593. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/refs.rs +0 -0
  1594. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/debug/transform/simulate.rs +0 -0
  1595. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/gc/disabled.rs +0 -0
  1596. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/isa_builder.rs +0 -0
  1597. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-cranelift-21.0.1}/src/obj.rs +0 -0
  1598. /data/ext/cargo-vendor/{wasmtime-cranelift-20.0.2 → wasmtime-environ-21.0.1}/LICENSE +0 -0
  1599. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/address_map.rs +0 -0
  1600. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/builtin.rs +0 -0
  1601. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/artifacts.rs +0 -0
  1602. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/translate/inline.rs +0 -0
  1603. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/component/vmcomponent_offsets.rs +0 -0
  1604. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/gc.rs +0 -0
  1605. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/obj.rs +0 -0
  1606. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-environ-21.0.1}/src/ref_bits.rs +0 -0
  1607. /data/ext/cargo-vendor/{wasmtime-environ-20.0.2 → wasmtime-fiber-21.0.1}/LICENSE +0 -0
  1608. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/aarch64.rs +0 -0
  1609. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/arm.rs +0 -0
  1610. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/riscv64.rs +0 -0
  1611. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/s390x.S +0 -0
  1612. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/x86.rs +0 -0
  1613. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/unix/x86_64.rs +0 -0
  1614. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-fiber-21.0.1}/src/windows.c +0 -0
  1615. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/README.md +0 -0
  1616. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/gdb_jit_int.rs +0 -0
  1617. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/lib.rs +0 -0
  1618. /data/ext/cargo-vendor/{wasmtime-jit-debug-20.0.2 → wasmtime-jit-debug-21.0.1}/src/perf_jitdump.rs +0 -0
  1619. /data/ext/cargo-vendor/{wasmtime-fiber-20.0.2 → wasmtime-types-21.0.1}/LICENSE +0 -0
  1620. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-20.0.2 → wasmtime-versioned-export-macros-21.0.1}/src/lib.rs +0 -0
  1621. /data/ext/cargo-vendor/{wasmtime-runtime-20.0.2 → wasmtime-wasi-21.0.1}/LICENSE +0 -0
  1622. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/README.md +0 -0
  1623. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/clocks/host.rs +0 -0
  1624. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/clocks.rs +0 -0
  1625. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/error.rs +0 -0
  1626. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/clocks.rs +0 -0
  1627. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/env.rs +0 -0
  1628. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/exit.rs +0 -0
  1629. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/filesystem/sync.rs +0 -0
  1630. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/filesystem.rs +0 -0
  1631. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/instance_network.rs +0 -0
  1632. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/io.rs +0 -0
  1633. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/mod.rs +0 -0
  1634. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/network.rs +0 -0
  1635. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/random.rs +0 -0
  1636. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/tcp.rs +0 -0
  1637. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/tcp_create_socket.rs +0 -0
  1638. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/udp.rs +0 -0
  1639. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/host/udp_create_socket.rs +0 -0
  1640. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/ip_name_lookup.rs +0 -0
  1641. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/network.rs +0 -0
  1642. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/pipe.rs +0 -0
  1643. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/poll.rs +0 -0
  1644. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/random.rs +0 -0
  1645. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/runtime.rs +0 -0
  1646. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stdio/worker_thread_stdin.rs +0 -0
  1647. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stdio.rs +0 -0
  1648. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/stream.rs +0 -0
  1649. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/tcp.rs +0 -0
  1650. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/udp.rs +0 -0
  1651. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/src/write_stream.rs +0 -0
  1652. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/tests/process_stdin.rs +0 -0
  1653. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/command-extended.wit +0 -0
  1654. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/command.wit +0 -0
  1655. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/environment.wit +0 -0
  1656. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/exit.wit +0 -0
  1657. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/imports.wit +0 -0
  1658. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/run.wit +0 -0
  1659. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/stdio.wit +0 -0
  1660. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/cli/terminal.wit +0 -0
  1661. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/monotonic-clock.wit +0 -0
  1662. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/wall-clock.wit +0 -0
  1663. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/clocks/world.wit +0 -0
  1664. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/preopens.wit +0 -0
  1665. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/types.wit +0 -0
  1666. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/filesystem/world.wit +0 -0
  1667. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/handler.wit +0 -0
  1668. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/proxy.wit +0 -0
  1669. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/http/types.wit +0 -0
  1670. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/error.wit +0 -0
  1671. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/poll.wit +0 -0
  1672. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/streams.wit +0 -0
  1673. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/io/world.wit +0 -0
  1674. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/insecure-seed.wit +0 -0
  1675. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/insecure.wit +0 -0
  1676. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/random.wit +0 -0
  1677. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/random/world.wit +0 -0
  1678. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/instance-network.wit +0 -0
  1679. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  1680. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/network.wit +0 -0
  1681. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  1682. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/tcp.wit +0 -0
  1683. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/udp-create-socket.wit +0 -0
  1684. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/udp.wit +0 -0
  1685. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/deps/sockets/world.wit +0 -0
  1686. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/wit/test.wit +0 -0
  1687. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview0/typenames.witx +0 -0
  1688. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview0/wasi_unstable.witx +0 -0
  1689. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview1/typenames.witx +0 -0
  1690. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wasmtime-wasi-21.0.1}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  1691. /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/LICENSE +0 -0
  1692. /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/src/builder.rs +0 -0
  1693. /data/ext/cargo-vendor/{wasmtime-winch-20.0.2 → wasmtime-winch-21.0.1}/src/lib.rs +0 -0
  1694. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-20.0.2 → wasmtime-wit-bindgen-21.0.1}/src/source.rs +0 -0
  1695. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-20.0.2 → wasmtime-wit-bindgen-21.0.1}/src/types.rs +0 -0
  1696. /data/ext/cargo-vendor/{wasmtime-types-20.0.2 → wiggle-21.0.1}/LICENSE +0 -0
  1697. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/README.md +0 -0
  1698. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/borrow.rs +0 -0
  1699. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/error.rs +0 -0
  1700. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/guest_type.rs +0 -0
  1701. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/lib.rs +0 -0
  1702. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/region.rs +0 -0
  1703. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-21.0.1}/src/wasmtime.rs +0 -0
  1704. /data/ext/cargo-vendor/{wasmtime-wasi-20.0.2 → wiggle-generate-21.0.1}/LICENSE +0 -0
  1705. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/README.md +0 -0
  1706. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/codegen_settings.rs +0 -0
  1707. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/config.rs +0 -0
  1708. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/funcs.rs +0 -0
  1709. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/lib.rs +0 -0
  1710. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/lifetimes.rs +0 -0
  1711. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/module_trait.rs +0 -0
  1712. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/names.rs +0 -0
  1713. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/error.rs +0 -0
  1714. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/flags.rs +0 -0
  1715. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/handle.rs +0 -0
  1716. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/mod.rs +0 -0
  1717. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/record.rs +0 -0
  1718. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/types/variant.rs +0 -0
  1719. /data/ext/cargo-vendor/{wiggle-generate-20.0.2 → wiggle-generate-21.0.1}/src/wasmtime.rs +0 -0
  1720. /data/ext/cargo-vendor/{wiggle-20.0.2 → wiggle-macro-21.0.1}/LICENSE +0 -0
  1721. /data/ext/cargo-vendor/{wiggle-macro-20.0.2 → wiggle-macro-21.0.1}/src/lib.rs +0 -0
  1722. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/LICENSE +0 -0
  1723. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/build.rs +0 -0
  1724. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/abi/local.rs +0 -0
  1725. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/abi/mod.rs +0 -0
  1726. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/bounds.rs +0 -0
  1727. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/builtin.rs +0 -0
  1728. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/call.rs +0 -0
  1729. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/codegen/control.rs +0 -0
  1730. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/frame/mod.rs +0 -0
  1731. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/mod.rs +0 -0
  1732. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/abi.rs +0 -0
  1733. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/address.rs +0 -0
  1734. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/mod.rs +0 -0
  1735. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/isa/x64/regs.rs +0 -0
  1736. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/lib.rs +0 -0
  1737. /data/ext/cargo-vendor/{winch-codegen-0.18.2 → winch-codegen-0.19.1}/src/stack.rs +0 -0
  1738. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/README.md +0 -0
  1739. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/abi.rs +0 -0
  1740. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast/lex.rs +0 -0
  1741. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast/toposort.rs +0 -0
  1742. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/ast.rs +0 -0
  1743. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/docs.rs +0 -0
  1744. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/serde_.rs +0 -0
  1745. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/src/sizealign.rs +0 -0
  1746. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/all.rs +0 -0
  1747. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/comments.wit +0 -0
  1748. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/comments.wit.json +0 -0
  1749. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  1750. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  1751. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include/root.wit +0 -0
  1752. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/complex-include.wit.json +0 -0
  1753. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  1754. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource/foo.wit +0 -0
  1755. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/cross-package-resource.wit.json +0 -0
  1756. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  1757. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  1758. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1/join.wit +0 -0
  1759. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/diamond1.wit.json +0 -0
  1760. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  1761. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  1762. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
  1763. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
  1764. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/empty.wit +0 -0
  1765. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/empty.wit.json +0 -0
  1766. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  1767. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  1768. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  1769. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  1770. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  1771. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  1772. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  1773. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps/root.wit +0 -0
  1774. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  1775. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  1776. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  1777. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  1778. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  1779. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  1780. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  1781. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  1782. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union/root.wit +0 -0
  1783. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps-union.wit.json +0 -0
  1784. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/foreign-deps.wit.json +0 -0
  1785. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/functions.wit +0 -0
  1786. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/functions.wit.json +0 -0
  1787. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  1788. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  1789. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps/world.wit +0 -0
  1790. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/ignore-files-deps.wit.json +0 -0
  1791. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap1.wit +0 -0
  1792. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap1.wit.json +0 -0
  1793. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap2.wit +0 -0
  1794. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/import-export-overlap2.wit.json +0 -0
  1795. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/include-reps.wit +0 -0
  1796. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/include-reps.wit.json +0 -0
  1797. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kebab-name-include-with.wit +0 -0
  1798. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
  1799. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/a.wit +0 -0
  1800. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
  1801. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
  1802. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
  1803. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
  1804. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/kinds-of-deps.wit.json +0 -0
  1805. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names/a.wit +0 -0
  1806. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names/b.wit +0 -0
  1807. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/many-names.wit.json +0 -0
  1808. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/bar.wit +0 -0
  1809. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/cycle-a.wit +0 -0
  1810. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/cycle-b.wit +0 -0
  1811. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file/foo.wit +0 -0
  1812. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/multi-file.wit.json +0 -0
  1813. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  1814. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  1815. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  1816. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax1.wit +0 -0
  1817. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax1.wit.json +0 -0
  1818. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax3.wit +0 -0
  1819. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax3.wit.json +0 -0
  1820. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax4.wit +0 -0
  1821. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/package-syntax4.wit.json +0 -0
  1822. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1823. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  1824. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/async.wit.result +0 -0
  1825. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  1826. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function.wit +0 -0
  1827. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  1828. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
  1829. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  1830. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
  1831. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  1832. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
  1833. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  1834. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
  1835. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  1836. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  1837. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1838. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  1839. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  1840. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  1841. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  1842. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  1843. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1844. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  1845. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  1846. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  1847. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  1848. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  1849. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  1850. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  1851. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  1852. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1853. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  1854. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  1855. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  1856. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  1857. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  1858. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  1859. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  1860. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  1861. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  1862. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  1863. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  1864. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  1865. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  1866. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  1867. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  1868. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  1869. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  1870. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  1871. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  1872. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  1873. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  1874. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  1875. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  1876. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  1877. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  1878. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  1879. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  1880. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  1881. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  1882. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  1883. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  1884. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  1885. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  1886. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  1887. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  1888. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  1889. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  1890. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
  1891. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle.wit +0 -0
  1892. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
  1893. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle2.wit +0 -0
  1894. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  1895. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle3.wit +0 -0
  1896. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  1897. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle4.wit +0 -0
  1898. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  1899. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle5.wit +0 -0
  1900. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  1901. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  1902. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  1903. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  1904. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  1905. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  1906. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  1907. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  1908. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  1909. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  1910. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  1911. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  1912. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  1913. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  1914. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/export-twice.wit +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-twice.wit +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  1934. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  1935. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  1936. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  1937. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
  1938. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  1939. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  1940. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  1941. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  1942. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  1943. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  1944. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  1945. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  1946. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  1947. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  1948. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  1949. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  1950. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  1951. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/keyword.wit +0 -0
  1952. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  1953. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/missing-package.wit +0 -0
  1954. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  1955. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  1956. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  1957. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
  1958. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  1959. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  1960. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  1961. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  1962. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  1963. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  1964. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  1965. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  1966. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  1967. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  1968. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  1969. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  1970. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  1971. /data/ext/cargo-vendor/{wit-parser-0.202.0/tests/ui → wit-parser-0.207.0/tests/ui/parse-fail}/resources-multiple-returns-borrow.wit +0 -0
  1972. /data/ext/cargo-vendor/{wit-parser-0.202.0/tests/ui → wit-parser-0.207.0/tests/ui/parse-fail}/resources-return-borrow.wit +0 -0
  1973. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  1974. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  1975. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  1976. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  1977. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  1978. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  1979. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  1980. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  1981. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  1982. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  1983. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  1984. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  1985. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  1986. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  1987. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  1988. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  1989. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  1990. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  1991. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  1992. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  1993. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  1994. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  1995. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  1996. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  1997. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  1998. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  1999. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2000. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2001. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2002. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2003. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2004. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2005. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2006. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  2007. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2008. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2009. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2010. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2011. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2012. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2013. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2014. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2015. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2016. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2017. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2018. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2019. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2020. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2021. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
  2022. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2023. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2024. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2025. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2026. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2027. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2028. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2029. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2030. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2031. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2032. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/random.wit +0 -0
  2033. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/random.wit.json +0 -0
  2034. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-empty.wit +0 -0
  2035. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-empty.wit.json +0 -0
  2036. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2037. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2038. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple.wit +0 -0
  2039. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-multiple.wit.json +0 -0
  2040. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-return-own.wit +0 -0
  2041. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources-return-own.wit.json +0 -0
  2042. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources.wit +0 -0
  2043. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources.wit.json +0 -0
  2044. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources1.wit +0 -0
  2045. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/resources1.wit.json +0 -0
  2046. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/same-name-import-export.wit +0 -0
  2047. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/same-name-import-export.wit.json +0 -0
  2048. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/shared-types.wit +0 -0
  2049. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/shared-types.wit.json +0 -0
  2050. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/simple-wasm-text.wat +0 -0
  2051. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/simple-wasm-text.wit.json +0 -0
  2052. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/stress-export-elaborate.wit +0 -0
  2053. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
  2054. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/type-then-eof.wit +0 -0
  2055. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/type-then-eof.wit.json +0 -0
  2056. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/types.wit +0 -0
  2057. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/types.wit.json +0 -0
  2058. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-1.wit +0 -0
  2059. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-1.wit.json +0 -0
  2060. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-2.wit +0 -0
  2061. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/union-fuzz-2.wit.json +0 -0
  2062. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use-chain.wit +0 -0
  2063. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use-chain.wit.json +0 -0
  2064. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use.wit +0 -0
  2065. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/use.wit.json +0 -0
  2066. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2067. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2068. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions/foo.wit +0 -0
  2069. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/versions.wit.json +0 -0
  2070. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/wasi.wit +0 -0
  2071. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/wasi.wit.json +0 -0
  2072. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-diamond.wit +0 -0
  2073. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-diamond.wit.json +0 -0
  2074. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-iface-no-collide.wit +0 -0
  2075. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
  2076. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import1.wit +0 -0
  2077. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import1.wit.json +0 -0
  2078. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import2.wit +0 -0
  2079. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import2.wit.json +0 -0
  2080. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import3.wit +0 -0
  2081. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-implicit-import3.wit.json +0 -0
  2082. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-same-fields4.wit +0 -0
  2083. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-same-fields4.wit.json +0 -0
  2084. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-top-level-funcs.wit +0 -0
  2085. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2086. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-union-dedup.wit +0 -0
  2087. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
  2088. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-with-types.wit +0 -0
  2089. /data/ext/cargo-vendor/{wit-parser-0.202.0 → wit-parser-0.207.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,4383 +0,0 @@
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
- }