wasmtime 17.0.0 → 18.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2565) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +114 -142
  3. data/ext/Cargo.toml +8 -9
  4. data/ext/cargo-vendor/cranelift-bforest-0.105.3/.cargo-checksum.json +1 -0
  5. data/ext/cargo-vendor/cranelift-bforest-0.105.3/Cargo.toml +40 -0
  6. data/ext/cargo-vendor/cranelift-codegen-0.105.3/.cargo-checksum.json +1 -0
  7. data/ext/cargo-vendor/cranelift-codegen-0.105.3/Cargo.toml +175 -0
  8. data/ext/cargo-vendor/cranelift-codegen-0.105.3/build.rs +395 -0
  9. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/egraph/cost.rs +213 -0
  10. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/egraph/domtree.rs +74 -0
  11. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/egraph/elaborate.rs +823 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/egraph.rs +705 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/isa/x64/inst/emit.rs +4395 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/isa/x64/inst/emit_tests.rs +5525 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/isa/x64/inst.isle +5215 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/isa/x64/lower.isle +4742 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/isa/x64/mod.rs +233 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/lib.rs +106 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/machinst/reg.rs +562 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/opts/README.md +81 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/opts/cprop.isle +246 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/opts/extends.isle +91 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/prelude_opt.isle +122 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.105.3/src/verifier/mod.rs +2033 -0
  25. data/ext/cargo-vendor/cranelift-codegen-meta-0.105.3/.cargo-checksum.json +1 -0
  26. data/ext/cargo-vendor/cranelift-codegen-meta-0.105.3/Cargo.toml +35 -0
  27. data/ext/cargo-vendor/cranelift-codegen-shared-0.105.3/.cargo-checksum.json +1 -0
  28. data/ext/cargo-vendor/cranelift-codegen-shared-0.105.3/Cargo.toml +22 -0
  29. data/ext/cargo-vendor/cranelift-control-0.105.3/.cargo-checksum.json +1 -0
  30. data/ext/cargo-vendor/cranelift-control-0.105.3/Cargo.toml +30 -0
  31. data/ext/cargo-vendor/cranelift-entity-0.105.3/.cargo-checksum.json +1 -0
  32. data/ext/cargo-vendor/cranelift-entity-0.105.3/Cargo.toml +50 -0
  33. data/ext/cargo-vendor/cranelift-frontend-0.105.3/.cargo-checksum.json +1 -0
  34. data/ext/cargo-vendor/cranelift-frontend-0.105.3/Cargo.toml +68 -0
  35. data/ext/cargo-vendor/cranelift-isle-0.105.3/.cargo-checksum.json +1 -0
  36. data/ext/cargo-vendor/cranelift-isle-0.105.3/Cargo.toml +46 -0
  37. data/ext/cargo-vendor/cranelift-native-0.105.3/.cargo-checksum.json +1 -0
  38. data/ext/cargo-vendor/cranelift-native-0.105.3/Cargo.toml +43 -0
  39. data/ext/cargo-vendor/cranelift-native-0.105.3/src/lib.rs +188 -0
  40. data/ext/cargo-vendor/cranelift-wasm-0.105.3/.cargo-checksum.json +1 -0
  41. data/ext/cargo-vendor/cranelift-wasm-0.105.3/Cargo.toml +106 -0
  42. data/ext/cargo-vendor/cranelift-wasm-0.105.3/src/code_translator.rs +3681 -0
  43. data/ext/cargo-vendor/cranelift-wasm-0.105.3/src/environ/dummy.rs +953 -0
  44. data/ext/cargo-vendor/cranelift-wasm-0.105.3/src/environ/spec.rs +953 -0
  45. data/ext/cargo-vendor/cranelift-wasm-0.105.3/src/sections_translator.rs +409 -0
  46. data/ext/cargo-vendor/cranelift-wasm-0.105.3/src/translation_utils.rs +91 -0
  47. data/ext/cargo-vendor/cranelift-wasm-0.105.3/wasmtests/icall-simd.wat +7 -0
  48. data/ext/cargo-vendor/cranelift-wasm-0.105.3/wasmtests/icall.wat +7 -0
  49. data/ext/cargo-vendor/cranelift-wasm-0.105.3/wasmtests/unreachable_code.wat +77 -0
  50. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.19/.cargo-checksum.json +1 -0
  51. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.19/Cargo.toml +49 -0
  52. data/ext/cargo-vendor/rb-sys-0.9.89/.cargo-checksum.json +1 -0
  53. data/ext/cargo-vendor/rb-sys-0.9.89/Cargo.toml +54 -0
  54. data/ext/cargo-vendor/rb-sys-0.9.89/src/lib.rs +37 -0
  55. data/ext/cargo-vendor/rb-sys-0.9.89/src/symbol.rs +31 -0
  56. data/ext/cargo-vendor/rb-sys-build-0.9.89/.cargo-checksum.json +1 -0
  57. data/ext/cargo-vendor/rb-sys-build-0.9.89/Cargo.toml +62 -0
  58. data/ext/cargo-vendor/rb-sys-build-0.9.89/src/bindings.rs +250 -0
  59. data/ext/cargo-vendor/rb-sys-build-0.9.89/src/rb_config.rs +810 -0
  60. data/ext/cargo-vendor/tokio-1.36.0/.cargo-checksum.json +1 -0
  61. data/ext/cargo-vendor/tokio-1.36.0/CHANGELOG.md +3250 -0
  62. data/ext/cargo-vendor/tokio-1.36.0/Cargo.toml +237 -0
  63. data/ext/cargo-vendor/tokio-1.36.0/README.md +249 -0
  64. data/ext/cargo-vendor/tokio-1.36.0/src/doc/os.rs +68 -0
  65. data/ext/cargo-vendor/tokio-1.36.0/src/fs/open_options/mock_open_options.rs +39 -0
  66. data/ext/cargo-vendor/tokio-1.36.0/src/future/mod.rs +32 -0
  67. data/ext/cargo-vendor/tokio-1.36.0/src/io/async_fd.rs +1259 -0
  68. data/ext/cargo-vendor/tokio-1.36.0/src/io/bsd/poll_aio.rs +197 -0
  69. data/ext/cargo-vendor/tokio-1.36.0/src/io/interest.rs +345 -0
  70. data/ext/cargo-vendor/tokio-1.36.0/src/io/join.rs +117 -0
  71. data/ext/cargo-vendor/tokio-1.36.0/src/io/mod.rs +292 -0
  72. data/ext/cargo-vendor/tokio-1.36.0/src/io/poll_evented.rs +277 -0
  73. data/ext/cargo-vendor/tokio-1.36.0/src/io/stdio_common.rs +221 -0
  74. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/async_buf_read_ext.rs +351 -0
  75. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/buf_reader.rs +311 -0
  76. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/buf_writer.rs +310 -0
  77. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/chain.rs +144 -0
  78. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/copy.rs +290 -0
  79. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/empty.rs +150 -0
  80. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/flush.rs +47 -0
  81. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/mod.rs +111 -0
  82. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/read_exact.rs +69 -0
  83. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/read_line.rs +119 -0
  84. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/repeat.rs +75 -0
  85. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/shutdown.rs +46 -0
  86. data/ext/cargo-vendor/tokio-1.36.0/src/io/util/sink.rs +94 -0
  87. data/ext/cargo-vendor/tokio-1.36.0/src/lib.rs +694 -0
  88. data/ext/cargo-vendor/tokio-1.36.0/src/loom/std/atomic_u64.rs +19 -0
  89. data/ext/cargo-vendor/tokio-1.36.0/src/macros/cfg.rs +587 -0
  90. data/ext/cargo-vendor/tokio-1.36.0/src/macros/try_join.rs +218 -0
  91. data/ext/cargo-vendor/tokio-1.36.0/src/net/mod.rs +57 -0
  92. data/ext/cargo-vendor/tokio-1.36.0/src/net/tcp/listener.rs +451 -0
  93. data/ext/cargo-vendor/tokio-1.36.0/src/net/tcp/socket.rs +854 -0
  94. data/ext/cargo-vendor/tokio-1.36.0/src/net/tcp/stream.rs +1424 -0
  95. data/ext/cargo-vendor/tokio-1.36.0/src/net/udp.rs +2046 -0
  96. data/ext/cargo-vendor/tokio-1.36.0/src/net/unix/datagram/socket.rs +1593 -0
  97. data/ext/cargo-vendor/tokio-1.36.0/src/net/unix/listener.rs +221 -0
  98. data/ext/cargo-vendor/tokio-1.36.0/src/net/unix/mod.rs +39 -0
  99. data/ext/cargo-vendor/tokio-1.36.0/src/net/unix/pipe.rs +1442 -0
  100. data/ext/cargo-vendor/tokio-1.36.0/src/net/unix/socket.rs +271 -0
  101. data/ext/cargo-vendor/tokio-1.36.0/src/net/unix/stream.rs +1062 -0
  102. data/ext/cargo-vendor/tokio-1.36.0/src/net/windows/named_pipe.rs +2690 -0
  103. data/ext/cargo-vendor/tokio-1.36.0/src/process/mod.rs +1678 -0
  104. data/ext/cargo-vendor/tokio-1.36.0/src/process/unix/mod.rs +375 -0
  105. data/ext/cargo-vendor/tokio-1.36.0/src/process/unix/pidfd_reaper.rs +317 -0
  106. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/blocking/pool.rs +603 -0
  107. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/builder.rs +1335 -0
  108. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/context.rs +193 -0
  109. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/handle.rs +632 -0
  110. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/io/driver.rs +273 -0
  111. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/io/scheduled_io.rs +598 -0
  112. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/park.rs +339 -0
  113. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/current_thread/mod.rs +758 -0
  114. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/multi_thread/park.rs +232 -0
  115. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/multi_thread/queue.rs +608 -0
  116. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/multi_thread/stats.rs +140 -0
  117. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs +1234 -0
  118. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/multi_thread_alt/queue.rs +595 -0
  119. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/multi_thread_alt/stats.rs +171 -0
  120. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/scheduler/multi_thread_alt/worker.rs +1597 -0
  121. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/task/core.rs +494 -0
  122. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/task/harness.rs +517 -0
  123. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/task/join.rs +370 -0
  124. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/task/list.rs +338 -0
  125. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/task/mod.rs +526 -0
  126. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/task/state.rs +616 -0
  127. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/task/trace/mod.rs +358 -0
  128. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/tests/loom_local.rs +47 -0
  129. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/tests/task_combinations.rs +488 -0
  130. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/time/entry.rs +646 -0
  131. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/time/source.rs +39 -0
  132. data/ext/cargo-vendor/tokio-1.36.0/src/runtime/time/wheel/level.rs +274 -0
  133. data/ext/cargo-vendor/tokio-1.36.0/src/signal/ctrl_c.rs +62 -0
  134. data/ext/cargo-vendor/tokio-1.36.0/src/signal/mod.rs +98 -0
  135. data/ext/cargo-vendor/tokio-1.36.0/src/signal/registry.rs +281 -0
  136. data/ext/cargo-vendor/tokio-1.36.0/src/signal/unix.rs +530 -0
  137. data/ext/cargo-vendor/tokio-1.36.0/src/signal/windows.rs +524 -0
  138. data/ext/cargo-vendor/tokio-1.36.0/src/sync/batch_semaphore.rs +752 -0
  139. data/ext/cargo-vendor/tokio-1.36.0/src/sync/broadcast.rs +1542 -0
  140. data/ext/cargo-vendor/tokio-1.36.0/src/sync/mpsc/bounded.rs +1692 -0
  141. data/ext/cargo-vendor/tokio-1.36.0/src/sync/mpsc/error.rs +149 -0
  142. data/ext/cargo-vendor/tokio-1.36.0/src/sync/mpsc/mod.rs +124 -0
  143. data/ext/cargo-vendor/tokio-1.36.0/src/sync/mpsc/unbounded.rs +603 -0
  144. data/ext/cargo-vendor/tokio-1.36.0/src/sync/mutex.rs +1395 -0
  145. data/ext/cargo-vendor/tokio-1.36.0/src/sync/oneshot.rs +1390 -0
  146. data/ext/cargo-vendor/tokio-1.36.0/src/sync/rwlock.rs +1119 -0
  147. data/ext/cargo-vendor/tokio-1.36.0/src/sync/semaphore.rs +977 -0
  148. data/ext/cargo-vendor/tokio-1.36.0/src/sync/watch.rs +1399 -0
  149. data/ext/cargo-vendor/tokio-1.36.0/src/task/join_set.rs +637 -0
  150. data/ext/cargo-vendor/tokio-1.36.0/src/task/local.rs +1233 -0
  151. data/ext/cargo-vendor/tokio-1.36.0/src/task/mod.rs +373 -0
  152. data/ext/cargo-vendor/tokio-1.36.0/src/util/idle_notified_set.rs +509 -0
  153. data/ext/cargo-vendor/tokio-1.36.0/src/util/rand.rs +95 -0
  154. data/ext/cargo-vendor/tokio-1.36.0/src/util/sharded_list.rs +149 -0
  155. data/ext/cargo-vendor/tokio-1.36.0/tests/io_async_fd.rs +836 -0
  156. data/ext/cargo-vendor/tokio-1.36.0/tests/io_copy.rs +102 -0
  157. data/ext/cargo-vendor/tokio-1.36.0/tests/io_copy_bidirectional.rs +165 -0
  158. data/ext/cargo-vendor/tokio-1.36.0/tests/io_join.rs +83 -0
  159. data/ext/cargo-vendor/tokio-1.36.0/tests/io_panic.rs +177 -0
  160. data/ext/cargo-vendor/tokio-1.36.0/tests/io_poll_aio.rs +338 -0
  161. data/ext/cargo-vendor/tokio-1.36.0/tests/io_repeat.rs +18 -0
  162. data/ext/cargo-vendor/tokio-1.36.0/tests/io_sink.rs +44 -0
  163. data/ext/cargo-vendor/tokio-1.36.0/tests/join_handle_panic.rs +21 -0
  164. data/ext/cargo-vendor/tokio-1.36.0/tests/macros_test.rs +94 -0
  165. data/ext/cargo-vendor/tokio-1.36.0/tests/macros_try_join.rs +185 -0
  166. data/ext/cargo-vendor/tokio-1.36.0/tests/net_named_pipe.rs +399 -0
  167. data/ext/cargo-vendor/tokio-1.36.0/tests/net_panic.rs +189 -0
  168. data/ext/cargo-vendor/tokio-1.36.0/tests/net_unix_pipe.rs +534 -0
  169. data/ext/cargo-vendor/tokio-1.36.0/tests/process_change_of_runtime.rs +34 -0
  170. data/ext/cargo-vendor/tokio-1.36.0/tests/process_issue_2174.rs +46 -0
  171. data/ext/cargo-vendor/tokio-1.36.0/tests/rt_basic.rs +458 -0
  172. data/ext/cargo-vendor/tokio-1.36.0/tests/rt_handle.rs +94 -0
  173. data/ext/cargo-vendor/tokio-1.36.0/tests/rt_panic.rs +78 -0
  174. data/ext/cargo-vendor/tokio-1.36.0/tests/rt_time_start_paused.rs +14 -0
  175. data/ext/cargo-vendor/tokio-1.36.0/tests/signal_panic.rs +30 -0
  176. data/ext/cargo-vendor/tokio-1.36.0/tests/sync_mpsc.rs +1020 -0
  177. data/ext/cargo-vendor/tokio-1.36.0/tests/sync_panic.rs +198 -0
  178. data/ext/cargo-vendor/tokio-1.36.0/tests/sync_watch.rs +334 -0
  179. data/ext/cargo-vendor/tokio-1.36.0/tests/task_id.rs +302 -0
  180. data/ext/cargo-vendor/tokio-1.36.0/tests/task_join_set.rs +306 -0
  181. data/ext/cargo-vendor/tokio-1.36.0/tests/task_local.rs +119 -0
  182. data/ext/cargo-vendor/tokio-1.36.0/tests/task_panic.rs +123 -0
  183. data/ext/cargo-vendor/tokio-1.36.0/tests/tcp_into_split.rs +131 -0
  184. data/ext/cargo-vendor/tokio-1.36.0/tests/time_panic.rs +94 -0
  185. data/ext/cargo-vendor/tokio-1.36.0/tests/time_pause.rs +332 -0
  186. data/ext/cargo-vendor/tokio-1.36.0/tests/uds_socket.rs +118 -0
  187. data/ext/cargo-vendor/wasi-common-18.0.3/.cargo-checksum.json +1 -0
  188. data/ext/cargo-vendor/wasi-common-18.0.3/Cargo.toml +223 -0
  189. data/ext/cargo-vendor/wasi-common-18.0.3/src/lib.rs +193 -0
  190. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/clocks.rs +41 -0
  191. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/dir.rs +462 -0
  192. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/file.rs +248 -0
  193. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/mod.rs +140 -0
  194. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/net.rs +400 -0
  195. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/sched/unix.rs +82 -0
  196. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/sched/windows.rs +221 -0
  197. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/sched.rs +40 -0
  198. data/ext/cargo-vendor/wasi-common-18.0.3/src/sync/stdio.rs +197 -0
  199. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/dir.rs +221 -0
  200. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/file.rs +244 -0
  201. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/mod.rs +137 -0
  202. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/net.rs +6 -0
  203. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/sched/unix.rs +96 -0
  204. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/sched/windows.rs +15 -0
  205. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/sched.rs +35 -0
  206. data/ext/cargo-vendor/wasi-common-18.0.3/src/tokio/stdio.rs +1 -0
  207. data/ext/cargo-vendor/wasi-common-18.0.3/tests/all/async_.rs +289 -0
  208. data/ext/cargo-vendor/wasi-common-18.0.3/tests/all/main.rs +21 -0
  209. data/ext/cargo-vendor/wasi-common-18.0.3/tests/all/sync.rs +275 -0
  210. data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +1 -0
  211. data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +43 -0
  212. data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/names.rs +149 -0
  213. data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +792 -0
  214. data/ext/cargo-vendor/wasm-encoder-0.201.0/src/core/code.rs +3444 -0
  215. data/ext/cargo-vendor/wasm-encoder-0.201.0/src/core/names.rs +298 -0
  216. data/ext/cargo-vendor/wasm-encoder-0.201.0/src/core/types.rs +673 -0
  217. data/ext/cargo-vendor/wasm-encoder-0.41.2/.cargo-checksum.json +1 -0
  218. data/ext/cargo-vendor/wasm-encoder-0.41.2/Cargo.toml +43 -0
  219. data/ext/cargo-vendor/wasm-encoder-0.41.2/README.md +80 -0
  220. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/aliases.rs +160 -0
  221. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/builder.rs +455 -0
  222. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/canonicals.rs +159 -0
  223. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/components.rs +29 -0
  224. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/exports.rs +124 -0
  225. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/imports.rs +175 -0
  226. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/instances.rs +200 -0
  227. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/modules.rs +29 -0
  228. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/start.rs +52 -0
  229. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component/types.rs +792 -0
  230. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/component.rs +168 -0
  231. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/code.rs +3430 -0
  232. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/custom.rs +73 -0
  233. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/data.rs +185 -0
  234. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/dump.rs +627 -0
  235. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/elements.rs +220 -0
  236. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/exports.rs +98 -0
  237. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/functions.rs +63 -0
  238. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/globals.rs +101 -0
  239. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/imports.rs +156 -0
  240. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/linking.rs +263 -0
  241. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/memories.rs +111 -0
  242. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/names.rs +298 -0
  243. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/producers.rs +180 -0
  244. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/start.rs +39 -0
  245. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/tables.rs +116 -0
  246. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/tags.rs +104 -0
  247. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core/types.rs +673 -0
  248. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/core.rs +168 -0
  249. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/lib.rs +215 -0
  250. data/ext/cargo-vendor/wasm-encoder-0.41.2/src/raw.rs +30 -0
  251. data/ext/cargo-vendor/wasmparser-0.121.2/.cargo-checksum.json +1 -0
  252. data/ext/cargo-vendor/wasmparser-0.121.2/Cargo.lock +633 -0
  253. data/ext/cargo-vendor/wasmparser-0.121.2/Cargo.toml +69 -0
  254. data/ext/cargo-vendor/wasmparser-0.121.2/README.md +28 -0
  255. data/ext/cargo-vendor/wasmparser-0.121.2/benches/benchmark.rs +349 -0
  256. data/ext/cargo-vendor/wasmparser-0.121.2/src/binary_reader.rs +1850 -0
  257. data/ext/cargo-vendor/wasmparser-0.121.2/src/lib.rs +766 -0
  258. data/ext/cargo-vendor/wasmparser-0.121.2/src/limits.rs +64 -0
  259. data/ext/cargo-vendor/wasmparser-0.121.2/src/readers/core/branch_hinting.rs +59 -0
  260. data/ext/cargo-vendor/wasmparser-0.121.2/src/readers/core/dylink0.rs +109 -0
  261. data/ext/cargo-vendor/wasmparser-0.121.2/src/readers/core/linking.rs +449 -0
  262. data/ext/cargo-vendor/wasmparser-0.121.2/src/readers/core/names.rs +156 -0
  263. data/ext/cargo-vendor/wasmparser-0.121.2/src/readers/core/operators.rs +411 -0
  264. data/ext/cargo-vendor/wasmparser-0.121.2/src/readers/core/types.rs +1680 -0
  265. data/ext/cargo-vendor/wasmparser-0.121.2/src/readers/core.rs +41 -0
  266. data/ext/cargo-vendor/wasmparser-0.121.2/src/resources.rs +235 -0
  267. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator/component.rs +3238 -0
  268. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator/core/canonical.rs +233 -0
  269. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator/core.rs +1400 -0
  270. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator/func.rs +338 -0
  271. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator/names.rs +929 -0
  272. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator/operators.rs +4074 -0
  273. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator/types.rs +4449 -0
  274. data/ext/cargo-vendor/wasmparser-0.121.2/src/validator.rs +1619 -0
  275. data/ext/cargo-vendor/wasmprinter-0.2.80/.cargo-checksum.json +1 -0
  276. data/ext/cargo-vendor/wasmprinter-0.2.80/Cargo.toml +45 -0
  277. data/ext/cargo-vendor/wasmprinter-0.2.80/src/lib.rs +3139 -0
  278. data/ext/cargo-vendor/wasmprinter-0.2.80/src/operator.rs +1110 -0
  279. data/ext/cargo-vendor/wasmprinter-0.2.80/tests/all.rs +278 -0
  280. data/ext/cargo-vendor/wasmtime-18.0.3/.cargo-checksum.json +1 -0
  281. data/ext/cargo-vendor/wasmtime-18.0.3/Cargo.toml +249 -0
  282. data/ext/cargo-vendor/wasmtime-18.0.3/src/compile.rs +835 -0
  283. data/ext/cargo-vendor/wasmtime-18.0.3/src/config.rs +2513 -0
  284. data/ext/cargo-vendor/wasmtime-18.0.3/src/engine/serialization.rs +778 -0
  285. data/ext/cargo-vendor/wasmtime-18.0.3/src/engine.rs +728 -0
  286. data/ext/cargo-vendor/wasmtime-18.0.3/src/lib.rs +444 -0
  287. data/ext/cargo-vendor/wasmtime-18.0.3/src/profiling_agent/jitdump.rs +66 -0
  288. data/ext/cargo-vendor/wasmtime-18.0.3/src/profiling_agent/perfmap.rs +47 -0
  289. data/ext/cargo-vendor/wasmtime-18.0.3/src/profiling_agent/vtune.rs +80 -0
  290. data/ext/cargo-vendor/wasmtime-18.0.3/src/profiling_agent.rs +105 -0
  291. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/code.rs +102 -0
  292. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/code_memory.rs +335 -0
  293. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/component.rs +458 -0
  294. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/func/host.rs +456 -0
  295. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/func.rs +721 -0
  296. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/instance.rs +815 -0
  297. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/linker.rs +600 -0
  298. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/resource_table.rs +350 -0
  299. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/types.rs +928 -0
  300. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/component/values.rs +1274 -0
  301. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/debug.rs +165 -0
  302. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/func/typed.rs +638 -0
  303. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/func.rs +2391 -0
  304. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/instance.rs +985 -0
  305. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/instantiate.rs +433 -0
  306. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/linker.rs +1479 -0
  307. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/memory.rs +998 -0
  308. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/module/registry.rs +360 -0
  309. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/module.rs +1335 -0
  310. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/profiling.rs +218 -0
  311. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/store.rs +2389 -0
  312. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/trampoline/func.rs +135 -0
  313. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/trampoline/memory.rs +269 -0
  314. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/trampoline/table.rs +20 -0
  315. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/trampoline.rs +77 -0
  316. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/trap.rs +644 -0
  317. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/type_registry.rs +236 -0
  318. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/types/matching.rs +312 -0
  319. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime/types.rs +581 -0
  320. data/ext/cargo-vendor/wasmtime-18.0.3/src/runtime.rs +109 -0
  321. data/ext/cargo-vendor/wasmtime-asm-macros-18.0.3/.cargo-checksum.json +1 -0
  322. data/ext/cargo-vendor/wasmtime-asm-macros-18.0.3/Cargo.toml +22 -0
  323. data/ext/cargo-vendor/wasmtime-cache-18.0.3/.cargo-checksum.json +1 -0
  324. data/ext/cargo-vendor/wasmtime-cache-18.0.3/Cargo.toml +81 -0
  325. data/ext/cargo-vendor/wasmtime-component-macro-18.0.3/.cargo-checksum.json +1 -0
  326. data/ext/cargo-vendor/wasmtime-component-macro-18.0.3/Cargo.toml +67 -0
  327. data/ext/cargo-vendor/wasmtime-component-macro-18.0.3/build.rs +5 -0
  328. data/ext/cargo-vendor/wasmtime-component-macro-18.0.3/src/bindgen.rs +396 -0
  329. data/ext/cargo-vendor/wasmtime-component-macro-18.0.3/tests/codegen/wat.wit +10 -0
  330. data/ext/cargo-vendor/wasmtime-component-util-18.0.3/.cargo-checksum.json +1 -0
  331. data/ext/cargo-vendor/wasmtime-component-util-18.0.3/Cargo.toml +25 -0
  332. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/.cargo-checksum.json +1 -0
  333. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/Cargo.toml +113 -0
  334. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/src/builder.rs +127 -0
  335. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/src/compiler/component.rs +960 -0
  336. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/src/compiler.rs +1317 -0
  337. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/src/debug/transform/simulate.rs +411 -0
  338. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/src/func_environ.rs +2756 -0
  339. data/ext/cargo-vendor/wasmtime-cranelift-18.0.3/src/lib.rs +186 -0
  340. data/ext/cargo-vendor/wasmtime-cranelift-shared-18.0.3/.cargo-checksum.json +1 -0
  341. data/ext/cargo-vendor/wasmtime-cranelift-shared-18.0.3/Cargo.toml +71 -0
  342. data/ext/cargo-vendor/wasmtime-cranelift-shared-18.0.3/src/isa_builder.rs +104 -0
  343. data/ext/cargo-vendor/wasmtime-environ-18.0.3/.cargo-checksum.json +1 -0
  344. data/ext/cargo-vendor/wasmtime-environ-18.0.3/Cargo.lock +761 -0
  345. data/ext/cargo-vendor/wasmtime-environ-18.0.3/Cargo.toml +140 -0
  346. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/component/artifacts.rs +45 -0
  347. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/component/dfg.rs +690 -0
  348. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/component/info.rs +594 -0
  349. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/component/translate/inline.rs +1334 -0
  350. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/component/translate.rs +953 -0
  351. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/component/types.rs +1933 -0
  352. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/component.rs +97 -0
  353. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/lib.rs +66 -0
  354. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/module.rs +1075 -0
  355. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/module_artifacts.rs +378 -0
  356. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/module_environ.rs +894 -0
  357. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/module_types.rs +120 -0
  358. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/tunables.rs +140 -0
  359. data/ext/cargo-vendor/wasmtime-environ-18.0.3/src/vmoffsets.rs +919 -0
  360. data/ext/cargo-vendor/wasmtime-fiber-18.0.3/.cargo-checksum.json +1 -0
  361. data/ext/cargo-vendor/wasmtime-fiber-18.0.3/Cargo.toml +63 -0
  362. data/ext/cargo-vendor/wasmtime-jit-debug-18.0.3/.cargo-checksum.json +1 -0
  363. data/ext/cargo-vendor/wasmtime-jit-debug-18.0.3/Cargo.toml +67 -0
  364. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-18.0.3/.cargo-checksum.json +1 -0
  365. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-18.0.3/Cargo.toml +46 -0
  366. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/.cargo-checksum.json +1 -0
  367. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/Cargo.toml +139 -0
  368. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/component.rs +855 -0
  369. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/instance/allocator/pooling/memory_pool.rs +997 -0
  370. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/instance/allocator/pooling.rs +658 -0
  371. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/instance/allocator.rs +712 -0
  372. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/instance.rs +1485 -0
  373. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/lib.rs +264 -0
  374. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/mpk/enabled.rs +208 -0
  375. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/mpk/pkru.rs +104 -0
  376. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/sys/unix/signals.rs +402 -0
  377. data/ext/cargo-vendor/wasmtime-runtime-18.0.3/src/vmcontext.rs +1202 -0
  378. data/ext/cargo-vendor/wasmtime-types-18.0.3/.cargo-checksum.json +1 -0
  379. data/ext/cargo-vendor/wasmtime-types-18.0.3/Cargo.toml +36 -0
  380. data/ext/cargo-vendor/wasmtime-types-18.0.3/src/lib.rs +509 -0
  381. data/ext/cargo-vendor/wasmtime-versioned-export-macros-18.0.3/.cargo-checksum.json +1 -0
  382. data/ext/cargo-vendor/wasmtime-versioned-export-macros-18.0.3/Cargo.toml +32 -0
  383. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/.cargo-checksum.json +1 -0
  384. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/Cargo.toml +254 -0
  385. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/lib.rs +103 -0
  386. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/clocks/host.rs +73 -0
  387. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/clocks.rs +12 -0
  388. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/ctx.rs +337 -0
  389. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/error.rs +111 -0
  390. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/filesystem.rs +369 -0
  391. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/clocks.rs +103 -0
  392. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/filesystem.rs +1081 -0
  393. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/instance_network.rs +15 -0
  394. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/io.rs +366 -0
  395. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/network.rs +625 -0
  396. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/random.rs +36 -0
  397. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/tcp.rs +605 -0
  398. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/tcp_create_socket.rs +15 -0
  399. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/udp.rs +530 -0
  400. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/host/udp_create_socket.rs +15 -0
  401. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/ip_name_lookup.rs +125 -0
  402. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/pipe.rs +826 -0
  403. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/poll.rs +175 -0
  404. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/preview0.rs +870 -0
  405. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/preview1.rs +2361 -0
  406. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/random.rs +58 -0
  407. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/stdio.rs +259 -0
  408. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/src/preview2/write_stream.rs +203 -0
  409. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/tests/all/api.rs +211 -0
  410. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/tests/all/main.rs +106 -0
  411. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/wit/deps/io/poll.wit +41 -0
  412. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/wit/deps/io/streams.wit +262 -0
  413. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/wit/deps/sockets/tcp.wit +353 -0
  414. data/ext/cargo-vendor/wasmtime-wasi-18.0.3/wit/deps/sockets/udp.wit +266 -0
  415. data/ext/cargo-vendor/wasmtime-winch-18.0.3/.cargo-checksum.json +1 -0
  416. data/ext/cargo-vendor/wasmtime-winch-18.0.3/Cargo.toml +77 -0
  417. data/ext/cargo-vendor/wasmtime-winch-18.0.3/src/builder.rs +65 -0
  418. data/ext/cargo-vendor/wasmtime-winch-18.0.3/src/compiler.rs +283 -0
  419. data/ext/cargo-vendor/wasmtime-wit-bindgen-18.0.3/.cargo-checksum.json +1 -0
  420. data/ext/cargo-vendor/wasmtime-wit-bindgen-18.0.3/Cargo.toml +41 -0
  421. data/ext/cargo-vendor/wasmtime-wit-bindgen-18.0.3/src/lib.rs +2095 -0
  422. data/ext/cargo-vendor/wasmtime-wmemcheck-18.0.3/.cargo-checksum.json +1 -0
  423. data/ext/cargo-vendor/wasmtime-wmemcheck-18.0.3/Cargo.toml +29 -0
  424. data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +1 -0
  425. data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +59 -0
  426. data/ext/cargo-vendor/wast-201.0.0/src/component/component.rs +321 -0
  427. data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +1365 -0
  428. data/ext/cargo-vendor/wast-201.0.0/src/core/custom.rs +393 -0
  429. data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +1993 -0
  430. data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +281 -0
  431. data/ext/cargo-vendor/wast-201.0.0/src/core/module.rs +218 -0
  432. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +233 -0
  433. data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +763 -0
  434. data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +289 -0
  435. data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +861 -0
  436. data/ext/cargo-vendor/wast-201.0.0/src/lexer.rs +1442 -0
  437. data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +542 -0
  438. data/ext/cargo-vendor/wast-201.0.0/src/names.rs +89 -0
  439. data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +1374 -0
  440. data/ext/cargo-vendor/wast-201.0.0/src/token.rs +718 -0
  441. data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +63 -0
  442. data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +1 -0
  443. data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +33 -0
  444. data/ext/cargo-vendor/wat-1.201.0/src/lib.rs +401 -0
  445. data/ext/cargo-vendor/wiggle-18.0.3/.cargo-checksum.json +1 -0
  446. data/ext/cargo-vendor/wiggle-18.0.3/Cargo.toml +122 -0
  447. data/ext/cargo-vendor/wiggle-18.0.3/src/lib.rs +1199 -0
  448. data/ext/cargo-vendor/wiggle-generate-18.0.3/.cargo-checksum.json +1 -0
  449. data/ext/cargo-vendor/wiggle-generate-18.0.3/Cargo.toml +65 -0
  450. data/ext/cargo-vendor/wiggle-macro-18.0.3/.cargo-checksum.json +1 -0
  451. data/ext/cargo-vendor/wiggle-macro-18.0.3/Cargo.toml +55 -0
  452. data/ext/cargo-vendor/winch-codegen-0.16.3/.cargo-checksum.json +1 -0
  453. data/ext/cargo-vendor/winch-codegen-0.16.3/Cargo.toml +77 -0
  454. data/ext/cargo-vendor/winch-codegen-0.16.3/src/abi/local.rs +81 -0
  455. data/ext/cargo-vendor/winch-codegen-0.16.3/src/abi/mod.rs +645 -0
  456. data/ext/cargo-vendor/winch-codegen-0.16.3/src/codegen/builtin.rs +268 -0
  457. data/ext/cargo-vendor/winch-codegen-0.16.3/src/codegen/call.rs +361 -0
  458. data/ext/cargo-vendor/winch-codegen-0.16.3/src/codegen/context.rs +530 -0
  459. data/ext/cargo-vendor/winch-codegen-0.16.3/src/codegen/control.rs +972 -0
  460. data/ext/cargo-vendor/winch-codegen-0.16.3/src/codegen/env.rs +257 -0
  461. data/ext/cargo-vendor/winch-codegen-0.16.3/src/codegen/mod.rs +441 -0
  462. data/ext/cargo-vendor/winch-codegen-0.16.3/src/frame/mod.rs +221 -0
  463. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/aarch64/abi.rs +313 -0
  464. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/aarch64/masm.rs +519 -0
  465. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/aarch64/mod.rs +145 -0
  466. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/mod.rs +232 -0
  467. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/reg.rs +86 -0
  468. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/x64/abi.rs +531 -0
  469. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/x64/asm.rs +1277 -0
  470. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/x64/masm.rs +1168 -0
  471. data/ext/cargo-vendor/winch-codegen-0.16.3/src/isa/x64/mod.rs +184 -0
  472. data/ext/cargo-vendor/winch-codegen-0.16.3/src/masm.rs +776 -0
  473. data/ext/cargo-vendor/winch-codegen-0.16.3/src/stack.rs +439 -0
  474. data/ext/cargo-vendor/winch-codegen-0.16.3/src/trampoline.rs +733 -0
  475. data/ext/cargo-vendor/winch-codegen-0.16.3/src/visitor.rs +1848 -0
  476. data/ext/cargo-vendor/wit-parser-0.13.2/.cargo-checksum.json +1 -0
  477. data/ext/cargo-vendor/wit-parser-0.13.2/Cargo.toml +71 -0
  478. data/ext/cargo-vendor/wit-parser-0.13.2/src/ast/lex.rs +748 -0
  479. data/ext/cargo-vendor/wit-parser-0.13.2/src/ast/resolve.rs +1428 -0
  480. data/ext/cargo-vendor/wit-parser-0.13.2/src/ast.rs +1349 -0
  481. data/ext/cargo-vendor/wit-parser-0.13.2/src/resolve.rs +2104 -0
  482. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/comments.wit.json +49 -0
  483. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/import-export-overlap1.wit.json +39 -0
  484. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/import-export-overlap2.wit.json +41 -0
  485. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/same-name-import-export.wit +6 -0
  486. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/same-name-import-export.wit.json +47 -0
  487. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/types.wit +60 -0
  488. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/types.wit.json +774 -0
  489. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/union-fuzz-2.wit.json +72 -0
  490. data/ext/cargo-vendor/wit-parser-0.13.2/tests/ui/wasi.wit.json +539 -0
  491. data/ext/src/ruby_api/config/tracked_memory_creator.rs +1 -1
  492. data/ext/src/ruby_api/store.rs +1 -1
  493. data/ext/src/ruby_api/wasi_ctx.rs +1 -1
  494. data/ext/src/ruby_api/wasi_ctx_builder.rs +2 -2
  495. data/lib/wasmtime/version.rb +1 -1
  496. metadata +2127 -2071
  497. data/ext/cargo-vendor/cranelift-bforest-0.104.0/.cargo-checksum.json +0 -1
  498. data/ext/cargo-vendor/cranelift-bforest-0.104.0/Cargo.toml +0 -40
  499. data/ext/cargo-vendor/cranelift-codegen-0.104.0/.cargo-checksum.json +0 -1
  500. data/ext/cargo-vendor/cranelift-codegen-0.104.0/Cargo.toml +0 -175
  501. data/ext/cargo-vendor/cranelift-codegen-0.104.0/build.rs +0 -392
  502. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/egraph/cost.rs +0 -171
  503. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/egraph/domtree.rs +0 -69
  504. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/egraph/elaborate.rs +0 -750
  505. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/egraph.rs +0 -703
  506. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/isa/x64/inst/emit.rs +0 -4410
  507. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/isa/x64/inst/emit_tests.rs +0 -5525
  508. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/isa/x64/inst.isle +0 -5202
  509. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/isa/x64/lower.isle +0 -4744
  510. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/isa/x64/mod.rs +0 -223
  511. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/lib.rs +0 -106
  512. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/machinst/reg.rs +0 -561
  513. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/opts/README.md +0 -5
  514. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/opts/cprop.isle +0 -248
  515. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/opts/extends.isle +0 -116
  516. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/prelude_opt.isle +0 -134
  517. data/ext/cargo-vendor/cranelift-codegen-0.104.0/src/verifier/mod.rs +0 -2041
  518. data/ext/cargo-vendor/cranelift-codegen-meta-0.104.0/.cargo-checksum.json +0 -1
  519. data/ext/cargo-vendor/cranelift-codegen-meta-0.104.0/Cargo.toml +0 -35
  520. data/ext/cargo-vendor/cranelift-codegen-shared-0.104.0/.cargo-checksum.json +0 -1
  521. data/ext/cargo-vendor/cranelift-codegen-shared-0.104.0/Cargo.toml +0 -22
  522. data/ext/cargo-vendor/cranelift-control-0.104.0/.cargo-checksum.json +0 -1
  523. data/ext/cargo-vendor/cranelift-control-0.104.0/Cargo.toml +0 -30
  524. data/ext/cargo-vendor/cranelift-entity-0.104.0/.cargo-checksum.json +0 -1
  525. data/ext/cargo-vendor/cranelift-entity-0.104.0/Cargo.toml +0 -50
  526. data/ext/cargo-vendor/cranelift-frontend-0.104.0/.cargo-checksum.json +0 -1
  527. data/ext/cargo-vendor/cranelift-frontend-0.104.0/Cargo.toml +0 -68
  528. data/ext/cargo-vendor/cranelift-isle-0.104.0/.cargo-checksum.json +0 -1
  529. data/ext/cargo-vendor/cranelift-isle-0.104.0/Cargo.toml +0 -46
  530. data/ext/cargo-vendor/cranelift-native-0.104.0/.cargo-checksum.json +0 -1
  531. data/ext/cargo-vendor/cranelift-native-0.104.0/Cargo.toml +0 -43
  532. data/ext/cargo-vendor/cranelift-native-0.104.0/src/lib.rs +0 -184
  533. data/ext/cargo-vendor/cranelift-wasm-0.104.0/.cargo-checksum.json +0 -1
  534. data/ext/cargo-vendor/cranelift-wasm-0.104.0/Cargo.toml +0 -106
  535. data/ext/cargo-vendor/cranelift-wasm-0.104.0/src/code_translator.rs +0 -3646
  536. data/ext/cargo-vendor/cranelift-wasm-0.104.0/src/environ/dummy.rs +0 -953
  537. data/ext/cargo-vendor/cranelift-wasm-0.104.0/src/environ/spec.rs +0 -952
  538. data/ext/cargo-vendor/cranelift-wasm-0.104.0/src/sections_translator.rs +0 -408
  539. data/ext/cargo-vendor/cranelift-wasm-0.104.0/src/translation_utils.rs +0 -89
  540. data/ext/cargo-vendor/cranelift-wasm-0.104.0/wasmtests/icall-simd.wat +0 -7
  541. data/ext/cargo-vendor/cranelift-wasm-0.104.0/wasmtests/icall.wat +0 -7
  542. data/ext/cargo-vendor/cranelift-wasm-0.104.0/wasmtests/unreachable_code.wat +0 -77
  543. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.18/.cargo-checksum.json +0 -1
  544. data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.18/Cargo.toml +0 -49
  545. data/ext/cargo-vendor/rb-sys-0.9.86/.cargo-checksum.json +0 -1
  546. data/ext/cargo-vendor/rb-sys-0.9.86/Cargo.toml +0 -54
  547. data/ext/cargo-vendor/rb-sys-0.9.86/src/lib.rs +0 -37
  548. data/ext/cargo-vendor/rb-sys-build-0.9.86/.cargo-checksum.json +0 -1
  549. data/ext/cargo-vendor/rb-sys-build-0.9.86/Cargo.toml +0 -62
  550. data/ext/cargo-vendor/rb-sys-build-0.9.86/src/bindings.rs +0 -250
  551. data/ext/cargo-vendor/rb-sys-build-0.9.86/src/rb_config.rs +0 -807
  552. data/ext/cargo-vendor/tokio-1.35.1/.cargo-checksum.json +0 -1
  553. data/ext/cargo-vendor/tokio-1.35.1/CHANGELOG.md +0 -3191
  554. data/ext/cargo-vendor/tokio-1.35.1/Cargo.toml +0 -230
  555. data/ext/cargo-vendor/tokio-1.35.1/README.md +0 -249
  556. data/ext/cargo-vendor/tokio-1.35.1/external-types.toml +0 -11
  557. data/ext/cargo-vendor/tokio-1.35.1/src/doc/os.rs +0 -68
  558. data/ext/cargo-vendor/tokio-1.35.1/src/fs/open_options/mock_open_options.rs +0 -39
  559. data/ext/cargo-vendor/tokio-1.35.1/src/future/mod.rs +0 -31
  560. data/ext/cargo-vendor/tokio-1.35.1/src/io/async_fd.rs +0 -1243
  561. data/ext/cargo-vendor/tokio-1.35.1/src/io/bsd/poll_aio.rs +0 -197
  562. data/ext/cargo-vendor/tokio-1.35.1/src/io/interest.rs +0 -345
  563. data/ext/cargo-vendor/tokio-1.35.1/src/io/mod.rs +0 -290
  564. data/ext/cargo-vendor/tokio-1.35.1/src/io/poll_evented.rs +0 -258
  565. data/ext/cargo-vendor/tokio-1.35.1/src/io/stdio_common.rs +0 -221
  566. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/async_buf_read_ext.rs +0 -351
  567. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/buf_reader.rs +0 -311
  568. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/buf_writer.rs +0 -310
  569. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/chain.rs +0 -144
  570. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/copy.rs +0 -219
  571. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/empty.rs +0 -102
  572. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/flush.rs +0 -46
  573. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/mod.rs +0 -97
  574. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/read_exact.rs +0 -69
  575. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/read_line.rs +0 -119
  576. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/repeat.rs +0 -72
  577. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/shutdown.rs +0 -46
  578. data/ext/cargo-vendor/tokio-1.35.1/src/io/util/sink.rs +0 -87
  579. data/ext/cargo-vendor/tokio-1.35.1/src/lib.rs +0 -695
  580. data/ext/cargo-vendor/tokio-1.35.1/src/loom/std/atomic_u64.rs +0 -19
  581. data/ext/cargo-vendor/tokio-1.35.1/src/macros/cfg.rs +0 -575
  582. data/ext/cargo-vendor/tokio-1.35.1/src/macros/try_join.rs +0 -218
  583. data/ext/cargo-vendor/tokio-1.35.1/src/net/mod.rs +0 -56
  584. data/ext/cargo-vendor/tokio-1.35.1/src/net/tcp/listener.rs +0 -451
  585. data/ext/cargo-vendor/tokio-1.35.1/src/net/tcp/socket.rs +0 -846
  586. data/ext/cargo-vendor/tokio-1.35.1/src/net/tcp/stream.rs +0 -1424
  587. data/ext/cargo-vendor/tokio-1.35.1/src/net/udp.rs +0 -2046
  588. data/ext/cargo-vendor/tokio-1.35.1/src/net/unix/datagram/socket.rs +0 -1583
  589. data/ext/cargo-vendor/tokio-1.35.1/src/net/unix/listener.rs +0 -216
  590. data/ext/cargo-vendor/tokio-1.35.1/src/net/unix/mod.rs +0 -37
  591. data/ext/cargo-vendor/tokio-1.35.1/src/net/unix/pipe.rs +0 -1217
  592. data/ext/cargo-vendor/tokio-1.35.1/src/net/unix/stream.rs +0 -1044
  593. data/ext/cargo-vendor/tokio-1.35.1/src/net/windows/named_pipe.rs +0 -2690
  594. data/ext/cargo-vendor/tokio-1.35.1/src/process/mod.rs +0 -1678
  595. data/ext/cargo-vendor/tokio-1.35.1/src/process/unix/mod.rs +0 -344
  596. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/blocking/pool.rs +0 -603
  597. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/builder.rs +0 -1335
  598. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/context.rs +0 -193
  599. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/handle.rs +0 -632
  600. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/io/driver.rs +0 -273
  601. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/io/scheduled_io.rs +0 -598
  602. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/park.rs +0 -340
  603. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/current_thread/mod.rs +0 -764
  604. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/multi_thread/park.rs +0 -232
  605. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/multi_thread/queue.rs +0 -608
  606. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/multi_thread/stats.rs +0 -140
  607. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/multi_thread/worker.rs +0 -1234
  608. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/multi_thread_alt/queue.rs +0 -595
  609. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/multi_thread_alt/stats.rs +0 -171
  610. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/scheduler/multi_thread_alt/worker.rs +0 -1597
  611. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/task/core.rs +0 -494
  612. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/task/harness.rs +0 -517
  613. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/task/join.rs +0 -370
  614. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/task/list.rs +0 -338
  615. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/task/mod.rs +0 -526
  616. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/task/state.rs +0 -619
  617. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/task/trace/mod.rs +0 -358
  618. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/tests/loom_local.rs +0 -47
  619. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/tests/task_combinations.rs +0 -488
  620. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/time/entry.rs +0 -646
  621. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/time/source.rs +0 -39
  622. data/ext/cargo-vendor/tokio-1.35.1/src/runtime/time/wheel/level.rs +0 -274
  623. data/ext/cargo-vendor/tokio-1.35.1/src/signal/ctrl_c.rs +0 -62
  624. data/ext/cargo-vendor/tokio-1.35.1/src/signal/mod.rs +0 -98
  625. data/ext/cargo-vendor/tokio-1.35.1/src/signal/registry.rs +0 -283
  626. data/ext/cargo-vendor/tokio-1.35.1/src/signal/unix.rs +0 -530
  627. data/ext/cargo-vendor/tokio-1.35.1/src/signal/windows.rs +0 -524
  628. data/ext/cargo-vendor/tokio-1.35.1/src/sync/batch_semaphore.rs +0 -752
  629. data/ext/cargo-vendor/tokio-1.35.1/src/sync/broadcast.rs +0 -1515
  630. data/ext/cargo-vendor/tokio-1.35.1/src/sync/mpsc/bounded.rs +0 -1399
  631. data/ext/cargo-vendor/tokio-1.35.1/src/sync/mpsc/error.rs +0 -149
  632. data/ext/cargo-vendor/tokio-1.35.1/src/sync/mpsc/mod.rs +0 -122
  633. data/ext/cargo-vendor/tokio-1.35.1/src/sync/mpsc/unbounded.rs +0 -526
  634. data/ext/cargo-vendor/tokio-1.35.1/src/sync/mutex.rs +0 -1391
  635. data/ext/cargo-vendor/tokio-1.35.1/src/sync/oneshot.rs +0 -1390
  636. data/ext/cargo-vendor/tokio-1.35.1/src/sync/rwlock.rs +0 -1119
  637. data/ext/cargo-vendor/tokio-1.35.1/src/sync/semaphore.rs +0 -977
  638. data/ext/cargo-vendor/tokio-1.35.1/src/sync/watch.rs +0 -1388
  639. data/ext/cargo-vendor/tokio-1.35.1/src/task/join_set.rs +0 -584
  640. data/ext/cargo-vendor/tokio-1.35.1/src/task/local.rs +0 -1233
  641. data/ext/cargo-vendor/tokio-1.35.1/src/task/mod.rs +0 -373
  642. data/ext/cargo-vendor/tokio-1.35.1/src/util/idle_notified_set.rs +0 -481
  643. data/ext/cargo-vendor/tokio-1.35.1/src/util/rand.rs +0 -95
  644. data/ext/cargo-vendor/tokio-1.35.1/src/util/sharded_list.rs +0 -149
  645. data/ext/cargo-vendor/tokio-1.35.1/tests/io_async_fd.rs +0 -836
  646. data/ext/cargo-vendor/tokio-1.35.1/tests/io_copy.rs +0 -87
  647. data/ext/cargo-vendor/tokio-1.35.1/tests/io_copy_bidirectional.rs +0 -140
  648. data/ext/cargo-vendor/tokio-1.35.1/tests/io_panic.rs +0 -181
  649. data/ext/cargo-vendor/tokio-1.35.1/tests/io_poll_aio.rs +0 -375
  650. data/ext/cargo-vendor/tokio-1.35.1/tests/join_handle_panic.rs +0 -21
  651. data/ext/cargo-vendor/tokio-1.35.1/tests/macros_test.rs +0 -88
  652. data/ext/cargo-vendor/tokio-1.35.1/tests/macros_try_join.rs +0 -190
  653. data/ext/cargo-vendor/tokio-1.35.1/tests/net_named_pipe.rs +0 -399
  654. data/ext/cargo-vendor/tokio-1.35.1/tests/net_panic.rs +0 -192
  655. data/ext/cargo-vendor/tokio-1.35.1/tests/net_unix_pipe.rs +0 -429
  656. data/ext/cargo-vendor/tokio-1.35.1/tests/process_issue_2174.rs +0 -45
  657. data/ext/cargo-vendor/tokio-1.35.1/tests/rt_basic.rs +0 -448
  658. data/ext/cargo-vendor/tokio-1.35.1/tests/rt_handle.rs +0 -94
  659. data/ext/cargo-vendor/tokio-1.35.1/tests/rt_panic.rs +0 -81
  660. data/ext/cargo-vendor/tokio-1.35.1/tests/rt_time_start_paused.rs +0 -14
  661. data/ext/cargo-vendor/tokio-1.35.1/tests/signal_panic.rs +0 -29
  662. data/ext/cargo-vendor/tokio-1.35.1/tests/sync_mpsc.rs +0 -841
  663. data/ext/cargo-vendor/tokio-1.35.1/tests/sync_panic.rs +0 -209
  664. data/ext/cargo-vendor/tokio-1.35.1/tests/sync_watch.rs +0 -301
  665. data/ext/cargo-vendor/tokio-1.35.1/tests/task_id.rs +0 -303
  666. data/ext/cargo-vendor/tokio-1.35.1/tests/task_join_set.rs +0 -229
  667. data/ext/cargo-vendor/tokio-1.35.1/tests/task_local.rs +0 -119
  668. data/ext/cargo-vendor/tokio-1.35.1/tests/task_panic.rs +0 -130
  669. data/ext/cargo-vendor/tokio-1.35.1/tests/tcp_into_split.rs +0 -131
  670. data/ext/cargo-vendor/tokio-1.35.1/tests/time_panic.rs +0 -98
  671. data/ext/cargo-vendor/tokio-1.35.1/tests/time_pause.rs +0 -332
  672. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/.cargo-checksum.json +0 -1
  673. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/Cargo.toml +0 -102
  674. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/README.md +0 -1
  675. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/clocks.rs +0 -41
  676. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/dir.rs +0 -464
  677. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/file.rs +0 -254
  678. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/lib.rs +0 -161
  679. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/net.rs +0 -402
  680. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/sched/unix.rs +0 -82
  681. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/sched/windows.rs +0 -221
  682. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/sched.rs +0 -40
  683. data/ext/cargo-vendor/wasi-cap-std-sync-17.0.0/src/stdio.rs +0 -197
  684. data/ext/cargo-vendor/wasi-common-17.0.0/.cargo-checksum.json +0 -1
  685. data/ext/cargo-vendor/wasi-common-17.0.0/Cargo.toml +0 -131
  686. data/ext/cargo-vendor/wasi-common-17.0.0/src/lib.rs +0 -76
  687. data/ext/cargo-vendor/wasm-encoder-0.38.1/.cargo-checksum.json +0 -1
  688. data/ext/cargo-vendor/wasm-encoder-0.38.1/Cargo.toml +0 -37
  689. data/ext/cargo-vendor/wasm-encoder-0.38.1/src/component/types.rs +0 -771
  690. data/ext/cargo-vendor/wasm-encoder-0.38.1/src/core/code.rs +0 -3179
  691. data/ext/cargo-vendor/wasm-encoder-0.38.1/src/core/names.rs +0 -290
  692. data/ext/cargo-vendor/wasm-encoder-0.38.1/src/core/types.rs +0 -611
  693. data/ext/cargo-vendor/wasmparser-0.118.1/.cargo-checksum.json +0 -1
  694. data/ext/cargo-vendor/wasmparser-0.118.1/Cargo.lock +0 -649
  695. data/ext/cargo-vendor/wasmparser-0.118.1/Cargo.toml +0 -60
  696. data/ext/cargo-vendor/wasmparser-0.118.1/README.md +0 -36
  697. data/ext/cargo-vendor/wasmparser-0.118.1/benches/benchmark.rs +0 -370
  698. data/ext/cargo-vendor/wasmparser-0.118.1/src/binary_reader.rs +0 -1706
  699. data/ext/cargo-vendor/wasmparser-0.118.1/src/lib.rs +0 -726
  700. data/ext/cargo-vendor/wasmparser-0.118.1/src/limits.rs +0 -58
  701. data/ext/cargo-vendor/wasmparser-0.118.1/src/readers/core/dylink0.rs +0 -132
  702. data/ext/cargo-vendor/wasmparser-0.118.1/src/readers/core/names.rs +0 -153
  703. data/ext/cargo-vendor/wasmparser-0.118.1/src/readers/core/operators.rs +0 -354
  704. data/ext/cargo-vendor/wasmparser-0.118.1/src/readers/core/types.rs +0 -1520
  705. data/ext/cargo-vendor/wasmparser-0.118.1/src/readers/core.rs +0 -37
  706. data/ext/cargo-vendor/wasmparser-0.118.1/src/resources.rs +0 -408
  707. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator/component.rs +0 -3211
  708. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator/core/canonical.rs +0 -233
  709. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator/core.rs +0 -1381
  710. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator/func.rs +0 -345
  711. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator/names.rs +0 -859
  712. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator/operators.rs +0 -3515
  713. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator/types.rs +0 -4416
  714. data/ext/cargo-vendor/wasmparser-0.118.1/src/validator.rs +0 -1606
  715. data/ext/cargo-vendor/wasmprinter-0.2.75/.cargo-checksum.json +0 -1
  716. data/ext/cargo-vendor/wasmprinter-0.2.75/Cargo.toml +0 -39
  717. data/ext/cargo-vendor/wasmprinter-0.2.75/src/lib.rs +0 -2969
  718. data/ext/cargo-vendor/wasmprinter-0.2.75/src/operator.rs +0 -873
  719. data/ext/cargo-vendor/wasmprinter-0.2.75/tests/all.rs +0 -278
  720. data/ext/cargo-vendor/wasmtime-17.0.0/.cargo-checksum.json +0 -1
  721. data/ext/cargo-vendor/wasmtime-17.0.0/Cargo.toml +0 -211
  722. data/ext/cargo-vendor/wasmtime-17.0.0/src/code.rs +0 -103
  723. data/ext/cargo-vendor/wasmtime-17.0.0/src/compiler.rs +0 -682
  724. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/component.rs +0 -545
  725. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/func/host.rs +0 -456
  726. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/func.rs +0 -720
  727. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/instance.rs +0 -815
  728. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/linker.rs +0 -580
  729. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/resource_table.rs +0 -350
  730. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/types.rs +0 -752
  731. data/ext/cargo-vendor/wasmtime-17.0.0/src/component/values.rs +0 -1272
  732. data/ext/cargo-vendor/wasmtime-17.0.0/src/config.rs +0 -2428
  733. data/ext/cargo-vendor/wasmtime-17.0.0/src/engine/serialization.rs +0 -657
  734. data/ext/cargo-vendor/wasmtime-17.0.0/src/engine.rs +0 -792
  735. data/ext/cargo-vendor/wasmtime-17.0.0/src/func/typed.rs +0 -638
  736. data/ext/cargo-vendor/wasmtime-17.0.0/src/func.rs +0 -2391
  737. data/ext/cargo-vendor/wasmtime-17.0.0/src/instance.rs +0 -941
  738. data/ext/cargo-vendor/wasmtime-17.0.0/src/lib.rs +0 -526
  739. data/ext/cargo-vendor/wasmtime-17.0.0/src/linker.rs +0 -1479
  740. data/ext/cargo-vendor/wasmtime-17.0.0/src/memory.rs +0 -998
  741. data/ext/cargo-vendor/wasmtime-17.0.0/src/module/registry.rs +0 -361
  742. data/ext/cargo-vendor/wasmtime-17.0.0/src/module.rs +0 -1370
  743. data/ext/cargo-vendor/wasmtime-17.0.0/src/profiling.rs +0 -212
  744. data/ext/cargo-vendor/wasmtime-17.0.0/src/store.rs +0 -2389
  745. data/ext/cargo-vendor/wasmtime-17.0.0/src/trampoline/func.rs +0 -133
  746. data/ext/cargo-vendor/wasmtime-17.0.0/src/trampoline/memory.rs +0 -269
  747. data/ext/cargo-vendor/wasmtime-17.0.0/src/trampoline/table.rs +0 -20
  748. data/ext/cargo-vendor/wasmtime-17.0.0/src/trampoline.rs +0 -77
  749. data/ext/cargo-vendor/wasmtime-17.0.0/src/trap.rs +0 -643
  750. data/ext/cargo-vendor/wasmtime-17.0.0/src/types/matching.rs +0 -312
  751. data/ext/cargo-vendor/wasmtime-17.0.0/src/types.rs +0 -581
  752. data/ext/cargo-vendor/wasmtime-asm-macros-17.0.0/.cargo-checksum.json +0 -1
  753. data/ext/cargo-vendor/wasmtime-asm-macros-17.0.0/Cargo.toml +0 -22
  754. data/ext/cargo-vendor/wasmtime-cache-17.0.0/.cargo-checksum.json +0 -1
  755. data/ext/cargo-vendor/wasmtime-cache-17.0.0/Cargo.toml +0 -81
  756. data/ext/cargo-vendor/wasmtime-component-macro-17.0.0/.cargo-checksum.json +0 -1
  757. data/ext/cargo-vendor/wasmtime-component-macro-17.0.0/Cargo.toml +0 -67
  758. data/ext/cargo-vendor/wasmtime-component-macro-17.0.0/src/bindgen.rs +0 -371
  759. data/ext/cargo-vendor/wasmtime-component-util-17.0.0/.cargo-checksum.json +0 -1
  760. data/ext/cargo-vendor/wasmtime-component-util-17.0.0/Cargo.toml +0 -25
  761. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/.cargo-checksum.json +0 -1
  762. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/Cargo.toml +0 -112
  763. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/src/builder.rs +0 -123
  764. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/src/compiler/component.rs +0 -959
  765. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/src/compiler.rs +0 -1317
  766. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/src/debug/transform/simulate.rs +0 -410
  767. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/src/func_environ.rs +0 -2750
  768. data/ext/cargo-vendor/wasmtime-cranelift-17.0.0/src/lib.rs +0 -186
  769. data/ext/cargo-vendor/wasmtime-cranelift-shared-17.0.0/.cargo-checksum.json +0 -1
  770. data/ext/cargo-vendor/wasmtime-cranelift-shared-17.0.0/Cargo.toml +0 -71
  771. data/ext/cargo-vendor/wasmtime-cranelift-shared-17.0.0/src/isa_builder.rs +0 -100
  772. data/ext/cargo-vendor/wasmtime-environ-17.0.0/.cargo-checksum.json +0 -1
  773. data/ext/cargo-vendor/wasmtime-environ-17.0.0/Cargo.lock +0 -726
  774. data/ext/cargo-vendor/wasmtime-environ-17.0.0/Cargo.toml +0 -125
  775. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/component/dfg.rs +0 -678
  776. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/component/info.rs +0 -583
  777. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/component/translate/inline.rs +0 -1322
  778. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/component/translate.rs +0 -951
  779. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/component/types.rs +0 -1876
  780. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/component.rs +0 -95
  781. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/lib.rs +0 -59
  782. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/module.rs +0 -1075
  783. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/module_environ.rs +0 -892
  784. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/module_types.rs +0 -120
  785. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/tunables.rs +0 -117
  786. data/ext/cargo-vendor/wasmtime-environ-17.0.0/src/vmoffsets.rs +0 -919
  787. data/ext/cargo-vendor/wasmtime-fiber-17.0.0/.cargo-checksum.json +0 -1
  788. data/ext/cargo-vendor/wasmtime-fiber-17.0.0/Cargo.toml +0 -63
  789. data/ext/cargo-vendor/wasmtime-jit-17.0.0/.cargo-checksum.json +0 -1
  790. data/ext/cargo-vendor/wasmtime-jit-17.0.0/Cargo.toml +0 -125
  791. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/code_memory.rs +0 -319
  792. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/debug.rs +0 -165
  793. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/instantiate.rs +0 -772
  794. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/lib.rs +0 -21
  795. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/profiling/jitdump.rs +0 -66
  796. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/profiling/perfmap.rs +0 -47
  797. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/profiling/vtune.rs +0 -80
  798. data/ext/cargo-vendor/wasmtime-jit-17.0.0/src/profiling.rs +0 -108
  799. data/ext/cargo-vendor/wasmtime-jit-debug-17.0.0/.cargo-checksum.json +0 -1
  800. data/ext/cargo-vendor/wasmtime-jit-debug-17.0.0/Cargo.toml +0 -67
  801. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-17.0.0/.cargo-checksum.json +0 -1
  802. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-17.0.0/Cargo.toml +0 -46
  803. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/.cargo-checksum.json +0 -1
  804. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/Cargo.toml +0 -139
  805. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/component.rs +0 -855
  806. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/instance/allocator/pooling/memory_pool.rs +0 -997
  807. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/instance/allocator/pooling.rs +0 -658
  808. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/instance/allocator.rs +0 -712
  809. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/instance.rs +0 -1479
  810. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/lib.rs +0 -264
  811. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/mpk/enabled.rs +0 -204
  812. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/mpk/pkru.rs +0 -102
  813. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/sys/unix/signals.rs +0 -402
  814. data/ext/cargo-vendor/wasmtime-runtime-17.0.0/src/vmcontext.rs +0 -1197
  815. data/ext/cargo-vendor/wasmtime-types-17.0.0/.cargo-checksum.json +0 -1
  816. data/ext/cargo-vendor/wasmtime-types-17.0.0/Cargo.toml +0 -36
  817. data/ext/cargo-vendor/wasmtime-types-17.0.0/src/lib.rs +0 -504
  818. data/ext/cargo-vendor/wasmtime-versioned-export-macros-17.0.0/.cargo-checksum.json +0 -1
  819. data/ext/cargo-vendor/wasmtime-versioned-export-macros-17.0.0/Cargo.toml +0 -32
  820. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/.cargo-checksum.json +0 -1
  821. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/Cargo.toml +0 -261
  822. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/build.rs +0 -6
  823. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/lib.rs +0 -137
  824. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/clocks/host.rs +0 -73
  825. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/clocks.rs +0 -12
  826. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/ctx.rs +0 -333
  827. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/error.rs +0 -97
  828. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/filesystem.rs +0 -325
  829. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/clocks.rs +0 -103
  830. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/filesystem.rs +0 -1069
  831. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/instance_network.rs +0 -15
  832. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/io.rs +0 -368
  833. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/network.rs +0 -625
  834. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/random.rs +0 -36
  835. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/tcp.rs +0 -605
  836. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/tcp_create_socket.rs +0 -15
  837. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/udp.rs +0 -530
  838. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/host/udp_create_socket.rs +0 -15
  839. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/ip_name_lookup.rs +0 -125
  840. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/pipe.rs +0 -826
  841. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/poll.rs +0 -175
  842. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/preview0.rs +0 -870
  843. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/preview1.rs +0 -2362
  844. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/random.rs +0 -58
  845. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/stdio.rs +0 -259
  846. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/src/preview2/write_stream.rs +0 -203
  847. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/tests/all/api.rs +0 -217
  848. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/tests/all/main.rs +0 -112
  849. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/wit/deps/io/poll.wit +0 -41
  850. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/wit/deps/io/streams.wit +0 -251
  851. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/wit/deps/sockets/tcp.wit +0 -309
  852. data/ext/cargo-vendor/wasmtime-wasi-17.0.0/wit/deps/sockets/udp.wit +0 -264
  853. data/ext/cargo-vendor/wasmtime-winch-17.0.0/.cargo-checksum.json +0 -1
  854. data/ext/cargo-vendor/wasmtime-winch-17.0.0/Cargo.toml +0 -77
  855. data/ext/cargo-vendor/wasmtime-winch-17.0.0/src/builder.rs +0 -64
  856. data/ext/cargo-vendor/wasmtime-winch-17.0.0/src/compiler.rs +0 -243
  857. data/ext/cargo-vendor/wasmtime-wit-bindgen-17.0.0/.cargo-checksum.json +0 -1
  858. data/ext/cargo-vendor/wasmtime-wit-bindgen-17.0.0/Cargo.toml +0 -41
  859. data/ext/cargo-vendor/wasmtime-wit-bindgen-17.0.0/src/lib.rs +0 -2097
  860. data/ext/cargo-vendor/wasmtime-wmemcheck-17.0.0/.cargo-checksum.json +0 -1
  861. data/ext/cargo-vendor/wasmtime-wmemcheck-17.0.0/Cargo.toml +0 -29
  862. data/ext/cargo-vendor/wast-69.0.1/.cargo-checksum.json +0 -1
  863. data/ext/cargo-vendor/wast-69.0.1/Cargo.toml +0 -50
  864. data/ext/cargo-vendor/wast-69.0.1/src/component/component.rs +0 -320
  865. data/ext/cargo-vendor/wast-69.0.1/src/core/binary.rs +0 -1273
  866. data/ext/cargo-vendor/wast-69.0.1/src/core/custom.rs +0 -390
  867. data/ext/cargo-vendor/wast-69.0.1/src/core/expr.rs +0 -2072
  868. data/ext/cargo-vendor/wast-69.0.1/src/core/memory.rs +0 -279
  869. data/ext/cargo-vendor/wast-69.0.1/src/core/module.rs +0 -217
  870. data/ext/cargo-vendor/wast-69.0.1/src/core/resolve/deinline_import_export.rs +0 -231
  871. data/ext/cargo-vendor/wast-69.0.1/src/core/resolve/names.rs +0 -764
  872. data/ext/cargo-vendor/wast-69.0.1/src/core/table.rs +0 -288
  873. data/ext/cargo-vendor/wast-69.0.1/src/core/types.rs +0 -865
  874. data/ext/cargo-vendor/wast-69.0.1/src/lexer.rs +0 -1443
  875. data/ext/cargo-vendor/wast-69.0.1/src/lib.rs +0 -542
  876. data/ext/cargo-vendor/wast-69.0.1/src/names.rs +0 -86
  877. data/ext/cargo-vendor/wast-69.0.1/src/parser.rs +0 -1382
  878. data/ext/cargo-vendor/wast-69.0.1/src/token.rs +0 -698
  879. data/ext/cargo-vendor/wast-69.0.1/src/wat.rs +0 -62
  880. data/ext/cargo-vendor/wat-1.0.82/.cargo-checksum.json +0 -1
  881. data/ext/cargo-vendor/wat-1.0.82/Cargo.toml +0 -27
  882. data/ext/cargo-vendor/wat-1.0.82/src/lib.rs +0 -333
  883. data/ext/cargo-vendor/wiggle-17.0.0/.cargo-checksum.json +0 -1
  884. data/ext/cargo-vendor/wiggle-17.0.0/Cargo.toml +0 -115
  885. data/ext/cargo-vendor/wiggle-17.0.0/src/lib.rs +0 -1198
  886. data/ext/cargo-vendor/wiggle-generate-17.0.0/.cargo-checksum.json +0 -1
  887. data/ext/cargo-vendor/wiggle-generate-17.0.0/Cargo.toml +0 -65
  888. data/ext/cargo-vendor/wiggle-macro-17.0.0/.cargo-checksum.json +0 -1
  889. data/ext/cargo-vendor/wiggle-macro-17.0.0/Cargo.toml +0 -55
  890. data/ext/cargo-vendor/wiggle-macro-17.0.0/LICENSE +0 -220
  891. data/ext/cargo-vendor/winch-codegen-0.15.0/.cargo-checksum.json +0 -1
  892. data/ext/cargo-vendor/winch-codegen-0.15.0/Cargo.toml +0 -76
  893. data/ext/cargo-vendor/winch-codegen-0.15.0/src/abi/local.rs +0 -81
  894. data/ext/cargo-vendor/winch-codegen-0.15.0/src/abi/mod.rs +0 -614
  895. data/ext/cargo-vendor/winch-codegen-0.15.0/src/codegen/builtin.rs +0 -268
  896. data/ext/cargo-vendor/winch-codegen-0.15.0/src/codegen/call.rs +0 -345
  897. data/ext/cargo-vendor/winch-codegen-0.15.0/src/codegen/context.rs +0 -553
  898. data/ext/cargo-vendor/winch-codegen-0.15.0/src/codegen/control.rs +0 -497
  899. data/ext/cargo-vendor/winch-codegen-0.15.0/src/codegen/env.rs +0 -309
  900. data/ext/cargo-vendor/winch-codegen-0.15.0/src/codegen/mod.rs +0 -428
  901. data/ext/cargo-vendor/winch-codegen-0.15.0/src/frame/mod.rs +0 -221
  902. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/aarch64/abi.rs +0 -313
  903. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/aarch64/masm.rs +0 -457
  904. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/aarch64/mod.rs +0 -137
  905. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/mod.rs +0 -225
  906. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/reg.rs +0 -73
  907. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/x64/abi.rs +0 -524
  908. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/x64/asm.rs +0 -1149
  909. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/x64/masm.rs +0 -1044
  910. data/ext/cargo-vendor/winch-codegen-0.15.0/src/isa/x64/mod.rs +0 -172
  911. data/ext/cargo-vendor/winch-codegen-0.15.0/src/masm.rs +0 -708
  912. data/ext/cargo-vendor/winch-codegen-0.15.0/src/stack.rs +0 -452
  913. data/ext/cargo-vendor/winch-codegen-0.15.0/src/trampoline.rs +0 -734
  914. data/ext/cargo-vendor/winch-codegen-0.15.0/src/visitor.rs +0 -1617
  915. data/ext/cargo-vendor/wit-parser-0.13.0/.cargo-checksum.json +0 -1
  916. data/ext/cargo-vendor/wit-parser-0.13.0/Cargo.toml +0 -65
  917. data/ext/cargo-vendor/wit-parser-0.13.0/src/ast/lex.rs +0 -737
  918. data/ext/cargo-vendor/wit-parser-0.13.0/src/ast/resolve.rs +0 -1425
  919. data/ext/cargo-vendor/wit-parser-0.13.0/src/ast.rs +0 -1340
  920. data/ext/cargo-vendor/wit-parser-0.13.0/src/resolve.rs +0 -1872
  921. data/ext/cargo-vendor/wit-parser-0.13.0/tests/ui/comments.wit.json +0 -46
  922. data/ext/cargo-vendor/wit-parser-0.13.0/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -5
  923. data/ext/cargo-vendor/wit-parser-0.13.0/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -5
  924. data/ext/cargo-vendor/wit-parser-0.13.0/tests/ui/parse-fail/union-fuzz-2.wit.result +0 -5
  925. data/ext/cargo-vendor/wit-parser-0.13.0/tests/ui/types.wit +0 -58
  926. data/ext/cargo-vendor/wit-parser-0.13.0/tests/ui/types.wit.json +0 -751
  927. data/ext/cargo-vendor/wit-parser-0.13.0/tests/ui/wasi.wit.json +0 -296
  928. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/LICENSE +0 -0
  929. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/README.md +0 -0
  930. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/src/lib.rs +0 -0
  931. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/src/map.rs +0 -0
  932. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/src/node.rs +0 -0
  933. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/src/path.rs +0 -0
  934. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/src/pool.rs +0 -0
  935. /data/ext/cargo-vendor/{cranelift-bforest-0.104.0 → cranelift-bforest-0.105.3}/src/set.rs +0 -0
  936. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/LICENSE +0 -0
  937. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/README.md +0 -0
  938. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/benches/x64-evex-encoding.rs +0 -0
  939. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/alias_analysis.rs +0 -0
  940. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/binemit/mod.rs +0 -0
  941. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/binemit/stack_map.rs +0 -0
  942. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/bitset.rs +0 -0
  943. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/cfg_printer.rs +0 -0
  944. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/constant_hash.rs +0 -0
  945. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/context.rs +0 -0
  946. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ctxhash.rs +0 -0
  947. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/cursor.rs +0 -0
  948. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/data_value.rs +0 -0
  949. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/dbg.rs +0 -0
  950. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/dce.rs +0 -0
  951. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/dominator_tree.rs +0 -0
  952. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/flowgraph.rs +0 -0
  953. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/fx.rs +0 -0
  954. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/incremental_cache.rs +0 -0
  955. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/inst_predicates.rs +0 -0
  956. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/atomic_rmw_op.rs +0 -0
  957. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/builder.rs +0 -0
  958. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/condcodes.rs +0 -0
  959. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/constant.rs +0 -0
  960. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/dfg.rs +0 -0
  961. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/dynamic_type.rs +0 -0
  962. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/entities.rs +0 -0
  963. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/extfunc.rs +0 -0
  964. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/extname.rs +0 -0
  965. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/function.rs +0 -0
  966. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/globalvalue.rs +0 -0
  967. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/immediates.rs +0 -0
  968. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/instructions.rs +0 -0
  969. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/jumptable.rs +0 -0
  970. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/known_symbol.rs +0 -0
  971. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/layout.rs +0 -0
  972. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/libcall.rs +0 -0
  973. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/memflags.rs +0 -0
  974. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/memtype.rs +0 -0
  975. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/mod.rs +0 -0
  976. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/pcc.rs +0 -0
  977. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/progpoint.rs +0 -0
  978. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/sourceloc.rs +0 -0
  979. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/stackslot.rs +0 -0
  980. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/table.rs +0 -0
  981. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/trapcode.rs +0 -0
  982. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/ir/types.rs +0 -0
  983. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/abi.rs +0 -0
  984. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/args.rs +0 -0
  985. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/emit.rs +0 -0
  986. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/emit_tests.rs +0 -0
  987. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/imms.rs +0 -0
  988. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/mod.rs +0 -0
  989. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/regs.rs +0 -0
  990. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  991. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst/unwind.rs +0 -0
  992. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst.isle +0 -0
  993. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/inst_neon.isle +0 -0
  994. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  995. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/lower/isle.rs +0 -0
  996. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/lower.isle +0 -0
  997. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/lower.rs +0 -0
  998. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  999. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/mod.rs +0 -0
  1000. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/pcc.rs +0 -0
  1001. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/aarch64/settings.rs +0 -0
  1002. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/call_conv.rs +0 -0
  1003. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/mod.rs +0 -0
  1004. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/abi.rs +0 -0
  1005. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/args.rs +0 -0
  1006. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/emit.rs +0 -0
  1007. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/emit_tests.rs +0 -0
  1008. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/encode.rs +0 -0
  1009. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/imms.rs +0 -0
  1010. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/mod.rs +0 -0
  1011. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/regs.rs +0 -0
  1012. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
  1013. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/unwind.rs +0 -0
  1014. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst/vector.rs +0 -0
  1015. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst.isle +0 -0
  1016. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/inst_vector.isle +0 -0
  1017. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1018. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/lower/isle.rs +0 -0
  1019. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/lower.isle +0 -0
  1020. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/lower.rs +0 -0
  1021. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/mod.rs +0 -0
  1022. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/riscv64/settings.rs +0 -0
  1023. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/abi.rs +0 -0
  1024. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/args.rs +0 -0
  1025. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/emit.rs +0 -0
  1026. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/emit_tests.rs +0 -0
  1027. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/imms.rs +0 -0
  1028. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/mod.rs +0 -0
  1029. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/regs.rs +0 -0
  1030. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1031. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst/unwind.rs +0 -0
  1032. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/inst.isle +0 -0
  1033. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1034. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/lower/isle.rs +0 -0
  1035. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/lower.isle +0 -0
  1036. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/lower.rs +0 -0
  1037. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/mod.rs +0 -0
  1038. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/s390x/settings.rs +0 -0
  1039. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/unwind/systemv.rs +0 -0
  1040. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/unwind/winx64.rs +0 -0
  1041. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/unwind.rs +0 -0
  1042. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/abi.rs +0 -0
  1043. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/encoding/evex.rs +0 -0
  1044. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/encoding/mod.rs +0 -0
  1045. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/encoding/rex.rs +0 -0
  1046. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/encoding/vex.rs +0 -0
  1047. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/inst/args.rs +0 -0
  1048. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/inst/emit_state.rs +0 -0
  1049. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/inst/mod.rs +0 -0
  1050. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/inst/regs.rs +0 -0
  1051. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1052. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1053. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/inst/unwind.rs +0 -0
  1054. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1055. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/lower/isle.rs +0 -0
  1056. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/lower.rs +0 -0
  1057. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/pcc.rs +0 -0
  1058. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isa/x64/settings.rs +0 -0
  1059. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/isle_prelude.rs +0 -0
  1060. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/iterators.rs +0 -0
  1061. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/legalizer/globalvalue.rs +0 -0
  1062. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/legalizer/mod.rs +0 -0
  1063. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/legalizer/table.rs +0 -0
  1064. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/loop_analysis.rs +0 -0
  1065. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/abi.rs +0 -0
  1066. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/blockorder.rs +0 -0
  1067. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/buffer.rs +0 -0
  1068. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/compile.rs +0 -0
  1069. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/helpers.rs +0 -0
  1070. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/inst_common.rs +0 -0
  1071. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/isle.rs +0 -0
  1072. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/lower.rs +0 -0
  1073. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/mod.rs +0 -0
  1074. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/pcc.rs +0 -0
  1075. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/valueregs.rs +0 -0
  1076. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/machinst/vcode.rs +0 -0
  1077. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/nan_canonicalization.rs +0 -0
  1078. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/arithmetic.isle +0 -0
  1079. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/bitops.isle +0 -0
  1080. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/generated_code.rs +0 -0
  1081. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/icmp.isle +0 -0
  1082. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/remat.isle +0 -0
  1083. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/selects.isle +0 -0
  1084. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/shifts.isle +0 -0
  1085. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/spaceship.isle +0 -0
  1086. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts/vector.isle +0 -0
  1087. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/opts.rs +0 -0
  1088. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/prelude.isle +0 -0
  1089. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/prelude_lower.isle +0 -0
  1090. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/print_errors.rs +0 -0
  1091. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/remove_constant_phis.rs +0 -0
  1092. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/result.rs +0 -0
  1093. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/scoped_hash_map.rs +0 -0
  1094. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/settings.rs +0 -0
  1095. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/souper_harvest.rs +0 -0
  1096. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/timing.rs +0 -0
  1097. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/unionfind.rs +0 -0
  1098. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/unreachable_code.rs +0 -0
  1099. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/value_label.rs +0 -0
  1100. /data/ext/cargo-vendor/{cranelift-codegen-0.104.0 → cranelift-codegen-0.105.3}/src/write.rs +0 -0
  1101. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/LICENSE +0 -0
  1102. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/README.md +0 -0
  1103. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/formats.rs +0 -0
  1104. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/instructions.rs +0 -0
  1105. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/isa.rs +0 -0
  1106. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/mod.rs +0 -0
  1107. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/operands.rs +0 -0
  1108. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/settings.rs +0 -0
  1109. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/types.rs +0 -0
  1110. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/cdsl/typevar.rs +0 -0
  1111. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/constant_hash.rs +0 -0
  1112. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/error.rs +0 -0
  1113. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/gen_inst.rs +0 -0
  1114. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/gen_settings.rs +0 -0
  1115. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/gen_types.rs +0 -0
  1116. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/isa/arm64.rs +0 -0
  1117. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/isa/mod.rs +0 -0
  1118. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/isa/riscv64.rs +0 -0
  1119. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/isa/s390x.rs +0 -0
  1120. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/isa/x86.rs +0 -0
  1121. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/lib.rs +0 -0
  1122. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/shared/entities.rs +0 -0
  1123. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/shared/formats.rs +0 -0
  1124. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/shared/immediates.rs +0 -0
  1125. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/shared/instructions.rs +0 -0
  1126. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/shared/mod.rs +0 -0
  1127. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/shared/settings.rs +0 -0
  1128. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/shared/types.rs +0 -0
  1129. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/srcgen.rs +0 -0
  1130. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.104.0 → cranelift-codegen-meta-0.105.3}/src/unique_table.rs +0 -0
  1131. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.104.0 → cranelift-codegen-shared-0.105.3}/LICENSE +0 -0
  1132. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.104.0 → cranelift-codegen-shared-0.105.3}/README.md +0 -0
  1133. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.104.0 → cranelift-codegen-shared-0.105.3}/src/constant_hash.rs +0 -0
  1134. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.104.0 → cranelift-codegen-shared-0.105.3}/src/constants.rs +0 -0
  1135. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.104.0 → cranelift-codegen-shared-0.105.3}/src/lib.rs +0 -0
  1136. /data/ext/cargo-vendor/{cranelift-control-0.104.0 → cranelift-control-0.105.3}/LICENSE +0 -0
  1137. /data/ext/cargo-vendor/{cranelift-control-0.104.0 → cranelift-control-0.105.3}/README.md +0 -0
  1138. /data/ext/cargo-vendor/{cranelift-control-0.104.0 → cranelift-control-0.105.3}/src/chaos.rs +0 -0
  1139. /data/ext/cargo-vendor/{cranelift-control-0.104.0 → cranelift-control-0.105.3}/src/lib.rs +0 -0
  1140. /data/ext/cargo-vendor/{cranelift-control-0.104.0 → cranelift-control-0.105.3}/src/zero_sized.rs +0 -0
  1141. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/LICENSE +0 -0
  1142. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/README.md +0 -0
  1143. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/boxed_slice.rs +0 -0
  1144. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/iter.rs +0 -0
  1145. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/keys.rs +0 -0
  1146. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/lib.rs +0 -0
  1147. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/list.rs +0 -0
  1148. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/map.rs +0 -0
  1149. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/packed_option.rs +0 -0
  1150. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/primary.rs +0 -0
  1151. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/set.rs +0 -0
  1152. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/sparse.rs +0 -0
  1153. /data/ext/cargo-vendor/{cranelift-entity-0.104.0 → cranelift-entity-0.105.3}/src/unsigned.rs +0 -0
  1154. /data/ext/cargo-vendor/{cranelift-frontend-0.104.0 → cranelift-frontend-0.105.3}/LICENSE +0 -0
  1155. /data/ext/cargo-vendor/{cranelift-frontend-0.104.0 → cranelift-frontend-0.105.3}/README.md +0 -0
  1156. /data/ext/cargo-vendor/{cranelift-frontend-0.104.0 → cranelift-frontend-0.105.3}/src/frontend.rs +0 -0
  1157. /data/ext/cargo-vendor/{cranelift-frontend-0.104.0 → cranelift-frontend-0.105.3}/src/lib.rs +0 -0
  1158. /data/ext/cargo-vendor/{cranelift-frontend-0.104.0 → cranelift-frontend-0.105.3}/src/ssa.rs +0 -0
  1159. /data/ext/cargo-vendor/{cranelift-frontend-0.104.0 → cranelift-frontend-0.105.3}/src/switch.rs +0 -0
  1160. /data/ext/cargo-vendor/{cranelift-frontend-0.104.0 → cranelift-frontend-0.105.3}/src/variable.rs +0 -0
  1161. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/README.md +0 -0
  1162. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/build.rs +0 -0
  1163. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/bad_converters.isle +0 -0
  1164. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1165. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1166. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/error1.isle +0 -0
  1167. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/extra_parens.isle +0 -0
  1168. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/impure_expression.isle +0 -0
  1169. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/impure_rhs.isle +0 -0
  1170. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1171. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/fail/multi_prio.isle +0 -0
  1172. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/borrows.isle +0 -0
  1173. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/borrows_main.rs +0 -0
  1174. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/iflets.isle +0 -0
  1175. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/iflets_main.rs +0 -0
  1176. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/multi_constructor.isle +0 -0
  1177. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/multi_constructor_main.rs +0 -0
  1178. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/multi_extractor.isle +0 -0
  1179. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/multi_extractor_main.rs +0 -0
  1180. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/test.isle +0 -0
  1181. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/link/test_main.rs +0 -0
  1182. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/bound_var.isle +0 -0
  1183. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/construct_and_extract.isle +0 -0
  1184. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/conversions.isle +0 -0
  1185. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/conversions_extern.isle +0 -0
  1186. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/let.isle +0 -0
  1187. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/nodebug.isle +0 -0
  1188. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1189. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/test2.isle +0 -0
  1190. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/test3.isle +0 -0
  1191. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/test4.isle +0 -0
  1192. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/pass/tutorial.isle +0 -0
  1193. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/run/iconst.isle +0 -0
  1194. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/run/iconst_main.rs +0 -0
  1195. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/run/let_shadowing.isle +0 -0
  1196. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/isle_examples/run/let_shadowing_main.rs +0 -0
  1197. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/ast.rs +0 -0
  1198. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/codegen.rs +0 -0
  1199. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/compile.rs +0 -0
  1200. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/error.rs +0 -0
  1201. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/lexer.rs +0 -0
  1202. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/lib.rs +0 -0
  1203. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/log.rs +0 -0
  1204. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/overlap.rs +0 -0
  1205. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/parser.rs +0 -0
  1206. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/sema.rs +0 -0
  1207. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/serialize.rs +0 -0
  1208. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/src/trie_again.rs +0 -0
  1209. /data/ext/cargo-vendor/{cranelift-isle-0.104.0 → cranelift-isle-0.105.3}/tests/run_tests.rs +0 -0
  1210. /data/ext/cargo-vendor/{cranelift-native-0.104.0 → cranelift-native-0.105.3}/LICENSE +0 -0
  1211. /data/ext/cargo-vendor/{cranelift-native-0.104.0 → cranelift-native-0.105.3}/README.md +0 -0
  1212. /data/ext/cargo-vendor/{cranelift-native-0.104.0 → cranelift-native-0.105.3}/src/riscv.rs +0 -0
  1213. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/LICENSE +0 -0
  1214. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/README.md +0 -0
  1215. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/src/code_translator/bounds_checks.rs +0 -0
  1216. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/src/environ/mod.rs +0 -0
  1217. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/src/func_translator.rs +0 -0
  1218. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/src/heap.rs +0 -0
  1219. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/src/lib.rs +0 -0
  1220. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/src/module_translator.rs +0 -0
  1221. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/src/state.rs +0 -0
  1222. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/tests/wasm_testsuite.rs +0 -0
  1223. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/arith.wat +0 -0
  1224. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/br_table.wat +0 -0
  1225. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/call-simd.wat +0 -0
  1226. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/call.wat +0 -0
  1227. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/embenchen_fannkuch.wat +0 -0
  1228. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/embenchen_fasta.wat +0 -0
  1229. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/embenchen_ifs.wat +0 -0
  1230. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/embenchen_primes.wat +0 -0
  1231. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/fac-multi-value.wat +0 -0
  1232. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/fibonacci.wat +0 -0
  1233. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/globals.wat +0 -0
  1234. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-reachability-translation-0.wat +0 -0
  1235. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-reachability-translation-1.wat +0 -0
  1236. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-reachability-translation-2.wat +0 -0
  1237. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-reachability-translation-3.wat +0 -0
  1238. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-reachability-translation-4.wat +0 -0
  1239. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-reachability-translation-5.wat +0 -0
  1240. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-reachability-translation-6.wat +0 -0
  1241. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-unreachable-else-params-2.wat +0 -0
  1242. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/if-unreachable-else-params.wat +0 -0
  1243. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
  1244. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/memory.wat +0 -0
  1245. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-0.wat +0 -0
  1246. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-1.wat +0 -0
  1247. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-10.wat +0 -0
  1248. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-11.wat +0 -0
  1249. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-12.wat +0 -0
  1250. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-13.wat +0 -0
  1251. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-14.wat +0 -0
  1252. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-15.wat +0 -0
  1253. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-16.wat +0 -0
  1254. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-17.wat +0 -0
  1255. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-2.wat +0 -0
  1256. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-3.wat +0 -0
  1257. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-4.wat +0 -0
  1258. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-5.wat +0 -0
  1259. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-6.wat +0 -0
  1260. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-7.wat +0 -0
  1261. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-8.wat +0 -0
  1262. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/multi-9.wat +0 -0
  1263. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/nullref.wat +0 -0
  1264. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/passive-data.wat +0 -0
  1265. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/pr2303.wat +0 -0
  1266. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/pr2559.wat +0 -0
  1267. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/ref-func-0.wat +0 -0
  1268. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/rust_fannkuch.wat +0 -0
  1269. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/select.wat +0 -0
  1270. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/simd-store.wat +0 -0
  1271. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/simd.wat +0 -0
  1272. /data/ext/cargo-vendor/{cranelift-wasm-0.104.0 → cranelift-wasm-0.105.3}/wasmtests/table-copy.wat +0 -0
  1273. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/README.md +0 -0
  1274. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/src/clocks.rs +0 -0
  1275. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/src/lib.rs +0 -0
  1276. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/src/noop_scheduler.rs +0 -0
  1277. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/tests/clocks.rs +0 -0
  1278. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/tests/common/mod.rs +0 -0
  1279. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/tests/random.rs +0 -0
  1280. /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.18 → deterministic-wasi-ctx-0.1.19}/tests/scheduler.rs +0 -0
  1281. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/LICENSE-APACHE +0 -0
  1282. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/LICENSE-MIT +0 -0
  1283. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/bin/release.sh +0 -0
  1284. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/build/features.rs +0 -0
  1285. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/build/main.rs +0 -0
  1286. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/build/stable_api_config.rs +0 -0
  1287. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/build/version.rs +0 -0
  1288. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/readme.md +0 -0
  1289. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/bindings.rs +0 -0
  1290. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/hidden.rs +0 -0
  1291. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/macros.rs +0 -0
  1292. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/memory.rs +0 -0
  1293. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/ruby_abi_version.rs +0 -0
  1294. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/special_consts.rs +0 -0
  1295. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/compiled.c +0 -0
  1296. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/compiled.rs +0 -0
  1297. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/ruby_2_6.rs +0 -0
  1298. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/ruby_2_7.rs +0 -0
  1299. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/ruby_3_0.rs +0 -0
  1300. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/ruby_3_1.rs +0 -0
  1301. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/ruby_3_2.rs +0 -0
  1302. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api/ruby_3_3.rs +0 -0
  1303. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/stable_api.rs +0 -0
  1304. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/tracking_allocator.rs +0 -0
  1305. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/utils.rs +0 -0
  1306. /data/ext/cargo-vendor/{rb-sys-0.9.86 → rb-sys-0.9.89}/src/value_type.rs +0 -0
  1307. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/LICENSE-APACHE +0 -0
  1308. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/LICENSE-MIT +0 -0
  1309. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/bindings/sanitizer.rs +0 -0
  1310. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/bindings/stable_api.rs +0 -0
  1311. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/bindings/wrapper.h +0 -0
  1312. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/cc.rs +0 -0
  1313. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/lib.rs +0 -0
  1314. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/rb_config/flags.rs +0 -0
  1315. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/rb_config/library.rs +0 -0
  1316. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/rb_config/search_path.rs +0 -0
  1317. /data/ext/cargo-vendor/{rb-sys-build-0.9.86 → rb-sys-build-0.9.89}/src/utils.rs +0 -0
  1318. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/LICENSE +0 -0
  1319. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/docs/reactor-refactor.md +0 -0
  1320. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/blocking.rs +0 -0
  1321. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/doc/mod.rs +0 -0
  1322. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/canonicalize.rs +0 -0
  1323. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/copy.rs +0 -0
  1324. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/create_dir.rs +0 -0
  1325. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/create_dir_all.rs +0 -0
  1326. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/dir_builder.rs +0 -0
  1327. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/file/tests.rs +0 -0
  1328. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/file.rs +0 -0
  1329. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/hard_link.rs +0 -0
  1330. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/metadata.rs +0 -0
  1331. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/mocks.rs +0 -0
  1332. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/mod.rs +0 -0
  1333. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/open_options.rs +0 -0
  1334. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/read.rs +0 -0
  1335. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/read_dir.rs +0 -0
  1336. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/read_link.rs +0 -0
  1337. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/read_to_string.rs +0 -0
  1338. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/remove_dir.rs +0 -0
  1339. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/remove_dir_all.rs +0 -0
  1340. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/remove_file.rs +0 -0
  1341. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/rename.rs +0 -0
  1342. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/set_permissions.rs +0 -0
  1343. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/symlink.rs +0 -0
  1344. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/symlink_dir.rs +0 -0
  1345. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/symlink_file.rs +0 -0
  1346. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/symlink_metadata.rs +0 -0
  1347. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/try_exists.rs +0 -0
  1348. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fs/write.rs +0 -0
  1349. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/future/block_on.rs +0 -0
  1350. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/future/maybe_done.rs +0 -0
  1351. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/future/poll_fn.rs +0 -0
  1352. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/future/trace.rs +0 -0
  1353. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/future/try_join.rs +0 -0
  1354. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/fuzz.rs +0 -0
  1355. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/async_buf_read.rs +0 -0
  1356. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/async_read.rs +0 -0
  1357. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/async_seek.rs +0 -0
  1358. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/async_write.rs +0 -0
  1359. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/blocking.rs +0 -0
  1360. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/read_buf.rs +0 -0
  1361. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/ready.rs +0 -0
  1362. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/seek.rs +0 -0
  1363. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/split.rs +0 -0
  1364. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/stderr.rs +0 -0
  1365. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/stdin.rs +0 -0
  1366. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/stdout.rs +0 -0
  1367. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/async_read_ext.rs +0 -0
  1368. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/async_seek_ext.rs +0 -0
  1369. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/async_write_ext.rs +0 -0
  1370. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/buf_stream.rs +0 -0
  1371. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/copy_bidirectional.rs +0 -0
  1372. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/copy_buf.rs +0 -0
  1373. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/fill_buf.rs +0 -0
  1374. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/lines.rs +0 -0
  1375. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/mem.rs +0 -0
  1376. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/read.rs +0 -0
  1377. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/read_buf.rs +0 -0
  1378. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/read_int.rs +0 -0
  1379. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/read_to_end.rs +0 -0
  1380. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/read_to_string.rs +0 -0
  1381. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/read_until.rs +0 -0
  1382. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/split.rs +0 -0
  1383. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/take.rs +0 -0
  1384. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/vec_with_initialized.rs +0 -0
  1385. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/write.rs +0 -0
  1386. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/write_all.rs +0 -0
  1387. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/write_all_buf.rs +0 -0
  1388. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/write_buf.rs +0 -0
  1389. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/write_int.rs +0 -0
  1390. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/io/util/write_vectored.rs +0 -0
  1391. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/mocked.rs +0 -0
  1392. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/mod.rs +0 -0
  1393. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/atomic_u16.rs +0 -0
  1394. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/atomic_u32.rs +0 -0
  1395. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/atomic_u64_as_mutex.rs +0 -0
  1396. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/atomic_u64_native.rs +0 -0
  1397. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/atomic_u64_static_const_new.rs +0 -0
  1398. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/atomic_u64_static_once_cell.rs +0 -0
  1399. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/atomic_usize.rs +0 -0
  1400. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/barrier.rs +0 -0
  1401. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/mod.rs +0 -0
  1402. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/mutex.rs +0 -0
  1403. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/parking_lot.rs +0 -0
  1404. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/loom/std/unsafe_cell.rs +0 -0
  1405. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/addr_of.rs +0 -0
  1406. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/join.rs +0 -0
  1407. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/loom.rs +0 -0
  1408. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/mod.rs +0 -0
  1409. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/pin.rs +0 -0
  1410. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/ready.rs +0 -0
  1411. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/select.rs +0 -0
  1412. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/support.rs +0 -0
  1413. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/thread_local.rs +0 -0
  1414. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/macros/trace.rs +0 -0
  1415. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/addr.rs +0 -0
  1416. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/lookup_host.rs +0 -0
  1417. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/tcp/mod.rs +0 -0
  1418. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/tcp/split.rs +0 -0
  1419. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/tcp/split_owned.rs +0 -0
  1420. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/unix/datagram/mod.rs +0 -0
  1421. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/unix/socketaddr.rs +0 -0
  1422. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/unix/split.rs +0 -0
  1423. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/unix/split_owned.rs +0 -0
  1424. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/unix/ucred.rs +0 -0
  1425. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/net/windows/mod.rs +0 -0
  1426. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/process/kill.rs +0 -0
  1427. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/process/unix/orphan.rs +0 -0
  1428. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/process/unix/reap.rs +0 -0
  1429. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/process/windows.rs +0 -0
  1430. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/blocking/mod.rs +0 -0
  1431. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/blocking/schedule.rs +0 -0
  1432. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/blocking/shutdown.rs +0 -0
  1433. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/blocking/task.rs +0 -0
  1434. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/config.rs +0 -0
  1435. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/context/blocking.rs +0 -0
  1436. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/context/current.rs +0 -0
  1437. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/context/runtime.rs +0 -0
  1438. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/context/runtime_mt.rs +0 -0
  1439. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/context/scoped.rs +0 -0
  1440. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/coop.rs +0 -0
  1441. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/driver.rs +0 -0
  1442. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/dump.rs +0 -0
  1443. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/id.rs +0 -0
  1444. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/io/driver/signal.rs +0 -0
  1445. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/io/metrics.rs +0 -0
  1446. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/io/mod.rs +0 -0
  1447. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/io/registration.rs +0 -0
  1448. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/io/registration_set.rs +0 -0
  1449. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/batch.rs +0 -0
  1450. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/histogram.rs +0 -0
  1451. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/io.rs +0 -0
  1452. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/mock.rs +0 -0
  1453. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/mod.rs +0 -0
  1454. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/runtime.rs +0 -0
  1455. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/scheduler.rs +0 -0
  1456. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/metrics/worker.rs +0 -0
  1457. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/mod.rs +0 -0
  1458. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/process.rs +0 -0
  1459. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/runtime.rs +0 -0
  1460. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/block_in_place.rs +0 -0
  1461. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/defer.rs +0 -0
  1462. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/inject/metrics.rs +0 -0
  1463. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/inject/pop.rs +0 -0
  1464. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/inject/rt_multi_thread.rs +0 -0
  1465. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/inject/shared.rs +0 -0
  1466. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/inject/synced.rs +0 -0
  1467. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/inject.rs +0 -0
  1468. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/lock.rs +0 -0
  1469. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/mod.rs +0 -0
  1470. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/counters.rs +0 -0
  1471. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/handle/metrics.rs +0 -0
  1472. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/handle/taskdump.rs +0 -0
  1473. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/handle.rs +0 -0
  1474. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/idle.rs +0 -0
  1475. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/mod.rs +0 -0
  1476. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/overflow.rs +0 -0
  1477. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/trace.rs +0 -0
  1478. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/trace_mock.rs +0 -0
  1479. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/worker/metrics.rs +0 -0
  1480. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/worker/taskdump.rs +0 -0
  1481. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread/worker/taskdump_mock.rs +0 -0
  1482. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/counters.rs +0 -0
  1483. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/handle/metrics.rs +0 -0
  1484. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/handle/taskdump.rs +0 -0
  1485. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/handle.rs +0 -0
  1486. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/idle.rs +0 -0
  1487. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/mod.rs +0 -0
  1488. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/overflow.rs +0 -0
  1489. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/park.rs +0 -0
  1490. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/trace.rs +0 -0
  1491. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/trace_mock.rs +0 -0
  1492. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/worker/metrics.rs +0 -0
  1493. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/worker/taskdump.rs +0 -0
  1494. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/scheduler/multi_thread_alt/worker/taskdump_mock.rs +0 -0
  1495. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/signal/mod.rs +0 -0
  1496. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/task/abort.rs +0 -0
  1497. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/task/error.rs +0 -0
  1498. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/task/id.rs +0 -0
  1499. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/task/raw.rs +0 -0
  1500. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/task/trace/symbol.rs +0 -0
  1501. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/task/trace/tree.rs +0 -0
  1502. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/task/waker.rs +0 -0
  1503. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/inject.rs +0 -0
  1504. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_blocking.rs +0 -0
  1505. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_current_thread/yield_now.rs +0 -0
  1506. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_current_thread.rs +0 -0
  1507. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_join_set.rs +0 -0
  1508. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread/queue.rs +0 -0
  1509. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread/shutdown.rs +0 -0
  1510. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread/yield_now.rs +0 -0
  1511. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread.rs +0 -0
  1512. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread_alt/queue.rs +0 -0
  1513. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread_alt/shutdown.rs +0 -0
  1514. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread_alt/yield_now.rs +0 -0
  1515. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_multi_thread_alt.rs +0 -0
  1516. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/loom_oneshot.rs +0 -0
  1517. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/mod.rs +0 -0
  1518. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/queue.rs +0 -0
  1519. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/tests/task.rs +0 -0
  1520. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/thread_id.rs +0 -0
  1521. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/time/handle.rs +0 -0
  1522. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/time/mod.rs +0 -0
  1523. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/time/tests/mod.rs +0 -0
  1524. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/runtime/time/wheel/mod.rs +0 -0
  1525. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/signal/reusable_box.rs +0 -0
  1526. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/signal/windows/stub.rs +0 -0
  1527. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/signal/windows/sys.rs +0 -0
  1528. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/barrier.rs +0 -0
  1529. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/mod.rs +0 -0
  1530. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/mpsc/block.rs +0 -0
  1531. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/mpsc/chan.rs +0 -0
  1532. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/mpsc/list.rs +0 -0
  1533. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/notify.rs +0 -0
  1534. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/once_cell.rs +0 -0
  1535. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/rwlock/owned_read_guard.rs +0 -0
  1536. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/rwlock/owned_write_guard.rs +0 -0
  1537. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/rwlock/owned_write_guard_mapped.rs +0 -0
  1538. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/rwlock/read_guard.rs +0 -0
  1539. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/rwlock/write_guard.rs +0 -0
  1540. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/rwlock/write_guard_mapped.rs +0 -0
  1541. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/task/atomic_waker.rs +0 -0
  1542. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/task/mod.rs +0 -0
  1543. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/atomic_waker.rs +0 -0
  1544. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_atomic_waker.rs +0 -0
  1545. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_broadcast.rs +0 -0
  1546. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_list.rs +0 -0
  1547. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_mpsc.rs +0 -0
  1548. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_notify.rs +0 -0
  1549. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_oneshot.rs +0 -0
  1550. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_rwlock.rs +0 -0
  1551. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_semaphore_batch.rs +0 -0
  1552. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/loom_watch.rs +0 -0
  1553. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/mod.rs +0 -0
  1554. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/notify.rs +0 -0
  1555. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/sync/tests/semaphore_batch.rs +0 -0
  1556. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/task/blocking.rs +0 -0
  1557. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/task/builder.rs +0 -0
  1558. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/task/consume_budget.rs +0 -0
  1559. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/task/spawn.rs +0 -0
  1560. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/task/task_local.rs +0 -0
  1561. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/task/unconstrained.rs +0 -0
  1562. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/task/yield_now.rs +0 -0
  1563. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/time/clock.rs +0 -0
  1564. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/time/error.rs +0 -0
  1565. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/time/instant.rs +0 -0
  1566. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/time/interval.rs +0 -0
  1567. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/time/mod.rs +0 -0
  1568. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/time/sleep.rs +0 -0
  1569. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/time/timeout.rs +0 -0
  1570. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/atomic_cell.rs +0 -0
  1571. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/bit.rs +0 -0
  1572. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/cacheline.rs +0 -0
  1573. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/error.rs +0 -0
  1574. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/linked_list.rs +0 -0
  1575. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/markers.rs +0 -0
  1576. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/memchr.rs +0 -0
  1577. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/mod.rs +0 -0
  1578. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/once_cell.rs +0 -0
  1579. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/rand/rt.rs +0 -0
  1580. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/rand/rt_unstable.rs +0 -0
  1581. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/rc_cell.rs +0 -0
  1582. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/sync_wrapper.rs +0 -0
  1583. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/trace.rs +0 -0
  1584. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/try_lock.rs +0 -0
  1585. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/wake.rs +0 -0
  1586. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/src/util/wake_list.rs +0 -0
  1587. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/_require_full.rs +0 -0
  1588. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/async_send_sync.rs +0 -0
  1589. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/buffered.rs +0 -0
  1590. /data/ext/cargo-vendor/{tokio-1.35.1/tests/coop_budger.rs → tokio-1.36.0/tests/coop_budget.rs} +0 -0
  1591. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/dump.rs +0 -0
  1592. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/duplex_stream.rs +0 -0
  1593. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs.rs +0 -0
  1594. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_canonicalize_dir.rs +0 -0
  1595. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_copy.rs +0 -0
  1596. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_dir.rs +0 -0
  1597. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_file.rs +0 -0
  1598. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_link.rs +0 -0
  1599. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_open_options.rs +0 -0
  1600. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_open_options_windows.rs +0 -0
  1601. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_remove_dir_all.rs +0 -0
  1602. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_remove_file.rs +0 -0
  1603. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_rename.rs +0 -0
  1604. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_symlink_dir_windows.rs +0 -0
  1605. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_symlink_file_windows.rs +0 -0
  1606. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/fs_try_exists.rs +0 -0
  1607. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_async_read.rs +0 -0
  1608. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_buf_reader.rs +0 -0
  1609. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_buf_writer.rs +0 -0
  1610. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_chain.rs +0 -0
  1611. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_driver.rs +0 -0
  1612. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_driver_drop.rs +0 -0
  1613. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_fill_buf.rs +0 -0
  1614. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_lines.rs +0 -0
  1615. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_mem_stream.rs +0 -0
  1616. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_read.rs +0 -0
  1617. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_read_buf.rs +0 -0
  1618. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_read_exact.rs +0 -0
  1619. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_read_line.rs +0 -0
  1620. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_read_to_end.rs +0 -0
  1621. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_read_to_string.rs +0 -0
  1622. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_read_until.rs +0 -0
  1623. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_split.rs +0 -0
  1624. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_take.rs +0 -0
  1625. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_util_empty.rs +0 -0
  1626. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_write.rs +0 -0
  1627. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_write_all.rs +0 -0
  1628. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_write_all_buf.rs +0 -0
  1629. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_write_buf.rs +0 -0
  1630. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/io_write_int.rs +0 -0
  1631. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/macros_join.rs +0 -0
  1632. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/macros_pin.rs +0 -0
  1633. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/macros_rename_test.rs +0 -0
  1634. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/macros_select.rs +0 -0
  1635. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/net_bind_resource.rs +0 -0
  1636. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/net_lookup_host.rs +0 -0
  1637. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/no_rt.rs +0 -0
  1638. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/process_arg0.rs +0 -0
  1639. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/process_issue_42.rs +0 -0
  1640. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/process_kill_on_drop.rs +0 -0
  1641. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/process_raw_handle.rs +0 -0
  1642. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/process_smoke.rs +0 -0
  1643. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/rt_common.rs +0 -0
  1644. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/rt_handle_block_on.rs +0 -0
  1645. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/rt_metrics.rs +0 -0
  1646. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/rt_threaded.rs +0 -0
  1647. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/rt_threaded_alt.rs +0 -0
  1648. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_ctrl_c.rs +0 -0
  1649. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_drop_recv.rs +0 -0
  1650. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_drop_rt.rs +0 -0
  1651. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_drop_signal.rs +0 -0
  1652. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_multi_rt.rs +0 -0
  1653. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_no_rt.rs +0 -0
  1654. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_notify_both.rs +0 -0
  1655. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_twice.rs +0 -0
  1656. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/signal_usr1.rs +0 -0
  1657. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/support/io_vec.rs +0 -0
  1658. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/support/leaked_buffers.rs +0 -0
  1659. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/support/mpsc_stream.rs +0 -0
  1660. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/support/panic.rs +0 -0
  1661. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/support/signal.rs +0 -0
  1662. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_barrier.rs +0 -0
  1663. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_broadcast.rs +0 -0
  1664. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_errors.rs +0 -0
  1665. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_mpsc_weak.rs +0 -0
  1666. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_mutex.rs +0 -0
  1667. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_mutex_owned.rs +0 -0
  1668. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_notify.rs +0 -0
  1669. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_once_cell.rs +0 -0
  1670. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_oneshot.rs +0 -0
  1671. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_rwlock.rs +0 -0
  1672. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_semaphore.rs +0 -0
  1673. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/sync_semaphore_owned.rs +0 -0
  1674. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/task_abort.rs +0 -0
  1675. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/task_blocking.rs +0 -0
  1676. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/task_builder.rs +0 -0
  1677. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/task_local_set.rs +0 -0
  1678. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/task_yield_now.rs +0 -0
  1679. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_accept.rs +0 -0
  1680. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_connect.rs +0 -0
  1681. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_echo.rs +0 -0
  1682. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_into_std.rs +0 -0
  1683. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_peek.rs +0 -0
  1684. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_shutdown.rs +0 -0
  1685. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_socket.rs +0 -0
  1686. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_split.rs +0 -0
  1687. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/tcp_stream.rs +0 -0
  1688. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/test_clock.rs +0 -0
  1689. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/time_interval.rs +0 -0
  1690. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/time_rt.rs +0 -0
  1691. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/time_sleep.rs +0 -0
  1692. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/time_timeout.rs +0 -0
  1693. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/udp.rs +0 -0
  1694. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/uds_cred.rs +0 -0
  1695. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/uds_datagram.rs +0 -0
  1696. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/uds_split.rs +0 -0
  1697. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/uds_stream.rs +0 -0
  1698. /data/ext/cargo-vendor/{tokio-1.35.1 → tokio-1.36.0}/tests/unwindsafe.rs +0 -0
  1699. /data/ext/cargo-vendor/{wasi-cap-std-sync-17.0.0 → wasi-common-18.0.3}/LICENSE +0 -0
  1700. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/README.md +0 -0
  1701. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/README.md +0 -0
  1702. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/docs/README.md +0 -0
  1703. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/README.md +0 -0
  1704. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/docs.md +0 -0
  1705. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
  1706. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
  1707. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
  1708. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
  1709. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
  1710. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
  1711. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
  1712. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
  1713. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
  1714. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
  1715. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
  1716. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/old/snapshot_0/docs.md +0 -0
  1717. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
  1718. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
  1719. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/snapshot/docs.html +0 -0
  1720. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/snapshot/docs.md +0 -0
  1721. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/snapshot/witx/typenames.witx +0 -0
  1722. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
  1723. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/proposal-template/README.md +0 -0
  1724. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/proposals/README.md +0 -0
  1725. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/snapshots/README.md +0 -0
  1726. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/WASI/standard/README.md +0 -0
  1727. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/build.rs +0 -0
  1728. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/clocks.rs +0 -0
  1729. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/ctx.rs +0 -0
  1730. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/dir.rs +0 -0
  1731. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/error.rs +0 -0
  1732. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/file.rs +0 -0
  1733. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/pipe.rs +0 -0
  1734. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/random.rs +0 -0
  1735. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/sched/subscription.rs +0 -0
  1736. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/sched.rs +0 -0
  1737. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/snapshots/mod.rs +0 -0
  1738. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/snapshots/preview_0.rs +0 -0
  1739. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/snapshots/preview_1/error.rs +0 -0
  1740. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/snapshots/preview_1.rs +0 -0
  1741. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/string_array.rs +0 -0
  1742. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasi-common-18.0.3}/src/table.rs +0 -0
  1743. /data/ext/cargo-vendor/{wasi-common-17.0.0 → wasm-encoder-0.201.0}/LICENSE +0 -0
  1744. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/README.md +0 -0
  1745. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/aliases.rs +0 -0
  1746. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/builder.rs +0 -0
  1747. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/canonicals.rs +0 -0
  1748. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/components.rs +0 -0
  1749. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/exports.rs +0 -0
  1750. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/imports.rs +0 -0
  1751. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/instances.rs +0 -0
  1752. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/modules.rs +0 -0
  1753. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component/start.rs +0 -0
  1754. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/component.rs +0 -0
  1755. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/custom.rs +0 -0
  1756. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/data.rs +0 -0
  1757. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/dump.rs +0 -0
  1758. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/elements.rs +0 -0
  1759. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/exports.rs +0 -0
  1760. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/functions.rs +0 -0
  1761. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/globals.rs +0 -0
  1762. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/imports.rs +0 -0
  1763. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/linking.rs +0 -0
  1764. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/memories.rs +0 -0
  1765. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/producers.rs +0 -0
  1766. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/start.rs +0 -0
  1767. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/tables.rs +0 -0
  1768. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core/tags.rs +0 -0
  1769. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/core.rs +0 -0
  1770. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/lib.rs +0 -0
  1771. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.201.0}/src/raw.rs +0 -0
  1772. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.41.2}/LICENSE +0 -0
  1773. /data/ext/cargo-vendor/{wasm-encoder-0.38.1 → wasm-encoder-0.41.2}/src/component/names.rs +0 -0
  1774. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/LICENSE +0 -0
  1775. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/examples/simple.rs +0 -0
  1776. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/parser.rs +0 -0
  1777. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/aliases.rs +0 -0
  1778. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/canonicals.rs +0 -0
  1779. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/exports.rs +0 -0
  1780. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/imports.rs +0 -0
  1781. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/instances.rs +0 -0
  1782. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/names.rs +0 -0
  1783. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/start.rs +0 -0
  1784. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component/types.rs +0 -0
  1785. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/component.rs +0 -0
  1786. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/code.rs +0 -0
  1787. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/coredumps.rs +0 -0
  1788. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/custom.rs +0 -0
  1789. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/data.rs +0 -0
  1790. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/elements.rs +0 -0
  1791. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/exports.rs +0 -0
  1792. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/functions.rs +0 -0
  1793. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/globals.rs +0 -0
  1794. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/imports.rs +0 -0
  1795. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/init.rs +0 -0
  1796. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/memories.rs +0 -0
  1797. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/producers.rs +0 -0
  1798. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/tables.rs +0 -0
  1799. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/tags.rs +0 -0
  1800. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers/core/types/matches.rs +0 -0
  1801. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/src/readers.rs +0 -0
  1802. /data/ext/cargo-vendor/{wasmparser-0.118.1 → wasmparser-0.121.2}/tests/big-module.rs +0 -0
  1803. /data/ext/cargo-vendor/{wasmprinter-0.2.75 → wasmprinter-0.2.80}/LICENSE +0 -0
  1804. /data/ext/cargo-vendor/{wasmprinter-0.2.75 → wasmprinter-0.2.80}/README.md +0 -0
  1805. /data/ext/cargo-vendor/{wasmtime-17.0.0 → wasmtime-18.0.3}/LICENSE +0 -0
  1806. /data/ext/cargo-vendor/{wasmtime-17.0.0 → wasmtime-18.0.3}/README.md +0 -0
  1807. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/component/func/options.rs +0 -0
  1808. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/component/func/typed.rs +0 -0
  1809. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/component/matching.rs +0 -0
  1810. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/component/mod.rs +0 -0
  1811. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/component/resources.rs +0 -0
  1812. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/component/storage.rs +0 -0
  1813. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/component/store.rs +0 -0
  1814. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/coredump.rs +0 -0
  1815. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/externals/global.rs +0 -0
  1816. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/externals/table.rs +0 -0
  1817. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/externals.rs +0 -0
  1818. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/limits.rs +0 -0
  1819. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/ref.rs +0 -0
  1820. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/resources.rs +0 -0
  1821. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/signatures.rs +0 -0
  1822. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/stack.rs +0 -0
  1823. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/store/context.rs +0 -0
  1824. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/store/data.rs +0 -0
  1825. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/store/func_refs.rs +0 -0
  1826. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/trampoline/global.rs +0 -0
  1827. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/unix.rs +0 -0
  1828. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/v128.rs +0 -0
  1829. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/values.rs +0 -0
  1830. /data/ext/cargo-vendor/{wasmtime-17.0.0/src → wasmtime-18.0.3/src/runtime}/windows.rs +0 -0
  1831. /data/ext/cargo-vendor/{wasmtime-asm-macros-17.0.0 → wasmtime-asm-macros-18.0.3}/src/lib.rs +0 -0
  1832. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/LICENSE +0 -0
  1833. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/build.rs +0 -0
  1834. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/src/config/tests.rs +0 -0
  1835. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/src/config.rs +0 -0
  1836. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/src/lib.rs +0 -0
  1837. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/src/tests.rs +0 -0
  1838. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/src/worker/tests/system_time_stub.rs +0 -0
  1839. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/src/worker/tests.rs +0 -0
  1840. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/src/worker.rs +0 -0
  1841. /data/ext/cargo-vendor/{wasmtime-cache-17.0.0 → wasmtime-cache-18.0.3}/tests/cache_write_default_config.rs +0 -0
  1842. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/src/component.rs +0 -0
  1843. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/src/lib.rs +0 -0
  1844. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/char.wit +0 -0
  1845. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/conventions.wit +0 -0
  1846. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/direct-import.wit +0 -0
  1847. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/empty.wit +0 -0
  1848. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/flags.wit +0 -0
  1849. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/floats.wit +0 -0
  1850. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/function-new.wit +0 -0
  1851. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/integers.wit +0 -0
  1852. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/lists.wit +0 -0
  1853. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/many-arguments.wit +0 -0
  1854. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/multi-return.wit +0 -0
  1855. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
  1856. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
  1857. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/multiversion/root.wit +0 -0
  1858. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/records.wit +0 -0
  1859. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/rename.wit +0 -0
  1860. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/resources-export.wit +0 -0
  1861. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/resources-import.wit +0 -0
  1862. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/share-types.wit +0 -0
  1863. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/simple-functions.wit +0 -0
  1864. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/simple-lists.wit +0 -0
  1865. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/simple-wasi.wit +0 -0
  1866. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/small-anonymous.wit +0 -0
  1867. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/smoke-default.wit +0 -0
  1868. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/smoke-export.wit +0 -0
  1869. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/smoke.wit +0 -0
  1870. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/strings.wit +0 -0
  1871. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/use-paths.wit +0 -0
  1872. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/variants.wit +0 -0
  1873. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen/worlds-with-types.wit +0 -0
  1874. /data/ext/cargo-vendor/{wasmtime-component-macro-17.0.0 → wasmtime-component-macro-18.0.3}/tests/codegen.rs +0 -0
  1875. /data/ext/cargo-vendor/{wasmtime-component-util-17.0.0 → wasmtime-component-util-18.0.3}/src/lib.rs +0 -0
  1876. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/LICENSE +0 -0
  1877. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/SECURITY.md +0 -0
  1878. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/gc.rs +0 -0
  1879. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/address_transform.rs +0 -0
  1880. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/attr.rs +0 -0
  1881. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/expression.rs +0 -0
  1882. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/line_program.rs +0 -0
  1883. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/mod.rs +0 -0
  1884. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/range_info_builder.rs +0 -0
  1885. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/refs.rs +0 -0
  1886. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/unit.rs +0 -0
  1887. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/transform/utils.rs +0 -0
  1888. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug/write_debuginfo.rs +0 -0
  1889. /data/ext/cargo-vendor/{wasmtime-cranelift-17.0.0 → wasmtime-cranelift-18.0.3}/src/debug.rs +0 -0
  1890. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-17.0.0 → wasmtime-cranelift-shared-18.0.3}/src/compiled_function.rs +0 -0
  1891. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-17.0.0 → wasmtime-cranelift-shared-18.0.3}/src/lib.rs +0 -0
  1892. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-17.0.0 → wasmtime-cranelift-shared-18.0.3}/src/obj.rs +0 -0
  1893. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/LICENSE +0 -0
  1894. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/examples/factc.rs +0 -0
  1895. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/address_map.rs +0 -0
  1896. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/builtin.rs +0 -0
  1897. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/compilation.rs +0 -0
  1898. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/component/compiler.rs +0 -0
  1899. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/component/translate/adapt.rs +0 -0
  1900. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/component/types/resources.rs +0 -0
  1901. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/component/vmcomponent_offsets.rs +0 -0
  1902. /data/ext/cargo-vendor/{wasmtime-jit-17.0.0 → wasmtime-environ-18.0.3}/src/demangling.rs +0 -0
  1903. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/fact/core_types.rs +0 -0
  1904. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/fact/signature.rs +0 -0
  1905. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/fact/trampoline.rs +0 -0
  1906. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/fact/transcode.rs +0 -0
  1907. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/fact/traps.rs +0 -0
  1908. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/fact.rs +0 -0
  1909. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/obj.rs +0 -0
  1910. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/ref_bits.rs +0 -0
  1911. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/scopevec.rs +0 -0
  1912. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/stack_map.rs +0 -0
  1913. /data/ext/cargo-vendor/{wasmtime-environ-17.0.0 → wasmtime-environ-18.0.3}/src/trap_encoding.rs +0 -0
  1914. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/LICENSE +0 -0
  1915. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/build.rs +0 -0
  1916. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/lib.rs +0 -0
  1917. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/unix/aarch64.rs +0 -0
  1918. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/unix/arm.rs +0 -0
  1919. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/unix/riscv64.rs +0 -0
  1920. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/unix/s390x.S +0 -0
  1921. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/unix/x86.rs +0 -0
  1922. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/unix/x86_64.rs +0 -0
  1923. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/unix.rs +0 -0
  1924. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/windows.c +0 -0
  1925. /data/ext/cargo-vendor/{wasmtime-fiber-17.0.0 → wasmtime-fiber-18.0.3}/src/windows.rs +0 -0
  1926. /data/ext/cargo-vendor/{wasmtime-jit-debug-17.0.0 → wasmtime-jit-debug-18.0.3}/README.md +0 -0
  1927. /data/ext/cargo-vendor/{wasmtime-jit-debug-17.0.0 → wasmtime-jit-debug-18.0.3}/src/gdb_jit_int.rs +0 -0
  1928. /data/ext/cargo-vendor/{wasmtime-jit-debug-17.0.0 → wasmtime-jit-debug-18.0.3}/src/lib.rs +0 -0
  1929. /data/ext/cargo-vendor/{wasmtime-jit-debug-17.0.0 → wasmtime-jit-debug-18.0.3}/src/perf_jitdump.rs +0 -0
  1930. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-17.0.0 → wasmtime-jit-icache-coherence-18.0.3}/src/lib.rs +0 -0
  1931. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-17.0.0 → wasmtime-jit-icache-coherence-18.0.3}/src/libc.rs +0 -0
  1932. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-17.0.0 → wasmtime-jit-icache-coherence-18.0.3}/src/miri.rs +0 -0
  1933. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-17.0.0 → wasmtime-jit-icache-coherence-18.0.3}/src/win.rs +0 -0
  1934. /data/ext/cargo-vendor/{wasmtime-jit-17.0.0 → wasmtime-runtime-18.0.3}/LICENSE +0 -0
  1935. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/build.rs +0 -0
  1936. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
  1937. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/arch/aarch64.rs +0 -0
  1938. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/arch/mod.rs +0 -0
  1939. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/arch/riscv64.rs +0 -0
  1940. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/arch/s390x.S +0 -0
  1941. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/arch/s390x.rs +0 -0
  1942. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/arch/x86_64.rs +0 -0
  1943. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/component/libcalls.rs +0 -0
  1944. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/component/resources.rs +0 -0
  1945. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/cow.rs +0 -0
  1946. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/debug_builtins.rs +0 -0
  1947. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/export.rs +0 -0
  1948. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/externref.rs +0 -0
  1949. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/helpers.c +0 -0
  1950. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/imports.rs +0 -0
  1951. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/instance/allocator/on_demand.rs +0 -0
  1952. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/instance/allocator/pooling/index_allocator.rs +0 -0
  1953. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/instance/allocator/pooling/stack_pool.rs +0 -0
  1954. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/instance/allocator/pooling/table_pool.rs +0 -0
  1955. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/libcalls.rs +0 -0
  1956. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/memory.rs +0 -0
  1957. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/mmap.rs +0 -0
  1958. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/mmap_vec.rs +0 -0
  1959. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/module_id.rs +0 -0
  1960. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/mpk/disabled.rs +0 -0
  1961. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/mpk/mod.rs +0 -0
  1962. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/mpk/sys.rs +0 -0
  1963. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/parking_spot.rs +0 -0
  1964. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/send_sync_ptr.rs +0 -0
  1965. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/store_box.rs +0 -0
  1966. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/miri/mmap.rs +0 -0
  1967. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/miri/mod.rs +0 -0
  1968. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/miri/traphandlers.rs +0 -0
  1969. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/miri/unwind.rs +0 -0
  1970. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/miri/vm.rs +0 -0
  1971. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/mod.rs +0 -0
  1972. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/unix/machports.rs +0 -0
  1973. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/unix/macos_traphandlers.rs +0 -0
  1974. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/unix/mmap.rs +0 -0
  1975. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/unix/mod.rs +0 -0
  1976. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/unix/unwind.rs +0 -0
  1977. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/unix/vm.rs +0 -0
  1978. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/windows/mmap.rs +0 -0
  1979. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/windows/mod.rs +0 -0
  1980. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/windows/traphandlers.rs +0 -0
  1981. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/windows/unwind.rs +0 -0
  1982. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/sys/windows/vm.rs +0 -0
  1983. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/table.rs +0 -0
  1984. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/traphandlers/backtrace.rs +0 -0
  1985. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/traphandlers/coredump.rs +0 -0
  1986. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/traphandlers.rs +0 -0
  1987. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-runtime-18.0.3}/src/vmcontext/vm_host_func_context.rs +0 -0
  1988. /data/ext/cargo-vendor/{wasmtime-runtime-17.0.0 → wasmtime-types-18.0.3}/LICENSE +0 -0
  1989. /data/ext/cargo-vendor/{wasmtime-types-17.0.0 → wasmtime-types-18.0.3}/src/error.rs +0 -0
  1990. /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-17.0.0 → wasmtime-versioned-export-macros-18.0.3}/src/lib.rs +0 -0
  1991. /data/ext/cargo-vendor/{wasmtime-types-17.0.0 → wasmtime-wasi-18.0.3}/LICENSE +0 -0
  1992. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/README.md +0 -0
  1993. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/command.rs +0 -0
  1994. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/host/env.rs +0 -0
  1995. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/host/exit.rs +0 -0
  1996. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/host/filesystem/sync.rs +0 -0
  1997. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/host/mod.rs +0 -0
  1998. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/mod.rs +0 -0
  1999. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/network.rs +0 -0
  2000. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/stdio/worker_thread_stdin.rs +0 -0
  2001. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/stream.rs +0 -0
  2002. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/tcp.rs +0 -0
  2003. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/src/preview2/udp.rs +0 -0
  2004. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/tests/all/async_.rs +0 -0
  2005. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/tests/all/preview1.rs +0 -0
  2006. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/tests/all/sync.rs +0 -0
  2007. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/tests/process_stdin.rs +0 -0
  2008. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/command-extended.wit +0 -0
  2009. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/cli/command.wit +0 -0
  2010. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/cli/environment.wit +0 -0
  2011. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/cli/exit.wit +0 -0
  2012. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/cli/imports.wit +0 -0
  2013. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/cli/run.wit +0 -0
  2014. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/cli/stdio.wit +0 -0
  2015. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/cli/terminal.wit +0 -0
  2016. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/clocks/monotonic-clock.wit +0 -0
  2017. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/clocks/wall-clock.wit +0 -0
  2018. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/clocks/world.wit +0 -0
  2019. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/filesystem/preopens.wit +0 -0
  2020. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/filesystem/types.wit +0 -0
  2021. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/filesystem/world.wit +0 -0
  2022. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/http/handler.wit +0 -0
  2023. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/http/proxy.wit +0 -0
  2024. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/http/types.wit +0 -0
  2025. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/io/error.wit +0 -0
  2026. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/io/world.wit +0 -0
  2027. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/random/insecure-seed.wit +0 -0
  2028. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/random/insecure.wit +0 -0
  2029. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/random/random.wit +0 -0
  2030. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/random/world.wit +0 -0
  2031. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/sockets/instance-network.wit +0 -0
  2032. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/sockets/ip-name-lookup.wit +0 -0
  2033. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/sockets/network.wit +0 -0
  2034. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/sockets/tcp-create-socket.wit +0 -0
  2035. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/sockets/udp-create-socket.wit +0 -0
  2036. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/deps/sockets/world.wit +0 -0
  2037. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/wit/test.wit +0 -0
  2038. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/witx/preview0/typenames.witx +0 -0
  2039. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/witx/preview0/wasi_unstable.witx +0 -0
  2040. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/witx/preview1/typenames.witx +0 -0
  2041. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wasmtime-wasi-18.0.3}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
  2042. /data/ext/cargo-vendor/{wasmtime-winch-17.0.0 → wasmtime-winch-18.0.3}/LICENSE +0 -0
  2043. /data/ext/cargo-vendor/{wasmtime-winch-17.0.0 → wasmtime-winch-18.0.3}/src/lib.rs +0 -0
  2044. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-17.0.0 → wasmtime-wit-bindgen-18.0.3}/src/rust.rs +0 -0
  2045. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-17.0.0 → wasmtime-wit-bindgen-18.0.3}/src/source.rs +0 -0
  2046. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-17.0.0 → wasmtime-wit-bindgen-18.0.3}/src/types.rs +0 -0
  2047. /data/ext/cargo-vendor/{wasmtime-wmemcheck-17.0.0 → wasmtime-wmemcheck-18.0.3}/src/lib.rs +0 -0
  2048. /data/ext/cargo-vendor/{wasmtime-wasi-17.0.0 → wast-201.0.0}/LICENSE +0 -0
  2049. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/README.md +0 -0
  2050. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/alias.rs +0 -0
  2051. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/binary.rs +0 -0
  2052. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/custom.rs +0 -0
  2053. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/expand.rs +0 -0
  2054. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/export.rs +0 -0
  2055. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/func.rs +0 -0
  2056. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/import.rs +0 -0
  2057. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/instance.rs +0 -0
  2058. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/item_ref.rs +0 -0
  2059. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/module.rs +0 -0
  2060. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/resolve.rs +0 -0
  2061. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/types.rs +0 -0
  2062. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component/wast.rs +0 -0
  2063. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/component.rs +0 -0
  2064. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/export.rs +0 -0
  2065. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/func.rs +0 -0
  2066. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/global.rs +0 -0
  2067. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/import.rs +0 -0
  2068. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/resolve/mod.rs +0 -0
  2069. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/resolve/types.rs +0 -0
  2070. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/tag.rs +0 -0
  2071. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core/wast.rs +0 -0
  2072. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/core.rs +0 -0
  2073. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/encode.rs +0 -0
  2074. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/error.rs +0 -0
  2075. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/gensym.rs +0 -0
  2076. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/src/wast.rs +0 -0
  2077. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/annotations.rs +0 -0
  2078. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/comments.rs +0 -0
  2079. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-core-func-alias.wat +0 -0
  2080. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
  2081. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-func-alias.wat +0 -0
  2082. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-func-alias.wat.err +0 -0
  2083. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-index.wat +0 -0
  2084. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-index.wat.err +0 -0
  2085. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-name.wat +0 -0
  2086. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-name.wat.err +0 -0
  2087. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-name2.wat +0 -0
  2088. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-name2.wat.err +0 -0
  2089. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-name3.wat +0 -0
  2090. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/bad-name3.wat.err +0 -0
  2091. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/block1.wat +0 -0
  2092. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/block1.wat.err +0 -0
  2093. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/block2.wat +0 -0
  2094. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/block2.wat.err +0 -0
  2095. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/block3.wat +0 -0
  2096. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/block3.wat.err +0 -0
  2097. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment0.wat +0 -0
  2098. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
  2099. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment1.wat +0 -0
  2100. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
  2101. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment2.wat +0 -0
  2102. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
  2103. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment3.wat +0 -0
  2104. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
  2105. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment4.wat +0 -0
  2106. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
  2107. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment5.wat +0 -0
  2108. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
  2109. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment6.wat +0 -0
  2110. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
  2111. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment7.wat +0 -0
  2112. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
  2113. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment8.wat +0 -0
  2114. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
  2115. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment0.wat +0 -0
  2116. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
  2117. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment1.wat +0 -0
  2118. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
  2119. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment2.wat +0 -0
  2120. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
  2121. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment3.wat +0 -0
  2122. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
  2123. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment4.wat +0 -0
  2124. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
  2125. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment5.wat +0 -0
  2126. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
  2127. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment6.wat +0 -0
  2128. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
  2129. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment7.wat +0 -0
  2130. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
  2131. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment8.wat +0 -0
  2132. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
  2133. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string0.wat +0 -0
  2134. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string0.wat.err +0 -0
  2135. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string1.wat +0 -0
  2136. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string1.wat.err +0 -0
  2137. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string2.wat +0 -0
  2138. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string2.wat.err +0 -0
  2139. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string3.wat +0 -0
  2140. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string3.wat.err +0 -0
  2141. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string4.wat +0 -0
  2142. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string4.wat.err +0 -0
  2143. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string5.wat +0 -0
  2144. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string5.wat.err +0 -0
  2145. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string6.wat +0 -0
  2146. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string6.wat.err +0 -0
  2147. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string7.wat +0 -0
  2148. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string7.wat.err +0 -0
  2149. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string8.wat +0 -0
  2150. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/confusing-string8.wat.err +0 -0
  2151. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/inline1.wat +0 -0
  2152. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/inline1.wat.err +0 -0
  2153. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/newline-in-string.wat +0 -0
  2154. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/newline-in-string.wat.err +0 -0
  2155. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string1.wat +0 -0
  2156. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string1.wat.err +0 -0
  2157. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string10.wat +0 -0
  2158. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string10.wat.err +0 -0
  2159. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string11.wat +0 -0
  2160. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string11.wat.err +0 -0
  2161. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string12.wat +0 -0
  2162. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string12.wat.err +0 -0
  2163. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string13.wat +0 -0
  2164. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string13.wat.err +0 -0
  2165. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string14.wat +0 -0
  2166. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string14.wat.err +0 -0
  2167. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string15.wat +0 -0
  2168. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string15.wat.err +0 -0
  2169. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string16.wat +0 -0
  2170. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string16.wat.err +0 -0
  2171. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string2.wat +0 -0
  2172. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string2.wat.err +0 -0
  2173. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string3.wat +0 -0
  2174. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string3.wat.err +0 -0
  2175. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string4.wat +0 -0
  2176. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string4.wat.err +0 -0
  2177. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string5.wat +0 -0
  2178. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string5.wat.err +0 -0
  2179. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string6.wat +0 -0
  2180. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string6.wat.err +0 -0
  2181. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string7.wat +0 -0
  2182. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string7.wat.err +0 -0
  2183. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string8.wat +0 -0
  2184. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string8.wat.err +0 -0
  2185. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string9.wat +0 -0
  2186. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/string9.wat.err +0 -0
  2187. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/unbalanced.wat +0 -0
  2188. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail/unbalanced.wat.err +0 -0
  2189. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/parse-fail.rs +0 -0
  2190. /data/ext/cargo-vendor/{wast-69.0.1 → wast-201.0.0}/tests/recursive.rs +0 -0
  2191. /data/ext/cargo-vendor/{wast-69.0.1 → wat-1.201.0}/LICENSE +0 -0
  2192. /data/ext/cargo-vendor/{wat-1.0.82 → wat-1.201.0}/README.md +0 -0
  2193. /data/ext/cargo-vendor/{wat-1.0.82 → wiggle-18.0.3}/LICENSE +0 -0
  2194. /data/ext/cargo-vendor/{wiggle-17.0.0 → wiggle-18.0.3}/README.md +0 -0
  2195. /data/ext/cargo-vendor/{wiggle-17.0.0 → wiggle-18.0.3}/src/borrow.rs +0 -0
  2196. /data/ext/cargo-vendor/{wiggle-17.0.0 → wiggle-18.0.3}/src/error.rs +0 -0
  2197. /data/ext/cargo-vendor/{wiggle-17.0.0 → wiggle-18.0.3}/src/guest_type.rs +0 -0
  2198. /data/ext/cargo-vendor/{wiggle-17.0.0 → wiggle-18.0.3}/src/region.rs +0 -0
  2199. /data/ext/cargo-vendor/{wiggle-17.0.0 → wiggle-18.0.3}/src/wasmtime.rs +0 -0
  2200. /data/ext/cargo-vendor/{wiggle-17.0.0 → wiggle-generate-18.0.3}/LICENSE +0 -0
  2201. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/README.md +0 -0
  2202. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/codegen_settings.rs +0 -0
  2203. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/config.rs +0 -0
  2204. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/funcs.rs +0 -0
  2205. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/lib.rs +0 -0
  2206. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/lifetimes.rs +0 -0
  2207. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/module_trait.rs +0 -0
  2208. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/names.rs +0 -0
  2209. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/types/error.rs +0 -0
  2210. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/types/flags.rs +0 -0
  2211. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/types/handle.rs +0 -0
  2212. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/types/mod.rs +0 -0
  2213. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/types/record.rs +0 -0
  2214. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/types/variant.rs +0 -0
  2215. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-generate-18.0.3}/src/wasmtime.rs +0 -0
  2216. /data/ext/cargo-vendor/{wiggle-generate-17.0.0 → wiggle-macro-18.0.3}/LICENSE +0 -0
  2217. /data/ext/cargo-vendor/{wiggle-macro-17.0.0 → wiggle-macro-18.0.3}/src/lib.rs +0 -0
  2218. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/LICENSE +0 -0
  2219. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/build.rs +0 -0
  2220. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/isa/aarch64/address.rs +0 -0
  2221. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/isa/aarch64/asm.rs +0 -0
  2222. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/isa/aarch64/regs.rs +0 -0
  2223. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/isa/x64/address.rs +0 -0
  2224. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/isa/x64/regs.rs +0 -0
  2225. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/lib.rs +0 -0
  2226. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/regalloc.rs +0 -0
  2227. /data/ext/cargo-vendor/{winch-codegen-0.15.0 → winch-codegen-0.16.3}/src/regset.rs +0 -0
  2228. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/README.md +0 -0
  2229. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/src/abi.rs +0 -0
  2230. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/src/ast/toposort.rs +0 -0
  2231. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/src/lib.rs +0 -0
  2232. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/src/live.rs +0 -0
  2233. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/src/serde_.rs +0 -0
  2234. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/src/sizealign.rs +0 -0
  2235. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/all.rs +0 -0
  2236. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/comments.wit +0 -0
  2237. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/complex-include/deps/bar/root.wit +0 -0
  2238. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/complex-include/deps/baz/root.wit +0 -0
  2239. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/complex-include/root.wit +0 -0
  2240. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/complex-include.wit.json +0 -0
  2241. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
  2242. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/cross-package-resource/foo.wit +0 -0
  2243. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/cross-package-resource.wit.json +0 -0
  2244. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
  2245. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
  2246. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/diamond1/join.wit +0 -0
  2247. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/diamond1.wit.json +0 -0
  2248. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
  2249. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
  2250. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/disambiguate-diamond/world.wit +0 -0
  2251. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/disambiguate-diamond.wit.json +0 -0
  2252. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/empty.wit +0 -0
  2253. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/empty.wit.json +0 -0
  2254. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
  2255. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
  2256. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
  2257. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
  2258. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
  2259. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
  2260. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
  2261. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps/root.wit +0 -0
  2262. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
  2263. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
  2264. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
  2265. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
  2266. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
  2267. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
  2268. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
  2269. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
  2270. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union/root.wit +0 -0
  2271. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps-union.wit.json +0 -0
  2272. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/foreign-deps.wit.json +0 -0
  2273. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/functions.wit +0 -0
  2274. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/functions.wit.json +0 -0
  2275. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
  2276. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
  2277. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/ignore-files-deps/world.wit +0 -0
  2278. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/ignore-files-deps.wit.json +0 -0
  2279. /data/ext/cargo-vendor/{wit-parser-0.13.0/tests/ui/parse-fail → wit-parser-0.13.2/tests/ui}/import-export-overlap1.wit +0 -0
  2280. /data/ext/cargo-vendor/{wit-parser-0.13.0/tests/ui/parse-fail → wit-parser-0.13.2/tests/ui}/import-export-overlap2.wit +0 -0
  2281. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/include-reps.wit +0 -0
  2282. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/include-reps.wit.json +0 -0
  2283. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/kebab-name-include-with.wit +0 -0
  2284. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/kebab-name-include-with.wit.json +0 -0
  2285. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/many-names/a.wit +0 -0
  2286. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/many-names/b.wit +0 -0
  2287. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/many-names.wit.json +0 -0
  2288. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/multi-file/bar.wit +0 -0
  2289. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/multi-file/cycle-a.wit +0 -0
  2290. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/multi-file/cycle-b.wit +0 -0
  2291. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/multi-file/foo.wit +0 -0
  2292. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/multi-file.wit.json +0 -0
  2293. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
  2294. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
  2295. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/name-both-resource-and-type.wit.json +0 -0
  2296. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/package-syntax1.wit +0 -0
  2297. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/package-syntax1.wit.json +0 -0
  2298. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/package-syntax3.wit +0 -0
  2299. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/package-syntax3.wit.json +0 -0
  2300. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/package-syntax4.wit +0 -0
  2301. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/package-syntax4.wit.json +0 -0
  2302. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  2303. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
  2304. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/async.wit.result +0 -0
  2305. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/async1.wit.result +0 -0
  2306. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-function.wit +0 -0
  2307. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-function.wit.result +0 -0
  2308. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-function2.wit +0 -0
  2309. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
  2310. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-include1.wit +0 -0
  2311. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
  2312. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-include2.wit +0 -0
  2313. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
  2314. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-include3.wit +0 -0
  2315. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
  2316. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-list.wit +0 -0
  2317. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  2318. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
  2319. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
  2320. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
  2321. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
  2322. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
  2323. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  2324. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
  2325. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
  2326. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
  2327. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
  2328. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
  2329. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
  2330. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
  2331. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
  2332. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  2333. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
  2334. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
  2335. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource1.wit +0 -0
  2336. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
  2337. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource10.wit +0 -0
  2338. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
  2339. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource11.wit +0 -0
  2340. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
  2341. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource12.wit +0 -0
  2342. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
  2343. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource13.wit +0 -0
  2344. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
  2345. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource14.wit +0 -0
  2346. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
  2347. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
  2348. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
  2349. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
  2350. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource2.wit +0 -0
  2351. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
  2352. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource3.wit +0 -0
  2353. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
  2354. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource4.wit +0 -0
  2355. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
  2356. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource5.wit +0 -0
  2357. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
  2358. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource6.wit +0 -0
  2359. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
  2360. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource7.wit +0 -0
  2361. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
  2362. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource8.wit +0 -0
  2363. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
  2364. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource9.wit +0 -0
  2365. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
  2366. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
  2367. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
  2368. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
  2369. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
  2370. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
  2371. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle.wit +0 -0
  2372. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle.wit.result +0 -0
  2373. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle2.wit +0 -0
  2374. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle2.wit.result +0 -0
  2375. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle3.wit +0 -0
  2376. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle3.wit.result +0 -0
  2377. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle4.wit +0 -0
  2378. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle4.wit.result +0 -0
  2379. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle5.wit +0 -0
  2380. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/cycle5.wit.result +0 -0
  2381. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/dangling-type.wit +0 -0
  2382. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  2383. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
  2384. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
  2385. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
  2386. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
  2387. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
  2388. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
  2389. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
  2390. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
  2391. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
  2392. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-type.wit +0 -0
  2393. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
  2394. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/empty-enum.wit +0 -0
  2395. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
  2396. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/empty-variant1.wit +0 -0
  2397. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
  2398. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/export-twice.wit +0 -0
  2399. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/export-twice.wit.result +0 -0
  2400. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export1.wit +0 -0
  2401. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
  2402. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export2.wit +0 -0
  2403. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
  2404. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export3.wit +0 -0
  2405. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
  2406. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export4.wit +0 -0
  2407. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
  2408. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export5.wit +0 -0
  2409. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
  2410. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-twice.wit +0 -0
  2411. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/import-twice.wit.result +0 -0
  2412. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-cycle.wit +0 -0
  2413. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
  2414. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
  2415. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
  2416. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
  2417. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-with-id.wit +0 -0
  2418. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
  2419. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
  2420. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
  2421. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  2422. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  2423. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
  2424. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
  2425. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
  2426. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
  2427. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
  2428. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
  2429. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
  2430. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
  2431. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/keyword.wit +0 -0
  2432. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/keyword.wit.result +0 -0
  2433. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/missing-package.wit +0 -0
  2434. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/missing-package.wit.result +0 -0
  2435. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
  2436. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
  2437. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
  2438. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
  2439. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
  2440. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
  2441. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
  2442. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
  2443. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
  2444. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
  2445. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
  2446. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
  2447. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
  2448. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
  2449. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
  2450. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
  2451. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
  2452. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
  2453. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
  2454. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/undefined-typed.wit +0 -0
  2455. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
  2456. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unknown-interface.wit +0 -0
  2457. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
  2458. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
  2459. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
  2460. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
  2461. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
  2462. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
  2463. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
  2464. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
  2465. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
  2466. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
  2467. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
  2468. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
  2469. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  2470. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
  2471. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
  2472. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
  2473. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
  2474. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
  2475. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
  2476. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
  2477. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
  2478. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
  2479. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
  2480. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
  2481. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
  2482. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
  2483. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
  2484. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
  2485. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-conflict.wit +0 -0
  2486. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
  2487. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-conflict2.wit +0 -0
  2488. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
  2489. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-conflict3.wit +0 -0
  2490. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
  2491. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-cycle1.wit +0 -0
  2492. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
  2493. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-cycle4.wit +0 -0
  2494. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
  2495. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-shadow1.wit +0 -0
  2496. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
  2497. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
  2498. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-world/root.wit +0 -0
  2499. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/use-world.wit.result +0 -0
  2500. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
  2501. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
  2502. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
  2503. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
  2504. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
  2505. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
  2506. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
  2507. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
  2508. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
  2509. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
  2510. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/random.wit +0 -0
  2511. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/random.wit.json +0 -0
  2512. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-empty.wit +0 -0
  2513. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-empty.wit.json +0 -0
  2514. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
  2515. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
  2516. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-multiple-returns-own.wit +0 -0
  2517. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
  2518. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-multiple.wit +0 -0
  2519. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-multiple.wit.json +0 -0
  2520. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-return-borrow.wit +0 -0
  2521. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-return-borrow.wit.json +0 -0
  2522. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-return-own.wit +0 -0
  2523. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources-return-own.wit.json +0 -0
  2524. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources.wit +0 -0
  2525. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources.wit.json +0 -0
  2526. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources1.wit +0 -0
  2527. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/resources1.wit.json +0 -0
  2528. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/shared-types.wit +0 -0
  2529. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/shared-types.wit.json +0 -0
  2530. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/stress-export-elaborate.wit +0 -0
  2531. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/stress-export-elaborate.wit.json +0 -0
  2532. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/type-then-eof.wit +0 -0
  2533. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/type-then-eof.wit.json +0 -0
  2534. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/union-fuzz-1.wit +0 -0
  2535. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/union-fuzz-1.wit.json +0 -0
  2536. /data/ext/cargo-vendor/{wit-parser-0.13.0/tests/ui/parse-fail → wit-parser-0.13.2/tests/ui}/union-fuzz-2.wit +0 -0
  2537. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/use-chain.wit +0 -0
  2538. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/use-chain.wit.json +0 -0
  2539. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/use.wit +0 -0
  2540. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/use.wit.json +0 -0
  2541. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/versions/deps/a1/foo.wit +0 -0
  2542. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/versions/deps/a2/foo.wit +0 -0
  2543. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/versions/foo.wit +0 -0
  2544. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/versions.wit.json +0 -0
  2545. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/wasi.wit +0 -0
  2546. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-diamond.wit +0 -0
  2547. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-diamond.wit.json +0 -0
  2548. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-iface-no-collide.wit +0 -0
  2549. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-iface-no-collide.wit.json +0 -0
  2550. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-implicit-import1.wit +0 -0
  2551. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-implicit-import1.wit.json +0 -0
  2552. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-implicit-import2.wit +0 -0
  2553. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-implicit-import2.wit.json +0 -0
  2554. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-implicit-import3.wit +0 -0
  2555. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-implicit-import3.wit.json +0 -0
  2556. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-same-fields4.wit +0 -0
  2557. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-same-fields4.wit.json +0 -0
  2558. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-top-level-funcs.wit +0 -0
  2559. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-top-level-funcs.wit.json +0 -0
  2560. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-top-level-resources.wit +0 -0
  2561. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/world-top-level-resources.wit.json +0 -0
  2562. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/worlds-union-dedup.wit +0 -0
  2563. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/worlds-union-dedup.wit.json +0 -0
  2564. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/worlds-with-types.wit +0 -0
  2565. /data/ext/cargo-vendor/{wit-parser-0.13.0 → wit-parser-0.13.2}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -0,0 +1,4742 @@
1
+ ;; x86-64 instruction selection and CLIF-to-MachInst lowering.
2
+
3
+ ;; The main lowering constructor term: takes a clif `Inst` and returns the
4
+ ;; register(s) within which the lowered instruction's result values live.
5
+ (decl partial lower (Inst) InstOutput)
6
+
7
+ ;; A variant of the main lowering constructor term, used for branches.
8
+ ;; The only difference is that it gets an extra argument holding a vector
9
+ ;; of branch targets to be used.
10
+ (decl partial lower_branch (Inst MachLabelSlice) Unit)
11
+
12
+ ;;;; Rules for `iconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13
+
14
+ ;; `i64` and smaller.
15
+ (rule (lower (has_type (fits_in_64 ty)
16
+ (iconst (u64_from_imm64 x))))
17
+ (imm ty x))
18
+
19
+ ;; `i128`
20
+ (rule 1 (lower (has_type $I128
21
+ (iconst (u64_from_imm64 x))))
22
+ (value_regs (imm $I64 x)
23
+ (imm $I64 0)))
24
+
25
+ ;;;; Rules for `f32const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
26
+
27
+ (rule (lower (f32const (u32_from_ieee32 x)))
28
+ (imm $F32 x))
29
+
30
+ ;;;; Rules for `f64const` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
31
+
32
+ (rule (lower (f64const (u64_from_ieee64 x)))
33
+ (imm $F64 x))
34
+
35
+ ;;;; Rules for `null` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
36
+
37
+ (rule (lower (has_type ty (null)))
38
+ (imm ty 0))
39
+
40
+ ;;;; Rules for `iadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
41
+
42
+ ;; `i64` and smaller.
43
+
44
+ ;; Base case for 8 and 16-bit types
45
+ (rule -6 (lower (has_type (fits_in_16 ty)
46
+ (iadd x y)))
47
+ (x64_add ty x y))
48
+
49
+ ;; Base case for 32 and 64-bit types which might end up using the `lea`
50
+ ;; instruction to fold multiple operations into one.
51
+ ;;
52
+ ;; Note that at this time this always generates a `lea` pseudo-instruction,
53
+ ;; but the actual instruction emitted might be an `add` if it's equivalent.
54
+ ;; For more details on this see the `emit.rs` logic to emit
55
+ ;; `LoadEffectiveAddress`.
56
+ (rule -5 (lower (has_type (ty_32_or_64 ty) (iadd x y)))
57
+ (x64_lea ty (to_amode_add (mem_flags_trusted) x y (zero_offset))))
58
+
59
+ ;; Higher-priority cases than the previous two where a load can be sunk into
60
+ ;; the add instruction itself. Note that both operands are tested for
61
+ ;; sink-ability since addition is commutative
62
+ (rule -4 (lower (has_type (fits_in_64 ty)
63
+ (iadd x (sinkable_load y))))
64
+ (x64_add ty x y))
65
+ (rule -3 (lower (has_type (fits_in_64 ty)
66
+ (iadd (sinkable_load x) y)))
67
+ (x64_add ty y x))
68
+
69
+ ;; SSE.
70
+
71
+ (rule (lower (has_type (multi_lane 8 16)
72
+ (iadd x y)))
73
+ (x64_paddb x y))
74
+
75
+ (rule (lower (has_type (multi_lane 16 8)
76
+ (iadd x y)))
77
+ (x64_paddw x y))
78
+
79
+ (rule (lower (has_type (multi_lane 32 4)
80
+ (iadd x y)))
81
+ (x64_paddd x y))
82
+
83
+ (rule (lower (has_type (multi_lane 64 2)
84
+ (iadd x y)))
85
+ (x64_paddq x y))
86
+
87
+ ;; `i128`
88
+ (rule 1 (lower (has_type $I128 (iadd x y)))
89
+ ;; Get the high/low registers for `x`.
90
+ (let ((x_regs ValueRegs x)
91
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
92
+ (x_hi Gpr (value_regs_get_gpr x_regs 1)))
93
+ ;; Get the high/low registers for `y`.
94
+ (let ((y_regs ValueRegs y)
95
+ (y_lo Gpr (value_regs_get_gpr y_regs 0))
96
+ (y_hi Gpr (value_regs_get_gpr y_regs 1)))
97
+ ;; Do an add followed by an add-with-carry.
98
+ (with_flags (x64_add_with_flags_paired $I64 x_lo y_lo)
99
+ (x64_adc_paired $I64 x_hi y_hi)))))
100
+
101
+ ;;;; Helpers for `*_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
102
+
103
+ (decl construct_overflow_op (CC ProducesFlags) InstOutput)
104
+ (rule (construct_overflow_op cc inst)
105
+ (let ((results ValueRegs (with_flags inst
106
+ (x64_setcc_paired cc))))
107
+ (output_pair (value_regs_get results 0)
108
+ (value_regs_get results 1))))
109
+
110
+ (decl construct_overflow_op_alu (Type CC AluRmiROpcode Gpr GprMemImm) InstOutput)
111
+ (rule (construct_overflow_op_alu ty cc alu_op src1 src2)
112
+ (construct_overflow_op cc (x64_alurmi_with_flags_paired alu_op ty src1 src2)))
113
+
114
+ ;; This essentially creates
115
+ ;; alu_<op1> x_lo, y_lo
116
+ ;; alu_<op2> x_hi, y_hi
117
+ ;; set<cc> r8
118
+ (decl construct_overflow_op_alu_128 (CC AluRmiROpcode AluRmiROpcode Value Value) InstOutput)
119
+ (rule (construct_overflow_op_alu_128 cc op1 op2 x y)
120
+ ;; Get the high/low registers for `x`.
121
+ (let ((x_regs ValueRegs x)
122
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
123
+ (x_hi Gpr (value_regs_get_gpr x_regs 1)))
124
+ ;; Get the high/low registers for `y`.
125
+ (let ((y_regs ValueRegs y)
126
+ (y_lo Gpr (value_regs_get_gpr y_regs 0))
127
+ (y_hi Gpr (value_regs_get_gpr y_regs 1)))
128
+ (let ((lo_inst ProducesFlags (x64_alurmi_with_flags_paired op1 $I64 x_lo y_lo))
129
+ (hi_inst ConsumesAndProducesFlags (x64_alurmi_with_flags_chained op2 $I64 x_hi y_hi))
130
+ (of_inst ConsumesFlags (x64_setcc_paired cc))
131
+
132
+ (result MultiReg (with_flags_chained lo_inst hi_inst of_inst)))
133
+ (multi_reg_to_pair_and_single result)))))
134
+
135
+ ;;;; Rules for `uadd_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
136
+
137
+ (rule 1 (lower (uadd_overflow x y @ (value_type (fits_in_64 ty))))
138
+ (construct_overflow_op_alu ty (CC.B) (AluRmiROpcode.Add) x y))
139
+
140
+ ;; i128 gets lowered into adc and add
141
+ (rule 0 (lower (uadd_overflow x y @ (value_type $I128)))
142
+ (construct_overflow_op_alu_128 (CC.B) (AluRmiROpcode.Add) (AluRmiROpcode.Adc) x y))
143
+
144
+ ;;;; Rules for `sadd_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
145
+
146
+ (rule 1 (lower (sadd_overflow x y @ (value_type (fits_in_64 ty))))
147
+ (construct_overflow_op_alu ty (CC.O) (AluRmiROpcode.Add) x y))
148
+
149
+ (rule 0 (lower (sadd_overflow x y @ (value_type $I128)))
150
+ (construct_overflow_op_alu_128 (CC.O) (AluRmiROpcode.Add) (AluRmiROpcode.Adc) x y))
151
+
152
+ ;;;; Rules for `usub_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
153
+
154
+ (rule 1 (lower (usub_overflow x y @ (value_type (fits_in_64 ty))))
155
+ (construct_overflow_op_alu ty (CC.B) (AluRmiROpcode.Sub) x y))
156
+
157
+ (rule 0 (lower (usub_overflow x y @ (value_type $I128)))
158
+ (construct_overflow_op_alu_128 (CC.B) (AluRmiROpcode.Sub) (AluRmiROpcode.Sbb) x y))
159
+
160
+ ;;;; Rules for `ssub_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
161
+
162
+ (rule 1 (lower (ssub_overflow x y @ (value_type (fits_in_64 ty))))
163
+ (construct_overflow_op_alu ty (CC.O) (AluRmiROpcode.Sub) x y))
164
+
165
+ (rule 0 (lower (ssub_overflow x y @ (value_type $I128)))
166
+ (construct_overflow_op_alu_128 (CC.O) (AluRmiROpcode.Sub) (AluRmiROpcode.Sbb) x y))
167
+
168
+ ;;;; Rules for `umul_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
169
+
170
+ (rule 2 (lower (umul_overflow x y @ (value_type (fits_in_64 ty))))
171
+ (construct_overflow_op (CC.O) (x64_umullo_with_flags_paired ty x y)))
172
+
173
+ ;;;; Rules for `smul_overflow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
174
+
175
+ (rule 2 (lower (smul_overflow x y @ (value_type (ty_int_ref_16_to_64 ty))))
176
+ (construct_overflow_op_alu ty (CC.O) (AluRmiROpcode.Mul) x y))
177
+
178
+ ;; there is no 8bit imul with an immediate operand so we need to put it in a register or memory
179
+ (rule 1 (lower (smul_overflow x y @ (value_type $I8)))
180
+ (construct_overflow_op (CC.O) (x64_alurmi_with_flags_paired (AluRmiROpcode.Mul) $I8 x (reg_mem_to_reg_mem_imm (put_in_reg_mem y)))))
181
+
182
+ ;;;; Rules for `sadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
183
+
184
+ (rule (lower (has_type (multi_lane 8 16)
185
+ (sadd_sat x y)))
186
+ (x64_paddsb x y))
187
+
188
+ (rule (lower (has_type (multi_lane 16 8)
189
+ (sadd_sat x y)))
190
+ (x64_paddsw x y))
191
+
192
+ ;;;; Rules for `uadd_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
193
+
194
+ (rule (lower (has_type (multi_lane 8 16)
195
+ (uadd_sat x y)))
196
+ (x64_paddusb x y))
197
+
198
+ (rule (lower (has_type (multi_lane 16 8)
199
+ (uadd_sat x y)))
200
+ (x64_paddusw x y))
201
+
202
+ ;;;; Rules for `isub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
203
+
204
+ ;; `i64` and smaller.
205
+
206
+ ;; Sub two registers.
207
+ (rule -3 (lower (has_type (fits_in_64 ty)
208
+ (isub x y)))
209
+ (x64_sub ty x y))
210
+
211
+ ;; SSE.
212
+
213
+ (rule (lower (has_type (multi_lane 8 16)
214
+ (isub x y)))
215
+ (x64_psubb x y))
216
+
217
+ (rule (lower (has_type (multi_lane 16 8)
218
+ (isub x y)))
219
+ (x64_psubw x y))
220
+
221
+ (rule (lower (has_type (multi_lane 32 4)
222
+ (isub x y)))
223
+ (x64_psubd x y))
224
+
225
+ (rule (lower (has_type (multi_lane 64 2)
226
+ (isub x y)))
227
+ (x64_psubq x y))
228
+
229
+ ;; `i128`
230
+ (rule 1 (lower (has_type $I128 (isub x y)))
231
+ ;; Get the high/low registers for `x`.
232
+ (let ((x_regs ValueRegs x)
233
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
234
+ (x_hi Gpr (value_regs_get_gpr x_regs 1)))
235
+ ;; Get the high/low registers for `y`.
236
+ (let ((y_regs ValueRegs y)
237
+ (y_lo Gpr (value_regs_get_gpr y_regs 0))
238
+ (y_hi Gpr (value_regs_get_gpr y_regs 1)))
239
+ ;; Do a sub followed by an sub-with-borrow.
240
+ (with_flags (x64_sub_with_flags_paired $I64 x_lo y_lo)
241
+ (x64_sbb_paired $I64 x_hi y_hi)))))
242
+
243
+ ;;;; Rules for `ssub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
244
+
245
+ (rule (lower (has_type (multi_lane 8 16)
246
+ (ssub_sat x y)))
247
+ (x64_psubsb x y))
248
+
249
+ (rule (lower (has_type (multi_lane 16 8)
250
+ (ssub_sat x y)))
251
+ (x64_psubsw x y))
252
+
253
+ ;;;; Rules for `usub_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
254
+
255
+ (rule (lower (has_type (multi_lane 8 16)
256
+ (usub_sat x y)))
257
+ (x64_psubusb x y))
258
+
259
+ (rule (lower (has_type (multi_lane 16 8)
260
+ (usub_sat x y)))
261
+ (x64_psubusw x y))
262
+
263
+ ;;;; Rules for `band` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
264
+
265
+ ;; `{i,b}64` and smaller.
266
+
267
+ ;; And two registers.
268
+ (rule 0 (lower (has_type ty (band x y)))
269
+ (if (ty_int_ref_scalar_64 ty))
270
+ (x64_and ty x y))
271
+
272
+ ;; The above case automatically handles when the rhs is an immediate or a
273
+ ;; sinkable load, but additionally handle the lhs here.
274
+
275
+ (rule 1 (lower (has_type ty (band (sinkable_load x) y)))
276
+ (if (ty_int_ref_scalar_64 ty))
277
+ (x64_and ty y x))
278
+
279
+ (rule 2 (lower (has_type ty (band (simm32_from_value x) y)))
280
+ (if (ty_int_ref_scalar_64 ty))
281
+ (x64_and ty y x))
282
+
283
+ ;; f32 and f64
284
+
285
+ (rule 5 (lower (has_type (ty_scalar_float ty) (band x y)))
286
+ (sse_and ty x y))
287
+
288
+ ;; SSE.
289
+
290
+ (decl sse_and (Type Xmm XmmMem) Xmm)
291
+ (rule (sse_and $F32X4 x y) (x64_andps x y))
292
+ (rule (sse_and $F64X2 x y) (x64_andpd x y))
293
+ (rule (sse_and $F32 x y) (x64_andps x y))
294
+ (rule (sse_and $F64 x y) (x64_andpd x y))
295
+ (rule -1 (sse_and (multi_lane _bits _lanes) x y) (x64_pand x y))
296
+
297
+ (rule 6 (lower (has_type ty @ (multi_lane _bits _lanes)
298
+ (band x y)))
299
+ (sse_and ty x y))
300
+
301
+ ;; `i128`.
302
+
303
+ (decl and_i128 (ValueRegs ValueRegs) ValueRegs)
304
+ (rule (and_i128 x y)
305
+ (let ((x_regs ValueRegs x)
306
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
307
+ (x_hi Gpr (value_regs_get_gpr x_regs 1))
308
+ (y_regs ValueRegs y)
309
+ (y_lo Gpr (value_regs_get_gpr y_regs 0))
310
+ (y_hi Gpr (value_regs_get_gpr y_regs 1)))
311
+ (value_gprs (x64_and $I64 x_lo y_lo)
312
+ (x64_and $I64 x_hi y_hi))))
313
+
314
+ (rule 7 (lower (has_type $I128 (band x y)))
315
+ (and_i128 x y))
316
+
317
+ ;; Specialized lowerings for `(band x (bnot y))` which is additionally produced
318
+ ;; by Cranelift's `band_not` instruction that is legalized into the simpler
319
+ ;; forms early on.
320
+
321
+ (decl sse_and_not (Type Xmm XmmMem) Xmm)
322
+ (rule (sse_and_not $F32X4 x y) (x64_andnps x y))
323
+ (rule (sse_and_not $F64X2 x y) (x64_andnpd x y))
324
+ (rule -1 (sse_and_not (multi_lane _bits _lanes) x y) (x64_pandn x y))
325
+
326
+ ;; Note the flipping of operands below as we're match
327
+ ;;
328
+ ;; (band x (bnot y))
329
+ ;;
330
+ ;; while x86 does
331
+ ;;
332
+ ;; pandn(x, y) = and(not(x), y)
333
+ (rule 8 (lower (has_type ty @ (multi_lane _bits _lane) (band x (bnot y))))
334
+ (sse_and_not ty y x))
335
+ (rule 9 (lower (has_type ty @ (multi_lane _bits _lane) (band (bnot y) x)))
336
+ (sse_and_not ty y x))
337
+
338
+ (rule 10 (lower (has_type ty (band x (bnot y))))
339
+ (if (ty_int_ref_scalar_64 ty))
340
+ (if-let $true (use_bmi1))
341
+ ;; the first argument is the one that gets inverted with andn
342
+ (x64_andn ty y x))
343
+ (rule 11 (lower (has_type ty (band (bnot y) x)))
344
+ (if (ty_int_ref_scalar_64 ty))
345
+ (if-let $true (use_bmi1))
346
+ (x64_andn ty y x))
347
+
348
+ ;; Specialization of `blsr` for BMI1
349
+
350
+ (decl pure partial val_minus_one (Value) Value)
351
+ (rule 0 (val_minus_one (isub x (u64_from_iconst 1))) x)
352
+ (rule 0 (val_minus_one (iadd x (i64_from_iconst -1))) x)
353
+ (rule 1 (val_minus_one (iadd (i64_from_iconst -1) x)) x)
354
+
355
+ (rule 12 (lower (has_type (ty_32_or_64 ty) (band x y)))
356
+ (if-let $true (use_bmi1))
357
+ (if-let x (val_minus_one y))
358
+ (x64_blsr ty x))
359
+ (rule 13 (lower (has_type (ty_32_or_64 ty) (band y x)))
360
+ (if-let $true (use_bmi1))
361
+ (if-let x (val_minus_one y))
362
+ (x64_blsr ty x))
363
+
364
+ ;; Specialization of `blsi` for BMI1
365
+
366
+ (rule 14 (lower (has_type (ty_32_or_64 ty) (band (ineg x) x)))
367
+ (if-let $true (use_bmi1))
368
+ (x64_blsi ty x))
369
+ (rule 15 (lower (has_type (ty_32_or_64 ty) (band x (ineg x))))
370
+ (if-let $true (use_bmi1))
371
+ (x64_blsi ty x))
372
+
373
+ ;; Specialization of `bzhi` for BMI2
374
+ ;;
375
+ ;; The `bzhi` instruction clears all bits indexed by the second operand of the
376
+ ;; first operand. This is pattern-matched here with a `band` against a mask
377
+ ;; which is generated to be N bits large. Note that if the index is larger than
378
+ ;; the bit-width of the type then `bzhi` doesn't have the same semantics as
379
+ ;; `ishl`, so an `and` instruction is required to mask the index to match the
380
+ ;; semantics of Cranelift's `ishl`.
381
+
382
+ (rule 16 (lower (has_type (ty_32_or_64 ty) (band x y)))
383
+ (if-let $true (use_bmi2))
384
+ (if-let (ishl (u64_from_iconst 1) index) (val_minus_one y))
385
+ (x64_bzhi ty x (x64_and ty index (RegMemImm.Imm (u32_sub (ty_bits ty) 1)))))
386
+
387
+ ;;;; Rules for `bor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
388
+
389
+ ;; `{i,b}64` and smaller.
390
+
391
+ ;; Or two registers.
392
+ (rule 0 (lower (has_type ty (bor x y)))
393
+ (if (ty_int_ref_scalar_64 ty))
394
+ (x64_or ty x y))
395
+
396
+ ;; Handle immediates/sinkable loads on the lhs in addition to the automatic
397
+ ;; handling of the rhs above
398
+
399
+ (rule 1 (lower (has_type ty (bor (sinkable_load x) y)))
400
+ (if (ty_int_ref_scalar_64 ty))
401
+ (x64_or ty y x))
402
+
403
+ (rule 2 (lower (has_type ty (bor (simm32_from_value x) y)))
404
+ (if (ty_int_ref_scalar_64 ty))
405
+ (x64_or ty y x))
406
+
407
+ ;; f32 and f64
408
+
409
+ (rule 5 (lower (has_type (ty_scalar_float ty) (bor x y)))
410
+ (sse_or ty x y))
411
+
412
+ ;; SSE.
413
+
414
+ (decl sse_or (Type Xmm XmmMem) Xmm)
415
+ (rule (sse_or $F32X4 x y) (x64_orps x y))
416
+ (rule (sse_or $F64X2 x y) (x64_orpd x y))
417
+ (rule (sse_or $F32 x y) (x64_orps x y))
418
+ (rule (sse_or $F64 x y) (x64_orpd x y))
419
+ (rule -1 (sse_or (multi_lane _bits _lanes) x y) (x64_por x y))
420
+
421
+ (rule 6 (lower (has_type ty @ (multi_lane _bits _lanes)
422
+ (bor x y)))
423
+ (sse_or ty x y))
424
+
425
+ ;; `{i,b}128`.
426
+
427
+ (decl or_i128 (ValueRegs ValueRegs) ValueRegs)
428
+ (rule (or_i128 x y)
429
+ (let ((x_lo Gpr (value_regs_get_gpr x 0))
430
+ (x_hi Gpr (value_regs_get_gpr x 1))
431
+ (y_lo Gpr (value_regs_get_gpr y 0))
432
+ (y_hi Gpr (value_regs_get_gpr y 1)))
433
+ (value_gprs (x64_or $I64 x_lo y_lo)
434
+ (x64_or $I64 x_hi y_hi))))
435
+
436
+ (rule 7 (lower (has_type $I128 (bor x y)))
437
+ (or_i128 x y))
438
+
439
+ ;;;; Rules for `bxor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
440
+
441
+ ;; `{i,b}64` and smaller.
442
+
443
+ ;; Xor two registers.
444
+ (rule 0 (lower (has_type ty (bxor x y)))
445
+ (if (ty_int_ref_scalar_64 ty))
446
+ (x64_xor ty x y))
447
+
448
+ ;; Handle xor with lhs immediates/sinkable loads in addition to the automatic
449
+ ;; handling of the rhs above.
450
+
451
+ (rule 1 (lower (has_type ty (bxor (sinkable_load x) y)))
452
+ (if (ty_int_ref_scalar_64 ty))
453
+ (x64_xor ty y x))
454
+
455
+ (rule 4 (lower (has_type ty (bxor (simm32_from_value x) y)))
456
+ (if (ty_int_ref_scalar_64 ty))
457
+ (x64_xor ty y x))
458
+
459
+ ;; f32 and f64
460
+
461
+ (rule 5 (lower (has_type (ty_scalar_float ty) (bxor x y)))
462
+ (x64_xor_vector ty x y))
463
+
464
+ ;; SSE.
465
+
466
+ (rule 6 (lower (has_type ty @ (multi_lane _bits _lanes) (bxor x y)))
467
+ (x64_xor_vector ty x y))
468
+
469
+ ;; `{i,b}128`.
470
+
471
+ (rule 7 (lower (has_type $I128 (bxor x y)))
472
+ (let ((x_regs ValueRegs x)
473
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
474
+ (x_hi Gpr (value_regs_get_gpr x_regs 1))
475
+ (y_regs ValueRegs y)
476
+ (y_lo Gpr (value_regs_get_gpr y_regs 0))
477
+ (y_hi Gpr (value_regs_get_gpr y_regs 1)))
478
+ (value_gprs (x64_xor $I64 x_lo y_lo)
479
+ (x64_xor $I64 x_hi y_hi))))
480
+
481
+ ;; Specialization of `blsmsk` for BMI1
482
+
483
+ (rule 8 (lower (has_type (ty_32_or_64 ty) (bxor x y)))
484
+ (if-let $true (use_bmi1))
485
+ (if-let x (val_minus_one y))
486
+ (x64_blsmsk ty x))
487
+ (rule 9 (lower (has_type (ty_32_or_64 ty) (bxor y x)))
488
+ (if-let $true (use_bmi1))
489
+ (if-let x (val_minus_one y))
490
+ (x64_blsmsk ty x))
491
+
492
+ ;;;; Rules for `ishl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
493
+
494
+ ;; `i64` and smaller.
495
+
496
+ (rule -1 (lower (has_type (fits_in_64 ty) (ishl src amt)))
497
+ (x64_shl ty src (put_masked_in_imm8_gpr amt ty)))
498
+
499
+ ;; `i128`.
500
+
501
+ (decl shl_i128 (ValueRegs Gpr) ValueRegs)
502
+ (rule (shl_i128 src amt)
503
+ ;; Unpack the registers that make up the 128-bit value being shifted.
504
+ (let ((src_lo Gpr (value_regs_get_gpr src 0))
505
+ (src_hi Gpr (value_regs_get_gpr src 1))
506
+ ;; Do two 64-bit shifts.
507
+ (lo_shifted Gpr (x64_shl $I64 src_lo amt))
508
+ (hi_shifted Gpr (x64_shl $I64 src_hi amt))
509
+ ;; `src_lo >> (64 - amt)` are the bits to carry over from the lo
510
+ ;; into the hi.
511
+ (carry Gpr (x64_shr $I64
512
+ src_lo
513
+ (x64_sub $I64
514
+ (imm $I64 64)
515
+ amt)))
516
+ (zero Gpr (imm $I64 0))
517
+ ;; Nullify the carry if we are shifting in by a multiple of 128.
518
+ (carry_ Gpr (with_flags_reg (x64_test (OperandSize.Size64)
519
+ (RegMemImm.Imm 127)
520
+ amt)
521
+ (cmove $I64
522
+ (CC.Z)
523
+ zero
524
+ carry)))
525
+ ;; Add the carry into the high half.
526
+ (hi_shifted_ Gpr (x64_or $I64 carry_ hi_shifted)))
527
+ ;; Combine the two shifted halves. However, if we are shifting by >= 64
528
+ ;; (modulo 128), then the low bits are zero and the high bits are our
529
+ ;; low bits.
530
+ (with_flags (x64_test (OperandSize.Size64) (RegMemImm.Imm 64) amt)
531
+ (consumes_flags_concat
532
+ (cmove $I64 (CC.Z) lo_shifted zero)
533
+ (cmove $I64 (CC.Z) hi_shifted_ lo_shifted)))))
534
+
535
+ (rule (lower (has_type $I128 (ishl src amt)))
536
+ ;; NB: Only the low bits of `amt` matter since we logically mask the shift
537
+ ;; amount to the value's bit width.
538
+ (let ((amt_ Gpr (lo_gpr amt)))
539
+ (shl_i128 src amt_)))
540
+
541
+ ;; SSE.
542
+
543
+ ;; Since the x86 instruction set does not have any 8x16 shift instructions (even
544
+ ;; in higher feature sets like AVX), we lower the `ishl.i8x16` to a sequence of
545
+ ;; instructions. The basic idea, whether the amount to shift by is an immediate
546
+ ;; or not, is to use a 16x8 shift and then mask off the incorrect bits to 0s.
547
+ (rule (lower (has_type ty @ $I8X16 (ishl src amt)))
548
+ (let (
549
+ ;; Mask the amount to ensure wrapping behaviour
550
+ (masked_amt RegMemImm (mask_xmm_shift ty amt))
551
+ ;; Shift `src` using 16x8. Unfortunately, a 16x8 shift will only be
552
+ ;; correct for half of the lanes; the others must be fixed up with
553
+ ;; the mask below.
554
+ (unmasked Xmm (x64_psllw src (mov_rmi_to_xmm masked_amt)))
555
+ (mask_addr SyntheticAmode (ishl_i8x16_mask masked_amt))
556
+ (mask Reg (x64_load $I8X16 mask_addr (ExtKind.None))))
557
+ (sse_and $I8X16 unmasked (RegMem.Reg mask))))
558
+
559
+ ;; Get the address of the mask to use when fixing up the lanes that weren't
560
+ ;; correctly generated by the 16x8 shift.
561
+ (decl ishl_i8x16_mask (RegMemImm) SyntheticAmode)
562
+
563
+ ;; When the shift amount is known, we can statically (i.e. at compile time)
564
+ ;; determine the mask to use and only emit that.
565
+ (decl ishl_i8x16_mask_for_const (u32) SyntheticAmode)
566
+ (extern constructor ishl_i8x16_mask_for_const ishl_i8x16_mask_for_const)
567
+ (rule (ishl_i8x16_mask (RegMemImm.Imm amt))
568
+ (ishl_i8x16_mask_for_const amt))
569
+
570
+ ;; Otherwise, we must emit the entire mask table and dynamically (i.e. at run
571
+ ;; time) find the correct mask offset in the table. We use `lea` to find the
572
+ ;; base address of the mask table and then complex addressing to offset to the
573
+ ;; right mask: `base_address + amt << 4`
574
+ (decl ishl_i8x16_mask_table () SyntheticAmode)
575
+ (extern constructor ishl_i8x16_mask_table ishl_i8x16_mask_table)
576
+ (rule (ishl_i8x16_mask (RegMemImm.Reg amt))
577
+ (let ((mask_table SyntheticAmode (ishl_i8x16_mask_table))
578
+ (base_mask_addr Gpr (x64_lea $I64 mask_table))
579
+ (mask_offset Gpr (x64_shl $I64 amt
580
+ (imm8_to_imm8_gpr 4))))
581
+ (Amode.ImmRegRegShift 0
582
+ base_mask_addr
583
+ mask_offset
584
+ 0
585
+ (mem_flags_trusted))))
586
+
587
+ (rule (ishl_i8x16_mask (RegMemImm.Mem amt))
588
+ (ishl_i8x16_mask (RegMemImm.Reg (x64_load $I64 amt (ExtKind.None)))))
589
+
590
+ ;; 16x8, 32x4, and 64x2 shifts can each use a single instruction, once the shift amount is masked.
591
+
592
+ (rule (lower (has_type ty @ $I16X8 (ishl src amt)))
593
+ (x64_psllw src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
594
+
595
+ (rule (lower (has_type ty @ $I32X4 (ishl src amt)))
596
+ (x64_pslld src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
597
+
598
+ (rule (lower (has_type ty @ $I64X2 (ishl src amt)))
599
+ (x64_psllq src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
600
+
601
+ ;;;; Rules for `ushr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
602
+
603
+ ;; `i64` and smaller.
604
+
605
+ (rule -1 (lower (has_type (fits_in_64 ty) (ushr src amt)))
606
+ (let ((src_ Gpr (extend_to_gpr src ty (ExtendKind.Zero))))
607
+ (x64_shr ty src_ (put_masked_in_imm8_gpr amt ty))))
608
+
609
+ ;; `i128`.
610
+
611
+ (decl shr_i128 (ValueRegs Gpr) ValueRegs)
612
+ (rule (shr_i128 src amt)
613
+ ;; Unpack the lo/hi halves of `src`.
614
+ (let ((src_lo Gpr (value_regs_get_gpr src 0))
615
+ (src_hi Gpr (value_regs_get_gpr src 1))
616
+ ;; Do a shift on each half.
617
+ (lo_shifted Gpr (x64_shr $I64 src_lo amt))
618
+ (hi_shifted Gpr (x64_shr $I64 src_hi amt))
619
+ ;; `src_hi << (64 - amt)` are the bits to carry over from the hi
620
+ ;; into the lo.
621
+ (carry Gpr (x64_shl $I64
622
+ src_hi
623
+ (x64_sub $I64
624
+ (imm $I64 64)
625
+ amt)))
626
+ ;; Share the zero value to reduce register pressure
627
+ (zero Gpr (imm $I64 0))
628
+
629
+ ;; Nullify the carry if we are shifting by a multiple of 128.
630
+ (carry_ Gpr (with_flags_reg (x64_test (OperandSize.Size64) (RegMemImm.Imm 127) amt)
631
+ (cmove $I64 (CC.Z) zero carry)))
632
+ ;; Add the carry bits into the lo.
633
+ (lo_shifted_ Gpr (x64_or $I64 carry_ lo_shifted)))
634
+ ;; Combine the two shifted halves. However, if we are shifting by >= 64
635
+ ;; (modulo 128), then the hi bits are zero and the lo bits are what
636
+ ;; would otherwise be our hi bits.
637
+ (with_flags (x64_test (OperandSize.Size64) (RegMemImm.Imm 64) amt)
638
+ (consumes_flags_concat
639
+ (cmove $I64 (CC.Z) lo_shifted_ hi_shifted)
640
+ (cmove $I64 (CC.Z) hi_shifted zero)))))
641
+
642
+ (rule (lower (has_type $I128 (ushr src amt)))
643
+ ;; NB: Only the low bits of `amt` matter since we logically mask the shift
644
+ ;; amount to the value's bit width.
645
+ (let ((amt_ Gpr (lo_gpr amt)))
646
+ (shr_i128 src amt_)))
647
+
648
+ ;; SSE.
649
+
650
+ ;; There are no 8x16 shifts in x64. Do the same 16x8-shift-and-mask thing we do
651
+ ;; with 8x16 `ishl`.
652
+ (rule (lower (has_type ty @ $I8X16 (ushr src amt)))
653
+ (let (
654
+ ;; Mask the amount to ensure wrapping behaviour
655
+ (masked_amt RegMemImm (mask_xmm_shift ty amt))
656
+ ;; Shift `src` using 16x8. Unfortunately, a 16x8 shift will only be
657
+ ;; correct for half of the lanes; the others must be fixed up with
658
+ ;; the mask below.
659
+ (unmasked Xmm (x64_psrlw src (mov_rmi_to_xmm masked_amt))))
660
+ (sse_and $I8X16
661
+ unmasked
662
+ (ushr_i8x16_mask masked_amt))))
663
+
664
+ ;; Get the address of the mask to use when fixing up the lanes that weren't
665
+ ;; correctly generated by the 16x8 shift.
666
+ (decl ushr_i8x16_mask (RegMemImm) SyntheticAmode)
667
+
668
+ ;; When the shift amount is known, we can statically (i.e. at compile time)
669
+ ;; determine the mask to use and only emit that.
670
+ (decl ushr_i8x16_mask_for_const (u32) SyntheticAmode)
671
+ (extern constructor ushr_i8x16_mask_for_const ushr_i8x16_mask_for_const)
672
+ (rule (ushr_i8x16_mask (RegMemImm.Imm amt))
673
+ (ushr_i8x16_mask_for_const amt))
674
+
675
+ ;; Otherwise, we must emit the entire mask table and dynamically (i.e. at run
676
+ ;; time) find the correct mask offset in the table. We use `lea` to find the
677
+ ;; base address of the mask table and then complex addressing to offset to the
678
+ ;; right mask: `base_address + amt << 4`
679
+ (decl ushr_i8x16_mask_table () SyntheticAmode)
680
+ (extern constructor ushr_i8x16_mask_table ushr_i8x16_mask_table)
681
+ (rule (ushr_i8x16_mask (RegMemImm.Reg amt))
682
+ (let ((mask_table SyntheticAmode (ushr_i8x16_mask_table))
683
+ (base_mask_addr Gpr (x64_lea $I64 mask_table))
684
+ (mask_offset Gpr (x64_shl $I64
685
+ amt
686
+ (imm8_to_imm8_gpr 4))))
687
+ (Amode.ImmRegRegShift 0
688
+ base_mask_addr
689
+ mask_offset
690
+ 0
691
+ (mem_flags_trusted))))
692
+
693
+ (rule (ushr_i8x16_mask (RegMemImm.Mem amt))
694
+ (ushr_i8x16_mask (RegMemImm.Reg (x64_load $I64 amt (ExtKind.None)))))
695
+
696
+ ;; 16x8, 32x4, and 64x2 shifts can each use a single instruction, once the shift amount is masked.
697
+
698
+ (rule (lower (has_type ty @ $I16X8 (ushr src amt)))
699
+ (x64_psrlw src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
700
+
701
+ (rule (lower (has_type ty @ $I32X4 (ushr src amt)))
702
+ (x64_psrld src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
703
+
704
+ (rule (lower (has_type ty @ $I64X2 (ushr src amt)))
705
+ (x64_psrlq src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
706
+
707
+ (decl mask_xmm_shift (Type Value) RegMemImm)
708
+ (rule (mask_xmm_shift ty amt)
709
+ (gpr_to_reg (x64_and $I64 amt (RegMemImm.Imm (shift_mask ty)))))
710
+ (rule 1 (mask_xmm_shift ty (iconst n))
711
+ (RegMemImm.Imm (shift_amount_masked ty n)))
712
+
713
+ ;;;; Rules for `sshr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
714
+
715
+ ;; `i64` and smaller.
716
+
717
+ (rule -1 (lower (has_type (fits_in_64 ty) (sshr src amt)))
718
+ (let ((src_ Gpr (extend_to_gpr src ty (ExtendKind.Sign))))
719
+ (x64_sar ty src_ (put_masked_in_imm8_gpr amt ty))))
720
+
721
+ ;; `i128`.
722
+
723
+ (decl sar_i128 (ValueRegs Gpr) ValueRegs)
724
+ (rule (sar_i128 src amt)
725
+ ;; Unpack the low/high halves of `src`.
726
+ (let ((src_lo Gpr (value_regs_get_gpr src 0))
727
+ (src_hi Gpr (value_regs_get_gpr src 1))
728
+ ;; Do a shift of each half. NB: the low half uses an unsigned shift
729
+ ;; because its MSB is not a sign bit.
730
+ (lo_shifted Gpr (x64_shr $I64 src_lo amt))
731
+ (hi_shifted Gpr (x64_sar $I64 src_hi amt))
732
+ ;; `src_hi << (64 - amt)` are the bits to carry over from the low
733
+ ;; half to the high half.
734
+ (carry Gpr (x64_shl $I64
735
+ src_hi
736
+ (x64_sub $I64
737
+ (imm $I64 64)
738
+ amt)))
739
+ ;; Nullify the carry if we are shifting by a multiple of 128.
740
+ (carry_ Gpr (with_flags_reg (x64_test (OperandSize.Size64) (RegMemImm.Imm 127) amt)
741
+ (cmove $I64 (CC.Z) (imm $I64 0) carry)))
742
+ ;; Add the carry into the low half.
743
+ (lo_shifted_ Gpr (x64_or $I64 lo_shifted carry_))
744
+ ;; Get all sign bits.
745
+ (sign_bits Gpr (x64_sar $I64 src_hi (imm8_to_imm8_gpr 63))))
746
+ ;; Combine the two shifted halves. However, if we are shifting by >= 64
747
+ ;; (modulo 128), then the hi bits are all sign bits and the lo bits are
748
+ ;; what would otherwise be our hi bits.
749
+ (with_flags (x64_test (OperandSize.Size64) (RegMemImm.Imm 64) amt)
750
+ (consumes_flags_concat
751
+ (cmove $I64 (CC.Z) lo_shifted_ hi_shifted)
752
+ (cmove $I64 (CC.Z) hi_shifted sign_bits)))))
753
+
754
+ (rule (lower (has_type $I128 (sshr src amt)))
755
+ ;; NB: Only the low bits of `amt` matter since we logically mask the shift
756
+ ;; amount to the value's bit width.
757
+ (let ((amt_ Gpr (lo_gpr amt)))
758
+ (sar_i128 src amt_)))
759
+
760
+ ;; SSE.
761
+
762
+ ;; Since the x86 instruction set does not have an 8x16 shift instruction and the
763
+ ;; approach used for `ishl` and `ushr` cannot be easily used (the masks do not
764
+ ;; preserve the sign), we use a different approach here: separate the low and
765
+ ;; high lanes, shift them separately, and merge them into the final result.
766
+ ;;
767
+ ;; Visually, this looks like the following, where `src.i8x16 = [s0, s1, ...,
768
+ ;; s15]:
769
+ ;;
770
+ ;; lo.i16x8 = [(s0, s0), (s1, s1), ..., (s7, s7)]
771
+ ;; shifted_lo.i16x8 = shift each lane of `low`
772
+ ;; hi.i16x8 = [(s8, s8), (s9, s9), ..., (s15, s15)]
773
+ ;; shifted_hi.i16x8 = shift each lane of `high`
774
+ ;; result = [s0'', s1'', ..., s15'']
775
+ (rule (lower (has_type ty @ $I8X16 (sshr src amt @ (value_type amt_ty))))
776
+ (let ((src_ Xmm (put_in_xmm src))
777
+ ;; Mask the amount to ensure wrapping behaviour
778
+ (masked_amt RegMemImm (mask_xmm_shift ty amt))
779
+ ;; In order for `packsswb` later to only use the high byte of each
780
+ ;; 16x8 lane, we shift right an extra 8 bits, relying on `psraw` to
781
+ ;; fill in the upper bits appropriately.
782
+ (lo Xmm (x64_punpcklbw src_ src_))
783
+ (hi Xmm (x64_punpckhbw src_ src_))
784
+ (amt_ XmmMemImm (sshr_i8x16_bigger_shift amt_ty masked_amt))
785
+ (shifted_lo Xmm (x64_psraw lo amt_))
786
+ (shifted_hi Xmm (x64_psraw hi amt_)))
787
+ (x64_packsswb shifted_lo shifted_hi)))
788
+
789
+ (decl sshr_i8x16_bigger_shift (Type RegMemImm) XmmMemImm)
790
+ (rule (sshr_i8x16_bigger_shift _ty (RegMemImm.Imm i))
791
+ (xmm_mem_imm_new (RegMemImm.Imm (u32_add i 8))))
792
+ (rule (sshr_i8x16_bigger_shift ty (RegMemImm.Reg r))
793
+ (mov_rmi_to_xmm (RegMemImm.Reg (x64_add ty
794
+ r
795
+ (RegMemImm.Imm 8)))))
796
+ (rule (sshr_i8x16_bigger_shift ty rmi @ (RegMemImm.Mem _m))
797
+ (mov_rmi_to_xmm (RegMemImm.Reg (x64_add ty
798
+ (imm ty 8)
799
+ rmi))))
800
+
801
+ ;; `sshr.{i16x8,i32x4}` can be a simple `psra{w,d}`, we just have to make sure
802
+ ;; that if the shift amount is in a register, it is in an XMM register.
803
+
804
+ (rule (lower (has_type ty @ $I16X8 (sshr src amt)))
805
+ (x64_psraw src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
806
+
807
+ (rule (lower (has_type ty @ $I32X4 (sshr src amt)))
808
+ (x64_psrad src (mov_rmi_to_xmm (mask_xmm_shift ty amt))))
809
+
810
+ ;; The `sshr.i64x2` CLIF instruction has no single x86 instruction in the older
811
+ ;; feature sets. To remedy this, a small dance is done with an unsigned right
812
+ ;; shift plus some extra ops.
813
+ (rule 3 (lower (has_type ty @ $I64X2 (sshr src (iconst n))))
814
+ (if-let $true (use_avx512vl))
815
+ (if-let $true (use_avx512f))
816
+ (x64_vpsraq_imm src (shift_amount_masked ty n)))
817
+
818
+ (rule 2 (lower (has_type ty @ $I64X2 (sshr src amt)))
819
+ (if-let $true (use_avx512vl))
820
+ (if-let $true (use_avx512f))
821
+ (let ((masked Gpr (x64_and $I64 amt (RegMemImm.Imm (shift_mask ty)))))
822
+ (x64_vpsraq src (x64_movd_to_xmm masked))))
823
+
824
+ (rule 1 (lower (has_type $I64X2 (sshr src (iconst (u64_from_imm64 (u64_as_u32 amt))))))
825
+ (lower_i64x2_sshr_imm src (u32_and amt 63)))
826
+
827
+ (rule (lower (has_type $I64X2 (sshr src amt)))
828
+ (lower_i64x2_sshr_gpr src (x64_and $I64 amt (RegMemImm.Imm 63))))
829
+
830
+ (decl lower_i64x2_sshr_imm (Xmm u32) Xmm)
831
+
832
+ ;; If the shift amount is less than 32 then do an sshr with 32-bit lanes to
833
+ ;; produce the upper halves of each result, followed by a ushr of 64-bit lanes
834
+ ;; to produce the lower halves of each result. Interleave results at the end.
835
+ (rule 2 (lower_i64x2_sshr_imm vec imm)
836
+ (if-let $true (u64_lt imm 32))
837
+ (let (
838
+ (high32 Xmm (x64_psrad vec (xmi_imm imm)))
839
+ (high32 Xmm (x64_pshufd high32 0b11_10_11_01))
840
+ (low32 Xmm (x64_psrlq vec (xmi_imm imm)))
841
+ (low32 Xmm (x64_pshufd low32 0b11_10_10_00))
842
+ )
843
+ (x64_punpckldq low32 high32)))
844
+
845
+ ;; If the shift amount is 32 then the `psrlq` from the above rule can be avoided
846
+ (rule 1 (lower_i64x2_sshr_imm vec 32)
847
+ (let (
848
+ (low32 Xmm (x64_pshufd vec 0b11_10_11_01))
849
+ (high32 Xmm (x64_psrad vec (xmi_imm 31)))
850
+ (high32 Xmm (x64_pshufd high32 0b11_10_11_01))
851
+ )
852
+ (x64_punpckldq low32 high32)))
853
+
854
+ ;; Shifts >= 32 use one `psrad` to generate the upper bits and second `psrad` to
855
+ ;; generate the lower bits. Everything is then woven back together with
856
+ ;; shuffles.
857
+ (rule (lower_i64x2_sshr_imm vec imm)
858
+ (if-let $true (u64_lt 32 imm))
859
+ (let (
860
+ (high32 Xmm (x64_psrad vec (xmi_imm 31)))
861
+ (high32 Xmm (x64_pshufd high32 0b11_10_11_01))
862
+ (low32 Xmm (x64_psrad vec (xmi_imm (u32_sub imm 32))))
863
+ (low32 Xmm (x64_pshufd low32 0b11_10_11_01))
864
+ )
865
+ (x64_punpckldq low32 high32)))
866
+
867
+ ;; A variable shift amount is slightly more complicated than the immediate
868
+ ;; shift amounts from above. The `Gpr` argument is guaranteed to be <= 63 by
869
+ ;; earlier masking. A `ushr` operation is used with some xor/sub math to
870
+ ;; generate the sign bits.
871
+ (decl lower_i64x2_sshr_gpr (Xmm Gpr) Xmm)
872
+ (rule (lower_i64x2_sshr_gpr vec val)
873
+ (let (
874
+ (val Xmm (x64_movq_to_xmm val))
875
+ (mask Xmm (flip_high_bit_mask $I64X2))
876
+ (sign_bit_loc Xmm (x64_psrlq mask val))
877
+ (ushr Xmm (x64_psrlq vec val))
878
+ (ushr_sign_bit_flip Xmm (x64_pxor sign_bit_loc ushr))
879
+ )
880
+ (x64_psubq ushr_sign_bit_flip sign_bit_loc)))
881
+
882
+ ;;;; Rules for `rotl` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
883
+
884
+ ;; `i64` and smaller: we can rely on x86's rotate-amount masking since
885
+ ;; we operate on the whole register. For const's we mask the constant.
886
+
887
+ (rule -1 (lower (has_type (fits_in_64 ty) (rotl src amt)))
888
+ (x64_rotl ty src (put_masked_in_imm8_gpr amt ty)))
889
+
890
+
891
+ ;; `i128`.
892
+
893
+ (rule (lower (has_type $I128 (rotl src amt)))
894
+ (let ((src_ ValueRegs src)
895
+ ;; NB: Only the low bits of `amt` matter since we logically mask the
896
+ ;; rotation amount to the value's bit width.
897
+ (amt_ Gpr (lo_gpr amt)))
898
+ (or_i128 (shl_i128 src_ amt_)
899
+ (shr_i128 src_ (x64_sub $I64
900
+ (imm $I64 128)
901
+ amt_)))))
902
+
903
+ ;;;; Rules for `rotr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
904
+
905
+ ;; `i64` and smaller: we can rely on x86's rotate-amount masking since
906
+ ;; we operate on the whole register. For const's we mask the constant.
907
+
908
+ (rule -1 (lower (has_type (fits_in_64 ty) (rotr src amt)))
909
+ (x64_rotr ty src (put_masked_in_imm8_gpr amt ty)))
910
+
911
+
912
+ ;; `i128`.
913
+
914
+ (rule (lower (has_type $I128 (rotr src amt)))
915
+ (let ((src_ ValueRegs src)
916
+ ;; NB: Only the low bits of `amt` matter since we logically mask the
917
+ ;; rotation amount to the value's bit width.
918
+ (amt_ Gpr (lo_gpr amt)))
919
+ (or_i128 (shr_i128 src_ amt_)
920
+ (shl_i128 src_ (x64_sub $I64
921
+ (imm $I64 128)
922
+ amt_)))))
923
+
924
+ ;;;; Rules for `ineg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
925
+
926
+ ;; `i64` and smaller.
927
+
928
+ (rule -1 (lower (has_type (fits_in_64 ty) (ineg x)))
929
+ (x64_neg ty x))
930
+
931
+ (rule -2 (lower (has_type $I128 (ineg x)))
932
+ ;; Get the high/low registers for `x`.
933
+ (let ((regs ValueRegs x)
934
+ (lo Gpr (value_regs_get_gpr regs 0))
935
+ (hi Gpr (value_regs_get_gpr regs 1)))
936
+ ;; Do a neg followed by an sub-with-borrow.
937
+ (with_flags (x64_neg_paired $I64 lo)
938
+ (x64_sbb_paired $I64 (imm $I64 0) hi))))
939
+
940
+ ;; SSE.
941
+
942
+ (rule (lower (has_type $I8X16 (ineg x)))
943
+ (x64_psubb (imm $I8X16 0) x))
944
+
945
+ (rule (lower (has_type $I16X8 (ineg x)))
946
+ (x64_psubw (imm $I16X8 0) x))
947
+
948
+ (rule (lower (has_type $I32X4 (ineg x)))
949
+ (x64_psubd (imm $I32X4 0) x))
950
+
951
+ (rule (lower (has_type $I64X2 (ineg x)))
952
+ (x64_psubq (imm $I64X2 0) x))
953
+
954
+ ;;;; Rules for `avg_round` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
955
+
956
+ (rule (lower (has_type (multi_lane 8 16)
957
+ (avg_round x y)))
958
+ (x64_pavgb x y))
959
+
960
+ (rule (lower (has_type (multi_lane 16 8)
961
+ (avg_round x y)))
962
+ (x64_pavgw x y))
963
+
964
+ ;;;; Rules for `imul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
965
+
966
+ ;; `i64` and smaller.
967
+
968
+ ;; Multiply two registers.
969
+ (rule -5 (lower (has_type (fits_in_64 ty) (imul x y)))
970
+ (x64_mul ty x y))
971
+
972
+ ;; Handle multiplication where the lhs is an immediate or sinkable load in
973
+ ;; addition to the automatic rhs handling above.
974
+
975
+ (rule -4 (lower (has_type (fits_in_64 ty)
976
+ (imul (simm32_from_value x) y)))
977
+ (x64_mul ty y x))
978
+ (rule -3 (lower (has_type (fits_in_64 ty)
979
+ (imul (sinkable_load x) y)))
980
+ (x64_mul ty y x))
981
+
982
+ ;; `i128`.
983
+
984
+ ;; mul:
985
+ ;; dst_lo = lhs_lo * rhs_lo
986
+ ;; dst_hi = umulhi(lhs_lo, rhs_lo) +
987
+ ;; lhs_lo * rhs_hi +
988
+ ;; lhs_hi * rhs_lo
989
+ ;;
990
+ ;; so we emit:
991
+ ;; lo_hi = mul x_lo, y_hi
992
+ ;; hi_lo = mul x_hi, y_lo
993
+ ;; hilo_hilo = add lo_hi, hi_lo
994
+ ;; dst_lo:hi_lolo = mulhi_u x_lo, y_lo
995
+ ;; dst_hi = add hilo_hilo, hi_lolo
996
+ ;; return (dst_lo, dst_hi)
997
+ (rule 2 (lower (has_type $I128 (imul x y)))
998
+ ;; Put `x` into registers and unpack its hi/lo halves.
999
+ (let ((x_regs ValueRegs x)
1000
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
1001
+ (x_hi Gpr (value_regs_get_gpr x_regs 1))
1002
+ ;; Put `y` into registers and unpack its hi/lo halves.
1003
+ (y_regs ValueRegs y)
1004
+ (y_lo Gpr (value_regs_get_gpr y_regs 0))
1005
+ (y_hi Gpr (value_regs_get_gpr y_regs 1))
1006
+ ;; lo_hi = mul x_lo, y_hi
1007
+ (lo_hi Gpr (x64_mul $I64 x_lo y_hi))
1008
+ ;; hi_lo = mul x_hi, y_lo
1009
+ (hi_lo Gpr (x64_mul $I64 x_hi y_lo))
1010
+ ;; hilo_hilo = add lo_hi, hi_lo
1011
+ (hilo_hilo Gpr (x64_add $I64 lo_hi hi_lo))
1012
+ ;; dst_lo:hi_lolo = mulhi_u x_lo, y_lo
1013
+ (mul_regs ValueRegs (mulhi_u $I64 x_lo y_lo))
1014
+ (dst_lo Gpr (value_regs_get_gpr mul_regs 0))
1015
+ (hi_lolo Gpr (value_regs_get_gpr mul_regs 1))
1016
+ ;; dst_hi = add hilo_hilo, hi_lolo
1017
+ (dst_hi Gpr (x64_add $I64 hilo_hilo hi_lolo)))
1018
+ (value_gprs dst_lo dst_hi)))
1019
+
1020
+ ;; SSE.
1021
+
1022
+ ;; (No i8x16 multiply.)
1023
+
1024
+ (rule (lower (has_type (multi_lane 16 8) (imul x y)))
1025
+ (x64_pmullw x y))
1026
+
1027
+ (rule (lower (has_type (multi_lane 32 4) (imul x y)))
1028
+ (if-let $true (use_sse41))
1029
+ (x64_pmulld x y))
1030
+
1031
+ ;; Without `pmulld` the `pmuludq` instruction is used instead which performs
1032
+ ;; 32-bit multiplication storing the 64-bit result. The 64-bit result is
1033
+ ;; truncated to 32-bits and everything else is woven into place.
1034
+ (rule -1 (lower (has_type (multi_lane 32 4) (imul x y)))
1035
+ (let (
1036
+ (x Xmm x)
1037
+ (y Xmm y)
1038
+ (x_hi Xmm (x64_pshufd x 0b00_11_00_01))
1039
+ (y_hi Xmm (x64_pshufd y 0b00_11_00_01))
1040
+ (mul_lo Xmm (x64_pshufd (x64_pmuludq x y) 0b00_00_10_00))
1041
+ (mul_hi Xmm (x64_pshufd (x64_pmuludq x_hi y_hi) 0b00_00_10_00))
1042
+ )
1043
+ (x64_punpckldq mul_lo mul_hi)))
1044
+
1045
+ ;; With AVX-512 we can implement `i64x2` multiplication with a single
1046
+ ;; instruction.
1047
+ (rule 3 (lower (has_type (multi_lane 64 2) (imul x y)))
1048
+ (if-let $true (use_avx512vl))
1049
+ (if-let $true (use_avx512dq))
1050
+ (x64_vpmullq x y))
1051
+
1052
+ ;; Otherwise, for i64x2 multiplication we describe a lane A as being composed of
1053
+ ;; a 32-bit upper half "Ah" and a 32-bit lower half "Al". The 32-bit long hand
1054
+ ;; multiplication can then be written as:
1055
+ ;;
1056
+ ;; Ah Al
1057
+ ;; * Bh Bl
1058
+ ;; -----
1059
+ ;; Al * Bl
1060
+ ;; + (Ah * Bl) << 32
1061
+ ;; + (Al * Bh) << 32
1062
+ ;;
1063
+ ;; So for each lane we will compute:
1064
+ ;;
1065
+ ;; A * B = (Al * Bl) + ((Ah * Bl) + (Al * Bh)) << 32
1066
+ ;;
1067
+ ;; Note, the algorithm will use `pmuludq` which operates directly on the lower
1068
+ ;; 32-bit (`Al` or `Bl`) of a lane and writes the result to the full 64-bits of
1069
+ ;; the lane of the destination. For this reason we don't need shifts to isolate
1070
+ ;; the lower 32-bits, however, we will need to use shifts to isolate the high
1071
+ ;; 32-bits when doing calculations, i.e., `Ah == A >> 32`.
1072
+ (rule (lower (has_type (multi_lane 64 2)
1073
+ (imul a b)))
1074
+ (let ((a0 Xmm a)
1075
+ (b0 Xmm b)
1076
+ ;; a_hi = A >> 32
1077
+ (a_hi Xmm (x64_psrlq a0 (xmi_imm 32)))
1078
+ ;; ah_bl = Ah * Bl
1079
+ (ah_bl Xmm (x64_pmuludq a_hi b0))
1080
+ ;; b_hi = B >> 32
1081
+ (b_hi Xmm (x64_psrlq b0 (xmi_imm 32)))
1082
+ ;; al_bh = Al * Bh
1083
+ (al_bh Xmm (x64_pmuludq a0 b_hi))
1084
+ ;; aa_bb = ah_bl + al_bh
1085
+ (aa_bb Xmm (x64_paddq ah_bl al_bh))
1086
+ ;; aa_bb_shifted = aa_bb << 32
1087
+ (aa_bb_shifted Xmm (x64_psllq aa_bb (xmi_imm 32)))
1088
+ ;; al_bl = Al * Bl
1089
+ (al_bl Xmm (x64_pmuludq a0 b0)))
1090
+ ;; al_bl + aa_bb_shifted
1091
+ (x64_paddq al_bl aa_bb_shifted)))
1092
+
1093
+ ;; Special case for `i32x4.extmul_high_i16x8_s`.
1094
+ (rule 1 (lower (has_type (multi_lane 32 4)
1095
+ (imul (swiden_high (and (value_type (multi_lane 16 8))
1096
+ x))
1097
+ (swiden_high (and (value_type (multi_lane 16 8))
1098
+ y)))))
1099
+ (let ((x2 Xmm x)
1100
+ (y2 Xmm y)
1101
+ (lo Xmm (x64_pmullw x2 y2))
1102
+ (hi Xmm (x64_pmulhw x2 y2)))
1103
+ (x64_punpckhwd lo hi)))
1104
+
1105
+ ;; Special case for `i64x2.extmul_high_i32x4_s`.
1106
+ (rule 1 (lower (has_type (multi_lane 64 2)
1107
+ (imul (swiden_high (and (value_type (multi_lane 32 4))
1108
+ x))
1109
+ (swiden_high (and (value_type (multi_lane 32 4))
1110
+ y)))))
1111
+ (if-let $true (use_sse41))
1112
+ (let ((x2 Xmm (x64_pshufd x 0xFA))
1113
+ (y2 Xmm (x64_pshufd y 0xFA)))
1114
+ (x64_pmuldq x2 y2)))
1115
+
1116
+ ;; Special case for `i32x4.extmul_low_i16x8_s`.
1117
+ (rule 1 (lower (has_type (multi_lane 32 4)
1118
+ (imul (swiden_low (and (value_type (multi_lane 16 8))
1119
+ x))
1120
+ (swiden_low (and (value_type (multi_lane 16 8))
1121
+ y)))))
1122
+ (let ((x2 Xmm x)
1123
+ (y2 Xmm y)
1124
+ (lo Xmm (x64_pmullw x2 y2))
1125
+ (hi Xmm (x64_pmulhw x2 y2)))
1126
+ (x64_punpcklwd lo hi)))
1127
+
1128
+ ;; Special case for `i64x2.extmul_low_i32x4_s`.
1129
+ (rule 1 (lower (has_type (multi_lane 64 2)
1130
+ (imul (swiden_low (and (value_type (multi_lane 32 4))
1131
+ x))
1132
+ (swiden_low (and (value_type (multi_lane 32 4))
1133
+ y)))))
1134
+ (if-let $true (use_sse41))
1135
+ (let ((x2 Xmm (x64_pshufd x 0x50))
1136
+ (y2 Xmm (x64_pshufd y 0x50)))
1137
+ (x64_pmuldq x2 y2)))
1138
+
1139
+ ;; Special case for `i32x4.extmul_high_i16x8_u`.
1140
+ (rule 1 (lower (has_type (multi_lane 32 4)
1141
+ (imul (uwiden_high (and (value_type (multi_lane 16 8))
1142
+ x))
1143
+ (uwiden_high (and (value_type (multi_lane 16 8))
1144
+ y)))))
1145
+ (let ((x2 Xmm x)
1146
+ (y2 Xmm y)
1147
+ (lo Xmm (x64_pmullw x2 y2))
1148
+ (hi Xmm (x64_pmulhuw x2 y2)))
1149
+ (x64_punpckhwd lo hi)))
1150
+
1151
+ ;; Special case for `i64x2.extmul_high_i32x4_u`.
1152
+ (rule 1 (lower (has_type (multi_lane 64 2)
1153
+ (imul (uwiden_high (and (value_type (multi_lane 32 4))
1154
+ x))
1155
+ (uwiden_high (and (value_type (multi_lane 32 4))
1156
+ y)))))
1157
+ (let ((x2 Xmm (x64_pshufd x 0xFA))
1158
+ (y2 Xmm (x64_pshufd y 0xFA)))
1159
+ (x64_pmuludq x2 y2)))
1160
+
1161
+ ;; Special case for `i32x4.extmul_low_i16x8_u`.
1162
+ (rule 1 (lower (has_type (multi_lane 32 4)
1163
+ (imul (uwiden_low (and (value_type (multi_lane 16 8))
1164
+ x))
1165
+ (uwiden_low (and (value_type (multi_lane 16 8))
1166
+ y)))))
1167
+ (let ((x2 Xmm x)
1168
+ (y2 Xmm y)
1169
+ (lo Xmm (x64_pmullw x2 y2))
1170
+ (hi Xmm (x64_pmulhuw x2 y2)))
1171
+ (x64_punpcklwd lo hi)))
1172
+
1173
+ ;; Special case for `i64x2.extmul_low_i32x4_u`.
1174
+ (rule 1 (lower (has_type (multi_lane 64 2)
1175
+ (imul (uwiden_low (and (value_type (multi_lane 32 4))
1176
+ x))
1177
+ (uwiden_low (and (value_type (multi_lane 32 4))
1178
+ y)))))
1179
+ (let ((x2 Xmm (x64_pshufd x 0x50))
1180
+ (y2 Xmm (x64_pshufd y 0x50)))
1181
+ (x64_pmuludq x2 y2)))
1182
+
1183
+ ;;;; Rules for `iabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1184
+
1185
+ (rule 1 (lower (has_type $I8X16 (iabs x)))
1186
+ (if-let $true (use_ssse3))
1187
+ (x64_pabsb x))
1188
+
1189
+ ;; Note the use of `pminub` with signed inputs will produce the positive signed
1190
+ ;; result which is what is desired here. The `pmaxub` isn't available until
1191
+ ;; SSE4.1 in which case the single-instruction above lowering would apply.
1192
+ (rule (lower (has_type $I8X16 (iabs x)))
1193
+ (let (
1194
+ (x Xmm x)
1195
+ (negated Xmm (x64_psubb (xmm_zero $I8X16) x))
1196
+ )
1197
+ (x64_pminub x negated)))
1198
+
1199
+ (rule 1 (lower (has_type $I16X8 (iabs x)))
1200
+ (if-let $true (use_ssse3))
1201
+ (x64_pabsw x))
1202
+
1203
+ (rule (lower (has_type $I16X8 (iabs x)))
1204
+ (let (
1205
+ (x Xmm x)
1206
+ (negated Xmm (x64_psubw (xmm_zero $I16X8) x))
1207
+ )
1208
+ (x64_pmaxsw x negated)))
1209
+
1210
+ (rule 1 (lower (has_type $I32X4 (iabs x)))
1211
+ (if-let $true (use_ssse3))
1212
+ (x64_pabsd x))
1213
+
1214
+ ;; Generate a `negative_mask` which is either numerically -1 or 0 depending on
1215
+ ;; if the lane is negative. If the lane is positive then the xor operation
1216
+ ;; won't change the lane but otherwise it'll bit-flip everything. By then
1217
+ ;; subtracting the mask this subtracts 0 for positive lanes (does nothing) or
1218
+ ;; ends up adding one for negative lanes. This means that for a negative lane
1219
+ ;; `x` the result is `!x + 1` which is the result of negating it.
1220
+ (rule (lower (has_type $I32X4 (iabs x)))
1221
+ (let (
1222
+ (x Xmm x)
1223
+ (negative_mask Xmm (x64_psrad x (xmi_imm 31)))
1224
+ (flipped_if_negative Xmm (x64_pxor x negative_mask))
1225
+ )
1226
+ (x64_psubd flipped_if_negative negative_mask)))
1227
+
1228
+ ;; When AVX512 is available, we can use a single `vpabsq` instruction.
1229
+ (rule 2 (lower (has_type $I64X2 (iabs x)))
1230
+ (if-let $true (use_avx512vl))
1231
+ (if-let $true (use_avx512f))
1232
+ (x64_vpabsq x))
1233
+
1234
+ ;; Otherwise, we use a separate register, `neg`, to contain the results of `0 -
1235
+ ;; x` and then blend in those results with `blendvpd` if the MSB of `neg` was
1236
+ ;; set to 1 (i.e. if `neg` was negative or, conversely, if `x` was originally
1237
+ ;; positive).
1238
+ (rule 1 (lower (has_type $I64X2 (iabs x)))
1239
+ (if-let $true (use_sse41))
1240
+ (let ((rx Xmm x)
1241
+ (neg Xmm (x64_psubq (imm $I64X2 0) rx)))
1242
+ (x64_blendvpd neg rx neg)))
1243
+
1244
+ ;; and if `blendvpd` isn't available then perform a shift/shuffle to generate a
1245
+ ;; mask of which lanes are negative, followed by flipping bits/sub to make both
1246
+ ;; positive.
1247
+ (rule (lower (has_type $I64X2 (iabs x)))
1248
+ (let ((x Xmm x)
1249
+ (signs Xmm (x64_psrad x (RegMemImm.Imm 31)))
1250
+ (signs Xmm (x64_pshufd signs 0b11_11_01_01))
1251
+ (xor_if_negative Xmm (x64_pxor x signs)))
1252
+ (x64_psubq xor_if_negative signs)))
1253
+
1254
+ ;; `i64` and smaller.
1255
+
1256
+ (rule -1 (lower (has_type (fits_in_64 ty) (iabs x)))
1257
+ (let ((src Gpr x)
1258
+ (neg ProducesFlags (x64_neg_paired ty src))
1259
+ ;; Manually extract the result from the neg, then ignore
1260
+ ;; it below, since we need to pass it into the cmove
1261
+ ;; before we pass the cmove to with_flags_reg.
1262
+ (neg_result Gpr (produces_flags_get_reg neg))
1263
+ ;; When the neg instruction sets the sign flag,
1264
+ ;; takes the original (non-negative) value.
1265
+ (cmove ConsumesFlags (cmove ty (CC.S) src neg_result)))
1266
+ (with_flags_reg (produces_flags_ignore neg) cmove)))
1267
+
1268
+ ;; `i128`. Negate the low bits, `adc` to the higher bits, then negate high bits.
1269
+ (rule (lower (has_type $I128 (iabs x)))
1270
+ ;; Get the high/low registers for `x`.
1271
+ (let ((x_regs ValueRegs x)
1272
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
1273
+ (x_hi Gpr (value_regs_get_gpr x_regs 1))
1274
+ ; negate low bits, then add 0 with carry to high bits.
1275
+ (neg_lo ProducesFlags (x64_neg_paired $I64 x_lo))
1276
+ (adc_hi ConsumesFlags (x64_adc_paired $I64 x_hi (imm $I64 0)))
1277
+ (neg_adc_vals ValueRegs (with_flags neg_lo adc_hi))
1278
+ ; negate high bits.
1279
+ (neg_hi ProducesFlags (x64_neg_paired $I64 (value_regs_get neg_adc_vals 1)))
1280
+ (neg_hi_flag_only ProducesFlags (produces_flags_ignore neg_hi))
1281
+ ; cmove based on sign flag from hi negation.
1282
+ (cmove_lo ConsumesFlags (cmove $I64 (CC.S) x_lo
1283
+ (value_regs_get neg_adc_vals 0)))
1284
+ (cmove_hi ConsumesFlags (cmove $I64 (CC.S) x_hi
1285
+ (produces_flags_get_reg neg_hi)))
1286
+ (cmoves ConsumesFlags (consumes_flags_concat cmove_lo cmove_hi)))
1287
+ (with_flags neg_hi_flag_only cmoves)))
1288
+
1289
+ ;;;; Rules for `fabs` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1290
+
1291
+ (rule (lower (has_type $F32 (fabs x)))
1292
+ (x64_andps x (imm $F32 0x7fffffff)))
1293
+
1294
+ (rule (lower (has_type $F64 (fabs x)))
1295
+ (x64_andpd x (imm $F64 0x7fffffffffffffff)))
1296
+
1297
+ ;; Special case for `f32x4.abs`.
1298
+ (rule (lower (has_type $F32X4 (fabs x)))
1299
+ (x64_andps x
1300
+ (x64_psrld (vector_all_ones) (xmi_imm 1))))
1301
+
1302
+ ;; Special case for `f64x2.abs`.
1303
+ (rule (lower (has_type $F64X2 (fabs x)))
1304
+ (x64_andpd x
1305
+ (x64_psrlq (vector_all_ones) (xmi_imm 1))))
1306
+
1307
+ ;;;; Rules for `fneg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1308
+
1309
+ (rule (lower (has_type $F32 (fneg x)))
1310
+ (x64_xorps x (imm $F32 0x80000000)))
1311
+
1312
+ (rule (lower (has_type $F64 (fneg x)))
1313
+ (x64_xorpd x (imm $F64 0x8000000000000000)))
1314
+
1315
+ (rule (lower (has_type $F32X4 (fneg x)))
1316
+ (x64_xorps x
1317
+ (x64_pslld (vector_all_ones) (xmi_imm 31))))
1318
+
1319
+ (rule (lower (has_type $F64X2 (fneg x)))
1320
+ (x64_xorpd x
1321
+ (x64_psllq (vector_all_ones) (xmi_imm 63))))
1322
+
1323
+ ;;;; Rules for `bmask` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1324
+
1325
+ (decl lower_bmask (Type Type ValueRegs) ValueRegs)
1326
+
1327
+ ;; Values that fit in a register
1328
+ ;;
1329
+ ;; Use the neg instruction on the input which sets the CF (carry) flag
1330
+ ;; to 0 if the input is 0 or 1 otherwise.
1331
+ ;; We then subtract the output register with itself, which always gives a 0,
1332
+ ;; however use the carry flag from the previous negate to generate a -1 if it
1333
+ ;; was nonzero.
1334
+ ;;
1335
+ ;; neg in_reg
1336
+ ;; sbb out_reg, out_reg
1337
+ (rule 0
1338
+ (lower_bmask (fits_in_64 out_ty) (fits_in_64 in_ty) val)
1339
+ (let ((reg Gpr (value_regs_get_gpr val 0))
1340
+ (out ValueRegs (with_flags
1341
+ (x64_neg_paired in_ty reg)
1342
+ (x64_sbb_paired out_ty reg reg))))
1343
+ ;; Extract only the output of the sbb instruction
1344
+ (value_reg (value_regs_get out 1))))
1345
+
1346
+
1347
+ ;; If the input type is I128 we can `or` the registers, and recurse to the general case.
1348
+ (rule 1
1349
+ (lower_bmask (fits_in_64 out_ty) $I128 val)
1350
+ (let ((lo Gpr (value_regs_get_gpr val 0))
1351
+ (hi Gpr (value_regs_get_gpr val 1))
1352
+ (mixed Gpr (x64_or $I64 lo hi)))
1353
+ (lower_bmask out_ty $I64 (value_reg mixed))))
1354
+
1355
+ ;; If the output type is I128 we just duplicate the result of the I64 lowering
1356
+ (rule 2
1357
+ (lower_bmask $I128 in_ty val)
1358
+ (let ((res ValueRegs (lower_bmask $I64 in_ty val))
1359
+ (res Gpr (value_regs_get_gpr res 0)))
1360
+ (value_regs res res)))
1361
+
1362
+
1363
+ ;; Call the lower_bmask rule that does all the procssing
1364
+ (rule (lower (has_type out_ty (bmask x @ (value_type in_ty))))
1365
+ (lower_bmask out_ty in_ty x))
1366
+
1367
+ ;;;; Rules for `bnot` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1368
+
1369
+ ;; `i64` and smaller.
1370
+
1371
+ (rule -2 (lower (has_type ty (bnot x)))
1372
+ (if (ty_int_ref_scalar_64 ty))
1373
+ (x64_not ty x))
1374
+
1375
+
1376
+ ;; `i128`.
1377
+
1378
+ (decl i128_not (Value) ValueRegs)
1379
+ (rule (i128_not x)
1380
+ (let ((x_regs ValueRegs x)
1381
+ (x_lo Gpr (value_regs_get_gpr x_regs 0))
1382
+ (x_hi Gpr (value_regs_get_gpr x_regs 1)))
1383
+ (value_gprs (x64_not $I64 x_lo)
1384
+ (x64_not $I64 x_hi))))
1385
+
1386
+ (rule (lower (has_type $I128 (bnot x)))
1387
+ (i128_not x))
1388
+
1389
+ ;; f32 and f64
1390
+
1391
+ (rule -3 (lower (has_type (ty_scalar_float ty) (bnot x)))
1392
+ (x64_xor_vector ty x (vector_all_ones)))
1393
+
1394
+ ;; Special case for vector-types where bit-negation is an xor against an
1395
+ ;; all-one value
1396
+ (rule -1 (lower (has_type ty @ (multi_lane _bits _lanes) (bnot x)))
1397
+ (x64_xor_vector ty x (vector_all_ones)))
1398
+
1399
+ ;;;; Rules for `bitselect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1400
+
1401
+ (rule (lower (has_type ty @ (multi_lane _bits _lanes)
1402
+ (bitselect condition
1403
+ if_true
1404
+ if_false)))
1405
+ ;; a = and if_true, condition
1406
+ ;; b = and_not condition, if_false
1407
+ ;; or b, a
1408
+ (let ((cond_xmm Xmm condition)
1409
+ (a Xmm (sse_and ty if_true cond_xmm))
1410
+ (b Xmm (sse_and_not ty cond_xmm if_false)))
1411
+ (sse_or ty b a)))
1412
+
1413
+ ;; If every byte of the condition is guaranteed to be all ones or all zeroes,
1414
+ ;; we can use x64_blend.
1415
+ (rule 1 (lower (has_type ty @ (multi_lane _bits _lanes)
1416
+ (bitselect condition
1417
+ if_true
1418
+ if_false)))
1419
+ (if-let $true (use_sse41))
1420
+ (if (all_ones_or_all_zeros condition))
1421
+ (x64_pblendvb if_false if_true condition))
1422
+
1423
+ (decl pure partial all_ones_or_all_zeros (Value) bool)
1424
+ (rule (all_ones_or_all_zeros (and (icmp _ _ _) (value_type (multi_lane _ _)))) $true)
1425
+ (rule (all_ones_or_all_zeros (and (fcmp _ _ _) (value_type (multi_lane _ _)))) $true)
1426
+ (rule (all_ones_or_all_zeros (vconst (vconst_all_ones_or_all_zeros))) $true)
1427
+
1428
+ (decl pure vconst_all_ones_or_all_zeros () Constant)
1429
+ (extern extractor vconst_all_ones_or_all_zeros vconst_all_ones_or_all_zeros)
1430
+
1431
+ ;; Specializations for floating-pointer compares to generate a `minp*` or a
1432
+ ;; `maxp*` instruction. These are equivalent to the wasm `f32x4.{pmin,pmax}`
1433
+ ;; instructions and how they're lowered into CLIF. Note the careful ordering
1434
+ ;; of all the operands here to ensure that the input CLIF matched is implemented
1435
+ ;; by the corresponding x64 instruction.
1436
+ (rule 2 (lower (has_type $F32X4 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) x y)) x y)))
1437
+ (x64_minps x y))
1438
+ (rule 2 (lower (has_type $F64X2 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) x y)) x y)))
1439
+ (x64_minpd x y))
1440
+
1441
+ (rule 3 (lower (has_type $F32X4 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) y x)) x y)))
1442
+ (x64_maxps x y))
1443
+ (rule 3 (lower (has_type $F64X2 (bitselect (bitcast _ (fcmp (FloatCC.LessThan) y x)) x y)))
1444
+ (x64_maxpd x y))
1445
+
1446
+ ;; Scalar rules
1447
+
1448
+ (rule 3 (lower (has_type $I128 (bitselect c t f)))
1449
+ (let ((a ValueRegs (and_i128 c t))
1450
+ (b ValueRegs (and_i128 (i128_not c) f)))
1451
+ (or_i128 a b)))
1452
+
1453
+ (rule 4 (lower (has_type (ty_int_ref_scalar_64 ty) (bitselect c t f)))
1454
+ (let ((a Gpr (x64_and ty c t))
1455
+ (b Gpr (x64_and ty (x64_not ty c) f)))
1456
+ (x64_or ty a b)))
1457
+
1458
+ (rule 5 (lower (has_type (ty_scalar_float ty) (bitselect c t f)))
1459
+ (let ((a Xmm (sse_and ty c t))
1460
+ (c_neg Xmm (x64_xor_vector ty c (vector_all_ones)))
1461
+ (b Xmm (sse_and ty c_neg f)))
1462
+ (sse_or ty a b)))
1463
+
1464
+ ;;;; Rules for `x86_blendv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1465
+
1466
+ (rule (lower (has_type $I8X16
1467
+ (x86_blendv condition if_true if_false)))
1468
+ (if-let $true (use_sse41))
1469
+ (x64_pblendvb if_false if_true condition))
1470
+
1471
+ (rule (lower (has_type $I32X4
1472
+ (x86_blendv condition if_true if_false)))
1473
+ (if-let $true (use_sse41))
1474
+ (x64_blendvps if_false if_true condition))
1475
+
1476
+ (rule (lower (has_type $I64X2
1477
+ (x86_blendv condition if_true if_false)))
1478
+ (if-let $true (use_sse41))
1479
+ (x64_blendvpd if_false if_true condition))
1480
+
1481
+ ;;;; Rules for `insertlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1482
+
1483
+ (rule (lower (insertlane vec @ (value_type ty) val (u8_from_uimm8 idx)))
1484
+ (vec_insert_lane ty vec val idx))
1485
+
1486
+ ;; Helper function used below for `insertlane` but also here for other
1487
+ ;; lowerings.
1488
+ ;;
1489
+ ;; Note that the `Type` used here is the type of vector the insertion is
1490
+ ;; happening into, or the type of the first `Reg` argument.
1491
+ (decl vec_insert_lane (Type Xmm RegMem u8) Xmm)
1492
+
1493
+ ;; i8x16.replace_lane
1494
+ (rule 1 (vec_insert_lane $I8X16 vec val idx)
1495
+ (if-let $true (use_sse41))
1496
+ (x64_pinsrb vec val idx))
1497
+
1498
+ ;; This lowering is particularly unoptimized and is mostly just here to work
1499
+ ;; rather than here to be fast. Requiring SSE 4.1 for the above lowering isn't
1500
+ ;; the end of the world hopefully as that's a pretty old instruction set, so
1501
+ ;; this is the "simplest" version that works on SSE2 for now.
1502
+ ;;
1503
+ ;; This lowering masks the original vector with a constant with all 1s except
1504
+ ;; for the "hole" where this value will get placed into, meaning the desired
1505
+ ;; lane is guaranteed as all 0s. Next the `val` is shuffled into this hole with
1506
+ ;; a few operations:
1507
+ ;;
1508
+ ;; 1. The `val` is zero-extended to 32-bits to guarantee the lower 32-bits
1509
+ ;; are all defined.
1510
+ ;; 2. An arithmetic shift-left is used with the low two bits of `n`, the
1511
+ ;; desired lane, to move the value into the right position within the 32-bit
1512
+ ;; register value.
1513
+ ;; 3. The 32-bit register is moved with `movd` into an XMM register
1514
+ ;; 4. The XMM register, where all lanes are 0 except for the first lane which
1515
+ ;; has the shifted value, is then shuffled with `pshufd` to move the
1516
+ ;; shifted value to the correct and final lane. This uses the upper two
1517
+ ;; bits of `n` to index the i32x4 lane that we're targeting.
1518
+ ;;
1519
+ ;; This all, laboriously, gets the `val` into the desired lane so it's then
1520
+ ;; `por`'d with the original vec-with-a-hole to produce the final result of the
1521
+ ;; insertion.
1522
+ (rule (vec_insert_lane $I8X16 vec val n)
1523
+ (let ((vec_with_hole Xmm (x64_pand vec (insert_i8x16_lane_hole n)))
1524
+ (val Gpr (x64_movzx (ExtMode.BL) val))
1525
+ (val Gpr (x64_shl $I32 val (Imm8Reg.Imm8 (u8_shl (u8_and n 3) 3))))
1526
+ (val Xmm (x64_movd_to_xmm val))
1527
+ (val_at_hole Xmm (x64_pshufd val (insert_i8x16_lane_pshufd_imm (u8_shr n 2)))))
1528
+ (x64_por vec_with_hole val_at_hole)))
1529
+
1530
+ (decl insert_i8x16_lane_hole (u8) VCodeConstant)
1531
+ (extern constructor insert_i8x16_lane_hole insert_i8x16_lane_hole)
1532
+ (decl insert_i8x16_lane_pshufd_imm (u8) u8)
1533
+ (rule (insert_i8x16_lane_pshufd_imm 0) 0b01_01_01_00)
1534
+ (rule (insert_i8x16_lane_pshufd_imm 1) 0b01_01_00_01)
1535
+ (rule (insert_i8x16_lane_pshufd_imm 2) 0b01_00_01_01)
1536
+ (rule (insert_i8x16_lane_pshufd_imm 3) 0b00_01_01_01)
1537
+
1538
+ ;; i16x8.replace_lane
1539
+ (rule (vec_insert_lane $I16X8 vec val idx)
1540
+ (x64_pinsrw vec val idx))
1541
+
1542
+ ;; i32x4.replace_lane
1543
+ (rule 1 (vec_insert_lane $I32X4 vec val idx)
1544
+ (if-let $true (use_sse41))
1545
+ (x64_pinsrd vec val idx))
1546
+
1547
+ (rule (vec_insert_lane $I32X4 vec val 0)
1548
+ (x64_movss_regmove vec (x64_movd_to_xmm val)))
1549
+
1550
+ ;; tmp = [ vec[1] vec[0] val[1] val[0] ]
1551
+ ;; result = [ vec[3] vec[2] tmp[0] tmp[2] ]
1552
+ (rule (vec_insert_lane $I32X4 vec val 1)
1553
+ (let ((val Xmm (x64_movd_to_xmm val))
1554
+ (vec Xmm vec))
1555
+ (x64_shufps (x64_punpcklqdq val vec) vec 0b11_10_00_10)))
1556
+
1557
+ ;; tmp = [ vec[0] vec[3] val[0] val[0] ]
1558
+ ;; result = [ tmp[2] tmp[0] vec[1] vec[0] ]
1559
+ (rule (vec_insert_lane $I32X4 vec val 2)
1560
+ (let ((val Xmm (x64_movd_to_xmm val))
1561
+ (vec Xmm vec))
1562
+ (x64_shufps vec (x64_shufps val vec 0b00_11_00_00) 0b10_00_01_00)))
1563
+
1564
+ ;; tmp = [ vec[3] vec[2] val[1] val[0] ]
1565
+ ;; result = [ tmp[0] tmp[2] vec[1] vec[0] ]
1566
+ (rule (vec_insert_lane $I32X4 vec val 3)
1567
+ (let ((val Xmm (x64_movd_to_xmm val))
1568
+ (vec Xmm vec))
1569
+ (x64_shufps vec (x64_shufps val vec 0b11_10_01_00) 0b00_10_01_00)))
1570
+
1571
+ ;; i64x2.replace_lane
1572
+ (rule 1 (vec_insert_lane $I64X2 vec val idx)
1573
+ (if-let $true (use_sse41))
1574
+ (x64_pinsrq vec val idx))
1575
+ (rule (vec_insert_lane $I64X2 vec val 0)
1576
+ (x64_movsd_regmove vec (x64_movq_to_xmm val)))
1577
+ (rule (vec_insert_lane $I64X2 vec val 1)
1578
+ (x64_punpcklqdq vec (x64_movq_to_xmm val)))
1579
+
1580
+ ;; f32x4.replace_lane
1581
+ (rule 1 (vec_insert_lane $F32X4 vec val idx)
1582
+ (if-let $true (use_sse41))
1583
+ (x64_insertps vec val (sse_insertps_lane_imm idx)))
1584
+
1585
+ ;; f32x4.replace_lane 0 - without insertps
1586
+ (rule (vec_insert_lane $F32X4 vec (RegMem.Reg val) 0)
1587
+ (x64_movss_regmove vec val))
1588
+
1589
+ ;; f32x4.replace_lane 1 - without insertps
1590
+ ;; tmp = [ vec[1] vec[0] val[1] val[0] ]
1591
+ ;; result = [ vec[3] vec[2] tmp[0] tmp[2] ]
1592
+ (rule (vec_insert_lane $F32X4 vec (RegMem.Reg val) 1)
1593
+ (let ((tmp Xmm (x64_movlhps val vec)))
1594
+ (x64_shufps tmp vec 0b11_10_00_10)))
1595
+
1596
+ ;; f32x4.replace_lane 2 - without insertps
1597
+ ;; tmp = [ vec[0] vec[3] val[0] val[0] ]
1598
+ ;; result = [ tmp[2] tmp[0] vec[1] vec[0] ]
1599
+ (rule (vec_insert_lane $F32X4 vec (RegMem.Reg val) 2)
1600
+ (let ((tmp Xmm (x64_shufps val vec 0b00_11_00_00)))
1601
+ (x64_shufps vec tmp 0b10_00_01_00)))
1602
+
1603
+ ;; f32x4.replace_lane 3 - without insertps
1604
+ ;; tmp = [ vec[3] vec[2] val[1] val[0] ]
1605
+ ;; result = [ tmp[0] tmp[2] vec[1] vec[0] ]
1606
+ (rule (vec_insert_lane $F32X4 vec (RegMem.Reg val) 3)
1607
+ (let ((tmp Xmm (x64_shufps val vec 0b11_10_01_00)))
1608
+ (x64_shufps vec tmp 0b00_10_01_00)))
1609
+
1610
+ ;; Recursively delegate to the above rules by loading from memory first.
1611
+ (rule (vec_insert_lane $F32X4 vec (RegMem.Mem addr) idx)
1612
+ (vec_insert_lane $F32X4 vec (x64_movss_load addr) idx))
1613
+
1614
+ ;; External rust code used to calculate the immediate value to `insertps`.
1615
+ (decl sse_insertps_lane_imm (u8) u8)
1616
+ (extern constructor sse_insertps_lane_imm sse_insertps_lane_imm)
1617
+
1618
+ ;; f64x2.replace_lane 0
1619
+ ;;
1620
+ ;; Here the `movsd` instruction is used specifically to specialize moving
1621
+ ;; into the fist lane where unlike above cases we're not using the lane
1622
+ ;; immediate as an immediate to the instruction itself.
1623
+ (rule (vec_insert_lane $F64X2 vec (RegMem.Reg val) 0)
1624
+ (x64_movsd_regmove vec val))
1625
+ (rule (vec_insert_lane $F64X2 vec (RegMem.Mem val) 0)
1626
+ (x64_movsd_regmove vec (x64_movsd_load val)))
1627
+
1628
+ ;; f64x2.replace_lane 1
1629
+ ;;
1630
+ ;; Here the `movlhps` instruction is used specifically to specialize moving
1631
+ ;; into the second lane where unlike above cases we're not using the lane
1632
+ ;; immediate as an immediate to the instruction itself.
1633
+ (rule (vec_insert_lane $F64X2 vec val 1)
1634
+ (x64_movlhps vec val))
1635
+
1636
+ ;;;; Rules for `smin`, `smax`, `umin`, `umax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1637
+
1638
+ ;; `i64` and smaller.
1639
+
1640
+ (decl cmp_and_choose (Type CC Value Value) ValueRegs)
1641
+ (rule (cmp_and_choose (fits_in_64 ty) cc x y)
1642
+ (let ((size OperandSize (raw_operand_size_of_type ty))
1643
+ ;; We need to put x and y in registers explicitly because
1644
+ ;; we use the values more than once. Hence, even if these
1645
+ ;; are "unique uses" at the CLIF level and would otherwise
1646
+ ;; allow for load-op merging, here we cannot do that.
1647
+ (x_reg Reg x)
1648
+ (y_reg Reg y))
1649
+ (with_flags_reg (x64_cmp size x_reg y_reg)
1650
+ (cmove ty cc y_reg x_reg))))
1651
+
1652
+ (rule -1 (lower (has_type (fits_in_64 ty) (umin x y)))
1653
+ (cmp_and_choose ty (CC.B) x y))
1654
+
1655
+ (rule -1 (lower (has_type (fits_in_64 ty) (umax x y)))
1656
+ (cmp_and_choose ty (CC.NB) x y))
1657
+
1658
+ (rule -1 (lower (has_type (fits_in_64 ty) (smin x y)))
1659
+ (cmp_and_choose ty (CC.L) x y))
1660
+
1661
+ (rule -1 (lower (has_type (fits_in_64 ty) (smax x y)))
1662
+ (cmp_and_choose ty (CC.NL) x y))
1663
+
1664
+ ;; SSE helpers for determining if single-instruction lowerings are available.
1665
+
1666
+ (decl pure has_pmins (Type) bool)
1667
+ (rule 1 (has_pmins $I16X8) $true)
1668
+ (rule 1 (has_pmins $I64X2) $false)
1669
+ (rule (has_pmins _) (use_sse41))
1670
+
1671
+ (decl pure has_pmaxs (Type) bool)
1672
+ (rule 1 (has_pmaxs $I16X8) $true)
1673
+ (rule 1 (has_pmaxs $I64X2) $false)
1674
+ (rule (has_pmaxs _) (use_sse41))
1675
+
1676
+ (decl pure has_pmaxu (Type) bool)
1677
+ (rule 1 (has_pmaxu $I8X16) $true)
1678
+ (rule 1 (has_pmaxu $I64X2) $false)
1679
+ (rule (has_pmaxu _) (use_sse41))
1680
+
1681
+ (decl pure has_pminu (Type) bool)
1682
+ (rule 1 (has_pminu $I8X16) $true)
1683
+ (rule 1 (has_pminu $I64X2) $false)
1684
+ (rule (has_pminu _) (use_sse41))
1685
+
1686
+ ;; SSE `smax`.
1687
+
1688
+ (rule (lower (has_type (ty_vec128 ty) (smax x y)))
1689
+ (lower_vec_smax ty x y))
1690
+
1691
+ (decl lower_vec_smax (Type Xmm Xmm) Xmm)
1692
+ (rule 1 (lower_vec_smax ty x y)
1693
+ (if-let $true (has_pmaxs ty))
1694
+ (x64_pmaxs ty x y))
1695
+
1696
+ (rule (lower_vec_smax ty x y)
1697
+ (let (
1698
+ (x Xmm x)
1699
+ (y Xmm y)
1700
+ (cmp Xmm (x64_pcmpgt ty x y))
1701
+ (x_is_max Xmm (x64_pand cmp x))
1702
+ (y_is_max Xmm (x64_pandn cmp y))
1703
+ )
1704
+ (x64_por x_is_max y_is_max)))
1705
+
1706
+ ;; SSE `smin`.
1707
+
1708
+ (rule 1 (lower (has_type (ty_vec128 ty) (smin x y)))
1709
+ (if-let $true (has_pmins ty))
1710
+ (x64_pmins ty x y))
1711
+
1712
+ (rule (lower (has_type (ty_vec128 ty) (smin x y)))
1713
+ (let (
1714
+ (x Xmm x)
1715
+ (y Xmm y)
1716
+ (cmp Xmm (x64_pcmpgt ty y x))
1717
+ (x_is_min Xmm (x64_pand cmp x))
1718
+ (y_is_min Xmm (x64_pandn cmp y))
1719
+ )
1720
+ (x64_por x_is_min y_is_min)))
1721
+
1722
+ ;; SSE `umax`.
1723
+
1724
+ (rule 2 (lower (has_type (ty_vec128 ty) (umax x y)))
1725
+ (if-let $true (has_pmaxu ty))
1726
+ (x64_pmaxu ty x y))
1727
+
1728
+ ;; If y < x then the saturating subtraction will be zero, otherwise when added
1729
+ ;; back to x it'll return y.
1730
+ (rule 1 (lower (has_type $I16X8 (umax x y)))
1731
+ (let ((x Xmm x))
1732
+ (x64_paddw x (x64_psubusw y x))))
1733
+
1734
+ ;; Flip the upper bits of each lane so the signed comparison has the same
1735
+ ;; result as a signed comparison, and then select the results with the output
1736
+ ;; mask. See `pcmpgt` lowering for info on flipping the upper bit.
1737
+ (rule (lower (has_type (ty_vec128 ty) (umax x y)))
1738
+ (let (
1739
+ (x Xmm x)
1740
+ (y Xmm y)
1741
+ (mask Xmm (flip_high_bit_mask ty))
1742
+ (x_masked Xmm (x64_pxor x mask))
1743
+ (y_masked Xmm (x64_pxor y mask))
1744
+ (cmp Xmm (x64_pcmpgt ty x_masked y_masked))
1745
+ (x_is_max Xmm (x64_pand cmp x))
1746
+ (y_is_max Xmm (x64_pandn cmp y))
1747
+ )
1748
+ (x64_por x_is_max y_is_max)))
1749
+
1750
+ (decl flip_high_bit_mask (Type) Xmm)
1751
+ (rule (flip_high_bit_mask $I16X8)
1752
+ (x64_movdqu_load (emit_u128_le_const 0x8000_8000_8000_8000_8000_8000_8000_8000)))
1753
+ (rule (flip_high_bit_mask $I32X4)
1754
+ (x64_movdqu_load (emit_u128_le_const 0x80000000_80000000_80000000_80000000)))
1755
+ (rule (flip_high_bit_mask $I64X2)
1756
+ (x64_movdqu_load (emit_u128_le_const 0x8000000000000000_8000000000000000)))
1757
+
1758
+ ;; SSE `umin`.
1759
+
1760
+ (rule 2 (lower (has_type (ty_vec128 ty) (umin x y)))
1761
+ (if-let $true (has_pminu ty))
1762
+ (x64_pminu ty x y))
1763
+
1764
+ ;; If x < y then the saturating subtraction will be 0. Otherwise if x > y then
1765
+ ;; the saturated result, when subtracted again, will go back to `y`.
1766
+ (rule 1 (lower (has_type $I16X8 (umin x y)))
1767
+ (let ((x Xmm x))
1768
+ (x64_psubw x (x64_psubusw x y))))
1769
+
1770
+ ;; Same as `umax`, and see `pcmpgt` for docs on flipping the upper bit.
1771
+ (rule (lower (has_type (ty_vec128 ty) (umin x y)))
1772
+ (let (
1773
+ (x Xmm x)
1774
+ (y Xmm y)
1775
+ (mask Xmm (flip_high_bit_mask ty))
1776
+ (x_masked Xmm (x64_pxor x mask))
1777
+ (y_masked Xmm (x64_pxor y mask))
1778
+ (cmp Xmm (x64_pcmpgt ty y_masked x_masked))
1779
+ (x_is_max Xmm (x64_pand cmp x))
1780
+ (y_is_max Xmm (x64_pandn cmp y))
1781
+ )
1782
+ (x64_por x_is_max y_is_max)))
1783
+
1784
+ ;;;; Rules for `trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1785
+
1786
+ (rule (lower (trap code))
1787
+ (side_effect (x64_ud2 code)))
1788
+
1789
+ ;;;; Rules for `uadd_overflow_trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1790
+
1791
+ (rule (lower (has_type (fits_in_64 ty) (uadd_overflow_trap a b tc)))
1792
+ (with_flags
1793
+ (x64_add_with_flags_paired ty a b)
1794
+ (trap_if (CC.B) tc)))
1795
+
1796
+ ;; Handle lhs immediates/sinkable loads in addition to the automatic rhs
1797
+ ;; handling of above.
1798
+
1799
+ (rule 1 (lower (has_type (fits_in_64 ty)
1800
+ (uadd_overflow_trap (simm32_from_value a) b tc)))
1801
+ (with_flags
1802
+ (x64_add_with_flags_paired ty b a)
1803
+ (trap_if (CC.B) tc)))
1804
+
1805
+ (rule 2 (lower (has_type (fits_in_64 ty)
1806
+ (uadd_overflow_trap (sinkable_load a) b tc)))
1807
+ (with_flags
1808
+ (x64_add_with_flags_paired ty b a)
1809
+ (trap_if (CC.B) tc)))
1810
+
1811
+ ;;;; Rules for `resumable_trap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1812
+
1813
+ (rule (lower (resumable_trap code))
1814
+ (side_effect (x64_ud2 code)))
1815
+
1816
+ ;;;; Rules for `return` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1817
+
1818
+ ;; N.B.: the Ret itself is generated by the ABI.
1819
+ (rule (lower (return args))
1820
+ (lower_return args))
1821
+
1822
+ ;;;; Rules for `icmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1823
+
1824
+ (rule -2 (lower (icmp cc a @ (value_type (fits_in_64 ty)) b))
1825
+ (lower_icmp_bool (emit_cmp cc a b)))
1826
+
1827
+ (rule -1 (lower (icmp cc a @ (value_type $I128) b))
1828
+ (lower_icmp_bool (emit_cmp cc a b)))
1829
+
1830
+ ;; Peephole optimization for `x < 0`, when x is a signed 64 bit value
1831
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThan) x @ (value_type $I64) (u64_from_iconst 0))))
1832
+ (x64_shr $I64 x (Imm8Reg.Imm8 63)))
1833
+
1834
+ ;; Peephole optimization for `0 > x`, when x is a signed 64 bit value
1835
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThan) (u64_from_iconst 0) x @ (value_type $I64))))
1836
+ (x64_shr $I64 x (Imm8Reg.Imm8 63)))
1837
+
1838
+ ;; Peephole optimization for `0 <= x`, when x is a signed 64 bit value
1839
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThanOrEqual) (u64_from_iconst 0) x @ (value_type $I64))))
1840
+ (x64_shr $I64 (x64_not $I64 x) (Imm8Reg.Imm8 63)))
1841
+
1842
+ ;; Peephole optimization for `x >= 0`, when x is a signed 64 bit value
1843
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThanOrEqual) x @ (value_type $I64) (u64_from_iconst 0))))
1844
+ (x64_shr $I64 (x64_not $I64 x) (Imm8Reg.Imm8 63)))
1845
+
1846
+ ;; Peephole optimization for `x < 0`, when x is a signed 32 bit value
1847
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThan) x @ (value_type $I32) (u64_from_iconst 0))))
1848
+ (x64_shr $I32 x (Imm8Reg.Imm8 31)))
1849
+
1850
+ ;; Peephole optimization for `0 > x`, when x is a signed 32 bit value
1851
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThan) (u64_from_iconst 0) x @ (value_type $I32))))
1852
+ (x64_shr $I32 x (Imm8Reg.Imm8 31)))
1853
+
1854
+ ;; Peephole optimization for `0 <= x`, when x is a signed 32 bit value
1855
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedLessThanOrEqual) (u64_from_iconst 0) x @ (value_type $I32))))
1856
+ (x64_shr $I32 (x64_not $I64 x) (Imm8Reg.Imm8 31)))
1857
+
1858
+ ;; Peephole optimization for `x >= 0`, when x is a signed 32 bit value
1859
+ (rule 2 (lower (has_type $I8 (icmp (IntCC.SignedGreaterThanOrEqual) x @ (value_type $I32) (u64_from_iconst 0))))
1860
+ (x64_shr $I32 (x64_not $I64 x) (Imm8Reg.Imm8 31)))
1861
+
1862
+ ;; For XMM-held values, we lower to `PCMP*` instructions, sometimes more than
1863
+ ;; one. To note: what is different here about the output values is that each
1864
+ ;; lane will be filled with all 1s or all 0s according to the comparison,
1865
+ ;; whereas for GPR-held values, the result will be simply 0 or 1 (upper bits
1866
+ ;; unset).
1867
+ (rule (lower (icmp (IntCC.Equal) a @ (value_type (ty_vec128 ty)) b))
1868
+ (x64_pcmpeq ty a b))
1869
+
1870
+ ;; To lower a not-equals comparison, we perform an equality comparison
1871
+ ;; (PCMPEQ*) and then invert the bits (PXOR with all 1s).
1872
+ (rule (lower (icmp (IntCC.NotEqual) a @ (value_type (ty_vec128 ty)) b))
1873
+ (let ((checked Xmm (x64_pcmpeq ty a b))
1874
+ (all_ones Xmm (vector_all_ones)))
1875
+ (x64_pxor checked all_ones)))
1876
+
1877
+ ;; SSE `sgt`
1878
+
1879
+ (rule (lower (icmp (IntCC.SignedGreaterThan) a @ (value_type (ty_vec128 ty)) b))
1880
+ (x64_pcmpgt ty a b))
1881
+
1882
+ ;; SSE `slt`
1883
+
1884
+ (rule (lower (icmp (IntCC.SignedLessThan) a @ (value_type (ty_vec128 ty)) b))
1885
+ (x64_pcmpgt ty b a))
1886
+
1887
+ ;; SSE `ugt`
1888
+
1889
+ ;; N.B.: we must manually prevent load coalescing operands; the
1890
+ ;; register allocator gets confused otherwise.
1891
+ (rule 1 (lower (icmp (IntCC.UnsignedGreaterThan) a @ (value_type (ty_vec128 ty)) b))
1892
+ (if-let $true (has_pmaxu ty))
1893
+ (let ((a Xmm a)
1894
+ (b Xmm b)
1895
+ (max Xmm (x64_pmaxu ty a b))
1896
+ (eq Xmm (x64_pcmpeq ty max b)))
1897
+ (x64_pxor eq (vector_all_ones))))
1898
+
1899
+ ;; Flip the upper bit of each lane so the result of a signed comparison is the
1900
+ ;; same as the result of an unsigned comparison (see docs on `pcmpgt` for more)
1901
+ (rule (lower (icmp (IntCC.UnsignedGreaterThan) a @ (value_type (ty_vec128 ty)) b))
1902
+ (let ((mask Xmm (flip_high_bit_mask ty))
1903
+ (a_masked Xmm (x64_pxor a mask))
1904
+ (b_masked Xmm (x64_pxor b mask)))
1905
+ (x64_pcmpgt ty a_masked b_masked)))
1906
+
1907
+ ;; SSE `ult`
1908
+
1909
+ (rule 1 (lower (icmp (IntCC.UnsignedLessThan) a @ (value_type (ty_vec128 ty)) b))
1910
+ (if-let $true (has_pminu ty))
1911
+ ;; N.B.: see note above.
1912
+ (let ((a Xmm a)
1913
+ (b Xmm b)
1914
+ (min Xmm (x64_pminu ty a b))
1915
+ (eq Xmm (x64_pcmpeq ty min b)))
1916
+ (x64_pxor eq (vector_all_ones))))
1917
+
1918
+ ;; Flip the upper bit of `a` and `b` so the signed comparison result will
1919
+ ;; be the same as the unsigned comparison result (see docs on `pcmpgt` for more).
1920
+ (rule (lower (icmp (IntCC.UnsignedLessThan) a @ (value_type (ty_vec128 ty)) b))
1921
+ (let ((mask Xmm (flip_high_bit_mask ty))
1922
+ (a_masked Xmm (x64_pxor a mask))
1923
+ (b_masked Xmm (x64_pxor b mask)))
1924
+ (x64_pcmpgt ty b_masked a_masked)))
1925
+
1926
+ ;; SSE `sge`
1927
+
1928
+ ;; Use `pmaxs*` and compare the result to `a` to see if it's `>= b`.
1929
+ (rule 1 (lower (icmp (IntCC.SignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1930
+ (if-let $true (has_pmaxs ty))
1931
+ (x64_pcmpeq ty a (x64_pmaxs ty a b)))
1932
+
1933
+ ;; Without `pmaxs*` use a `pcmpgt*` with reversed operands and invert the
1934
+ ;; result.
1935
+ (rule (lower (icmp (IntCC.SignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1936
+ (x64_pxor (x64_pcmpgt ty b a) (vector_all_ones)))
1937
+
1938
+ ;; SSE `sle`
1939
+
1940
+ ;; With `pmins*` use that and compare the result to `a`.
1941
+ (rule 1 (lower (icmp (IntCC.SignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1942
+ (if-let $true (has_pmins ty))
1943
+ (x64_pcmpeq ty a (x64_pmins ty a b)))
1944
+
1945
+ ;; Without `pmins*` perform a greater-than test and invert the result.
1946
+ (rule (lower (icmp (IntCC.SignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1947
+ (x64_pxor (x64_pcmpgt ty a b) (vector_all_ones)))
1948
+
1949
+ ;; SSE `uge`
1950
+
1951
+ (rule 2 (lower (icmp (IntCC.UnsignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1952
+ (if-let $true (has_pmaxu ty))
1953
+ (x64_pcmpeq ty a (x64_pmaxu ty a b)))
1954
+
1955
+ ;; Perform a saturating subtract of `a` from `b` and if the result is zero then
1956
+ ;; `a` is greater or equal.
1957
+ (rule 1 (lower (icmp (IntCC.UnsignedGreaterThanOrEqual) a @ (value_type $I16X8) b))
1958
+ (x64_pcmpeqw (x64_psubusw b a) (xmm_zero $I16X8)))
1959
+
1960
+ ;; Flip the upper bit of each lane so the signed comparison is the same as
1961
+ ;; an unsigned one and then invert the result. See docs on `pcmpgt` for why
1962
+ ;; flipping the upper bit works.
1963
+ (rule (lower (icmp (IntCC.UnsignedGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1964
+ (let (
1965
+ (mask Xmm (flip_high_bit_mask ty))
1966
+ (a_masked Xmm (x64_pxor a mask))
1967
+ (b_masked Xmm (x64_pxor b mask))
1968
+ (cmp Xmm (x64_pcmpgt ty b_masked a_masked))
1969
+ )
1970
+ (x64_pxor cmp (vector_all_ones))))
1971
+
1972
+ ;; SSE `ule`
1973
+
1974
+ (rule 2 (lower (icmp (IntCC.UnsignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1975
+ (if-let $true (has_pminu ty))
1976
+ (x64_pcmpeq ty a (x64_pminu ty a b)))
1977
+
1978
+ ;; A saturating subtraction will produce zeros if `a` is less than `b`, so
1979
+ ;; compare that result to an all-zeros result to figure out lanes of `a` that
1980
+ ;; are <= to the lanes in `b`
1981
+ (rule 1 (lower (icmp (IntCC.UnsignedLessThanOrEqual) a @ (value_type $I16X8) b))
1982
+ (let ((zeros_if_a_is_min Xmm (x64_psubusw a b)))
1983
+ (x64_pcmpeqw zeros_if_a_is_min (xmm_zero $I8X16))))
1984
+
1985
+ ;; Flip the upper bit of each lane in `a` and `b` so a signed comparison
1986
+ ;; produces the same result as an unsigned comparison. Then test test for `gt`
1987
+ ;; and invert the result to get the `le` that is desired here. See docs on
1988
+ ;; `pcmpgt` for why flipping the upper bit works.
1989
+ (rule (lower (icmp (IntCC.UnsignedLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
1990
+ (let (
1991
+ (mask Xmm (flip_high_bit_mask ty))
1992
+ (a_masked Xmm (x64_pxor a mask))
1993
+ (b_masked Xmm (x64_pxor b mask))
1994
+ (cmp Xmm (x64_pcmpgt ty a_masked b_masked))
1995
+ )
1996
+ (x64_pxor cmp (vector_all_ones))))
1997
+
1998
+ ;;;; Rules for `fcmp` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1999
+
2000
+ ;; CLIF's `fcmp` instruction always operates on XMM registers--both scalar and
2001
+ ;; vector. For the scalar versions, we use the flag-setting behavior of the
2002
+ ;; `UCOMIS*` instruction to `SETcc` a 0 or 1 in a GPR register. Note that CLIF's
2003
+ ;; `select` uses the same kind of flag-setting behavior but chooses values other
2004
+ ;; than 0 or 1.
2005
+ ;;
2006
+ ;; Checking the result of `UCOMIS*` is unfortunately difficult in some cases
2007
+ ;; because we do not have `SETcc` instructions that explicitly check
2008
+ ;; simultaneously for the condition (i.e., `eq`, `le`, `gt`, etc.) *and*
2009
+ ;; orderedness. Instead, we must check the flags multiple times. The UCOMIS*
2010
+ ;; documentation (see Intel's Software Developer's Manual, volume 2, chapter 4)
2011
+ ;; is helpful:
2012
+ ;; - unordered assigns Z = 1, P = 1, C = 1
2013
+ ;; - greater than assigns Z = 0, P = 0, C = 0
2014
+ ;; - less than assigns Z = 0, P = 0, C = 1
2015
+ ;; - equal assigns Z = 1, P = 0, C = 0
2016
+
2017
+ (rule -1 (lower (fcmp cc a @ (value_type (ty_scalar_float ty)) b))
2018
+ (lower_fcmp_bool (emit_fcmp cc a b)))
2019
+
2020
+ ;; For vector lowerings, we use `CMPP*` instructions with a 3-bit operand that
2021
+ ;; determines the comparison to make. Note that comparisons that succeed will
2022
+ ;; fill the lane with 1s; comparisons that do not will fill the lane with 0s.
2023
+
2024
+ (rule (lower (fcmp (FloatCC.Equal) a @ (value_type (ty_vec128 ty)) b))
2025
+ (x64_cmpp ty a b (FcmpImm.Equal)))
2026
+ (rule (lower (fcmp (FloatCC.NotEqual) a @ (value_type (ty_vec128 ty)) b))
2027
+ (x64_cmpp ty a b (FcmpImm.NotEqual)))
2028
+ (rule (lower (fcmp (FloatCC.LessThan) a @ (value_type (ty_vec128 ty)) b))
2029
+ (x64_cmpp ty a b (FcmpImm.LessThan)))
2030
+ (rule (lower (fcmp (FloatCC.LessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2031
+ (x64_cmpp ty a b (FcmpImm.LessThanOrEqual)))
2032
+ (rule (lower (fcmp (FloatCC.Ordered) a @ (value_type (ty_vec128 ty)) b))
2033
+ (x64_cmpp ty a b (FcmpImm.Ordered)))
2034
+ (rule (lower (fcmp (FloatCC.Unordered) a @ (value_type (ty_vec128 ty)) b))
2035
+ (x64_cmpp ty a b (FcmpImm.Unordered)))
2036
+ (rule (lower (fcmp (FloatCC.UnorderedOrGreaterThan) a @ (value_type (ty_vec128 ty)) b))
2037
+ (x64_cmpp ty a b (FcmpImm.UnorderedOrGreaterThan)))
2038
+ (rule (lower (fcmp (FloatCC.UnorderedOrGreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2039
+ (x64_cmpp ty a b (FcmpImm.UnorderedOrGreaterThanOrEqual)))
2040
+
2041
+ ;; Some vector lowerings rely on flipping the operands and using a reversed
2042
+ ;; comparison code.
2043
+
2044
+ (rule (lower (fcmp (FloatCC.GreaterThan) a @ (value_type (ty_vec128 ty)) b))
2045
+ (x64_cmpp ty b a (FcmpImm.LessThan)))
2046
+ (rule (lower (fcmp (FloatCC.GreaterThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2047
+ (x64_cmpp ty b a (FcmpImm.LessThanOrEqual)))
2048
+ (rule (lower (fcmp (FloatCC.UnorderedOrLessThan) a @ (value_type (ty_vec128 ty)) b))
2049
+ (x64_cmpp ty b a (FcmpImm.UnorderedOrGreaterThan)))
2050
+ (rule (lower (fcmp (FloatCC.UnorderedOrLessThanOrEqual) a @ (value_type (ty_vec128 ty)) b))
2051
+ (x64_cmpp ty b a (FcmpImm.UnorderedOrGreaterThanOrEqual)))
2052
+
2053
+ ;; Some vector lowerings are simply not supported for certain codes:
2054
+ ;; - FloatCC::OrderedNotEqual
2055
+ ;; - FloatCC::UnorderedOrEqual
2056
+
2057
+ ;;;; Rules for `select` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2058
+
2059
+ ;; When a `select` has an `fcmp` as a condition then rely on `emit_fcmp` to
2060
+ ;; figure out how to perform the comparison.
2061
+ ;;
2062
+ ;; Note, though, that the `FloatCC.Equal` requires an "and" to happen for two
2063
+ ;; condition codes which isn't the easiest thing to lower to a `cmove`
2064
+ ;; instruction. For this reason a `select (fcmp eq ..) ..` is instead
2065
+ ;; flipped around to be `select (fcmp ne ..) ..` with all operands reversed.
2066
+ ;; This will produce a `FcmpCondResult.OrCondition` which is easier to codegen
2067
+ ;; for.
2068
+ (rule (lower (has_type ty (select (maybe_uextend (fcmp cc a b)) x y)))
2069
+ (lower_select_fcmp ty (emit_fcmp cc a b) x y))
2070
+ (rule 1 (lower (has_type ty (select (maybe_uextend (fcmp (FloatCC.Equal) a b)) x y)))
2071
+ (lower_select_fcmp ty (emit_fcmp (FloatCC.NotEqual) a b) y x))
2072
+
2073
+ (decl lower_select_fcmp (Type FcmpCondResult Value Value) InstOutput)
2074
+ (rule (lower_select_fcmp ty (FcmpCondResult.Condition flags cc) x y)
2075
+ (with_flags flags (cmove_from_values ty cc x y)))
2076
+ (rule (lower_select_fcmp ty (FcmpCondResult.OrCondition flags cc1 cc2) x y)
2077
+ (with_flags flags (cmove_or_from_values ty cc1 cc2 x y)))
2078
+
2079
+ ;; We also can lower `select`s that depend on an `icmp` test, but more simply
2080
+ ;; than the `fcmp` variants above. In these cases, we lower to a `CMP`
2081
+ ;; instruction plus a `CMOV`; recall that `cmove_from_values` here may emit more
2082
+ ;; than one instruction for certain types (e.g., XMM-held, I128).
2083
+
2084
+ (rule (lower (has_type ty (select (maybe_uextend (icmp cc a @ (value_type (fits_in_64 a_ty)) b)) x y)))
2085
+ (lower_select_icmp ty (emit_cmp cc a b) x y))
2086
+
2087
+ ;; Finally, we lower `select` from a condition value `c`. These rules are meant
2088
+ ;; to be the final, default lowerings if no other patterns matched above.
2089
+
2090
+ (rule -1 (lower (has_type ty (select c @ (value_type (fits_in_64 a_ty)) x y)))
2091
+ (let ((size OperandSize (raw_operand_size_of_type a_ty))
2092
+ ;; N.B.: disallow load-op fusion, see above. TODO:
2093
+ ;; https://github.com/bytecodealliance/wasmtime/issues/3953.
2094
+ (gpr_c Gpr (put_in_gpr c)))
2095
+ (with_flags (x64_test size gpr_c gpr_c) (cmove_from_values ty (CC.NZ) x y))))
2096
+
2097
+ (rule -2 (lower (has_type ty (select c @ (value_type $I128) x y)))
2098
+ (let ((cond_result IcmpCondResult (cmp_zero_i128 (CC.Z) c)))
2099
+ (select_icmp cond_result x y)))
2100
+
2101
+ (decl lower_select_icmp (Type IcmpCondResult Value Value) InstOutput)
2102
+ (rule (lower_select_icmp ty (IcmpCondResult.Condition flags cc) x y)
2103
+ (with_flags flags (cmove_from_values ty cc x y)))
2104
+
2105
+ ;; Specializations for floating-point compares to generate a `mins*` or a
2106
+ ;; `maxs*` instruction. These are equivalent to the "pseudo-m{in,ax}"
2107
+ ;; specializations for vectors.
2108
+ (rule 2 (lower (has_type $F32 (select (maybe_uextend (fcmp (FloatCC.LessThan) x y)) x y)))
2109
+ (x64_minss x y))
2110
+ (rule 2 (lower (has_type $F64 (select (maybe_uextend (fcmp (FloatCC.LessThan) x y)) x y)))
2111
+ (x64_minsd x y))
2112
+ (rule 3 (lower (has_type $F32 (select (maybe_uextend (fcmp (FloatCC.LessThan) y x)) x y)))
2113
+ (x64_maxss x y))
2114
+ (rule 3 (lower (has_type $F64 (select (maybe_uextend (fcmp (FloatCC.LessThan) y x)) x y)))
2115
+ (x64_maxsd x y))
2116
+
2117
+ ;; Rules for `clz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2118
+
2119
+ ;; If available, we can use a plain lzcnt instruction here. Note no
2120
+ ;; special handling is required for zero inputs, because the machine
2121
+ ;; instruction does what the CLIF expects for zero, i.e. it returns
2122
+ ;; zero.
2123
+ (rule 3 (lower (has_type (ty_32_or_64 ty) (clz src)))
2124
+ (if-let $true (use_lzcnt))
2125
+ (x64_lzcnt ty src))
2126
+
2127
+ (rule 2 (lower (has_type (ty_32_or_64 ty) (clz src)))
2128
+ (do_clz ty ty src))
2129
+
2130
+ (rule 1 (lower
2131
+ (has_type (ty_8_or_16 ty)
2132
+ (clz src)))
2133
+ (do_clz $I32 ty (extend_to_gpr src $I32 (ExtendKind.Zero))))
2134
+
2135
+ (rule 0 (lower
2136
+ (has_type $I128
2137
+ (clz src)))
2138
+ (let ((upper Gpr (do_clz $I64 $I64 (value_regs_get_gpr src 1)))
2139
+ (lower Gpr (x64_add $I64
2140
+ (do_clz $I64 $I64 (value_regs_get_gpr src 0))
2141
+ (RegMemImm.Imm 64)))
2142
+ (result_lo Gpr
2143
+ (with_flags_reg
2144
+ (x64_cmp_imm (OperandSize.Size64) 64 upper)
2145
+ (cmove $I64 (CC.NZ) upper lower))))
2146
+ (value_regs result_lo (imm $I64 0))))
2147
+
2148
+ ;; Implementation helper for clz; operates on 32 or 64-bit units.
2149
+ (decl do_clz (Type Type Gpr) Gpr)
2150
+ (rule (do_clz ty orig_ty src)
2151
+ (let ((highest_bit_index Reg (bsr_or_else ty src (imm_i64 $I64 -1)))
2152
+ (bits_minus_1 Reg (imm ty (u64_sub (ty_bits_u64 orig_ty) 1))))
2153
+ (x64_sub ty bits_minus_1 highest_bit_index)))
2154
+
2155
+ ;; Rules for `ctz` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2156
+
2157
+ ;; Analogous to `clz` cases above, but using mirror instructions
2158
+ ;; (tzcnt vs lzcnt, bsf vs bsr).
2159
+
2160
+ (rule 3 (lower (has_type (ty_32_or_64 ty) (ctz src)))
2161
+ (if-let $true (use_bmi1))
2162
+ (x64_tzcnt ty src))
2163
+
2164
+ (rule 2 (lower (has_type (ty_32_or_64 ty) (ctz src)))
2165
+ (do_ctz ty ty src))
2166
+
2167
+ (rule 1 (lower
2168
+ (has_type (ty_8_or_16 ty)
2169
+ (ctz src)))
2170
+ (do_ctz $I32 ty (extend_to_gpr src $I32 (ExtendKind.Zero))))
2171
+
2172
+ (rule 0 (lower
2173
+ (has_type $I128
2174
+ (ctz src)))
2175
+ (let ((lower Gpr (do_ctz $I64 $I64 (value_regs_get_gpr src 0)))
2176
+ (upper Gpr (x64_add $I64
2177
+ (do_ctz $I64 $I64 (value_regs_get_gpr src 1))
2178
+ (RegMemImm.Imm 64)))
2179
+ (result_lo Gpr
2180
+ (with_flags_reg
2181
+ (x64_cmp_imm (OperandSize.Size64) 64 lower)
2182
+ (cmove $I64 (CC.Z) upper lower))))
2183
+ (value_regs result_lo (imm $I64 0))))
2184
+
2185
+ (decl do_ctz (Type Type Gpr) Gpr)
2186
+ (rule (do_ctz ty orig_ty src)
2187
+ (bsf_or_else ty src (imm $I64 (ty_bits_u64 orig_ty))))
2188
+
2189
+ ;; Rules for `popcnt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2190
+
2191
+ (rule 4 (lower (has_type (ty_32_or_64 ty) (popcnt src)))
2192
+ (if-let $true (use_popcnt))
2193
+ (x64_popcnt ty src))
2194
+
2195
+ (rule 3 (lower (has_type (ty_8_or_16 ty) (popcnt src)))
2196
+ (if-let $true (use_popcnt))
2197
+ (x64_popcnt $I32 (extend_to_gpr src $I32 (ExtendKind.Zero))))
2198
+
2199
+ (rule 1 (lower (has_type $I128 (popcnt src)))
2200
+ (if-let $true (use_popcnt))
2201
+ (let ((lo_count Gpr (x64_popcnt $I64 (value_regs_get_gpr src 0)))
2202
+ (hi_count Gpr (x64_popcnt $I64 (value_regs_get_gpr src 1))))
2203
+ (value_regs (x64_add $I64 lo_count hi_count) (imm $I64 0))))
2204
+
2205
+ (rule -1 (lower
2206
+ (has_type (ty_32_or_64 ty)
2207
+ (popcnt src)))
2208
+ (do_popcnt ty src))
2209
+
2210
+ (rule -2 (lower
2211
+ (has_type (ty_8_or_16 ty)
2212
+ (popcnt src)))
2213
+ (do_popcnt $I32 (extend_to_gpr src $I32 (ExtendKind.Zero))))
2214
+
2215
+ (rule (lower
2216
+ (has_type $I128
2217
+ (popcnt src)))
2218
+ (let ((lo_count Gpr (do_popcnt $I64 (value_regs_get_gpr src 0)))
2219
+ (hi_count Gpr (do_popcnt $I64 (value_regs_get_gpr src 1))))
2220
+ (value_regs (x64_add $I64 lo_count hi_count) (imm $I64 0))))
2221
+
2222
+ ;; Implementation of popcount when we don't nave a native popcount
2223
+ ;; instruction.
2224
+ (decl do_popcnt (Type Gpr) Gpr)
2225
+ (rule (do_popcnt $I64 src)
2226
+ (let ((shifted1 Gpr (x64_shr $I64 src (Imm8Reg.Imm8 1)))
2227
+ (sevens Gpr (imm $I64 0x7777777777777777))
2228
+ (masked1 Gpr (x64_and $I64 shifted1 sevens))
2229
+ ;; diff1 := src - ((src >> 1) & 0b0111_0111_0111...)
2230
+ (diff1 Gpr (x64_sub $I64 src masked1))
2231
+ (shifted2 Gpr (x64_shr $I64 masked1 (Imm8Reg.Imm8 1)))
2232
+ (masked2 Gpr (x64_and $I64 shifted2 sevens))
2233
+ ;; diff2 := diff1 - ((diff1 >> 1) & 0b0111_0111_0111...)
2234
+ (diff2 Gpr (x64_sub $I64 diff1 masked2))
2235
+ (shifted3 Gpr (x64_shr $I64 masked2 (Imm8Reg.Imm8 1)))
2236
+ (masked3 Gpr (x64_and $I64 shifted3 sevens))
2237
+ ;; diff3 := diff2 - ((diff2 >> 1) & 0b0111_0111_0111...)
2238
+ ;;
2239
+ ;; At this point, each nibble of diff3 is the popcount of
2240
+ ;; that nibble. This works because at each step above, we
2241
+ ;; are basically subtracting floor(value / 2) from the
2242
+ ;; running value; the leftover remainder is 1 if the LSB
2243
+ ;; was 1. After three steps, we have (nibble / 8) -- 0 or
2244
+ ;; 1 for the MSB of the nibble -- plus three possible
2245
+ ;; additions for the three other bits.
2246
+ (diff3 Gpr (x64_sub $I64 diff2 masked3))
2247
+ ;; Add the two nibbles of each byte together.
2248
+ (sum1 Gpr (x64_add $I64
2249
+ (x64_shr $I64 diff3 (Imm8Reg.Imm8 4))
2250
+ diff3))
2251
+ ;; Mask the above sum to have the popcount for each byte
2252
+ ;; in the lower nibble of that byte.
2253
+ (ofof Gpr (imm $I64 0x0f0f0f0f0f0f0f0f))
2254
+ (masked4 Gpr (x64_and $I64 sum1 ofof))
2255
+ (ones Gpr (imm $I64 0x0101010101010101))
2256
+ ;; Use a multiply to sum all of the bytes' popcounts into
2257
+ ;; the top byte. Consider the binomial expansion for the
2258
+ ;; top byte: it is the sum of the bytes (masked4 >> 56) *
2259
+ ;; 0x01 + (masked4 >> 48) * 0x01 + (masked4 >> 40) * 0x01
2260
+ ;; + ... + (masked4 >> 0).
2261
+ (mul Gpr (x64_mul $I64 masked4 ones))
2262
+ ;; Now take that top byte and return it as the popcount.
2263
+ (final Gpr (x64_shr $I64 mul (Imm8Reg.Imm8 56))))
2264
+ final))
2265
+
2266
+ ;; This is the 32-bit version of the above; the steps for each nibble
2267
+ ;; are the same, we just use constants half as wide.
2268
+ (rule (do_popcnt $I32 src)
2269
+ (let ((shifted1 Gpr (x64_shr $I32 src (Imm8Reg.Imm8 1)))
2270
+ (sevens Gpr (imm $I32 0x77777777))
2271
+ (masked1 Gpr (x64_and $I32 shifted1 sevens))
2272
+ (diff1 Gpr (x64_sub $I32 src masked1))
2273
+ (shifted2 Gpr (x64_shr $I32 masked1 (Imm8Reg.Imm8 1)))
2274
+ (masked2 Gpr (x64_and $I32 shifted2 sevens))
2275
+ (diff2 Gpr (x64_sub $I32 diff1 masked2))
2276
+ (shifted3 Gpr (x64_shr $I32 masked2 (Imm8Reg.Imm8 1)))
2277
+ (masked3 Gpr (x64_and $I32 shifted3 sevens))
2278
+ (diff3 Gpr (x64_sub $I32 diff2 masked3))
2279
+ (sum1 Gpr (x64_add $I32
2280
+ (x64_shr $I32 diff3 (Imm8Reg.Imm8 4))
2281
+ diff3))
2282
+ (masked4 Gpr (x64_and $I32 sum1 (RegMemImm.Imm 0x0f0f0f0f)))
2283
+ (mul Gpr (x64_mul $I32 masked4 (RegMemImm.Imm 0x01010101)))
2284
+ (final Gpr (x64_shr $I32 mul (Imm8Reg.Imm8 24))))
2285
+ final))
2286
+
2287
+
2288
+ (rule 2 (lower (has_type $I8X16 (popcnt src)))
2289
+ (if-let $true (use_avx512vl))
2290
+ (if-let $true (use_avx512bitalg))
2291
+ (x64_vpopcntb src))
2292
+
2293
+
2294
+ ;; For SSE 4.2 we use Mula's algorithm (https://arxiv.org/pdf/1611.07612.pdf):
2295
+ ;;
2296
+ ;; __m128i count_bytes ( __m128i v) {
2297
+ ;; __m128i lookup = _mm_setr_epi8(0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4);
2298
+ ;; __m128i low_mask = _mm_set1_epi8 (0x0f);
2299
+ ;; __m128i lo = _mm_and_si128 (v, low_mask);
2300
+ ;; __m128i hi = _mm_and_si128 (_mm_srli_epi16 (v, 4), low_mask);
2301
+ ;; __m128i cnt1 = _mm_shuffle_epi8 (lookup, lo);
2302
+ ;; __m128i cnt2 = _mm_shuffle_epi8 (lookup, hi);
2303
+ ;; return _mm_add_epi8 (cnt1, cnt2);
2304
+ ;; }
2305
+ ;;
2306
+ ;; Details of the above algorithm can be found in the reference noted above, but the basics
2307
+ ;; are to create a lookup table that pre populates the popcnt values for each number [0,15].
2308
+ ;; The algorithm uses shifts to isolate 4 bit sections of the vector, pshufb as part of the
2309
+ ;; lookup process, and adds together the results.
2310
+ ;;
2311
+ ;; __m128i lookup = _mm_setr_epi8(0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4);
2312
+
2313
+
2314
+ (rule 1 (lower (has_type $I8X16 (popcnt src)))
2315
+ (if-let $true (use_ssse3))
2316
+ (let ((low_mask XmmMem (emit_u128_le_const 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f))
2317
+ (low_nibbles Xmm (sse_and $I8X16 src low_mask))
2318
+ ;; Note that this is a 16x8 shift, but that's OK; we mask
2319
+ ;; off anything that traverses from one byte to the next
2320
+ ;; with the low_mask below.
2321
+ (shifted_src Xmm (x64_psrlw src (xmi_imm 4)))
2322
+ (high_nibbles Xmm (sse_and $I8X16 shifted_src low_mask))
2323
+ (lookup Xmm (x64_xmm_load_const $I8X16
2324
+ (emit_u128_le_const 0x04030302_03020201_03020201_02010100)))
2325
+ (bit_counts_low Xmm (x64_pshufb lookup low_nibbles))
2326
+ (bit_counts_high Xmm (x64_pshufb lookup high_nibbles)))
2327
+ (x64_paddb bit_counts_low bit_counts_high)))
2328
+
2329
+ ;; A modified version of the popcnt method from Hacker's Delight.
2330
+ (rule (lower (has_type $I8X16 (popcnt src)))
2331
+ (let ((mask1 XmmMem (emit_u128_le_const 0x77777777777777777777777777777777))
2332
+ (src Xmm src)
2333
+ (shifted Xmm (x64_pand (x64_psrlq src (xmi_imm 1)) mask1))
2334
+ (src Xmm (x64_psubb src shifted))
2335
+ (shifted Xmm (x64_pand (x64_psrlq shifted (xmi_imm 1)) mask1))
2336
+ (src Xmm (x64_psubb src shifted))
2337
+ (shifted Xmm (x64_pand (x64_psrlq shifted (xmi_imm 1)) mask1))
2338
+ (src Xmm (x64_psubb src shifted))
2339
+ (src Xmm (x64_paddb src (x64_psrlw src (xmi_imm 4)))))
2340
+ (x64_pand src (emit_u128_le_const 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f))))
2341
+
2342
+ ;; Rules for `bitrev` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2343
+
2344
+ (rule (lower (has_type $I8 (bitrev src)))
2345
+ (do_bitrev8 $I32 src))
2346
+
2347
+ (rule (lower (has_type $I16 (bitrev src)))
2348
+ (do_bitrev16 $I32 src))
2349
+
2350
+ (rule (lower (has_type $I32 (bitrev src)))
2351
+ (do_bitrev32 $I32 src))
2352
+
2353
+ (rule (lower (has_type $I64 (bitrev src)))
2354
+ (do_bitrev64 $I64 src))
2355
+
2356
+ (rule (lower (has_type $I128 (bitrev src)))
2357
+ (value_regs
2358
+ (do_bitrev64 $I64 (value_regs_get_gpr src 1))
2359
+ (do_bitrev64 $I64 (value_regs_get_gpr src 0))))
2360
+
2361
+ (decl do_bitrev8 (Type Gpr) Gpr)
2362
+ (rule (do_bitrev8 ty src)
2363
+ (let ((tymask u64 (ty_mask ty))
2364
+ (mask1 Gpr (imm ty (u64_and tymask 0x5555555555555555)))
2365
+ (lo1 Gpr (x64_and ty src mask1))
2366
+ (hi1 Gpr (x64_and ty (x64_shr ty src (Imm8Reg.Imm8 1)) mask1))
2367
+ (swap1 Gpr (x64_or ty
2368
+ (x64_shl ty lo1 (Imm8Reg.Imm8 1))
2369
+ hi1))
2370
+ (mask2 Gpr (imm ty (u64_and tymask 0x3333333333333333)))
2371
+ (lo2 Gpr (x64_and ty swap1 mask2))
2372
+ (hi2 Gpr (x64_and ty (x64_shr ty swap1 (Imm8Reg.Imm8 2)) mask2))
2373
+ (swap2 Gpr (x64_or ty
2374
+ (x64_shl ty lo2 (Imm8Reg.Imm8 2))
2375
+ hi2))
2376
+ (mask4 Gpr (imm ty (u64_and tymask 0x0f0f0f0f0f0f0f0f)))
2377
+ (lo4 Gpr (x64_and ty swap2 mask4))
2378
+ (hi4 Gpr (x64_and ty (x64_shr ty swap2 (Imm8Reg.Imm8 4)) mask4))
2379
+ (swap4 Gpr (x64_or ty
2380
+ (x64_shl ty lo4 (Imm8Reg.Imm8 4))
2381
+ hi4)))
2382
+ swap4))
2383
+
2384
+ (decl do_bitrev16 (Type Gpr) Gpr)
2385
+ (rule (do_bitrev16 ty src)
2386
+ (let ((src_ Gpr (do_bitrev8 ty src))
2387
+ (tymask u64 (ty_mask ty))
2388
+ (mask8 Gpr (imm ty (u64_and tymask 0x00ff00ff00ff00ff)))
2389
+ (lo8 Gpr (x64_and ty src_ mask8))
2390
+ (hi8 Gpr (x64_and ty (x64_shr ty src_ (Imm8Reg.Imm8 8)) mask8))
2391
+ (swap8 Gpr (x64_or ty
2392
+ (x64_shl ty lo8 (Imm8Reg.Imm8 8))
2393
+ hi8)))
2394
+ swap8))
2395
+
2396
+ (decl do_bitrev32 (Type Gpr) Gpr)
2397
+ (rule (do_bitrev32 ty src)
2398
+ (let ((src_ Gpr (do_bitrev16 ty src))
2399
+ (tymask u64 (ty_mask ty))
2400
+ (mask16 Gpr (imm ty (u64_and tymask 0x0000ffff0000ffff)))
2401
+ (lo16 Gpr (x64_and ty src_ mask16))
2402
+ (hi16 Gpr (x64_and ty (x64_shr ty src_ (Imm8Reg.Imm8 16)) mask16))
2403
+ (swap16 Gpr (x64_or ty
2404
+ (x64_shl ty lo16 (Imm8Reg.Imm8 16))
2405
+ hi16)))
2406
+ swap16))
2407
+
2408
+ (decl do_bitrev64 (Type Gpr) Gpr)
2409
+ (rule (do_bitrev64 ty @ $I64 src)
2410
+ (let ((src_ Gpr (do_bitrev32 ty src))
2411
+ (mask32 Gpr (imm ty 0xffffffff))
2412
+ (lo32 Gpr (x64_and ty src_ mask32))
2413
+ (hi32 Gpr (x64_shr ty src_ (Imm8Reg.Imm8 32)))
2414
+ (swap32 Gpr (x64_or ty
2415
+ (x64_shl ty lo32 (Imm8Reg.Imm8 32))
2416
+ hi32)))
2417
+ swap32))
2418
+
2419
+ ;; Rules for `bswap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2420
+
2421
+ ;; x64 bswap instruction is only for 32- or 64-bit swaps
2422
+ ;; implement the 16-bit swap as a rotl by 8
2423
+ (rule (lower (has_type $I16 (bswap src)))
2424
+ (x64_rotl $I16 src (Imm8Reg.Imm8 8)))
2425
+
2426
+ (rule (lower (has_type $I32 (bswap src)))
2427
+ (x64_bswap $I32 src))
2428
+
2429
+ (rule (lower (has_type $I64 (bswap src)))
2430
+ (x64_bswap $I64 src))
2431
+
2432
+ (rule (lower (has_type $I128 (bswap src)))
2433
+ (value_regs
2434
+ (x64_bswap $I64 (value_regs_get_gpr src 1))
2435
+ (x64_bswap $I64 (value_regs_get_gpr src 0))))
2436
+
2437
+ ;; Rules for `is_null` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2438
+
2439
+ ;; Null references are represented by the constant value `0`.
2440
+ (rule (lower (is_null src @ (value_type $R64)))
2441
+ (with_flags
2442
+ (x64_cmp_imm (OperandSize.Size64) 0 src)
2443
+ (x64_setcc (CC.Z))))
2444
+
2445
+ ;; Rules for `is_invalid` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2446
+
2447
+ ;; Invalid references are represented by the constant value `-1`.
2448
+ (rule (lower (is_invalid src @ (value_type $R64)))
2449
+ (with_flags
2450
+ (x64_cmp_imm (OperandSize.Size64) 0xffffffff src) ;; simm32 0xffff_ffff is sign-extended to -1.
2451
+ (x64_setcc (CC.Z))))
2452
+
2453
+
2454
+ ;; Rules for `uextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2455
+
2456
+ ;; I{8,16,32,64} -> I128.
2457
+ (rule (lower (has_type $I128 (uextend src)))
2458
+ (value_regs (extend_to_gpr src $I64 (ExtendKind.Zero)) (imm $I64 0)))
2459
+
2460
+ ;; I{8,16,32} -> I64.
2461
+ (rule (lower (has_type $I64 (uextend src)))
2462
+ (extend_to_gpr src $I64 (ExtendKind.Zero)))
2463
+
2464
+ ;; I{8,16} -> I32
2465
+ ;; I8 -> I16
2466
+ (rule -1 (lower (has_type (fits_in_32 _) (uextend src)))
2467
+ (extend_to_gpr src $I32 (ExtendKind.Zero)))
2468
+
2469
+ ;; Rules for `sextend` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2470
+
2471
+ ;; I{8,16,32} -> I128.
2472
+ ;;
2473
+ ;; Produce upper 64 bits sign-extended from lower 64: shift right by
2474
+ ;; 63 bits to spread the sign bit across the result.
2475
+ (rule (lower (has_type $I128 (sextend src)))
2476
+ (let ((lo Gpr (extend_to_gpr src $I64 (ExtendKind.Sign)))
2477
+ (hi Gpr (x64_sar $I64 lo (Imm8Reg.Imm8 63))))
2478
+ (value_regs lo hi)))
2479
+
2480
+ ;; I{8,16,32} -> I64.
2481
+ (rule (lower (has_type $I64 (sextend src)))
2482
+ (extend_to_gpr src $I64 (ExtendKind.Sign)))
2483
+
2484
+ ;; I{8,16} -> I32
2485
+ ;; I8 -> I16
2486
+ (rule -1 (lower (has_type (fits_in_32 _) (sextend src)))
2487
+ (extend_to_gpr src $I32 (ExtendKind.Sign)))
2488
+
2489
+ ;; Rules for `ireduce` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2490
+
2491
+ ;; T -> T is always a no-op, even I128 -> I128.
2492
+ (rule (lower (has_type ty (ireduce src @ (value_type ty))))
2493
+ src)
2494
+
2495
+ ;; T -> I{64,32,16,8}: We can simply pass through the value: values
2496
+ ;; are always stored with high bits undefined, so we can just leave
2497
+ ;; them be.
2498
+ (rule 1 (lower (has_type (fits_in_64 ty) (ireduce src)))
2499
+ (value_regs_get_gpr src 0))
2500
+
2501
+ ;; Rules for `debugtrap` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2502
+
2503
+ (rule (lower (debugtrap))
2504
+ (side_effect (x64_hlt)))
2505
+
2506
+ ;; Rules for `x86_pmaddubsw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2507
+
2508
+ (rule (lower (has_type $I16X8 (x86_pmaddubsw x y)))
2509
+ (if-let $true (use_ssse3))
2510
+ (x64_pmaddubsw y x))
2511
+
2512
+ ;; Rules for `fadd` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2513
+
2514
+ (rule (lower (has_type $F32 (fadd x y)))
2515
+ (x64_addss x y))
2516
+ (rule (lower (has_type $F64 (fadd x y)))
2517
+ (x64_addsd x y))
2518
+ (rule (lower (has_type $F32X4 (fadd x y)))
2519
+ (x64_addps x y))
2520
+ (rule (lower (has_type $F64X2 (fadd x y)))
2521
+ (x64_addpd x y))
2522
+
2523
+ ;; The above rules automatically sink loads for rhs operands, so additionally
2524
+ ;; add rules for sinking loads with lhs operands.
2525
+ (rule 1 (lower (has_type $F32 (fadd (sinkable_load x) y)))
2526
+ (x64_addss y x))
2527
+ (rule 1 (lower (has_type $F64 (fadd (sinkable_load x) y)))
2528
+ (x64_addsd y x))
2529
+ (rule 1 (lower (has_type $F32X4 (fadd (sinkable_load x) y)))
2530
+ (x64_addps y x))
2531
+ (rule 1 (lower (has_type $F64X2 (fadd (sinkable_load x) y)))
2532
+ (x64_addpd y x))
2533
+
2534
+ ;; Rules for `fsub` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2535
+
2536
+ (rule (lower (has_type $F32 (fsub x y)))
2537
+ (x64_subss x y))
2538
+ (rule (lower (has_type $F64 (fsub x y)))
2539
+ (x64_subsd x y))
2540
+ (rule (lower (has_type $F32X4 (fsub x y)))
2541
+ (x64_subps x y))
2542
+ (rule (lower (has_type $F64X2 (fsub x y)))
2543
+ (x64_subpd x y))
2544
+
2545
+ ;; Rules for `fmul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2546
+
2547
+ (rule (lower (has_type $F32 (fmul x y)))
2548
+ (x64_mulss x y))
2549
+ (rule (lower (has_type $F64 (fmul x y)))
2550
+ (x64_mulsd x y))
2551
+ (rule (lower (has_type $F32X4 (fmul x y)))
2552
+ (x64_mulps x y))
2553
+ (rule (lower (has_type $F64X2 (fmul x y)))
2554
+ (x64_mulpd x y))
2555
+
2556
+ ;; The above rules automatically sink loads for rhs operands, so additionally
2557
+ ;; add rules for sinking loads with lhs operands.
2558
+ (rule 1 (lower (has_type $F32 (fmul (sinkable_load x) y)))
2559
+ (x64_mulss y x))
2560
+ (rule 1 (lower (has_type $F64 (fmul (sinkable_load x) y)))
2561
+ (x64_mulsd y x))
2562
+ (rule 1 (lower (has_type $F32X4 (fmul (sinkable_load x) y)))
2563
+ (x64_mulps y x))
2564
+ (rule 1 (lower (has_type $F64X2 (fmul (sinkable_load x) y)))
2565
+ (x64_mulpd y x))
2566
+
2567
+ ;; Rules for `fdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2568
+
2569
+ (rule (lower (has_type $F32 (fdiv x y)))
2570
+ (x64_divss x y))
2571
+ (rule (lower (has_type $F64 (fdiv x y)))
2572
+ (x64_divsd x y))
2573
+ (rule (lower (has_type $F32X4 (fdiv x y)))
2574
+ (x64_divps x y))
2575
+ (rule (lower (has_type $F64X2 (fdiv x y)))
2576
+ (x64_divpd x y))
2577
+
2578
+ ;; Rules for `sqrt` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2579
+ (rule (lower (has_type $F32 (sqrt x)))
2580
+ (x64_sqrtss (xmm_zero $F32X4) x))
2581
+ (rule (lower (has_type $F64 (sqrt x)))
2582
+ (x64_sqrtsd (xmm_zero $F64X2) x))
2583
+ (rule (lower (has_type $F32X4 (sqrt x)))
2584
+ (x64_sqrtps x))
2585
+ (rule (lower (has_type $F64X2 (sqrt x)))
2586
+ (x64_sqrtpd x))
2587
+
2588
+ ;; Rules for `fpromote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2589
+ (rule (lower (has_type $F64 (fpromote x)))
2590
+ (x64_cvtss2sd (xmm_zero $F64X2) x))
2591
+
2592
+ ;; Rules for `fvpromote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2593
+ (rule (lower (has_type $F64X2 (fvpromote_low x)))
2594
+ (x64_cvtps2pd (put_in_xmm x)))
2595
+
2596
+ ;; Rules for `fdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2597
+ (rule (lower (has_type $F32 (fdemote x)))
2598
+ (x64_cvtsd2ss (xmm_zero $F32X4) x))
2599
+
2600
+ ;; Rules for `fvdemote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2601
+ (rule (lower (has_type $F32X4 (fvdemote x)))
2602
+ (x64_cvtpd2ps x))
2603
+
2604
+ ;; Rules for `fmin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2605
+
2606
+ (rule (lower (has_type $F32 (fmin x y)))
2607
+ (xmm_min_max_seq $F32 $true x y))
2608
+ (rule (lower (has_type $F64 (fmin x y)))
2609
+ (xmm_min_max_seq $F64 $true x y))
2610
+
2611
+ ;; Vector-typed version. We don't use single pseudoinstructions as
2612
+ ;; above, because we don't need to generate a mini-CFG. Instead, we
2613
+ ;; perform a branchless series of operations.
2614
+ ;;
2615
+ ;; We cannot simply use native min instructions (minps, minpd) because
2616
+ ;; NaN handling is different per CLIF semantics than on
2617
+ ;; x86. Specifically, if an argument is NaN, or the arguments are both
2618
+ ;; zero but of opposite signs, then the x86 instruction always
2619
+ ;; produces the second argument. However, per CLIF semantics, we
2620
+ ;; require that fmin(NaN, _) = fmin(_, NaN) = NaN, and fmin(+0, -0) =
2621
+ ;; fmin(-0, +0) = -0.
2622
+
2623
+ (rule (lower (has_type $F32X4 (fmin x y)))
2624
+ ;; Compute min(x, y) and min(y, x) with native
2625
+ ;; instructions. These will differ in one of the edge cases
2626
+ ;; above that we have to handle properly. (Conversely, if they
2627
+ ;; don't differ, then the native instruction's answer is the
2628
+ ;; right one per CLIF semantics.)
2629
+ (let ((min1 Xmm (x64_minps x y))
2630
+ (min2 Xmm (x64_minps y x))
2631
+ ;; Compute the OR of the two. Note that NaNs have an
2632
+ ;; exponent field of all-ones (0xFF for F32), so if either
2633
+ ;; result is a NaN, this OR will be. And if either is a
2634
+ ;; zero (which has an exponent of 0 and mantissa of 0),
2635
+ ;; this captures a sign-bit of 1 (negative) if either
2636
+ ;; input is negative.
2637
+ ;;
2638
+ ;; In the case where we don't have a +/-0 mismatch or
2639
+ ;; NaNs, then `min1` and `min2` are equal and `min_or` is
2640
+ ;; the correct minimum.
2641
+ (min_or Xmm (x64_orps min1 min2))
2642
+ ;; "compare unordered" produces a true mask (all ones) in
2643
+ ;; a given lane if the min is a NaN. We use this to
2644
+ ;; generate a mask to ensure quiet NaNs.
2645
+ (is_nan_mask Xmm (x64_cmpps min_or min2 (FcmpImm.Unordered)))
2646
+ ;; OR in the NaN mask.
2647
+ (min_or_2 Xmm (x64_orps min_or is_nan_mask))
2648
+ ;; Shift the NaN mask down so that it covers just the
2649
+ ;; fraction below the NaN signalling bit; we'll use this
2650
+ ;; to mask off non-canonical NaN payloads.
2651
+ ;;
2652
+ ;; All-ones for NaN, shifted down to leave 10 top bits (1
2653
+ ;; sign, 8 exponent, 1 QNaN bit that must remain set)
2654
+ ;; cleared.
2655
+ (nan_fraction_mask Xmm (x64_psrld is_nan_mask (xmi_imm 10)))
2656
+ ;; Do a NAND, so that we retain every bit not set in
2657
+ ;; `nan_fraction_mask`. This mask will be all zeroes (so
2658
+ ;; we retain every bit) in non-NaN cases, and will have
2659
+ ;; ones (so we clear those bits) in NaN-payload bits
2660
+ ;; otherwise.
2661
+ (final Xmm (x64_andnps nan_fraction_mask min_or_2)))
2662
+ final))
2663
+
2664
+ ;; Likewise for F64 lanes, except that the right-shift is by 13 bits
2665
+ ;; (1 sign, 11 exponent, 1 QNaN bit).
2666
+ (rule (lower (has_type $F64X2 (fmin x y)))
2667
+ (let ((min1 Xmm (x64_minpd x y))
2668
+ (min2 Xmm (x64_minpd y x))
2669
+ (min_or Xmm (x64_orpd min1 min2))
2670
+ (is_nan_mask Xmm (x64_cmppd min1 min2 (FcmpImm.Unordered)))
2671
+ (min_or_2 Xmm (x64_orpd min_or is_nan_mask))
2672
+ (nan_fraction_mask Xmm (x64_psrlq is_nan_mask (xmi_imm 13)))
2673
+ (final Xmm (x64_andnpd nan_fraction_mask min_or_2)))
2674
+ final))
2675
+
2676
+ ;; Rules for `fmax` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2677
+
2678
+ (rule (lower (has_type $F32 (fmax x y)))
2679
+ (xmm_min_max_seq $F32 $false x y))
2680
+ (rule (lower (has_type $F64 (fmax x y)))
2681
+ (xmm_min_max_seq $F64 $false x y))
2682
+
2683
+ ;; The vector version of fmax here is a dual to the fmin sequence
2684
+ ;; above, almost, with a few differences.
2685
+
2686
+ (rule (lower (has_type $F32X4 (fmax x y)))
2687
+ ;; Compute max(x, y) and max(y, x) with native
2688
+ ;; instructions. These will differ in one of the edge cases
2689
+ ;; above that we have to handle properly. (Conversely, if they
2690
+ ;; don't differ, then the native instruction's answer is the
2691
+ ;; right one per CLIF semantics.)
2692
+ (let ((max1 Xmm (x64_maxps x y))
2693
+ (max2 Xmm (x64_maxps y x))
2694
+ ;; Compute the XOR of the two maxima. In the case
2695
+ ;; where we don't have a +/-0 mismatch or NaNs, then
2696
+ ;; `min1` and `min2` are equal and this XOR is zero.
2697
+ (max_xor Xmm (x64_xorps max1 max2))
2698
+ ;; OR the XOR into one of the original maxima. If they are
2699
+ ;; equal, this does nothing. If max2 was NaN, its exponent
2700
+ ;; bits were all-ones, so the xor's exponent bits were the
2701
+ ;; complement of max1, and the OR of max1 and max_xor has
2702
+ ;; an all-ones exponent (is a NaN). If max1 was NaN, then
2703
+ ;; its exponent bits were already all-ones, so the OR will
2704
+ ;; be a NaN as well.
2705
+ (max_blended_nan Xmm (x64_orps max1 max_xor))
2706
+ ;; Subtract the XOR. This ensures that if we had +0 and
2707
+ ;; -0, we end up with +0.
2708
+ (max_blended_nan_positive Xmm (x64_subps max_blended_nan max_xor))
2709
+ ;; "compare unordered" produces a true mask (all ones) in
2710
+ ;; a given lane if the min is a NaN. We use this to
2711
+ ;; generate a mask to ensure quiet NaNs.
2712
+ (is_nan_mask Xmm (x64_cmpps max_blended_nan max_blended_nan (FcmpImm.Unordered)))
2713
+ ;; Shift the NaN mask down so that it covers just the
2714
+ ;; fraction below the NaN signalling bit; we'll use this
2715
+ ;; to mask off non-canonical NaN payloads.
2716
+ ;;
2717
+ ;; All-ones for NaN, shifted down to leave 10 top bits (1
2718
+ ;; sign, 8 exponent, 1 QNaN bit that must remain set)
2719
+ ;; cleared.
2720
+ (nan_fraction_mask Xmm (x64_psrld is_nan_mask (xmi_imm 10)))
2721
+ ;; Do a NAND, so that we retain every bit not set in
2722
+ ;; `nan_fraction_mask`. This mask will be all zeroes (so
2723
+ ;; we retain every bit) in non-NaN cases, and will have
2724
+ ;; ones (so we clear those bits) in NaN-payload bits
2725
+ ;; otherwise.
2726
+ (final Xmm (x64_andnps nan_fraction_mask max_blended_nan_positive)))
2727
+ final))
2728
+
2729
+ (rule (lower (has_type $F64X2 (fmax x y)))
2730
+ ;; Compute max(x, y) and max(y, x) with native
2731
+ ;; instructions. These will differ in one of the edge cases
2732
+ ;; above that we have to handle properly. (Conversely, if they
2733
+ ;; don't differ, then the native instruction's answer is the
2734
+ ;; right one per CLIF semantics.)
2735
+ (let ((max1 Xmm (x64_maxpd x y))
2736
+ (max2 Xmm (x64_maxpd y x))
2737
+ ;; Compute the XOR of the two maxima. In the case
2738
+ ;; where we don't have a +/-0 mismatch or NaNs, then
2739
+ ;; `min1` and `min2` are equal and this XOR is zero.
2740
+ (max_xor Xmm (x64_xorpd max1 max2))
2741
+ ;; OR the XOR into one of the original maxima. If they are
2742
+ ;; equal, this does nothing. If max2 was NaN, its exponent
2743
+ ;; bits were all-ones, so the xor's exponent bits were the
2744
+ ;; complement of max1, and the OR of max1 and max_xor has
2745
+ ;; an all-ones exponent (is a NaN). If max1 was NaN, then
2746
+ ;; its exponent bits were already all-ones, so the OR will
2747
+ ;; be a NaN as well.
2748
+ (max_blended_nan Xmm (x64_orpd max1 max_xor))
2749
+ ;; Subtract the XOR. This ensures that if we had +0 and
2750
+ ;; -0, we end up with +0.
2751
+ (max_blended_nan_positive Xmm (x64_subpd max_blended_nan max_xor))
2752
+ ;; `cmpps` with predicate index `3` is `cmpunordps`, or
2753
+ ;; "compare unordered": it produces a true mask (all ones)
2754
+ ;; in a given lane if the min is a NaN. We use this to
2755
+ ;; generate a mask to ensure quiet NaNs.
2756
+ (is_nan_mask Xmm (x64_cmppd max_blended_nan max_blended_nan (FcmpImm.Unordered)))
2757
+ ;; Shift the NaN mask down so that it covers just the
2758
+ ;; fraction below the NaN signalling bit; we'll use this
2759
+ ;; to mask off non-canonical NaN payloads.
2760
+ ;;
2761
+ ;; All-ones for NaN, shifted down to leave 13 top bits (1
2762
+ ;; sign, 11 exponent, 1 QNaN bit that must remain set)
2763
+ ;; cleared.
2764
+ (nan_fraction_mask Xmm (x64_psrlq is_nan_mask (xmi_imm 13)))
2765
+ ;; Do a NAND, so that we retain every bit not set in
2766
+ ;; `nan_fraction_mask`. This mask will be all zeroes (so
2767
+ ;; we retain every bit) in non-NaN cases, and will have
2768
+ ;; ones (so we clear those bits) in NaN-payload bits
2769
+ ;; otherwise.
2770
+ (final Xmm (x64_andnpd nan_fraction_mask max_blended_nan_positive)))
2771
+ final))
2772
+
2773
+ ;; Rules for `fma` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2774
+
2775
+ ;; Base case for fma is to call out to one of two libcalls. For vectors they
2776
+ ;; need to be decomposed, handle each element individually, and then recomposed.
2777
+
2778
+ (rule (lower (has_type $F32 (fma x y z)))
2779
+ (libcall_3 (LibCall.FmaF32) x y z))
2780
+ (rule (lower (has_type $F64 (fma x y z)))
2781
+ (libcall_3 (LibCall.FmaF64) x y z))
2782
+
2783
+ (rule (lower (has_type $F32X4 (fma x y z)))
2784
+ (let (
2785
+ (x Xmm (put_in_xmm x))
2786
+ (y Xmm (put_in_xmm y))
2787
+ (z Xmm (put_in_xmm z))
2788
+ (x0 Xmm (libcall_3 (LibCall.FmaF32) x y z))
2789
+ (x1 Xmm (libcall_3 (LibCall.FmaF32)
2790
+ (x64_pshufd x 1)
2791
+ (x64_pshufd y 1)
2792
+ (x64_pshufd z 1)))
2793
+ (x2 Xmm (libcall_3 (LibCall.FmaF32)
2794
+ (x64_pshufd x 2)
2795
+ (x64_pshufd y 2)
2796
+ (x64_pshufd z 2)))
2797
+ (x3 Xmm (libcall_3 (LibCall.FmaF32)
2798
+ (x64_pshufd x 3)
2799
+ (x64_pshufd y 3)
2800
+ (x64_pshufd z 3)))
2801
+
2802
+ (tmp Xmm (vec_insert_lane $F32X4 x0 x1 1))
2803
+ (tmp Xmm (vec_insert_lane $F32X4 tmp x2 2))
2804
+ (tmp Xmm (vec_insert_lane $F32X4 tmp x3 3))
2805
+ )
2806
+ tmp))
2807
+ (rule (lower (has_type $F64X2 (fma x y z)))
2808
+ (let (
2809
+ (x Xmm (put_in_xmm x))
2810
+ (y Xmm (put_in_xmm y))
2811
+ (z Xmm (put_in_xmm z))
2812
+ (x0 Xmm (libcall_3 (LibCall.FmaF64) x y z))
2813
+ (x1 Xmm (libcall_3 (LibCall.FmaF64)
2814
+ (x64_pshufd x 0xee)
2815
+ (x64_pshufd y 0xee)
2816
+ (x64_pshufd z 0xee)))
2817
+ )
2818
+ (vec_insert_lane $F64X2 x0 x1 1)))
2819
+
2820
+
2821
+ ;; Special case for when the `fma` feature is active and a native instruction
2822
+ ;; can be used.
2823
+ (rule 1 (lower (has_type ty (fma x y z)))
2824
+ (if-let $true (use_fma))
2825
+ (fmadd ty x y z))
2826
+
2827
+ (decl fmadd (Type Value Value Value) Xmm)
2828
+ (decl fnmadd (Type Value Value Value) Xmm)
2829
+
2830
+ ;; Base case. Note that this will automatically sink a load with `z`, the value
2831
+ ;; to add.
2832
+ (rule (fmadd ty x y z) (x64_vfmadd213 ty x y z))
2833
+
2834
+ ;; Allow sinking loads with one of the two values being multiplied in addition
2835
+ ;; to the value being added. Note that both x and y can be sunk here due to
2836
+ ;; multiplication being commutative.
2837
+ (rule 1 (fmadd ty (sinkable_load x) y z) (x64_vfmadd132 ty y z x))
2838
+ (rule 2 (fmadd ty x (sinkable_load y) z) (x64_vfmadd132 ty x z y))
2839
+
2840
+ ;; If one of the values being multiplied is negated then use a `vfnmadd*`
2841
+ ;; instruction instead
2842
+ (rule 3 (fmadd ty (fneg x) y z) (fnmadd ty x y z))
2843
+ (rule 4 (fmadd ty x (fneg y) z) (fnmadd ty x y z))
2844
+
2845
+ (rule (fnmadd ty x y z) (x64_vfnmadd213 ty x y z))
2846
+ (rule 1 (fnmadd ty (sinkable_load x) y z) (x64_vfnmadd132 ty y z x))
2847
+ (rule 2 (fnmadd ty x (sinkable_load y) z) (x64_vfnmadd132 ty x z y))
2848
+
2849
+ ;; Like `fmadd` if one argument is negated switch which one is being codegen'd
2850
+ (rule 3 (fnmadd ty (fneg x) y z) (fmadd ty x y z))
2851
+ (rule 4 (fnmadd ty x (fneg y) z) (fmadd ty x y z))
2852
+
2853
+ ;; Rules for `load*` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2854
+
2855
+ ;; In order to load a value from memory to a GPR register, we may need to extend
2856
+ ;; the loaded value from 8-, 16-, or 32-bits to this backend's expected GPR
2857
+ ;; width: 64 bits. Note that `ext_mode` will load 1-bit types (booleans) as
2858
+ ;; 8-bit loads.
2859
+ ;;
2860
+ ;; By default, we zero-extend all sub-64-bit loads to a GPR.
2861
+ (rule -4 (lower (has_type (and (fits_in_32 ty) (is_gpr_type _)) (load flags address offset)))
2862
+ (x64_movzx (ext_mode (ty_bits_u16 ty) 64) (to_amode flags address offset)))
2863
+ ;; But if we know that both the `from` and `to` are 64 bits, we simply load with
2864
+ ;; no extension.
2865
+ (rule -1 (lower (has_type (ty_int_ref_64 ty) (load flags address offset)))
2866
+ (x64_mov (to_amode flags address offset)))
2867
+ ;; Also, certain scalar loads have a specific `from` width and extension kind
2868
+ ;; (signed -> `sx`, zeroed -> `zx`). We overwrite the high bits of the 64-bit
2869
+ ;; GPR even if the `to` type is smaller (e.g., 16-bits).
2870
+ (rule (lower (has_type (is_gpr_type ty) (uload8 flags address offset)))
2871
+ (x64_movzx (ExtMode.BQ) (to_amode flags address offset)))
2872
+ (rule (lower (has_type (is_gpr_type ty) (sload8 flags address offset)))
2873
+ (x64_movsx (ExtMode.BQ) (to_amode flags address offset)))
2874
+ (rule (lower (has_type (is_gpr_type ty) (uload16 flags address offset)))
2875
+ (x64_movzx (ExtMode.WQ) (to_amode flags address offset)))
2876
+ (rule (lower (has_type (is_gpr_type ty) (sload16 flags address offset)))
2877
+ (x64_movsx (ExtMode.WQ) (to_amode flags address offset)))
2878
+ (rule (lower (has_type (is_gpr_type ty) (uload32 flags address offset)))
2879
+ (x64_movzx (ExtMode.LQ) (to_amode flags address offset)))
2880
+ (rule (lower (has_type (is_gpr_type ty) (sload32 flags address offset)))
2881
+ (x64_movsx (ExtMode.LQ) (to_amode flags address offset)))
2882
+
2883
+ ;; To load to XMM registers, we use the x64-specific instructions for each type.
2884
+ ;; For `$F32` and `$F64` this is important--we only want to load 32 or 64 bits.
2885
+ ;; But for the 128-bit types, this is not strictly necessary for performance but
2886
+ ;; might help with clarity during disassembly.
2887
+ (rule (lower (has_type $F32 (load flags address offset)))
2888
+ (x64_movss_load (to_amode flags address offset)))
2889
+ (rule (lower (has_type $F64 (load flags address offset)))
2890
+ (x64_movsd_load (to_amode flags address offset)))
2891
+ (rule (lower (has_type $F32X4 (load flags address offset)))
2892
+ (x64_movups_load (to_amode flags address offset)))
2893
+ (rule (lower (has_type $F64X2 (load flags address offset)))
2894
+ (x64_movupd_load (to_amode flags address offset)))
2895
+ (rule -2 (lower (has_type (ty_vec128 ty) (load flags address offset)))
2896
+ (x64_movdqu_load (to_amode flags address offset)))
2897
+
2898
+ ;; We can load an I128 by doing two 64-bit loads.
2899
+ (rule -3 (lower (has_type $I128
2900
+ (load flags address offset)))
2901
+ (let ((addr_lo Amode (to_amode flags address offset))
2902
+ (addr_hi Amode (amode_offset addr_lo 8))
2903
+ (value_lo Reg (x64_mov addr_lo))
2904
+ (value_hi Reg (x64_mov addr_hi)))
2905
+ (value_regs value_lo value_hi)))
2906
+
2907
+ ;; We also include widening vector loads; these sign- or zero-extend each lane
2908
+ ;; to the next wider width (e.g., 16x4 -> 32x4).
2909
+ (rule 1 (lower (has_type $I16X8 (sload8x8 flags address offset)))
2910
+ (if-let $true (use_sse41))
2911
+ (x64_pmovsxbw (to_amode flags address offset)))
2912
+ (rule 1 (lower (has_type $I16X8 (uload8x8 flags address offset)))
2913
+ (if-let $true (use_sse41))
2914
+ (x64_pmovzxbw (to_amode flags address offset)))
2915
+ (rule 1 (lower (has_type $I32X4 (sload16x4 flags address offset)))
2916
+ (if-let $true (use_sse41))
2917
+ (x64_pmovsxwd (to_amode flags address offset)))
2918
+ (rule 1 (lower (has_type $I32X4 (uload16x4 flags address offset)))
2919
+ (if-let $true (use_sse41))
2920
+ (x64_pmovzxwd (to_amode flags address offset)))
2921
+ (rule 1 (lower (has_type $I64X2 (sload32x2 flags address offset)))
2922
+ (if-let $true (use_sse41))
2923
+ (x64_pmovsxdq (to_amode flags address offset)))
2924
+ (rule 1 (lower (has_type $I64X2 (uload32x2 flags address offset)))
2925
+ (if-let $true (use_sse41))
2926
+ (x64_pmovzxdq (to_amode flags address offset)))
2927
+
2928
+ (rule (lower (has_type $I16X8 (sload8x8 flags address offset)))
2929
+ (lower_swiden_low $I16X8 (x64_movq_to_xmm (to_amode flags address offset))))
2930
+ (rule (lower (has_type $I16X8 (uload8x8 flags address offset)))
2931
+ (lower_uwiden_low $I16X8 (x64_movq_to_xmm (to_amode flags address offset))))
2932
+ (rule (lower (has_type $I32X4 (sload16x4 flags address offset)))
2933
+ (lower_swiden_low $I32X4 (x64_movq_to_xmm (to_amode flags address offset))))
2934
+ (rule (lower (has_type $I32X4 (uload16x4 flags address offset)))
2935
+ (lower_uwiden_low $I32X4 (x64_movq_to_xmm (to_amode flags address offset))))
2936
+ (rule (lower (has_type $I64X2 (sload32x2 flags address offset)))
2937
+ (lower_swiden_low $I64X2 (x64_movq_to_xmm (to_amode flags address offset))))
2938
+ (rule (lower (has_type $I64X2 (uload32x2 flags address offset)))
2939
+ (lower_uwiden_low $I64X2 (x64_movq_to_xmm (to_amode flags address offset))))
2940
+
2941
+ ;; Rules for `store*` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2942
+
2943
+ ;; 8-, 16-, 32- and 64-bit GPR stores.
2944
+ (rule -2 (lower (store flags
2945
+ value @ (value_type (is_gpr_type ty))
2946
+ address
2947
+ offset))
2948
+ (side_effect
2949
+ (x64_movrm ty (to_amode flags address offset) value)))
2950
+
2951
+ ;; Explicit 8/16/32-bit opcodes.
2952
+ (rule (lower (istore8 flags value address offset))
2953
+ (side_effect
2954
+ (x64_movrm $I8 (to_amode flags address offset) value)))
2955
+ (rule (lower (istore16 flags value address offset))
2956
+ (side_effect
2957
+ (x64_movrm $I16 (to_amode flags address offset) value)))
2958
+ (rule (lower (istore32 flags value address offset))
2959
+ (side_effect
2960
+ (x64_movrm $I32 (to_amode flags address offset) value)))
2961
+
2962
+ ;; IMM stores
2963
+ (rule 2 (lower (store flags (has_type (fits_in_64 ty) (iconst (simm32 value))) address offset))
2964
+ (side_effect
2965
+ (x64_movimm_m ty (to_amode flags address offset) value)))
2966
+
2967
+ ;; F32 stores of values in XMM registers.
2968
+ (rule 1 (lower (store flags
2969
+ value @ (value_type $F32)
2970
+ address
2971
+ offset))
2972
+ (side_effect
2973
+ (x64_movss_store (to_amode flags address offset) value)))
2974
+
2975
+ ;; F64 stores of values in XMM registers.
2976
+ (rule 1 (lower (store flags
2977
+ value @ (value_type $F64)
2978
+ address
2979
+ offset))
2980
+ (side_effect
2981
+ (x64_movsd_store (to_amode flags address offset) value)))
2982
+
2983
+ ;; Stores of F32X4 vectors.
2984
+ (rule 1 (lower (store flags
2985
+ value @ (value_type $F32X4)
2986
+ address
2987
+ offset))
2988
+ (side_effect
2989
+ (x64_movups_store (to_amode flags address offset) value)))
2990
+
2991
+ ;; Stores of F64X2 vectors.
2992
+ (rule 1 (lower (store flags
2993
+ value @ (value_type $F64X2)
2994
+ address
2995
+ offset))
2996
+ (side_effect
2997
+ (x64_movupd_store (to_amode flags address offset) value)))
2998
+
2999
+ ;; Stores of all other 128-bit vector types with integer lanes.
3000
+ (rule -1 (lower (store flags
3001
+ value @ (value_type (ty_vec128_int _))
3002
+ address
3003
+ offset))
3004
+ (side_effect
3005
+ (x64_movdqu_store (to_amode flags address offset) value)))
3006
+
3007
+ ;; Stores of I128 values: store the two 64-bit halves separately.
3008
+ (rule 0 (lower (store flags
3009
+ value @ (value_type $I128)
3010
+ address
3011
+ offset))
3012
+ (let ((value_reg ValueRegs value)
3013
+ (value_lo Gpr (value_regs_get_gpr value_reg 0))
3014
+ (value_hi Gpr (value_regs_get_gpr value_reg 1))
3015
+ (addr_lo Amode (to_amode flags address offset))
3016
+ (addr_hi Amode (amode_offset addr_lo 8)))
3017
+ (side_effect
3018
+ (side_effect_concat
3019
+ (x64_movrm $I64 addr_lo value_lo)
3020
+ (x64_movrm $I64 addr_hi value_hi)))))
3021
+
3022
+ ;; Slightly optimize the extraction of the first lane from a vector which is
3023
+ ;; stored in memory. In the case the first lane specifically is selected the
3024
+ ;; standard `movss` and `movsd` instructions can be used as-if we're storing a
3025
+ ;; f32 or f64 despite the source perhaps being an integer vector since the
3026
+ ;; result of the instruction is the same.
3027
+ (rule 2 (lower (store flags
3028
+ (has_type $F32 (extractlane value (u8_from_uimm8 0)))
3029
+ address
3030
+ offset))
3031
+ (side_effect
3032
+ (x64_movss_store (to_amode flags address offset) value)))
3033
+ (rule 2 (lower (store flags
3034
+ (has_type $F64 (extractlane value (u8_from_uimm8 0)))
3035
+ address
3036
+ offset))
3037
+ (side_effect
3038
+ (x64_movsd_store (to_amode flags address offset) value)))
3039
+ (rule 2 (lower (store flags
3040
+ (has_type $I8 (extractlane value (u8_from_uimm8 n)))
3041
+ address
3042
+ offset))
3043
+ (if-let $true (use_sse41))
3044
+ (side_effect
3045
+ (x64_pextrb_store (to_amode flags address offset) value n)))
3046
+ (rule 2 (lower (store flags
3047
+ (has_type $I16 (extractlane value (u8_from_uimm8 n)))
3048
+ address
3049
+ offset))
3050
+ (if-let $true (use_sse41))
3051
+ (side_effect
3052
+ (x64_pextrw_store (to_amode flags address offset) value n)))
3053
+ (rule 2 (lower (store flags
3054
+ (has_type $I32 (extractlane value (u8_from_uimm8 n)))
3055
+ address
3056
+ offset))
3057
+ (if-let $true (use_sse41))
3058
+ (side_effect
3059
+ (x64_pextrd_store (to_amode flags address offset) value n)))
3060
+ (rule 2 (lower (store flags
3061
+ (has_type $I64 (extractlane value (u8_from_uimm8 n)))
3062
+ address
3063
+ offset))
3064
+ (if-let $true (use_sse41))
3065
+ (side_effect
3066
+ (x64_pextrq_store (to_amode flags address offset) value n)))
3067
+
3068
+ ;; Rules for `load*` + ALU op + `store*` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3069
+
3070
+ ;; Add mem, reg
3071
+ (rule 3 (lower
3072
+ (store flags
3073
+ (has_type (ty_32_or_64 ty)
3074
+ (iadd (and
3075
+ (sinkable_load sink)
3076
+ (load flags addr offset))
3077
+ src2))
3078
+ addr
3079
+ offset))
3080
+ (let ((_ RegMemImm sink))
3081
+ (side_effect
3082
+ (x64_add_mem ty (to_amode flags addr offset) src2))))
3083
+
3084
+ ;; Add mem, reg with args swapped
3085
+ (rule 2 (lower
3086
+ (store flags
3087
+ (has_type (ty_32_or_64 ty)
3088
+ (iadd src2
3089
+ (and
3090
+ (sinkable_load sink)
3091
+ (load flags addr offset))))
3092
+ addr
3093
+ offset))
3094
+ (let ((_ RegMemImm sink))
3095
+ (side_effect
3096
+ (x64_add_mem ty (to_amode flags addr offset) src2))))
3097
+
3098
+ ;; Sub mem, reg
3099
+ (rule 2 (lower
3100
+ (store flags
3101
+ (has_type (ty_32_or_64 ty)
3102
+ (isub (and
3103
+ (sinkable_load sink)
3104
+ (load flags addr offset))
3105
+ src2))
3106
+ addr
3107
+ offset))
3108
+ (let ((_ RegMemImm sink))
3109
+ (side_effect
3110
+ (x64_sub_mem ty (to_amode flags addr offset) src2))))
3111
+
3112
+ ;; And mem, reg
3113
+ (rule 3 (lower
3114
+ (store flags
3115
+ (has_type (ty_32_or_64 ty)
3116
+ (band (and
3117
+ (sinkable_load sink)
3118
+ (load flags addr offset))
3119
+ src2))
3120
+ addr
3121
+ offset))
3122
+ (let ((_ RegMemImm sink))
3123
+ (side_effect
3124
+ (x64_and_mem ty (to_amode flags addr offset) src2))))
3125
+
3126
+ ;; And mem, reg with args swapped
3127
+ (rule 2 (lower
3128
+ (store flags
3129
+ (has_type (ty_32_or_64 ty)
3130
+ (band src2
3131
+ (and
3132
+ (sinkable_load sink)
3133
+ (load flags addr offset))))
3134
+ addr
3135
+ offset))
3136
+ (let ((_ RegMemImm sink))
3137
+ (side_effect
3138
+ (x64_and_mem ty (to_amode flags addr offset) src2))))
3139
+
3140
+ ;; Or mem, reg
3141
+ (rule 3 (lower
3142
+ (store flags
3143
+ (has_type (ty_32_or_64 ty)
3144
+ (bor (and
3145
+ (sinkable_load sink)
3146
+ (load flags addr offset))
3147
+ src2))
3148
+ addr
3149
+ offset))
3150
+ (let ((_ RegMemImm sink))
3151
+ (side_effect
3152
+ (x64_or_mem ty (to_amode flags addr offset) src2))))
3153
+
3154
+ ;; Or mem, reg with args swapped
3155
+ (rule 2 (lower
3156
+ (store flags
3157
+ (has_type (ty_32_or_64 ty)
3158
+ (bor src2
3159
+ (and
3160
+ (sinkable_load sink)
3161
+ (load flags addr offset))))
3162
+ addr
3163
+ offset))
3164
+ (let ((_ RegMemImm sink))
3165
+ (side_effect
3166
+ (x64_or_mem ty (to_amode flags addr offset) src2))))
3167
+
3168
+ ;; Xor mem, reg
3169
+ (rule 3 (lower
3170
+ (store flags
3171
+ (has_type (ty_32_or_64 ty)
3172
+ (bxor (and
3173
+ (sinkable_load sink)
3174
+ (load flags addr offset))
3175
+ src2))
3176
+ addr
3177
+ offset))
3178
+ (let ((_ RegMemImm sink))
3179
+ (side_effect
3180
+ (x64_xor_mem ty (to_amode flags addr offset) src2))))
3181
+
3182
+ ;; Xor mem, reg with args swapped
3183
+ (rule 2 (lower
3184
+ (store flags
3185
+ (has_type (ty_32_or_64 ty)
3186
+ (bxor src2
3187
+ (and
3188
+ (sinkable_load sink)
3189
+ (load flags addr offset))))
3190
+ addr
3191
+ offset))
3192
+ (let ((_ RegMemImm sink))
3193
+ (side_effect
3194
+ (x64_xor_mem ty (to_amode flags addr offset) src2))))
3195
+
3196
+ ;; Rules for `fence` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3197
+
3198
+ (rule (lower (fence))
3199
+ (side_effect (x64_mfence)))
3200
+
3201
+ ;; Rules for `func_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3202
+
3203
+ (rule (lower (func_addr (func_ref_data _ extname dist)))
3204
+ (load_ext_name extname 0 dist))
3205
+
3206
+ ;; Rules for `symbol_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3207
+
3208
+ (rule (lower (symbol_value (symbol_value_data extname dist offset)))
3209
+ (load_ext_name extname offset dist))
3210
+
3211
+ ;; Rules for `atomic_load` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3212
+
3213
+ ;; This is a normal load. The x86-TSO memory model provides sufficient
3214
+ ;; sequencing to satisfy the CLIF synchronisation requirements for `AtomicLoad`
3215
+ ;; without the need for any fence instructions.
3216
+ ;;
3217
+ ;; As described in the `atomic_load` documentation, this lowering is only valid
3218
+ ;; for I8, I16, I32, and I64. The sub-64-bit types are zero extended, as with a
3219
+ ;; normal load.
3220
+ (rule 1 (lower (has_type $I64 (atomic_load flags address)))
3221
+ (x64_mov (to_amode flags address (zero_offset))))
3222
+ (rule (lower (has_type (and (fits_in_32 ty) (ty_int _)) (atomic_load flags address)))
3223
+ (x64_movzx (ext_mode (ty_bits_u16 ty) 64) (to_amode flags address (zero_offset))))
3224
+
3225
+ ;; Rules for `atomic_store` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3226
+
3227
+ ;; This is a normal store followed by an `mfence` instruction. As described in
3228
+ ;; the `atomic_load` documentation, this lowering is only valid for I8, I16,
3229
+ ;; I32, and I64.
3230
+ (rule (lower (atomic_store flags
3231
+ value @ (value_type (and (fits_in_64 ty) (ty_int _)))
3232
+ address))
3233
+ (side_effect (side_effect_concat
3234
+ (x64_movrm ty (to_amode flags address (zero_offset)) value)
3235
+ (x64_mfence))))
3236
+
3237
+ ;; Rules for `atomic_cas` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3238
+
3239
+ (rule (lower (has_type (and (fits_in_64 ty) (ty_int _))
3240
+ (atomic_cas flags address expected replacement)))
3241
+ (x64_cmpxchg ty expected replacement (to_amode flags address (zero_offset))))
3242
+
3243
+ ;; Rules for `atomic_rmw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3244
+
3245
+ ;; This is a simple, general-case atomic update, based on a loop involving
3246
+ ;; `cmpxchg`. Note that we could do much better than this in the case where the
3247
+ ;; old value at the location (that is to say, the SSA `Value` computed by this
3248
+ ;; CLIF instruction) is not required. In that case, we could instead implement
3249
+ ;; this using a single `lock`-prefixed x64 read-modify-write instruction. Also,
3250
+ ;; even in the case where the old value is required, for the `add` and `sub`
3251
+ ;; cases, we can use the single instruction `lock xadd`. However, those
3252
+ ;; improvements have been left for another day. TODO: filed as
3253
+ ;; https://github.com/bytecodealliance/wasmtime/issues/2153.
3254
+
3255
+ (rule (lower (has_type (and (fits_in_64 ty) (ty_int _))
3256
+ (atomic_rmw flags op address input)))
3257
+ (x64_atomic_rmw_seq ty op (to_amode flags address (zero_offset)) input))
3258
+
3259
+ ;; Rules for `call` and `call_indirect` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3260
+
3261
+ (rule (lower (call (func_ref_data sig_ref extname dist) inputs))
3262
+ (gen_call sig_ref extname dist inputs))
3263
+
3264
+ (rule (lower (call_indirect sig_ref val inputs))
3265
+ (gen_call_indirect sig_ref val inputs))
3266
+
3267
+ ;;;; Rules for `return_call` and `return_call_indirect` ;;;;;;;;;;;;;;;;;;;;;;;;
3268
+
3269
+ (rule (lower (return_call (func_ref_data sig_ref extname dist) args))
3270
+ (gen_return_call sig_ref extname dist args))
3271
+
3272
+ (rule (lower (return_call_indirect sig_ref callee args))
3273
+ (gen_return_call_indirect sig_ref callee args))
3274
+
3275
+ ;;;; Rules for `get_{frame,stack}_pointer` and `get_return_address` ;;;;;;;;;;;;
3276
+
3277
+ (rule (lower (get_frame_pointer))
3278
+ (x64_rbp))
3279
+
3280
+ (rule (lower (get_stack_pointer))
3281
+ (x64_rsp))
3282
+
3283
+ (rule (lower (get_return_address))
3284
+ (x64_load $I64
3285
+ (Amode.ImmReg 8 (x64_rbp) (mem_flags_trusted))
3286
+ (ExtKind.None)))
3287
+
3288
+ ;; Rules for `jump` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3289
+
3290
+ (rule (lower_branch (jump _) (single_target target))
3291
+ (emit_side_effect (jmp_known target)))
3292
+
3293
+ ;; Rules for `brif` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3294
+
3295
+ (rule 2 (lower_branch (brif (maybe_uextend (icmp cc a b)) _ _) (two_targets then else))
3296
+ (emit_side_effect (jmp_cond_icmp (emit_cmp cc a b) then else)))
3297
+
3298
+ (rule 2 (lower_branch (brif (maybe_uextend (fcmp cc a b)) _ _) (two_targets then else))
3299
+ (emit_side_effect (jmp_cond_fcmp (emit_fcmp cc a b) then else)))
3300
+
3301
+ (rule 1 (lower_branch (brif val @ (value_type $I128) _ _)
3302
+ (two_targets then else))
3303
+ (emit_side_effect (jmp_cond_icmp (cmp_zero_i128 (CC.Z) val) then else)))
3304
+
3305
+ (rule (lower_branch (brif val @ (value_type (ty_int_bool_or_ref)) _ _)
3306
+ (two_targets then else))
3307
+ (emit_side_effect (with_flags_side_effect
3308
+ (cmp_zero_int_bool_ref val)
3309
+ (jmp_cond (CC.NZ) then else))))
3310
+
3311
+
3312
+ ;; Compare an I128 value to zero, returning a flags result suitable for making a
3313
+ ;; jump decision. The comparison is implemented as `(hi == 0) && (low == 0)`,
3314
+ ;; and the result can be interpreted as follows
3315
+ ;; * CC.Z indicates that the value was non-zero, as one or both of the halves of
3316
+ ;; the value were non-zero
3317
+ ;; * CC.NZ indicates that both halves of the value were 0
3318
+ (decl cmp_zero_i128 (CC ValueRegs) IcmpCondResult)
3319
+ (rule (cmp_zero_i128 (cc_nz_or_z cc) val)
3320
+ (let ((lo Gpr (value_regs_get_gpr val 0))
3321
+ (hi Gpr (value_regs_get_gpr val 1))
3322
+ (lo_z Gpr (with_flags_reg (x64_cmp (OperandSize.Size64) (RegMemImm.Imm 0) lo)
3323
+ (x64_setcc (CC.Z))))
3324
+ (hi_z Gpr (with_flags_reg (x64_cmp (OperandSize.Size64) (RegMemImm.Imm 0) hi)
3325
+ (x64_setcc (CC.Z)))))
3326
+ (icmp_cond_result (x64_test (OperandSize.Size8) lo_z hi_z) cc)))
3327
+
3328
+
3329
+ (decl cmp_zero_int_bool_ref (Value) ProducesFlags)
3330
+ (rule (cmp_zero_int_bool_ref val @ (value_type ty))
3331
+ (let ((size OperandSize (raw_operand_size_of_type ty))
3332
+ (src Gpr val))
3333
+ (x64_test size src src)))
3334
+
3335
+ ;; Rules for `br_table` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3336
+
3337
+ (rule (lower_branch (br_table idx @ (value_type ty) _) (jump_table_targets default_target jt_targets))
3338
+ (let ((size OperandSize (raw_operand_size_of_type ty))
3339
+ (jt_size u32 (jump_table_size jt_targets))
3340
+ (size_reg Reg (imm ty (u32_as_u64 jt_size)))
3341
+ (idx_reg Gpr (extend_to_gpr idx $I64 (ExtendKind.Zero)))
3342
+ (clamped_idx Reg (with_flags_reg
3343
+ (x64_cmp size size_reg idx_reg)
3344
+ (cmove ty (CC.B) idx_reg size_reg))))
3345
+ (emit_side_effect (jmp_table_seq ty clamped_idx default_target jt_targets))))
3346
+
3347
+ ;; Rules for `select_spectre_guard` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3348
+
3349
+ (rule (lower (select_spectre_guard (icmp cc a b) x y))
3350
+ (select_icmp (emit_cmp cc a b) x y))
3351
+
3352
+ (rule -1 (lower (has_type ty (select_spectre_guard c @ (value_type (fits_in_64 a_ty)) x y)))
3353
+ (let ((size OperandSize (raw_operand_size_of_type a_ty))
3354
+ (gpr_c Gpr (put_in_gpr c)))
3355
+ (with_flags (x64_test size gpr_c gpr_c) (cmove_from_values ty (CC.NZ) x y))))
3356
+
3357
+ (rule -2 (lower (has_type ty (select_spectre_guard c @ (value_type $I128) x y)))
3358
+ (let ((cond_result IcmpCondResult (cmp_zero_i128 (CC.Z) c)))
3359
+ (select_icmp cond_result x y)))
3360
+
3361
+ ;; Rules for `fcvt_from_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3362
+
3363
+ ;; Note that the `cvtsi2s{s,d}` instruction is not just an int-to-float
3364
+ ;; conversion instruction in isolation, it also takes the upper 64-bits of an
3365
+ ;; xmm register and places it into the destination. We don't actually want that
3366
+ ;; to happen as it could accidentally create a false dependency with a
3367
+ ;; previous instruction defining the register's upper 64-bits. See #7085 for
3368
+ ;; an instance of this.
3369
+ ;;
3370
+ ;; This means that the first operand to all of the int-to-float conversions here
3371
+ ;; are `(xmm_zero)` operands which is a guaranteed zero register that has no
3372
+ ;; dependencies on other instructions.
3373
+ ;;
3374
+ ;; Ideally this would be lifted out to a higher level to get deduplicated
3375
+ ;; between consecutive int-to-float operations but that's not easy
3376
+ ;; to do at this time. One possibility would be a mid-end rule which rewrites
3377
+ ;; `fcvt_from_sint` to an x86-specific opcode using a zero constant which would
3378
+ ;; be subject to normal LICM, but that's not feasible today.
3379
+
3380
+ (rule 2 (lower (has_type $F32 (fcvt_from_sint a @ (value_type $I8))))
3381
+ (x64_cvtsi2ss $I32 (xmm_zero $F32X4) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3382
+
3383
+ (rule 2 (lower (has_type $F32 (fcvt_from_sint a @ (value_type $I16))))
3384
+ (x64_cvtsi2ss $I32 (xmm_zero $F32X4) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3385
+
3386
+ (rule 1 (lower (has_type $F32 (fcvt_from_sint a @ (value_type (ty_int (fits_in_64 ty))))))
3387
+ (x64_cvtsi2ss ty (xmm_zero $F32X4) a))
3388
+
3389
+ (rule 2 (lower (has_type $F64 (fcvt_from_sint a @ (value_type $I8))))
3390
+ (x64_cvtsi2sd $I32 (xmm_zero $F64X2) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3391
+
3392
+ (rule 2 (lower (has_type $F64 (fcvt_from_sint a @ (value_type $I16))))
3393
+ (x64_cvtsi2sd $I32 (xmm_zero $F64X2) (extend_to_gpr a $I32 (ExtendKind.Sign))))
3394
+
3395
+ (rule 1 (lower (has_type $F64 (fcvt_from_sint a @ (value_type (ty_int (fits_in_64 ty))))))
3396
+ (x64_cvtsi2sd ty (xmm_zero $F64X2) a))
3397
+
3398
+ (rule 0 (lower (fcvt_from_sint a @ (value_type $I32X4)))
3399
+ (x64_cvtdq2ps a))
3400
+
3401
+ (rule 1 (lower (has_type $F64X2 (fcvt_from_sint (swiden_low a @ (value_type $I32X4)))))
3402
+ (x64_cvtdq2pd a))
3403
+
3404
+ ;; Rules for `fcvt_from_uint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3405
+
3406
+ (rule 1 (lower (has_type $F32 (fcvt_from_uint val @ (value_type (fits_in_32 (ty_int ty))))))
3407
+ (x64_cvtsi2ss $I64 (xmm_zero $F32X4) (extend_to_gpr val $I64 (ExtendKind.Zero))))
3408
+
3409
+ (rule 1 (lower (has_type $F64 (fcvt_from_uint val @ (value_type (fits_in_32 (ty_int ty))))))
3410
+ (x64_cvtsi2sd $I64 (xmm_zero $F64X2) (extend_to_gpr val $I64 (ExtendKind.Zero))))
3411
+
3412
+ (rule (lower (has_type ty (fcvt_from_uint val @ (value_type $I64))))
3413
+ (cvt_u64_to_float_seq ty val))
3414
+
3415
+ ;; Algorithm uses unpcklps to help create a float that is equivalent
3416
+ ;; 0x1.0p52 + double(src). 0x1.0p52 is unique because at this exponent
3417
+ ;; every value of the mantissa represents a corresponding uint32 number.
3418
+ ;; When we subtract 0x1.0p52 we are left with double(src).
3419
+ (rule 1 (lower (has_type $F64X2 (fcvt_from_uint (uwiden_low val @ (value_type $I32X4)))))
3420
+ (let ((uint_mask XmmMem (emit_u128_le_const 0x43300000_43300000))
3421
+ (res Xmm (x64_unpcklps val uint_mask))
3422
+ (uint_mask_high XmmMem (emit_u128_le_const 0x4330000000000000_4330000000000000)))
3423
+ (x64_subpd res uint_mask_high)))
3424
+
3425
+ ;; When AVX512VL and AVX512F are available,
3426
+ ;; `fcvt_from_uint` can be lowered to a single instruction.
3427
+ (rule 2 (lower (has_type $F32X4 (fcvt_from_uint src)))
3428
+ (if-let $true (use_avx512vl))
3429
+ (if-let $true (use_avx512f))
3430
+ (x64_vcvtudq2ps src))
3431
+
3432
+ ;; Converting packed unsigned integers to packed floats
3433
+ ;; requires a few steps. There is no single instruction
3434
+ ;; lowering for converting unsigned floats but there is for
3435
+ ;; converting packed signed integers to float (cvtdq2ps). In
3436
+ ;; the steps below we isolate the upper half (16 bits) and
3437
+ ;; lower half (16 bits) of each lane and then we convert
3438
+ ;; each half separately using cvtdq2ps meant for signed
3439
+ ;; integers. In order for this to work for the upper half
3440
+ ;; bits we must shift right by 1 (divide by 2) these bits in
3441
+ ;; order to ensure the most significant bit is 0 not signed,
3442
+ ;; and then after the conversion we double the value.
3443
+ ;; Finally we add the converted values where addition will
3444
+ ;; correctly round.
3445
+ ;;
3446
+ ;; Sequence:
3447
+ ;; -> A = 0xffffffff
3448
+ ;; -> Ah = 0xffff0000
3449
+ ;; -> Al = 0x0000ffff
3450
+ ;; -> Convert(Al) // Convert int to float
3451
+ ;; -> Ah = Ah >> 1 // Shift right 1 to assure Ah conversion isn't treated as signed
3452
+ ;; -> Convert(Ah) // Convert .. with no loss of significant digits from previous shift
3453
+ ;; -> Ah = Ah + Ah // Double Ah to account for shift right before the conversion.
3454
+ ;; -> dst = Ah + Al // Add the two floats together
3455
+ (rule 1 (lower (has_type $F32X4 (fcvt_from_uint val)))
3456
+ (let ((a Xmm val)
3457
+
3458
+ ;; get the low 16 bits
3459
+ (a_lo Xmm (x64_pslld a (xmi_imm 16)))
3460
+ (a_lo Xmm (x64_psrld a_lo (xmi_imm 16)))
3461
+
3462
+ ;; get the high 16 bits
3463
+ (a_hi Xmm (x64_psubd a a_lo))
3464
+
3465
+ ;; convert the low 16 bits
3466
+ (a_lo Xmm (x64_cvtdq2ps a_lo))
3467
+
3468
+ ;; shift the high bits by 1, convert, and double to get the correct
3469
+ ;; value
3470
+ (a_hi Xmm (x64_psrld a_hi (xmi_imm 1)))
3471
+ (a_hi Xmm (x64_cvtdq2ps a_hi))
3472
+ (a_hi Xmm (x64_addps a_hi a_hi)))
3473
+
3474
+ ;; add together the two converted values
3475
+ (x64_addps a_hi a_lo)))
3476
+
3477
+ ;; Rules for `fcvt_to_uint` and `fcvt_to_sint` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3478
+
3479
+ (rule (lower (has_type out_ty (fcvt_to_uint val @ (value_type (ty_scalar_float _)))))
3480
+ (cvt_float_to_uint_seq out_ty val $false))
3481
+
3482
+ (rule (lower (has_type out_ty (fcvt_to_uint_sat val @ (value_type (ty_scalar_float _)))))
3483
+ (cvt_float_to_uint_seq out_ty val $true))
3484
+
3485
+ (rule (lower (has_type out_ty (fcvt_to_sint val @ (value_type (ty_scalar_float _)))))
3486
+ (cvt_float_to_sint_seq out_ty val $false))
3487
+
3488
+ (rule (lower (has_type out_ty (fcvt_to_sint_sat val @ (value_type (ty_scalar_float _)))))
3489
+ (cvt_float_to_sint_seq out_ty val $true))
3490
+
3491
+ ;; The x64 backend currently only supports these two type combinations.
3492
+ (rule 1 (lower (has_type $I32X4 (fcvt_to_sint_sat val @ (value_type $F32X4))))
3493
+ (let ((src Xmm val)
3494
+
3495
+ ;; Sets tmp to zero if float is NaN
3496
+ (tmp Xmm (x64_cmpps src src (FcmpImm.Equal)))
3497
+ (dst Xmm (x64_andps src tmp))
3498
+
3499
+ ;; Sets top bit of tmp if float is positive
3500
+ ;; Setting up to set top bit on negative float values
3501
+ (tmp Xmm (x64_pxor tmp dst))
3502
+
3503
+ ;; Convert the packed float to packed doubleword.
3504
+ (dst Xmm (x64_cvttps2dq dst))
3505
+
3506
+ ;; Set top bit only if < 0
3507
+ (tmp Xmm (x64_pand dst tmp))
3508
+ (tmp Xmm (x64_psrad tmp (xmi_imm 31))))
3509
+
3510
+ ;; On overflow 0x80000000 is returned to a lane.
3511
+ ;; Below sets positive overflow lanes to 0x7FFFFFFF
3512
+ ;; Keeps negative overflow lanes as is.
3513
+ (x64_pxor tmp dst)))
3514
+
3515
+ ;; The algorithm for converting floats to unsigned ints is a little tricky. The
3516
+ ;; complication arises because we are converting from a signed 64-bit int with a positive
3517
+ ;; integer range from 1..INT_MAX (0x1..0x7FFFFFFF) to an unsigned integer with an extended
3518
+ ;; range from (INT_MAX+1)..UINT_MAX. It's this range from (INT_MAX+1)..UINT_MAX
3519
+ ;; (0x80000000..0xFFFFFFFF) that needs to be accounted for as a special case since our
3520
+ ;; conversion instruction (cvttps2dq) only converts as high as INT_MAX (0x7FFFFFFF), but
3521
+ ;; which conveniently setting underflows and overflows (smaller than MIN_INT or larger than
3522
+ ;; MAX_INT) to be INT_MAX+1 (0x80000000). Nothing that the range (INT_MAX+1)..UINT_MAX includes
3523
+ ;; precisely INT_MAX values we can correctly account for and convert every value in this range
3524
+ ;; if we simply subtract INT_MAX+1 before doing the cvttps2dq conversion. After the subtraction
3525
+ ;; every value originally (INT_MAX+1)..UINT_MAX is now the range (0..INT_MAX).
3526
+ ;; After the conversion we add INT_MAX+1 back to this converted value, noting again that
3527
+ ;; values we are trying to account for were already set to INT_MAX+1 during the original conversion.
3528
+ ;; We simply have to create a mask and make sure we are adding together only the lanes that need
3529
+ ;; to be accounted for. Digesting it all the steps then are:
3530
+ ;;
3531
+ ;; Step 1 - Account for NaN and negative floats by setting these src values to zero.
3532
+ ;; Step 2 - Make a copy (tmp1) of the src value since we need to convert twice for
3533
+ ;; reasons described above.
3534
+ ;; Step 3 - Convert the original src values. This will convert properly all floats up to INT_MAX
3535
+ ;; Step 4 - Subtract INT_MAX from the copy set (tmp1). Note, all zero and negative values are those
3536
+ ;; values that were originally in the range (0..INT_MAX). This will come in handy during
3537
+ ;; step 7 when we zero negative lanes.
3538
+ ;; Step 5 - Create a bit mask for tmp1 that will correspond to all lanes originally less than
3539
+ ;; UINT_MAX that are now less than INT_MAX thanks to the subtraction.
3540
+ ;; Step 6 - Convert the second set of values (tmp1)
3541
+ ;; Step 7 - Prep the converted second set by zeroing out negative lanes (these have already been
3542
+ ;; converted correctly with the first set) and by setting overflow lanes to 0x7FFFFFFF
3543
+ ;; as this will allow us to properly saturate overflow lanes when adding to 0x80000000
3544
+ ;; Step 8 - Add the orginal converted src and the converted tmp1 where float values originally less
3545
+ ;; than and equal to INT_MAX will be unchanged, float values originally between INT_MAX+1 and
3546
+ ;; UINT_MAX will add together (INT_MAX) + (SRC - INT_MAX), and float values originally
3547
+ ;; greater than UINT_MAX will be saturated to UINT_MAX (0xFFFFFFFF) after adding (0x8000000 + 0x7FFFFFFF).
3548
+ ;;
3549
+ ;;
3550
+ ;; The table below illustrates the result after each step where it matters for the converted set.
3551
+ ;; Note the original value range (original src set) is the final dst in Step 8:
3552
+ ;;
3553
+ ;; Original src set:
3554
+ ;; | Original Value Range | Step 1 | Step 3 | Step 8 |
3555
+ ;; | -FLT_MIN..FLT_MAX | 0.0..FLT_MAX | 0..INT_MAX(w/overflow) | 0..UINT_MAX(w/saturation) |
3556
+ ;;
3557
+ ;; Copied src set (tmp1):
3558
+ ;; | Step 2 | Step 4 |
3559
+ ;; | 0.0..FLT_MAX | (0.0-(INT_MAX+1))..(FLT_MAX-(INT_MAX+1)) |
3560
+ ;;
3561
+ ;; | Step 6 | Step 7 |
3562
+ ;; | (0-(INT_MAX+1))..(UINT_MAX-(INT_MAX+1))(w/overflow) | ((INT_MAX+1)-(INT_MAX+1))..(INT_MAX+1) |
3563
+ (rule 1 (lower (has_type $I32X4 (fcvt_to_uint_sat val @ (value_type $F32X4))))
3564
+ (let ((src Xmm val)
3565
+
3566
+ ;; Converting to unsigned int so if float src is negative or NaN
3567
+ ;; will first set to zero.
3568
+ (tmp2 Xmm (xmm_zero $F32X4))
3569
+ (dst Xmm (x64_maxps src tmp2))
3570
+
3571
+ ;; Set tmp2 to INT_MAX+1. It is important to note here that after it looks
3572
+ ;; like we are only converting INT_MAX (0x7FFFFFFF) but in fact because
3573
+ ;; single precision IEEE-754 floats can only accurately represent contingous
3574
+ ;; integers up to 2^23 and outside of this range it rounds to the closest
3575
+ ;; integer that it can represent. In the case of INT_MAX, this value gets
3576
+ ;; represented as 0x4f000000 which is the integer value (INT_MAX+1).
3577
+ (tmp2 Xmm (x64_pcmpeqd tmp2 tmp2))
3578
+ (tmp2 Xmm (x64_psrld tmp2 (xmi_imm 1)))
3579
+ (tmp2 Xmm (x64_cvtdq2ps tmp2))
3580
+
3581
+ ;; Make a copy of these lanes and then do the first conversion.
3582
+ ;; Overflow lanes greater than the maximum allowed signed value will
3583
+ ;; set to 0x80000000. Negative and NaN lanes will be 0x0
3584
+ (tmp1 Xmm dst)
3585
+ (dst Xmm (x64_cvttps2dq dst))
3586
+
3587
+ ;; Set lanes to src - max_signed_int
3588
+ (tmp1 Xmm (x64_subps tmp1 tmp2))
3589
+
3590
+ ;; Create mask for all positive lanes to saturate (i.e. greater than
3591
+ ;; or equal to the maxmimum allowable unsigned int).
3592
+ (tmp2 Xmm (x64_cmpps tmp2 tmp1 (FcmpImm.LessThanOrEqual)))
3593
+
3594
+ ;; Convert those set of lanes that have the max_signed_int factored out.
3595
+ (tmp1 Xmm (x64_cvttps2dq tmp1))
3596
+
3597
+ ;; Prepare converted lanes by zeroing negative lanes and prepping lanes
3598
+ ;; that have positive overflow (based on the mask) by setting these lanes
3599
+ ;; to 0x7FFFFFFF
3600
+ (tmp1 Xmm (x64_pxor tmp1 tmp2))
3601
+ (tmp2 Xmm (xmm_zero $I32X4))
3602
+ (tmp1 Xmm (lower_vec_smax $I32X4 tmp1 tmp2)))
3603
+
3604
+ ;; Add this second set of converted lanes to the original to properly handle
3605
+ ;; values greater than max signed int.
3606
+ (x64_paddd tmp1 dst)))
3607
+
3608
+ ;; Rules for `x86_cvtt2dq` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3609
+
3610
+ (rule (lower (has_type $I32X4 (x86_cvtt2dq val @ (value_type $F32X4))))
3611
+ (x64_cvttps2dq val))
3612
+
3613
+ ;; Rules for `iadd_pairwise` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3614
+
3615
+ (rule (lower (has_type $I8X16 (iadd_pairwise x y)))
3616
+ (let (
3617
+ ;; Shuffle all the even lanes of `x` and `y` into one register
3618
+ (even_lane_mask Xmm (x64_movdqu_load (emit_u128_le_const 0x00ff_00ff_00ff_00ff_00ff_00ff_00ff_00ff)))
3619
+ (x_evens Xmm (x64_pand x even_lane_mask))
3620
+ (y_evens Xmm (x64_pand y even_lane_mask))
3621
+ (evens Xmm (x64_packuswb x_evens y_evens))
3622
+
3623
+ ;; Shuffle all the odd lanes of `x` and `y` into one register
3624
+ (x_odds Xmm (x64_psrlw x (xmi_imm 8)))
3625
+ (y_odds Xmm (x64_psrlw y (xmi_imm 8)))
3626
+ (odds Xmm (x64_packuswb x_odds y_odds))
3627
+ )
3628
+ (x64_paddb evens odds)))
3629
+
3630
+
3631
+ (rule 1 (lower (has_type $I16X8 (iadd_pairwise x y)))
3632
+ (if-let $true (use_ssse3))
3633
+ (x64_phaddw x y))
3634
+
3635
+ (rule (lower (has_type $I16X8 (iadd_pairwise x y)))
3636
+ (let (
3637
+ (x Xmm x)
3638
+ (y Xmm y)
3639
+
3640
+ ;; Shuffle the even-numbered 16-bit lanes into low four lanes of each
3641
+ ;; vector by shuffling 16-bit lanes then shuffling 32-bit lanes.
3642
+ ;; With these in place generate a new vector from the two low 64-bits
3643
+ ;; of each vector (the low four 16-bit lanes).
3644
+ ;;
3645
+ ;; 0xe8 == 0b11_10_10_00
3646
+ (x_evens Xmm (x64_pshufd (x64_pshufhw (x64_pshuflw x 0xe8) 0xe8) 0xe8))
3647
+ (y_evens Xmm (x64_pshufd (x64_pshufhw (x64_pshuflw y 0xe8) 0xe8) 0xe8))
3648
+ (evens Xmm (x64_punpcklqdq x_evens y_evens))
3649
+
3650
+ ;; Shuffle the odd-numbered 16-bit lanes into the low 8 lanes by
3651
+ ;; performing `sshr` operation on 32-bit lanes, effectively moving the
3652
+ ;; odd lanes into even lanes while leaving their sign bits in the
3653
+ ;; odd lanes. The `packssdw` instruction then conveniently will
3654
+ ;; put everything into one vector for us.
3655
+ (x_shifted Xmm (x64_psrad x (xmi_imm 16)))
3656
+ (y_shifted Xmm (x64_psrad y (xmi_imm 16)))
3657
+ (odds Xmm (x64_packssdw x_shifted y_shifted))
3658
+ )
3659
+ (x64_paddw evens odds)))
3660
+
3661
+ (rule 1 (lower (has_type $I32X4 (iadd_pairwise x y)))
3662
+ (if-let $true (use_ssse3))
3663
+ (x64_phaddd x y))
3664
+
3665
+ (rule (lower (has_type $I32X4 (iadd_pairwise x y)))
3666
+ (let (
3667
+ (x Xmm x)
3668
+ (y Xmm y)
3669
+ ;; evens = [ x[0] x[2] y[0] y[2] ]
3670
+ (evens Xmm (x64_shufps x y 0b10_00_10_00))
3671
+ ;; odds = [ x[1] x[3] y[1] y[3] ]
3672
+ (odds Xmm (x64_shufps x y 0b11_01_11_01))
3673
+ )
3674
+ (x64_paddd evens odds)))
3675
+
3676
+ ;; special case for the `i16x8.extadd_pairwise_i8x16_s` wasm instruction
3677
+ (rule 2 (lower
3678
+ (has_type $I16X8 (iadd_pairwise
3679
+ (swiden_low val @ (value_type $I8X16))
3680
+ (swiden_high val))))
3681
+ (if-let $true (use_ssse3))
3682
+ (let ((mul_const Xmm (x64_xmm_load_const $I8X16
3683
+ (emit_u128_le_const 0x01010101010101010101010101010101))))
3684
+ (x64_pmaddubsw mul_const val)))
3685
+
3686
+ ;; special case for the `i32x4.extadd_pairwise_i16x8_s` wasm instruction
3687
+ (rule 2 (lower
3688
+ (has_type $I32X4 (iadd_pairwise
3689
+ (swiden_low val @ (value_type $I16X8))
3690
+ (swiden_high val))))
3691
+ (let ((mul_const XmmMem (emit_u128_le_const 0x0001_0001_0001_0001_0001_0001_0001_0001)))
3692
+ (x64_pmaddwd val mul_const)))
3693
+
3694
+ ;; special case for the `i16x8.extadd_pairwise_i8x16_u` wasm instruction
3695
+ (rule 2 (lower
3696
+ (has_type $I16X8 (iadd_pairwise
3697
+ (uwiden_low val @ (value_type $I8X16))
3698
+ (uwiden_high val))))
3699
+ (if-let $true (use_ssse3))
3700
+ (let ((mul_const XmmMem (emit_u128_le_const 0x01010101010101010101010101010101)))
3701
+ (x64_pmaddubsw val mul_const)))
3702
+
3703
+ ;; special case for the `i32x4.extadd_pairwise_i16x8_u` wasm instruction
3704
+ (rule 2 (lower
3705
+ (has_type $I32X4 (iadd_pairwise
3706
+ (uwiden_low val @ (value_type $I16X8))
3707
+ (uwiden_high val))))
3708
+ (let ((xor_const XmmMem (emit_u128_le_const 0x8000_8000_8000_8000_8000_8000_8000_8000))
3709
+ (dst Xmm (x64_pxor val xor_const))
3710
+
3711
+ (madd_const XmmMem (emit_u128_le_const 0x0001_0001_0001_0001_0001_0001_0001_0001))
3712
+ (dst Xmm (x64_pmaddwd dst madd_const))
3713
+
3714
+ (addd_const XmmMem (emit_u128_le_const 0x00010000_00010000_00010000_00010000)))
3715
+ (x64_paddd dst addd_const)))
3716
+
3717
+ ;; special case for the `i32x4.dot_i16x8_s` wasm instruction
3718
+ (rule 2 (lower
3719
+ (has_type $I32X4 (iadd_pairwise
3720
+ (imul (swiden_low x) (swiden_low y))
3721
+ (imul (swiden_high x) (swiden_high y)))))
3722
+ (x64_pmaddwd x y))
3723
+
3724
+ ;; Rules for `swiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3725
+
3726
+ ;; With SSE4.1 use the `pmovsx*` instructions for this
3727
+ (rule 1 (lower (has_type $I16X8 (swiden_low val @ (value_type $I8X16))))
3728
+ (if-let $true (use_sse41))
3729
+ (x64_pmovsxbw val))
3730
+ (rule 1 (lower (has_type $I32X4 (swiden_low val @ (value_type $I16X8))))
3731
+ (if-let $true (use_sse41))
3732
+ (x64_pmovsxwd val))
3733
+ (rule 1 (lower (has_type $I64X2 (swiden_low val @ (value_type $I32X4))))
3734
+ (if-let $true (use_sse41))
3735
+ (x64_pmovsxdq val))
3736
+
3737
+ (rule (lower (has_type ty (swiden_low val))) (lower_swiden_low ty val))
3738
+
3739
+ (decl lower_swiden_low (Type Xmm) Xmm)
3740
+
3741
+ ;; Duplicate the low lanes next to each other, then perform a wider shift-right
3742
+ ;; by the low lane width to move the upper of each pair back into the lower lane
3743
+ ;; of each pair, achieving the widening of the lower lanes.
3744
+ (rule (lower_swiden_low $I16X8 val)
3745
+ (x64_psraw (x64_punpcklbw val val) (xmi_imm 8)))
3746
+ (rule (lower_swiden_low $I32X4 val)
3747
+ (x64_psrad (x64_punpcklwd val val) (xmi_imm 16)))
3748
+
3749
+ ;; Generate the sign-extended halves with a `val < 0` comparison (expressed
3750
+ ;; reversed here), then interleave the low 32-bit halves to create the full
3751
+ ;; 64-bit results.
3752
+ (rule (lower_swiden_low $I64X2 val)
3753
+ (let ((tmp Xmm (x64_pcmpgtd (xmm_zero $I32X4) val)))
3754
+ (x64_punpckldq val tmp)))
3755
+
3756
+ ;; Rules for `swiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3757
+
3758
+ ;; Similar to `swiden_low` with SSE4.1 except that the upper lanes are moved
3759
+ ;; to the lower lanes first.
3760
+ (rule 1 (lower (has_type $I16X8 (swiden_high val @ (value_type $I8X16))))
3761
+ (if-let $true (use_sse41))
3762
+ (if-let $true (use_ssse3))
3763
+ (let ((x Xmm val))
3764
+ (x64_pmovsxbw (x64_palignr x x 8))))
3765
+ (rule 1 (lower (has_type $I32X4 (swiden_high val @ (value_type $I16X8))))
3766
+ (if-let $true (use_sse41))
3767
+ (if-let $true (use_ssse3))
3768
+ (let ((x Xmm val))
3769
+ (x64_pmovsxwd (x64_palignr x x 8))))
3770
+ (rule 1 (lower (has_type $I64X2 (swiden_high val @ (value_type $I32X4))))
3771
+ (if-let $true (use_sse41))
3772
+ (x64_pmovsxdq (x64_pshufd val 0b11_10_11_10)))
3773
+
3774
+ ;; Similar to `swiden_low` versions but using `punpckh*` instructions to
3775
+ ;; pair the high lanes next to each other.
3776
+ (rule (lower (has_type $I16X8 (swiden_high val @ (value_type $I8X16))))
3777
+ (let ((val Xmm val))
3778
+ (x64_psraw (x64_punpckhbw val val) (xmi_imm 8))))
3779
+ (rule (lower (has_type $I32X4 (swiden_high val @ (value_type $I16X8))))
3780
+ (let ((val Xmm val))
3781
+ (x64_psrad (x64_punpckhwd val val) (xmi_imm 16))))
3782
+
3783
+ ;; Same as `swiden_low`, but `val` has its high lanes moved down.
3784
+ (rule (lower (has_type $I64X2 (swiden_high val @ (value_type $I32X4))))
3785
+ (let ((val Xmm (x64_pshufd val 0b00_00_11_10))
3786
+ (tmp Xmm (x64_pcmpgtd (xmm_zero $I32X4) val)))
3787
+ (x64_punpckldq val tmp)))
3788
+
3789
+ ;; Rules for `uwiden_low` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3790
+
3791
+ ;; With SSE4.1 use the `pmovzx*` instructions for this
3792
+ (rule 1 (lower (has_type $I16X8 (uwiden_low val @ (value_type $I8X16))))
3793
+ (if-let $true (use_sse41))
3794
+ (x64_pmovzxbw val))
3795
+ (rule 1 (lower (has_type $I32X4 (uwiden_low val @ (value_type $I16X8))))
3796
+ (if-let $true (use_sse41))
3797
+ (x64_pmovzxwd val))
3798
+ (rule 1 (lower (has_type $I64X2 (uwiden_low val @ (value_type $I32X4))))
3799
+ (if-let $true (use_sse41))
3800
+ (x64_pmovzxdq val))
3801
+
3802
+ (rule (lower (has_type ty (uwiden_low val))) (lower_uwiden_low ty val))
3803
+
3804
+ ;; Interleave an all-zero register with the low lanes to produce zero-extended
3805
+ ;; results.
3806
+ (decl lower_uwiden_low (Type Xmm) Xmm)
3807
+ (rule (lower_uwiden_low $I16X8 val) (x64_punpcklbw val (xmm_zero $I8X16)))
3808
+ (rule (lower_uwiden_low $I32X4 val) (x64_punpcklwd val (xmm_zero $I8X16)))
3809
+ (rule (lower_uwiden_low $I64X2 val) (x64_unpcklps val (xmm_zero $F32X4)))
3810
+
3811
+ ;; Rules for `uwiden_high` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3812
+
3813
+ ;; Same as `uwiden_high`, but interleaving high lanes instead.
3814
+ ;;
3815
+ ;; Note that according to `llvm-mca` at least these instructions are faster
3816
+ ;; than using `pmovzx*` in terms of cycles, even if SSE4.1 is available.
3817
+ (rule (lower (has_type $I16X8 (uwiden_high val @ (value_type $I8X16))))
3818
+ (x64_punpckhbw val (xmm_zero $I8X16)))
3819
+ (rule (lower (has_type $I32X4 (uwiden_high val @ (value_type $I16X8))))
3820
+ (x64_punpckhwd val (xmm_zero $I8X16)))
3821
+ (rule (lower (has_type $I64X2 (uwiden_high val @ (value_type $I32X4))))
3822
+ (x64_unpckhps val (xmm_zero $F32X4)))
3823
+
3824
+ ;; Rules for `snarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3825
+
3826
+ (rule (lower (has_type $I8X16 (snarrow a @ (value_type $I16X8) b)))
3827
+ (x64_packsswb a b))
3828
+
3829
+ (rule (lower (has_type $I16X8 (snarrow a @ (value_type $I32X4) b)))
3830
+ (x64_packssdw a b))
3831
+
3832
+ ;; We're missing a `snarrow` case for $I64X2
3833
+ ;; https://github.com/bytecodealliance/wasmtime/issues/4734
3834
+
3835
+ ;; This rule is a special case for handling the translation of the wasm op
3836
+ ;; `i32x4.trunc_sat_f64x2_s_zero`. It can be removed once we have an
3837
+ ;; implementation of `snarrow` for `I64X2`.
3838
+ (rule (lower (has_type $I32X4 (snarrow (has_type $I64X2 (fcvt_to_sint_sat val))
3839
+ (vconst (u128_from_constant 0)))))
3840
+ (let ((a Xmm val)
3841
+
3842
+ ;; y = i32x4.trunc_sat_f64x2_s_zero(x) is lowered to:
3843
+ ;; MOVE xmm_tmp, xmm_x
3844
+ ;; CMPEQPD xmm_tmp, xmm_x
3845
+ ;; MOVE xmm_y, xmm_x
3846
+ ;; ANDPS xmm_tmp, [wasm_f64x2_splat(2147483647.0)]
3847
+ ;; MINPD xmm_y, xmm_tmp
3848
+ ;; CVTTPD2DQ xmm_y, xmm_y
3849
+
3850
+ (tmp1 Xmm (x64_cmppd a a (FcmpImm.Equal)))
3851
+
3852
+ ;; 2147483647.0 is equivalent to 0x41DFFFFFFFC00000
3853
+ (umax_mask XmmMem (emit_u128_le_const 0x41DFFFFFFFC00000_41DFFFFFFFC00000))
3854
+
3855
+ ;; ANDPD xmm_y, [wasm_f64x2_splat(2147483647.0)]
3856
+ (tmp1 Xmm (x64_andps tmp1 umax_mask))
3857
+ (dst Xmm (x64_minpd a tmp1)))
3858
+ (x64_cvttpd2dq dst)))
3859
+
3860
+ ;; This rule is a special case for handling the translation of the wasm op
3861
+ ;; `i32x4.relaxed_trunc_f64x2_s_zero`.
3862
+ (rule (lower (has_type $I32X4 (snarrow (has_type $I64X2 (x86_cvtt2dq val))
3863
+ (vconst (u128_from_constant 0)))))
3864
+ (x64_cvttpd2dq val))
3865
+
3866
+ ;; Rules for `unarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3867
+
3868
+ (rule (lower (has_type $I8X16 (unarrow a @ (value_type $I16X8) b)))
3869
+ (x64_packuswb a b))
3870
+
3871
+ (rule 1 (lower (has_type $I16X8 (unarrow a @ (value_type $I32X4) b)))
3872
+ (if-let $true (use_sse41))
3873
+ (x64_packusdw a b))
3874
+
3875
+ ;; For each input `a` and `b` take the four 32-bit lanes and compress them to
3876
+ ;; the low 64-bits of the vector as four 16-bit lanes. Then these are woven
3877
+ ;; into one final vector with a `punpcklqdq`.
3878
+ ;;
3879
+ ;; If this is performance sensitive then it's probably best to upgrade the CPU
3880
+ ;; to get the above single-instruction lowering.
3881
+ (rule (lower (has_type $I16X8 (unarrow a @ (value_type $I32X4) b)))
3882
+ (let (
3883
+ (a Xmm (unarrow_i32x4_lanes_to_low_u16_lanes a))
3884
+ (b Xmm (unarrow_i32x4_lanes_to_low_u16_lanes b))
3885
+ )
3886
+ (x64_punpcklqdq a b)))
3887
+
3888
+ (decl unarrow_i32x4_lanes_to_low_u16_lanes (Xmm) Xmm)
3889
+ (rule (unarrow_i32x4_lanes_to_low_u16_lanes val)
3890
+ (let (
3891
+ ;; First convert all negative values in `val` to zero lanes.
3892
+ (val_gt_zero Xmm (x64_pcmpgtd val (xmm_zero $I32X4)))
3893
+ (val Xmm (x64_pand val val_gt_zero))
3894
+
3895
+ ;; Next clamp all larger-than-u16-max lanes to u16::MAX.
3896
+ (max Xmm (x64_movdqu_load (emit_u128_le_const 0x0000ffff_0000ffff_0000ffff_0000ffff)))
3897
+ (cmp Xmm (x64_pcmpgtd max val))
3898
+ (valid_lanes Xmm (x64_pand val cmp))
3899
+ (clamped_lanes Xmm (x64_pandn cmp max))
3900
+ (val Xmm (x64_por valid_lanes clamped_lanes))
3901
+
3902
+ ;; Within each 64-bit half of the 32x4 vector move the first 16 bits
3903
+ ;; and the third 16 bits to the bottom of the half. Afterwards
3904
+ ;; for the 32x4 vector move the first and third lanes to the bottom
3905
+ ;; lanes, which finishes up the conversion here as all the lanes
3906
+ ;; are now converted to 16-bit values in the low 4 lanes.
3907
+ (val Xmm (x64_pshuflw val 0b00_00_10_00))
3908
+ (val Xmm (x64_pshufhw val 0b00_00_10_00))
3909
+ )
3910
+ (x64_pshufd val 0b00_00_10_00)))
3911
+
3912
+
3913
+ ;; We're missing a `unarrow` case for $I64X2
3914
+ ;; https://github.com/bytecodealliance/wasmtime/issues/4734
3915
+
3916
+ ;; Rules for `bitcast` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3917
+
3918
+ (rule (lower (has_type $I32 (bitcast _ src @ (value_type $F32))))
3919
+ (bitcast_xmm_to_gpr $F32 src))
3920
+
3921
+ (rule (lower (has_type $F32 (bitcast _ src @ (value_type $I32))))
3922
+ (bitcast_gpr_to_xmm $I32 src))
3923
+
3924
+ (rule (lower (has_type $I64 (bitcast _ src @ (value_type $F64))))
3925
+ (bitcast_xmm_to_gpr $F64 src))
3926
+
3927
+ (rule (lower (has_type $F64 (bitcast _ src @ (value_type $I64))))
3928
+ (bitcast_gpr_to_xmm $I64 src))
3929
+
3930
+ ;; Bitcast between types residing in GPR registers is a no-op.
3931
+ (rule 1 (lower (has_type (is_gpr_type _)
3932
+ (bitcast _ x @ (value_type (is_gpr_type _))))) x)
3933
+
3934
+ ;; Bitcast between types residing in XMM registers is a no-op.
3935
+ (rule 2 (lower (has_type (is_xmm_type _)
3936
+ (bitcast _ x @ (value_type (is_xmm_type _))))) x)
3937
+
3938
+ ;; Rules for `fcopysign` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3939
+
3940
+ (rule (lower (has_type $F32 (fcopysign a @ (value_type $F32) b)))
3941
+ (let ((sign_bit Xmm (imm $F32 0x80000000)))
3942
+ (x64_orps
3943
+ (x64_andnps sign_bit a)
3944
+ (x64_andps sign_bit b))))
3945
+
3946
+ (rule (lower (has_type $F64 (fcopysign a @ (value_type $F64) b)))
3947
+ (let ((sign_bit Xmm (imm $F64 0x8000000000000000)))
3948
+ (x64_orpd
3949
+ (x64_andnpd sign_bit a)
3950
+ (x64_andpd sign_bit b))))
3951
+
3952
+ ;; Helper for the `ceil`/`floor`/`nearest`/`trunc` instructions ;;;;;;;;;;;;;;;;
3953
+
3954
+ ;; Emits either a `round{ss,sd,ps,pd}` instruction, as appropriate, or generates
3955
+ ;; the appropriate libcall and sequence to call that.
3956
+ (decl x64_round (Type RegMem RoundImm) Xmm)
3957
+ (rule 1 (x64_round $F32 a imm)
3958
+ (if-let $true (use_sse41))
3959
+ (x64_roundss a imm))
3960
+ (rule 1 (x64_round $F64 a imm)
3961
+ (if-let $true (use_sse41))
3962
+ (x64_roundsd a imm))
3963
+ (rule 1 (x64_round $F32X4 a imm)
3964
+ (if-let $true (use_sse41))
3965
+ (x64_roundps a imm))
3966
+ (rule 1 (x64_round $F64X2 a imm)
3967
+ (if-let $true (use_sse41))
3968
+ (x64_roundpd a imm))
3969
+
3970
+ (rule (x64_round $F32 (RegMem.Reg a) imm) (libcall_1 (round_libcall $F32 imm) a))
3971
+ (rule (x64_round $F64 (RegMem.Reg a) imm) (libcall_1 (round_libcall $F64 imm) a))
3972
+ (rule (x64_round $F32X4 (RegMem.Reg a) imm)
3973
+ (let (
3974
+ (libcall LibCall (round_libcall $F32 imm))
3975
+ (result Xmm (libcall_1 libcall a))
3976
+ (a1 Xmm (libcall_1 libcall (x64_pshufd a 1)))
3977
+ (result Xmm (vec_insert_lane $F32X4 result a1 1))
3978
+ (a2 Xmm (libcall_1 libcall (x64_pshufd a 2)))
3979
+ (result Xmm (vec_insert_lane $F32X4 result a2 2))
3980
+ (a3 Xmm (libcall_1 libcall (x64_pshufd a 3)))
3981
+ (result Xmm (vec_insert_lane $F32X4 result a3 3))
3982
+ )
3983
+ result))
3984
+ (rule (x64_round $F64X2 (RegMem.Reg a) imm)
3985
+ (let (
3986
+ (libcall LibCall (round_libcall $F64 imm))
3987
+ (result Xmm (libcall_1 libcall a))
3988
+ (a1 Xmm (libcall_1 libcall (x64_pshufd a 0b00_00_11_10)))
3989
+ (result Xmm (vec_insert_lane $F64X2 result a1 1))
3990
+ )
3991
+ result))
3992
+ (rule (x64_round ty (RegMem.Mem addr) imm)
3993
+ (x64_round ty (RegMem.Reg (x64_load ty addr (ExtKind.ZeroExtend))) imm))
3994
+
3995
+ (decl round_libcall (Type RoundImm) LibCall)
3996
+ (rule (round_libcall $F32 (RoundImm.RoundUp)) (LibCall.CeilF32))
3997
+ (rule (round_libcall $F64 (RoundImm.RoundUp)) (LibCall.CeilF64))
3998
+ (rule (round_libcall $F32 (RoundImm.RoundDown)) (LibCall.FloorF32))
3999
+ (rule (round_libcall $F64 (RoundImm.RoundDown)) (LibCall.FloorF64))
4000
+ (rule (round_libcall $F32 (RoundImm.RoundNearest)) (LibCall.NearestF32))
4001
+ (rule (round_libcall $F64 (RoundImm.RoundNearest)) (LibCall.NearestF64))
4002
+ (rule (round_libcall $F32 (RoundImm.RoundZero)) (LibCall.TruncF32))
4003
+ (rule (round_libcall $F64 (RoundImm.RoundZero)) (LibCall.TruncF64))
4004
+
4005
+ ;; Rules for `ceil` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4006
+
4007
+ (rule (lower (ceil a @ (value_type ty)))
4008
+ (x64_round ty a (RoundImm.RoundUp)))
4009
+
4010
+ ;; Rules for `floor` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4011
+
4012
+ (rule (lower (floor a @ (value_type ty)))
4013
+ (x64_round ty a (RoundImm.RoundDown)))
4014
+
4015
+ ;; Rules for `nearest` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4016
+
4017
+ (rule (lower (nearest a @ (value_type ty)))
4018
+ (x64_round ty a (RoundImm.RoundNearest)))
4019
+
4020
+ ;; Rules for `trunc` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4021
+
4022
+ (rule (lower (trunc a @ (value_type ty)))
4023
+ (x64_round ty a (RoundImm.RoundZero)))
4024
+
4025
+ ;; Rules for `stack_addr` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4026
+
4027
+ (rule (lower (stack_addr stack_slot offset))
4028
+ (stack_addr_impl stack_slot offset))
4029
+
4030
+ ;; Rules for `udiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4031
+
4032
+ ;; NB: a `RegMem` divisor, while allowed in the instruction encoding, isn't
4033
+ ;; used right now to prevent a possibly-trapping load getting folded into the
4034
+ ;; `div` instruction. Ideally non-trapping loads would get folded, however, or
4035
+ ;; alternatively Wasmtime/Cranelift would grow support for multiple traps on
4036
+ ;; a single opcode and the signal kind would differentiate at runtime.
4037
+
4038
+ ;; The inputs to the `div` instruction are different for 8-bit division so
4039
+ ;; it needs a special case here since the instruction being crafted has a
4040
+ ;; different shape.
4041
+ (rule 2 (lower (udiv a @ (value_type $I8) b))
4042
+ (x64_div8 (extend_to_gpr a $I32 (ExtendKind.Zero))
4043
+ (put_in_gpr b)
4044
+ (DivSignedness.Unsigned)
4045
+ (TrapCode.IntegerDivisionByZero)))
4046
+
4047
+ ;; 16-to-64-bit division is all done with a similar instruction and the only
4048
+ ;; tricky requirement here is that when div traps are disallowed the divisor
4049
+ ;; must not be zero.
4050
+ (rule 1 (lower (udiv a @ (value_type (fits_in_64 ty)) b))
4051
+ (x64_div_quotient a
4052
+ (imm $I64 0)
4053
+ (put_in_gpr b)
4054
+ (raw_operand_size_of_type ty)
4055
+ (DivSignedness.Unsigned)
4056
+ (TrapCode.IntegerDivisionByZero)))
4057
+
4058
+ ;; Rules for `sdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4059
+
4060
+ (rule 2 (lower (sdiv a @ (value_type $I8) b))
4061
+ (x64_div8 (x64_sign_extend_data a (OperandSize.Size8))
4062
+ (nonzero_sdiv_divisor $I8 b)
4063
+ (DivSignedness.Signed)
4064
+ (TrapCode.IntegerOverflow)))
4065
+
4066
+ (rule 1 (lower (sdiv a @ (value_type (fits_in_64 ty)) b))
4067
+ (let (
4068
+ (a Gpr a)
4069
+ (size OperandSize (raw_operand_size_of_type ty))
4070
+ )
4071
+ (x64_div_quotient a
4072
+ (x64_sign_extend_data a size)
4073
+ (nonzero_sdiv_divisor ty b)
4074
+ size
4075
+ (DivSignedness.Signed)
4076
+ (TrapCode.IntegerOverflow))))
4077
+
4078
+ ;; Checks to make sure that the input `Value` is a non-zero value for `sdiv`.
4079
+ ;;
4080
+ ;; This is required to differentiate the divide-by-zero trap from the
4081
+ ;; integer-overflow trap, the two trapping conditions of signed division.
4082
+ (decl nonzero_sdiv_divisor (Type Value) Reg)
4083
+ (rule 1 (nonzero_sdiv_divisor ty (iconst imm))
4084
+ (if-let n (safe_divisor_from_imm64 ty imm))
4085
+ (imm ty n))
4086
+ (rule 0 (nonzero_sdiv_divisor ty val)
4087
+ (let (
4088
+ (val Reg val)
4089
+ (_ InstOutput (side_effect (with_flags_side_effect
4090
+ (x64_test (raw_operand_size_of_type ty) val val)
4091
+ (trap_if (CC.Z) (TrapCode.IntegerDivisionByZero)))))
4092
+ )
4093
+ val))
4094
+
4095
+ ;; Rules for `urem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4096
+
4097
+ ;; The remainder is in AH, so take the result of the division and right-shift
4098
+ ;; by 8.
4099
+ (rule 2 (lower (urem a @ (value_type $I8) b))
4100
+ (let (
4101
+ (result Gpr (x64_div8 (extend_to_gpr a $I32 (ExtendKind.Zero))
4102
+ (put_in_gpr b) ;; see `udiv` for why not `gpr_mem`
4103
+ (DivSignedness.Unsigned)
4104
+ (TrapCode.IntegerDivisionByZero)))
4105
+ )
4106
+ (x64_shr $I64 result (Imm8Reg.Imm8 8))))
4107
+
4108
+ (rule 1 (lower (urem a @ (value_type (fits_in_64 ty)) b))
4109
+ (x64_div_remainder a
4110
+ (imm $I64 0)
4111
+ (put_in_gpr b) ;; see `udiv` for why not `gpr_mem`
4112
+ (raw_operand_size_of_type ty)
4113
+ (DivSignedness.Unsigned)
4114
+ (TrapCode.IntegerDivisionByZero)))
4115
+
4116
+ ;; Rules for `srem` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4117
+
4118
+ ;; Special-cases first for constant `srem` where the checks for 0 and -1 aren't
4119
+ ;; applicable.
4120
+ ;;
4121
+ ;; Note that like `urem` for i8 types the result is in AH so to get the result
4122
+ ;; it's right-shifted down.
4123
+ (rule 3 (lower (srem a @ (value_type $I8) (iconst imm)))
4124
+ (if-let n (safe_divisor_from_imm64 $I8 imm))
4125
+ (let (
4126
+ (a Gpr (x64_sign_extend_data a (OperandSize.Size8)))
4127
+ (result Gpr (x64_div8 a (imm $I8 n) (DivSignedness.Signed) (TrapCode.IntegerDivisionByZero)))
4128
+ )
4129
+ (x64_shr $I64 result (Imm8Reg.Imm8 8))))
4130
+
4131
+ ;; Same as the above rule but for 16-to-64 bit types.
4132
+ (rule 2 (lower (srem a @ (value_type ty) (iconst imm)))
4133
+ (if-let n (safe_divisor_from_imm64 ty imm))
4134
+ (let (
4135
+ (a Gpr a)
4136
+ (size OperandSize (raw_operand_size_of_type ty))
4137
+ )
4138
+ (x64_div_remainder a
4139
+ (x64_sign_extend_data a size)
4140
+ (imm ty n)
4141
+ size
4142
+ (DivSignedness.Signed)
4143
+ (TrapCode.IntegerDivisionByZero))))
4144
+
4145
+ (rule 1 (lower (srem a @ (value_type $I8) b))
4146
+ (let (
4147
+ (a Gpr (x64_sign_extend_data a (OperandSize.Size8)))
4148
+ )
4149
+ (x64_shr $I64 (x64_checked_srem_seq8 a b) (Imm8Reg.Imm8 8))))
4150
+
4151
+ (rule (lower (srem a @ (value_type ty) b))
4152
+ (let (
4153
+ (a Gpr a)
4154
+ (size OperandSize (raw_operand_size_of_type ty))
4155
+ (hi Gpr (x64_sign_extend_data a size))
4156
+ (tmp ValueRegs (x64_checked_srem_seq size a hi b))
4157
+ )
4158
+ (value_regs_get tmp 1)))
4159
+
4160
+ ;; Rules for `umulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4161
+
4162
+ ;; The umulhi instruction is not available for 8-bit types, so we can extend
4163
+ ;; the inputs, use the 16-bit multiply and shift the result down.
4164
+ (rule 1 (lower (umulhi a @ (value_type $I8) b))
4165
+ (let ((a_ext Gpr (extend_to_gpr a $I16 (ExtendKind.Zero)))
4166
+ (b_ext Gpr (extend_to_gpr b $I16 (ExtendKind.Zero)))
4167
+ (mul Gpr (x64_mul $I16 a_ext b_ext))
4168
+ (hi Gpr (x64_shr $I64 mul (imm8_to_imm8_gpr 8))))
4169
+ hi))
4170
+
4171
+ (rule 0 (lower (umulhi a @ (value_type ty) b))
4172
+ (let ((res ValueRegs (mul_hi ty $false a b))
4173
+ (hi Gpr (value_regs_get_gpr res 1)))
4174
+ hi))
4175
+
4176
+ ;; Rules for `smulhi` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4177
+
4178
+ ;; The smulhi instruction is not available for 8-bit types, so we can extend
4179
+ ;; the inputs, use the 16-bit multiply and shift the result down.
4180
+ (rule 1 (lower (smulhi a @ (value_type $I8) b))
4181
+ (let ((a_ext Gpr (extend_to_gpr a $I16 (ExtendKind.Sign)))
4182
+ (b_ext Gpr (extend_to_gpr b $I16 (ExtendKind.Sign)))
4183
+ (mul Gpr (x64_mul $I16 a_ext b_ext))
4184
+ (hi Gpr (x64_sar $I64 mul (imm8_to_imm8_gpr 8))))
4185
+ hi))
4186
+
4187
+ (rule 0 (lower (smulhi a @ (value_type ty) b))
4188
+ (let ((res ValueRegs (mul_hi ty $true a b))
4189
+ (hi Gpr (value_regs_get_gpr res 1)))
4190
+ hi))
4191
+
4192
+ ;; Rules for `get_pinned_reg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4193
+
4194
+ (rule (lower (get_pinned_reg))
4195
+ (read_pinned_gpr))
4196
+
4197
+ ;; Rules for `set_pinned_reg` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4198
+
4199
+ (rule (lower (set_pinned_reg a @ (value_type ty)))
4200
+ (side_effect (write_pinned_gpr a)))
4201
+
4202
+ ;; Rules for `vconst` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4203
+
4204
+ (rule (lower (has_type ty (vconst const)))
4205
+ ;; TODO use Inst::gen_constant() instead.
4206
+ (x64_xmm_load_const ty (const_to_vconst const)))
4207
+
4208
+ ;; Rules for `shuffle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4209
+
4210
+ ;; Special case for `pblendw` which takes an 8-bit immediate where each bit
4211
+ ;; indicates which lane of the two operands is chosen for the output. A bit of
4212
+ ;; 0 chooses the corresponding 16-it lane from `a` and a bit of 1 chooses the
4213
+ ;; corresponding 16-bit lane from `b`.
4214
+ (rule 14 (lower (shuffle a b (pblendw_imm n)))
4215
+ (if-let $true (use_sse41))
4216
+ (x64_pblendw a b n))
4217
+ (decl pblendw_imm (u8) Immediate)
4218
+ (extern extractor pblendw_imm pblendw_imm)
4219
+
4220
+ ;; When the shuffle looks like "concatenate `a` and `b` and shift right by n*8
4221
+ ;; bytes", that's a `palignr` instruction. Note that the order of operands are
4222
+ ;; swapped in the instruction here. The `palignr` instruction uses the second
4223
+ ;; operand as the low-order bytes and the first operand as high-order bytes,
4224
+ ;; so put `a` second.
4225
+ (rule 13 (lower (shuffle a b (palignr_imm_from_immediate n)))
4226
+ (if-let $true (use_ssse3))
4227
+ (x64_palignr b a n))
4228
+ (decl palignr_imm_from_immediate (u8) Immediate)
4229
+ (extern extractor palignr_imm_from_immediate palignr_imm_from_immediate)
4230
+
4231
+ ;; Special case the `pshuf{l,h}w` instruction which shuffles four 16-bit
4232
+ ;; integers within one value, preserving the other four 16-bit integers in that
4233
+ ;; value (either the high or low half). The complicated logic is in the
4234
+ ;; extractors here implemented in Rust and note that there's two cases for each
4235
+ ;; instruction here to match when either the first or second shuffle operand is
4236
+ ;; used.
4237
+ (rule 12 (lower (shuffle x y (pshuflw_lhs_imm imm)))
4238
+ (x64_pshuflw x imm))
4239
+ (rule 11 (lower (shuffle x y (pshuflw_rhs_imm imm)))
4240
+ (x64_pshuflw y imm))
4241
+ (rule 10 (lower (shuffle x y (pshufhw_lhs_imm imm)))
4242
+ (x64_pshufhw x imm))
4243
+ (rule 9 (lower (shuffle x y (pshufhw_rhs_imm imm)))
4244
+ (x64_pshufhw y imm))
4245
+
4246
+ (decl pshuflw_lhs_imm (u8) Immediate)
4247
+ (extern extractor pshuflw_lhs_imm pshuflw_lhs_imm)
4248
+ (decl pshuflw_rhs_imm (u8) Immediate)
4249
+ (extern extractor pshuflw_rhs_imm pshuflw_rhs_imm)
4250
+ (decl pshufhw_lhs_imm (u8) Immediate)
4251
+ (extern extractor pshufhw_lhs_imm pshufhw_lhs_imm)
4252
+ (decl pshufhw_rhs_imm (u8) Immediate)
4253
+ (extern extractor pshufhw_rhs_imm pshufhw_rhs_imm)
4254
+
4255
+ ;; Special case for the `pshufd` instruction which will permute 32-bit values
4256
+ ;; within a single register. This is only applicable if the `imm` specified
4257
+ ;; selects 32-bit values from either `x` or `y`, but not both. This means
4258
+ ;; there's one rule for selecting from `x` and another rule for selecting from
4259
+ ;; `y`.
4260
+ (rule 8 (lower (shuffle x y (pshufd_lhs_imm imm)))
4261
+ (x64_pshufd x imm))
4262
+ (rule 7 (lower (shuffle x y (pshufd_rhs_imm imm)))
4263
+ (x64_pshufd y imm))
4264
+
4265
+ (decl pshufd_lhs_imm (u8) Immediate)
4266
+ (extern extractor pshufd_lhs_imm pshufd_lhs_imm)
4267
+ (decl pshufd_rhs_imm (u8) Immediate)
4268
+ (extern extractor pshufd_rhs_imm pshufd_rhs_imm)
4269
+
4270
+ ;; Special case for i8-level interleaving of upper/low bytes.
4271
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f0f_1e0e_1d0d_1c0c_1b0b_1a0a_1909_1808)))
4272
+ (x64_punpckhbw a b))
4273
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x1707_1606_1505_1404_1303_1202_1101_1000)))
4274
+ (x64_punpcklbw a b))
4275
+
4276
+ ;; Special case for i16-level interleaving of upper/low bytes.
4277
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f1e_0f0e_1d1c_0d0c_1b1a_0b0a_1918_0908)))
4278
+ (x64_punpckhwd a b))
4279
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x1716_0706_1514_0504_1312_0302_1110_0100)))
4280
+ (x64_punpcklwd a b))
4281
+
4282
+ ;; Special case for i32-level interleaving of upper/low bytes.
4283
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f1e1d1c_0f0e0d0c_1b1a1918_0b0a0908)))
4284
+ (x64_punpckhdq a b))
4285
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x17161514_07060504_13121110_03020100)))
4286
+ (x64_punpckldq a b))
4287
+
4288
+ ;; Special case for i64-level interleaving of upper/low bytes.
4289
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x1f1e1d1c1b1a1918_0f0e0d0c0b0a0908)))
4290
+ (x64_punpckhqdq a b))
4291
+ (rule 6 (lower (shuffle a b (u128_from_immediate 0x1716151413121110_0706050403020100)))
4292
+ (x64_punpcklqdq a b))
4293
+
4294
+ ;; If the vector shift mask is all 0s then that means the first byte of the
4295
+ ;; first operand is broadcast to all bytes. Falling through would load an
4296
+ ;; all-zeros constant from a rip-relative location but it should be slightly
4297
+ ;; more efficient to execute the `pshufb` here-and-now with an xor'd-to-be-zero
4298
+ ;; register.
4299
+ (rule 6 (lower (shuffle a _ (u128_from_immediate 0)))
4300
+ (if-let $true (use_ssse3))
4301
+ (x64_pshufb a (xmm_zero $I8X16)))
4302
+
4303
+ ;; Special case for the `shufps` instruction which will select two 32-bit values
4304
+ ;; from the first operand and two 32-bit values from the second operand. Note
4305
+ ;; that there is a second case here as well for when the operands can be
4306
+ ;; swapped.
4307
+ ;;
4308
+ ;; Note that the priority of this instruction is currently lower than the above
4309
+ ;; special cases since `shufps` handles many of them and for now it's
4310
+ ;; hypothesized that the dedicated instructions are better than `shufps`.
4311
+ ;; Someone with more knowledge about x86 timings should perhaps reorder the
4312
+ ;; rules here eventually though.
4313
+ (rule 5 (lower (shuffle x y (shufps_imm imm)))
4314
+ (x64_shufps x y imm))
4315
+ (rule 4 (lower (shuffle x y (shufps_rev_imm imm)))
4316
+ (x64_shufps y x imm))
4317
+
4318
+ (decl shufps_imm(u8) Immediate)
4319
+ (extern extractor shufps_imm shufps_imm)
4320
+ (decl shufps_rev_imm(u8) Immediate)
4321
+ (extern extractor shufps_rev_imm shufps_rev_imm)
4322
+
4323
+
4324
+ ;; If `lhs` and `rhs` are the same we can use a single PSHUFB to shuffle the XMM
4325
+ ;; register. We statically build `constructed_mask` to zero out any unknown lane
4326
+ ;; indices (may not be completely necessary: verification could fail incorrect
4327
+ ;; mask values) and fix the indexes to all point to the `dst` vector.
4328
+ (rule 3 (lower (shuffle a a (vec_mask_from_immediate mask)))
4329
+ (if-let $true (use_ssse3))
4330
+ (x64_pshufb a (shuffle_0_31_mask mask)))
4331
+
4332
+ ;; For the case where the shuffle mask contains out-of-bounds values (values
4333
+ ;; greater than 31) we must mask off those resulting values in the result of
4334
+ ;; `vpermi2b`.
4335
+ (rule 2 (lower (shuffle a b (vec_mask_from_immediate (perm_from_mask_with_zeros mask zeros))))
4336
+ (if-let $true (use_avx512vl))
4337
+ (if-let $true (use_avx512vbmi))
4338
+ (x64_andps (x64_vpermi2b (x64_xmm_load_const $I8X16 mask) a b) zeros))
4339
+
4340
+ ;; However, if the shuffle mask contains no out-of-bounds values, we can use
4341
+ ;; `vpermi2b` without any masking.
4342
+ (rule 1 (lower (shuffle a b (vec_mask_from_immediate mask)))
4343
+ (if-let $true (use_avx512vl))
4344
+ (if-let $true (use_avx512vbmi))
4345
+ (x64_vpermi2b (x64_xmm_load_const $I8X16 (perm_from_mask mask)) a b))
4346
+
4347
+ ;; If `lhs` and `rhs` are different, we must shuffle each separately and then OR
4348
+ ;; them together. This is necessary due to PSHUFB semantics. As in the case
4349
+ ;; above, we build the `constructed_mask` for each case statically.
4350
+ (rule (lower (shuffle a b (vec_mask_from_immediate mask)))
4351
+ (x64_por
4352
+ (lower_pshufb a (shuffle_0_15_mask mask))
4353
+ (lower_pshufb b (shuffle_16_31_mask mask))))
4354
+
4355
+ ;; Rules for `swizzle` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4356
+
4357
+ ;; SIMD swizzle; the following inefficient implementation is due to the Wasm
4358
+ ;; SIMD spec requiring mask indexes greater than 15 to have the same semantics
4359
+ ;; as a 0 index. For the spec discussion, see
4360
+ ;; https://github.com/WebAssembly/simd/issues/93. The CLIF semantics match the
4361
+ ;; Wasm SIMD semantics for this instruction. The instruction format maps to
4362
+ ;; variables like: %dst = swizzle %src, %mask
4363
+ (rule (lower (swizzle src mask))
4364
+ (let ((mask Xmm (x64_paddusb mask (emit_u128_le_const 0x70707070707070707070707070707070))))
4365
+ (lower_pshufb src mask)))
4366
+
4367
+ ;; Rules for `x86_pshufb` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4368
+
4369
+ (rule (lower (x86_pshufb src mask))
4370
+ (if-let $true (use_ssse3))
4371
+ (x64_pshufb src mask))
4372
+
4373
+ ;; A helper function to generate either the `pshufb` instruction or a libcall to
4374
+ ;; the `X86Pshufb` libcall. Note that the libcall is not exactly the most
4375
+ ;; performant thing in the world so this is primarily here for completeness
4376
+ ;; of lowerings on all x86 cpus but if rules are ideally gated on the presence
4377
+ ;; of SSSE3 to use the `pshufb` instruction itself.
4378
+ (decl lower_pshufb (Xmm RegMem) Xmm)
4379
+ (rule 1 (lower_pshufb src mask)
4380
+ (if-let $true (use_ssse3))
4381
+ (x64_pshufb src mask))
4382
+ (rule (lower_pshufb src (RegMem.Reg mask))
4383
+ (libcall_2 (LibCall.X86Pshufb) src mask))
4384
+ (rule (lower_pshufb src (RegMem.Mem addr))
4385
+ (lower_pshufb src (x64_movdqu_load addr)))
4386
+
4387
+ ;; Rules for `extractlane` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4388
+
4389
+ ;; Remove the extractlane instruction, leaving the float where it is. The upper
4390
+ ;; bits will remain unchanged; for correctness, this relies on Cranelift type
4391
+ ;; checking to avoid using those bits.
4392
+ (rule 3 (lower (has_type (ty_scalar_float _) (extractlane val 0)))
4393
+ val)
4394
+
4395
+ ;; `f32x4.extract_lane N` where `N != 0`
4396
+ (rule 1 (lower (extractlane val @ (value_type $F32X4) (u8_from_uimm8 lane)))
4397
+ (x64_pshufd val lane))
4398
+
4399
+ ;; `f64x2.extract_lane N` where `N != 0` (aka N == 1)
4400
+ (rule (lower (extractlane val @ (value_type $F64X2) 1))
4401
+ (x64_pshufd val 0b11_10_11_10))
4402
+
4403
+ ;; `i8x16.extract_lane N`
4404
+ ;;
4405
+ ;; Note that without SSE4.1 a 16-bit lane extraction is performed and then
4406
+ ;; the result is updated if the desired index is either odd or even.
4407
+ (rule 2 (lower (extractlane val @ (value_type ty @ $I8X16) (u8_from_uimm8 lane)))
4408
+ (if-let $true (use_sse41))
4409
+ (x64_pextrb val lane))
4410
+ ;; extracting an odd lane has an extra shift-right
4411
+ (rule 1 (lower (extractlane val @ (value_type ty @ $I8X16) (u8_from_uimm8 lane)))
4412
+ (if-let 1 (u8_and lane 1))
4413
+ (x64_shr $I16 (x64_pextrw val (u8_shr lane 1)) (Imm8Reg.Imm8 8)))
4414
+ ;; Extracting an even lane already has the desired lane in the lower bits. Note
4415
+ ;; that having arbitrary upper bits in the returned register should be ok since
4416
+ ;; all operators on the resulting `i8` type should work correctly regardless of
4417
+ ;; the bits in the rest of the register.
4418
+ (rule (lower (extractlane val @ (value_type ty @ $I8X16) (u8_from_uimm8 lane)))
4419
+ (if-let 0 (u8_and lane 1))
4420
+ (x64_pextrw val (u8_shr lane 1)))
4421
+
4422
+ ;; `i16x8.extract_lane N`
4423
+ (rule (lower (extractlane val @ (value_type ty @ $I16X8) (u8_from_uimm8 lane)))
4424
+ (x64_pextrw val lane))
4425
+
4426
+ ;; `i32x4.extract_lane N`
4427
+ (rule 2 (lower (extractlane val @ (value_type ty @ $I32X4) (u8_from_uimm8 lane)))
4428
+ (if-let $true (use_sse41))
4429
+ (x64_pextrd val lane))
4430
+ (rule 1 (lower (extractlane val @ (value_type $I32X4) 0))
4431
+ (x64_movd_to_gpr val))
4432
+ (rule (lower (extractlane val @ (value_type $I32X4) (u8_from_uimm8 n)))
4433
+ (x64_movd_to_gpr (x64_pshufd val n)))
4434
+
4435
+ ;; `i64x2.extract_lane N`
4436
+ (rule 1 (lower (extractlane val @ (value_type $I64X2) (u8_from_uimm8 lane)))
4437
+ (if-let $true (use_sse41))
4438
+ (x64_pextrq val lane))
4439
+ (rule (lower (extractlane val @ (value_type $I64X2) 0))
4440
+ (x64_movq_to_gpr val))
4441
+ (rule (lower (extractlane val @ (value_type $I64X2) 1))
4442
+ (x64_movq_to_gpr (x64_pshufd val 0b00_00_11_10)))
4443
+
4444
+ ;; Rules for `scalar_to_vector` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4445
+
4446
+ ;; Case 1: when moving a scalar float, we simply move from one XMM register
4447
+ ;; to another, expecting the register allocator to elide this. Here we
4448
+ ;; assume that the upper bits of a scalar float have not been munged with
4449
+ ;; (the same assumption the old backend makes).
4450
+ (rule 1 (lower (scalar_to_vector src @ (value_type (ty_scalar_float _))))
4451
+ src)
4452
+
4453
+ ;; Case 2: when moving a scalar value of any other type, use MOVD to zero
4454
+ ;; the upper lanes.
4455
+ (rule (lower (scalar_to_vector src @ (value_type ty)))
4456
+ (bitcast_gpr_to_xmm ty src))
4457
+
4458
+ ;; Case 3: when presented with `load + scalar_to_vector`, coalesce into a single
4459
+ ;; MOVSS/MOVSD instruction.
4460
+ (rule 2 (lower (scalar_to_vector (and (sinkable_load src) (value_type (ty_32 _)))))
4461
+ (x64_movss_load src))
4462
+ (rule 3 (lower (scalar_to_vector (and (sinkable_load src) (value_type (ty_64 _)))))
4463
+ (x64_movsd_load src))
4464
+
4465
+ ;; Rules for `splat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4466
+
4467
+ ;; For all the splat rules below one of the goals is that splatting a value
4468
+ ;; doesn't end up accidentally depending on the previous value in a register.
4469
+ ;; This means that instructions are chosen to avoid false dependencies where
4470
+ ;; new values are created fresh or otherwise overwrite previous register
4471
+ ;; contents where possible.
4472
+ ;;
4473
+ ;; Additionally splats are specialized to special-case load-and-splat which
4474
+ ;; has a number of micro-optimizations available.
4475
+
4476
+ ;; i8x16 splats: use `vpbroadcastb` on AVX2 and otherwise `pshufb` broadcasts
4477
+ ;; with a mask of zero which is calculated with an xor-against-itself register.
4478
+ (rule 0 (lower (has_type $I8X16 (splat src)))
4479
+ (let ((src Xmm (x64_movd_to_xmm src)))
4480
+ (x64_pshufd (x64_pshuflw (x64_punpcklbw src src) 0) 0)))
4481
+ (rule 1 (lower (has_type $I8X16 (splat src)))
4482
+ (if-let $true (use_ssse3))
4483
+ (x64_pshufb (bitcast_gpr_to_xmm $I32 src) (xmm_zero $I8X16)))
4484
+ (rule 2 (lower (has_type $I8X16 (splat src)))
4485
+ (if-let $true (use_avx2))
4486
+ (x64_vpbroadcastb (bitcast_gpr_to_xmm $I32 src)))
4487
+ (rule 3 (lower (has_type $I8X16 (splat (sinkable_load_exact addr))))
4488
+ (if-let $true (use_sse41))
4489
+ (if-let $true (use_ssse3))
4490
+ (x64_pshufb (x64_pinsrb (xmm_uninit_value) addr 0) (xmm_zero $I8X16)))
4491
+ (rule 4 (lower (has_type $I8X16 (splat (sinkable_load_exact addr))))
4492
+ (if-let $true (use_avx2))
4493
+ (x64_vpbroadcastb addr))
4494
+
4495
+ ;; i16x8 splats: use `vpbroadcastw` on AVX2 and otherwise a 16-bit value is
4496
+ ;; loaded into an xmm register, `pshuflw` broadcasts the low 16-bit lane
4497
+ ;; to the low four lanes, and `pshufd` broadcasts the low 32-bit lane (which
4498
+ ;; at that point is two of the 16-bit values we want to broadcast) to all the
4499
+ ;; lanes.
4500
+ (rule 0 (lower (has_type $I16X8 (splat src)))
4501
+ (x64_pshufd (x64_pshuflw (bitcast_gpr_to_xmm $I32 src) 0) 0))
4502
+ (rule 1 (lower (has_type $I16X8 (splat src)))
4503
+ (if-let $true (use_avx2))
4504
+ (x64_vpbroadcastw (bitcast_gpr_to_xmm $I32 src)))
4505
+ (rule 2 (lower (has_type $I16X8 (splat (sinkable_load_exact addr))))
4506
+ (x64_pshufd (x64_pshuflw (x64_pinsrw (xmm_uninit_value) addr 0) 0) 0))
4507
+ (rule 3 (lower (has_type $I16X8 (splat (sinkable_load_exact addr))))
4508
+ (if-let $true (use_avx2))
4509
+ (x64_vpbroadcastw addr))
4510
+
4511
+ ;; i32x4.splat - use `vpbroadcastd` on AVX2 and otherwise `pshufd` can be
4512
+ ;; used to broadcast the low lane to all other lanes.
4513
+ ;;
4514
+ ;; Note that sinkable-load cases come later
4515
+ (rule 0 (lower (has_type $I32X4 (splat src)))
4516
+ (x64_pshufd (bitcast_gpr_to_xmm $I32 src) 0))
4517
+ (rule 1 (lower (has_type $I32X4 (splat src)))
4518
+ (if-let $true (use_avx2))
4519
+ (x64_vpbroadcastd (bitcast_gpr_to_xmm $I32 src)))
4520
+
4521
+ ;; f32x4.splat - the source is already in an xmm register so `shufps` is all
4522
+ ;; that's necessary to complete the splat. This is specialized to `vbroadcastss`
4523
+ ;; on AVX2 to leverage that specific instruction for this operation.
4524
+ (rule 0 (lower (has_type $F32X4 (splat src)))
4525
+ (let ((tmp Xmm src))
4526
+ (x64_shufps src src 0)))
4527
+ (rule 1 (lower (has_type $F32X4 (splat src)))
4528
+ (if-let $true (use_avx2))
4529
+ (x64_vbroadcastss src))
4530
+
4531
+ ;; t32x4.splat of a load - use a `movss` to load into an xmm register and then
4532
+ ;; `shufps` broadcasts to the other lanes. Note that this is used for both i32
4533
+ ;; and f32 splats.
4534
+ ;;
4535
+ ;; With AVX the `vbroadcastss` instruction suits this purpose precisely. Note
4536
+ ;; that the memory-operand encoding of `vbroadcastss` is usable with AVX, but
4537
+ ;; the register-based encoding is only available with AVX2. With the
4538
+ ;; `sinkable_load` extractor this should be guaranteed to use the memory-based
4539
+ ;; encoding hence the `use_avx` test.
4540
+ (rule 5 (lower (has_type (multi_lane 32 4) (splat (sinkable_load addr))))
4541
+ (let ((tmp Xmm (x64_movss_load addr)))
4542
+ (x64_shufps tmp tmp 0)))
4543
+ (rule 6 (lower (has_type (multi_lane 32 4) (splat (sinkable_load addr))))
4544
+ (if-let $true (use_avx))
4545
+ (x64_vbroadcastss addr))
4546
+
4547
+ ;; t64x2.splat - use `pshufd` to broadcast the lower 64-bit lane to the upper
4548
+ ;; lane. A minor specialization for sinkable loads to avoid going through a gpr
4549
+ ;; for i64 splats is used as well when `movddup` is available.
4550
+ (rule 0 (lower (has_type $I64X2 (splat src)))
4551
+ (x64_pshufd (bitcast_gpr_to_xmm $I64 src) 0b01_00_01_00))
4552
+ (rule 0 (lower (has_type $F64X2 (splat src)))
4553
+ (x64_pshufd src 0b01_00_01_00))
4554
+ (rule 6 (lower (has_type (multi_lane 64 2) (splat (sinkable_load addr))))
4555
+ (if-let $true (use_ssse3))
4556
+ (x64_movddup addr))
4557
+
4558
+ ;; Rules for `vany_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4559
+
4560
+ (rule 1 (lower (vany_true val))
4561
+ (if-let $true (use_sse41))
4562
+ (let ((val Xmm val))
4563
+ (with_flags (x64_ptest val val) (x64_setcc (CC.NZ)))))
4564
+
4565
+ ;; Any nonzero byte in `val` means that any lane is true. Compare `val` with a
4566
+ ;; zeroed register and extract the high bits to a gpr mask. If the mask is
4567
+ ;; 0xffff then every byte was equal to zero, so test if the comparison is
4568
+ ;; not-equal or NZ.
4569
+ (rule (lower (vany_true val))
4570
+ (let (
4571
+ (any_byte_zero Xmm (x64_pcmpeqb val (xmm_zero $I8X16)))
4572
+ (mask Gpr (x64_pmovmskb (OperandSize.Size32) any_byte_zero))
4573
+ )
4574
+ (with_flags (x64_cmp (OperandSize.Size32) (RegMemImm.Imm 0xffff) mask)
4575
+ (x64_setcc (CC.NZ)))))
4576
+
4577
+ ;; Rules for `vall_true` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4578
+
4579
+ (rule 1 (lower (vall_true val @ (value_type ty)))
4580
+ (if-let $true (use_sse41))
4581
+ (let ((src Xmm val)
4582
+ (zeros Xmm (xmm_zero ty))
4583
+ (cmp Xmm (x64_pcmpeq (vec_int_type ty) src zeros)))
4584
+ (with_flags (x64_ptest cmp cmp) (x64_setcc (CC.Z)))))
4585
+
4586
+ ;; Perform an appropriately-sized lane-wise comparison with zero. If the
4587
+ ;; result is all 0s then all of them are true because nothing was equal to
4588
+ ;; zero.
4589
+ (rule (lower (vall_true val @ (value_type ty)))
4590
+ (let ((lanes_with_zero Xmm (x64_pcmpeq (vec_int_type ty) val (xmm_zero ty)))
4591
+ (mask Gpr (x64_pmovmskb (OperandSize.Size32) lanes_with_zero)))
4592
+ (with_flags (x64_test (OperandSize.Size32) mask mask)
4593
+ (x64_setcc (CC.Z)))))
4594
+
4595
+ ;; Rules for `vhigh_bits` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4596
+
4597
+ ;; The Intel specification allows using both 32-bit and 64-bit GPRs as
4598
+ ;; destination for the "move mask" instructions. This is controlled by the REX.R
4599
+ ;; bit: "In 64-bit mode, the instruction can access additional registers when
4600
+ ;; used with a REX.R prefix. The default operand size is 64-bit in 64-bit mode"
4601
+ ;; (PMOVMSKB in IA Software Development Manual, vol. 2). This being the case, we
4602
+ ;; will always clear REX.W since its use is unnecessary (`OperandSize` is used
4603
+ ;; for setting/clearing REX.W) as we need at most 16 bits of output for
4604
+ ;; `vhigh_bits`.
4605
+
4606
+ (rule (lower (vhigh_bits val @ (value_type (multi_lane 8 16))))
4607
+ (x64_pmovmskb (OperandSize.Size32) val))
4608
+
4609
+ (rule (lower (vhigh_bits val @ (value_type (multi_lane 32 4))))
4610
+ (x64_movmskps (OperandSize.Size32) val))
4611
+
4612
+ (rule (lower (vhigh_bits val @ (value_type (multi_lane 64 2))))
4613
+ (x64_movmskpd (OperandSize.Size32) val))
4614
+
4615
+ ;; There is no x86 instruction for extracting the high bit of 16-bit lanes so
4616
+ ;; here we:
4617
+ ;; - duplicate the 16-bit lanes of `src` into 8-bit lanes:
4618
+ ;; PACKSSWB([x1, x2, ...], [x1, x2, ...]) = [x1', x2', ..., x1', x2', ...]
4619
+ ;; - use PMOVMSKB to gather the high bits; now we have duplicates, though
4620
+ ;; - shift away the bottom 8 high bits to remove the duplicates.
4621
+ (rule (lower (vhigh_bits val @ (value_type (multi_lane 16 8))))
4622
+ (let ((src Xmm val)
4623
+ (tmp Xmm (x64_packsswb src src))
4624
+ (tmp Gpr (x64_pmovmskb (OperandSize.Size32) tmp)))
4625
+ (x64_shr $I64 tmp (Imm8Reg.Imm8 8))))
4626
+
4627
+ ;; Rules for `iconcat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4628
+
4629
+ (rule (lower (iconcat lo @ (value_type $I64) hi))
4630
+ (value_regs lo hi))
4631
+
4632
+ ;; Rules for `isplit` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4633
+
4634
+ (rule (lower (isplit val @ (value_type $I128)))
4635
+ (let ((regs ValueRegs val)
4636
+ (lo Reg (value_regs_get regs 0))
4637
+ (hi Reg (value_regs_get regs 1)))
4638
+ (output_pair lo hi)))
4639
+
4640
+ ;; Rules for `tls_value` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4641
+
4642
+ (rule (lower (has_type (tls_model (TlsModel.ElfGd)) (tls_value (symbol_value_data name _ _))))
4643
+ (elf_tls_get_addr name))
4644
+
4645
+ (rule (lower (has_type (tls_model (TlsModel.Macho)) (tls_value (symbol_value_data name _ _))))
4646
+ (macho_tls_get_addr name))
4647
+
4648
+ (rule (lower (has_type (tls_model (TlsModel.Coff)) (tls_value (symbol_value_data name _ _))))
4649
+ (coff_tls_get_addr name))
4650
+
4651
+ ;; Rules for `sqmul_round_sat` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4652
+
4653
+ (rule 1 (lower (sqmul_round_sat qx @ (value_type $I16X8) qy))
4654
+ (if-let $true (use_ssse3))
4655
+ (let ((src1 Xmm qx)
4656
+ (src2 Xmm qy)
4657
+
4658
+ (mask XmmMem (emit_u128_le_const 0x8000_8000_8000_8000_8000_8000_8000_8000))
4659
+ (dst Xmm (x64_pmulhrsw src1 src2))
4660
+ (cmp Xmm (x64_pcmpeqw dst mask)))
4661
+ (x64_pxor dst cmp)))
4662
+
4663
+ ;; This operation is defined in wasm as:
4664
+ ;;
4665
+ ;; S.SignedSaturate((x * y + 0x4000) >> 15)
4666
+ ;;
4667
+ ;; so perform all those operations here manually with a lack of the native
4668
+ ;; instruction.
4669
+ (rule (lower (sqmul_round_sat qx @ (value_type $I16X8) qy))
4670
+ (let (
4671
+ (qx Xmm qx)
4672
+ (qy Xmm qy)
4673
+ ;; Multiply `qx` and `qy` generating 32-bit intermediate results. The
4674
+ ;; 32-bit results have their low-halves stored in `mul_lsb` and the
4675
+ ;; high halves are stored in `mul_msb`. These are then shuffled into
4676
+ ;; `mul_lo` and `mul_hi` which represent the low 4 multiplications
4677
+ ;; and the upper 4 multiplications.
4678
+ (mul_lsb Xmm (x64_pmullw qx qy))
4679
+ (mul_msb Xmm (x64_pmulhw qx qy))
4680
+ (mul_lo Xmm (x64_punpcklwd mul_lsb mul_msb))
4681
+ (mul_hi Xmm (x64_punpckhwd mul_lsb mul_msb))
4682
+ ;; Add the 0x4000 constant to all multiplications
4683
+ (val Xmm (x64_movdqu_load (emit_u128_le_const 0x00004000_00004000_00004000_00004000)))
4684
+ (mul_lo Xmm (x64_paddd mul_lo val))
4685
+ (mul_hi Xmm (x64_paddd mul_hi val))
4686
+ ;; Perform the right-shift by 15 to all multiplications
4687
+ (lo Xmm (x64_psrad mul_lo (xmi_imm 15)))
4688
+ (hi Xmm (x64_psrad mul_hi (xmi_imm 15)))
4689
+ )
4690
+ ;; And finally perform a saturating 32-to-16-bit conversion.
4691
+ (x64_packssdw lo hi)))
4692
+
4693
+ ;; Rules for `x86_pmulhrsw` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4694
+
4695
+ (rule (lower (x86_pmulhrsw qx @ (value_type $I16X8) qy))
4696
+ (if-let $true (use_ssse3))
4697
+ (x64_pmulhrsw qx qy))
4698
+
4699
+ ;; Rules for `uunarrow` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4700
+
4701
+ ;; TODO: currently we only lower a special case of `uunarrow` needed to support
4702
+ ;; the translation of wasm's i32x4.trunc_sat_f64x2_u_zero operation.
4703
+ ;; https://github.com/bytecodealliance/wasmtime/issues/4791
4704
+ ;;
4705
+ ;; y = i32x4.trunc_sat_f64x2_u_zero(x) is lowered to:
4706
+ ;; MOVAPD xmm_y, xmm_x
4707
+ ;; XORPD xmm_tmp, xmm_tmp
4708
+ ;; MAXPD xmm_y, xmm_tmp
4709
+ ;; MINPD xmm_y, [wasm_f64x2_splat(4294967295.0)]
4710
+ ;; ROUNDPD xmm_y, xmm_y, 0x0B
4711
+ ;; ADDPD xmm_y, [wasm_f64x2_splat(0x1.0p+52)]
4712
+ ;; SHUFPS xmm_y, xmm_xmp, 0x88
4713
+ (rule (lower (uunarrow (fcvt_to_uint_sat src @ (value_type $F64X2))
4714
+ (vconst (u128_from_constant 0))))
4715
+ (let ((src Xmm src)
4716
+
4717
+ ;; MOVAPD xmm_y, xmm_x
4718
+ ;; XORPD xmm_tmp, xmm_tmp
4719
+ (zeros Xmm (xmm_zero $F64X2))
4720
+ (dst Xmm (x64_maxpd src zeros))
4721
+
4722
+ ;; 4294967295.0 is equivalent to 0x41EFFFFFFFE00000
4723
+ (umax_mask XmmMem (emit_u128_le_const 0x41EFFFFFFFE00000_41EFFFFFFFE00000))
4724
+
4725
+ ;; MINPD xmm_y, [wasm_f64x2_splat(4294967295.0)]
4726
+ (dst Xmm (x64_minpd dst umax_mask))
4727
+
4728
+ ;; ROUNDPD xmm_y, xmm_y, 0x0B
4729
+ (dst Xmm (x64_round $F64X2 dst (RoundImm.RoundZero)))
4730
+
4731
+ ;; ADDPD xmm_y, [wasm_f64x2_splat(0x1.0p+52)]
4732
+ (uint_mask XmmMem (emit_u128_le_const 0x4330000000000000_4330000000000000))
4733
+
4734
+ (dst Xmm (x64_addpd dst uint_mask)))
4735
+
4736
+ ;; SHUFPS xmm_y, xmm_xmp, 0x88
4737
+ (x64_shufps dst zeros 0x88)))
4738
+
4739
+ ;; Rules for `nop` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4740
+
4741
+ (rule (lower (nop))
4742
+ (invalid_reg))