wasmtime 9.0.4 → 10.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1933) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +184 -101
  3. data/ext/Cargo.toml +6 -6
  4. data/ext/build.rs +2 -2
  5. data/ext/cargo-vendor/cranelift-bforest-0.97.1/.cargo-checksum.json +1 -0
  6. data/ext/cargo-vendor/cranelift-bforest-0.97.1/Cargo.toml +31 -0
  7. data/ext/cargo-vendor/cranelift-codegen-0.97.1/.cargo-checksum.json +1 -0
  8. data/ext/cargo-vendor/cranelift-codegen-0.97.1/Cargo.toml +158 -0
  9. data/ext/cargo-vendor/cranelift-codegen-0.97.1/benches/x64-evex-encoding.rs +52 -0
  10. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/ir/trapcode.rs +144 -0
  11. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/abi.rs +1294 -0
  12. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit.rs +3684 -0
  13. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/emit_tests.rs +7895 -0
  14. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/imms.rs +1210 -0
  15. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst/mod.rs +2966 -0
  16. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/inst.isle +4037 -0
  17. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower/isle.rs +816 -0
  18. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/lower.isle +2906 -0
  19. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/aarch64/mod.rs +238 -0
  20. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/mod.rs +424 -0
  21. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/abi.rs +825 -0
  22. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/args.rs +1812 -0
  23. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit.rs +3008 -0
  24. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/emit_tests.rs +2338 -0
  25. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/encode.rs +262 -0
  26. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/imms.rs +250 -0
  27. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/mod.rs +1963 -0
  28. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/regs.rs +223 -0
  29. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/unwind/systemv.rs +174 -0
  30. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst/vector.rs +669 -0
  31. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst.isle +2915 -0
  32. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/inst_vector.isle +760 -0
  33. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower/isle.rs +553 -0
  34. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/lower.isle +1409 -0
  35. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/riscv64/mod.rs +216 -0
  36. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/abi.rs +957 -0
  37. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit.rs +3707 -0
  38. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/emit_tests.rs +13409 -0
  39. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst/mod.rs +3426 -0
  40. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/inst.isle +5046 -0
  41. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/lower.isle +3991 -0
  42. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/s390x/mod.rs +213 -0
  43. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/abi.rs +985 -0
  44. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/evex.rs +749 -0
  45. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/rex.rs +588 -0
  46. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/encoding/vex.rs +492 -0
  47. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/args.rs +2193 -0
  48. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit.rs +4090 -0
  49. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/emit_tests.rs +5674 -0
  50. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst/mod.rs +2667 -0
  51. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/inst.isle +5104 -0
  52. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower/isle.rs +1148 -0
  53. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.isle +4481 -0
  54. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/lower.rs +328 -0
  55. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isa/x64/mod.rs +251 -0
  56. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/isle_prelude.rs +862 -0
  57. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/abi.rs +2455 -0
  58. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/buffer.rs +2277 -0
  59. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/compile.rs +92 -0
  60. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/isle.rs +827 -0
  61. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/lower.rs +1388 -0
  62. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/mod.rs +549 -0
  63. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/reg.rs +537 -0
  64. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/machinst/vcode.rs +1580 -0
  65. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude.isle +578 -0
  66. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/prelude_lower.isle +1012 -0
  67. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/settings.rs +600 -0
  68. data/ext/cargo-vendor/cranelift-codegen-0.97.1/src/verifier/mod.rs +1884 -0
  69. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/.cargo-checksum.json +1 -0
  70. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/Cargo.toml +23 -0
  71. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/isa/x86.rs +444 -0
  72. data/ext/cargo-vendor/cranelift-codegen-meta-0.97.1/src/shared/settings.rs +348 -0
  73. data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/.cargo-checksum.json +1 -0
  74. data/ext/cargo-vendor/cranelift-codegen-shared-0.97.1/Cargo.toml +22 -0
  75. data/ext/cargo-vendor/cranelift-control-0.97.1/.cargo-checksum.json +1 -0
  76. data/ext/cargo-vendor/cranelift-control-0.97.1/Cargo.toml +30 -0
  77. data/ext/cargo-vendor/cranelift-control-0.97.1/src/chaos.rs +125 -0
  78. data/ext/cargo-vendor/cranelift-control-0.97.1/src/lib.rs +45 -0
  79. data/ext/cargo-vendor/cranelift-control-0.97.1/src/zero_sized.rs +53 -0
  80. data/ext/cargo-vendor/cranelift-entity-0.97.1/.cargo-checksum.json +1 -0
  81. data/ext/cargo-vendor/cranelift-entity-0.97.1/Cargo.toml +35 -0
  82. data/ext/cargo-vendor/cranelift-entity-0.97.1/src/list.rs +955 -0
  83. data/ext/cargo-vendor/cranelift-frontend-0.97.1/.cargo-checksum.json +1 -0
  84. data/ext/cargo-vendor/cranelift-frontend-0.97.1/Cargo.toml +53 -0
  85. data/ext/cargo-vendor/cranelift-isle-0.97.1/.cargo-checksum.json +1 -0
  86. data/ext/cargo-vendor/cranelift-isle-0.97.1/Cargo.toml +37 -0
  87. data/ext/cargo-vendor/cranelift-native-0.97.1/.cargo-checksum.json +1 -0
  88. data/ext/cargo-vendor/cranelift-native-0.97.1/Cargo.toml +38 -0
  89. data/ext/cargo-vendor/cranelift-native-0.97.1/src/lib.rs +215 -0
  90. data/ext/cargo-vendor/cranelift-wasm-0.97.1/.cargo-checksum.json +1 -0
  91. data/ext/cargo-vendor/cranelift-wasm-0.97.1/Cargo.toml +85 -0
  92. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/code_translator.rs +3538 -0
  93. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/dummy.rs +924 -0
  94. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/environ/spec.rs +834 -0
  95. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/func_translator.rs +440 -0
  96. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/sections_translator.rs +417 -0
  97. data/ext/cargo-vendor/cranelift-wasm-0.97.1/src/translation_utils.rs +99 -0
  98. data/ext/cargo-vendor/encoding_rs-0.8.32/.cargo-checksum.json +1 -0
  99. data/ext/cargo-vendor/encoding_rs-0.8.32/CONTRIBUTING.md +48 -0
  100. data/ext/cargo-vendor/encoding_rs-0.8.32/COPYRIGHT +17 -0
  101. data/ext/cargo-vendor/encoding_rs-0.8.32/Cargo.toml +84 -0
  102. data/ext/cargo-vendor/encoding_rs-0.8.32/Ideas.md +106 -0
  103. data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-APACHE +202 -0
  104. data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-MIT +25 -0
  105. data/ext/cargo-vendor/encoding_rs-0.8.32/LICENSE-WHATWG +26 -0
  106. data/ext/cargo-vendor/encoding_rs-0.8.32/README.md +827 -0
  107. data/ext/cargo-vendor/encoding_rs-0.8.32/ci/miri.sh +14 -0
  108. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Big5.txt +16 -0
  109. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-JP.txt +12 -0
  110. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/EUC-KR.txt +10 -0
  111. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/GBK.txt +16 -0
  112. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/IBM866.txt +8 -0
  113. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-2022-JP.txt +10 -0
  114. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-10.txt +8 -0
  115. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-13.txt +8 -0
  116. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-14.txt +8 -0
  117. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-15.txt +7 -0
  118. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-16.txt +8 -0
  119. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-2.txt +6 -0
  120. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-3.txt +6 -0
  121. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-4.txt +6 -0
  122. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-5.txt +6 -0
  123. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-6.txt +7 -0
  124. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-7.txt +11 -0
  125. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8-I.txt +9 -0
  126. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/ISO-8859-8.txt +9 -0
  127. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-R.txt +6 -0
  128. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/KOI8-U.txt +6 -0
  129. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/Shift_JIS.txt +8 -0
  130. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16BE.txt +8 -0
  131. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-16LE.txt +8 -0
  132. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/UTF-8.txt +5 -0
  133. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/gb18030.txt +9 -0
  134. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/macintosh.txt +7 -0
  135. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/replacement.txt +10 -0
  136. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1250.txt +6 -0
  137. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1251.txt +6 -0
  138. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1252.txt +7 -0
  139. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1253.txt +8 -0
  140. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1254.txt +7 -0
  141. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1255.txt +8 -0
  142. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1256.txt +6 -0
  143. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1257.txt +7 -0
  144. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-1258.txt +11 -0
  145. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/windows-874.txt +7 -0
  146. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-mac-cyrillic.txt +6 -0
  147. data/ext/cargo-vendor/encoding_rs-0.8.32/doc/x-user-defined.txt +6 -0
  148. data/ext/cargo-vendor/encoding_rs-0.8.32/generate-encoding-data.py +2008 -0
  149. data/ext/cargo-vendor/encoding_rs-0.8.32/rustfmt.toml +1 -0
  150. data/ext/cargo-vendor/encoding_rs-0.8.32/src/ascii.rs +1546 -0
  151. data/ext/cargo-vendor/encoding_rs-0.8.32/src/big5.rs +427 -0
  152. data/ext/cargo-vendor/encoding_rs-0.8.32/src/data.rs +114378 -0
  153. data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_jp.rs +469 -0
  154. data/ext/cargo-vendor/encoding_rs-0.8.32/src/euc_kr.rs +442 -0
  155. data/ext/cargo-vendor/encoding_rs-0.8.32/src/gb18030.rs +767 -0
  156. data/ext/cargo-vendor/encoding_rs-0.8.32/src/handles.rs +1969 -0
  157. data/ext/cargo-vendor/encoding_rs-0.8.32/src/iso_2022_jp.rs +1068 -0
  158. data/ext/cargo-vendor/encoding_rs-0.8.32/src/lib.rs +6133 -0
  159. data/ext/cargo-vendor/encoding_rs-0.8.32/src/macros.rs +1622 -0
  160. data/ext/cargo-vendor/encoding_rs-0.8.32/src/mem.rs +3354 -0
  161. data/ext/cargo-vendor/encoding_rs-0.8.32/src/replacement.rs +104 -0
  162. data/ext/cargo-vendor/encoding_rs-0.8.32/src/shift_jis.rs +426 -0
  163. data/ext/cargo-vendor/encoding_rs-0.8.32/src/simd_funcs.rs +453 -0
  164. data/ext/cargo-vendor/encoding_rs-0.8.32/src/single_byte.rs +714 -0
  165. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in.txt +19787 -0
  166. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_in_ref.txt +19787 -0
  167. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out.txt +14601 -0
  168. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/big5_out_ref.txt +14601 -0
  169. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in.txt +23945 -0
  170. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_in_ref.txt +23945 -0
  171. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out.txt +17053 -0
  172. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/euc_kr_out_ref.txt +17053 -0
  173. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in.txt +23945 -0
  174. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_in_ref.txt +23945 -0
  175. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out.txt +23944 -0
  176. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/gb18030_out_ref.txt +23944 -0
  177. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in.txt +8841 -0
  178. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_in_ref.txt +8841 -0
  179. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out.txt +7404 -0
  180. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/iso_2022_jp_out_ref.txt +7404 -0
  181. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in.txt +8841 -0
  182. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_in_ref.txt +8841 -0
  183. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out.txt +7341 -0
  184. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0208_out_ref.txt +7341 -0
  185. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in.txt +8841 -0
  186. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/jis0212_in_ref.txt +8841 -0
  187. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in.txt +11285 -0
  188. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_in_ref.txt +11285 -0
  189. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out.txt +7355 -0
  190. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_data/shift_jis_out_ref.txt +7355 -0
  191. data/ext/cargo-vendor/encoding_rs-0.8.32/src/test_labels_names.rs +242 -0
  192. data/ext/cargo-vendor/encoding_rs-0.8.32/src/testing.rs +262 -0
  193. data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_16.rs +472 -0
  194. data/ext/cargo-vendor/encoding_rs-0.8.32/src/utf_8.rs +1629 -0
  195. data/ext/cargo-vendor/encoding_rs-0.8.32/src/variant.rs +400 -0
  196. data/ext/cargo-vendor/encoding_rs-0.8.32/src/x_user_defined.rs +249 -0
  197. data/ext/cargo-vendor/equivalent-1.0.1/.cargo-checksum.json +1 -0
  198. data/ext/cargo-vendor/equivalent-1.0.1/Cargo.toml +27 -0
  199. data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-APACHE +201 -0
  200. data/ext/cargo-vendor/equivalent-1.0.1/LICENSE-MIT +25 -0
  201. data/ext/cargo-vendor/equivalent-1.0.1/README.md +25 -0
  202. data/ext/cargo-vendor/equivalent-1.0.1/src/lib.rs +113 -0
  203. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/.cargo-checksum.json +1 -0
  204. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/Cargo.toml +36 -0
  205. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/run-tests.sh +12 -0
  206. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/src/lib.rs +200 -0
  207. data/ext/cargo-vendor/file-per-thread-logger-0.2.0/tests/test.rs +323 -0
  208. data/ext/cargo-vendor/hashbrown-0.14.0/.cargo-checksum.json +1 -0
  209. data/ext/cargo-vendor/hashbrown-0.14.0/CHANGELOG.md +475 -0
  210. data/ext/cargo-vendor/hashbrown-0.14.0/Cargo.toml +131 -0
  211. data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-APACHE +201 -0
  212. data/ext/cargo-vendor/hashbrown-0.14.0/LICENSE-MIT +25 -0
  213. data/ext/cargo-vendor/hashbrown-0.14.0/README.md +125 -0
  214. data/ext/cargo-vendor/hashbrown-0.14.0/benches/bench.rs +331 -0
  215. data/ext/cargo-vendor/hashbrown-0.14.0/benches/insert_unique_unchecked.rs +32 -0
  216. data/ext/cargo-vendor/hashbrown-0.14.0/clippy.toml +1 -0
  217. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/mod.rs +6 -0
  218. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/helpers.rs +27 -0
  219. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/map.rs +731 -0
  220. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/mod.rs +4 -0
  221. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/raw.rs +231 -0
  222. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rayon/set.rs +659 -0
  223. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_map.rs +125 -0
  224. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/hash_set.rs +123 -0
  225. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/rkyv/mod.rs +2 -0
  226. data/ext/cargo-vendor/hashbrown-0.14.0/src/external_trait_impls/serde.rs +201 -0
  227. data/ext/cargo-vendor/hashbrown-0.14.0/src/lib.rs +165 -0
  228. data/ext/cargo-vendor/hashbrown-0.14.0/src/macros.rs +70 -0
  229. data/ext/cargo-vendor/hashbrown-0.14.0/src/map.rs +8506 -0
  230. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/alloc.rs +86 -0
  231. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/bitmask.rs +133 -0
  232. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/generic.rs +157 -0
  233. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/mod.rs +3378 -0
  234. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/neon.rs +124 -0
  235. data/ext/cargo-vendor/hashbrown-0.14.0/src/raw/sse2.rs +149 -0
  236. data/ext/cargo-vendor/hashbrown-0.14.0/src/rustc_entry.rs +630 -0
  237. data/ext/cargo-vendor/hashbrown-0.14.0/src/scopeguard.rs +72 -0
  238. data/ext/cargo-vendor/hashbrown-0.14.0/src/set.rs +2903 -0
  239. data/ext/cargo-vendor/hashbrown-0.14.0/tests/equivalent_trait.rs +53 -0
  240. data/ext/cargo-vendor/hashbrown-0.14.0/tests/hasher.rs +65 -0
  241. data/ext/cargo-vendor/hashbrown-0.14.0/tests/raw.rs +11 -0
  242. data/ext/cargo-vendor/hashbrown-0.14.0/tests/rayon.rs +535 -0
  243. data/ext/cargo-vendor/hashbrown-0.14.0/tests/serde.rs +65 -0
  244. data/ext/cargo-vendor/hashbrown-0.14.0/tests/set.rs +34 -0
  245. data/ext/cargo-vendor/indexmap-2.0.0/.cargo-checksum.json +1 -0
  246. data/ext/cargo-vendor/indexmap-2.0.0/Cargo.toml +112 -0
  247. data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-APACHE +201 -0
  248. data/ext/cargo-vendor/indexmap-2.0.0/LICENSE-MIT +25 -0
  249. data/ext/cargo-vendor/indexmap-2.0.0/README.md +55 -0
  250. data/ext/cargo-vendor/indexmap-2.0.0/RELEASES.md +424 -0
  251. data/ext/cargo-vendor/indexmap-2.0.0/benches/bench.rs +763 -0
  252. data/ext/cargo-vendor/indexmap-2.0.0/benches/faststring.rs +185 -0
  253. data/ext/cargo-vendor/indexmap-2.0.0/src/arbitrary.rs +77 -0
  254. data/ext/cargo-vendor/indexmap-2.0.0/src/lib.rs +278 -0
  255. data/ext/cargo-vendor/indexmap-2.0.0/src/macros.rs +178 -0
  256. data/ext/cargo-vendor/indexmap-2.0.0/src/map/core/raw.rs +217 -0
  257. data/ext/cargo-vendor/indexmap-2.0.0/src/map/core.rs +742 -0
  258. data/ext/cargo-vendor/indexmap-2.0.0/src/map/iter.rs +541 -0
  259. data/ext/cargo-vendor/indexmap-2.0.0/src/map/serde_seq.rs +138 -0
  260. data/ext/cargo-vendor/indexmap-2.0.0/src/map/slice.rs +471 -0
  261. data/ext/cargo-vendor/indexmap-2.0.0/src/map/tests.rs +449 -0
  262. data/ext/cargo-vendor/indexmap-2.0.0/src/map.rs +1223 -0
  263. data/ext/cargo-vendor/indexmap-2.0.0/src/mutable_keys.rs +91 -0
  264. data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/map.rs +679 -0
  265. data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/mod.rs +27 -0
  266. data/ext/cargo-vendor/indexmap-2.0.0/src/rayon/set.rs +774 -0
  267. data/ext/cargo-vendor/indexmap-2.0.0/src/rustc.rs +158 -0
  268. data/ext/cargo-vendor/indexmap-2.0.0/src/serde.rs +151 -0
  269. data/ext/cargo-vendor/indexmap-2.0.0/src/set/iter.rs +543 -0
  270. data/ext/cargo-vendor/indexmap-2.0.0/src/set/slice.rs +278 -0
  271. data/ext/cargo-vendor/indexmap-2.0.0/src/set/tests.rs +545 -0
  272. data/ext/cargo-vendor/indexmap-2.0.0/src/set.rs +1011 -0
  273. data/ext/cargo-vendor/indexmap-2.0.0/src/util.rs +53 -0
  274. data/ext/cargo-vendor/indexmap-2.0.0/tests/equivalent_trait.rs +53 -0
  275. data/ext/cargo-vendor/indexmap-2.0.0/tests/macros_full_path.rs +19 -0
  276. data/ext/cargo-vendor/indexmap-2.0.0/tests/quick.rs +579 -0
  277. data/ext/cargo-vendor/indexmap-2.0.0/tests/tests.rs +28 -0
  278. data/ext/cargo-vendor/regalloc2-0.9.2/.cargo-checksum.json +1 -0
  279. data/ext/cargo-vendor/regalloc2-0.9.2/Cargo.toml +72 -0
  280. data/ext/cargo-vendor/regalloc2-0.9.2/deny.toml +28 -0
  281. data/ext/cargo-vendor/regalloc2-0.9.2/src/checker.rs +1089 -0
  282. data/ext/cargo-vendor/regalloc2-0.9.2/src/fuzzing/func.rs +702 -0
  283. data/ext/cargo-vendor/regalloc2-0.9.2/src/index.rs +268 -0
  284. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/data_structures.rs +857 -0
  285. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/liveranges.rs +961 -0
  286. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/merge.rs +368 -0
  287. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/mod.rs +150 -0
  288. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/moves.rs +1017 -0
  289. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/process.rs +1307 -0
  290. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/requirement.rs +174 -0
  291. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/spill.rs +165 -0
  292. data/ext/cargo-vendor/regalloc2-0.9.2/src/ion/stackmap.rs +79 -0
  293. data/ext/cargo-vendor/regalloc2-0.9.2/src/lib.rs +1526 -0
  294. data/ext/cargo-vendor/regalloc2-0.9.2/src/moves.rs +439 -0
  295. data/ext/cargo-vendor/regalloc2-0.9.2/src/serialize.rs +311 -0
  296. data/ext/cargo-vendor/semver-1.0.18/.cargo-checksum.json +1 -0
  297. data/ext/cargo-vendor/semver-1.0.18/Cargo.toml +47 -0
  298. data/ext/cargo-vendor/semver-1.0.18/LICENSE-APACHE +176 -0
  299. data/ext/cargo-vendor/semver-1.0.18/LICENSE-MIT +23 -0
  300. data/ext/cargo-vendor/semver-1.0.18/README.md +84 -0
  301. data/ext/cargo-vendor/semver-1.0.18/benches/parse.rs +24 -0
  302. data/ext/cargo-vendor/semver-1.0.18/build.rs +75 -0
  303. data/ext/cargo-vendor/semver-1.0.18/src/backport.rs +23 -0
  304. data/ext/cargo-vendor/semver-1.0.18/src/display.rs +165 -0
  305. data/ext/cargo-vendor/semver-1.0.18/src/error.rs +126 -0
  306. data/ext/cargo-vendor/semver-1.0.18/src/eval.rs +181 -0
  307. data/ext/cargo-vendor/semver-1.0.18/src/identifier.rs +422 -0
  308. data/ext/cargo-vendor/semver-1.0.18/src/impls.rs +156 -0
  309. data/ext/cargo-vendor/semver-1.0.18/src/lib.rs +533 -0
  310. data/ext/cargo-vendor/semver-1.0.18/src/parse.rs +409 -0
  311. data/ext/cargo-vendor/semver-1.0.18/src/serde.rs +109 -0
  312. data/ext/cargo-vendor/semver-1.0.18/tests/node/mod.rs +43 -0
  313. data/ext/cargo-vendor/semver-1.0.18/tests/test_autotrait.rs +14 -0
  314. data/ext/cargo-vendor/semver-1.0.18/tests/test_identifier.rs +45 -0
  315. data/ext/cargo-vendor/semver-1.0.18/tests/test_version.rs +238 -0
  316. data/ext/cargo-vendor/semver-1.0.18/tests/test_version_req.rs +443 -0
  317. data/ext/cargo-vendor/semver-1.0.18/tests/util/mod.rs +39 -0
  318. data/ext/cargo-vendor/sptr-0.3.2/.cargo-checksum.json +1 -0
  319. data/ext/cargo-vendor/sptr-0.3.2/Cargo.toml +28 -0
  320. data/ext/cargo-vendor/sptr-0.3.2/README.md +73 -0
  321. data/ext/cargo-vendor/sptr-0.3.2/src/func.rs +83 -0
  322. data/ext/cargo-vendor/sptr-0.3.2/src/int.rs +364 -0
  323. data/ext/cargo-vendor/sptr-0.3.2/src/lib.rs +756 -0
  324. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/.cargo-checksum.json +1 -0
  325. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/Cargo.toml +90 -0
  326. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/dir.rs +464 -0
  327. data/ext/cargo-vendor/wasi-cap-std-sync-10.0.1/src/lib.rs +141 -0
  328. data/ext/cargo-vendor/wasi-common-10.0.1/.cargo-checksum.json +1 -0
  329. data/ext/cargo-vendor/wasi-common-10.0.1/Cargo.toml +87 -0
  330. data/ext/cargo-vendor/wasi-common-10.0.1/src/ctx.rs +128 -0
  331. data/ext/cargo-vendor/wasi-common-10.0.1/src/file.rs +262 -0
  332. data/ext/cargo-vendor/wasi-common-10.0.1/src/snapshots/preview_1.rs +1490 -0
  333. data/ext/cargo-vendor/wasm-encoder-0.29.0/.cargo-checksum.json +1 -0
  334. data/ext/cargo-vendor/wasm-encoder-0.29.0/Cargo.toml +33 -0
  335. data/ext/cargo-vendor/wasm-encoder-0.29.0/README.md +80 -0
  336. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/aliases.rs +160 -0
  337. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/canonicals.rs +159 -0
  338. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/components.rs +29 -0
  339. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/exports.rs +127 -0
  340. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/imports.rs +200 -0
  341. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/instances.rs +200 -0
  342. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/modules.rs +29 -0
  343. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/names.rs +149 -0
  344. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/start.rs +52 -0
  345. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component/types.rs +759 -0
  346. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/component.rs +160 -0
  347. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/code.rs +2913 -0
  348. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/custom.rs +55 -0
  349. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/data.rs +185 -0
  350. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/dump.rs +627 -0
  351. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/elements.rs +224 -0
  352. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/exports.rs +85 -0
  353. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/functions.rs +63 -0
  354. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/globals.rs +90 -0
  355. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/imports.rs +142 -0
  356. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/linking.rs +263 -0
  357. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/memories.rs +99 -0
  358. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/names.rs +265 -0
  359. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/producers.rs +180 -0
  360. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/start.rs +39 -0
  361. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tables.rs +104 -0
  362. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/tags.rs +85 -0
  363. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core/types.rs +246 -0
  364. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/core.rs +168 -0
  365. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/lib.rs +215 -0
  366. data/ext/cargo-vendor/wasm-encoder-0.29.0/src/raw.rs +30 -0
  367. data/ext/cargo-vendor/wasmparser-0.107.0/.cargo-checksum.json +1 -0
  368. data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.lock +621 -0
  369. data/ext/cargo-vendor/wasmparser-0.107.0/Cargo.toml +54 -0
  370. data/ext/cargo-vendor/wasmparser-0.107.0/benches/benchmark.rs +351 -0
  371. data/ext/cargo-vendor/wasmparser-0.107.0/src/binary_reader.rs +1706 -0
  372. data/ext/cargo-vendor/wasmparser-0.107.0/src/lib.rs +723 -0
  373. data/ext/cargo-vendor/wasmparser-0.107.0/src/parser.rs +1535 -0
  374. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/canonicals.rs +119 -0
  375. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/exports.rs +117 -0
  376. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/imports.rs +137 -0
  377. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/instances.rs +163 -0
  378. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/component/types.rs +548 -0
  379. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/coredumps.rs +243 -0
  380. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/producers.rs +83 -0
  381. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core/types.rs +874 -0
  382. data/ext/cargo-vendor/wasmparser-0.107.0/src/readers/core.rs +35 -0
  383. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/component.rs +3082 -0
  384. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/core.rs +1334 -0
  385. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/names.rs +606 -0
  386. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/operators.rs +3463 -0
  387. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator/types.rs +3070 -0
  388. data/ext/cargo-vendor/wasmparser-0.107.0/src/validator.rs +1589 -0
  389. data/ext/cargo-vendor/wasmparser-0.111.0/.cargo-checksum.json +1 -0
  390. data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.lock +644 -0
  391. data/ext/cargo-vendor/wasmparser-0.111.0/Cargo.toml +54 -0
  392. data/ext/cargo-vendor/wasmparser-0.111.0/README.md +36 -0
  393. data/ext/cargo-vendor/wasmparser-0.111.0/benches/benchmark.rs +349 -0
  394. data/ext/cargo-vendor/wasmparser-0.111.0/examples/simple.rs +37 -0
  395. data/ext/cargo-vendor/wasmparser-0.111.0/src/binary_reader.rs +1706 -0
  396. data/ext/cargo-vendor/wasmparser-0.111.0/src/lib.rs +726 -0
  397. data/ext/cargo-vendor/wasmparser-0.111.0/src/limits.rs +59 -0
  398. data/ext/cargo-vendor/wasmparser-0.111.0/src/parser.rs +1612 -0
  399. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/aliases.rs +119 -0
  400. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/canonicals.rs +120 -0
  401. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/exports.rs +117 -0
  402. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/imports.rs +137 -0
  403. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/instances.rs +163 -0
  404. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/names.rs +102 -0
  405. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/start.rs +30 -0
  406. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component/types.rs +548 -0
  407. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/component.rs +17 -0
  408. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/code.rs +146 -0
  409. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/coredumps.rs +243 -0
  410. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/custom.rs +63 -0
  411. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/data.rs +96 -0
  412. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/dylink0.rs +132 -0
  413. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/elements.rs +152 -0
  414. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/exports.rs +65 -0
  415. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/functions.rs +17 -0
  416. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/globals.rs +49 -0
  417. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/imports.rs +76 -0
  418. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/init.rs +51 -0
  419. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/memories.rs +56 -0
  420. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/names.rs +153 -0
  421. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/operators.rs +354 -0
  422. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/producers.rs +83 -0
  423. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tables.rs +87 -0
  424. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/tags.rs +32 -0
  425. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core/types.rs +1141 -0
  426. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers/core.rs +37 -0
  427. data/ext/cargo-vendor/wasmparser-0.111.0/src/readers.rs +316 -0
  428. data/ext/cargo-vendor/wasmparser-0.111.0/src/resources.rs +398 -0
  429. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/component.rs +3148 -0
  430. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/core.rs +1314 -0
  431. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/func.rs +348 -0
  432. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/names.rs +606 -0
  433. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/operators.rs +3466 -0
  434. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator/types.rs +3283 -0
  435. data/ext/cargo-vendor/wasmparser-0.111.0/src/validator.rs +1568 -0
  436. data/ext/cargo-vendor/wasmparser-0.111.0/tests/big-module.rs +33 -0
  437. data/ext/cargo-vendor/wasmprinter-0.2.63/.cargo-checksum.json +1 -0
  438. data/ext/cargo-vendor/wasmprinter-0.2.63/Cargo.toml +39 -0
  439. data/ext/cargo-vendor/wasmprinter-0.2.63/README.md +47 -0
  440. data/ext/cargo-vendor/wasmprinter-0.2.63/src/lib.rs +2962 -0
  441. data/ext/cargo-vendor/wasmprinter-0.2.63/src/operator.rs +873 -0
  442. data/ext/cargo-vendor/wasmprinter-0.2.63/tests/all.rs +278 -0
  443. data/ext/cargo-vendor/wasmtime-10.0.1/.cargo-checksum.json +1 -0
  444. data/ext/cargo-vendor/wasmtime-10.0.1/Cargo.toml +183 -0
  445. data/ext/cargo-vendor/wasmtime-10.0.1/src/compiler.rs +710 -0
  446. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/component.rs +382 -0
  447. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/instance.rs +727 -0
  448. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/matching.rs +112 -0
  449. data/ext/cargo-vendor/wasmtime-10.0.1/src/component/mod.rs +313 -0
  450. data/ext/cargo-vendor/wasmtime-10.0.1/src/config.rs +2066 -0
  451. data/ext/cargo-vendor/wasmtime-10.0.1/src/engine/serialization.rs +622 -0
  452. data/ext/cargo-vendor/wasmtime-10.0.1/src/engine.rs +757 -0
  453. data/ext/cargo-vendor/wasmtime-10.0.1/src/externals.rs +763 -0
  454. data/ext/cargo-vendor/wasmtime-10.0.1/src/func/typed.rs +638 -0
  455. data/ext/cargo-vendor/wasmtime-10.0.1/src/func.rs +2355 -0
  456. data/ext/cargo-vendor/wasmtime-10.0.1/src/instance.rs +905 -0
  457. data/ext/cargo-vendor/wasmtime-10.0.1/src/lib.rs +486 -0
  458. data/ext/cargo-vendor/wasmtime-10.0.1/src/linker.rs +1479 -0
  459. data/ext/cargo-vendor/wasmtime-10.0.1/src/memory.rs +950 -0
  460. data/ext/cargo-vendor/wasmtime-10.0.1/src/module.rs +1274 -0
  461. data/ext/cargo-vendor/wasmtime-10.0.1/src/ref.rs +109 -0
  462. data/ext/cargo-vendor/wasmtime-10.0.1/src/store/context.rs +243 -0
  463. data/ext/cargo-vendor/wasmtime-10.0.1/src/store/func_refs.rs +85 -0
  464. data/ext/cargo-vendor/wasmtime-10.0.1/src/store.rs +2166 -0
  465. data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/func.rs +133 -0
  466. data/ext/cargo-vendor/wasmtime-10.0.1/src/trampoline/global.rs +67 -0
  467. data/ext/cargo-vendor/wasmtime-10.0.1/src/types/matching.rs +312 -0
  468. data/ext/cargo-vendor/wasmtime-10.0.1/src/types.rs +572 -0
  469. data/ext/cargo-vendor/wasmtime-10.0.1/src/values.rs +290 -0
  470. data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/.cargo-checksum.json +1 -0
  471. data/ext/cargo-vendor/wasmtime-asm-macros-10.0.1/Cargo.toml +22 -0
  472. data/ext/cargo-vendor/wasmtime-cache-10.0.1/.cargo-checksum.json +1 -0
  473. data/ext/cargo-vendor/wasmtime-cache-10.0.1/Cargo.toml +73 -0
  474. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/.cargo-checksum.json +1 -0
  475. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/Cargo.toml +58 -0
  476. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/src/bindgen.rs +316 -0
  477. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/char.wit +13 -0
  478. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/conventions.wit +39 -0
  479. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/direct-import.wit +5 -0
  480. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/empty.wit +2 -0
  481. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/flags.wit +55 -0
  482. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/floats.wit +13 -0
  483. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/function-new.wit +4 -0
  484. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/integers.wit +40 -0
  485. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/lists.wit +85 -0
  486. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/many-arguments.wit +52 -0
  487. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/multi-return.wit +14 -0
  488. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/records.wit +61 -0
  489. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/rename.wit +16 -0
  490. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/share-types.wit +21 -0
  491. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-functions.wit +17 -0
  492. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-lists.wit +13 -0
  493. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/simple-wasi.wit +23 -0
  494. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/small-anonymous.wit +15 -0
  495. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-default.wit +5 -0
  496. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke-export.wit +7 -0
  497. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/smoke.wit +7 -0
  498. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/strings.wit +12 -0
  499. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/unions.wit +66 -0
  500. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/use-paths.wit +29 -0
  501. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/variants.wit +147 -0
  502. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen/worlds-with-types.wit +16 -0
  503. data/ext/cargo-vendor/wasmtime-component-macro-10.0.1/tests/codegen.rs +24 -0
  504. data/ext/cargo-vendor/wasmtime-component-util-10.0.1/.cargo-checksum.json +1 -0
  505. data/ext/cargo-vendor/wasmtime-component-util-10.0.1/Cargo.toml +25 -0
  506. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/.cargo-checksum.json +1 -0
  507. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/Cargo.toml +90 -0
  508. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/compiler.rs +1200 -0
  509. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/debug/transform/simulate.rs +410 -0
  510. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/func_environ.rs +2206 -0
  511. data/ext/cargo-vendor/wasmtime-cranelift-10.0.1/src/lib.rs +178 -0
  512. data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/.cargo-checksum.json +1 -0
  513. data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/Cargo.toml +57 -0
  514. data/ext/cargo-vendor/wasmtime-cranelift-shared-10.0.1/src/lib.rs +120 -0
  515. data/ext/cargo-vendor/wasmtime-environ-10.0.1/.cargo-checksum.json +1 -0
  516. data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.lock +681 -0
  517. data/ext/cargo-vendor/wasmtime-environ-10.0.1/Cargo.toml +116 -0
  518. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/compiler.rs +84 -0
  519. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate/inline.rs +1067 -0
  520. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/translate.rs +1070 -0
  521. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/component/types.rs +1916 -0
  522. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/fact.rs +623 -0
  523. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module.rs +1083 -0
  524. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/module_environ.rs +884 -0
  525. data/ext/cargo-vendor/wasmtime-environ-10.0.1/src/trap_encoding.rs +238 -0
  526. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/.cargo-checksum.json +1 -0
  527. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/Cargo.toml +46 -0
  528. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/lib.rs +305 -0
  529. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/unix.rs +212 -0
  530. data/ext/cargo-vendor/wasmtime-fiber-10.0.1/src/windows.rs +161 -0
  531. data/ext/cargo-vendor/wasmtime-jit-10.0.1/.cargo-checksum.json +1 -0
  532. data/ext/cargo-vendor/wasmtime-jit-10.0.1/Cargo.toml +104 -0
  533. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/instantiate.rs +760 -0
  534. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/lib.rs +38 -0
  535. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/jitdump.rs +66 -0
  536. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/perfmap.rs +47 -0
  537. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling/vtune.rs +80 -0
  538. data/ext/cargo-vendor/wasmtime-jit-10.0.1/src/profiling.rs +108 -0
  539. data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/.cargo-checksum.json +1 -0
  540. data/ext/cargo-vendor/wasmtime-jit-debug-10.0.1/Cargo.toml +55 -0
  541. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/.cargo-checksum.json +1 -0
  542. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-10.0.1/Cargo.toml +37 -0
  543. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/.cargo-checksum.json +1 -0
  544. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/Cargo.toml +110 -0
  545. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/component.rs +701 -0
  546. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/cow.rs +1060 -0
  547. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/debug_builtins.rs +58 -0
  548. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/externref.rs +1073 -0
  549. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator/pooling.rs +1368 -0
  550. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance/allocator.rs +531 -0
  551. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/instance.rs +1345 -0
  552. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/lib.rs +285 -0
  553. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/libcalls.rs +578 -0
  554. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/memory.rs +958 -0
  555. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/miri.rs +94 -0
  556. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/unix.rs +148 -0
  557. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/mmap/windows.rs +208 -0
  558. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/send_sync_ptr.rs +69 -0
  559. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/table.rs +595 -0
  560. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers/unix.rs +387 -0
  561. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/traphandlers.rs +749 -0
  562. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext/vm_host_func_context.rs +137 -0
  563. data/ext/cargo-vendor/wasmtime-runtime-10.0.1/src/vmcontext.rs +1221 -0
  564. data/ext/cargo-vendor/wasmtime-types-10.0.1/.cargo-checksum.json +1 -0
  565. data/ext/cargo-vendor/wasmtime-types-10.0.1/Cargo.toml +34 -0
  566. data/ext/cargo-vendor/wasmtime-types-10.0.1/src/lib.rs +462 -0
  567. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/.cargo-checksum.json +1 -0
  568. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/Cargo.toml +153 -0
  569. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/lib.rs +131 -0
  570. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks/host.rs +73 -0
  571. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/clocks.rs +17 -0
  572. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/ctx.rs +206 -0
  573. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/error.rs +16 -0
  574. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/filesystem.rs +269 -0
  575. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/mod.rs +44 -0
  576. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/pipe.rs +233 -0
  577. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview1/mod.rs +1860 -0
  578. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/clocks.rs +80 -0
  579. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/env.rs +48 -0
  580. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/exit.rs +12 -0
  581. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/filesystem.rs +1020 -0
  582. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/io.rs +215 -0
  583. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/mod.rs +7 -0
  584. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/poll.rs +84 -0
  585. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/preview2/random.rs +41 -0
  586. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/random.rs +58 -0
  587. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/subscription.rs +104 -0
  588. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched/sync.rs +156 -0
  589. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/sched.rs +105 -0
  590. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stdio.rs +176 -0
  591. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/stream.rs +210 -0
  592. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/table.rs +107 -0
  593. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/command.rs +43 -0
  594. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/src/preview2/wasi/mod.rs +30 -0
  595. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/monotonic-clock.wit +34 -0
  596. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/timezone.wit +63 -0
  597. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/clocks/wall-clock.wit +43 -0
  598. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/filesystem/filesystem.wit +782 -0
  599. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/incoming-handler.wit +24 -0
  600. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/outgoing-handler.wit +18 -0
  601. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/http/types.wit +159 -0
  602. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/io/streams.wit +215 -0
  603. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/logging/handler.wit +34 -0
  604. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/poll/poll.wit +41 -0
  605. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command-extended.wit +36 -0
  606. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/command.wit +26 -0
  607. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/proxy.wit +9 -0
  608. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/preview/reactor.wit +24 -0
  609. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure-seed.wit +24 -0
  610. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/insecure.wit +21 -0
  611. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/random/random.wit +25 -0
  612. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/instance-network.wit +9 -0
  613. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/ip-name-lookup.wit +69 -0
  614. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/network.wit +187 -0
  615. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp-create-socket.wit +27 -0
  616. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/tcp.wit +255 -0
  617. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp-create-socket.wit +27 -0
  618. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/sockets/udp.wit +211 -0
  619. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/environment.wit +16 -0
  620. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/exit.wit +4 -0
  621. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/preopens.wit +7 -0
  622. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/deps/wasi-cli-base/stdio.wit +17 -0
  623. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/main.wit +1 -0
  624. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/wit/test.wit +19 -0
  625. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/typenames.witx +750 -0
  626. data/ext/cargo-vendor/wasmtime-wasi-10.0.1/witx/wasi_snapshot_preview1.witx +521 -0
  627. data/ext/cargo-vendor/wasmtime-winch-10.0.1/.cargo-checksum.json +1 -0
  628. data/ext/cargo-vendor/wasmtime-winch-10.0.1/Cargo.toml +63 -0
  629. data/ext/cargo-vendor/wasmtime-winch-10.0.1/src/compiler.rs +220 -0
  630. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/.cargo-checksum.json +1 -0
  631. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/Cargo.toml +29 -0
  632. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/lib.rs +1631 -0
  633. data/ext/cargo-vendor/wasmtime-wit-bindgen-10.0.1/src/types.rs +179 -0
  634. data/ext/cargo-vendor/wiggle-10.0.1/.cargo-checksum.json +1 -0
  635. data/ext/cargo-vendor/wiggle-10.0.1/Cargo.toml +106 -0
  636. data/ext/cargo-vendor/wiggle-10.0.1/LICENSE +220 -0
  637. data/ext/cargo-vendor/wiggle-10.0.1/README.md +18 -0
  638. data/ext/cargo-vendor/wiggle-generate-10.0.1/.cargo-checksum.json +1 -0
  639. data/ext/cargo-vendor/wiggle-generate-10.0.1/Cargo.toml +58 -0
  640. data/ext/cargo-vendor/wiggle-generate-10.0.1/LICENSE +220 -0
  641. data/ext/cargo-vendor/wiggle-macro-10.0.1/.cargo-checksum.json +1 -0
  642. data/ext/cargo-vendor/wiggle-macro-10.0.1/Cargo.toml +55 -0
  643. data/ext/cargo-vendor/wiggle-macro-10.0.1/LICENSE +220 -0
  644. data/ext/cargo-vendor/wiggle-macro-10.0.1/src/lib.rs +210 -0
  645. data/ext/cargo-vendor/winch-codegen-0.8.1/.cargo-checksum.json +1 -0
  646. data/ext/cargo-vendor/winch-codegen-0.8.1/Cargo.toml +62 -0
  647. data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/local.rs +70 -0
  648. data/ext/cargo-vendor/winch-codegen-0.8.1/src/abi/mod.rs +237 -0
  649. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/call.rs +225 -0
  650. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/context.rs +270 -0
  651. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/env.rs +52 -0
  652. data/ext/cargo-vendor/winch-codegen-0.8.1/src/codegen/mod.rs +214 -0
  653. data/ext/cargo-vendor/winch-codegen-0.8.1/src/frame/mod.rs +172 -0
  654. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/abi.rs +243 -0
  655. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/asm.rs +300 -0
  656. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/masm.rs +230 -0
  657. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/mod.rs +127 -0
  658. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/aarch64/regs.rs +166 -0
  659. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/mod.rs +215 -0
  660. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/abi.rs +369 -0
  661. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/address.rs +17 -0
  662. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/asm.rs +576 -0
  663. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/masm.rs +288 -0
  664. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/mod.rs +149 -0
  665. data/ext/cargo-vendor/winch-codegen-0.8.1/src/isa/x64/regs.rs +192 -0
  666. data/ext/cargo-vendor/winch-codegen-0.8.1/src/lib.rs +21 -0
  667. data/ext/cargo-vendor/winch-codegen-0.8.1/src/masm.rs +255 -0
  668. data/ext/cargo-vendor/winch-codegen-0.8.1/src/regalloc.rs +70 -0
  669. data/ext/cargo-vendor/winch-codegen-0.8.1/src/stack.rs +235 -0
  670. data/ext/cargo-vendor/winch-codegen-0.8.1/src/trampoline.rs +494 -0
  671. data/ext/cargo-vendor/winch-codegen-0.8.1/src/visitor.rs +353 -0
  672. data/ext/cargo-vendor/wit-parser-0.8.0/.cargo-checksum.json +1 -0
  673. data/ext/cargo-vendor/wit-parser-0.8.0/Cargo.toml +62 -0
  674. data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/lex.rs +679 -0
  675. data/ext/cargo-vendor/wit-parser-0.8.0/src/ast/resolve.rs +1122 -0
  676. data/ext/cargo-vendor/wit-parser-0.8.0/src/ast.rs +1207 -0
  677. data/ext/cargo-vendor/wit-parser-0.8.0/src/lib.rs +622 -0
  678. data/ext/cargo-vendor/wit-parser-0.8.0/src/live.rs +111 -0
  679. data/ext/cargo-vendor/wit-parser-0.8.0/src/resolve.rs +1307 -0
  680. data/ext/cargo-vendor/wit-parser-0.8.0/tests/all.rs +168 -0
  681. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/comments.wit +25 -0
  682. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep1/types.wit +2 -0
  683. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/deps/dep2/types.wit +2 -0
  684. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/diamond1/join.wit +6 -0
  685. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared1.wit +3 -0
  686. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/shared2.wit +3 -0
  687. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/disambiguate-diamond/world.wit +13 -0
  688. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/embedded.wit.md +34 -0
  689. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/empty.wit +1 -0
  690. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +3 -0
  691. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/corp/saas.wit +4 -0
  692. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +2 -0
  693. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +5 -0
  694. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +13 -0
  695. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/clocks.wit +5 -0
  696. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/deps/wasi/filesystem.wit +7 -0
  697. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/foreign-deps/root.wit +44 -0
  698. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/functions.wit +14 -0
  699. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/a.wit +2 -0
  700. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/many-names/b.wit +5 -0
  701. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/bar.wit +21 -0
  702. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-a.wit +7 -0
  703. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/cycle-b.wit +3 -0
  704. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/multi-file/foo.wit +31 -0
  705. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax1.wit +1 -0
  706. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax3.wit +1 -0
  707. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/package-syntax4.wit +1 -0
  708. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/alias-no-type.wit.result +1 -0
  709. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit +7 -0
  710. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function.wit.result +5 -0
  711. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit +7 -0
  712. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-function2.wit.result +5 -0
  713. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1/root.wit +5 -0
  714. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg1.wit.result +8 -0
  715. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +1 -0
  716. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2/root.wit +5 -0
  717. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg2.wit.result +5 -0
  718. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +2 -0
  719. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3/root.wit +5 -0
  720. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg3.wit.result +5 -0
  721. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +4 -0
  722. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4/root.wit +4 -0
  723. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg4.wit.result +5 -0
  724. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +3 -0
  725. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5/root.wit +4 -0
  726. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg5.wit.result +5 -0
  727. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +4 -0
  728. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6/root.wit +4 -0
  729. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-pkg6.wit.result +5 -0
  730. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit +5 -0
  731. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/bad-world-type1.wit.result +5 -0
  732. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/a.wit +1 -0
  733. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package/b.wit +1 -0
  734. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/conflicting-package.wit.result +8 -0
  735. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit +6 -0
  736. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle.wit.result +5 -0
  737. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit +7 -0
  738. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle2.wit.result +5 -0
  739. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit +7 -0
  740. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle3.wit.result +5 -0
  741. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit +7 -0
  742. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle4.wit.result +5 -0
  743. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit +7 -0
  744. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/cycle5.wit.result +5 -0
  745. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit +8 -0
  746. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-functions.wit.result +5 -0
  747. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit +6 -0
  748. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface.wit.result +5 -0
  749. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo.wit +3 -0
  750. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2/foo2.wit +3 -0
  751. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-interface2.wit.result +8 -0
  752. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit +7 -0
  753. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/duplicate-type.wit.result +5 -0
  754. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit +6 -0
  755. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-enum.wit.result +5 -0
  756. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit +6 -0
  757. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-union.wit.result +5 -0
  758. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit +6 -0
  759. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/empty-variant1.wit.result +5 -0
  760. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit +8 -0
  761. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/export-twice.wit.result +5 -0
  762. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit +5 -0
  763. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap1.wit.result +5 -0
  764. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit +5 -0
  765. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-export-overlap2.wit.result +5 -0
  766. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit +8 -0
  767. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/import-twice.wit.result +5 -0
  768. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-md.wit.result +5 -0
  769. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit +10 -0
  770. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference.wit.result +5 -0
  771. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit +6 -0
  772. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/invalid-type-reference2.wit.result +5 -0
  773. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit.result +1 -0
  774. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +1 -0
  775. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +5 -0
  776. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +8 -0
  777. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +4 -0
  778. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle/root.wit +4 -0
  779. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle.wit.result +5 -0
  780. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +4 -0
  781. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +4 -0
  782. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2/root.wit +4 -0
  783. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/pkg-cycle2.wit.result +5 -0
  784. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit +6 -0
  785. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/undefined-typed.wit.result +5 -0
  786. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit +7 -0
  787. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unknown-interface.wit.result +5 -0
  788. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit +7 -0
  789. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface1.wit.result +5 -0
  790. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit +8 -0
  791. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface2.wit.result +5 -0
  792. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit +5 -0
  793. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface3.wit.result +5 -0
  794. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit +7 -0
  795. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-interface4.wit.result +5 -0
  796. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit +7 -0
  797. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use1.wit.result +5 -0
  798. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10/bar.wit +5 -0
  799. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use10.wit.result +8 -0
  800. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit +10 -0
  801. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use2.wit.result +5 -0
  802. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit +11 -0
  803. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use3.wit.result +5 -0
  804. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit +10 -0
  805. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use7.wit.result +5 -0
  806. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit +9 -0
  807. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use8.wit.result +5 -0
  808. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit +9 -0
  809. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/unresolved-use9.wit.result +5 -0
  810. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit +11 -0
  811. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict.wit.result +5 -0
  812. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit +13 -0
  813. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict2.wit.result +5 -0
  814. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit +13 -0
  815. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-conflict3.wit.result +5 -0
  816. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit +7 -0
  817. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle1.wit.result +5 -0
  818. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit +14 -0
  819. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-cycle4.wit.result +5 -0
  820. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit +7 -0
  821. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/use-shadow1.wit.result +5 -0
  822. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit +3 -0
  823. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-interface-clash.wit.result +5 -0
  824. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit +8 -0
  825. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields2.wit.result +5 -0
  826. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit +8 -0
  827. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-same-fields3.wit.result +5 -0
  828. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit +5 -0
  829. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func.wit.result +5 -0
  830. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit +4 -0
  831. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/parse-fail/world-top-level-func2.wit.result +5 -0
  832. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/shared-types.wit +10 -0
  833. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/type-then-eof.wit +5 -0
  834. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/types.wit +61 -0
  835. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use-chain.wit +11 -0
  836. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/use.wit +34 -0
  837. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a1/foo.wit +5 -0
  838. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/deps/a2/foo.wit +5 -0
  839. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/versions/foo.wit +7 -0
  840. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/wasi.wit +178 -0
  841. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-diamond.wit +22 -0
  842. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-iface-no-collide.wit +11 -0
  843. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import1.wit +12 -0
  844. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import2.wit +11 -0
  845. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-implicit-import3.wit +11 -0
  846. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-same-fields4.wit +13 -0
  847. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/world-top-level-funcs.wit +9 -0
  848. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-same-fields5.wit +17 -0
  849. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds-with-types.wit +34 -0
  850. data/ext/cargo-vendor/wit-parser-0.8.0/tests/ui/worlds.wit +37 -0
  851. data/ext/src/ruby_api/global.rs +3 -3
  852. data/ext/src/ruby_api/memory/unsafe_slice.rs +9 -3
  853. data/ext/src/ruby_api/params.rs +14 -12
  854. data/ext/src/ruby_api/table.rs +1 -1
  855. data/lib/wasmtime/version.rb +1 -1
  856. metadata +1418 -1079
  857. data/ext/cargo-vendor/cranelift-bforest-0.96.4/.cargo-checksum.json +0 -1
  858. data/ext/cargo-vendor/cranelift-bforest-0.96.4/Cargo.toml +0 -31
  859. data/ext/cargo-vendor/cranelift-codegen-0.96.4/.cargo-checksum.json +0 -1
  860. data/ext/cargo-vendor/cranelift-codegen-0.96.4/Cargo.toml +0 -159
  861. data/ext/cargo-vendor/cranelift-codegen-0.96.4/benches/x64-evex-encoding.rs +0 -53
  862. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/ir/trapcode.rs +0 -138
  863. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/abi.rs +0 -1281
  864. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit.rs +0 -3658
  865. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/emit_tests.rs +0 -7868
  866. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/imms.rs +0 -1215
  867. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst/mod.rs +0 -2945
  868. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/inst.isle +0 -4035
  869. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower/isle.rs +0 -813
  870. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/lower.isle +0 -2906
  871. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/aarch64/mod.rs +0 -240
  872. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/mod.rs +0 -420
  873. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/abi.rs +0 -726
  874. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/args.rs +0 -1822
  875. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit.rs +0 -2914
  876. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/emit_tests.rs +0 -2317
  877. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/encode.rs +0 -188
  878. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/imms.rs +0 -244
  879. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/mod.rs +0 -1823
  880. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/regs.rs +0 -231
  881. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/unwind/systemv.rs +0 -177
  882. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst/vector.rs +0 -354
  883. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst.isle +0 -2746
  884. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/inst_vector.isle +0 -224
  885. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower/isle.rs +0 -544
  886. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/lower.isle +0 -1012
  887. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/riscv64/mod.rs +0 -219
  888. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/abi.rs +0 -947
  889. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit.rs +0 -3697
  890. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/emit_tests.rs +0 -13397
  891. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst/mod.rs +0 -3409
  892. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/inst.isle +0 -5045
  893. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/lower.isle +0 -3991
  894. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/s390x/mod.rs +0 -215
  895. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/abi.rs +0 -978
  896. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/evex.rs +0 -403
  897. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/rex.rs +0 -565
  898. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/encoding/vex.rs +0 -498
  899. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/args.rs +0 -2168
  900. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit.rs +0 -3938
  901. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/emit_tests.rs +0 -5669
  902. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst/mod.rs +0 -2763
  903. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/inst.isle +0 -5186
  904. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower/isle.rs +0 -1158
  905. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.isle +0 -4262
  906. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/lower.rs +0 -328
  907. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isa/x64/mod.rs +0 -250
  908. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/isle_prelude.rs +0 -818
  909. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/abi.rs +0 -2410
  910. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/buffer.rs +0 -2219
  911. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/compile.rs +0 -92
  912. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/isle.rs +0 -827
  913. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/lower.rs +0 -1366
  914. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/mod.rs +0 -538
  915. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/reg.rs +0 -532
  916. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/machinst/vcode.rs +0 -1571
  917. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude.isle +0 -552
  918. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/prelude_lower.isle +0 -1012
  919. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/settings.rs +0 -599
  920. data/ext/cargo-vendor/cranelift-codegen-0.96.4/src/verifier/mod.rs +0 -1881
  921. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/.cargo-checksum.json +0 -1
  922. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/Cargo.toml +0 -23
  923. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/isa/x86.rs +0 -445
  924. data/ext/cargo-vendor/cranelift-codegen-meta-0.96.4/src/shared/settings.rs +0 -331
  925. data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/.cargo-checksum.json +0 -1
  926. data/ext/cargo-vendor/cranelift-codegen-shared-0.96.4/Cargo.toml +0 -22
  927. data/ext/cargo-vendor/cranelift-control-0.96.4/.cargo-checksum.json +0 -1
  928. data/ext/cargo-vendor/cranelift-control-0.96.4/Cargo.toml +0 -30
  929. data/ext/cargo-vendor/cranelift-control-0.96.4/src/chaos.rs +0 -78
  930. data/ext/cargo-vendor/cranelift-control-0.96.4/src/lib.rs +0 -30
  931. data/ext/cargo-vendor/cranelift-control-0.96.4/src/zero_sized.rs +0 -42
  932. data/ext/cargo-vendor/cranelift-entity-0.96.4/.cargo-checksum.json +0 -1
  933. data/ext/cargo-vendor/cranelift-entity-0.96.4/Cargo.toml +0 -35
  934. data/ext/cargo-vendor/cranelift-entity-0.96.4/src/list.rs +0 -868
  935. data/ext/cargo-vendor/cranelift-frontend-0.96.4/.cargo-checksum.json +0 -1
  936. data/ext/cargo-vendor/cranelift-frontend-0.96.4/Cargo.toml +0 -53
  937. data/ext/cargo-vendor/cranelift-isle-0.96.4/.cargo-checksum.json +0 -1
  938. data/ext/cargo-vendor/cranelift-isle-0.96.4/Cargo.toml +0 -37
  939. data/ext/cargo-vendor/cranelift-native-0.96.4/.cargo-checksum.json +0 -1
  940. data/ext/cargo-vendor/cranelift-native-0.96.4/Cargo.toml +0 -38
  941. data/ext/cargo-vendor/cranelift-native-0.96.4/src/lib.rs +0 -216
  942. data/ext/cargo-vendor/cranelift-wasm-0.96.4/.cargo-checksum.json +0 -1
  943. data/ext/cargo-vendor/cranelift-wasm-0.96.4/Cargo.toml +0 -85
  944. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/code_translator.rs +0 -3479
  945. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/dummy.rs +0 -901
  946. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/environ/spec.rs +0 -807
  947. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/func_translator.rs +0 -419
  948. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/sections_translator.rs +0 -429
  949. data/ext/cargo-vendor/cranelift-wasm-0.96.4/src/translation_utils.rs +0 -108
  950. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/.cargo-checksum.json +0 -1
  951. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/Cargo.toml +0 -36
  952. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/run-tests.sh +0 -11
  953. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/src/lib.rs +0 -162
  954. data/ext/cargo-vendor/file-per-thread-logger-0.1.6/tests/test.rs +0 -267
  955. data/ext/cargo-vendor/regalloc2-0.8.1/.cargo-checksum.json +0 -1
  956. data/ext/cargo-vendor/regalloc2-0.8.1/Cargo.toml +0 -72
  957. data/ext/cargo-vendor/regalloc2-0.8.1/deny.toml +0 -28
  958. data/ext/cargo-vendor/regalloc2-0.8.1/src/checker.rs +0 -1089
  959. data/ext/cargo-vendor/regalloc2-0.8.1/src/fuzzing/func.rs +0 -673
  960. data/ext/cargo-vendor/regalloc2-0.8.1/src/index.rs +0 -188
  961. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/data_structures.rs +0 -688
  962. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/liveranges.rs +0 -1012
  963. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/merge.rs +0 -394
  964. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/mod.rs +0 -152
  965. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/moves.rs +0 -985
  966. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/process.rs +0 -1322
  967. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/requirement.rs +0 -174
  968. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/spill.rs +0 -198
  969. data/ext/cargo-vendor/regalloc2-0.8.1/src/ion/stackmap.rs +0 -74
  970. data/ext/cargo-vendor/regalloc2-0.8.1/src/lib.rs +0 -1523
  971. data/ext/cargo-vendor/regalloc2-0.8.1/src/moves.rs +0 -438
  972. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/.cargo-checksum.json +0 -1
  973. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/Cargo.toml +0 -89
  974. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/dir.rs +0 -465
  975. data/ext/cargo-vendor/wasi-cap-std-sync-9.0.4/src/lib.rs +0 -140
  976. data/ext/cargo-vendor/wasi-common-9.0.4/.cargo-checksum.json +0 -1
  977. data/ext/cargo-vendor/wasi-common-9.0.4/Cargo.toml +0 -86
  978. data/ext/cargo-vendor/wasi-common-9.0.4/src/ctx.rs +0 -127
  979. data/ext/cargo-vendor/wasi-common-9.0.4/src/file.rs +0 -260
  980. data/ext/cargo-vendor/wasi-common-9.0.4/src/snapshots/preview_1.rs +0 -1490
  981. data/ext/cargo-vendor/wasmparser-0.103.0/.cargo-checksum.json +0 -1
  982. data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.lock +0 -692
  983. data/ext/cargo-vendor/wasmparser-0.103.0/Cargo.toml +0 -54
  984. data/ext/cargo-vendor/wasmparser-0.103.0/benches/benchmark.rs +0 -350
  985. data/ext/cargo-vendor/wasmparser-0.103.0/src/binary_reader.rs +0 -1682
  986. data/ext/cargo-vendor/wasmparser-0.103.0/src/lib.rs +0 -712
  987. data/ext/cargo-vendor/wasmparser-0.103.0/src/parser.rs +0 -1496
  988. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/canonicals.rs +0 -95
  989. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/exports.rs +0 -105
  990. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/imports.rs +0 -109
  991. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/instances.rs +0 -164
  992. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/component/types.rs +0 -508
  993. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/producers.rs +0 -78
  994. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core/types.rs +0 -511
  995. data/ext/cargo-vendor/wasmparser-0.103.0/src/readers/core.rs +0 -33
  996. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/component.rs +0 -2097
  997. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/core.rs +0 -1278
  998. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/operators.rs +0 -3456
  999. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator/types.rs +0 -2159
  1000. data/ext/cargo-vendor/wasmparser-0.103.0/src/validator.rs +0 -1514
  1001. data/ext/cargo-vendor/wasmtime-9.0.4/.cargo-checksum.json +0 -1
  1002. data/ext/cargo-vendor/wasmtime-9.0.4/Cargo.toml +0 -183
  1003. data/ext/cargo-vendor/wasmtime-9.0.4/build.rs +0 -20
  1004. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/component.rs +0 -519
  1005. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/instance.rs +0 -728
  1006. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/matching.rs +0 -112
  1007. data/ext/cargo-vendor/wasmtime-9.0.4/src/component/mod.rs +0 -313
  1008. data/ext/cargo-vendor/wasmtime-9.0.4/src/config.rs +0 -2036
  1009. data/ext/cargo-vendor/wasmtime-9.0.4/src/engine/serialization.rs +0 -613
  1010. data/ext/cargo-vendor/wasmtime-9.0.4/src/engine.rs +0 -729
  1011. data/ext/cargo-vendor/wasmtime-9.0.4/src/externals.rs +0 -762
  1012. data/ext/cargo-vendor/wasmtime-9.0.4/src/func/typed.rs +0 -638
  1013. data/ext/cargo-vendor/wasmtime-9.0.4/src/func.rs +0 -2385
  1014. data/ext/cargo-vendor/wasmtime-9.0.4/src/instance.rs +0 -905
  1015. data/ext/cargo-vendor/wasmtime-9.0.4/src/lib.rs +0 -481
  1016. data/ext/cargo-vendor/wasmtime-9.0.4/src/linker.rs +0 -1479
  1017. data/ext/cargo-vendor/wasmtime-9.0.4/src/memory.rs +0 -948
  1018. data/ext/cargo-vendor/wasmtime-9.0.4/src/module.rs +0 -1542
  1019. data/ext/cargo-vendor/wasmtime-9.0.4/src/ref.rs +0 -108
  1020. data/ext/cargo-vendor/wasmtime-9.0.4/src/store/context.rs +0 -243
  1021. data/ext/cargo-vendor/wasmtime-9.0.4/src/store/func_refs.rs +0 -110
  1022. data/ext/cargo-vendor/wasmtime-9.0.4/src/store.rs +0 -2059
  1023. data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/func.rs +0 -171
  1024. data/ext/cargo-vendor/wasmtime-9.0.4/src/trampoline/global.rs +0 -71
  1025. data/ext/cargo-vendor/wasmtime-9.0.4/src/types/matching.rs +0 -254
  1026. data/ext/cargo-vendor/wasmtime-9.0.4/src/types.rs +0 -551
  1027. data/ext/cargo-vendor/wasmtime-9.0.4/src/values.rs +0 -290
  1028. data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/.cargo-checksum.json +0 -1
  1029. data/ext/cargo-vendor/wasmtime-asm-macros-9.0.4/Cargo.toml +0 -22
  1030. data/ext/cargo-vendor/wasmtime-cache-9.0.4/.cargo-checksum.json +0 -1
  1031. data/ext/cargo-vendor/wasmtime-cache-9.0.4/Cargo.toml +0 -73
  1032. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/.cargo-checksum.json +0 -1
  1033. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/Cargo.toml +0 -58
  1034. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/src/bindgen.rs +0 -316
  1035. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/char.wit +0 -11
  1036. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/conventions.wit +0 -38
  1037. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/direct-import.wit +0 -3
  1038. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/empty.wit +0 -1
  1039. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/flags.wit +0 -53
  1040. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/floats.wit +0 -11
  1041. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/function-new.wit +0 -3
  1042. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/integers.wit +0 -38
  1043. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/lists.wit +0 -83
  1044. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/many-arguments.wit +0 -50
  1045. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/multi-return.wit +0 -12
  1046. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/records.wit +0 -59
  1047. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/rename.wit +0 -14
  1048. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/share-types.wit +0 -19
  1049. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-functions.wit +0 -15
  1050. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-lists.wit +0 -11
  1051. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/simple-wasi.wit +0 -21
  1052. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/small-anonymous.wit +0 -13
  1053. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-default.wit +0 -3
  1054. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke-export.wit +0 -5
  1055. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/smoke.wit +0 -5
  1056. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/strings.wit +0 -10
  1057. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/unions.wit +0 -64
  1058. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/use-paths.wit +0 -27
  1059. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/variants.wit +0 -145
  1060. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen/worlds-with-types.wit +0 -14
  1061. data/ext/cargo-vendor/wasmtime-component-macro-9.0.4/tests/codegen.rs +0 -30
  1062. data/ext/cargo-vendor/wasmtime-component-util-9.0.4/.cargo-checksum.json +0 -1
  1063. data/ext/cargo-vendor/wasmtime-component-util-9.0.4/Cargo.toml +0 -25
  1064. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/.cargo-checksum.json +0 -1
  1065. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/Cargo.toml +0 -90
  1066. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/compiler.rs +0 -1200
  1067. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/debug/transform/simulate.rs +0 -411
  1068. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/func_environ.rs +0 -2162
  1069. data/ext/cargo-vendor/wasmtime-cranelift-9.0.4/src/lib.rs +0 -177
  1070. data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/.cargo-checksum.json +0 -1
  1071. data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/Cargo.toml +0 -57
  1072. data/ext/cargo-vendor/wasmtime-cranelift-shared-9.0.4/src/lib.rs +0 -119
  1073. data/ext/cargo-vendor/wasmtime-environ-9.0.4/.cargo-checksum.json +0 -1
  1074. data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.lock +0 -735
  1075. data/ext/cargo-vendor/wasmtime-environ-9.0.4/Cargo.toml +0 -116
  1076. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/compiler.rs +0 -84
  1077. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate/inline.rs +0 -1064
  1078. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/translate.rs +0 -1066
  1079. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/component/types.rs +0 -1903
  1080. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/fact.rs +0 -622
  1081. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module.rs +0 -1043
  1082. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/module_environ.rs +0 -841
  1083. data/ext/cargo-vendor/wasmtime-environ-9.0.4/src/trap_encoding.rs +0 -234
  1084. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/.cargo-checksum.json +0 -1
  1085. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/Cargo.toml +0 -46
  1086. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/lib.rs +0 -293
  1087. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/unix.rs +0 -199
  1088. data/ext/cargo-vendor/wasmtime-fiber-9.0.4/src/windows.rs +0 -156
  1089. data/ext/cargo-vendor/wasmtime-jit-9.0.4/.cargo-checksum.json +0 -1
  1090. data/ext/cargo-vendor/wasmtime-jit-9.0.4/Cargo.toml +0 -100
  1091. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/instantiate.rs +0 -786
  1092. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/lib.rs +0 -39
  1093. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_disabled.rs +0 -32
  1094. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/jitdump_linux.rs +0 -444
  1095. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_disabled.rs +0 -28
  1096. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/perfmap_linux.rs +0 -104
  1097. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune.rs +0 -147
  1098. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling/vtune_disabled.rs +0 -32
  1099. data/ext/cargo-vendor/wasmtime-jit-9.0.4/src/profiling.rs +0 -74
  1100. data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/.cargo-checksum.json +0 -1
  1101. data/ext/cargo-vendor/wasmtime-jit-debug-9.0.4/Cargo.toml +0 -55
  1102. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/.cargo-checksum.json +0 -1
  1103. data/ext/cargo-vendor/wasmtime-jit-icache-coherence-9.0.4/Cargo.toml +0 -37
  1104. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/.cargo-checksum.json +0 -1
  1105. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/Cargo.toml +0 -107
  1106. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/component.rs +0 -724
  1107. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/cow.rs +0 -1063
  1108. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/debug_builtins.rs +0 -56
  1109. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/externref.rs +0 -1078
  1110. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator/pooling.rs +0 -1371
  1111. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance/allocator.rs +0 -528
  1112. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/instance.rs +0 -1267
  1113. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/lib.rs +0 -286
  1114. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/libcalls.rs +0 -597
  1115. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/memory.rs +0 -945
  1116. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/miri.rs +0 -93
  1117. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/unix.rs +0 -147
  1118. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/mmap/windows.rs +0 -207
  1119. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/table.rs +0 -573
  1120. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers/unix.rs +0 -387
  1121. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/traphandlers.rs +0 -664
  1122. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext/vm_host_func_context.rs +0 -147
  1123. data/ext/cargo-vendor/wasmtime-runtime-9.0.4/src/vmcontext.rs +0 -1244
  1124. data/ext/cargo-vendor/wasmtime-types-9.0.4/.cargo-checksum.json +0 -1
  1125. data/ext/cargo-vendor/wasmtime-types-9.0.4/Cargo.toml +0 -34
  1126. data/ext/cargo-vendor/wasmtime-types-9.0.4/src/lib.rs +0 -413
  1127. data/ext/cargo-vendor/wasmtime-wasi-9.0.4/.cargo-checksum.json +0 -1
  1128. data/ext/cargo-vendor/wasmtime-wasi-9.0.4/Cargo.toml +0 -67
  1129. data/ext/cargo-vendor/wasmtime-wasi-9.0.4/src/lib.rs +0 -128
  1130. data/ext/cargo-vendor/wasmtime-winch-9.0.4/.cargo-checksum.json +0 -1
  1131. data/ext/cargo-vendor/wasmtime-winch-9.0.4/Cargo.toml +0 -66
  1132. data/ext/cargo-vendor/wasmtime-winch-9.0.4/src/compiler.rs +0 -191
  1133. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/.cargo-checksum.json +0 -1
  1134. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/Cargo.toml +0 -29
  1135. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/lib.rs +0 -1488
  1136. data/ext/cargo-vendor/wasmtime-wit-bindgen-9.0.4/src/types.rs +0 -178
  1137. data/ext/cargo-vendor/wiggle-9.0.4/.cargo-checksum.json +0 -1
  1138. data/ext/cargo-vendor/wiggle-9.0.4/Cargo.toml +0 -106
  1139. data/ext/cargo-vendor/wiggle-9.0.4/README.md +0 -18
  1140. data/ext/cargo-vendor/wiggle-generate-9.0.4/.cargo-checksum.json +0 -1
  1141. data/ext/cargo-vendor/wiggle-generate-9.0.4/Cargo.toml +0 -58
  1142. data/ext/cargo-vendor/wiggle-macro-9.0.4/.cargo-checksum.json +0 -1
  1143. data/ext/cargo-vendor/wiggle-macro-9.0.4/Cargo.toml +0 -55
  1144. data/ext/cargo-vendor/wiggle-macro-9.0.4/src/lib.rs +0 -210
  1145. data/ext/cargo-vendor/winch-codegen-0.7.4/.cargo-checksum.json +0 -1
  1146. data/ext/cargo-vendor/winch-codegen-0.7.4/Cargo.toml +0 -59
  1147. data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/local.rs +0 -69
  1148. data/ext/cargo-vendor/winch-codegen-0.7.4/src/abi/mod.rs +0 -223
  1149. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/call.rs +0 -215
  1150. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/context.rs +0 -259
  1151. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/env.rs +0 -19
  1152. data/ext/cargo-vendor/winch-codegen-0.7.4/src/codegen/mod.rs +0 -183
  1153. data/ext/cargo-vendor/winch-codegen-0.7.4/src/frame/mod.rs +0 -166
  1154. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/abi.rs +0 -221
  1155. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/asm.rs +0 -244
  1156. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/masm.rs +0 -221
  1157. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/mod.rs +0 -122
  1158. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/aarch64/regs.rs +0 -160
  1159. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/mod.rs +0 -202
  1160. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/abi.rs +0 -337
  1161. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/address.rs +0 -17
  1162. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/asm.rs +0 -499
  1163. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/masm.rs +0 -267
  1164. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/mod.rs +0 -135
  1165. data/ext/cargo-vendor/winch-codegen-0.7.4/src/isa/x64/regs.rs +0 -178
  1166. data/ext/cargo-vendor/winch-codegen-0.7.4/src/lib.rs +0 -20
  1167. data/ext/cargo-vendor/winch-codegen-0.7.4/src/masm.rs +0 -213
  1168. data/ext/cargo-vendor/winch-codegen-0.7.4/src/regalloc.rs +0 -61
  1169. data/ext/cargo-vendor/winch-codegen-0.7.4/src/stack.rs +0 -230
  1170. data/ext/cargo-vendor/winch-codegen-0.7.4/src/trampoline.rs +0 -206
  1171. data/ext/cargo-vendor/winch-codegen-0.7.4/src/visitor.rs +0 -215
  1172. data/ext/cargo-vendor/winch-environ-0.7.4/.cargo-checksum.json +0 -1
  1173. data/ext/cargo-vendor/winch-environ-0.7.4/Cargo.toml +0 -28
  1174. data/ext/cargo-vendor/winch-environ-0.7.4/src/lib.rs +0 -41
  1175. data/ext/cargo-vendor/wit-parser-0.7.1/.cargo-checksum.json +0 -1
  1176. data/ext/cargo-vendor/wit-parser-0.7.1/Cargo.toml +0 -59
  1177. data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/lex.rs +0 -662
  1178. data/ext/cargo-vendor/wit-parser-0.7.1/src/ast/resolve.rs +0 -1072
  1179. data/ext/cargo-vendor/wit-parser-0.7.1/src/ast.rs +0 -1099
  1180. data/ext/cargo-vendor/wit-parser-0.7.1/src/lib.rs +0 -617
  1181. data/ext/cargo-vendor/wit-parser-0.7.1/src/live.rs +0 -123
  1182. data/ext/cargo-vendor/wit-parser-0.7.1/src/resolve.rs +0 -1478
  1183. data/ext/cargo-vendor/wit-parser-0.7.1/tests/all.rs +0 -168
  1184. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/comments.wit +0 -23
  1185. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared1.wit +0 -3
  1186. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/shared2.wit +0 -3
  1187. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/disambiguate-diamond/world.wit +0 -11
  1188. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/embedded.wit.md +0 -32
  1189. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -1
  1190. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/corp/saas.wit +0 -2
  1191. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -1
  1192. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -3
  1193. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -11
  1194. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -3
  1195. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -5
  1196. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/foreign-deps/root.wit +0 -31
  1197. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/functions.wit +0 -12
  1198. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/bar.wit +0 -19
  1199. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/multi-file/foo.wit +0 -15
  1200. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/alias-no-type.wit.result +0 -5
  1201. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/a.wit +0 -9
  1202. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/b.wit +0 -9
  1203. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond/join.wit +0 -4
  1204. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-diamond.wit.result +0 -8
  1205. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit +0 -5
  1206. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function.wit.result +0 -5
  1207. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit +0 -5
  1208. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-function2.wit.result +0 -5
  1209. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1/root.wit +0 -3
  1210. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg1.wit.result +0 -5
  1211. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2/root.wit +0 -3
  1212. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg2.wit.result +0 -5
  1213. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
  1214. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3/root.wit +0 -3
  1215. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg3.wit.result +0 -5
  1216. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -3
  1217. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4/root.wit +0 -3
  1218. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg4.wit.result +0 -5
  1219. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -2
  1220. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5/root.wit +0 -3
  1221. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg5.wit.result +0 -5
  1222. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
  1223. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6/root.wit +0 -3
  1224. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-pkg6.wit.result +0 -5
  1225. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit +0 -4
  1226. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type1.wit.result +0 -5
  1227. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit +0 -9
  1228. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/bad-world-type2.wit.result +0 -5
  1229. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit +0 -5
  1230. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle.wit.result +0 -5
  1231. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit +0 -6
  1232. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle2.wit.result +0 -5
  1233. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit +0 -6
  1234. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle3.wit.result +0 -5
  1235. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit +0 -6
  1236. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle4.wit.result +0 -5
  1237. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit +0 -6
  1238. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/cycle5.wit.result +0 -5
  1239. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit +0 -3
  1240. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-interface1.wit.result +0 -5
  1241. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit +0 -3
  1242. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/default-world1.wit.result +0 -5
  1243. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit +0 -6
  1244. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-functions.wit.result +0 -5
  1245. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit +0 -4
  1246. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-interface.wit.result +0 -5
  1247. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit +0 -6
  1248. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/duplicate-type.wit.result +0 -5
  1249. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit +0 -5
  1250. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-enum.wit.result +0 -5
  1251. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit +0 -5
  1252. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-union.wit.result +0 -5
  1253. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit +0 -5
  1254. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/empty-variant1.wit.result +0 -5
  1255. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit +0 -4
  1256. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap1.wit.result +0 -5
  1257. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit +0 -4
  1258. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap2.wit.result +0 -5
  1259. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit +0 -11
  1260. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/import-export-overlap3.wit.result +0 -6
  1261. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-md.wit.result +0 -5
  1262. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit +0 -8
  1263. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -5
  1264. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit +0 -4
  1265. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -5
  1266. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit +0 -0
  1267. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/invalid@filename.wit.result +0 -4
  1268. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -3
  1269. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle/root.wit +0 -3
  1270. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle.wit.result +0 -5
  1271. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -3
  1272. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -3
  1273. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -3
  1274. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -5
  1275. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit +0 -5
  1276. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/undefined-typed.wit.result +0 -5
  1277. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit +0 -5
  1278. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unknown-interface.wit.result +0 -5
  1279. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit +0 -5
  1280. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -5
  1281. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit +0 -6
  1282. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -5
  1283. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit +0 -5
  1284. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -5
  1285. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit +0 -5
  1286. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -5
  1287. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit +0 -5
  1288. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-interface5.wit.result +0 -5
  1289. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit +0 -5
  1290. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use1.wit.result +0 -5
  1291. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -3
  1292. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use10.wit.result +0 -8
  1293. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/bar.wit +0 -3
  1294. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11/foo.wit +0 -2
  1295. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use11.wit.result +0 -8
  1296. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit +0 -8
  1297. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use2.wit.result +0 -5
  1298. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit +0 -9
  1299. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use3.wit.result +0 -5
  1300. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit +0 -5
  1301. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use4.wit.result +0 -5
  1302. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit +0 -6
  1303. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use5.wit.result +0 -5
  1304. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit +0 -5
  1305. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use6.wit.result +0 -5
  1306. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit +0 -8
  1307. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use7.wit.result +0 -5
  1308. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit +0 -7
  1309. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use8.wit.result +0 -5
  1310. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit +0 -7
  1311. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/unresolved-use9.wit.result +0 -5
  1312. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit +0 -9
  1313. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict.wit.result +0 -5
  1314. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit +0 -11
  1315. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict2.wit.result +0 -5
  1316. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit +0 -11
  1317. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-conflict3.wit.result +0 -5
  1318. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit +0 -5
  1319. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle1.wit.result +0 -5
  1320. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit +0 -5
  1321. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle2.wit.result +0 -5
  1322. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit +0 -6
  1323. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle3.wit.result +0 -5
  1324. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit +0 -13
  1325. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-cycle4.wit.result +0 -5
  1326. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit +0 -8
  1327. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world.wit.result +0 -5
  1328. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/bar.wit +0 -3
  1329. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2/foo.wit +0 -2
  1330. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/use-from-package-world2.wit.result +0 -8
  1331. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit +0 -10
  1332. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import1.wit.result +0 -6
  1333. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit +0 -9
  1334. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import2.wit.result +0 -5
  1335. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit +0 -9
  1336. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-implicit-import3.wit.result +0 -5
  1337. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit +0 -2
  1338. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-interface-clash.wit.result +0 -5
  1339. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit +0 -9
  1340. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields.wit.result +0 -5
  1341. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit +0 -6
  1342. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields2.wit.result +0 -5
  1343. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit +0 -6
  1344. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields3.wit.result +0 -5
  1345. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit +0 -11
  1346. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-fields4.wit.result +0 -8
  1347. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit +0 -6
  1348. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-same-import.wit.result +0 -5
  1349. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit +0 -4
  1350. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func.wit.result +0 -5
  1351. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit +0 -3
  1352. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -5
  1353. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit +0 -16
  1354. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/parse-fail/worlds-same-fields5.wit.result +0 -9
  1355. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/shared-types.wit +0 -8
  1356. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/type-then-eof.wit +0 -3
  1357. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/types.wit +0 -59
  1358. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/use.wit +0 -33
  1359. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/wasi.wit +0 -176
  1360. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-diamond.wit +0 -20
  1361. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/world-top-level-funcs.wit +0 -7
  1362. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds-with-types.wit +0 -32
  1363. data/ext/cargo-vendor/wit-parser-0.7.1/tests/ui/worlds.wit +0 -40
  1364. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/LICENSE +0 -0
  1365. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/README.md +0 -0
  1366. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/lib.rs +0 -0
  1367. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/map.rs +0 -0
  1368. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/node.rs +0 -0
  1369. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/path.rs +0 -0
  1370. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/pool.rs +0 -0
  1371. /data/ext/cargo-vendor/{cranelift-bforest-0.96.4 → cranelift-bforest-0.97.1}/src/set.rs +0 -0
  1372. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/LICENSE +0 -0
  1373. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/README.md +0 -0
  1374. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/build.rs +0 -0
  1375. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/alias_analysis.rs +0 -0
  1376. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/mod.rs +0 -0
  1377. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/binemit/stack_map.rs +0 -0
  1378. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/bitset.rs +0 -0
  1379. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cfg_printer.rs +0 -0
  1380. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/constant_hash.rs +0 -0
  1381. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/context.rs +0 -0
  1382. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ctxhash.rs +0 -0
  1383. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/cursor.rs +0 -0
  1384. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/data_value.rs +0 -0
  1385. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dbg.rs +0 -0
  1386. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dce.rs +0 -0
  1387. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/dominator_tree.rs +0 -0
  1388. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/cost.rs +0 -0
  1389. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/domtree.rs +0 -0
  1390. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph/elaborate.rs +0 -0
  1391. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/egraph.rs +0 -0
  1392. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/flowgraph.rs +0 -0
  1393. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/fx.rs +0 -0
  1394. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/incremental_cache.rs +0 -0
  1395. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/inst_predicates.rs +0 -0
  1396. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/atomic_rmw_op.rs +0 -0
  1397. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/builder.rs +0 -0
  1398. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/condcodes.rs +0 -0
  1399. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/constant.rs +0 -0
  1400. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dfg.rs +0 -0
  1401. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/dynamic_type.rs +0 -0
  1402. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/entities.rs +0 -0
  1403. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extfunc.rs +0 -0
  1404. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/extname.rs +0 -0
  1405. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/function.rs +0 -0
  1406. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/globalvalue.rs +0 -0
  1407. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/immediates.rs +0 -0
  1408. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/instructions.rs +0 -0
  1409. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/jumptable.rs +0 -0
  1410. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/known_symbol.rs +0 -0
  1411. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/layout.rs +0 -0
  1412. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/libcall.rs +0 -0
  1413. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/memflags.rs +0 -0
  1414. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/mod.rs +0 -0
  1415. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/progpoint.rs +0 -0
  1416. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/sourceloc.rs +0 -0
  1417. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/stackslot.rs +0 -0
  1418. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/table.rs +0 -0
  1419. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/ir/types.rs +0 -0
  1420. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/args.rs +0 -0
  1421. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/regs.rs +0 -0
  1422. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
  1423. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst/unwind.rs +0 -0
  1424. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/inst_neon.isle +0 -0
  1425. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
  1426. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower.rs +0 -0
  1427. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
  1428. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/aarch64/settings.rs +0 -0
  1429. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/call_conv.rs +0 -0
  1430. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/inst/unwind.rs +0 -0
  1431. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
  1432. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/lower.rs +0 -0
  1433. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/riscv64/settings.rs +0 -0
  1434. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/args.rs +0 -0
  1435. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/imms.rs +0 -0
  1436. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/regs.rs +0 -0
  1437. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
  1438. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/inst/unwind.rs +0 -0
  1439. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
  1440. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower/isle.rs +0 -0
  1441. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/lower.rs +0 -0
  1442. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/s390x/settings.rs +0 -0
  1443. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/systemv.rs +0 -0
  1444. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind/winx64.rs +0 -0
  1445. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/unwind.rs +0 -0
  1446. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/encoding/mod.rs +0 -0
  1447. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/regs.rs +0 -0
  1448. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/systemv.rs +0 -0
  1449. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind/winx64.rs +0 -0
  1450. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/inst/unwind.rs +0 -0
  1451. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/lower/isle/generated_code.rs +0 -0
  1452. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/isa/x64/settings.rs +0 -0
  1453. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/iterators.rs +0 -0
  1454. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/globalvalue.rs +0 -0
  1455. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/mod.rs +0 -0
  1456. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/legalizer/table.rs +0 -0
  1457. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/lib.rs +0 -0
  1458. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/loop_analysis.rs +0 -0
  1459. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/blockorder.rs +0 -0
  1460. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/helpers.rs +0 -0
  1461. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/inst_common.rs +0 -0
  1462. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/machinst/valueregs.rs +0 -0
  1463. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/nan_canonicalization.rs +0 -0
  1464. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/README.md +0 -0
  1465. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/arithmetic.isle +0 -0
  1466. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/bitops.isle +0 -0
  1467. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/cprop.isle +0 -0
  1468. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/extends.isle +0 -0
  1469. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/generated_code.rs +0 -0
  1470. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/icmp.isle +0 -0
  1471. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/remat.isle +0 -0
  1472. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/selects.isle +0 -0
  1473. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts/shifts.isle +0 -0
  1474. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/opts.rs +0 -0
  1475. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/prelude_opt.isle +0 -0
  1476. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/print_errors.rs +0 -0
  1477. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/remove_constant_phis.rs +0 -0
  1478. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/result.rs +0 -0
  1479. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/scoped_hash_map.rs +0 -0
  1480. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/souper_harvest.rs +0 -0
  1481. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/timing.rs +0 -0
  1482. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unionfind.rs +0 -0
  1483. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/unreachable_code.rs +0 -0
  1484. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/value_label.rs +0 -0
  1485. /data/ext/cargo-vendor/{cranelift-codegen-0.96.4 → cranelift-codegen-0.97.1}/src/write.rs +0 -0
  1486. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/LICENSE +0 -0
  1487. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/README.md +0 -0
  1488. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/formats.rs +0 -0
  1489. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/instructions.rs +0 -0
  1490. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/isa.rs +0 -0
  1491. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/mod.rs +0 -0
  1492. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/operands.rs +0 -0
  1493. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/settings.rs +0 -0
  1494. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/types.rs +0 -0
  1495. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/cdsl/typevar.rs +0 -0
  1496. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/constant_hash.rs +0 -0
  1497. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/error.rs +0 -0
  1498. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_inst.rs +0 -0
  1499. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_settings.rs +0 -0
  1500. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/gen_types.rs +0 -0
  1501. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/arm64.rs +0 -0
  1502. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/mod.rs +0 -0
  1503. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/riscv64.rs +0 -0
  1504. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/isa/s390x.rs +0 -0
  1505. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/lib.rs +0 -0
  1506. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/entities.rs +0 -0
  1507. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/formats.rs +0 -0
  1508. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/immediates.rs +0 -0
  1509. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/instructions.rs +0 -0
  1510. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/mod.rs +0 -0
  1511. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/shared/types.rs +0 -0
  1512. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/srcgen.rs +0 -0
  1513. /data/ext/cargo-vendor/{cranelift-codegen-meta-0.96.4 → cranelift-codegen-meta-0.97.1}/src/unique_table.rs +0 -0
  1514. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/LICENSE +0 -0
  1515. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/README.md +0 -0
  1516. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constant_hash.rs +0 -0
  1517. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/constants.rs +0 -0
  1518. /data/ext/cargo-vendor/{cranelift-codegen-shared-0.96.4 → cranelift-codegen-shared-0.97.1}/src/lib.rs +0 -0
  1519. /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/LICENSE +0 -0
  1520. /data/ext/cargo-vendor/{cranelift-control-0.96.4 → cranelift-control-0.97.1}/README.md +0 -0
  1521. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/LICENSE +0 -0
  1522. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/README.md +0 -0
  1523. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/boxed_slice.rs +0 -0
  1524. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/iter.rs +0 -0
  1525. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/keys.rs +0 -0
  1526. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/lib.rs +0 -0
  1527. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/map.rs +0 -0
  1528. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/packed_option.rs +0 -0
  1529. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/primary.rs +0 -0
  1530. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/set.rs +0 -0
  1531. /data/ext/cargo-vendor/{cranelift-entity-0.96.4 → cranelift-entity-0.97.1}/src/sparse.rs +0 -0
  1532. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/LICENSE +0 -0
  1533. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/README.md +0 -0
  1534. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/frontend.rs +0 -0
  1535. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/lib.rs +0 -0
  1536. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/ssa.rs +0 -0
  1537. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/switch.rs +0 -0
  1538. /data/ext/cargo-vendor/{cranelift-frontend-0.96.4 → cranelift-frontend-0.97.1}/src/variable.rs +0 -0
  1539. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/README.md +0 -0
  1540. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/build.rs +0 -0
  1541. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bad_converters.isle +0 -0
  1542. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
  1543. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
  1544. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/error1.isle +0 -0
  1545. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/extra_parens.isle +0 -0
  1546. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_expression.isle +0 -0
  1547. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/impure_rhs.isle +0 -0
  1548. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_internal_etor.isle +0 -0
  1549. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/fail/multi_prio.isle +0 -0
  1550. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows.isle +0 -0
  1551. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/borrows_main.rs +0 -0
  1552. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets.isle +0 -0
  1553. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/iflets_main.rs +0 -0
  1554. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor.isle +0 -0
  1555. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_constructor_main.rs +0 -0
  1556. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor.isle +0 -0
  1557. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/multi_extractor_main.rs +0 -0
  1558. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test.isle +0 -0
  1559. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/link/test_main.rs +0 -0
  1560. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/bound_var.isle +0 -0
  1561. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/construct_and_extract.isle +0 -0
  1562. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions.isle +0 -0
  1563. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/conversions_extern.isle +0 -0
  1564. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/let.isle +0 -0
  1565. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/nodebug.isle +0 -0
  1566. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/prio_trie_bug.isle +0 -0
  1567. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test2.isle +0 -0
  1568. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test3.isle +0 -0
  1569. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/test4.isle +0 -0
  1570. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/pass/tutorial.isle +0 -0
  1571. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst.isle +0 -0
  1572. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/iconst_main.rs +0 -0
  1573. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing.isle +0 -0
  1574. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/isle_examples/run/let_shadowing_main.rs +0 -0
  1575. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/ast.rs +0 -0
  1576. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/codegen.rs +0 -0
  1577. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/compile.rs +0 -0
  1578. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/error.rs +0 -0
  1579. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lexer.rs +0 -0
  1580. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/lib.rs +0 -0
  1581. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/log.rs +0 -0
  1582. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/overlap.rs +0 -0
  1583. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/parser.rs +0 -0
  1584. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/sema.rs +0 -0
  1585. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/serialize.rs +0 -0
  1586. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/src/trie_again.rs +0 -0
  1587. /data/ext/cargo-vendor/{cranelift-isle-0.96.4 → cranelift-isle-0.97.1}/tests/run_tests.rs +0 -0
  1588. /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/LICENSE +0 -0
  1589. /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/README.md +0 -0
  1590. /data/ext/cargo-vendor/{cranelift-native-0.96.4 → cranelift-native-0.97.1}/src/riscv.rs +0 -0
  1591. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/LICENSE +0 -0
  1592. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/README.md +0 -0
  1593. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/code_translator/bounds_checks.rs +0 -0
  1594. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/environ/mod.rs +0 -0
  1595. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/heap.rs +0 -0
  1596. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/lib.rs +0 -0
  1597. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/module_translator.rs +0 -0
  1598. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/src/state.rs +0 -0
  1599. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/tests/wasm_testsuite.rs +0 -0
  1600. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/arith.wat +0 -0
  1601. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/br_table.wat +0 -0
  1602. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call-simd.wat +0 -0
  1603. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/call.wat +0 -0
  1604. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fannkuch.wat +0 -0
  1605. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_fasta.wat +0 -0
  1606. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_ifs.wat +0 -0
  1607. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/embenchen_primes.wat +0 -0
  1608. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fac-multi-value.wat +0 -0
  1609. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/fibonacci.wat +0 -0
  1610. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/globals.wat +0 -0
  1611. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall-simd.wat +0 -0
  1612. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/icall.wat +0 -0
  1613. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-0.wat +0 -0
  1614. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-1.wat +0 -0
  1615. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-2.wat +0 -0
  1616. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-3.wat +0 -0
  1617. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-4.wat +0 -0
  1618. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-5.wat +0 -0
  1619. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-reachability-translation-6.wat +0 -0
  1620. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params-2.wat +0 -0
  1621. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/if-unreachable-else-params.wat +0 -0
  1622. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
  1623. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/memory.wat +0 -0
  1624. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-0.wat +0 -0
  1625. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-1.wat +0 -0
  1626. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-10.wat +0 -0
  1627. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-11.wat +0 -0
  1628. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-12.wat +0 -0
  1629. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-13.wat +0 -0
  1630. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-14.wat +0 -0
  1631. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-15.wat +0 -0
  1632. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-16.wat +0 -0
  1633. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-17.wat +0 -0
  1634. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-2.wat +0 -0
  1635. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-3.wat +0 -0
  1636. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-4.wat +0 -0
  1637. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-5.wat +0 -0
  1638. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-6.wat +0 -0
  1639. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-7.wat +0 -0
  1640. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-8.wat +0 -0
  1641. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/multi-9.wat +0 -0
  1642. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/nullref.wat +0 -0
  1643. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/passive-data.wat +0 -0
  1644. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2303.wat +0 -0
  1645. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/pr2559.wat +0 -0
  1646. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/ref-func-0.wat +0 -0
  1647. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/rust_fannkuch.wat +0 -0
  1648. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/select.wat +0 -0
  1649. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd-store.wat +0 -0
  1650. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/simd.wat +0 -0
  1651. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/table-copy.wat +0 -0
  1652. /data/ext/cargo-vendor/{cranelift-wasm-0.96.4 → cranelift-wasm-0.97.1}/wasmtests/unreachable_code.wat +0 -0
  1653. /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/LICENSE +0 -0
  1654. /data/ext/cargo-vendor/{file-per-thread-logger-0.1.6 → file-per-thread-logger-0.2.0}/README.md +0 -0
  1655. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/LICENSE +0 -0
  1656. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/README.md +0 -0
  1657. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/DESIGN.md +0 -0
  1658. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/doc/TODO +0 -0
  1659. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/cfg.rs +0 -0
  1660. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/domtree.rs +0 -0
  1661. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/fuzzing/mod.rs +0 -0
  1662. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/indexset.rs +0 -0
  1663. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/dump.rs +0 -0
  1664. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/redundant_moves.rs +0 -0
  1665. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ion/reg_traversal.rs +0 -0
  1666. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/postorder.rs +0 -0
  1667. /data/ext/cargo-vendor/{regalloc2-0.8.1 → regalloc2-0.9.2}/src/ssa.rs +0 -0
  1668. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/LICENSE +0 -0
  1669. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/README.md +0 -0
  1670. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/clocks.rs +0 -0
  1671. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/file.rs +0 -0
  1672. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/net.rs +0 -0
  1673. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/unix.rs +0 -0
  1674. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched/windows.rs +0 -0
  1675. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/sched.rs +0 -0
  1676. /data/ext/cargo-vendor/{wasi-cap-std-sync-9.0.4 → wasi-cap-std-sync-10.0.1}/src/stdio.rs +0 -0
  1677. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/LICENSE +0 -0
  1678. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/README.md +0 -0
  1679. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/README.md +0 -0
  1680. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/docs/README.md +0 -0
  1681. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/README.md +0 -0
  1682. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/docs.md +0 -0
  1683. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
  1684. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
  1685. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
  1686. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
  1687. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
  1688. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
  1689. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
  1690. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
  1691. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
  1692. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
  1693. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
  1694. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/docs.md +0 -0
  1695. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
  1696. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
  1697. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.html +0 -0
  1698. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/docs.md +0 -0
  1699. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/typenames.witx +0 -0
  1700. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
  1701. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposal-template/README.md +0 -0
  1702. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/proposals/README.md +0 -0
  1703. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/snapshots/README.md +0 -0
  1704. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/WASI/standard/README.md +0 -0
  1705. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/build.rs +0 -0
  1706. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/clocks.rs +0 -0
  1707. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/dir.rs +0 -0
  1708. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/error.rs +0 -0
  1709. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/lib.rs +0 -0
  1710. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/pipe.rs +0 -0
  1711. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/random.rs +0 -0
  1712. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched/subscription.rs +0 -0
  1713. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/sched.rs +0 -0
  1714. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/mod.rs +0 -0
  1715. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_0.rs +0 -0
  1716. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/snapshots/preview_1/error.rs +0 -0
  1717. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/string_array.rs +0 -0
  1718. /data/ext/cargo-vendor/{wasi-common-9.0.4 → wasi-common-10.0.1}/src/table.rs +0 -0
  1719. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasm-encoder-0.29.0}/LICENSE +0 -0
  1720. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmparser-0.107.0}/LICENSE +0 -0
  1721. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/README.md +0 -0
  1722. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/examples/simple.rs +0 -0
  1723. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/limits.rs +0 -0
  1724. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/aliases.rs +0 -0
  1725. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/names.rs +0 -0
  1726. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component/start.rs +0 -0
  1727. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/component.rs +0 -0
  1728. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/code.rs +0 -0
  1729. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/custom.rs +0 -0
  1730. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/data.rs +0 -0
  1731. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/elements.rs +0 -0
  1732. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/exports.rs +0 -0
  1733. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/functions.rs +0 -0
  1734. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/globals.rs +0 -0
  1735. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/imports.rs +0 -0
  1736. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/init.rs +0 -0
  1737. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/memories.rs +0 -0
  1738. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/names.rs +0 -0
  1739. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/operators.rs +0 -0
  1740. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tables.rs +0 -0
  1741. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers/core/tags.rs +0 -0
  1742. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/readers.rs +0 -0
  1743. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/resources.rs +0 -0
  1744. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/src/validator/func.rs +0 -0
  1745. /data/ext/cargo-vendor/{wasmparser-0.103.0 → wasmparser-0.107.0}/tests/big-module.rs +0 -0
  1746. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmparser-0.111.0}/LICENSE +0 -0
  1747. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmprinter-0.2.63}/LICENSE +0 -0
  1748. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-10.0.1}/LICENSE +0 -0
  1749. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/README.md +0 -0
  1750. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/code.rs +0 -0
  1751. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/host.rs +0 -0
  1752. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/options.rs +0 -0
  1753. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func/typed.rs +0 -0
  1754. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/func.rs +0 -0
  1755. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/linker.rs +0 -0
  1756. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/storage.rs +0 -0
  1757. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/store.rs +0 -0
  1758. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/types.rs +0 -0
  1759. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/component/values.rs +0 -0
  1760. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/limits.rs +0 -0
  1761. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/module/registry.rs +0 -0
  1762. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/profiling.rs +0 -0
  1763. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/signatures.rs +0 -0
  1764. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/store/data.rs +0 -0
  1765. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/memory.rs +0 -0
  1766. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline/table.rs +0 -0
  1767. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trampoline.rs +0 -0
  1768. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/trap.rs +0 -0
  1769. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/unix.rs +0 -0
  1770. /data/ext/cargo-vendor/{wasmtime-9.0.4 → wasmtime-10.0.1}/src/windows.rs +0 -0
  1771. /data/ext/cargo-vendor/{wasmtime-asm-macros-9.0.4 → wasmtime-asm-macros-10.0.1}/src/lib.rs +0 -0
  1772. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-cache-10.0.1}/LICENSE +0 -0
  1773. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/build.rs +0 -0
  1774. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config/tests.rs +0 -0
  1775. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/config.rs +0 -0
  1776. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/lib.rs +0 -0
  1777. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/tests.rs +0 -0
  1778. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests/system_time_stub.rs +0 -0
  1779. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker/tests.rs +0 -0
  1780. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/src/worker.rs +0 -0
  1781. /data/ext/cargo-vendor/{wasmtime-cache-9.0.4 → wasmtime-cache-10.0.1}/tests/cache_write_default_config.rs +0 -0
  1782. /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/component.rs +0 -0
  1783. /data/ext/cargo-vendor/{wasmtime-component-macro-9.0.4 → wasmtime-component-macro-10.0.1}/src/lib.rs +0 -0
  1784. /data/ext/cargo-vendor/{wasmtime-component-util-9.0.4 → wasmtime-component-util-10.0.1}/src/lib.rs +0 -0
  1785. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-cranelift-10.0.1}/LICENSE +0 -0
  1786. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/SECURITY.md +0 -0
  1787. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/builder.rs +0 -0
  1788. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/compiler/component.rs +0 -0
  1789. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/gc.rs +0 -0
  1790. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/address_transform.rs +0 -0
  1791. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/attr.rs +0 -0
  1792. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/expression.rs +0 -0
  1793. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/line_program.rs +0 -0
  1794. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/mod.rs +0 -0
  1795. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/range_info_builder.rs +0 -0
  1796. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/refs.rs +0 -0
  1797. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/unit.rs +0 -0
  1798. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/transform/utils.rs +0 -0
  1799. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug/write_debuginfo.rs +0 -0
  1800. /data/ext/cargo-vendor/{wasmtime-cranelift-9.0.4 → wasmtime-cranelift-10.0.1}/src/debug.rs +0 -0
  1801. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/compiled_function.rs +0 -0
  1802. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/isa_builder.rs +0 -0
  1803. /data/ext/cargo-vendor/{wasmtime-cranelift-shared-9.0.4 → wasmtime-cranelift-shared-10.0.1}/src/obj.rs +0 -0
  1804. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-environ-10.0.1}/LICENSE +0 -0
  1805. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/examples/factc.rs +0 -0
  1806. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/address_map.rs +0 -0
  1807. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/builtin.rs +0 -0
  1808. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/compilation.rs +0 -0
  1809. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/dfg.rs +0 -0
  1810. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/info.rs +0 -0
  1811. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/translate/adapt.rs +0 -0
  1812. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component/vmcomponent_offsets.rs +0 -0
  1813. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/component.rs +0 -0
  1814. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/core_types.rs +0 -0
  1815. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/signature.rs +0 -0
  1816. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/trampoline.rs +0 -0
  1817. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/transcode.rs +0 -0
  1818. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/fact/traps.rs +0 -0
  1819. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/lib.rs +0 -0
  1820. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/module_types.rs +0 -0
  1821. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/obj.rs +0 -0
  1822. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/ref_bits.rs +0 -0
  1823. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/scopevec.rs +0 -0
  1824. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/stack_map.rs +0 -0
  1825. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/tunables.rs +0 -0
  1826. /data/ext/cargo-vendor/{wasmtime-environ-9.0.4 → wasmtime-environ-10.0.1}/src/vmoffsets.rs +0 -0
  1827. /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-fiber-10.0.1}/LICENSE +0 -0
  1828. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/build.rs +0 -0
  1829. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/aarch64.rs +0 -0
  1830. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/arm.rs +0 -0
  1831. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/riscv64.rs +0 -0
  1832. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/s390x.S +0 -0
  1833. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86.rs +0 -0
  1834. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/unix/x86_64.rs +0 -0
  1835. /data/ext/cargo-vendor/{wasmtime-fiber-9.0.4 → wasmtime-fiber-10.0.1}/src/windows.c +0 -0
  1836. /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-jit-10.0.1}/LICENSE +0 -0
  1837. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/code_memory.rs +0 -0
  1838. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/debug.rs +0 -0
  1839. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/demangling.rs +0 -0
  1840. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/miri.rs +0 -0
  1841. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/systemv.rs +0 -0
  1842. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind/winx64.rs +0 -0
  1843. /data/ext/cargo-vendor/{wasmtime-jit-9.0.4 → wasmtime-jit-10.0.1}/src/unwind.rs +0 -0
  1844. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/README.md +0 -0
  1845. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/gdb_jit_int.rs +0 -0
  1846. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/lib.rs +0 -0
  1847. /data/ext/cargo-vendor/{wasmtime-jit-debug-9.0.4 → wasmtime-jit-debug-10.0.1}/src/perf_jitdump.rs +0 -0
  1848. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/lib.rs +0 -0
  1849. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/libc.rs +0 -0
  1850. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/miri.rs +0 -0
  1851. /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-9.0.4 → wasmtime-jit-icache-coherence-10.0.1}/src/win.rs +0 -0
  1852. /data/ext/cargo-vendor/{wiggle-9.0.4 → wasmtime-runtime-10.0.1}/LICENSE +0 -0
  1853. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/build.rs +0 -0
  1854. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/component/transcode.rs +0 -0
  1855. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/export.rs +0 -0
  1856. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/helpers.c +0 -0
  1857. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/imports.rs +0 -0
  1858. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/index_allocator.rs +0 -0
  1859. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/unix.rs +0 -0
  1860. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/instance/allocator/pooling/windows.rs +0 -0
  1861. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap.rs +0 -0
  1862. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/mmap_vec.rs +0 -0
  1863. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/module_id.rs +0 -0
  1864. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/parking_spot.rs +0 -0
  1865. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/store_box.rs +0 -0
  1866. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/aarch64.rs +0 -0
  1867. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/riscv64.rs +0 -0
  1868. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.S +0 -0
  1869. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/s390x.rs +0 -0
  1870. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines/x86_64.rs +0 -0
  1871. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/trampolines.rs +0 -0
  1872. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/aarch64.rs +0 -0
  1873. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/riscv64.rs +0 -0
  1874. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/s390x.rs +0 -0
  1875. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace/x86_64.rs +0 -0
  1876. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/backtrace.rs +0 -0
  1877. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/macos.rs +0 -0
  1878. /data/ext/cargo-vendor/{wasmtime-runtime-9.0.4 → wasmtime-runtime-10.0.1}/src/traphandlers/windows.rs +0 -0
  1879. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wasmtime-types-10.0.1}/LICENSE +0 -0
  1880. /data/ext/cargo-vendor/{wasmtime-types-9.0.4 → wasmtime-types-10.0.1}/src/error.rs +0 -0
  1881. /data/ext/cargo-vendor/{wiggle-macro-9.0.4 → wasmtime-wasi-10.0.1}/LICENSE +0 -0
  1882. /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/README.md +0 -0
  1883. /data/ext/cargo-vendor/{wasmtime-wasi-9.0.4 → wasmtime-wasi-10.0.1}/build.rs +0 -0
  1884. /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/LICENSE +0 -0
  1885. /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/builder.rs +0 -0
  1886. /data/ext/cargo-vendor/{wasmtime-winch-9.0.4 → wasmtime-winch-10.0.1}/src/lib.rs +0 -0
  1887. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/rust.rs +0 -0
  1888. /data/ext/cargo-vendor/{wasmtime-wit-bindgen-9.0.4 → wasmtime-wit-bindgen-10.0.1}/src/source.rs +0 -0
  1889. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/borrow.rs +0 -0
  1890. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/error.rs +0 -0
  1891. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/guest_type.rs +0 -0
  1892. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/lib.rs +0 -0
  1893. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/region.rs +0 -0
  1894. /data/ext/cargo-vendor/{wiggle-9.0.4 → wiggle-10.0.1}/src/wasmtime.rs +0 -0
  1895. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/README.md +0 -0
  1896. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/codegen_settings.rs +0 -0
  1897. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/config.rs +0 -0
  1898. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/funcs.rs +0 -0
  1899. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lib.rs +0 -0
  1900. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/lifetimes.rs +0 -0
  1901. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/module_trait.rs +0 -0
  1902. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/names.rs +0 -0
  1903. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/error.rs +0 -0
  1904. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/flags.rs +0 -0
  1905. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/handle.rs +0 -0
  1906. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/mod.rs +0 -0
  1907. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/record.rs +0 -0
  1908. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/types/variant.rs +0 -0
  1909. /data/ext/cargo-vendor/{wiggle-generate-9.0.4 → wiggle-generate-10.0.1}/src/wasmtime.rs +0 -0
  1910. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/LICENSE +0 -0
  1911. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/build.rs +0 -0
  1912. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/aarch64/address.rs +0 -0
  1913. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/isa/reg.rs +0 -0
  1914. /data/ext/cargo-vendor/{winch-codegen-0.7.4 → winch-codegen-0.8.1}/src/regset.rs +0 -0
  1915. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/README.md +0 -0
  1916. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/abi.rs +0 -0
  1917. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/ast/toposort.rs +0 -0
  1918. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/src/sizealign.rs +0 -0
  1919. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
  1920. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async.wit.result +0 -0
  1921. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/async1.wit.result +0 -0
  1922. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit +0 -0
  1923. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
  1924. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
  1925. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
  1926. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-md.md +0 -0
  1927. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
  1928. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
  1929. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit +0 -0
  1930. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
  1931. /data/ext/cargo-vendor/{wit-parser-0.7.1/tests/ui/empty.wit → wit-parser-0.8.0/tests/ui/parse-fail/missing-package.wit} +0 -0
  1932. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
  1933. /data/ext/cargo-vendor/{wit-parser-0.7.1 → wit-parser-0.8.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
@@ -0,0 +1,4037 @@
1
+ ;; Instruction formats.
2
+ (type MInst
3
+ (enum
4
+ ;; A no-op of zero size.
5
+ (Nop0)
6
+
7
+ ;; A no-op that is one instruction large.
8
+ (Nop4)
9
+
10
+ ;; An ALU operation with two register sources and a register destination.
11
+ (AluRRR
12
+ (alu_op ALUOp)
13
+ (size OperandSize)
14
+ (rd WritableReg)
15
+ (rn Reg)
16
+ (rm Reg))
17
+
18
+ ;; An ALU operation with three register sources and a register destination.
19
+ (AluRRRR
20
+ (alu_op ALUOp3)
21
+ (size OperandSize)
22
+ (rd WritableReg)
23
+ (rn Reg)
24
+ (rm Reg)
25
+ (ra Reg))
26
+
27
+ ;; An ALU operation with a register source and an immediate-12 source, and a register
28
+ ;; destination.
29
+ (AluRRImm12
30
+ (alu_op ALUOp)
31
+ (size OperandSize)
32
+ (rd WritableReg)
33
+ (rn Reg)
34
+ (imm12 Imm12))
35
+
36
+ ;; An ALU operation with a register source and an immediate-logic source, and a register destination.
37
+ (AluRRImmLogic
38
+ (alu_op ALUOp)
39
+ (size OperandSize)
40
+ (rd WritableReg)
41
+ (rn Reg)
42
+ (imml ImmLogic))
43
+
44
+ ;; An ALU operation with a register source and an immediate-shiftamt source, and a register destination.
45
+ (AluRRImmShift
46
+ (alu_op ALUOp)
47
+ (size OperandSize)
48
+ (rd WritableReg)
49
+ (rn Reg)
50
+ (immshift ImmShift))
51
+
52
+ ;; An ALU operation with two register sources, one of which can be shifted, and a register
53
+ ;; destination.
54
+ (AluRRRShift
55
+ (alu_op ALUOp)
56
+ (size OperandSize)
57
+ (rd WritableReg)
58
+ (rn Reg)
59
+ (rm Reg)
60
+ (shiftop ShiftOpAndAmt))
61
+
62
+ ;; An ALU operation with two register sources, one of which can be {zero,sign}-extended and
63
+ ;; shifted, and a register destination.
64
+ (AluRRRExtend
65
+ (alu_op ALUOp)
66
+ (size OperandSize)
67
+ (rd WritableReg)
68
+ (rn Reg)
69
+ (rm Reg)
70
+ (extendop ExtendOp))
71
+
72
+ ;; A bit op instruction with a single register source.
73
+ (BitRR
74
+ (op BitOp)
75
+ (size OperandSize)
76
+ (rd WritableReg)
77
+ (rn Reg))
78
+
79
+ ;; An unsigned (zero-extending) 8-bit load.
80
+ (ULoad8
81
+ (rd WritableReg)
82
+ (mem AMode)
83
+ (flags MemFlags))
84
+
85
+ ;; A signed (sign-extending) 8-bit load.
86
+ (SLoad8
87
+ (rd WritableReg)
88
+ (mem AMode)
89
+ (flags MemFlags))
90
+
91
+ ;; An unsigned (zero-extending) 16-bit load.
92
+ (ULoad16
93
+ (rd WritableReg)
94
+ (mem AMode)
95
+ (flags MemFlags))
96
+
97
+ ;; A signed (sign-extending) 16-bit load.
98
+ (SLoad16
99
+ (rd WritableReg)
100
+ (mem AMode)
101
+ (flags MemFlags))
102
+
103
+ ;; An unsigned (zero-extending) 32-bit load.
104
+ (ULoad32
105
+ (rd WritableReg)
106
+ (mem AMode)
107
+ (flags MemFlags))
108
+
109
+ ;; A signed (sign-extending) 32-bit load.
110
+ (SLoad32
111
+ (rd WritableReg)
112
+ (mem AMode)
113
+ (flags MemFlags))
114
+
115
+ ;; A 64-bit load.
116
+ (ULoad64
117
+ (rd WritableReg)
118
+ (mem AMode)
119
+ (flags MemFlags))
120
+
121
+ ;; An 8-bit store.
122
+ (Store8
123
+ (rd Reg)
124
+ (mem AMode)
125
+ (flags MemFlags))
126
+
127
+ ;; A 16-bit store.
128
+ (Store16
129
+ (rd Reg)
130
+ (mem AMode)
131
+ (flags MemFlags))
132
+
133
+ ;; A 32-bit store.
134
+ (Store32
135
+ (rd Reg)
136
+ (mem AMode)
137
+ (flags MemFlags))
138
+
139
+ ;; A 64-bit store.
140
+ (Store64
141
+ (rd Reg)
142
+ (mem AMode)
143
+ (flags MemFlags))
144
+
145
+ ;; A store of a pair of registers.
146
+ (StoreP64
147
+ (rt Reg)
148
+ (rt2 Reg)
149
+ (mem PairAMode)
150
+ (flags MemFlags))
151
+
152
+ ;; A load of a pair of registers.
153
+ (LoadP64
154
+ (rt WritableReg)
155
+ (rt2 WritableReg)
156
+ (mem PairAMode)
157
+ (flags MemFlags))
158
+
159
+ ;; A MOV instruction. These are encoded as ORR's (AluRRR form).
160
+ ;; The 32-bit version zeroes the top 32 bits of the
161
+ ;; destination, which is effectively an alias for an unsigned
162
+ ;; 32-to-64-bit extension.
163
+ (Mov
164
+ (size OperandSize)
165
+ (rd WritableReg)
166
+ (rm Reg))
167
+
168
+ ;; Like `Move` but with a particular `PReg` source (for implementing CLIF
169
+ ;; instructions like `get_stack_pointer`).
170
+ (MovFromPReg
171
+ (rd WritableReg)
172
+ (rm PReg))
173
+
174
+ ;; Like `Move` but with a particular `PReg` destination (for
175
+ ;; implementing CLIF instructions like `set_pinned_reg`).
176
+ (MovToPReg
177
+ (rd PReg)
178
+ (rm Reg))
179
+
180
+ ;; A MOV[Z,N] with a 16-bit immediate.
181
+ (MovWide
182
+ (op MoveWideOp)
183
+ (rd WritableReg)
184
+ (imm MoveWideConst)
185
+ (size OperandSize))
186
+
187
+ ;; A MOVK with a 16-bit immediate. Modifies its register; we
188
+ ;; model this with a seprate input `rn` and output `rd` virtual
189
+ ;; register, with a regalloc constraint to tie them together.
190
+ (MovK
191
+ (rd WritableReg)
192
+ (rn Reg)
193
+ (imm MoveWideConst)
194
+ (size OperandSize))
195
+
196
+
197
+ ;; A sign- or zero-extend operation.
198
+ (Extend
199
+ (rd WritableReg)
200
+ (rn Reg)
201
+ (signed bool)
202
+ (from_bits u8)
203
+ (to_bits u8))
204
+
205
+ ;; A conditional-select operation.
206
+ (CSel
207
+ (rd WritableReg)
208
+ (cond Cond)
209
+ (rn Reg)
210
+ (rm Reg))
211
+
212
+ ;; A conditional-select negation operation.
213
+ (CSNeg
214
+ (rd WritableReg)
215
+ (cond Cond)
216
+ (rn Reg)
217
+ (rm Reg))
218
+
219
+ ;; A conditional-set operation.
220
+ (CSet
221
+ (rd WritableReg)
222
+ (cond Cond))
223
+
224
+ ;; A conditional-set-mask operation.
225
+ (CSetm
226
+ (rd WritableReg)
227
+ (cond Cond))
228
+
229
+ ;; A conditional comparison with a second register.
230
+ (CCmp
231
+ (size OperandSize)
232
+ (rn Reg)
233
+ (rm Reg)
234
+ (nzcv NZCV)
235
+ (cond Cond))
236
+
237
+ ;; A conditional comparison with an immediate.
238
+ (CCmpImm
239
+ (size OperandSize)
240
+ (rn Reg)
241
+ (imm UImm5)
242
+ (nzcv NZCV)
243
+ (cond Cond))
244
+
245
+ ;; A synthetic insn, which is a load-linked store-conditional loop, that has the overall
246
+ ;; effect of atomically modifying a memory location in a particular way. Because we have
247
+ ;; no way to explain to the regalloc about earlyclobber registers, this instruction has
248
+ ;; completely fixed operand registers, and we rely on the RA's coalescing to remove copies
249
+ ;; in the surrounding code to the extent it can. Load- and store-exclusive instructions,
250
+ ;; with acquire-release semantics, are used to access memory. The operand conventions are:
251
+ ;;
252
+ ;; x25 (rd) address
253
+ ;; x26 (rd) second operand for `op`
254
+ ;; x27 (wr) old value
255
+ ;; x24 (wr) scratch reg; value afterwards has no meaning
256
+ ;; x28 (wr) scratch reg; value afterwards has no meaning
257
+ (AtomicRMWLoop
258
+ (ty Type) ;; I8, I16, I32 or I64
259
+ (op AtomicRMWLoopOp)
260
+ (flags MemFlags)
261
+ (addr Reg)
262
+ (operand Reg)
263
+ (oldval WritableReg)
264
+ (scratch1 WritableReg)
265
+ (scratch2 WritableReg))
266
+
267
+ ;; Similar to AtomicRMWLoop, a compare-and-swap operation implemented using a load-linked
268
+ ;; store-conditional loop, with acquire-release semantics.
269
+ ;; Note that the operand conventions, although very similar to AtomicRMWLoop, are different:
270
+ ;;
271
+ ;; x25 (rd) address
272
+ ;; x26 (rd) expected value
273
+ ;; x28 (rd) replacement value
274
+ ;; x27 (wr) old value
275
+ ;; x24 (wr) scratch reg; value afterwards has no meaning
276
+ (AtomicCASLoop
277
+ (ty Type) ;; I8, I16, I32 or I64
278
+ (flags MemFlags)
279
+ (addr Reg)
280
+ (expected Reg)
281
+ (replacement Reg)
282
+ (oldval WritableReg)
283
+ (scratch WritableReg))
284
+
285
+ ;; An atomic read-modify-write operation. These instructions require the
286
+ ;; Large System Extension (LSE) ISA support (FEAT_LSE). The instructions have
287
+ ;; acquire-release semantics.
288
+ (AtomicRMW
289
+ (op AtomicRMWOp)
290
+ (rs Reg)
291
+ (rt WritableReg)
292
+ (rn Reg)
293
+ (ty Type)
294
+ (flags MemFlags))
295
+
296
+ ;; An atomic compare-and-swap operation. These instructions require the
297
+ ;; Large System Extension (LSE) ISA support (FEAT_LSE). The instructions have
298
+ ;; acquire-release semantics.
299
+ (AtomicCAS
300
+ ;; `rd` is really `rs` in the encoded instruction (so `rd` == `rs`); we separate
301
+ ;; them here to have separate use and def vregs for regalloc.
302
+ (rd WritableReg)
303
+ (rs Reg)
304
+ (rt Reg)
305
+ (rn Reg)
306
+ (ty Type)
307
+ (flags MemFlags))
308
+
309
+ ;; Read `access_ty` bits from address `rt`, either 8, 16, 32 or 64-bits, and put
310
+ ;; it in `rn`, optionally zero-extending to fill a word or double word result.
311
+ ;; This instruction is sequentially consistent.
312
+ (LoadAcquire
313
+ (access_ty Type) ;; I8, I16, I32 or I64
314
+ (rt WritableReg)
315
+ (rn Reg)
316
+ (flags MemFlags))
317
+
318
+ ;; Write the lowest `ty` bits of `rt` to address `rn`.
319
+ ;; This instruction is sequentially consistent.
320
+ (StoreRelease
321
+ (access_ty Type) ;; I8, I16, I32 or I64
322
+ (rt Reg)
323
+ (rn Reg)
324
+ (flags MemFlags))
325
+
326
+ ;; A memory fence. This must provide ordering to ensure that, at a minimum, neither loads
327
+ ;; nor stores may move forwards or backwards across the fence. Currently emitted as "dmb
328
+ ;; ish". This instruction is sequentially consistent.
329
+ (Fence)
330
+
331
+ ;; Consumption of speculative data barrier.
332
+ (Csdb)
333
+
334
+ ;; FPU move. Note that this is distinct from a vector-register
335
+ ;; move; moving just 64 bits seems to be significantly faster.
336
+ (FpuMove64
337
+ (rd WritableReg)
338
+ (rn Reg))
339
+
340
+ ;; Vector register move.
341
+ (FpuMove128
342
+ (rd WritableReg)
343
+ (rn Reg))
344
+
345
+ ;; Move to scalar from a vector element.
346
+ (FpuMoveFromVec
347
+ (rd WritableReg)
348
+ (rn Reg)
349
+ (idx u8)
350
+ (size VectorSize))
351
+
352
+ ;; Zero-extend a SIMD & FP scalar to the full width of a vector register.
353
+ ;; 16-bit scalars require half-precision floating-point support (FEAT_FP16).
354
+ (FpuExtend
355
+ (rd WritableReg)
356
+ (rn Reg)
357
+ (size ScalarSize))
358
+
359
+ ;; 1-op FPU instruction.
360
+ (FpuRR
361
+ (fpu_op FPUOp1)
362
+ (size ScalarSize)
363
+ (rd WritableReg)
364
+ (rn Reg))
365
+
366
+ ;; 2-op FPU instruction.
367
+ (FpuRRR
368
+ (fpu_op FPUOp2)
369
+ (size ScalarSize)
370
+ (rd WritableReg)
371
+ (rn Reg)
372
+ (rm Reg))
373
+
374
+ (FpuRRI
375
+ (fpu_op FPUOpRI)
376
+ (rd WritableReg)
377
+ (rn Reg))
378
+
379
+ ;; Variant of FpuRRI that modifies its `rd`, and so we name the
380
+ ;; input state `ri` (for "input") and constrain the two
381
+ ;; together.
382
+ (FpuRRIMod
383
+ (fpu_op FPUOpRIMod)
384
+ (rd WritableReg)
385
+ (ri Reg)
386
+ (rn Reg))
387
+
388
+
389
+ ;; 3-op FPU instruction.
390
+ ;; 16-bit scalars require half-precision floating-point support (FEAT_FP16).
391
+ (FpuRRRR
392
+ (fpu_op FPUOp3)
393
+ (size ScalarSize)
394
+ (rd WritableReg)
395
+ (rn Reg)
396
+ (rm Reg)
397
+ (ra Reg))
398
+
399
+ ;; FPU comparison.
400
+ (FpuCmp
401
+ (size ScalarSize)
402
+ (rn Reg)
403
+ (rm Reg))
404
+
405
+ ;; Floating-point load, single-precision (32 bit).
406
+ (FpuLoad32
407
+ (rd WritableReg)
408
+ (mem AMode)
409
+ (flags MemFlags))
410
+
411
+ ;; Floating-point store, single-precision (32 bit).
412
+ (FpuStore32
413
+ (rd Reg)
414
+ (mem AMode)
415
+ (flags MemFlags))
416
+
417
+ ;; Floating-point load, double-precision (64 bit).
418
+ (FpuLoad64
419
+ (rd WritableReg)
420
+ (mem AMode)
421
+ (flags MemFlags))
422
+
423
+ ;; Floating-point store, double-precision (64 bit).
424
+ (FpuStore64
425
+ (rd Reg)
426
+ (mem AMode)
427
+ (flags MemFlags))
428
+
429
+ ;; Floating-point/vector load, 128 bit.
430
+ (FpuLoad128
431
+ (rd WritableReg)
432
+ (mem AMode)
433
+ (flags MemFlags))
434
+
435
+ ;; Floating-point/vector store, 128 bit.
436
+ (FpuStore128
437
+ (rd Reg)
438
+ (mem AMode)
439
+ (flags MemFlags))
440
+
441
+ ;; A load of a pair of floating-point registers, double precision (64-bit).
442
+ (FpuLoadP64
443
+ (rt WritableReg)
444
+ (rt2 WritableReg)
445
+ (mem PairAMode)
446
+ (flags MemFlags))
447
+
448
+ ;; A store of a pair of floating-point registers, double precision (64-bit).
449
+ (FpuStoreP64
450
+ (rt Reg)
451
+ (rt2 Reg)
452
+ (mem PairAMode)
453
+ (flags MemFlags))
454
+
455
+ ;; A load of a pair of floating-point registers, 128-bit.
456
+ (FpuLoadP128
457
+ (rt WritableReg)
458
+ (rt2 WritableReg)
459
+ (mem PairAMode)
460
+ (flags MemFlags))
461
+
462
+ ;; A store of a pair of floating-point registers, 128-bit.
463
+ (FpuStoreP128
464
+ (rt Reg)
465
+ (rt2 Reg)
466
+ (mem PairAMode)
467
+ (flags MemFlags))
468
+
469
+ ;; Conversion: FP -> integer.
470
+ (FpuToInt
471
+ (op FpuToIntOp)
472
+ (rd WritableReg)
473
+ (rn Reg))
474
+
475
+ ;; Conversion: integer -> FP.
476
+ (IntToFpu
477
+ (op IntToFpuOp)
478
+ (rd WritableReg)
479
+ (rn Reg))
480
+
481
+ ;; FP conditional select, 32 bit.
482
+ (FpuCSel32
483
+ (rd WritableReg)
484
+ (rn Reg)
485
+ (rm Reg)
486
+ (cond Cond))
487
+
488
+ ;; FP conditional select, 64 bit.
489
+ (FpuCSel64
490
+ (rd WritableReg)
491
+ (rn Reg)
492
+ (rm Reg)
493
+ (cond Cond))
494
+
495
+ ;; Round to integer.
496
+ (FpuRound
497
+ (op FpuRoundMode)
498
+ (rd WritableReg)
499
+ (rn Reg))
500
+
501
+ ;; Move from a GPR to a vector register. The scalar value is parked in the lowest lane
502
+ ;; of the destination, and all other lanes are zeroed out. Currently only 32- and 64-bit
503
+ ;; transactions are supported.
504
+ (MovToFpu
505
+ (rd WritableReg)
506
+ (rn Reg)
507
+ (size ScalarSize))
508
+
509
+ ;; Loads a floating-point immediate.
510
+ (FpuMoveFPImm
511
+ (rd WritableReg)
512
+ (imm ASIMDFPModImm)
513
+ (size ScalarSize))
514
+
515
+ ;; Move to a vector element from a GPR.
516
+ (MovToVec
517
+ (rd WritableReg)
518
+ (ri Reg)
519
+ (rn Reg)
520
+ (idx u8)
521
+ (size VectorSize))
522
+
523
+ ;; Unsigned move from a vector element to a GPR.
524
+ (MovFromVec
525
+ (rd WritableReg)
526
+ (rn Reg)
527
+ (idx u8)
528
+ (size ScalarSize))
529
+
530
+ ;; Signed move from a vector element to a GPR.
531
+ (MovFromVecSigned
532
+ (rd WritableReg)
533
+ (rn Reg)
534
+ (idx u8)
535
+ (size VectorSize)
536
+ (scalar_size OperandSize))
537
+
538
+ ;; Duplicate general-purpose register to vector.
539
+ (VecDup
540
+ (rd WritableReg)
541
+ (rn Reg)
542
+ (size VectorSize))
543
+
544
+ ;; Duplicate scalar to vector.
545
+ (VecDupFromFpu
546
+ (rd WritableReg)
547
+ (rn Reg)
548
+ (size VectorSize)
549
+ (lane u8))
550
+
551
+ ;; Duplicate FP immediate to vector.
552
+ (VecDupFPImm
553
+ (rd WritableReg)
554
+ (imm ASIMDFPModImm)
555
+ (size VectorSize))
556
+
557
+ ;; Duplicate immediate to vector.
558
+ (VecDupImm
559
+ (rd WritableReg)
560
+ (imm ASIMDMovModImm)
561
+ (invert bool)
562
+ (size VectorSize))
563
+
564
+ ;; Vector extend.
565
+ (VecExtend
566
+ (t VecExtendOp)
567
+ (rd WritableReg)
568
+ (rn Reg)
569
+ (high_half bool)
570
+ (lane_size ScalarSize))
571
+
572
+ ;; Move vector element to another vector element.
573
+ (VecMovElement
574
+ (rd WritableReg)
575
+ (ri Reg)
576
+ (rn Reg)
577
+ (dest_idx u8)
578
+ (src_idx u8)
579
+ (size VectorSize))
580
+
581
+ ;; Vector widening operation.
582
+ (VecRRLong
583
+ (op VecRRLongOp)
584
+ (rd WritableReg)
585
+ (rn Reg)
586
+ (high_half bool))
587
+
588
+ ;; Vector narrowing operation -- low half.
589
+ (VecRRNarrowLow
590
+ (op VecRRNarrowOp)
591
+ (rd WritableReg)
592
+ (rn Reg)
593
+ (lane_size ScalarSize))
594
+
595
+ ;; Vector narrowing operation -- high half.
596
+ (VecRRNarrowHigh
597
+ (op VecRRNarrowOp)
598
+ (rd WritableReg)
599
+ (ri Reg)
600
+ (rn Reg)
601
+ (lane_size ScalarSize))
602
+
603
+ ;; 1-operand vector instruction that operates on a pair of elements.
604
+ (VecRRPair
605
+ (op VecPairOp)
606
+ (rd WritableReg)
607
+ (rn Reg))
608
+
609
+ ;; 2-operand vector instruction that produces a result with twice the
610
+ ;; lane width and half the number of lanes.
611
+ (VecRRRLong
612
+ (alu_op VecRRRLongOp)
613
+ (rd WritableReg)
614
+ (rn Reg)
615
+ (rm Reg)
616
+ (high_half bool))
617
+
618
+ ;; 2-operand vector instruction that produces a result with
619
+ ;; twice the lane width and half the number of lanes. Variant
620
+ ;; that modifies `rd` (so takes its initial state as `ri`).
621
+ (VecRRRLongMod
622
+ (alu_op VecRRRLongModOp)
623
+ (rd WritableReg)
624
+ (ri Reg)
625
+ (rn Reg)
626
+ (rm Reg)
627
+ (high_half bool))
628
+
629
+ ;; 1-operand vector instruction that extends elements of the input
630
+ ;; register and operates on a pair of elements. The output lane width
631
+ ;; is double that of the input.
632
+ (VecRRPairLong
633
+ (op VecRRPairLongOp)
634
+ (rd WritableReg)
635
+ (rn Reg))
636
+
637
+ ;; A vector ALU op.
638
+ (VecRRR
639
+ (alu_op VecALUOp)
640
+ (rd WritableReg)
641
+ (rn Reg)
642
+ (rm Reg)
643
+ (size VectorSize))
644
+
645
+ ;; A vector ALU op modifying a source register.
646
+ (VecRRRMod
647
+ (alu_op VecALUModOp)
648
+ (rd WritableReg)
649
+ (ri Reg)
650
+ (rn Reg)
651
+ (rm Reg)
652
+ (size VectorSize))
653
+
654
+ ;; A vector ALU op modifying a source register.
655
+ (VecFmlaElem
656
+ (alu_op VecALUModOp)
657
+ (rd WritableReg)
658
+ (ri Reg)
659
+ (rn Reg)
660
+ (rm Reg)
661
+ (size VectorSize)
662
+ (idx u8))
663
+
664
+ ;; Vector two register miscellaneous instruction.
665
+ (VecMisc
666
+ (op VecMisc2)
667
+ (rd WritableReg)
668
+ (rn Reg)
669
+ (size VectorSize))
670
+
671
+ ;; Vector instruction across lanes.
672
+ (VecLanes
673
+ (op VecLanesOp)
674
+ (rd WritableReg)
675
+ (rn Reg)
676
+ (size VectorSize))
677
+
678
+ ;; Vector shift by immediate Shift Left (immediate), Unsigned Shift Right (immediate)
679
+ ;; Signed Shift Right (immediate). These are somewhat unusual in that, for right shifts,
680
+ ;; the allowed range of `imm` values is 1 to lane-size-in-bits, inclusive. A zero
681
+ ;; right-shift cannot be encoded. Left shifts are "normal", though, having valid `imm`
682
+ ;; values from 0 to lane-size-in-bits - 1 inclusive.
683
+ (VecShiftImm
684
+ (op VecShiftImmOp)
685
+ (rd WritableReg)
686
+ (rn Reg)
687
+ (size VectorSize)
688
+ (imm u8))
689
+
690
+ ;; Destructive vector shift by immediate.
691
+ (VecShiftImmMod
692
+ (op VecShiftImmModOp)
693
+ (rd WritableReg)
694
+ (ri Reg)
695
+ (rn Reg)
696
+ (size VectorSize)
697
+ (imm u8))
698
+
699
+ ;; Vector extract - create a new vector, being the concatenation of the lowest `imm4` bytes
700
+ ;; of `rm` followed by the uppermost `16 - imm4` bytes of `rn`.
701
+ (VecExtract
702
+ (rd WritableReg)
703
+ (rn Reg)
704
+ (rm Reg)
705
+ (imm4 u8))
706
+
707
+ ;; Table vector lookup - single register table. The table
708
+ ;; consists of 8-bit elements and is stored in `rn`, while `rm`
709
+ ;; contains 8-bit element indices. This variant emits `TBL`,
710
+ ;; which sets elements that correspond to out-of-range indices
711
+ ;; (greater than 15) to 0.
712
+ (VecTbl
713
+ (rd WritableReg)
714
+ (rn Reg)
715
+ (rm Reg))
716
+
717
+ ;; Table vector lookup - single register table. The table
718
+ ;; consists of 8-bit elements and is stored in `rn`, while `rm`
719
+ ;; contains 8-bit element indices. This variant emits `TBX`,
720
+ ;; which leaves elements that correspond to out-of-range indices
721
+ ;; (greater than 15) unmodified. Hence, it takes an input vreg in
722
+ ;; `ri` that is constrained to the same allocation as `rd`.
723
+ (VecTblExt
724
+ (rd WritableReg)
725
+ (ri Reg)
726
+ (rn Reg)
727
+ (rm Reg))
728
+
729
+ ;; Table vector lookup - two register table. The table consists
730
+ ;; of 8-bit elements and is stored in `rn` and `rn2`, while
731
+ ;; `rm` contains 8-bit element indices. The table registers
732
+ ;; `rn` and `rn2` must have consecutive numbers modulo 32, that
733
+ ;; is v31 and v0 (in that order) are consecutive registers.
734
+ ;; This variant emits `TBL`, which sets out-of-range results to
735
+ ;; 0.
736
+ (VecTbl2
737
+ (rd WritableReg)
738
+ (rn Reg)
739
+ (rn2 Reg)
740
+ (rm Reg))
741
+
742
+ ;; Table vector lookup - two register table. The table consists
743
+ ;; of 8-bit elements and is stored in `rn` and `rn2`, while
744
+ ;; `rm` contains 8-bit element indices. The table registers
745
+ ;; `rn` and `rn2` must have consecutive numbers modulo 32, that
746
+ ;; is v31 and v0 (in that order) are consecutive registers.
747
+ ;; This variant emits `TBX`, which leaves out-of-range results
748
+ ;; unmodified, hence takes the initial state of the result
749
+ ;; register in vreg `ri`.
750
+ (VecTbl2Ext
751
+ (rd WritableReg)
752
+ (ri Reg)
753
+ (rn Reg)
754
+ (rn2 Reg)
755
+ (rm Reg))
756
+
757
+ ;; Load an element and replicate to all lanes of a vector.
758
+ (VecLoadReplicate
759
+ (rd WritableReg)
760
+ (rn Reg)
761
+ (size VectorSize)
762
+ (flags MemFlags))
763
+
764
+ ;; Vector conditional select, 128 bit. A synthetic instruction, which generates a 4-insn
765
+ ;; control-flow diamond.
766
+ (VecCSel
767
+ (rd WritableReg)
768
+ (rn Reg)
769
+ (rm Reg)
770
+ (cond Cond))
771
+
772
+ ;; Move to the NZCV flags (actually a `MSR NZCV, Xn` insn).
773
+ (MovToNZCV
774
+ (rn Reg))
775
+
776
+ ;; Move from the NZCV flags (actually a `MRS Xn, NZCV` insn).
777
+ (MovFromNZCV
778
+ (rd WritableReg))
779
+
780
+ ;; A machine call instruction. N.B.: this allows only a +/- 128MB offset (it uses a relocation
781
+ ;; of type `Reloc::Arm64Call`); if the destination distance is not `RelocDistance::Near`, the
782
+ ;; code should use a `LoadExtName` / `CallInd` sequence instead, allowing an arbitrary 64-bit
783
+ ;; target.
784
+ (Call
785
+ (info BoxCallInfo))
786
+
787
+ ;; A machine indirect-call instruction.
788
+ (CallInd
789
+ (info BoxCallIndInfo))
790
+
791
+ ;; A pseudo-instruction that captures register arguments in vregs.
792
+ (Args
793
+ (args VecArgPair))
794
+
795
+ ;; ---- branches (exactly one must appear at end of BB) ----
796
+
797
+ ;; A machine return instruction.
798
+ (Ret
799
+ (rets VecRetPair)
800
+ (stack_bytes_to_pop u32))
801
+
802
+ ;; A machine return instruction with pointer authentication using SP as the
803
+ ;; modifier. This instruction requires pointer authentication support
804
+ ;; (FEAT_PAuth) unless `is_hint` is true, in which case it is equivalent to
805
+ ;; the combination of a no-op and a return instruction on platforms without
806
+ ;; the relevant support.
807
+ (AuthenticatedRet
808
+ (key APIKey)
809
+ (is_hint bool)
810
+ (rets VecRetPair)
811
+ (stack_bytes_to_pop u32))
812
+
813
+ ;; An unconditional branch.
814
+ (Jump
815
+ (dest BranchTarget))
816
+
817
+ ;; A conditional branch. Contains two targets; at emission time, both are emitted, but
818
+ ;; the MachBuffer knows to truncate the trailing branch if fallthrough. We optimize the
819
+ ;; choice of taken/not_taken (inverting the branch polarity as needed) based on the
820
+ ;; fallthrough at the time of lowering.
821
+ (CondBr
822
+ (taken BranchTarget)
823
+ (not_taken BranchTarget)
824
+ (kind CondBrKind))
825
+
826
+ ;; A conditional trap: execute a `udf` if the condition is true. This is
827
+ ;; one VCode instruction because it uses embedded control flow; it is
828
+ ;; logically a single-in, single-out region, but needs to appear as one
829
+ ;; unit to the register allocator.
830
+ ;;
831
+ ;; The `CondBrKind` gives the conditional-branch condition that will
832
+ ;; *execute* the embedded `Inst`. (In the emitted code, we use the inverse
833
+ ;; of this condition in a branch that skips the trap instruction.)
834
+ (TrapIf
835
+ (kind CondBrKind)
836
+ (trap_code TrapCode))
837
+
838
+ ;; An indirect branch through a register, augmented with set of all
839
+ ;; possible successors.
840
+ (IndirectBr
841
+ (rn Reg)
842
+ (targets VecMachLabel))
843
+
844
+ ;; A "break" instruction, used for e.g. traps and debug breakpoints.
845
+ (Brk)
846
+
847
+ ;; An instruction guaranteed to always be undefined and to trigger an illegal instruction at
848
+ ;; runtime.
849
+ (Udf
850
+ (trap_code TrapCode))
851
+
852
+ ;; Compute the address (using a PC-relative offset) of a memory location, using the `ADR`
853
+ ;; instruction. Note that we take a simple offset, not a `MemLabel`, here, because `Adr` is
854
+ ;; only used for now in fixed lowering sequences with hardcoded offsets. In the future we may
855
+ ;; need full `MemLabel` support.
856
+ (Adr
857
+ (rd WritableReg)
858
+ ;; Offset in range -2^20 .. 2^20.
859
+ (off i32))
860
+
861
+ ;; Compute the address (using a PC-relative offset) of a 4KB page.
862
+ (Adrp
863
+ (rd WritableReg)
864
+ (off i32))
865
+
866
+ ;; Raw 32-bit word, used for inline constants and jump-table entries.
867
+ (Word4
868
+ (data u32))
869
+
870
+ ;; Raw 64-bit word, used for inline constants.
871
+ (Word8
872
+ (data u64))
873
+
874
+ ;; Jump-table sequence, as one compound instruction (see note in lower_inst.rs for rationale).
875
+ (JTSequence
876
+ (info BoxJTSequenceInfo)
877
+ (ridx Reg)
878
+ (rtmp1 WritableReg)
879
+ (rtmp2 WritableReg))
880
+
881
+ ;; Load an inline symbol reference.
882
+ (LoadExtName
883
+ (rd WritableReg)
884
+ (name BoxExternalName)
885
+ (offset i64))
886
+
887
+ ;; Load address referenced by `mem` into `rd`.
888
+ (LoadAddr
889
+ (rd WritableReg)
890
+ (mem AMode))
891
+
892
+ ;; Pointer authentication code for instruction address with modifier in SP;
893
+ ;; equivalent to a no-op if Pointer authentication (FEAT_PAuth) is not
894
+ ;; supported.
895
+ (Pacisp
896
+ (key APIKey))
897
+
898
+ ;; Strip pointer authentication code from instruction address in LR;
899
+ ;; equivalent to a no-op if Pointer authentication (FEAT_PAuth) is not
900
+ ;; supported.
901
+ (Xpaclri)
902
+
903
+ ;; Branch target identification; equivalent to a no-op if Branch Target
904
+ ;; Identification (FEAT_BTI) is not supported.
905
+ (Bti
906
+ (targets BranchTargetType))
907
+
908
+ ;; Marker, no-op in generated code: SP "virtual offset" is adjusted. This
909
+ ;; controls how AMode::NominalSPOffset args are lowered.
910
+ (VirtualSPOffsetAdj
911
+ (offset i64))
912
+
913
+ ;; Meta-insn, no-op in generated code: emit constant/branch veneer island
914
+ ;; at this point (with a guard jump around it) if less than the needed
915
+ ;; space is available before the next branch deadline. See the `MachBuffer`
916
+ ;; implementation in `machinst/buffer.rs` for the overall algorithm. In
917
+ ;; brief, we retain a set of "pending/unresolved label references" from
918
+ ;; branches as we scan forward through instructions to emit machine code;
919
+ ;; if we notice we're about to go out of range on an unresolved reference,
920
+ ;; we stop, emit a bunch of "veneers" (branches in a form that has a longer
921
+ ;; range, e.g. a 26-bit-offset unconditional jump), and point the original
922
+ ;; label references to those. This is an "island" because it comes in the
923
+ ;; middle of the code.
924
+ ;;
925
+ ;; This meta-instruction is a necessary part of the logic that determines
926
+ ;; where to place islands. Ordinarily, we want to place them between basic
927
+ ;; blocks, so we compute the worst-case size of each block, and emit the
928
+ ;; island before starting a block if we would exceed a deadline before the
929
+ ;; end of the block. However, some sequences (such as an inline jumptable)
930
+ ;; are variable-length and not accounted for by this logic; so these
931
+ ;; lowered sequences include an `EmitIsland` to trigger island generation
932
+ ;; where necessary.
933
+ (EmitIsland
934
+ ;; The needed space before the next deadline.
935
+ (needed_space CodeOffset))
936
+
937
+ ;; A call to the `ElfTlsGetAddr` libcall. Returns address of TLS symbol in x0.
938
+ (ElfTlsGetAddr
939
+ (symbol ExternalName)
940
+ (rd WritableReg))
941
+
942
+ (MachOTlsGetAddr
943
+ (symbol ExternalName)
944
+ (rd WritableReg))
945
+
946
+ ;; An unwind pseudo-instruction.
947
+ (Unwind
948
+ (inst UnwindInst))
949
+
950
+ ;; A dummy use, useful to keep a value alive.
951
+ (DummyUse
952
+ (reg Reg))
953
+
954
+ ;; Emits an inline stack probe loop.
955
+ ;;
956
+ ;; Note that this is emitted post-regalloc so `start` and `end` can be
957
+ ;; temporary registers such as the spilltmp and tmp2 registers. This also
958
+ ;; means that the internal codegen can't use these registers.
959
+ (StackProbeLoop (start WritableReg)
960
+ (end Reg)
961
+ (step Imm12))))
962
+
963
+ ;; An ALU operation. This can be paired with several instruction formats
964
+ ;; below (see `Inst`) in any combination.
965
+ (type ALUOp
966
+ (enum
967
+ (Add)
968
+ (Sub)
969
+ (Orr)
970
+ (OrrNot)
971
+ (And)
972
+ (AndS)
973
+ (AndNot)
974
+ ;; XOR (AArch64 calls this "EOR")
975
+ (Eor)
976
+ ;; XNOR (AArch64 calls this "EOR-NOT")
977
+ (EorNot)
978
+ ;; Add, setting flags
979
+ (AddS)
980
+ ;; Sub, setting flags
981
+ (SubS)
982
+ ;; Signed multiply, high-word result
983
+ (SMulH)
984
+ ;; Unsigned multiply, high-word result
985
+ (UMulH)
986
+ (SDiv)
987
+ (UDiv)
988
+ (RotR)
989
+ (Lsr)
990
+ (Asr)
991
+ (Lsl)
992
+ ;; Add with carry
993
+ (Adc)
994
+ ;; Add with carry, settings flags
995
+ (AdcS)
996
+ ;; Subtract with carry
997
+ (Sbc)
998
+ ;; Subtract with carry, settings flags
999
+ (SbcS)
1000
+ ))
1001
+
1002
+ ;; An ALU operation with three arguments.
1003
+ (type ALUOp3
1004
+ (enum
1005
+ ;; Multiply-add
1006
+ (MAdd)
1007
+ ;; Multiply-sub
1008
+ (MSub)
1009
+ ;; Unsigned-Multiply-add
1010
+ (UMAddL)
1011
+ ;; Signed-Multiply-add
1012
+ (SMAddL)
1013
+ ))
1014
+
1015
+ (type MoveWideOp
1016
+ (enum
1017
+ (MovZ)
1018
+ (MovN)
1019
+ ))
1020
+
1021
+ (type UImm5 (primitive UImm5))
1022
+ (type Imm12 (primitive Imm12))
1023
+ (type ImmLogic (primitive ImmLogic))
1024
+ (type ImmShift (primitive ImmShift))
1025
+ (type ShiftOpAndAmt (primitive ShiftOpAndAmt))
1026
+ (type MoveWideConst (primitive MoveWideConst))
1027
+ (type NZCV (primitive NZCV))
1028
+ (type ASIMDFPModImm (primitive ASIMDFPModImm))
1029
+ (type ASIMDMovModImm (primitive ASIMDMovModImm))
1030
+
1031
+ (type BoxCallInfo (primitive BoxCallInfo))
1032
+ (type BoxCallIndInfo (primitive BoxCallIndInfo))
1033
+ (type CondBrKind (primitive CondBrKind))
1034
+ (type BranchTarget (primitive BranchTarget))
1035
+ (type BoxJTSequenceInfo (primitive BoxJTSequenceInfo))
1036
+ (type CodeOffset (primitive CodeOffset))
1037
+ (type VecMachLabel extern (enum))
1038
+
1039
+ (type ExtendOp extern
1040
+ (enum
1041
+ (UXTB)
1042
+ (UXTH)
1043
+ (UXTW)
1044
+ (UXTX)
1045
+ (SXTB)
1046
+ (SXTH)
1047
+ (SXTW)
1048
+ (SXTX)
1049
+ ))
1050
+
1051
+ ;; An operation on the bits of a register. This can be paired with several instruction formats
1052
+ ;; below (see `Inst`) in any combination.
1053
+ (type BitOp
1054
+ (enum
1055
+ ;; Bit reverse
1056
+ (RBit)
1057
+ (Clz)
1058
+ (Cls)
1059
+ ;; Byte reverse
1060
+ (Rev16)
1061
+ (Rev32)
1062
+ (Rev64)
1063
+ ))
1064
+
1065
+ (type MemLabel extern (enum))
1066
+ (type SImm9 extern (enum))
1067
+ (type UImm12Scaled extern (enum))
1068
+
1069
+ ;; An addressing mode specified for a load/store operation.
1070
+ (type AMode
1071
+ (enum
1072
+ ;;
1073
+ ;; Real ARM64 addressing modes:
1074
+ ;;
1075
+ ;; "post-indexed" mode as per AArch64 docs: postincrement reg after
1076
+ ;; address computation.
1077
+ ;; Specialized here to SP so we don't have to emit regalloc metadata.
1078
+ (SPPostIndexed
1079
+ (simm9 SImm9))
1080
+
1081
+ ;; "pre-indexed" mode as per AArch64 docs: preincrement reg before
1082
+ ;; address computation.
1083
+ ;; Specialized here to SP so we don't have to emit regalloc metadata.
1084
+ (SPPreIndexed
1085
+ (simm9 SImm9))
1086
+
1087
+ ;; N.B.: RegReg, RegScaled, and RegScaledExtended all correspond to
1088
+ ;; what the ISA calls the "register offset" addressing mode. We split
1089
+ ;; out several options here for more ergonomic codegen.
1090
+ ;;
1091
+ ;; Register plus register offset.
1092
+ (RegReg
1093
+ (rn Reg)
1094
+ (rm Reg))
1095
+
1096
+ ;; Register plus register offset, scaled by type's size.
1097
+ (RegScaled
1098
+ (rn Reg)
1099
+ (rm Reg)
1100
+ (ty Type))
1101
+
1102
+ ;; Register plus register offset, scaled by type's size, with index
1103
+ ;; sign- or zero-extended first.
1104
+ (RegScaledExtended
1105
+ (rn Reg)
1106
+ (rm Reg)
1107
+ (ty Type)
1108
+ (extendop ExtendOp))
1109
+
1110
+ ;; Register plus register offset, with index sign- or zero-extended
1111
+ ;; first.
1112
+ (RegExtended
1113
+ (rn Reg)
1114
+ (rm Reg)
1115
+ (extendop ExtendOp))
1116
+
1117
+ ;; Unscaled signed 9-bit immediate offset from reg.
1118
+ (Unscaled
1119
+ (rn Reg)
1120
+ (simm9 SImm9))
1121
+
1122
+ ;; Scaled (by size of a type) unsigned 12-bit immediate offset from reg.
1123
+ (UnsignedOffset
1124
+ (rn Reg)
1125
+ (uimm12 UImm12Scaled))
1126
+
1127
+ ;; virtual addressing modes that are lowered at emission time:
1128
+ ;;
1129
+ ;; Reference to a "label": e.g., a symbol.
1130
+ (Label
1131
+ (label MemLabel))
1132
+
1133
+ ;; Arbitrary offset from a register. Converted to generation of large
1134
+ ;; offsets with multiple instructions as necessary during code emission.
1135
+ (RegOffset
1136
+ (rn Reg)
1137
+ (off i64)
1138
+ (ty Type))
1139
+
1140
+ ;; Offset from the stack pointer.
1141
+ (SPOffset
1142
+ (off i64)
1143
+ (ty Type))
1144
+
1145
+ ;; Offset from the frame pointer.
1146
+ (FPOffset
1147
+ (off i64)
1148
+ (ty Type))
1149
+
1150
+ ;; A reference to a constant which is placed outside of the function's
1151
+ ;; body, typically at the end.
1152
+ (Const
1153
+ (addr VCodeConstant))
1154
+
1155
+ ;; Offset from the "nominal stack pointer", which is where the real SP is
1156
+ ;; just after stack and spill slots are allocated in the function prologue.
1157
+ ;; At emission time, this is converted to `SPOffset` with a fixup added to
1158
+ ;; the offset constant. The fixup is a running value that is tracked as
1159
+ ;; emission iterates through instructions in linear order, and can be
1160
+ ;; adjusted up and down with [Inst::VirtualSPOffsetAdj].
1161
+ ;;
1162
+ ;; The standard ABI is in charge of handling this (by emitting the
1163
+ ;; adjustment meta-instructions). It maintains the invariant that "nominal
1164
+ ;; SP" is where the actual SP is after the function prologue and before
1165
+ ;; clobber pushes. See the diagram in the documentation for
1166
+ ;; [crate::isa::aarch64::abi](the ABI module) for more details.
1167
+ (NominalSPOffset
1168
+ (off i64)
1169
+ (ty Type))))
1170
+
1171
+ (type PairAMode extern (enum))
1172
+ (type FPUOpRI extern (enum))
1173
+ (type FPUOpRIMod extern (enum))
1174
+
1175
+ (type OperandSize extern
1176
+ (enum Size32
1177
+ Size64))
1178
+
1179
+ ;; Helper for calculating the `OperandSize` corresponding to a type
1180
+ (decl operand_size (Type) OperandSize)
1181
+ (rule 1 (operand_size (fits_in_32 _ty)) (OperandSize.Size32))
1182
+ (rule (operand_size (fits_in_64 _ty)) (OperandSize.Size64))
1183
+
1184
+ (type ScalarSize extern
1185
+ (enum Size8
1186
+ Size16
1187
+ Size32
1188
+ Size64
1189
+ Size128))
1190
+
1191
+ ;; Helper for calculating the `ScalarSize` corresponding to a type
1192
+ (decl scalar_size (Type) ScalarSize)
1193
+
1194
+ (rule (scalar_size $I8) (ScalarSize.Size8))
1195
+ (rule (scalar_size $I16) (ScalarSize.Size16))
1196
+ (rule (scalar_size $I32) (ScalarSize.Size32))
1197
+ (rule (scalar_size $I64) (ScalarSize.Size64))
1198
+ (rule (scalar_size $I128) (ScalarSize.Size128))
1199
+
1200
+ (rule (scalar_size $F32) (ScalarSize.Size32))
1201
+ (rule (scalar_size $F64) (ScalarSize.Size64))
1202
+
1203
+ ;; Helper for calculating the `ScalarSize` lane type from vector type
1204
+ (decl lane_size (Type) ScalarSize)
1205
+ (rule 1 (lane_size (multi_lane 8 _)) (ScalarSize.Size8))
1206
+ (rule 1 (lane_size (multi_lane 16 _)) (ScalarSize.Size16))
1207
+ (rule 1 (lane_size (multi_lane 32 _)) (ScalarSize.Size32))
1208
+ (rule 1 (lane_size (multi_lane 64 _)) (ScalarSize.Size64))
1209
+ (rule (lane_size (dynamic_lane 8 _)) (ScalarSize.Size8))
1210
+ (rule (lane_size (dynamic_lane 16 _)) (ScalarSize.Size16))
1211
+ (rule (lane_size (dynamic_lane 32 _)) (ScalarSize.Size32))
1212
+ (rule (lane_size (dynamic_lane 64 _)) (ScalarSize.Size64))
1213
+
1214
+ ;; Helper for extracting the size of a lane from the input `VectorSize`
1215
+ (decl pure vector_lane_size (VectorSize) ScalarSize)
1216
+ (rule (vector_lane_size (VectorSize.Size8x16)) (ScalarSize.Size8))
1217
+ (rule (vector_lane_size (VectorSize.Size8x8)) (ScalarSize.Size8))
1218
+ (rule (vector_lane_size (VectorSize.Size16x8)) (ScalarSize.Size16))
1219
+ (rule (vector_lane_size (VectorSize.Size16x4)) (ScalarSize.Size16))
1220
+ (rule (vector_lane_size (VectorSize.Size32x4)) (ScalarSize.Size32))
1221
+ (rule (vector_lane_size (VectorSize.Size32x2)) (ScalarSize.Size32))
1222
+ (rule (vector_lane_size (VectorSize.Size64x2)) (ScalarSize.Size64))
1223
+
1224
+ (type Cond extern
1225
+ (enum
1226
+ (Eq)
1227
+ (Ne)
1228
+ (Hs)
1229
+ (Lo)
1230
+ (Mi)
1231
+ (Pl)
1232
+ (Vs)
1233
+ (Vc)
1234
+ (Hi)
1235
+ (Ls)
1236
+ (Ge)
1237
+ (Lt)
1238
+ (Gt)
1239
+ (Le)
1240
+ (Al)
1241
+ (Nv)
1242
+ ))
1243
+
1244
+ (type VectorSize extern
1245
+ (enum
1246
+ (Size8x8)
1247
+ (Size8x16)
1248
+ (Size16x4)
1249
+ (Size16x8)
1250
+ (Size32x2)
1251
+ (Size32x4)
1252
+ (Size64x2)
1253
+ ))
1254
+
1255
+ ;; Helper for calculating the `VectorSize` corresponding to a type
1256
+ (decl vector_size (Type) VectorSize)
1257
+ (rule 1 (vector_size (multi_lane 8 8)) (VectorSize.Size8x8))
1258
+ (rule 1 (vector_size (multi_lane 8 16)) (VectorSize.Size8x16))
1259
+ (rule 1 (vector_size (multi_lane 16 4)) (VectorSize.Size16x4))
1260
+ (rule 1 (vector_size (multi_lane 16 8)) (VectorSize.Size16x8))
1261
+ (rule 1 (vector_size (multi_lane 32 2)) (VectorSize.Size32x2))
1262
+ (rule 1 (vector_size (multi_lane 32 4)) (VectorSize.Size32x4))
1263
+ (rule 1 (vector_size (multi_lane 64 2)) (VectorSize.Size64x2))
1264
+ (rule (vector_size (dynamic_lane 8 8)) (VectorSize.Size8x8))
1265
+ (rule (vector_size (dynamic_lane 8 16)) (VectorSize.Size8x16))
1266
+ (rule (vector_size (dynamic_lane 16 4)) (VectorSize.Size16x4))
1267
+ (rule (vector_size (dynamic_lane 16 8)) (VectorSize.Size16x8))
1268
+ (rule (vector_size (dynamic_lane 32 2)) (VectorSize.Size32x2))
1269
+ (rule (vector_size (dynamic_lane 32 4)) (VectorSize.Size32x4))
1270
+ (rule (vector_size (dynamic_lane 64 2)) (VectorSize.Size64x2))
1271
+
1272
+ ;; A floating-point unit (FPU) operation with one arg.
1273
+ (type FPUOp1
1274
+ (enum
1275
+ (Abs)
1276
+ (Neg)
1277
+ (Sqrt)
1278
+ (Cvt32To64)
1279
+ (Cvt64To32)
1280
+ ))
1281
+
1282
+ ;; A floating-point unit (FPU) operation with two args.
1283
+ (type FPUOp2
1284
+ (enum
1285
+ (Add)
1286
+ (Sub)
1287
+ (Mul)
1288
+ (Div)
1289
+ (Max)
1290
+ (Min)
1291
+ ))
1292
+
1293
+ ;; A floating-point unit (FPU) operation with three args.
1294
+ (type FPUOp3
1295
+ (enum
1296
+ (MAdd)
1297
+ ))
1298
+
1299
+ ;; A conversion from an FP to an integer value.
1300
+ (type FpuToIntOp
1301
+ (enum
1302
+ (F32ToU32)
1303
+ (F32ToI32)
1304
+ (F32ToU64)
1305
+ (F32ToI64)
1306
+ (F64ToU32)
1307
+ (F64ToI32)
1308
+ (F64ToU64)
1309
+ (F64ToI64)
1310
+ ))
1311
+
1312
+ ;; A conversion from an integer to an FP value.
1313
+ (type IntToFpuOp
1314
+ (enum
1315
+ (U32ToF32)
1316
+ (I32ToF32)
1317
+ (U32ToF64)
1318
+ (I32ToF64)
1319
+ (U64ToF32)
1320
+ (I64ToF32)
1321
+ (U64ToF64)
1322
+ (I64ToF64)
1323
+ ))
1324
+
1325
+ ;; Modes for FP rounding ops: round down (floor) or up (ceil), or toward zero (trunc), or to
1326
+ ;; nearest, and for 32- or 64-bit FP values.
1327
+ (type FpuRoundMode
1328
+ (enum
1329
+ (Minus32)
1330
+ (Minus64)
1331
+ (Plus32)
1332
+ (Plus64)
1333
+ (Zero32)
1334
+ (Zero64)
1335
+ (Nearest32)
1336
+ (Nearest64)
1337
+ ))
1338
+
1339
+ ;; Type of vector element extensions.
1340
+ (type VecExtendOp
1341
+ (enum
1342
+ ;; Signed extension
1343
+ (Sxtl)
1344
+ ;; Unsigned extension
1345
+ (Uxtl)
1346
+ ))
1347
+
1348
+ ;; A vector ALU operation.
1349
+ (type VecALUOp
1350
+ (enum
1351
+ ;; Signed saturating add
1352
+ (Sqadd)
1353
+ ;; Unsigned saturating add
1354
+ (Uqadd)
1355
+ ;; Signed saturating subtract
1356
+ (Sqsub)
1357
+ ;; Unsigned saturating subtract
1358
+ (Uqsub)
1359
+ ;; Compare bitwise equal
1360
+ (Cmeq)
1361
+ ;; Compare signed greater than or equal
1362
+ (Cmge)
1363
+ ;; Compare signed greater than
1364
+ (Cmgt)
1365
+ ;; Compare unsigned higher
1366
+ (Cmhs)
1367
+ ;; Compare unsigned higher or same
1368
+ (Cmhi)
1369
+ ;; Floating-point compare equal
1370
+ (Fcmeq)
1371
+ ;; Floating-point compare greater than
1372
+ (Fcmgt)
1373
+ ;; Floating-point compare greater than or equal
1374
+ (Fcmge)
1375
+ ;; Bitwise and
1376
+ (And)
1377
+ ;; Bitwise bit clear
1378
+ (Bic)
1379
+ ;; Bitwise inclusive or
1380
+ (Orr)
1381
+ ;; Bitwise exclusive or
1382
+ (Eor)
1383
+ ;; Unsigned maximum pairwise
1384
+ (Umaxp)
1385
+ ;; Add
1386
+ (Add)
1387
+ ;; Subtract
1388
+ (Sub)
1389
+ ;; Multiply
1390
+ (Mul)
1391
+ ;; Signed shift left
1392
+ (Sshl)
1393
+ ;; Unsigned shift left
1394
+ (Ushl)
1395
+ ;; Unsigned minimum
1396
+ (Umin)
1397
+ ;; Signed minimum
1398
+ (Smin)
1399
+ ;; Unsigned maximum
1400
+ (Umax)
1401
+ ;; Signed maximum
1402
+ (Smax)
1403
+ ;; Unsigned rounding halving add
1404
+ (Urhadd)
1405
+ ;; Floating-point add
1406
+ (Fadd)
1407
+ ;; Floating-point subtract
1408
+ (Fsub)
1409
+ ;; Floating-point divide
1410
+ (Fdiv)
1411
+ ;; Floating-point maximum
1412
+ (Fmax)
1413
+ ;; Floating-point minimum
1414
+ (Fmin)
1415
+ ;; Floating-point multiply
1416
+ (Fmul)
1417
+ ;; Add pairwise
1418
+ (Addp)
1419
+ ;; Zip vectors (primary) [meaning, high halves]
1420
+ (Zip1)
1421
+ ;; Zip vectors (secondary)
1422
+ (Zip2)
1423
+ ;; Signed saturating rounding doubling multiply returning high half
1424
+ (Sqrdmulh)
1425
+ ;; Unzip vectors (primary)
1426
+ (Uzp1)
1427
+ ;; Unzip vectors (secondary)
1428
+ (Uzp2)
1429
+ ;; Transpose vectors (primary)
1430
+ (Trn1)
1431
+ ;; Transpose vectors (secondary)
1432
+ (Trn2)
1433
+ ))
1434
+
1435
+ ;; A Vector ALU operation which modifies a source register.
1436
+ (type VecALUModOp
1437
+ (enum
1438
+ ;; Bitwise select
1439
+ (Bsl)
1440
+ ;; Floating-point fused multiply-add vectors
1441
+ (Fmla)
1442
+ ;; Floating-point fused multiply-subtract vectors
1443
+ (Fmls)
1444
+ ))
1445
+
1446
+ ;; A Vector miscellaneous operation with two registers.
1447
+ (type VecMisc2
1448
+ (enum
1449
+ ;; Bitwise NOT
1450
+ (Not)
1451
+ ;; Negate
1452
+ (Neg)
1453
+ ;; Absolute value
1454
+ (Abs)
1455
+ ;; Floating-point absolute value
1456
+ (Fabs)
1457
+ ;; Floating-point negate
1458
+ (Fneg)
1459
+ ;; Floating-point square root
1460
+ (Fsqrt)
1461
+ ;; Reverse elements in 16-bit lanes
1462
+ (Rev16)
1463
+ ;; Reverse elements in 32-bit lanes
1464
+ (Rev32)
1465
+ ;; Reverse elements in 64-bit doublewords
1466
+ (Rev64)
1467
+ ;; Floating-point convert to signed integer, rounding toward zero
1468
+ (Fcvtzs)
1469
+ ;; Floating-point convert to unsigned integer, rounding toward zero
1470
+ (Fcvtzu)
1471
+ ;; Signed integer convert to floating-point
1472
+ (Scvtf)
1473
+ ;; Unsigned integer convert to floating-point
1474
+ (Ucvtf)
1475
+ ;; Floating point round to integral, rounding towards nearest
1476
+ (Frintn)
1477
+ ;; Floating point round to integral, rounding towards zero
1478
+ (Frintz)
1479
+ ;; Floating point round to integral, rounding towards minus infinity
1480
+ (Frintm)
1481
+ ;; Floating point round to integral, rounding towards plus infinity
1482
+ (Frintp)
1483
+ ;; Population count per byte
1484
+ (Cnt)
1485
+ ;; Compare bitwise equal to 0
1486
+ (Cmeq0)
1487
+ ;; Compare signed greater than or equal to 0
1488
+ (Cmge0)
1489
+ ;; Compare signed greater than 0
1490
+ (Cmgt0)
1491
+ ;; Compare signed less than or equal to 0
1492
+ (Cmle0)
1493
+ ;; Compare signed less than 0
1494
+ (Cmlt0)
1495
+ ;; Floating point compare equal to 0
1496
+ (Fcmeq0)
1497
+ ;; Floating point compare greater than or equal to 0
1498
+ (Fcmge0)
1499
+ ;; Floating point compare greater than 0
1500
+ (Fcmgt0)
1501
+ ;; Floating point compare less than or equal to 0
1502
+ (Fcmle0)
1503
+ ;; Floating point compare less than 0
1504
+ (Fcmlt0)
1505
+ ))
1506
+
1507
+ ;; A vector widening operation with one argument.
1508
+ (type VecRRLongOp
1509
+ (enum
1510
+ ;; Floating-point convert to higher precision long, 16-bit elements
1511
+ (Fcvtl16)
1512
+ ;; Floating-point convert to higher precision long, 32-bit elements
1513
+ (Fcvtl32)
1514
+ ;; Shift left long (by element size), 8-bit elements
1515
+ (Shll8)
1516
+ ;; Shift left long (by element size), 16-bit elements
1517
+ (Shll16)
1518
+ ;; Shift left long (by element size), 32-bit elements
1519
+ (Shll32)
1520
+ ))
1521
+
1522
+ ;; A vector narrowing operation with one argument.
1523
+ (type VecRRNarrowOp
1524
+ (enum
1525
+ ;; Extract narrow.
1526
+ (Xtn)
1527
+ ;; Signed saturating extract narrow.
1528
+ (Sqxtn)
1529
+ ;; Signed saturating extract unsigned narrow.
1530
+ (Sqxtun)
1531
+ ;; Unsigned saturating extract narrow.
1532
+ (Uqxtn)
1533
+ ;; Floating-point convert to lower precision narrow.
1534
+ (Fcvtn)
1535
+ ))
1536
+
1537
+ (type VecRRRLongOp
1538
+ (enum
1539
+ ;; Signed multiply long.
1540
+ (Smull8)
1541
+ (Smull16)
1542
+ (Smull32)
1543
+ ;; Unsigned multiply long.
1544
+ (Umull8)
1545
+ (Umull16)
1546
+ (Umull32)
1547
+ ))
1548
+
1549
+ (type VecRRRLongModOp
1550
+ (enum
1551
+ ;; Unsigned multiply add long
1552
+ (Umlal8)
1553
+ (Umlal16)
1554
+ (Umlal32)
1555
+ ))
1556
+
1557
+ ;; A vector operation on a pair of elements with one register.
1558
+ (type VecPairOp
1559
+ (enum
1560
+ ;; Add pair of elements
1561
+ (Addp)
1562
+ ))
1563
+
1564
+ ;; 1-operand vector instruction that extends elements of the input register
1565
+ ;; and operates on a pair of elements.
1566
+ (type VecRRPairLongOp
1567
+ (enum
1568
+ ;; Sign extend and add pair of elements
1569
+ (Saddlp8)
1570
+ (Saddlp16)
1571
+ ;; Unsigned extend and add pair of elements
1572
+ (Uaddlp8)
1573
+ (Uaddlp16)
1574
+ ))
1575
+
1576
+ ;; An operation across the lanes of vectors.
1577
+ (type VecLanesOp
1578
+ (enum
1579
+ ;; Integer addition across a vector
1580
+ (Addv)
1581
+ ;; Unsigned minimum across a vector
1582
+ (Uminv)
1583
+ ))
1584
+
1585
+ ;; A shift-by-immediate operation on each lane of a vector.
1586
+ (type VecShiftImmOp
1587
+ (enum
1588
+ ;; Unsigned shift left
1589
+ (Shl)
1590
+ ;; Unsigned shift right
1591
+ (Ushr)
1592
+ ;; Signed shift right
1593
+ (Sshr)
1594
+ ))
1595
+
1596
+ ;; Destructive shift-by-immediate operation on each lane of a vector.
1597
+ (type VecShiftImmModOp
1598
+ (enum
1599
+ ;; Shift left and insert
1600
+ (Sli)
1601
+ ))
1602
+
1603
+ ;; Atomic read-modify-write operations with acquire-release semantics
1604
+ (type AtomicRMWOp
1605
+ (enum
1606
+ (Add)
1607
+ (Clr)
1608
+ (Eor)
1609
+ (Set)
1610
+ (Smax)
1611
+ (Smin)
1612
+ (Umax)
1613
+ (Umin)
1614
+ (Swp)
1615
+ ))
1616
+
1617
+ ;; Atomic read-modify-write operations, with acquire-release semantics,
1618
+ ;; implemented with a loop.
1619
+ (type AtomicRMWLoopOp
1620
+ (enum
1621
+ (Add)
1622
+ (Sub)
1623
+ (And)
1624
+ (Nand)
1625
+ (Eor)
1626
+ (Orr)
1627
+ (Smax)
1628
+ (Smin)
1629
+ (Umax)
1630
+ (Umin)
1631
+ (Xchg)
1632
+ ))
1633
+
1634
+ ;; Keys for instruction address PACs
1635
+ (type APIKey
1636
+ (enum
1637
+ (A)
1638
+ (B)
1639
+ ))
1640
+
1641
+ ;; Branch target types
1642
+ (type BranchTargetType
1643
+ (enum
1644
+ (None)
1645
+ (C)
1646
+ (J)
1647
+ (JC)
1648
+ ))
1649
+
1650
+ ;; Extractors for target features ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1651
+ (decl pure partial sign_return_address_disabled () Unit)
1652
+ (extern constructor sign_return_address_disabled sign_return_address_disabled)
1653
+
1654
+ (decl use_lse () Inst)
1655
+ (extern extractor use_lse use_lse)
1656
+
1657
+ ;; Extractor helpers for various immmediate constants ;;;;;;;;;;;;;;;;;;;;;;;;;;
1658
+
1659
+ (decl pure partial move_wide_const_from_u64 (Type u64) MoveWideConst)
1660
+ (extern constructor move_wide_const_from_u64 move_wide_const_from_u64)
1661
+
1662
+ (decl pure partial move_wide_const_from_inverted_u64 (Type u64) MoveWideConst)
1663
+ (extern constructor move_wide_const_from_inverted_u64 move_wide_const_from_inverted_u64)
1664
+
1665
+ (decl pure partial imm_logic_from_u64 (Type u64) ImmLogic)
1666
+ (extern constructor imm_logic_from_u64 imm_logic_from_u64)
1667
+
1668
+ (decl pure partial imm_logic_from_imm64 (Type Imm64) ImmLogic)
1669
+ (extern constructor imm_logic_from_imm64 imm_logic_from_imm64)
1670
+
1671
+ (decl pure partial imm_shift_from_imm64 (Type Imm64) ImmShift)
1672
+ (extern constructor imm_shift_from_imm64 imm_shift_from_imm64)
1673
+
1674
+ (decl imm_shift_from_u8 (u8) ImmShift)
1675
+ (extern constructor imm_shift_from_u8 imm_shift_from_u8)
1676
+
1677
+ (decl imm12_from_u64 (Imm12) u64)
1678
+ (extern extractor imm12_from_u64 imm12_from_u64)
1679
+
1680
+ (decl u8_into_uimm5 (u8) UImm5)
1681
+ (extern constructor u8_into_uimm5 u8_into_uimm5)
1682
+
1683
+ (decl u8_into_imm12 (u8) Imm12)
1684
+ (extern constructor u8_into_imm12 u8_into_imm12)
1685
+
1686
+ (decl u64_into_imm_logic (Type u64) ImmLogic)
1687
+ (extern constructor u64_into_imm_logic u64_into_imm_logic)
1688
+
1689
+ (decl branch_target (VecMachLabel u8) BranchTarget)
1690
+ (extern constructor branch_target branch_target)
1691
+
1692
+ (decl targets_jt_size (VecMachLabel) u32)
1693
+ (extern constructor targets_jt_size targets_jt_size)
1694
+
1695
+ (decl targets_jt_space (VecMachLabel) CodeOffset)
1696
+ (extern constructor targets_jt_space targets_jt_space)
1697
+
1698
+ (decl targets_jt_info (VecMachLabel) BoxJTSequenceInfo)
1699
+ (extern constructor targets_jt_info targets_jt_info)
1700
+
1701
+ ;; Calculate the minimum floating-point bound for a conversion to floating
1702
+ ;; point from an integer type.
1703
+ ;; Accepts whether the output is signed, the size of the input
1704
+ ;; floating point type in bits, and the size of the output integer type
1705
+ ;; in bits.
1706
+ (decl min_fp_value (bool u8 u8) Reg)
1707
+ (extern constructor min_fp_value min_fp_value)
1708
+
1709
+ ;; Calculate the maximum floating-point bound for a conversion to floating
1710
+ ;; point from an integer type.
1711
+ ;; Accepts whether the output is signed, the size of the input
1712
+ ;; floating point type in bits, and the size of the output integer type
1713
+ ;; in bits.
1714
+ (decl max_fp_value (bool u8 u8) Reg)
1715
+ (extern constructor max_fp_value max_fp_value)
1716
+
1717
+ ;; Constructs an FPUOpRI.Ushr* given the size in bits of the value (or lane)
1718
+ ;; and the amount to shift by.
1719
+ (decl fpu_op_ri_ushr (u8 u8) FPUOpRI)
1720
+ (extern constructor fpu_op_ri_ushr fpu_op_ri_ushr)
1721
+
1722
+ ;; Constructs an FPUOpRIMod.Sli* given the size in bits of the value (or lane)
1723
+ ;; and the amount to shift by.
1724
+ (decl fpu_op_ri_sli (u8 u8) FPUOpRIMod)
1725
+ (extern constructor fpu_op_ri_sli fpu_op_ri_sli)
1726
+
1727
+ (decl pure partial lshr_from_u64 (Type u64) ShiftOpAndAmt)
1728
+ (extern constructor lshr_from_u64 lshr_from_u64)
1729
+
1730
+ (decl pure partial lshl_from_imm64 (Type Imm64) ShiftOpAndAmt)
1731
+ (extern constructor lshl_from_imm64 lshl_from_imm64)
1732
+
1733
+ (decl pure partial lshl_from_u64 (Type u64) ShiftOpAndAmt)
1734
+ (extern constructor lshl_from_u64 lshl_from_u64)
1735
+
1736
+ (decl pure partial ashr_from_u64 (Type u64) ShiftOpAndAmt)
1737
+ (extern constructor ashr_from_u64 ashr_from_u64)
1738
+
1739
+ (decl integral_ty (Type) Type)
1740
+ (extern extractor integral_ty integral_ty)
1741
+
1742
+ (decl valid_atomic_transaction (Type) Type)
1743
+ (extern extractor valid_atomic_transaction valid_atomic_transaction)
1744
+
1745
+ (decl pure partial is_zero_simm9 (SImm9) Unit)
1746
+ (extern constructor is_zero_simm9 is_zero_simm9)
1747
+
1748
+ (decl pure partial is_zero_uimm12 (UImm12Scaled) Unit)
1749
+ (extern constructor is_zero_uimm12 is_zero_uimm12)
1750
+
1751
+ ;; Helper to go directly from a `Value`, when it's an `iconst`, to an `Imm12`.
1752
+ (decl imm12_from_value (Imm12) Value)
1753
+ (extractor
1754
+ (imm12_from_value n)
1755
+ (iconst (u64_from_imm64 (imm12_from_u64 n))))
1756
+
1757
+ ;; Conceptually the same as `imm12_from_value`, but tries negating the constant
1758
+ ;; value (first sign-extending to handle narrow widths).
1759
+ (decl pure partial imm12_from_negated_value (Value) Imm12)
1760
+ (rule
1761
+ (imm12_from_negated_value (has_type ty (iconst n)))
1762
+ (if-let (imm12_from_u64 imm) (i64_as_u64 (i64_neg (i64_sextend_imm64 ty n))))
1763
+ imm)
1764
+
1765
+ ;; Helper type to represent a value and an extend operation fused together.
1766
+ (type ExtendedValue extern (enum))
1767
+ (decl extended_value_from_value (ExtendedValue) Value)
1768
+ (extern extractor extended_value_from_value extended_value_from_value)
1769
+
1770
+ ;; Constructors used to poke at the fields of an `ExtendedValue`.
1771
+ (decl put_extended_in_reg (ExtendedValue) Reg)
1772
+ (extern constructor put_extended_in_reg put_extended_in_reg)
1773
+ (decl get_extended_op (ExtendedValue) ExtendOp)
1774
+ (extern constructor get_extended_op get_extended_op)
1775
+
1776
+ (decl nzcv (bool bool bool bool) NZCV)
1777
+ (extern constructor nzcv nzcv)
1778
+
1779
+ (decl cond_br_zero (Reg) CondBrKind)
1780
+ (extern constructor cond_br_zero cond_br_zero)
1781
+
1782
+ (decl cond_br_not_zero (Reg) CondBrKind)
1783
+ (extern constructor cond_br_not_zero cond_br_not_zero)
1784
+
1785
+ (decl cond_br_cond (Cond) CondBrKind)
1786
+ (extern constructor cond_br_cond cond_br_cond)
1787
+
1788
+ (decl pair_amode (Value u32) PairAMode)
1789
+ (extern constructor pair_amode pair_amode)
1790
+
1791
+ ;; Instruction creation helpers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1792
+
1793
+ ;; Helper for creating the zero register.
1794
+ (decl zero_reg () Reg)
1795
+ (extern constructor zero_reg zero_reg)
1796
+
1797
+ (decl fp_reg () Reg)
1798
+ (extern constructor fp_reg fp_reg)
1799
+
1800
+ (decl stack_reg () Reg)
1801
+ (extern constructor stack_reg stack_reg)
1802
+
1803
+ (decl writable_link_reg () WritableReg)
1804
+ (extern constructor writable_link_reg writable_link_reg)
1805
+
1806
+ (decl writable_zero_reg () WritableReg)
1807
+ (extern constructor writable_zero_reg writable_zero_reg)
1808
+
1809
+ (decl value_regs_zero () ValueRegs)
1810
+ (rule (value_regs_zero)
1811
+ (value_regs
1812
+ (imm $I64 (ImmExtend.Zero) 0)
1813
+ (imm $I64 (ImmExtend.Zero) 0)))
1814
+
1815
+
1816
+ ;; Helper for emitting `MInst.Mov` instructions.
1817
+ (decl mov (Reg Type) Reg)
1818
+ (rule (mov src ty)
1819
+ (let ((dst WritableReg (temp_writable_reg $I64))
1820
+ (_ Unit (emit (MInst.Mov (operand_size ty) dst src))))
1821
+ dst))
1822
+
1823
+ ;; Helper for emitting `MInst.MovZ` instructions.
1824
+ (decl movz (MoveWideConst OperandSize) Reg)
1825
+ (rule (movz imm size)
1826
+ (let ((dst WritableReg (temp_writable_reg $I64))
1827
+ (_ Unit (emit (MInst.MovWide (MoveWideOp.MovZ) dst imm size))))
1828
+ dst))
1829
+
1830
+ ;; Helper for emitting `MInst.MovN` instructions.
1831
+ (decl movn (MoveWideConst OperandSize) Reg)
1832
+ (rule (movn imm size)
1833
+ (let ((dst WritableReg (temp_writable_reg $I64))
1834
+ (_ Unit (emit (MInst.MovWide (MoveWideOp.MovN) dst imm size))))
1835
+ dst))
1836
+
1837
+ ;; Helper for emitting `MInst.AluRRImmLogic` instructions.
1838
+ (decl alu_rr_imm_logic (ALUOp Type Reg ImmLogic) Reg)
1839
+ (rule (alu_rr_imm_logic op ty src imm)
1840
+ (let ((dst WritableReg (temp_writable_reg $I64))
1841
+ (_ Unit (emit (MInst.AluRRImmLogic op (operand_size ty) dst src imm))))
1842
+ dst))
1843
+
1844
+ ;; Helper for emitting `MInst.AluRRImmShift` instructions.
1845
+ (decl alu_rr_imm_shift (ALUOp Type Reg ImmShift) Reg)
1846
+ (rule (alu_rr_imm_shift op ty src imm)
1847
+ (let ((dst WritableReg (temp_writable_reg $I64))
1848
+ (_ Unit (emit (MInst.AluRRImmShift op (operand_size ty) dst src imm))))
1849
+ dst))
1850
+
1851
+ ;; Helper for emitting `MInst.AluRRR` instructions.
1852
+ (decl alu_rrr (ALUOp Type Reg Reg) Reg)
1853
+ (rule (alu_rrr op ty src1 src2)
1854
+ (let ((dst WritableReg (temp_writable_reg $I64))
1855
+ (_ Unit (emit (MInst.AluRRR op (operand_size ty) dst src1 src2))))
1856
+ dst))
1857
+
1858
+ ;; Helper for emitting `MInst.VecRRR` instructions.
1859
+ (decl vec_rrr (VecALUOp Reg Reg VectorSize) Reg)
1860
+ (rule (vec_rrr op src1 src2 size)
1861
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1862
+ (_ Unit (emit (MInst.VecRRR op dst src1 src2 size))))
1863
+ dst))
1864
+
1865
+ ;; Helper for emitting `MInst.FpuRR` instructions.
1866
+ (decl fpu_rr (FPUOp1 Reg ScalarSize) Reg)
1867
+ (rule (fpu_rr op src size)
1868
+ (let ((dst WritableReg (temp_writable_reg $F64))
1869
+ (_ Unit (emit (MInst.FpuRR op size dst src))))
1870
+ dst))
1871
+
1872
+ ;; Helper for emitting `MInst.VecRRRMod` instructions which use three registers,
1873
+ ;; one of which is both source and output.
1874
+ (decl vec_rrr_mod (VecALUModOp Reg Reg Reg VectorSize) Reg)
1875
+ (rule (vec_rrr_mod op src1 src2 src3 size)
1876
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1877
+ (_1 Unit (emit (MInst.VecRRRMod op dst src1 src2 src3 size))))
1878
+ dst))
1879
+
1880
+ ;; Helper for emitting `MInst.VecFmlaElem` instructions which use three registers,
1881
+ ;; one of which is both source and output.
1882
+ (decl vec_fmla_elem (VecALUModOp Reg Reg Reg VectorSize u8) Reg)
1883
+ (rule (vec_fmla_elem op src1 src2 src3 size idx)
1884
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1885
+ (_1 Unit (emit (MInst.VecFmlaElem op dst src1 src2 src3 size idx))))
1886
+ dst))
1887
+
1888
+ (decl fpu_rri (FPUOpRI Reg) Reg)
1889
+ (rule (fpu_rri op src)
1890
+ (let ((dst WritableReg (temp_writable_reg $F64))
1891
+ (_ Unit (emit (MInst.FpuRRI op dst src))))
1892
+ dst))
1893
+
1894
+ (decl fpu_rri_mod (FPUOpRIMod Reg Reg) Reg)
1895
+ (rule (fpu_rri_mod op dst_src src)
1896
+ (let ((dst WritableReg (temp_writable_reg $F64))
1897
+ (_ Unit (emit (MInst.FpuRRIMod op dst dst_src src))))
1898
+ dst))
1899
+
1900
+ ;; Helper for emitting `MInst.FpuRRR` instructions.
1901
+ (decl fpu_rrr (FPUOp2 Reg Reg ScalarSize) Reg)
1902
+ (rule (fpu_rrr op src1 src2 size)
1903
+ (let ((dst WritableReg (temp_writable_reg $F64))
1904
+ (_ Unit (emit (MInst.FpuRRR op size dst src1 src2))))
1905
+ dst))
1906
+
1907
+ ;; Helper for emitting `MInst.FpuRRRR` instructions.
1908
+ (decl fpu_rrrr (FPUOp3 ScalarSize Reg Reg Reg) Reg)
1909
+ (rule (fpu_rrrr size op src1 src2 src3)
1910
+ (let ((dst WritableReg (temp_writable_reg $F64))
1911
+ (_ Unit (emit (MInst.FpuRRRR size op dst src1 src2 src3))))
1912
+ dst))
1913
+
1914
+ ;; Helper for emitting `MInst.FpuCmp` instructions.
1915
+ (decl fpu_cmp (ScalarSize Reg Reg) ProducesFlags)
1916
+ (rule (fpu_cmp size rn rm)
1917
+ (ProducesFlags.ProducesFlagsSideEffect
1918
+ (MInst.FpuCmp size rn rm)))
1919
+
1920
+ ;; Helper for emitting `MInst.VecLanes` instructions.
1921
+ (decl vec_lanes (VecLanesOp Reg VectorSize) Reg)
1922
+ (rule (vec_lanes op src size)
1923
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1924
+ (_ Unit (emit (MInst.VecLanes op dst src size))))
1925
+ dst))
1926
+
1927
+ ;; Helper for emitting `MInst.VecShiftImm` instructions.
1928
+ (decl vec_shift_imm (VecShiftImmOp u8 Reg VectorSize) Reg)
1929
+ (rule (vec_shift_imm op imm src size)
1930
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1931
+ (_ Unit (emit (MInst.VecShiftImm op dst src size imm))))
1932
+ dst))
1933
+
1934
+ ;; Helper for emitting `MInst.VecDup` instructions.
1935
+ (decl vec_dup (Reg VectorSize) Reg)
1936
+ (rule (vec_dup src size)
1937
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1938
+ (_ Unit (emit (MInst.VecDup dst src size))))
1939
+ dst))
1940
+
1941
+ ;; Helper for emitting `MInst.VecDupFromFpu` instructions.
1942
+ (decl vec_dup_from_fpu (Reg VectorSize u8) Reg)
1943
+ (rule (vec_dup_from_fpu src size lane)
1944
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1945
+ (_ Unit (emit (MInst.VecDupFromFpu dst src size lane))))
1946
+ dst))
1947
+
1948
+ ;; Helper for emitting `MInst.VecDupImm` instructions.
1949
+ (decl vec_dup_imm (ASIMDMovModImm bool VectorSize) Reg)
1950
+ (rule (vec_dup_imm imm invert size)
1951
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
1952
+ (_ Unit (emit (MInst.VecDupImm dst imm invert size))))
1953
+ dst))
1954
+
1955
+ ;; Helper for emitting `MInst.AluRRImm12` instructions.
1956
+ (decl alu_rr_imm12 (ALUOp Type Reg Imm12) Reg)
1957
+ (rule (alu_rr_imm12 op ty src imm)
1958
+ (let ((dst WritableReg (temp_writable_reg $I64))
1959
+ (_ Unit (emit (MInst.AluRRImm12 op (operand_size ty) dst src imm))))
1960
+ dst))
1961
+
1962
+ ;; Helper for emitting `MInst.AluRRRShift` instructions.
1963
+ (decl alu_rrr_shift (ALUOp Type Reg Reg ShiftOpAndAmt) Reg)
1964
+ (rule (alu_rrr_shift op ty src1 src2 shift)
1965
+ (let ((dst WritableReg (temp_writable_reg $I64))
1966
+ (_ Unit (emit (MInst.AluRRRShift op (operand_size ty) dst src1 src2 shift))))
1967
+ dst))
1968
+
1969
+ ;; Helper for emitting `cmp` instructions, setting flags, with a right-shifted
1970
+ ;; second operand register.
1971
+ (decl cmp_rr_shift (OperandSize Reg Reg u64) ProducesFlags)
1972
+ (rule (cmp_rr_shift size src1 src2 shift_amount)
1973
+ (if-let shift (lshr_from_u64 $I64 shift_amount))
1974
+ (ProducesFlags.ProducesFlagsSideEffect
1975
+ (MInst.AluRRRShift (ALUOp.SubS) size (writable_zero_reg)
1976
+ src1 src2 shift)))
1977
+
1978
+ ;; Helper for emitting `cmp` instructions, setting flags, with an arithmetic right-shifted
1979
+ ;; second operand register.
1980
+ (decl cmp_rr_shift_asr (OperandSize Reg Reg u64) ProducesFlags)
1981
+ (rule (cmp_rr_shift_asr size src1 src2 shift_amount)
1982
+ (if-let shift (ashr_from_u64 $I64 shift_amount))
1983
+ (ProducesFlags.ProducesFlagsSideEffect
1984
+ (MInst.AluRRRShift (ALUOp.SubS) size (writable_zero_reg)
1985
+ src1 src2 shift)))
1986
+
1987
+ ;; Helper for emitting `MInst.AluRRRExtend` instructions.
1988
+ (decl alu_rrr_extend (ALUOp Type Reg Reg ExtendOp) Reg)
1989
+ (rule (alu_rrr_extend op ty src1 src2 extend)
1990
+ (let ((dst WritableReg (temp_writable_reg $I64))
1991
+ (_ Unit (emit (MInst.AluRRRExtend op (operand_size ty) dst src1 src2 extend))))
1992
+ dst))
1993
+
1994
+ ;; Same as `alu_rrr_extend`, but takes an `ExtendedValue` packed "pair" instead
1995
+ ;; of a `Reg` and an `ExtendOp`.
1996
+ (decl alu_rr_extend_reg (ALUOp Type Reg ExtendedValue) Reg)
1997
+ (rule (alu_rr_extend_reg op ty src1 extended_reg)
1998
+ (let ((src2 Reg (put_extended_in_reg extended_reg))
1999
+ (extend ExtendOp (get_extended_op extended_reg)))
2000
+ (alu_rrr_extend op ty src1 src2 extend)))
2001
+
2002
+ ;; Helper for emitting `MInst.AluRRRR` instructions.
2003
+ (decl alu_rrrr (ALUOp3 Type Reg Reg Reg) Reg)
2004
+ (rule (alu_rrrr op ty src1 src2 src3)
2005
+ (let ((dst WritableReg (temp_writable_reg $I64))
2006
+ (_ Unit (emit (MInst.AluRRRR op (operand_size ty) dst src1 src2 src3))))
2007
+ dst))
2008
+
2009
+ ;; Helper for emitting paired `MInst.AluRRR` instructions
2010
+ (decl alu_rrr_with_flags_paired (Type Reg Reg ALUOp) ProducesFlags)
2011
+ (rule (alu_rrr_with_flags_paired ty src1 src2 alu_op)
2012
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2013
+ (ProducesFlags.ProducesFlagsReturnsResultWithConsumer
2014
+ (MInst.AluRRR alu_op (operand_size ty) dst src1 src2)
2015
+ dst)))
2016
+
2017
+ ;; Should only be used for AdcS and SbcS
2018
+ (decl alu_rrr_with_flags_chained (Type Reg Reg ALUOp) ConsumesAndProducesFlags)
2019
+ (rule (alu_rrr_with_flags_chained ty src1 src2 alu_op)
2020
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2021
+ (ConsumesAndProducesFlags.ReturnsReg
2022
+ (MInst.AluRRR alu_op (operand_size ty) dst src1 src2)
2023
+ dst)))
2024
+
2025
+ ;; Helper for emitting `MInst.BitRR` instructions.
2026
+ (decl bit_rr (BitOp Type Reg) Reg)
2027
+ (rule (bit_rr op ty src)
2028
+ (let ((dst WritableReg (temp_writable_reg $I64))
2029
+ (_ Unit (emit (MInst.BitRR op (operand_size ty) dst src))))
2030
+ dst))
2031
+
2032
+ ;; Helper for emitting `adds` instructions.
2033
+ (decl add_with_flags_paired (Type Reg Reg) ProducesFlags)
2034
+ (rule (add_with_flags_paired ty src1 src2)
2035
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2036
+ (ProducesFlags.ProducesFlagsReturnsResultWithConsumer
2037
+ (MInst.AluRRR (ALUOp.AddS) (operand_size ty) dst src1 src2)
2038
+ dst)))
2039
+
2040
+ ;; Helper for emitting `adc` instructions.
2041
+ (decl adc_paired (Type Reg Reg) ConsumesFlags)
2042
+ (rule (adc_paired ty src1 src2)
2043
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2044
+ (ConsumesFlags.ConsumesFlagsReturnsResultWithProducer
2045
+ (MInst.AluRRR (ALUOp.Adc) (operand_size ty) dst src1 src2)
2046
+ dst)))
2047
+
2048
+ ;; Helper for emitting `subs` instructions.
2049
+ (decl sub_with_flags_paired (Type Reg Reg) ProducesFlags)
2050
+ (rule (sub_with_flags_paired ty src1 src2)
2051
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2052
+ (ProducesFlags.ProducesFlagsReturnsResultWithConsumer
2053
+ (MInst.AluRRR (ALUOp.SubS) (operand_size ty) dst src1 src2)
2054
+ dst)))
2055
+
2056
+ ;; Helper for materializing a boolean value into a register from
2057
+ ;; flags.
2058
+ (decl materialize_bool_result (Cond) ConsumesFlags)
2059
+ (rule (materialize_bool_result cond)
2060
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2061
+ (ConsumesFlags.ConsumesFlagsReturnsReg
2062
+ (MInst.CSet dst cond)
2063
+ dst)))
2064
+
2065
+ (decl cmn_imm (OperandSize Reg Imm12) ProducesFlags)
2066
+ (rule (cmn_imm size src1 src2)
2067
+ (ProducesFlags.ProducesFlagsSideEffect
2068
+ (MInst.AluRRImm12 (ALUOp.AddS) size (writable_zero_reg)
2069
+ src1 src2)))
2070
+
2071
+ (decl cmp (OperandSize Reg Reg) ProducesFlags)
2072
+ (rule (cmp size src1 src2)
2073
+ (ProducesFlags.ProducesFlagsSideEffect
2074
+ (MInst.AluRRR (ALUOp.SubS) size (writable_zero_reg)
2075
+ src1 src2)))
2076
+
2077
+ (decl cmp_imm (OperandSize Reg Imm12) ProducesFlags)
2078
+ (rule (cmp_imm size src1 src2)
2079
+ (ProducesFlags.ProducesFlagsSideEffect
2080
+ (MInst.AluRRImm12 (ALUOp.SubS) size (writable_zero_reg)
2081
+ src1 src2)))
2082
+
2083
+ (decl cmp64_imm (Reg Imm12) ProducesFlags)
2084
+ (rule (cmp64_imm src1 src2)
2085
+ (cmp_imm (OperandSize.Size64) src1 src2))
2086
+
2087
+ (decl cmp_extend (OperandSize Reg Reg ExtendOp) ProducesFlags)
2088
+ (rule (cmp_extend size src1 src2 extend)
2089
+ (ProducesFlags.ProducesFlagsSideEffect
2090
+ (MInst.AluRRRExtend (ALUOp.SubS) size (writable_zero_reg)
2091
+ src1 src2 extend)))
2092
+
2093
+ ;; Helper for emitting `sbc` instructions.
2094
+ (decl sbc_paired (Type Reg Reg) ConsumesFlags)
2095
+ (rule (sbc_paired ty src1 src2)
2096
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2097
+ (ConsumesFlags.ConsumesFlagsReturnsResultWithProducer
2098
+ (MInst.AluRRR (ALUOp.Sbc) (operand_size ty) dst src1 src2)
2099
+ dst)))
2100
+
2101
+ ;; Helper for emitting `MInst.VecMisc` instructions.
2102
+ (decl vec_misc (VecMisc2 Reg VectorSize) Reg)
2103
+ (rule (vec_misc op src size)
2104
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2105
+ (_ Unit (emit (MInst.VecMisc op dst src size))))
2106
+ dst))
2107
+
2108
+ ;; Helper for emitting `MInst.VecTbl` instructions.
2109
+ (decl vec_tbl (Reg Reg) Reg)
2110
+ (rule (vec_tbl rn rm)
2111
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2112
+ (_ Unit (emit (MInst.VecTbl dst rn rm))))
2113
+ dst))
2114
+
2115
+ (decl vec_tbl_ext (Reg Reg Reg) Reg)
2116
+ (rule (vec_tbl_ext ri rn rm)
2117
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2118
+ (_ Unit (emit (MInst.VecTblExt dst ri rn rm))))
2119
+ dst))
2120
+
2121
+ ;; Helper for emitting `MInst.VecTbl2` instructions.
2122
+ (decl vec_tbl2 (Reg Reg Reg Type) Reg)
2123
+ (rule (vec_tbl2 rn rn2 rm ty)
2124
+ (let (
2125
+ (dst WritableReg (temp_writable_reg $I8X16))
2126
+ (_ Unit (emit (MInst.VecTbl2 dst rn rn2 rm)))
2127
+ )
2128
+ dst))
2129
+
2130
+ ;; Helper for emitting `MInst.VecTbl2Ext` instructions.
2131
+ (decl vec_tbl2_ext (Reg Reg Reg Reg Type) Reg)
2132
+ (rule (vec_tbl2_ext ri rn rn2 rm ty)
2133
+ (let (
2134
+ (dst WritableReg (temp_writable_reg $I8X16))
2135
+ (_ Unit (emit (MInst.VecTbl2Ext dst ri rn rn2 rm)))
2136
+ )
2137
+ dst))
2138
+
2139
+ ;; Helper for emitting `MInst.VecRRRLong` instructions.
2140
+ (decl vec_rrr_long (VecRRRLongOp Reg Reg bool) Reg)
2141
+ (rule (vec_rrr_long op src1 src2 high_half)
2142
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2143
+ (_ Unit (emit (MInst.VecRRRLong op dst src1 src2 high_half))))
2144
+ dst))
2145
+
2146
+ ;; Helper for emitting `MInst.VecRRPairLong` instructions.
2147
+ (decl vec_rr_pair_long (VecRRPairLongOp Reg) Reg)
2148
+ (rule (vec_rr_pair_long op src)
2149
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2150
+ (_ Unit (emit (MInst.VecRRPairLong op dst src))))
2151
+ dst))
2152
+
2153
+ ;; Helper for emitting `MInst.VecRRRLongMod` instructions.
2154
+ (decl vec_rrrr_long (VecRRRLongModOp Reg Reg Reg bool) Reg)
2155
+ (rule (vec_rrrr_long op src1 src2 src3 high_half)
2156
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2157
+ (_ Unit (emit (MInst.VecRRRLongMod op dst src1 src2 src3 high_half))))
2158
+ dst))
2159
+
2160
+ ;; Helper for emitting `MInst.VecRRNarrow` instructions.
2161
+ (decl vec_rr_narrow_low (VecRRNarrowOp Reg ScalarSize) Reg)
2162
+ (rule (vec_rr_narrow_low op src size)
2163
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2164
+ (_ Unit (emit (MInst.VecRRNarrowLow op dst src size))))
2165
+ dst))
2166
+
2167
+ ;; Helper for emitting `MInst.VecRRNarrow` instructions which update the
2168
+ ;; high half of the destination register.
2169
+ (decl vec_rr_narrow_high (VecRRNarrowOp Reg Reg ScalarSize) Reg)
2170
+ (rule (vec_rr_narrow_high op mod src size)
2171
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2172
+ (_ Unit (emit (MInst.VecRRNarrowHigh op dst mod src size))))
2173
+ dst))
2174
+
2175
+ ;; Helper for emitting `MInst.VecRRLong` instructions.
2176
+ (decl vec_rr_long (VecRRLongOp Reg bool) Reg)
2177
+ (rule (vec_rr_long op src high_half)
2178
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2179
+ (_ Unit (emit (MInst.VecRRLong op dst src high_half))))
2180
+ dst))
2181
+
2182
+ ;; Helper for emitting `MInst.FpuCSel32` / `MInst.FpuCSel64`
2183
+ ;; instructions.
2184
+ (decl fpu_csel (Type Cond Reg Reg) ConsumesFlags)
2185
+ (rule (fpu_csel $F32 cond if_true if_false)
2186
+ (let ((dst WritableReg (temp_writable_reg $F32)))
2187
+ (ConsumesFlags.ConsumesFlagsReturnsReg
2188
+ (MInst.FpuCSel32 dst if_true if_false cond)
2189
+ dst)))
2190
+
2191
+ (rule (fpu_csel $F64 cond if_true if_false)
2192
+ (let ((dst WritableReg (temp_writable_reg $F64)))
2193
+ (ConsumesFlags.ConsumesFlagsReturnsReg
2194
+ (MInst.FpuCSel64 dst if_true if_false cond)
2195
+ dst)))
2196
+
2197
+ ;; Helper for emitting `MInst.VecCSel` instructions.
2198
+ (decl vec_csel (Cond Reg Reg) ConsumesFlags)
2199
+ (rule (vec_csel cond if_true if_false)
2200
+ (let ((dst WritableReg (temp_writable_reg $I8X16)))
2201
+ (ConsumesFlags.ConsumesFlagsReturnsReg
2202
+ (MInst.VecCSel dst if_true if_false cond)
2203
+ dst)))
2204
+
2205
+ ;; Helper for emitting `MInst.FpuRound` instructions.
2206
+ (decl fpu_round (FpuRoundMode Reg) Reg)
2207
+ (rule (fpu_round op rn)
2208
+ (let ((dst WritableReg (temp_writable_reg $F64))
2209
+ (_ Unit (emit (MInst.FpuRound op dst rn))))
2210
+ dst))
2211
+
2212
+ ;; Helper for emitting `MInst.FpuMove64` and `MInst.FpuMove128` instructions.
2213
+ (decl fpu_move (Type Reg) Reg)
2214
+ (rule (fpu_move _ src)
2215
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2216
+ (_ Unit (emit (MInst.FpuMove128 dst src))))
2217
+ dst))
2218
+ (rule 1 (fpu_move (fits_in_64 _) src)
2219
+ (let ((dst WritableReg (temp_writable_reg $F64))
2220
+ (_ Unit (emit (MInst.FpuMove64 dst src))))
2221
+ dst))
2222
+
2223
+ ;; Helper for emitting `MInst.MovToFpu` instructions.
2224
+ (decl mov_to_fpu (Reg ScalarSize) Reg)
2225
+ (rule (mov_to_fpu x size)
2226
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2227
+ (_ Unit (emit (MInst.MovToFpu dst x size))))
2228
+ dst))
2229
+
2230
+ ;; Helper for emitting `MInst.FpuMoveFPImm` instructions.
2231
+ (decl fpu_move_fp_imm (ASIMDFPModImm ScalarSize) Reg)
2232
+ (rule (fpu_move_fp_imm imm size)
2233
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2234
+ (_ Unit (emit (MInst.FpuMoveFPImm dst imm size))))
2235
+ dst))
2236
+
2237
+ ;; Helper for emitting `MInst.MovToVec` instructions.
2238
+ (decl mov_to_vec (Reg Reg u8 VectorSize) Reg)
2239
+ (rule (mov_to_vec src1 src2 lane size)
2240
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2241
+ (_ Unit (emit (MInst.MovToVec dst src1 src2 lane size))))
2242
+ dst))
2243
+
2244
+ ;; Helper for emitting `MInst.VecMovElement` instructions.
2245
+ (decl mov_vec_elem (Reg Reg u8 u8 VectorSize) Reg)
2246
+ (rule (mov_vec_elem src1 src2 dst_idx src_idx size)
2247
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2248
+ (_ Unit (emit (MInst.VecMovElement dst src1 src2 dst_idx src_idx size))))
2249
+ dst))
2250
+
2251
+ ;; Helper for emitting `MInst.MovFromVec` instructions.
2252
+ (decl mov_from_vec (Reg u8 ScalarSize) Reg)
2253
+ (rule (mov_from_vec rn idx size)
2254
+ (let ((dst WritableReg (temp_writable_reg $I64))
2255
+ (_ Unit (emit (MInst.MovFromVec dst rn idx size))))
2256
+ dst))
2257
+
2258
+ ;; Helper for emitting `MInst.MovFromVecSigned` instructions.
2259
+ (decl mov_from_vec_signed (Reg u8 VectorSize OperandSize) Reg)
2260
+ (rule (mov_from_vec_signed rn idx size scalar_size)
2261
+ (let ((dst WritableReg (temp_writable_reg $I64))
2262
+ (_ Unit (emit (MInst.MovFromVecSigned dst rn idx size scalar_size))))
2263
+ dst))
2264
+
2265
+ (decl fpu_move_from_vec (Reg u8 VectorSize) Reg)
2266
+ (rule (fpu_move_from_vec rn idx size)
2267
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2268
+ (_ Unit (emit (MInst.FpuMoveFromVec dst rn idx size))))
2269
+ dst))
2270
+
2271
+ ;; Helper for emitting `MInst.Extend` instructions.
2272
+ (decl extend (Reg bool u8 u8) Reg)
2273
+ (rule (extend rn signed from_bits to_bits)
2274
+ (let ((dst WritableReg (temp_writable_reg $I64))
2275
+ (_ Unit (emit (MInst.Extend dst rn signed from_bits to_bits))))
2276
+ dst))
2277
+
2278
+ ;; Helper for emitting `MInst.FpuExtend` instructions.
2279
+ (decl fpu_extend (Reg ScalarSize) Reg)
2280
+ (rule (fpu_extend src size)
2281
+ (let ((dst WritableReg (temp_writable_reg $F32X4))
2282
+ (_ Unit (emit (MInst.FpuExtend dst src size))))
2283
+ dst))
2284
+
2285
+ ;; Helper for emitting `MInst.VecExtend` instructions.
2286
+ (decl vec_extend (VecExtendOp Reg bool ScalarSize) Reg)
2287
+ (rule (vec_extend op src high_half size)
2288
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2289
+ (_ Unit (emit (MInst.VecExtend op dst src high_half size))))
2290
+ dst))
2291
+
2292
+ ;; Helper for emitting `MInst.VecExtract` instructions.
2293
+ (decl vec_extract (Reg Reg u8) Reg)
2294
+ (rule (vec_extract src1 src2 idx)
2295
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
2296
+ (_ Unit (emit (MInst.VecExtract dst src1 src2 idx))))
2297
+ dst))
2298
+
2299
+ ;; Helper for emitting `MInst.LoadAcquire` instructions.
2300
+ (decl load_acquire (Type MemFlags Reg) Reg)
2301
+ (rule (load_acquire ty flags addr)
2302
+ (let ((dst WritableReg (temp_writable_reg $I64))
2303
+ (_ Unit (emit (MInst.LoadAcquire ty dst addr flags))))
2304
+ dst))
2305
+
2306
+ ;; Helper for emitting `MInst.StoreRelease` instructions.
2307
+ (decl store_release (Type MemFlags Reg Reg) SideEffectNoResult)
2308
+ (rule (store_release ty flags src addr)
2309
+ (SideEffectNoResult.Inst (MInst.StoreRelease ty src addr flags)))
2310
+
2311
+ ;; Helper for generating a `tst` instruction.
2312
+ ;;
2313
+ ;; Produces a `ProducesFlags` rather than a register or emitted instruction
2314
+ ;; which must be paired with `with_flags*` helpers.
2315
+ (decl tst_imm (Type Reg ImmLogic) ProducesFlags)
2316
+ (rule (tst_imm ty reg imm)
2317
+ (ProducesFlags.ProducesFlagsSideEffect
2318
+ (MInst.AluRRImmLogic (ALUOp.AndS)
2319
+ (operand_size ty)
2320
+ (writable_zero_reg)
2321
+ reg
2322
+ imm)))
2323
+
2324
+ ;; Helper for generating a `CSel` instruction.
2325
+ ;;
2326
+ ;; Note that this doesn't actually emit anything, instead it produces a
2327
+ ;; `ConsumesFlags` instruction which must be consumed with `with_flags*`
2328
+ ;; helpers.
2329
+ (decl csel (Cond Reg Reg) ConsumesFlags)
2330
+ (rule (csel cond if_true if_false)
2331
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2332
+ (ConsumesFlags.ConsumesFlagsReturnsReg
2333
+ (MInst.CSel dst cond if_true if_false)
2334
+ dst)))
2335
+
2336
+ ;; Helper for constructing `cset` instructions.
2337
+ (decl cset (Cond) ConsumesFlags)
2338
+ (rule (cset cond)
2339
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2340
+ (ConsumesFlags.ConsumesFlagsReturnsReg (MInst.CSet dst cond) dst)))
2341
+
2342
+ ;; Helper for constructing `cset` instructions, when the flags producer will
2343
+ ;; also return a value.
2344
+ (decl cset_paired (Cond) ConsumesFlags)
2345
+ (rule (cset_paired cond)
2346
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2347
+ (ConsumesFlags.ConsumesFlagsReturnsResultWithProducer (MInst.CSet dst cond) dst)))
2348
+
2349
+ ;; Helper for constructing `csetm` instructions.
2350
+ (decl csetm (Cond) ConsumesFlags)
2351
+ (rule (csetm cond)
2352
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2353
+ (ConsumesFlags.ConsumesFlagsReturnsReg (MInst.CSetm dst cond) dst)))
2354
+
2355
+ ;; Helper for generating a `CSNeg` instruction.
2356
+ ;;
2357
+ ;; Note that this doesn't actually emit anything, instead it produces a
2358
+ ;; `ConsumesFlags` instruction which must be consumed with `with_flags*`
2359
+ ;; helpers.
2360
+ (decl csneg (Cond Reg Reg) ConsumesFlags)
2361
+ (rule (csneg cond if_true if_false)
2362
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2363
+ (ConsumesFlags.ConsumesFlagsReturnsReg
2364
+ (MInst.CSNeg dst cond if_true if_false)
2365
+ dst)))
2366
+
2367
+ ;; Helper for generating `MInst.CCmp` instructions.
2368
+ ;; Creates a new `ProducesFlags` from the supplied `ProducesFlags` followed
2369
+ ;; immediately by the `MInst.CCmp` instruction.
2370
+ (decl ccmp (OperandSize Reg Reg NZCV Cond ProducesFlags) ProducesFlags)
2371
+ (rule (ccmp size rn rm nzcv cond inst_input)
2372
+ (produces_flags_concat inst_input (ProducesFlags.ProducesFlagsSideEffect (MInst.CCmp size rn rm nzcv cond))))
2373
+
2374
+ ;; Helper for generating `MInst.CCmpImm` instructions.
2375
+ (decl ccmp_imm (OperandSize Reg UImm5 NZCV Cond) ConsumesFlags)
2376
+ (rule 1 (ccmp_imm size rn imm nzcv cond)
2377
+ (let ((dst WritableReg (temp_writable_reg $I64)))
2378
+ (ConsumesFlags.ConsumesFlagsTwiceReturnsValueRegs
2379
+ (MInst.CCmpImm size rn imm nzcv cond)
2380
+ (MInst.CSet dst cond)
2381
+ (value_reg dst))))
2382
+
2383
+ ;; Helpers for generating `add` instructions.
2384
+
2385
+ (decl add (Type Reg Reg) Reg)
2386
+ (rule (add ty x y) (alu_rrr (ALUOp.Add) ty x y))
2387
+
2388
+ (decl add_imm (Type Reg Imm12) Reg)
2389
+ (rule (add_imm ty x y) (alu_rr_imm12 (ALUOp.Add) ty x y))
2390
+
2391
+ (decl add_extend (Type Reg ExtendedValue) Reg)
2392
+ (rule (add_extend ty x y) (alu_rr_extend_reg (ALUOp.Add) ty x y))
2393
+
2394
+ (decl add_extend_op (Type Reg Reg ExtendOp) Reg)
2395
+ (rule (add_extend_op ty x y extend) (alu_rrr_extend (ALUOp.Add) ty x y extend))
2396
+
2397
+ (decl add_shift (Type Reg Reg ShiftOpAndAmt) Reg)
2398
+ (rule (add_shift ty x y z) (alu_rrr_shift (ALUOp.Add) ty x y z))
2399
+
2400
+ (decl add_vec (Reg Reg VectorSize) Reg)
2401
+ (rule (add_vec x y size) (vec_rrr (VecALUOp.Add) x y size))
2402
+
2403
+ ;; Helpers for generating `sub` instructions.
2404
+
2405
+ (decl sub (Type Reg Reg) Reg)
2406
+ (rule (sub ty x y) (alu_rrr (ALUOp.Sub) ty x y))
2407
+
2408
+ (decl sub_imm (Type Reg Imm12) Reg)
2409
+ (rule (sub_imm ty x y) (alu_rr_imm12 (ALUOp.Sub) ty x y))
2410
+
2411
+ (decl sub_extend (Type Reg ExtendedValue) Reg)
2412
+ (rule (sub_extend ty x y) (alu_rr_extend_reg (ALUOp.Sub) ty x y))
2413
+
2414
+ (decl sub_shift (Type Reg Reg ShiftOpAndAmt) Reg)
2415
+ (rule (sub_shift ty x y z) (alu_rrr_shift (ALUOp.Sub) ty x y z))
2416
+
2417
+ (decl sub_vec (Reg Reg VectorSize) Reg)
2418
+ (rule (sub_vec x y size) (vec_rrr (VecALUOp.Sub) x y size))
2419
+
2420
+ (decl sub_i128 (ValueRegs ValueRegs) ValueRegs)
2421
+ (rule (sub_i128 x y)
2422
+ (let
2423
+ ;; Get the high/low registers for `x`.
2424
+ ((x_regs ValueRegs x)
2425
+ (x_lo Reg (value_regs_get x_regs 0))
2426
+ (x_hi Reg (value_regs_get x_regs 1))
2427
+
2428
+ ;; Get the high/low registers for `y`.
2429
+ (y_regs ValueRegs y)
2430
+ (y_lo Reg (value_regs_get y_regs 0))
2431
+ (y_hi Reg (value_regs_get y_regs 1)))
2432
+ ;; the actual subtraction is `subs` followed by `sbc` which comprises
2433
+ ;; the low/high bits of the result
2434
+ (with_flags
2435
+ (sub_with_flags_paired $I64 x_lo y_lo)
2436
+ (sbc_paired $I64 x_hi y_hi))))
2437
+
2438
+ ;; Helpers for generating `madd` instructions.
2439
+
2440
+ (decl madd (Type Reg Reg Reg) Reg)
2441
+ (rule (madd ty x y z) (alu_rrrr (ALUOp3.MAdd) ty x y z))
2442
+
2443
+ ;; Helpers for generating `msub` instructions.
2444
+
2445
+ (decl msub (Type Reg Reg Reg) Reg)
2446
+ (rule (msub ty x y z) (alu_rrrr (ALUOp3.MSub) ty x y z))
2447
+
2448
+ ;; Helpers for generating `umaddl` instructions
2449
+ (decl umaddl (Reg Reg Reg) Reg)
2450
+ (rule (umaddl x y z) (alu_rrrr (ALUOp3.UMAddL) $I32 x y z))
2451
+
2452
+ ;; Helpers for generating `smaddl` instructions
2453
+ (decl smaddl (Reg Reg Reg) Reg)
2454
+ (rule (smaddl x y z) (alu_rrrr (ALUOp3.SMAddL) $I32 x y z))
2455
+
2456
+ ;; Helper for generating `uqadd` instructions.
2457
+ (decl uqadd (Reg Reg VectorSize) Reg)
2458
+ (rule (uqadd x y size) (vec_rrr (VecALUOp.Uqadd) x y size))
2459
+
2460
+ ;; Helper for generating `sqadd` instructions.
2461
+ (decl sqadd (Reg Reg VectorSize) Reg)
2462
+ (rule (sqadd x y size) (vec_rrr (VecALUOp.Sqadd) x y size))
2463
+
2464
+ ;; Helper for generating `uqsub` instructions.
2465
+ (decl uqsub (Reg Reg VectorSize) Reg)
2466
+ (rule (uqsub x y size) (vec_rrr (VecALUOp.Uqsub) x y size))
2467
+
2468
+ ;; Helper for generating `sqsub` instructions.
2469
+ (decl sqsub (Reg Reg VectorSize) Reg)
2470
+ (rule (sqsub x y size) (vec_rrr (VecALUOp.Sqsub) x y size))
2471
+
2472
+ ;; Helper for generating `umulh` instructions.
2473
+ (decl umulh (Type Reg Reg) Reg)
2474
+ (rule (umulh ty x y) (alu_rrr (ALUOp.UMulH) ty x y))
2475
+
2476
+ ;; Helper for generating `smulh` instructions.
2477
+ (decl smulh (Type Reg Reg) Reg)
2478
+ (rule (smulh ty x y) (alu_rrr (ALUOp.SMulH) ty x y))
2479
+
2480
+ ;; Helper for generating `mul` instructions.
2481
+ (decl mul (Reg Reg VectorSize) Reg)
2482
+ (rule (mul x y size) (vec_rrr (VecALUOp.Mul) x y size))
2483
+
2484
+ ;; Helper for generating `neg` instructions.
2485
+ (decl neg (Reg VectorSize) Reg)
2486
+ (rule (neg x size) (vec_misc (VecMisc2.Neg) x size))
2487
+
2488
+ ;; Helper for generating `rev16` instructions.
2489
+ (decl rev16 (Reg VectorSize) Reg)
2490
+ (rule (rev16 x size) (vec_misc (VecMisc2.Rev16) x size))
2491
+
2492
+ ;; Helper for generating `rev32` instructions.
2493
+ (decl rev32 (Reg VectorSize) Reg)
2494
+ (rule (rev32 x size) (vec_misc (VecMisc2.Rev32) x size))
2495
+
2496
+ ;; Helper for generating `rev64` instructions.
2497
+ (decl rev64 (Reg VectorSize) Reg)
2498
+ (rule (rev64 x size) (vec_misc (VecMisc2.Rev64) x size))
2499
+
2500
+ ;; Helper for generating `xtn` instructions.
2501
+ (decl xtn (Reg ScalarSize) Reg)
2502
+ (rule (xtn x size) (vec_rr_narrow_low (VecRRNarrowOp.Xtn) x size))
2503
+
2504
+ ;; Helper for generating `fcvtn` instructions.
2505
+ (decl fcvtn (Reg ScalarSize) Reg)
2506
+ (rule (fcvtn x size) (vec_rr_narrow_low (VecRRNarrowOp.Fcvtn) x size))
2507
+
2508
+ ;; Helper for generating `sqxtn` instructions.
2509
+ (decl sqxtn (Reg ScalarSize) Reg)
2510
+ (rule (sqxtn x size) (vec_rr_narrow_low (VecRRNarrowOp.Sqxtn) x size))
2511
+
2512
+ ;; Helper for generating `sqxtn2` instructions.
2513
+ (decl sqxtn2 (Reg Reg ScalarSize) Reg)
2514
+ (rule (sqxtn2 x y size) (vec_rr_narrow_high (VecRRNarrowOp.Sqxtn) x y size))
2515
+
2516
+ ;; Helper for generating `sqxtun` instructions.
2517
+ (decl sqxtun (Reg ScalarSize) Reg)
2518
+ (rule (sqxtun x size) (vec_rr_narrow_low (VecRRNarrowOp.Sqxtun) x size))
2519
+
2520
+ ;; Helper for generating `sqxtun2` instructions.
2521
+ (decl sqxtun2 (Reg Reg ScalarSize) Reg)
2522
+ (rule (sqxtun2 x y size) (vec_rr_narrow_high (VecRRNarrowOp.Sqxtun) x y size))
2523
+
2524
+ ;; Helper for generating `uqxtn` instructions.
2525
+ (decl uqxtn (Reg ScalarSize) Reg)
2526
+ (rule (uqxtn x size) (vec_rr_narrow_low (VecRRNarrowOp.Uqxtn) x size))
2527
+
2528
+ ;; Helper for generating `uqxtn2` instructions.
2529
+ (decl uqxtn2 (Reg Reg ScalarSize) Reg)
2530
+ (rule (uqxtn2 x y size) (vec_rr_narrow_high (VecRRNarrowOp.Uqxtn) x y size))
2531
+
2532
+ ;; Helper for generating `fence` instructions.
2533
+ (decl aarch64_fence () SideEffectNoResult)
2534
+ (rule (aarch64_fence)
2535
+ (SideEffectNoResult.Inst (MInst.Fence)))
2536
+
2537
+ ;; Helper for generating `csdb` instructions.
2538
+ (decl csdb () SideEffectNoResult)
2539
+ (rule (csdb)
2540
+ (SideEffectNoResult.Inst (MInst.Csdb)))
2541
+
2542
+ ;; Helper for generating `brk` instructions.
2543
+ (decl brk () SideEffectNoResult)
2544
+ (rule (brk)
2545
+ (SideEffectNoResult.Inst (MInst.Brk)))
2546
+
2547
+ ;; Helper for generating `addp` instructions.
2548
+ (decl addp (Reg Reg VectorSize) Reg)
2549
+ (rule (addp x y size) (vec_rrr (VecALUOp.Addp) x y size))
2550
+
2551
+ ;; Helper for generating `zip1` instructions.
2552
+ (decl zip1 (Reg Reg VectorSize) Reg)
2553
+ (rule (zip1 x y size) (vec_rrr (VecALUOp.Zip1) x y size))
2554
+
2555
+ ;; Helper for generating vector `abs` instructions.
2556
+ (decl vec_abs (Reg VectorSize) Reg)
2557
+ (rule (vec_abs x size) (vec_misc (VecMisc2.Abs) x size))
2558
+
2559
+ ;; Helper for generating instruction sequences to calculate a scalar absolute
2560
+ ;; value.
2561
+ (decl abs (OperandSize Reg) Reg)
2562
+ (rule (abs size x)
2563
+ (value_regs_get (with_flags (cmp_imm size x (u8_into_imm12 0))
2564
+ (csneg (Cond.Gt) x x)) 0))
2565
+
2566
+ ;; Helper for generating `addv` instructions.
2567
+ (decl addv (Reg VectorSize) Reg)
2568
+ (rule (addv x size) (vec_lanes (VecLanesOp.Addv) x size))
2569
+
2570
+ ;; Helper for generating `shll32` instructions.
2571
+ (decl shll32 (Reg bool) Reg)
2572
+ (rule (shll32 x high_half) (vec_rr_long (VecRRLongOp.Shll32) x high_half))
2573
+
2574
+ ;; Helpers for generating `addlp` instructions.
2575
+
2576
+ (decl saddlp8 (Reg) Reg)
2577
+ (rule (saddlp8 x) (vec_rr_pair_long (VecRRPairLongOp.Saddlp8) x))
2578
+
2579
+ (decl saddlp16 (Reg) Reg)
2580
+ (rule (saddlp16 x) (vec_rr_pair_long (VecRRPairLongOp.Saddlp16) x))
2581
+
2582
+ (decl uaddlp8 (Reg) Reg)
2583
+ (rule (uaddlp8 x) (vec_rr_pair_long (VecRRPairLongOp.Uaddlp8) x))
2584
+
2585
+ (decl uaddlp16 (Reg) Reg)
2586
+ (rule (uaddlp16 x) (vec_rr_pair_long (VecRRPairLongOp.Uaddlp16) x))
2587
+
2588
+ ;; Helper for generating `umlal32` instructions.
2589
+ (decl umlal32 (Reg Reg Reg bool) Reg)
2590
+ (rule (umlal32 x y z high_half) (vec_rrrr_long (VecRRRLongModOp.Umlal32) x y z high_half))
2591
+
2592
+ ;; Helper for generating `smull8` instructions.
2593
+ (decl smull8 (Reg Reg bool) Reg)
2594
+ (rule (smull8 x y high_half) (vec_rrr_long (VecRRRLongOp.Smull8) x y high_half))
2595
+
2596
+ ;; Helper for generating `umull8` instructions.
2597
+ (decl umull8 (Reg Reg bool) Reg)
2598
+ (rule (umull8 x y high_half) (vec_rrr_long (VecRRRLongOp.Umull8) x y high_half))
2599
+
2600
+ ;; Helper for generating `smull16` instructions.
2601
+ (decl smull16 (Reg Reg bool) Reg)
2602
+ (rule (smull16 x y high_half) (vec_rrr_long (VecRRRLongOp.Smull16) x y high_half))
2603
+
2604
+ ;; Helper for generating `umull16` instructions.
2605
+ (decl umull16 (Reg Reg bool) Reg)
2606
+ (rule (umull16 x y high_half) (vec_rrr_long (VecRRRLongOp.Umull16) x y high_half))
2607
+
2608
+ ;; Helper for generating `smull32` instructions.
2609
+ (decl smull32 (Reg Reg bool) Reg)
2610
+ (rule (smull32 x y high_half) (vec_rrr_long (VecRRRLongOp.Smull32) x y high_half))
2611
+
2612
+ ;; Helper for generating `umull32` instructions.
2613
+ (decl umull32 (Reg Reg bool) Reg)
2614
+ (rule (umull32 x y high_half) (vec_rrr_long (VecRRRLongOp.Umull32) x y high_half))
2615
+
2616
+ ;; Helper for generating `asr` instructions.
2617
+ (decl asr (Type Reg Reg) Reg)
2618
+ (rule (asr ty x y) (alu_rrr (ALUOp.Asr) ty x y))
2619
+
2620
+ (decl asr_imm (Type Reg ImmShift) Reg)
2621
+ (rule (asr_imm ty x imm) (alu_rr_imm_shift (ALUOp.Asr) ty x imm))
2622
+
2623
+ ;; Helper for generating `lsr` instructions.
2624
+ (decl lsr (Type Reg Reg) Reg)
2625
+ (rule (lsr ty x y) (alu_rrr (ALUOp.Lsr) ty x y))
2626
+
2627
+ (decl lsr_imm (Type Reg ImmShift) Reg)
2628
+ (rule (lsr_imm ty x imm) (alu_rr_imm_shift (ALUOp.Lsr) ty x imm))
2629
+
2630
+ ;; Helper for generating `lsl` instructions.
2631
+ (decl lsl (Type Reg Reg) Reg)
2632
+ (rule (lsl ty x y) (alu_rrr (ALUOp.Lsl) ty x y))
2633
+
2634
+ (decl lsl_imm (Type Reg ImmShift) Reg)
2635
+ (rule (lsl_imm ty x imm) (alu_rr_imm_shift (ALUOp.Lsl) ty x imm))
2636
+
2637
+ ;; Helper for generating `udiv` instructions.
2638
+ (decl a64_udiv (Type Reg Reg) Reg)
2639
+ (rule (a64_udiv ty x y) (alu_rrr (ALUOp.UDiv) ty x y))
2640
+
2641
+ ;; Helper for generating `sdiv` instructions.
2642
+ (decl a64_sdiv (Type Reg Reg) Reg)
2643
+ (rule (a64_sdiv ty x y) (alu_rrr (ALUOp.SDiv) ty x y))
2644
+
2645
+ ;; Helper for generating `not` instructions.
2646
+ (decl not (Reg VectorSize) Reg)
2647
+ (rule (not x size) (vec_misc (VecMisc2.Not) x size))
2648
+
2649
+ ;; Helpers for generating `orr_not` instructions.
2650
+
2651
+ (decl orr_not (Type Reg Reg) Reg)
2652
+ (rule (orr_not ty x y) (alu_rrr (ALUOp.OrrNot) ty x y))
2653
+
2654
+ (decl orr_not_shift (Type Reg Reg ShiftOpAndAmt) Reg)
2655
+ (rule (orr_not_shift ty x y shift) (alu_rrr_shift (ALUOp.OrrNot) ty x y shift))
2656
+
2657
+ ;; Helpers for generating `orr` instructions.
2658
+
2659
+ (decl orr (Type Reg Reg) Reg)
2660
+ (rule (orr ty x y) (alu_rrr (ALUOp.Orr) ty x y))
2661
+
2662
+ (decl orr_imm (Type Reg ImmLogic) Reg)
2663
+ (rule (orr_imm ty x y) (alu_rr_imm_logic (ALUOp.Orr) ty x y))
2664
+
2665
+ (decl orr_shift (Type Reg Reg ShiftOpAndAmt) Reg)
2666
+ (rule (orr_shift ty x y shift) (alu_rrr_shift (ALUOp.Orr) ty x y shift))
2667
+
2668
+ (decl orr_vec (Reg Reg VectorSize) Reg)
2669
+ (rule (orr_vec x y size) (vec_rrr (VecALUOp.Orr) x y size))
2670
+
2671
+ ;; Helpers for generating `and` instructions.
2672
+
2673
+ (decl and_reg (Type Reg Reg) Reg)
2674
+ (rule (and_reg ty x y) (alu_rrr (ALUOp.And) ty x y))
2675
+
2676
+ (decl and_imm (Type Reg ImmLogic) Reg)
2677
+ (rule (and_imm ty x y) (alu_rr_imm_logic (ALUOp.And) ty x y))
2678
+
2679
+ (decl and_vec (Reg Reg VectorSize) Reg)
2680
+ (rule (and_vec x y size) (vec_rrr (VecALUOp.And) x y size))
2681
+
2682
+ ;; Helpers for generating `eor` instructions.
2683
+ (decl eor_vec (Reg Reg VectorSize) Reg)
2684
+ (rule (eor_vec x y size) (vec_rrr (VecALUOp.Eor) x y size))
2685
+
2686
+ ;; Helpers for generating `bic` instructions.
2687
+
2688
+ (decl bic (Type Reg Reg) Reg)
2689
+ (rule (bic ty x y) (alu_rrr (ALUOp.AndNot) ty x y))
2690
+
2691
+ (decl bic_vec (Reg Reg VectorSize) Reg)
2692
+ (rule (bic_vec x y size) (vec_rrr (VecALUOp.Bic) x y size))
2693
+
2694
+ ;; Helpers for generating `sshl` instructions.
2695
+ (decl sshl (Reg Reg VectorSize) Reg)
2696
+ (rule (sshl x y size) (vec_rrr (VecALUOp.Sshl) x y size))
2697
+
2698
+ ;; Helpers for generating `ushl` instructions.
2699
+ (decl ushl (Reg Reg VectorSize) Reg)
2700
+ (rule (ushl x y size) (vec_rrr (VecALUOp.Ushl) x y size))
2701
+
2702
+ ;; Helpers for generating `ushl` instructions.
2703
+ (decl ushl_vec_imm (Reg u8 VectorSize) Reg)
2704
+ (rule (ushl_vec_imm x amt size) (vec_shift_imm (VecShiftImmOp.Shl) amt x size))
2705
+
2706
+ ;; Helpers for generating `ushr` instructions.
2707
+ (decl ushr_vec_imm (Reg u8 VectorSize) Reg)
2708
+ (rule (ushr_vec_imm x amt size) (vec_shift_imm (VecShiftImmOp.Ushr) amt x size))
2709
+
2710
+ ;; Helpers for generating `sshr` instructions.
2711
+ (decl sshr_vec_imm (Reg u8 VectorSize) Reg)
2712
+ (rule (sshr_vec_imm x amt size) (vec_shift_imm (VecShiftImmOp.Sshr) amt x size))
2713
+
2714
+ ;; Helpers for generating `rotr` instructions.
2715
+
2716
+ (decl a64_rotr (Type Reg Reg) Reg)
2717
+ (rule (a64_rotr ty x y) (alu_rrr (ALUOp.RotR) ty x y))
2718
+
2719
+ (decl a64_rotr_imm (Type Reg ImmShift) Reg)
2720
+ (rule (a64_rotr_imm ty x y) (alu_rr_imm_shift (ALUOp.RotR) ty x y))
2721
+
2722
+ ;; Helpers for generating `rbit` instructions.
2723
+
2724
+ (decl rbit (Type Reg) Reg)
2725
+ (rule (rbit ty x) (bit_rr (BitOp.RBit) ty x))
2726
+
2727
+ ;; Helpers for generating `clz` instructions.
2728
+
2729
+ (decl a64_clz (Type Reg) Reg)
2730
+ (rule (a64_clz ty x) (bit_rr (BitOp.Clz) ty x))
2731
+
2732
+ ;; Helpers for generating `cls` instructions.
2733
+
2734
+ (decl a64_cls (Type Reg) Reg)
2735
+ (rule (a64_cls ty x) (bit_rr (BitOp.Cls) ty x))
2736
+
2737
+ ;; Helpers for generating `rev` instructions
2738
+
2739
+ (decl a64_rev16 (Type Reg) Reg)
2740
+ (rule (a64_rev16 ty x) (bit_rr (BitOp.Rev16) ty x))
2741
+
2742
+ (decl a64_rev32 (Type Reg) Reg)
2743
+ (rule (a64_rev32 ty x) (bit_rr (BitOp.Rev32) ty x))
2744
+
2745
+ (decl a64_rev64 (Type Reg) Reg)
2746
+ (rule (a64_rev64 ty x) (bit_rr (BitOp.Rev64) ty x))
2747
+
2748
+ ;; Helpers for generating `eon` instructions.
2749
+
2750
+ (decl eon (Type Reg Reg) Reg)
2751
+ (rule (eon ty x y) (alu_rrr (ALUOp.EorNot) ty x y))
2752
+
2753
+ ;; Helpers for generating `cnt` instructions.
2754
+
2755
+ (decl vec_cnt (Reg VectorSize) Reg)
2756
+ (rule (vec_cnt x size) (vec_misc (VecMisc2.Cnt) x size))
2757
+
2758
+ ;; Helpers for generating a `bsl` instruction.
2759
+
2760
+ (decl bsl (Type Reg Reg Reg) Reg)
2761
+ (rule (bsl ty c x y)
2762
+ (vec_rrr_mod (VecALUModOp.Bsl) c x y (vector_size ty)))
2763
+
2764
+ ;; Helper for generating a `udf` instruction.
2765
+
2766
+ (decl udf (TrapCode) SideEffectNoResult)
2767
+ (rule (udf trap_code)
2768
+ (SideEffectNoResult.Inst (MInst.Udf trap_code)))
2769
+
2770
+ ;; Helpers for generating various load instructions, with varying
2771
+ ;; widths and sign/zero-extending properties.
2772
+ (decl aarch64_uload8 (AMode MemFlags) Reg)
2773
+ (rule (aarch64_uload8 amode flags)
2774
+ (let ((dst WritableReg (temp_writable_reg $I64))
2775
+ (_ Unit (emit (MInst.ULoad8 dst amode flags))))
2776
+ dst))
2777
+ (decl aarch64_sload8 (AMode MemFlags) Reg)
2778
+ (rule (aarch64_sload8 amode flags)
2779
+ (let ((dst WritableReg (temp_writable_reg $I64))
2780
+ (_ Unit (emit (MInst.SLoad8 dst amode flags))))
2781
+ dst))
2782
+ (decl aarch64_uload16 (AMode MemFlags) Reg)
2783
+ (rule (aarch64_uload16 amode flags)
2784
+ (let ((dst WritableReg (temp_writable_reg $I64))
2785
+ (_ Unit (emit (MInst.ULoad16 dst amode flags))))
2786
+ dst))
2787
+ (decl aarch64_sload16 (AMode MemFlags) Reg)
2788
+ (rule (aarch64_sload16 amode flags)
2789
+ (let ((dst WritableReg (temp_writable_reg $I64))
2790
+ (_ Unit (emit (MInst.SLoad16 dst amode flags))))
2791
+ dst))
2792
+ (decl aarch64_uload32 (AMode MemFlags) Reg)
2793
+ (rule (aarch64_uload32 amode flags)
2794
+ (let ((dst WritableReg (temp_writable_reg $I64))
2795
+ (_ Unit (emit (MInst.ULoad32 dst amode flags))))
2796
+ dst))
2797
+ (decl aarch64_sload32 (AMode MemFlags) Reg)
2798
+ (rule (aarch64_sload32 amode flags)
2799
+ (let ((dst WritableReg (temp_writable_reg $I64))
2800
+ (_ Unit (emit (MInst.SLoad32 dst amode flags))))
2801
+ dst))
2802
+ (decl aarch64_uload64 (AMode MemFlags) Reg)
2803
+ (rule (aarch64_uload64 amode flags)
2804
+ (let ((dst WritableReg (temp_writable_reg $I64))
2805
+ (_ Unit (emit (MInst.ULoad64 dst amode flags))))
2806
+ dst))
2807
+ (decl aarch64_fpuload32 (AMode MemFlags) Reg)
2808
+ (rule (aarch64_fpuload32 amode flags)
2809
+ (let ((dst WritableReg (temp_writable_reg $F64))
2810
+ (_ Unit (emit (MInst.FpuLoad32 dst amode flags))))
2811
+ dst))
2812
+ (decl aarch64_fpuload64 (AMode MemFlags) Reg)
2813
+ (rule (aarch64_fpuload64 amode flags)
2814
+ (let ((dst WritableReg (temp_writable_reg $F64))
2815
+ (_ Unit (emit (MInst.FpuLoad64 dst amode flags))))
2816
+ dst))
2817
+ (decl aarch64_fpuload128 (AMode MemFlags) Reg)
2818
+ (rule (aarch64_fpuload128 amode flags)
2819
+ (let ((dst WritableReg (temp_writable_reg $F64X2))
2820
+ (_ Unit (emit (MInst.FpuLoad128 dst amode flags))))
2821
+ dst))
2822
+ (decl aarch64_loadp64 (PairAMode MemFlags) ValueRegs)
2823
+ (rule (aarch64_loadp64 amode flags)
2824
+ (let ((dst1 WritableReg (temp_writable_reg $I64))
2825
+ (dst2 WritableReg (temp_writable_reg $I64))
2826
+ (_ Unit (emit (MInst.LoadP64 dst1 dst2 amode flags))))
2827
+ (value_regs dst1 dst2)))
2828
+
2829
+ ;; Helpers for generating various store instructions with varying
2830
+ ;; widths.
2831
+ (decl aarch64_store8 (AMode MemFlags Reg) SideEffectNoResult)
2832
+ (rule (aarch64_store8 amode flags val)
2833
+ (SideEffectNoResult.Inst (MInst.Store8 val amode flags)))
2834
+ (decl aarch64_store16 (AMode MemFlags Reg) SideEffectNoResult)
2835
+ (rule (aarch64_store16 amode flags val)
2836
+ (SideEffectNoResult.Inst (MInst.Store16 val amode flags)))
2837
+ (decl aarch64_store32 (AMode MemFlags Reg) SideEffectNoResult)
2838
+ (rule (aarch64_store32 amode flags val)
2839
+ (SideEffectNoResult.Inst (MInst.Store32 val amode flags)))
2840
+ (decl aarch64_store64 (AMode MemFlags Reg) SideEffectNoResult)
2841
+ (rule (aarch64_store64 amode flags val)
2842
+ (SideEffectNoResult.Inst (MInst.Store64 val amode flags)))
2843
+ (decl aarch64_fpustore32 (AMode MemFlags Reg) SideEffectNoResult)
2844
+ (rule (aarch64_fpustore32 amode flags val)
2845
+ (SideEffectNoResult.Inst (MInst.FpuStore32 val amode flags)))
2846
+ (decl aarch64_fpustore64 (AMode MemFlags Reg) SideEffectNoResult)
2847
+ (rule (aarch64_fpustore64 amode flags val)
2848
+ (SideEffectNoResult.Inst (MInst.FpuStore64 val amode flags)))
2849
+ (decl aarch64_fpustore128 (AMode MemFlags Reg) SideEffectNoResult)
2850
+ (rule (aarch64_fpustore128 amode flags val)
2851
+ (SideEffectNoResult.Inst (MInst.FpuStore128 val amode flags)))
2852
+ (decl aarch64_storep64 (PairAMode MemFlags Reg Reg) SideEffectNoResult)
2853
+ (rule (aarch64_storep64 amode flags val1 val2)
2854
+ (SideEffectNoResult.Inst (MInst.StoreP64 val1 val2 amode flags)))
2855
+
2856
+ ;; Helper for generating a `trapif` instruction.
2857
+
2858
+ (decl trap_if (ProducesFlags TrapCode Cond) InstOutput)
2859
+ (rule (trap_if flags trap_code cond)
2860
+ (side_effect
2861
+ (with_flags_side_effect flags
2862
+ (ConsumesFlags.ConsumesFlagsSideEffect
2863
+ (MInst.TrapIf (cond_br_cond cond) trap_code)))))
2864
+
2865
+ ;; Immediate value helpers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2866
+
2867
+ ;; Type of extension performed by an immediate helper
2868
+ (type ImmExtend
2869
+ (enum
2870
+ (Sign)
2871
+ (Zero)))
2872
+
2873
+ ;; Arguments:
2874
+ ;; * Immediate type
2875
+ ;; * Way to extend the immediate value to the full width of the destination
2876
+ ;; register
2877
+ ;; * Immediate value - only the bits that fit within the type are used and
2878
+ ;; extended, while the rest are ignored
2879
+ ;;
2880
+ ;; Note that, unlike the convention in the AArch64 backend, this helper leaves
2881
+ ;; all bits in the destination register in a defined state, i.e. smaller types
2882
+ ;; such as `I8` are either sign- or zero-extended.
2883
+ (decl imm (Type ImmExtend u64) Reg)
2884
+
2885
+ ;; Move wide immediate instructions; to simplify, we only match when we
2886
+ ;; are zero-extending the value.
2887
+ (rule 3 (imm (integral_ty ty) (ImmExtend.Zero) k)
2888
+ (if-let n (move_wide_const_from_u64 ty k))
2889
+ (movz n (operand_size ty)))
2890
+ (rule 2 (imm (integral_ty (ty_32_or_64 ty)) (ImmExtend.Zero) k)
2891
+ (if-let n (move_wide_const_from_inverted_u64 ty k))
2892
+ (movn n (operand_size ty)))
2893
+
2894
+ ;; Weird logical-instruction immediate in ORI using zero register; to simplify,
2895
+ ;; we only match when we are zero-extending the value.
2896
+ (rule 1 (imm (integral_ty ty) (ImmExtend.Zero) k)
2897
+ (if-let n (imm_logic_from_u64 ty k))
2898
+ (orr_imm ty (zero_reg) n))
2899
+
2900
+ (decl load_constant64_full (Type ImmExtend u64) Reg)
2901
+ (extern constructor load_constant64_full load_constant64_full)
2902
+
2903
+ ;; Fallback for integral 64-bit constants
2904
+ (rule (imm (integral_ty ty) extend n)
2905
+ (load_constant64_full ty extend n))
2906
+
2907
+ ;; Sign extension helpers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2908
+
2909
+ ;; Place a `Value` into a register, sign extending it to 32-bits
2910
+ (decl put_in_reg_sext32 (Value) Reg)
2911
+ (rule -1 (put_in_reg_sext32 val @ (value_type (fits_in_32 ty)))
2912
+ (extend val $true (ty_bits ty) 32))
2913
+
2914
+ ;; 32/64-bit passthrough.
2915
+ (rule (put_in_reg_sext32 val @ (value_type $I32)) val)
2916
+ (rule (put_in_reg_sext32 val @ (value_type $I64)) val)
2917
+
2918
+ ;; Place a `Value` into a register, zero extending it to 32-bits
2919
+ (decl put_in_reg_zext32 (Value) Reg)
2920
+ (rule -1 (put_in_reg_zext32 val @ (value_type (fits_in_32 ty)))
2921
+ (extend val $false (ty_bits ty) 32))
2922
+
2923
+ ;; 32/64-bit passthrough.
2924
+ (rule (put_in_reg_zext32 val @ (value_type $I32)) val)
2925
+ (rule (put_in_reg_zext32 val @ (value_type $I64)) val)
2926
+
2927
+ ;; Place a `Value` into a register, sign extending it to 64-bits
2928
+ (decl put_in_reg_sext64 (Value) Reg)
2929
+ (rule 1 (put_in_reg_sext64 val @ (value_type (fits_in_32 ty)))
2930
+ (extend val $true (ty_bits ty) 64))
2931
+
2932
+ ;; 64-bit passthrough.
2933
+ (rule (put_in_reg_sext64 val @ (value_type $I64)) val)
2934
+
2935
+ ;; Place a `Value` into a register, zero extending it to 64-bits
2936
+ (decl put_in_reg_zext64 (Value) Reg)
2937
+ (rule 1 (put_in_reg_zext64 val @ (value_type (fits_in_32 ty)))
2938
+ (extend val $false (ty_bits ty) 64))
2939
+
2940
+ ;; 64-bit passthrough.
2941
+ (rule (put_in_reg_zext64 val @ (value_type $I64)) val)
2942
+
2943
+ ;; Misc instruction helpers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2944
+
2945
+ (decl trap_if_zero_divisor (Reg) Reg)
2946
+ (rule (trap_if_zero_divisor reg)
2947
+ (let ((_ Unit (emit (MInst.TrapIf (cond_br_zero reg) (trap_code_division_by_zero)))))
2948
+ reg))
2949
+
2950
+ (decl size_from_ty (Type) OperandSize)
2951
+ (rule 1 (size_from_ty (fits_in_32 _ty)) (OperandSize.Size32))
2952
+ (rule (size_from_ty $I64) (OperandSize.Size64))
2953
+
2954
+ ;; Check for signed overflow. The only case is min_value / -1.
2955
+ ;; The following checks must be done in 32-bit or 64-bit, depending
2956
+ ;; on the input type.
2957
+ (decl trap_if_div_overflow (Type Reg Reg) Reg)
2958
+ (rule (trap_if_div_overflow ty x y)
2959
+ (let (
2960
+ ;; Check RHS is -1.
2961
+ (_ Unit (emit (MInst.AluRRImm12 (ALUOp.AddS) (operand_size ty) (writable_zero_reg) y (u8_into_imm12 1))))
2962
+
2963
+ ;; Check LHS is min_value, by subtracting 1 and branching if
2964
+ ;; there is overflow.
2965
+ (_ Unit (emit (MInst.CCmpImm (size_from_ty ty)
2966
+ x
2967
+ (u8_into_uimm5 1)
2968
+ (nzcv $false $false $false $false)
2969
+ (Cond.Eq))))
2970
+ (_ Unit (emit (MInst.TrapIf (cond_br_cond (Cond.Vs))
2971
+ (trap_code_integer_overflow))))
2972
+ )
2973
+ x))
2974
+
2975
+ ;; Check for unsigned overflow.
2976
+ (decl trap_if_overflow (ProducesFlags TrapCode) Reg)
2977
+ (rule (trap_if_overflow producer tc)
2978
+ (with_flags_reg
2979
+ producer
2980
+ (ConsumesFlags.ConsumesFlagsSideEffect
2981
+ (MInst.TrapIf (cond_br_cond (Cond.Hs)) tc))))
2982
+
2983
+ (decl sink_atomic_load (Inst) Reg)
2984
+ (rule (sink_atomic_load x @ (atomic_load _ addr))
2985
+ (let ((_ Unit (sink_inst x)))
2986
+ (put_in_reg addr)))
2987
+
2988
+ ;; Helper for generating either an `AluRRR`, `AluRRRShift`, or `AluRRImmLogic`
2989
+ ;; instruction depending on the input. Note that this requires that the `ALUOp`
2990
+ ;; specified is commutative.
2991
+ (decl alu_rs_imm_logic_commutative (ALUOp Type Value Value) Reg)
2992
+
2993
+ ;; Base case of operating on registers.
2994
+ (rule -1 (alu_rs_imm_logic_commutative op ty x y)
2995
+ (alu_rrr op ty x y))
2996
+
2997
+ ;; Special cases for when one operand is a constant.
2998
+ (rule (alu_rs_imm_logic_commutative op ty x (iconst k))
2999
+ (if-let imm (imm_logic_from_imm64 ty k))
3000
+ (alu_rr_imm_logic op ty x imm))
3001
+ (rule 1 (alu_rs_imm_logic_commutative op ty (iconst k) x)
3002
+ (if-let imm (imm_logic_from_imm64 ty k))
3003
+ (alu_rr_imm_logic op ty x imm))
3004
+
3005
+ ;; Special cases for when one operand is shifted left by a constant.
3006
+ (rule (alu_rs_imm_logic_commutative op ty x (ishl y (iconst k)))
3007
+ (if-let amt (lshl_from_imm64 ty k))
3008
+ (alu_rrr_shift op ty x y amt))
3009
+ (rule 1 (alu_rs_imm_logic_commutative op ty (ishl x (iconst k)) y)
3010
+ (if-let amt (lshl_from_imm64 ty k))
3011
+ (alu_rrr_shift op ty y x amt))
3012
+
3013
+ ;; Same as `alu_rs_imm_logic_commutative` above, except that it doesn't require
3014
+ ;; that the operation is commutative.
3015
+ (decl alu_rs_imm_logic (ALUOp Type Value Value) Reg)
3016
+ (rule -1 (alu_rs_imm_logic op ty x y)
3017
+ (alu_rrr op ty x y))
3018
+ (rule (alu_rs_imm_logic op ty x (iconst k))
3019
+ (if-let imm (imm_logic_from_imm64 ty k))
3020
+ (alu_rr_imm_logic op ty x imm))
3021
+ (rule (alu_rs_imm_logic op ty x (ishl y (iconst k)))
3022
+ (if-let amt (lshl_from_imm64 ty k))
3023
+ (alu_rrr_shift op ty x y amt))
3024
+
3025
+ ;; Helper for generating i128 bitops which simply do the same operation to the
3026
+ ;; hi/lo registers.
3027
+ ;;
3028
+ ;; TODO: Support immlogic here
3029
+ (decl i128_alu_bitop (ALUOp Type Value Value) ValueRegs)
3030
+ (rule (i128_alu_bitop op ty x y)
3031
+ (let (
3032
+ (x_regs ValueRegs (put_in_regs x))
3033
+ (x_lo Reg (value_regs_get x_regs 0))
3034
+ (x_hi Reg (value_regs_get x_regs 1))
3035
+ (y_regs ValueRegs (put_in_regs y))
3036
+ (y_lo Reg (value_regs_get y_regs 0))
3037
+ (y_hi Reg (value_regs_get y_regs 1))
3038
+ )
3039
+ (value_regs
3040
+ (alu_rrr op ty x_lo y_lo)
3041
+ (alu_rrr op ty x_hi y_hi))))
3042
+
3043
+ ;; Helper for emitting `MInst.VecLoadReplicate` instructions.
3044
+ (decl ld1r (Reg VectorSize MemFlags) Reg)
3045
+ (rule (ld1r src size flags)
3046
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
3047
+ (_ Unit (emit (MInst.VecLoadReplicate dst src size flags))))
3048
+ dst))
3049
+
3050
+ ;; Helper for emitting `MInst.LoadExtName` instructions.
3051
+ (decl load_ext_name (BoxExternalName i64) Reg)
3052
+ (rule (load_ext_name extname offset)
3053
+ (let ((dst WritableReg (temp_writable_reg $I64))
3054
+ (_ Unit (emit (MInst.LoadExtName dst extname offset))))
3055
+ dst))
3056
+
3057
+ ;; Lower the address of a load or a store.
3058
+ (decl amode (Type Value u32) AMode)
3059
+ ;; TODO: Port lower_address() to ISLE.
3060
+ (extern constructor amode amode)
3061
+
3062
+ (decl sink_load_into_addr (Type Inst) Reg)
3063
+ (rule (sink_load_into_addr ty x @ (load _ addr (offset32 offset)))
3064
+ (let ((_ Unit (sink_inst x)))
3065
+ (add_imm_to_addr addr offset)))
3066
+
3067
+ (decl add_imm_to_addr (Reg u64) Reg)
3068
+ (rule 2 (add_imm_to_addr val 0) val)
3069
+ (rule 1 (add_imm_to_addr val (imm12_from_u64 imm)) (add_imm $I64 val imm))
3070
+ (rule 0 (add_imm_to_addr val offset) (add $I64 val (imm $I64 (ImmExtend.Zero) offset)))
3071
+
3072
+ ;; Lower a constant f32.
3073
+ ;;
3074
+ ;; Note that we must make sure that all bits outside the lowest 32 are set to 0
3075
+ ;; because this function is also used to load wider constants (that have zeros
3076
+ ;; in their most significant bits).
3077
+ (decl constant_f32 (u32) Reg)
3078
+ (rule 2 (constant_f32 0)
3079
+ (vec_dup_imm (asimd_mov_mod_imm_zero (ScalarSize.Size32))
3080
+ $false
3081
+ (VectorSize.Size32x2)))
3082
+ (rule 1 (constant_f32 n)
3083
+ (if-let imm (asimd_fp_mod_imm_from_u64 n (ScalarSize.Size32)))
3084
+ (fpu_move_fp_imm imm (ScalarSize.Size32)))
3085
+ (rule (constant_f32 n)
3086
+ (mov_to_fpu (imm $I32 (ImmExtend.Zero) n) (ScalarSize.Size32)))
3087
+
3088
+ ;; Lower a constant f64.
3089
+ ;;
3090
+ ;; Note that we must make sure that all bits outside the lowest 64 are set to 0
3091
+ ;; because this function is also used to load wider constants (that have zeros
3092
+ ;; in their most significant bits).
3093
+ ;; TODO: Treat as half of a 128 bit vector and consider replicated patterns.
3094
+ ;; Scalar MOVI might also be an option.
3095
+ (decl constant_f64 (u64) Reg)
3096
+ (rule 4 (constant_f64 0)
3097
+ (vec_dup_imm (asimd_mov_mod_imm_zero (ScalarSize.Size32))
3098
+ $false
3099
+ (VectorSize.Size32x2)))
3100
+ (rule 3 (constant_f64 n)
3101
+ (if-let imm (asimd_fp_mod_imm_from_u64 n (ScalarSize.Size64)))
3102
+ (fpu_move_fp_imm imm (ScalarSize.Size64)))
3103
+ (rule 2 (constant_f64 (u64_as_u32 n))
3104
+ (constant_f32 n))
3105
+ (rule 1 (constant_f64 (u64_low32_bits_unset n))
3106
+ (mov_to_fpu (imm $I64 (ImmExtend.Zero) n) (ScalarSize.Size64)))
3107
+ (rule (constant_f64 n)
3108
+ (fpu_load64 (AMode.Const (emit_u64_le_const n)) (mem_flags_trusted)))
3109
+
3110
+ ;; Tests whether the low 32 bits in the input are all zero.
3111
+ (decl u64_low32_bits_unset (u64) u64)
3112
+ (extern extractor u64_low32_bits_unset u64_low32_bits_unset)
3113
+
3114
+ ;; Lower a constant f128.
3115
+ (decl constant_f128 (u128) Reg)
3116
+ (rule 3 (constant_f128 0)
3117
+ (vec_dup_imm (asimd_mov_mod_imm_zero (ScalarSize.Size8))
3118
+ $false
3119
+ (VectorSize.Size8x16)))
3120
+
3121
+ ;; If the upper 64-bits are all zero then defer to `constant_f64`.
3122
+ (rule 2 (constant_f128 (u128_as_u64 n)) (constant_f64 n))
3123
+
3124
+ ;; If the low half of the u128 equals the high half then delegate to the splat
3125
+ ;; logic as a splat of a 64-bit value.
3126
+ (rule 1 (constant_f128 (u128_replicated_u64 n))
3127
+ (splat_const n (VectorSize.Size64x2)))
3128
+
3129
+ ;; Base case is to load the constant from memory.
3130
+ (rule (constant_f128 n)
3131
+ (fpu_load128 (AMode.Const (emit_u128_le_const n)) (mem_flags_trusted)))
3132
+
3133
+ ;; Lower a vector splat with a constant parameter.
3134
+ ;;
3135
+ ;; The 64-bit input here only uses the low bits for the lane size in
3136
+ ;; `VectorSize` and all other bits are ignored.
3137
+ (decl splat_const (u64 VectorSize) Reg)
3138
+
3139
+ ;; If the splat'd constant can itself be reduced in size then attempt to do so
3140
+ ;; as it will make it easier to create the immediates in the instructions below.
3141
+ (rule 5 (splat_const (u64_replicated_u32 n) (VectorSize.Size64x2))
3142
+ (splat_const n (VectorSize.Size32x4)))
3143
+ (rule 5 (splat_const (u32_replicated_u16 n) (VectorSize.Size32x4))
3144
+ (splat_const n (VectorSize.Size16x8)))
3145
+ (rule 5 (splat_const (u32_replicated_u16 n) (VectorSize.Size32x2))
3146
+ (splat_const n (VectorSize.Size16x4)))
3147
+ (rule 5 (splat_const (u16_replicated_u8 n) (VectorSize.Size16x8))
3148
+ (splat_const n (VectorSize.Size8x16)))
3149
+ (rule 5 (splat_const (u16_replicated_u8 n) (VectorSize.Size16x4))
3150
+ (splat_const n (VectorSize.Size8x8)))
3151
+
3152
+ ;; Special cases for `vec_dup_imm` instructions where the input is either
3153
+ ;; negated or not.
3154
+ (rule 4 (splat_const n size)
3155
+ (if-let imm (asimd_mov_mod_imm_from_u64 n (vector_lane_size size)))
3156
+ (vec_dup_imm imm $false size))
3157
+ (rule 3 (splat_const n size)
3158
+ (if-let imm (asimd_mov_mod_imm_from_u64 (u64_not n) (vector_lane_size size)))
3159
+ (vec_dup_imm imm $true size))
3160
+
3161
+ ;; Special case a 32-bit splat where an immediate can be created by
3162
+ ;; concatenating the 32-bit constant into a 64-bit value
3163
+ (rule 2 (splat_const n (VectorSize.Size32x4))
3164
+ (if-let imm (asimd_mov_mod_imm_from_u64 (u64_or n (u64_shl n 32)) (ScalarSize.Size64)))
3165
+ (vec_dup_imm imm $false (VectorSize.Size64x2)))
3166
+ (rule 2 (splat_const n (VectorSize.Size32x2))
3167
+ (if-let imm (asimd_mov_mod_imm_from_u64 (u64_or n (u64_shl n 32)) (ScalarSize.Size64)))
3168
+ (fpu_extend (vec_dup_imm imm $false (VectorSize.Size64x2)) (ScalarSize.Size64)))
3169
+
3170
+ (rule 1 (splat_const n size)
3171
+ (if-let imm (asimd_fp_mod_imm_from_u64 n (vector_lane_size size)))
3172
+ (vec_dup_fp_imm imm size))
3173
+
3174
+ ;; The base case for splat is to use `vec_dup` with the immediate loaded into a
3175
+ ;; register.
3176
+ (rule (splat_const n size)
3177
+ (vec_dup (imm $I64 (ImmExtend.Zero) n) size))
3178
+
3179
+ ;; Each of these extractors tests whether the upper half of the input equals the
3180
+ ;; lower half of the input
3181
+ (decl u128_replicated_u64 (u64) u128)
3182
+ (extern extractor u128_replicated_u64 u128_replicated_u64)
3183
+ (decl u64_replicated_u32 (u64) u64)
3184
+ (extern extractor u64_replicated_u32 u64_replicated_u32)
3185
+ (decl u32_replicated_u16 (u64) u64)
3186
+ (extern extractor u32_replicated_u16 u32_replicated_u16)
3187
+ (decl u16_replicated_u8 (u64) u64)
3188
+ (extern extractor u16_replicated_u8 u16_replicated_u8)
3189
+
3190
+ ;; Lower a FloatCC to a Cond.
3191
+ (decl fp_cond_code (FloatCC) Cond)
3192
+ ;; TODO: Port lower_fp_condcode() to ISLE.
3193
+ (extern constructor fp_cond_code fp_cond_code)
3194
+
3195
+ ;; Lower an integer cond code.
3196
+ (decl cond_code (IntCC) Cond)
3197
+ ;; TODO: Port lower_condcode() to ISLE.
3198
+ (extern constructor cond_code cond_code)
3199
+
3200
+ ;; Invert a condition code.
3201
+ (decl invert_cond (Cond) Cond)
3202
+ ;; TODO: Port cond.invert() to ISLE.
3203
+ (extern constructor invert_cond invert_cond)
3204
+
3205
+ ;; Generate comparison to zero operator from input condition code
3206
+ (decl float_cc_cmp_zero_to_vec_misc_op (FloatCC) VecMisc2)
3207
+ (extern constructor float_cc_cmp_zero_to_vec_misc_op float_cc_cmp_zero_to_vec_misc_op)
3208
+
3209
+ (decl float_cc_cmp_zero_to_vec_misc_op_swap (FloatCC) VecMisc2)
3210
+ (extern constructor float_cc_cmp_zero_to_vec_misc_op_swap float_cc_cmp_zero_to_vec_misc_op_swap)
3211
+
3212
+ ;; Match valid generic compare to zero cases
3213
+ (decl fcmp_zero_cond (FloatCC) FloatCC)
3214
+ (extern extractor fcmp_zero_cond fcmp_zero_cond)
3215
+
3216
+ ;; Match not equal compare to zero separately as it requires two output instructions
3217
+ (decl fcmp_zero_cond_not_eq (FloatCC) FloatCC)
3218
+ (extern extractor fcmp_zero_cond_not_eq fcmp_zero_cond_not_eq)
3219
+
3220
+ ;; Helper for generating float compare to zero instructions where 2nd argument is zero
3221
+ (decl float_cmp_zero (FloatCC Reg VectorSize) Reg)
3222
+ (rule (float_cmp_zero cond rn size)
3223
+ (vec_misc (float_cc_cmp_zero_to_vec_misc_op cond) rn size))
3224
+
3225
+ ;; Helper for generating float compare to zero instructions in case where 1st argument is zero
3226
+ (decl float_cmp_zero_swap (FloatCC Reg VectorSize) Reg)
3227
+ (rule (float_cmp_zero_swap cond rn size)
3228
+ (vec_misc (float_cc_cmp_zero_to_vec_misc_op_swap cond) rn size))
3229
+
3230
+ ;; Helper for generating float compare equal to zero instruction
3231
+ (decl fcmeq0 (Reg VectorSize) Reg)
3232
+ (rule (fcmeq0 rn size)
3233
+ (vec_misc (VecMisc2.Fcmeq0) rn size))
3234
+
3235
+ ;; Generate comparison to zero operator from input condition code
3236
+ (decl int_cc_cmp_zero_to_vec_misc_op (IntCC) VecMisc2)
3237
+ (extern constructor int_cc_cmp_zero_to_vec_misc_op int_cc_cmp_zero_to_vec_misc_op)
3238
+
3239
+ (decl int_cc_cmp_zero_to_vec_misc_op_swap (IntCC) VecMisc2)
3240
+ (extern constructor int_cc_cmp_zero_to_vec_misc_op_swap int_cc_cmp_zero_to_vec_misc_op_swap)
3241
+
3242
+ ;; Match valid generic compare to zero cases
3243
+ (decl icmp_zero_cond (IntCC) IntCC)
3244
+ (extern extractor icmp_zero_cond icmp_zero_cond)
3245
+
3246
+ ;; Match not equal compare to zero separately as it requires two output instructions
3247
+ (decl icmp_zero_cond_not_eq (IntCC) IntCC)
3248
+ (extern extractor icmp_zero_cond_not_eq icmp_zero_cond_not_eq)
3249
+
3250
+ ;; Helper for generating int compare to zero instructions where 2nd argument is zero
3251
+ (decl int_cmp_zero (IntCC Reg VectorSize) Reg)
3252
+ (rule (int_cmp_zero cond rn size)
3253
+ (vec_misc (int_cc_cmp_zero_to_vec_misc_op cond) rn size))
3254
+
3255
+ ;; Helper for generating int compare to zero instructions in case where 1st argument is zero
3256
+ (decl int_cmp_zero_swap (IntCC Reg VectorSize) Reg)
3257
+ (rule (int_cmp_zero_swap cond rn size)
3258
+ (vec_misc (int_cc_cmp_zero_to_vec_misc_op_swap cond) rn size))
3259
+
3260
+ ;; Helper for generating int compare equal to zero instruction
3261
+ (decl cmeq0 (Reg VectorSize) Reg)
3262
+ (rule (cmeq0 rn size)
3263
+ (vec_misc (VecMisc2.Cmeq0) rn size))
3264
+
3265
+ ;; Helper for emitting `MInst.AtomicRMW` instructions.
3266
+ (decl lse_atomic_rmw (AtomicRMWOp Value Reg Type MemFlags) Reg)
3267
+ (rule (lse_atomic_rmw op p r_arg2 ty flags)
3268
+ (let (
3269
+ (r_addr Reg p)
3270
+ (dst WritableReg (temp_writable_reg ty))
3271
+ (_ Unit (emit (MInst.AtomicRMW op r_arg2 dst r_addr ty flags)))
3272
+ )
3273
+ dst))
3274
+
3275
+ ;; Helper for emitting `MInst.AtomicCAS` instructions.
3276
+ (decl lse_atomic_cas (Reg Reg Reg Type MemFlags) Reg)
3277
+ (rule (lse_atomic_cas addr expect replace ty flags)
3278
+ (let (
3279
+ (dst WritableReg (temp_writable_reg ty))
3280
+ (_ Unit (emit (MInst.AtomicCAS dst expect replace addr ty flags)))
3281
+ )
3282
+ dst))
3283
+
3284
+ ;; Helper for emitting `MInst.AtomicRMWLoop` instructions.
3285
+ ;; - Make sure that both args are in virtual regs, since in effect
3286
+ ;; we have to do a parallel copy to get them safely to the AtomicRMW input
3287
+ ;; regs, and that's not guaranteed safe if either is in a real reg.
3288
+ ;; - Move the args to the preordained AtomicRMW input regs
3289
+ ;; - And finally, copy the preordained AtomicRMW output reg to its destination.
3290
+ (decl atomic_rmw_loop (AtomicRMWLoopOp Reg Reg Type MemFlags) Reg)
3291
+ (rule (atomic_rmw_loop op addr operand ty flags)
3292
+ (let ((dst WritableReg (temp_writable_reg $I64))
3293
+ (scratch1 WritableReg (temp_writable_reg $I64))
3294
+ (scratch2 WritableReg (temp_writable_reg $I64))
3295
+ (_ Unit (emit (MInst.AtomicRMWLoop ty op flags addr operand dst scratch1 scratch2))))
3296
+ dst))
3297
+
3298
+ ;; Helper for emitting `MInst.AtomicCASLoop` instructions.
3299
+ ;; This is very similar to, but not identical to, the AtomicRmw case. Note
3300
+ ;; that the AtomicCASLoop sequence does its own masking, so we don't need to worry
3301
+ ;; about zero-extending narrow (I8/I16/I32) values here.
3302
+ ;; Make sure that all three args are in virtual regs. See corresponding comment
3303
+ ;; for `atomic_rmw_loop` above.
3304
+ (decl atomic_cas_loop (Reg Reg Reg Type MemFlags) Reg)
3305
+ (rule (atomic_cas_loop addr expect replace ty flags)
3306
+ (let ((dst WritableReg (temp_writable_reg $I64))
3307
+ (scratch WritableReg (temp_writable_reg $I64))
3308
+ (_ Unit (emit (MInst.AtomicCASLoop ty flags addr expect replace dst scratch))))
3309
+ dst))
3310
+
3311
+ ;; Helper for emitting `MInst.MovPReg` instructions.
3312
+ (decl mov_from_preg (PReg) Reg)
3313
+ (rule (mov_from_preg src)
3314
+ (let ((dst WritableReg (temp_writable_reg $I64))
3315
+ (_ Unit (emit (MInst.MovFromPReg dst src))))
3316
+ dst))
3317
+
3318
+ (decl mov_to_preg (PReg Reg) SideEffectNoResult)
3319
+ (rule (mov_to_preg dst src)
3320
+ (SideEffectNoResult.Inst (MInst.MovToPReg dst src)))
3321
+
3322
+ (decl preg_sp () PReg)
3323
+ (extern constructor preg_sp preg_sp)
3324
+
3325
+ (decl preg_fp () PReg)
3326
+ (extern constructor preg_fp preg_fp)
3327
+
3328
+ (decl preg_link () PReg)
3329
+ (extern constructor preg_link preg_link)
3330
+
3331
+ (decl preg_pinned () PReg)
3332
+ (extern constructor preg_pinned preg_pinned)
3333
+
3334
+ (decl aarch64_sp () Reg)
3335
+ (rule (aarch64_sp)
3336
+ (mov_from_preg (preg_sp)))
3337
+
3338
+ (decl aarch64_fp () Reg)
3339
+ (rule (aarch64_fp)
3340
+ (mov_from_preg (preg_fp)))
3341
+
3342
+ (decl aarch64_link () Reg)
3343
+ (rule 1 (aarch64_link)
3344
+ (if (preserve_frame_pointers))
3345
+ (if (sign_return_address_disabled))
3346
+ (let ((dst WritableReg (temp_writable_reg $I64))
3347
+ ;; Even though LR is not an allocatable register, whether it
3348
+ ;; contains the return address for the current function is
3349
+ ;; unknown at this point. For example, this operation may come
3350
+ ;; immediately after a call, in which case LR would not have a
3351
+ ;; valid value. That's why we must obtain the return address from
3352
+ ;; the frame record that corresponds to the current subroutine on
3353
+ ;; the stack; the presence of the record is guaranteed by the
3354
+ ;; `preserve_frame_pointers` setting.
3355
+ (addr AMode (AMode.FPOffset 8 $I64))
3356
+ (_ Unit (emit (MInst.ULoad64 dst addr (mem_flags_trusted)))))
3357
+ dst))
3358
+
3359
+ (rule (aarch64_link)
3360
+ (if (preserve_frame_pointers))
3361
+ ;; Similarly to the rule above, we must load the return address from the
3362
+ ;; the frame record. Furthermore, we can use LR as a scratch register
3363
+ ;; because the function will set it to the return address immediately
3364
+ ;; before returning.
3365
+ (let ((addr AMode (AMode.FPOffset 8 $I64))
3366
+ (lr WritableReg (writable_link_reg))
3367
+ (_ Unit (emit (MInst.ULoad64 lr addr (mem_flags_trusted))))
3368
+ (_ Unit (emit (MInst.Xpaclri))))
3369
+ (mov_from_preg (preg_link))))
3370
+
3371
+ ;; Helper for getting the maximum shift amount for a type.
3372
+
3373
+ (decl max_shift (Type) u8)
3374
+ (rule (max_shift $F64) 63)
3375
+ (rule (max_shift $F32) 31)
3376
+
3377
+ ;; Helper for generating `fcopysign` instruction sequences.
3378
+
3379
+ (decl fcopy_sign (Reg Reg Type) Reg)
3380
+ (rule 1 (fcopy_sign x y (ty_scalar_float ty))
3381
+ (let ((dst WritableReg (temp_writable_reg $F64))
3382
+ (tmp Reg (fpu_rri (fpu_op_ri_ushr (ty_bits ty) (max_shift ty)) y))
3383
+ (_ Unit (emit (MInst.FpuRRIMod (fpu_op_ri_sli (ty_bits ty) (max_shift ty)) dst x tmp))))
3384
+ dst))
3385
+ (rule (fcopy_sign x y ty @ (multi_lane _ _))
3386
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
3387
+ (tmp Reg (ushr_vec_imm y (max_shift (lane_type ty)) (vector_size ty)))
3388
+ (_ Unit (emit (MInst.VecShiftImmMod (VecShiftImmModOp.Sli) dst x tmp (vector_size ty) (max_shift (lane_type ty))))))
3389
+ dst))
3390
+
3391
+ ;; Helpers for generating `MInst.FpuToInt` instructions.
3392
+
3393
+ (decl fpu_to_int_nan_check (ScalarSize Reg) Reg)
3394
+ (rule (fpu_to_int_nan_check size src)
3395
+ (let ((r ValueRegs
3396
+ (with_flags (fpu_cmp size src src)
3397
+ (ConsumesFlags.ConsumesFlagsReturnsReg
3398
+ (MInst.TrapIf (cond_br_cond (Cond.Vs))
3399
+ (trap_code_bad_conversion_to_integer))
3400
+ src))))
3401
+ (value_regs_get r 0)))
3402
+
3403
+ ;; Checks that the value is not less than the minimum bound,
3404
+ ;; accepting a boolean (whether the type is signed), input type,
3405
+ ;; output type, and registers containing the source and minimum bound.
3406
+ (decl fpu_to_int_underflow_check (bool Type Type Reg Reg) Reg)
3407
+ (rule (fpu_to_int_underflow_check $true $F32 (fits_in_16 out_ty) src min)
3408
+ (let ((r ValueRegs
3409
+ (with_flags (fpu_cmp (ScalarSize.Size32) src min)
3410
+ (ConsumesFlags.ConsumesFlagsReturnsReg
3411
+ (MInst.TrapIf (cond_br_cond (Cond.Le))
3412
+ (trap_code_integer_overflow))
3413
+ src))))
3414
+ (value_regs_get r 0)))
3415
+ (rule (fpu_to_int_underflow_check $true $F64 (fits_in_32 out_ty) src min)
3416
+ (let ((r ValueRegs
3417
+ (with_flags (fpu_cmp (ScalarSize.Size64) src min)
3418
+ (ConsumesFlags.ConsumesFlagsReturnsReg
3419
+ (MInst.TrapIf (cond_br_cond (Cond.Le))
3420
+ (trap_code_integer_overflow))
3421
+ src))))
3422
+ (value_regs_get r 0)))
3423
+ (rule -1 (fpu_to_int_underflow_check $true in_ty _out_ty src min)
3424
+ (let ((r ValueRegs
3425
+ (with_flags (fpu_cmp (scalar_size in_ty) src min)
3426
+ (ConsumesFlags.ConsumesFlagsReturnsReg
3427
+ (MInst.TrapIf (cond_br_cond (Cond.Lt))
3428
+ (trap_code_integer_overflow))
3429
+ src))))
3430
+ (value_regs_get r 0)))
3431
+ (rule (fpu_to_int_underflow_check $false in_ty _out_ty src min)
3432
+ (let ((r ValueRegs
3433
+ (with_flags (fpu_cmp (scalar_size in_ty) src min)
3434
+ (ConsumesFlags.ConsumesFlagsReturnsReg
3435
+ (MInst.TrapIf (cond_br_cond (Cond.Le))
3436
+ (trap_code_integer_overflow))
3437
+ src))))
3438
+ (value_regs_get r 0)))
3439
+
3440
+ (decl fpu_to_int_overflow_check (ScalarSize Reg Reg) Reg)
3441
+ (rule (fpu_to_int_overflow_check size src max)
3442
+ (let ((r ValueRegs
3443
+ (with_flags (fpu_cmp size src max)
3444
+ (ConsumesFlags.ConsumesFlagsReturnsReg
3445
+ (MInst.TrapIf (cond_br_cond (Cond.Ge))
3446
+ (trap_code_integer_overflow))
3447
+ src))))
3448
+ (value_regs_get r 0)))
3449
+
3450
+ ;; Emits the appropriate instruction sequence to convert a
3451
+ ;; floating-point value to an integer, trapping if the value
3452
+ ;; is a NaN or does not fit in the target type.
3453
+ ;; Accepts the specific conversion op, the source register,
3454
+ ;; whether the input is signed, and finally the input and output
3455
+ ;; types.
3456
+ (decl fpu_to_int_cvt (FpuToIntOp Reg bool Type Type) Reg)
3457
+ (rule (fpu_to_int_cvt op src signed in_ty out_ty)
3458
+ (let ((size ScalarSize (scalar_size in_ty))
3459
+ (in_bits u8 (ty_bits in_ty))
3460
+ (out_bits u8 (ty_bits out_ty))
3461
+ (src Reg (fpu_to_int_nan_check size src))
3462
+ (min Reg (min_fp_value signed in_bits out_bits))
3463
+ (src Reg (fpu_to_int_underflow_check signed in_ty out_ty src min))
3464
+ (max Reg (max_fp_value signed in_bits out_bits))
3465
+ (src Reg (fpu_to_int_overflow_check size src max)))
3466
+ (fpu_to_int op src)))
3467
+
3468
+ ;; Emits the appropriate instruction sequence to convert a
3469
+ ;; floating-point value to an integer, saturating if the value
3470
+ ;; does not fit in the target type.
3471
+ ;; Accepts the specific conversion op, the source register,
3472
+ ;; whether the input is signed, and finally the output type.
3473
+ (decl fpu_to_int_cvt_sat (FpuToIntOp Reg bool Type) Reg)
3474
+ (rule 1 (fpu_to_int_cvt_sat op src _ $I64)
3475
+ (fpu_to_int op src))
3476
+ (rule 1 (fpu_to_int_cvt_sat op src _ $I32)
3477
+ (fpu_to_int op src))
3478
+ (rule (fpu_to_int_cvt_sat op src $false (fits_in_16 out_ty))
3479
+ (let ((result Reg (fpu_to_int op src))
3480
+ (max Reg (imm out_ty (ImmExtend.Zero) (ty_mask out_ty))))
3481
+ (with_flags_reg
3482
+ (cmp (OperandSize.Size32) result max)
3483
+ (csel (Cond.Hi) max result))))
3484
+ (rule (fpu_to_int_cvt_sat op src $true (fits_in_16 out_ty))
3485
+ (let ((result Reg (fpu_to_int op src))
3486
+ (max Reg (signed_max out_ty))
3487
+ (min Reg (signed_min out_ty))
3488
+ (result Reg (with_flags_reg
3489
+ (cmp (operand_size out_ty) result max)
3490
+ (csel (Cond.Gt) max result)))
3491
+ (result Reg (with_flags_reg
3492
+ (cmp (operand_size out_ty) result min)
3493
+ (csel (Cond.Lt) min result))))
3494
+ result))
3495
+
3496
+ (decl signed_min (Type) Reg)
3497
+ (rule (signed_min $I8) (imm $I8 (ImmExtend.Sign) 0x80))
3498
+ (rule (signed_min $I16) (imm $I16 (ImmExtend.Sign) 0x8000))
3499
+
3500
+ (decl signed_max (Type) Reg)
3501
+ (rule (signed_max $I8) (imm $I8 (ImmExtend.Sign) 0x7F))
3502
+ (rule (signed_max $I16) (imm $I16 (ImmExtend.Sign) 0x7FFF))
3503
+
3504
+ (decl fpu_to_int (FpuToIntOp Reg) Reg)
3505
+ (rule (fpu_to_int op src)
3506
+ (let ((dst WritableReg (temp_writable_reg $I64))
3507
+ (_ Unit (emit (MInst.FpuToInt op dst src))))
3508
+ dst))
3509
+
3510
+ ;; Helper for generating `MInst.IntToFpu` instructions.
3511
+
3512
+ (decl int_to_fpu (IntToFpuOp Reg) Reg)
3513
+ (rule (int_to_fpu op src)
3514
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
3515
+ (_ Unit (emit (MInst.IntToFpu op dst src))))
3516
+ dst))
3517
+
3518
+ ;;;; Helpers for Emitting Calls ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3519
+
3520
+ (decl gen_call (SigRef ExternalName RelocDistance ValueSlice) InstOutput)
3521
+ (extern constructor gen_call gen_call)
3522
+
3523
+ (decl gen_call_indirect (SigRef Value ValueSlice) InstOutput)
3524
+ (extern constructor gen_call_indirect gen_call_indirect)
3525
+
3526
+ ;; Helpers for pinned register manipulation.
3527
+
3528
+ (decl write_pinned_reg (Reg) SideEffectNoResult)
3529
+ (rule (write_pinned_reg val)
3530
+ (mov_to_preg (preg_pinned) val))
3531
+
3532
+ ;; Helpers for stackslot effective address generation.
3533
+
3534
+ (decl compute_stack_addr (StackSlot Offset32) Reg)
3535
+ (rule (compute_stack_addr stack_slot offset)
3536
+ (let ((dst WritableReg (temp_writable_reg $I64))
3537
+ (_ Unit (emit (abi_stackslot_addr dst stack_slot offset))))
3538
+ dst))
3539
+
3540
+ ;; Helper for emitting instruction sequences to perform a vector comparison.
3541
+
3542
+ (decl vec_cmp_vc (Reg Reg VectorSize) Reg)
3543
+ (rule (vec_cmp_vc rn rm size)
3544
+ (let ((dst Reg (vec_rrr (VecALUOp.Fcmeq) rn rn size))
3545
+ (tmp Reg (vec_rrr (VecALUOp.Fcmeq) rm rm size))
3546
+ (dst Reg (vec_rrr (VecALUOp.And) dst tmp size)))
3547
+ dst))
3548
+
3549
+ (decl vec_cmp (Reg Reg Type Cond) Reg)
3550
+
3551
+ ;; Floating point Vs / Vc
3552
+ (rule (vec_cmp rn rm ty (Cond.Vc))
3553
+ (if (ty_vector_float ty))
3554
+ (vec_cmp_vc rn rm (vector_size ty)))
3555
+ (rule (vec_cmp rn rm ty (Cond.Vs))
3556
+ (if (ty_vector_float ty))
3557
+ (let ((tmp Reg (vec_cmp_vc rn rm (vector_size ty))))
3558
+ (vec_misc (VecMisc2.Not) tmp (vector_size ty))))
3559
+
3560
+ ;; 'Less than' operations are implemented by swapping the order of
3561
+ ;; operands and using the 'greater than' instructions.
3562
+ ;; 'Not equal' is implemented with 'equal' and inverting the result.
3563
+
3564
+ ;; Floating-point
3565
+ (rule (vec_cmp rn rm ty (Cond.Eq))
3566
+ (if (ty_vector_float ty))
3567
+ (vec_rrr (VecALUOp.Fcmeq) rn rm (vector_size ty)))
3568
+ (rule (vec_cmp rn rm ty (Cond.Ne))
3569
+ (if (ty_vector_float ty))
3570
+ (let ((tmp Reg (vec_rrr (VecALUOp.Fcmeq) rn rm (vector_size ty))))
3571
+ (vec_misc (VecMisc2.Not) tmp (vector_size ty))))
3572
+ (rule (vec_cmp rn rm ty (Cond.Ge))
3573
+ (if (ty_vector_float ty))
3574
+ (vec_rrr (VecALUOp.Fcmge) rn rm (vector_size ty)))
3575
+ (rule (vec_cmp rn rm ty (Cond.Gt))
3576
+ (if (ty_vector_float ty))
3577
+ (vec_rrr (VecALUOp.Fcmgt) rn rm (vector_size ty)))
3578
+ ;; Floating-point swapped-operands
3579
+ (rule (vec_cmp rn rm ty (Cond.Mi))
3580
+ (if (ty_vector_float ty))
3581
+ (vec_rrr (VecALUOp.Fcmgt) rm rn (vector_size ty)))
3582
+ (rule (vec_cmp rn rm ty (Cond.Ls))
3583
+ (if (ty_vector_float ty))
3584
+ (vec_rrr (VecALUOp.Fcmge) rm rn (vector_size ty)))
3585
+
3586
+ ;; Integer
3587
+ (rule 1 (vec_cmp rn rm ty (Cond.Eq))
3588
+ (if (ty_vector_not_float ty))
3589
+ (vec_rrr (VecALUOp.Cmeq) rn rm (vector_size ty)))
3590
+ (rule 1 (vec_cmp rn rm ty (Cond.Ne))
3591
+ (if (ty_vector_not_float ty))
3592
+ (let ((tmp Reg (vec_rrr (VecALUOp.Cmeq) rn rm (vector_size ty))))
3593
+ (vec_misc (VecMisc2.Not) tmp (vector_size ty))))
3594
+ (rule 1 (vec_cmp rn rm ty (Cond.Ge))
3595
+ (if (ty_vector_not_float ty))
3596
+ (vec_rrr (VecALUOp.Cmge) rn rm (vector_size ty)))
3597
+ (rule 1 (vec_cmp rn rm ty (Cond.Gt))
3598
+ (if (ty_vector_not_float ty))
3599
+ (vec_rrr (VecALUOp.Cmgt) rn rm (vector_size ty)))
3600
+ (rule (vec_cmp rn rm ty (Cond.Hs))
3601
+ (if (ty_vector_not_float ty))
3602
+ (vec_rrr (VecALUOp.Cmhs) rn rm (vector_size ty)))
3603
+ (rule (vec_cmp rn rm ty (Cond.Hi))
3604
+ (if (ty_vector_not_float ty))
3605
+ (vec_rrr (VecALUOp.Cmhi) rn rm (vector_size ty)))
3606
+ ;; Integer swapped-operands
3607
+ (rule (vec_cmp rn rm ty (Cond.Le))
3608
+ (if (ty_vector_not_float ty))
3609
+ (vec_rrr (VecALUOp.Cmge) rm rn (vector_size ty)))
3610
+ (rule (vec_cmp rn rm ty (Cond.Lt))
3611
+ (if (ty_vector_not_float ty))
3612
+ (vec_rrr (VecALUOp.Cmgt) rm rn (vector_size ty)))
3613
+ (rule 1 (vec_cmp rn rm ty (Cond.Ls))
3614
+ (if (ty_vector_not_float ty))
3615
+ (vec_rrr (VecALUOp.Cmhs) rm rn (vector_size ty)))
3616
+ (rule (vec_cmp rn rm ty (Cond.Lo))
3617
+ (if (ty_vector_not_float ty))
3618
+ (vec_rrr (VecALUOp.Cmhi) rm rn (vector_size ty)))
3619
+
3620
+ ;; Helper for determining if any value in a vector is true.
3621
+ ;; This operation is implemented by using umaxp to create a scalar value, which
3622
+ ;; is then compared against zero.
3623
+ ;;
3624
+ ;; umaxp vn.4s, vm.4s, vm.4s
3625
+ ;; mov xm, vn.d[0]
3626
+ ;; cmp xm, #0
3627
+ (decl vanytrue (Reg Type) ProducesFlags)
3628
+ (rule 1 (vanytrue src (ty_vec128 ty))
3629
+ (let ((src Reg (vec_rrr (VecALUOp.Umaxp) src src (VectorSize.Size32x4)))
3630
+ (src Reg (mov_from_vec src 0 (ScalarSize.Size64))))
3631
+ (cmp_imm (OperandSize.Size64) src (u8_into_imm12 0))))
3632
+ (rule (vanytrue src ty)
3633
+ (if (ty_vec64 ty))
3634
+ (let ((src Reg (mov_from_vec src 0 (ScalarSize.Size64))))
3635
+ (cmp_imm (OperandSize.Size64) src (u8_into_imm12 0))))
3636
+
3637
+ ;;;; TLS Values ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3638
+
3639
+ ;; Helper for emitting ElfTlsGetAddr.
3640
+ (decl elf_tls_get_addr (ExternalName) Reg)
3641
+ (rule (elf_tls_get_addr name)
3642
+ (let ((dst WritableReg (temp_writable_reg $I64))
3643
+ (_ Unit (emit (MInst.ElfTlsGetAddr name dst))))
3644
+ dst))
3645
+
3646
+ (decl macho_tls_get_addr (ExternalName) Reg)
3647
+ (rule (macho_tls_get_addr name)
3648
+ (let ((dst WritableReg (temp_writable_reg $I64))
3649
+ (_ Unit (emit (MInst.MachOTlsGetAddr name dst))))
3650
+ dst))
3651
+
3652
+ ;; A tuple of `ProducesFlags` and `IntCC`.
3653
+ (type FlagsAndCC (enum (FlagsAndCC (flags ProducesFlags)
3654
+ (cc IntCC))))
3655
+
3656
+ ;; Helper constructor for `FlagsAndCC`.
3657
+ (decl flags_and_cc (ProducesFlags IntCC) FlagsAndCC)
3658
+ (rule (flags_and_cc flags cc) (FlagsAndCC.FlagsAndCC flags cc))
3659
+
3660
+ ;; Materialize a `FlagsAndCC` into a boolean `ValueRegs`.
3661
+ (decl flags_and_cc_to_bool (FlagsAndCC) ValueRegs)
3662
+ (rule (flags_and_cc_to_bool (FlagsAndCC.FlagsAndCC flags cc))
3663
+ (with_flags flags (materialize_bool_result (cond_code cc))))
3664
+
3665
+ ;; Get the `ProducesFlags` out of a `FlagsAndCC`.
3666
+ (decl flags_and_cc_flags (FlagsAndCC) ProducesFlags)
3667
+ (rule (flags_and_cc_flags (FlagsAndCC.FlagsAndCC flags _cc)) flags)
3668
+
3669
+ ;; Get the `IntCC` out of a `FlagsAndCC`.
3670
+ (decl flags_and_cc_cc (FlagsAndCC) IntCC)
3671
+ (rule (flags_and_cc_cc (FlagsAndCC.FlagsAndCC _flags cc)) cc)
3672
+
3673
+ ;; Helpers for lowering `icmp` sequences.
3674
+ ;; `lower_icmp` contains shared functionality for lowering `icmp`
3675
+ ;; sequences, which `lower_icmp_into_{reg,flags}` extend from.
3676
+ (decl lower_icmp (IntCC Value Value Type) FlagsAndCC)
3677
+ (decl lower_icmp_into_reg (IntCC Value Value Type Type) ValueRegs)
3678
+ (decl lower_icmp_into_flags (IntCC Value Value Type) FlagsAndCC)
3679
+ (decl lower_icmp_const (IntCC Value u64 Type) FlagsAndCC)
3680
+ ;; For most cases, `lower_icmp_into_flags` is the same as `lower_icmp`,
3681
+ ;; except for some I128 cases (see below).
3682
+ (rule -1 (lower_icmp_into_flags cond x y ty) (lower_icmp cond x y ty))
3683
+
3684
+ ;; Vectors.
3685
+ ;; `icmp` into flags for vectors is invalid.
3686
+ (rule 1 (lower_icmp_into_reg cond x y in_ty @ (multi_lane _ _) _out_ty)
3687
+ (let ((cond Cond (cond_code cond))
3688
+ (rn Reg (put_in_reg x))
3689
+ (rm Reg (put_in_reg y)))
3690
+ (vec_cmp rn rm in_ty cond)))
3691
+
3692
+ ;; Determines the appropriate extend op given the value type and the given ArgumentExtension.
3693
+ (decl lower_extend_op (Type ArgumentExtension) ExtendOp)
3694
+ (rule (lower_extend_op $I8 (ArgumentExtension.Sext)) (ExtendOp.SXTB))
3695
+ (rule (lower_extend_op $I16 (ArgumentExtension.Sext)) (ExtendOp.SXTH))
3696
+ (rule (lower_extend_op $I8 (ArgumentExtension.Uext)) (ExtendOp.UXTB))
3697
+ (rule (lower_extend_op $I16 (ArgumentExtension.Uext)) (ExtendOp.UXTH))
3698
+
3699
+ ;; Integers <= 64-bits.
3700
+ (rule -2 (lower_icmp_into_reg cond rn rm in_ty out_ty)
3701
+ (if (ty_int_ref_scalar_64 in_ty))
3702
+ (let ((cc Cond (cond_code cond)))
3703
+ (flags_and_cc_to_bool (lower_icmp cond rn rm in_ty))))
3704
+
3705
+ (rule 1 (lower_icmp cond rn rm (fits_in_16 ty))
3706
+ (if (signed_cond_code cond))
3707
+ (let ((rn Reg (put_in_reg_sext32 rn)))
3708
+ (flags_and_cc (cmp_extend (operand_size ty) rn rm (lower_extend_op ty (ArgumentExtension.Sext))) cond)))
3709
+ (rule -1 (lower_icmp cond rn (imm12_from_value rm) (fits_in_16 ty))
3710
+ (let ((rn Reg (put_in_reg_zext32 rn)))
3711
+ (flags_and_cc (cmp_imm (operand_size ty) rn rm) cond)))
3712
+ (rule -2 (lower_icmp cond rn rm (fits_in_16 ty))
3713
+ (let ((rn Reg (put_in_reg_zext32 rn)))
3714
+ (flags_and_cc (cmp_extend (operand_size ty) rn rm (lower_extend_op ty (ArgumentExtension.Uext))) cond)))
3715
+ (rule -3 (lower_icmp cond rn (u64_from_iconst c) ty)
3716
+ (if (ty_int_ref_scalar_64 ty))
3717
+ (lower_icmp_const cond rn c ty))
3718
+ (rule -4 (lower_icmp cond rn rm ty)
3719
+ (if (ty_int_ref_scalar_64 ty))
3720
+ (flags_and_cc (cmp (operand_size ty) rn rm) cond))
3721
+
3722
+ ;; We get better encodings when testing against an immediate that's even instead
3723
+ ;; of odd, so rewrite comparisons to use even immediates:
3724
+ ;;
3725
+ ;; A >= B + 1
3726
+ ;; ==> A - 1 >= B
3727
+ ;; ==> A > B
3728
+ (rule (lower_icmp_const (IntCC.UnsignedGreaterThanOrEqual) a b ty)
3729
+ (if (ty_int_ref_scalar_64 ty))
3730
+ (if-let $true (u64_is_odd b))
3731
+ (if-let (imm12_from_u64 imm) (u64_sub b 1))
3732
+ (flags_and_cc (cmp_imm (operand_size ty) a imm) (IntCC.UnsignedGreaterThan)))
3733
+ (rule (lower_icmp_const (IntCC.SignedGreaterThanOrEqual) a b ty)
3734
+ (if (ty_int_ref_scalar_64 ty))
3735
+ (if-let $true (u64_is_odd b))
3736
+ (if-let (imm12_from_u64 imm) (u64_sub b 1))
3737
+ (flags_and_cc (cmp_imm (operand_size ty) a imm) (IntCC.SignedGreaterThan)))
3738
+
3739
+ (rule -1 (lower_icmp_const cond rn (imm12_from_u64 c) ty)
3740
+ (if (ty_int_ref_scalar_64 ty))
3741
+ (flags_and_cc (cmp_imm (operand_size ty) rn c) cond))
3742
+ (rule -2 (lower_icmp_const cond rn c ty)
3743
+ (if (ty_int_ref_scalar_64 ty))
3744
+ (flags_and_cc (cmp (operand_size ty) rn (imm ty (ImmExtend.Zero) c)) cond))
3745
+
3746
+
3747
+ ;; 128-bit integers.
3748
+ (rule (lower_icmp_into_reg cond @ (IntCC.Equal) rn rm $I128 $I8)
3749
+ (let ((cc Cond (cond_code cond)))
3750
+ (flags_and_cc_to_bool
3751
+ (lower_icmp cond rn rm $I128))))
3752
+ (rule (lower_icmp_into_reg cond @ (IntCC.NotEqual) rn rm $I128 $I8)
3753
+ (let ((cc Cond (cond_code cond)))
3754
+ (flags_and_cc_to_bool
3755
+ (lower_icmp cond rn rm $I128))))
3756
+
3757
+ ;; cmp lhs_lo, rhs_lo
3758
+ ;; ccmp lhs_hi, rhs_hi, #0, eq
3759
+ (decl lower_icmp_i128_eq_ne (Value Value) ProducesFlags)
3760
+ (rule (lower_icmp_i128_eq_ne lhs rhs)
3761
+ (let ((lhs ValueRegs (put_in_regs lhs))
3762
+ (rhs ValueRegs (put_in_regs rhs))
3763
+ (lhs_lo Reg (value_regs_get lhs 0))
3764
+ (lhs_hi Reg (value_regs_get lhs 1))
3765
+ (rhs_lo Reg (value_regs_get rhs 0))
3766
+ (rhs_hi Reg (value_regs_get rhs 1))
3767
+ (cmp_inst ProducesFlags (cmp (OperandSize.Size64) lhs_lo rhs_lo)))
3768
+ (ccmp (OperandSize.Size64) lhs_hi rhs_hi
3769
+ (nzcv $false $false $false $false) (Cond.Eq) cmp_inst)))
3770
+
3771
+ (rule (lower_icmp (IntCC.Equal) lhs rhs $I128)
3772
+ (flags_and_cc (lower_icmp_i128_eq_ne lhs rhs) (IntCC.Equal)))
3773
+ (rule (lower_icmp (IntCC.NotEqual) lhs rhs $I128)
3774
+ (flags_and_cc (lower_icmp_i128_eq_ne lhs rhs) (IntCC.NotEqual)))
3775
+
3776
+ ;; cmp lhs_lo, rhs_lo
3777
+ ;; cset tmp1, unsigned_cond
3778
+ ;; cmp lhs_hi, rhs_hi
3779
+ ;; cset tmp2, cond
3780
+ ;; csel dst, tmp1, tmp2, eq
3781
+ (rule -1 (lower_icmp_into_reg cond lhs rhs $I128 $I8)
3782
+ (let ((unsigned_cond Cond (cond_code (intcc_unsigned cond)))
3783
+ (cond Cond (cond_code cond))
3784
+ (lhs ValueRegs (put_in_regs lhs))
3785
+ (rhs ValueRegs (put_in_regs rhs))
3786
+ (lhs_lo Reg (value_regs_get lhs 0))
3787
+ (lhs_hi Reg (value_regs_get lhs 1))
3788
+ (rhs_lo Reg (value_regs_get rhs 0))
3789
+ (rhs_hi Reg (value_regs_get rhs 1))
3790
+ (tmp1 Reg (with_flags_reg (cmp (OperandSize.Size64) lhs_lo rhs_lo)
3791
+ (materialize_bool_result unsigned_cond))))
3792
+ (with_flags (cmp (OperandSize.Size64) lhs_hi rhs_hi)
3793
+ (lower_icmp_i128_consumer cond tmp1))))
3794
+
3795
+ (decl lower_icmp_i128_consumer (Cond Reg) ConsumesFlags)
3796
+ (rule (lower_icmp_i128_consumer cond tmp1)
3797
+ (let ((tmp2 WritableReg (temp_writable_reg $I64))
3798
+ (dst WritableReg (temp_writable_reg $I64)))
3799
+ (ConsumesFlags.ConsumesFlagsTwiceReturnsValueRegs
3800
+ (MInst.CSet tmp2 cond)
3801
+ (MInst.CSel dst (Cond.Eq) tmp1 tmp2)
3802
+ (value_reg dst))))
3803
+
3804
+ (decl lower_bmask (Type Type ValueRegs) ValueRegs)
3805
+
3806
+
3807
+ ;; For conversions that exactly fit a register, we can use csetm.
3808
+ ;;
3809
+ ;; cmp val, #0
3810
+ ;; csetm res, ne
3811
+ (rule 0
3812
+ (lower_bmask (fits_in_64 _) (ty_32_or_64 in_ty) val)
3813
+ (with_flags_reg
3814
+ (cmp_imm (operand_size in_ty) (value_regs_get val 0) (u8_into_imm12 0))
3815
+ (csetm (Cond.Ne))))
3816
+
3817
+ ;; For conversions from a 128-bit value into a 64-bit or smaller one, we or the
3818
+ ;; two registers of the 128-bit value together, and then recurse with the
3819
+ ;; combined value as a 64-bit test.
3820
+ ;;
3821
+ ;; orr val, lo, hi
3822
+ ;; cmp val, #0
3823
+ ;; csetm res, ne
3824
+ (rule 1
3825
+ (lower_bmask (fits_in_64 ty) $I128 val)
3826
+ (let ((lo Reg (value_regs_get val 0))
3827
+ (hi Reg (value_regs_get val 1))
3828
+ (combined Reg (orr $I64 lo hi)))
3829
+ (lower_bmask ty $I64 (value_reg combined))))
3830
+
3831
+ ;; For converting from any type into i128, duplicate the result of
3832
+ ;; converting to i64.
3833
+ (rule 2
3834
+ (lower_bmask $I128 in_ty val)
3835
+ (let ((res ValueRegs (lower_bmask $I64 in_ty val))
3836
+ (res Reg (value_regs_get res 0)))
3837
+ (value_regs res res)))
3838
+
3839
+ ;; For conversions smaller than a register, we need to mask off the high bits, and then
3840
+ ;; we can recurse into the general case.
3841
+ ;;
3842
+ ;; and tmp, val, #ty_mask
3843
+ ;; cmp tmp, #0
3844
+ ;; csetm res, ne
3845
+ (rule 3
3846
+ (lower_bmask out_ty (fits_in_16 in_ty) val)
3847
+ ; This if-let can't fail due to ty_mask always producing 8/16 consecutive 1s.
3848
+ (if-let mask_bits (imm_logic_from_u64 $I32 (ty_mask in_ty)))
3849
+ (let ((masked Reg (and_imm $I32 (value_regs_get val 0) mask_bits)))
3850
+ (lower_bmask out_ty $I32 masked)))
3851
+
3852
+ ;; Exceptional `lower_icmp_into_flags` rules.
3853
+ ;; We need to guarantee that the flags for `cond` are correct, so we
3854
+ ;; compare `dst` with 1.
3855
+ (rule (lower_icmp_into_flags cond @ (IntCC.SignedGreaterThanOrEqual) lhs rhs $I128)
3856
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3857
+ (dst Reg (value_regs_get dst 0))
3858
+ (tmp Reg (imm $I64 (ImmExtend.Sign) 1))) ;; mov tmp, #1
3859
+ (flags_and_cc (cmp (OperandSize.Size64) dst tmp) cond)))
3860
+ (rule (lower_icmp_into_flags cond @ (IntCC.UnsignedGreaterThanOrEqual) lhs rhs $I128)
3861
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3862
+ (dst Reg (value_regs_get dst 0))
3863
+ (tmp Reg (imm $I64 (ImmExtend.Zero) 1)))
3864
+ (flags_and_cc (cmp (OperandSize.Size64) dst tmp) cond)))
3865
+ (rule (lower_icmp_into_flags cond @ (IntCC.SignedLessThanOrEqual) lhs rhs $I128)
3866
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3867
+ (dst Reg (value_regs_get dst 0))
3868
+ (tmp Reg (imm $I64 (ImmExtend.Sign) 1)))
3869
+ (flags_and_cc (cmp (OperandSize.Size64) tmp dst) cond)))
3870
+ (rule (lower_icmp_into_flags cond @ (IntCC.UnsignedLessThanOrEqual) lhs rhs $I128)
3871
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3872
+ (dst Reg (value_regs_get dst 0))
3873
+ (tmp Reg (imm $I64 (ImmExtend.Zero) 1)))
3874
+ (flags_and_cc (cmp (OperandSize.Size64) tmp dst) cond)))
3875
+ ;; For strict comparisons, we compare with 0.
3876
+ (rule (lower_icmp_into_flags cond @ (IntCC.SignedGreaterThan) lhs rhs $I128)
3877
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3878
+ (dst Reg (value_regs_get dst 0)))
3879
+ (flags_and_cc (cmp (OperandSize.Size64) dst (zero_reg)) cond)))
3880
+ (rule (lower_icmp_into_flags cond @ (IntCC.UnsignedGreaterThan) lhs rhs $I128)
3881
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3882
+ (dst Reg (value_regs_get dst 0)))
3883
+ (flags_and_cc (cmp (OperandSize.Size64) dst (zero_reg)) cond)))
3884
+ (rule (lower_icmp_into_flags cond @ (IntCC.SignedLessThan) lhs rhs $I128)
3885
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3886
+ (dst Reg (value_regs_get dst 0)))
3887
+ (flags_and_cc (cmp (OperandSize.Size64) (zero_reg) dst) cond)))
3888
+ (rule (lower_icmp_into_flags cond @ (IntCC.UnsignedLessThan) lhs rhs $I128)
3889
+ (let ((dst ValueRegs (lower_icmp_into_reg cond lhs rhs $I128 $I8))
3890
+ (dst Reg (value_regs_get dst 0)))
3891
+ (flags_and_cc (cmp (OperandSize.Size64) (zero_reg) dst) cond)))
3892
+
3893
+ ;; Helpers for generating select instruction sequences.
3894
+ (decl lower_select (ProducesFlags Cond Type Value Value) ValueRegs)
3895
+ (rule 2 (lower_select flags cond (ty_scalar_float ty) rn rm)
3896
+ (with_flags flags (fpu_csel ty cond rn rm)))
3897
+ (rule 3 (lower_select flags cond (ty_vec128 ty) rn rm)
3898
+ (with_flags flags (vec_csel cond rn rm)))
3899
+ (rule (lower_select flags cond ty rn rm)
3900
+ (if (ty_vec64 ty))
3901
+ (with_flags flags (fpu_csel $F64 cond rn rm)))
3902
+ (rule 4 (lower_select flags cond $I128 rn rm)
3903
+ (let ((dst_lo WritableReg (temp_writable_reg $I64))
3904
+ (dst_hi WritableReg (temp_writable_reg $I64))
3905
+ (rn ValueRegs (put_in_regs rn))
3906
+ (rm ValueRegs (put_in_regs rm))
3907
+ (rn_lo Reg (value_regs_get rn 0))
3908
+ (rn_hi Reg (value_regs_get rn 1))
3909
+ (rm_lo Reg (value_regs_get rm 0))
3910
+ (rm_hi Reg (value_regs_get rm 1)))
3911
+ (with_flags flags
3912
+ (ConsumesFlags.ConsumesFlagsTwiceReturnsValueRegs
3913
+ (MInst.CSel dst_lo cond rn_lo rm_lo)
3914
+ (MInst.CSel dst_hi cond rn_hi rm_hi)
3915
+ (value_regs dst_lo dst_hi)))))
3916
+ (rule 1 (lower_select flags cond ty rn rm)
3917
+ (if (ty_int_ref_scalar_64 ty))
3918
+ (with_flags flags (csel cond rn rm)))
3919
+
3920
+ ;; Helper for emitting `MInst.Jump` instructions.
3921
+ (decl aarch64_jump (BranchTarget) SideEffectNoResult)
3922
+ (rule (aarch64_jump target)
3923
+ (SideEffectNoResult.Inst (MInst.Jump target)))
3924
+
3925
+ ;; Helper for emitting `MInst.JTSequence` instructions.
3926
+ ;; Emit the compound instruction that does:
3927
+ ;;
3928
+ ;; b.hs default
3929
+ ;; csel rB, xzr, rIndex, hs
3930
+ ;; csdb
3931
+ ;; adr rA, jt
3932
+ ;; ldrsw rB, [rA, rB, uxtw #2]
3933
+ ;; add rA, rA, rB
3934
+ ;; br rA
3935
+ ;; [jt entries]
3936
+ ;;
3937
+ ;; This must be *one* instruction in the vcode because
3938
+ ;; we cannot allow regalloc to insert any spills/fills
3939
+ ;; in the middle of the sequence; otherwise, the ADR's
3940
+ ;; PC-rel offset to the jumptable would be incorrect.
3941
+ ;; (The alternative is to introduce a relocation pass
3942
+ ;; for inlined jumptables, which is much worse, IMHO.)
3943
+ (decl jt_sequence (Reg BoxJTSequenceInfo) ConsumesFlags)
3944
+ (rule (jt_sequence ridx info)
3945
+ (let ((rtmp1 WritableReg (temp_writable_reg $I64))
3946
+ (rtmp2 WritableReg (temp_writable_reg $I64)))
3947
+ (ConsumesFlags.ConsumesFlagsSideEffect
3948
+ (MInst.JTSequence info ridx rtmp1 rtmp2))))
3949
+
3950
+ ;; Helper for emitting `MInst.CondBr` instructions.
3951
+ (decl cond_br (BranchTarget BranchTarget CondBrKind) ConsumesFlags)
3952
+ (rule (cond_br taken not_taken kind)
3953
+ (ConsumesFlags.ConsumesFlagsSideEffect
3954
+ (MInst.CondBr taken not_taken kind)))
3955
+
3956
+ ;; Helper for emitting `MInst.MovToNZCV` instructions.
3957
+ (decl mov_to_nzcv (Reg) ProducesFlags)
3958
+ (rule (mov_to_nzcv rn)
3959
+ (ProducesFlags.ProducesFlagsSideEffect
3960
+ (MInst.MovToNZCV rn)))
3961
+
3962
+ ;; Helper for emitting `MInst.EmitIsland` instructions.
3963
+ (decl emit_island (CodeOffset) SideEffectNoResult)
3964
+ (rule (emit_island needed_space)
3965
+ (SideEffectNoResult.Inst
3966
+ (MInst.EmitIsland needed_space)))
3967
+
3968
+ ;; Helper for emitting `br_table` sequences.
3969
+ (decl br_table_impl (u64 Reg VecMachLabel) Unit)
3970
+ (rule (br_table_impl (imm12_from_u64 jt_size) ridx targets)
3971
+ (let ((jt_info BoxJTSequenceInfo (targets_jt_info targets)))
3972
+ (emit_side_effect (with_flags_side_effect
3973
+ (cmp_imm (OperandSize.Size32) ridx jt_size)
3974
+ (jt_sequence ridx jt_info)))))
3975
+ (rule -1 (br_table_impl jt_size ridx targets)
3976
+ (let ((jt_size Reg (imm $I64 (ImmExtend.Zero) jt_size))
3977
+ (jt_info BoxJTSequenceInfo (targets_jt_info targets)))
3978
+ (emit_side_effect (with_flags_side_effect
3979
+ (cmp (OperandSize.Size32) ridx jt_size)
3980
+ (jt_sequence ridx jt_info)))))
3981
+
3982
+ ;; Helper for emitting the `uzp1` instruction
3983
+ (decl vec_uzp1 (Reg Reg VectorSize) Reg)
3984
+ (rule (vec_uzp1 rn rm size) (vec_rrr (VecALUOp.Uzp1) rn rm size))
3985
+
3986
+ ;; Helper for emitting the `uzp2` instruction
3987
+ (decl vec_uzp2 (Reg Reg VectorSize) Reg)
3988
+ (rule (vec_uzp2 rn rm size) (vec_rrr (VecALUOp.Uzp2) rn rm size))
3989
+
3990
+ ;; Helper for emitting the `zip1` instruction
3991
+ (decl vec_zip1 (Reg Reg VectorSize) Reg)
3992
+ (rule (vec_zip1 rn rm size) (vec_rrr (VecALUOp.Zip1) rn rm size))
3993
+
3994
+ ;; Helper for emitting the `zip2` instruction
3995
+ (decl vec_zip2 (Reg Reg VectorSize) Reg)
3996
+ (rule (vec_zip2 rn rm size) (vec_rrr (VecALUOp.Zip2) rn rm size))
3997
+
3998
+ ;; Helper for emitting the `trn1` instruction
3999
+ (decl vec_trn1 (Reg Reg VectorSize) Reg)
4000
+ (rule (vec_trn1 rn rm size) (vec_rrr (VecALUOp.Trn1) rn rm size))
4001
+
4002
+ ;; Helper for emitting the `trn2` instruction
4003
+ (decl vec_trn2 (Reg Reg VectorSize) Reg)
4004
+ (rule (vec_trn2 rn rm size) (vec_rrr (VecALUOp.Trn2) rn rm size))
4005
+
4006
+ ;; Helper for creating a zero value `ASIMDMovModImm` immediate.
4007
+ (decl asimd_mov_mod_imm_zero (ScalarSize) ASIMDMovModImm)
4008
+ (extern constructor asimd_mov_mod_imm_zero asimd_mov_mod_imm_zero)
4009
+
4010
+ ;; Helper for fallibly creating an `ASIMDMovModImm` immediate from its parts.
4011
+ (decl pure partial asimd_mov_mod_imm_from_u64 (u64 ScalarSize) ASIMDMovModImm)
4012
+ (extern constructor asimd_mov_mod_imm_from_u64 asimd_mov_mod_imm_from_u64)
4013
+
4014
+ ;; Helper for fallibly creating an `ASIMDFPModImm` immediate from its parts.
4015
+ (decl pure partial asimd_fp_mod_imm_from_u64 (u64 ScalarSize) ASIMDFPModImm)
4016
+ (extern constructor asimd_fp_mod_imm_from_u64 asimd_fp_mod_imm_from_u64)
4017
+
4018
+ ;; Helper for creating a `VecDupFPImm` instruction
4019
+ (decl vec_dup_fp_imm (ASIMDFPModImm VectorSize) Reg)
4020
+ (rule (vec_dup_fp_imm imm size)
4021
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
4022
+ (_ Unit (emit (MInst.VecDupFPImm dst imm size))))
4023
+ dst))
4024
+
4025
+ ;; Helper for creating a `FpuLoad64` instruction
4026
+ (decl fpu_load64 (AMode MemFlags) Reg)
4027
+ (rule (fpu_load64 amode flags)
4028
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
4029
+ (_ Unit (emit (MInst.FpuLoad64 dst amode flags))))
4030
+ dst))
4031
+
4032
+ ;; Helper for creating a `FpuLoad128` instruction
4033
+ (decl fpu_load128 (AMode MemFlags) Reg)
4034
+ (rule (fpu_load128 amode flags)
4035
+ (let ((dst WritableReg (temp_writable_reg $I8X16))
4036
+ (_ Unit (emit (MInst.FpuLoad128 dst amode flags))))
4037
+ dst))