@nativescript/linux 0.0.0-stage → 0.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/framework/App_Resources/Linux/app.desktop +8 -0
  2. package/framework/App_Resources/Linux/app.metainfo.xml +15 -0
  3. package/framework/App_Resources/Linux/icon.png +0 -0
  4. package/framework/App_Resources/Linux/images/.gitkeep +0 -0
  5. package/framework/__PROJECT_NAME__/app/.gitkeep +0 -0
  6. package/framework/runtime/x64/metadata-x86_64.bin +0 -0
  7. package/framework/runtime/x64/ns-linux +4 -0
  8. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_builtin_vars.h +121 -0
  9. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_cmath.h +512 -0
  10. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_complex_builtins.h +285 -0
  11. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_device_functions.h +1558 -0
  12. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_intrinsics.h +709 -0
  13. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_libdevice_declares.h +468 -0
  14. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_math.h +348 -0
  15. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_math_forward_declares.h +284 -0
  16. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_runtime_wrapper.h +503 -0
  17. package/framework/tools/x64/lib/clang/17/include/__clang_cuda_texture_intrinsics.h +742 -0
  18. package/framework/tools/x64/lib/clang/17/include/__clang_hip_cmath.h +842 -0
  19. package/framework/tools/x64/lib/clang/17/include/__clang_hip_libdevice_declares.h +353 -0
  20. package/framework/tools/x64/lib/clang/17/include/__clang_hip_math.h +1303 -0
  21. package/framework/tools/x64/lib/clang/17/include/__clang_hip_runtime_wrapper.h +151 -0
  22. package/framework/tools/x64/lib/clang/17/include/__clang_hip_stdlib.h +43 -0
  23. package/framework/tools/x64/lib/clang/17/include/__stddef_max_align_t.h +27 -0
  24. package/framework/tools/x64/lib/clang/17/include/__wmmintrin_aes.h +140 -0
  25. package/framework/tools/x64/lib/clang/17/include/__wmmintrin_pclmul.h +48 -0
  26. package/framework/tools/x64/lib/clang/17/include/adxintrin.h +227 -0
  27. package/framework/tools/x64/lib/clang/17/include/altivec.h +19342 -0
  28. package/framework/tools/x64/lib/clang/17/include/ammintrin.h +183 -0
  29. package/framework/tools/x64/lib/clang/17/include/amxcomplexintrin.h +169 -0
  30. package/framework/tools/x64/lib/clang/17/include/amxfp16intrin.h +58 -0
  31. package/framework/tools/x64/lib/clang/17/include/amxintrin.h +524 -0
  32. package/framework/tools/x64/lib/clang/17/include/arm64intr.h +35 -0
  33. package/framework/tools/x64/lib/clang/17/include/arm_acle.h +782 -0
  34. package/framework/tools/x64/lib/clang/17/include/arm_bf16.h +20 -0
  35. package/framework/tools/x64/lib/clang/17/include/arm_cde.h +410 -0
  36. package/framework/tools/x64/lib/clang/17/include/arm_cmse.h +217 -0
  37. package/framework/tools/x64/lib/clang/17/include/arm_fp16.h +596 -0
  38. package/framework/tools/x64/lib/clang/17/include/arm_mve.h +19187 -0
  39. package/framework/tools/x64/lib/clang/17/include/arm_neon.h +69885 -0
  40. package/framework/tools/x64/lib/clang/17/include/arm_neon_sve_bridge.h +182 -0
  41. package/framework/tools/x64/lib/clang/17/include/arm_sme_draft_spec_subject_to_change.h +642 -0
  42. package/framework/tools/x64/lib/clang/17/include/arm_sve.h +23950 -0
  43. package/framework/tools/x64/lib/clang/17/include/armintr.h +31 -0
  44. package/framework/tools/x64/lib/clang/17/include/avx2intrin.h +5263 -0
  45. package/framework/tools/x64/lib/clang/17/include/avx512bf16intrin.h +282 -0
  46. package/framework/tools/x64/lib/clang/17/include/avx512bitalgintrin.h +83 -0
  47. package/framework/tools/x64/lib/clang/17/include/avx512bwintrin.h +2024 -0
  48. package/framework/tools/x64/lib/clang/17/include/avx512cdintrin.h +123 -0
  49. package/framework/tools/x64/lib/clang/17/include/avx512dqintrin.h +1377 -0
  50. package/framework/tools/x64/lib/clang/17/include/avx512erintrin.h +271 -0
  51. package/framework/tools/x64/lib/clang/17/include/avx512fintrin.h +9775 -0
  52. package/framework/tools/x64/lib/clang/17/include/avx512fp16intrin.h +3350 -0
  53. package/framework/tools/x64/lib/clang/17/include/avx512ifmaintrin.h +68 -0
  54. package/framework/tools/x64/lib/clang/17/include/avx512ifmavlintrin.h +105 -0
  55. package/framework/tools/x64/lib/clang/17/include/avx512pfintrin.h +97 -0
  56. package/framework/tools/x64/lib/clang/17/include/avx512vbmi2intrin.h +357 -0
  57. package/framework/tools/x64/lib/clang/17/include/avx512vbmiintrin.h +105 -0
  58. package/framework/tools/x64/lib/clang/17/include/avx512vbmivlintrin.h +188 -0
  59. package/framework/tools/x64/lib/clang/17/include/avx512vlbf16intrin.h +515 -0
  60. package/framework/tools/x64/lib/clang/17/include/avx512vlbitalgintrin.h +145 -0
  61. package/framework/tools/x64/lib/clang/17/include/avx512vlbwintrin.h +3161 -0
  62. package/framework/tools/x64/lib/clang/17/include/avx512vlcdintrin.h +225 -0
  63. package/framework/tools/x64/lib/clang/17/include/avx512vldqintrin.h +1167 -0
  64. package/framework/tools/x64/lib/clang/17/include/avx512vlfp16intrin.h +2071 -0
  65. package/framework/tools/x64/lib/clang/17/include/avx512vlintrin.h +8431 -0
  66. package/framework/tools/x64/lib/clang/17/include/avx512vlvbmi2intrin.h +689 -0
  67. package/framework/tools/x64/lib/clang/17/include/avx512vlvnniintrin.h +304 -0
  68. package/framework/tools/x64/lib/clang/17/include/avx512vlvp2intersectintrin.h +121 -0
  69. package/framework/tools/x64/lib/clang/17/include/avx512vnniintrin.h +115 -0
  70. package/framework/tools/x64/lib/clang/17/include/avx512vp2intersectintrin.h +77 -0
  71. package/framework/tools/x64/lib/clang/17/include/avx512vpopcntdqintrin.h +54 -0
  72. package/framework/tools/x64/lib/clang/17/include/avx512vpopcntdqvlintrin.h +91 -0
  73. package/framework/tools/x64/lib/clang/17/include/avxifmaintrin.h +177 -0
  74. package/framework/tools/x64/lib/clang/17/include/avxintrin.h +5108 -0
  75. package/framework/tools/x64/lib/clang/17/include/avxneconvertintrin.h +484 -0
  76. package/framework/tools/x64/lib/clang/17/include/avxvnniint16intrin.h +473 -0
  77. package/framework/tools/x64/lib/clang/17/include/avxvnniint8intrin.h +471 -0
  78. package/framework/tools/x64/lib/clang/17/include/avxvnniintrin.h +225 -0
  79. package/framework/tools/x64/lib/clang/17/include/bmi2intrin.h +255 -0
  80. package/framework/tools/x64/lib/clang/17/include/bmiintrin.h +431 -0
  81. package/framework/tools/x64/lib/clang/17/include/builtins.h +16 -0
  82. package/framework/tools/x64/lib/clang/17/include/cet.h +66 -0
  83. package/framework/tools/x64/lib/clang/17/include/cetintrin.h +115 -0
  84. package/framework/tools/x64/lib/clang/17/include/cldemoteintrin.h +36 -0
  85. package/framework/tools/x64/lib/clang/17/include/clflushoptintrin.h +36 -0
  86. package/framework/tools/x64/lib/clang/17/include/clwbintrin.h +38 -0
  87. package/framework/tools/x64/lib/clang/17/include/clzerointrin.h +38 -0
  88. package/framework/tools/x64/lib/clang/17/include/cmpccxaddintrin.h +70 -0
  89. package/framework/tools/x64/lib/clang/17/include/cpuid.h +331 -0
  90. package/framework/tools/x64/lib/clang/17/include/crc32intrin.h +100 -0
  91. package/framework/tools/x64/lib/clang/17/include/cuda_wrappers/algorithm +116 -0
  92. package/framework/tools/x64/lib/clang/17/include/cuda_wrappers/bits/basic_string.h +9 -0
  93. package/framework/tools/x64/lib/clang/17/include/cuda_wrappers/bits/basic_string.tcc +9 -0
  94. package/framework/tools/x64/lib/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h +9 -0
  95. package/framework/tools/x64/lib/clang/17/include/cuda_wrappers/cmath +90 -0
  96. package/framework/tools/x64/lib/clang/17/include/cuda_wrappers/complex +90 -0
  97. package/framework/tools/x64/lib/clang/17/include/cuda_wrappers/new +106 -0
  98. package/framework/tools/x64/lib/clang/17/include/emmintrin.h +4775 -0
  99. package/framework/tools/x64/lib/clang/17/include/enqcmdintrin.h +63 -0
  100. package/framework/tools/x64/lib/clang/17/include/f16cintrin.h +162 -0
  101. package/framework/tools/x64/lib/clang/17/include/float.h +168 -0
  102. package/framework/tools/x64/lib/clang/17/include/fma4intrin.h +218 -0
  103. package/framework/tools/x64/lib/clang/17/include/fmaintrin.h +780 -0
  104. package/framework/tools/x64/lib/clang/17/include/fxsrintrin.h +91 -0
  105. package/framework/tools/x64/lib/clang/17/include/gfniintrin.h +194 -0
  106. package/framework/tools/x64/lib/clang/17/include/hexagon_circ_brev_intrinsics.h +298 -0
  107. package/framework/tools/x64/lib/clang/17/include/hexagon_protos.h +8439 -0
  108. package/framework/tools/x64/lib/clang/17/include/hexagon_types.h +2621 -0
  109. package/framework/tools/x64/lib/clang/17/include/hresetintrin.h +49 -0
  110. package/framework/tools/x64/lib/clang/17/include/htmintrin.h +212 -0
  111. package/framework/tools/x64/lib/clang/17/include/htmxlintrin.h +345 -0
  112. package/framework/tools/x64/lib/clang/17/include/hvx_hexagon_protos.h +5183 -0
  113. package/framework/tools/x64/lib/clang/17/include/ia32intrin.h +441 -0
  114. package/framework/tools/x64/lib/clang/17/include/immintrin.h +758 -0
  115. package/framework/tools/x64/lib/clang/17/include/intrin.h +620 -0
  116. package/framework/tools/x64/lib/clang/17/include/inttypes.h +97 -0
  117. package/framework/tools/x64/lib/clang/17/include/invpcidintrin.h +23 -0
  118. package/framework/tools/x64/lib/clang/17/include/iso646.h +27 -0
  119. package/framework/tools/x64/lib/clang/17/include/keylockerintrin.h +530 -0
  120. package/framework/tools/x64/lib/clang/17/include/larchintrin.h +234 -0
  121. package/framework/tools/x64/lib/clang/17/include/limits.h +127 -0
  122. package/framework/tools/x64/lib/clang/17/include/llvm_libc_wrappers/ctype.h +85 -0
  123. package/framework/tools/x64/lib/clang/17/include/llvm_libc_wrappers/inttypes.h +34 -0
  124. package/framework/tools/x64/lib/clang/17/include/llvm_libc_wrappers/stdio.h +34 -0
  125. package/framework/tools/x64/lib/clang/17/include/llvm_libc_wrappers/stdlib.h +42 -0
  126. package/framework/tools/x64/lib/clang/17/include/llvm_libc_wrappers/string.h +37 -0
  127. package/framework/tools/x64/lib/clang/17/include/lwpintrin.h +136 -0
  128. package/framework/tools/x64/lib/clang/17/include/lzcntintrin.h +104 -0
  129. package/framework/tools/x64/lib/clang/17/include/mm3dnow.h +157 -0
  130. package/framework/tools/x64/lib/clang/17/include/mm_malloc.h +67 -0
  131. package/framework/tools/x64/lib/clang/17/include/mmintrin.h +1562 -0
  132. package/framework/tools/x64/lib/clang/17/include/module.modulemap +164 -0
  133. package/framework/tools/x64/lib/clang/17/include/movdirintrin.h +49 -0
  134. package/framework/tools/x64/lib/clang/17/include/msa.h +573 -0
  135. package/framework/tools/x64/lib/clang/17/include/mwaitxintrin.h +62 -0
  136. package/framework/tools/x64/lib/clang/17/include/nmmintrin.h +20 -0
  137. package/framework/tools/x64/lib/clang/17/include/opencl-c-base.h +820 -0
  138. package/framework/tools/x64/lib/clang/17/include/opencl-c.h +18356 -0
  139. package/framework/tools/x64/lib/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h +105 -0
  140. package/framework/tools/x64/lib/clang/17/include/openmp_wrappers/cmath +132 -0
  141. package/framework/tools/x64/lib/clang/17/include/openmp_wrappers/complex +55 -0
  142. package/framework/tools/x64/lib/clang/17/include/openmp_wrappers/complex.h +35 -0
  143. package/framework/tools/x64/lib/clang/17/include/openmp_wrappers/complex_cmath.h +388 -0
  144. package/framework/tools/x64/lib/clang/17/include/openmp_wrappers/math.h +61 -0
  145. package/framework/tools/x64/lib/clang/17/include/openmp_wrappers/new +48 -0
  146. package/framework/tools/x64/lib/clang/17/include/pconfigintrin.h +40 -0
  147. package/framework/tools/x64/lib/clang/17/include/pkuintrin.h +34 -0
  148. package/framework/tools/x64/lib/clang/17/include/pmmintrin.h +300 -0
  149. package/framework/tools/x64/lib/clang/17/include/popcntintrin.h +59 -0
  150. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/bmi2intrin.h +134 -0
  151. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/bmiintrin.h +165 -0
  152. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/emmintrin.h +2269 -0
  153. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/immintrin.h +27 -0
  154. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/mm_malloc.h +45 -0
  155. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/mmintrin.h +1453 -0
  156. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/pmmintrin.h +145 -0
  157. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/smmintrin.h +663 -0
  158. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/tmmintrin.h +453 -0
  159. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/x86gprintrin.h +17 -0
  160. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/x86intrin.h +28 -0
  161. package/framework/tools/x64/lib/clang/17/include/ppc_wrappers/xmmintrin.h +1827 -0
  162. package/framework/tools/x64/lib/clang/17/include/prfchiintrin.h +61 -0
  163. package/framework/tools/x64/lib/clang/17/include/prfchwintrin.h +58 -0
  164. package/framework/tools/x64/lib/clang/17/include/ptwriteintrin.h +37 -0
  165. package/framework/tools/x64/lib/clang/17/include/raointintrin.h +203 -0
  166. package/framework/tools/x64/lib/clang/17/include/rdpruintrin.h +57 -0
  167. package/framework/tools/x64/lib/clang/17/include/rdseedintrin.h +105 -0
  168. package/framework/tools/x64/lib/clang/17/include/riscv_ntlh.h +28 -0
  169. package/framework/tools/x64/lib/clang/17/include/rtmintrin.h +45 -0
  170. package/framework/tools/x64/lib/clang/17/include/s390intrin.h +25 -0
  171. package/framework/tools/x64/lib/clang/17/include/serializeintrin.h +30 -0
  172. package/framework/tools/x64/lib/clang/17/include/sgxintrin.h +60 -0
  173. package/framework/tools/x64/lib/clang/17/include/sha512intrin.h +200 -0
  174. package/framework/tools/x64/lib/clang/17/include/shaintrin.h +189 -0
  175. package/framework/tools/x64/lib/clang/17/include/sifive_vector.h +16 -0
  176. package/framework/tools/x64/lib/clang/17/include/sm3intrin.h +238 -0
  177. package/framework/tools/x64/lib/clang/17/include/sm4intrin.h +269 -0
  178. package/framework/tools/x64/lib/clang/17/include/smmintrin.h +2328 -0
  179. package/framework/tools/x64/lib/clang/17/include/stdalign.h +26 -0
  180. package/framework/tools/x64/lib/clang/17/include/stdarg.h +51 -0
  181. package/framework/tools/x64/lib/clang/17/include/stdatomic.h +196 -0
  182. package/framework/tools/x64/lib/clang/17/include/stdbool.h +34 -0
  183. package/framework/tools/x64/lib/clang/17/include/stddef.h +133 -0
  184. package/framework/tools/x64/lib/clang/17/include/stdint.h +979 -0
  185. package/framework/tools/x64/lib/clang/17/include/stdnoreturn.h +29 -0
  186. package/framework/tools/x64/lib/clang/17/include/tbmintrin.h +140 -0
  187. package/framework/tools/x64/lib/clang/17/include/tgmath.h +1368 -0
  188. package/framework/tools/x64/lib/clang/17/include/tmmintrin.h +775 -0
  189. package/framework/tools/x64/lib/clang/17/include/tsxldtrkintrin.h +56 -0
  190. package/framework/tools/x64/lib/clang/17/include/uintrintrin.h +157 -0
  191. package/framework/tools/x64/lib/clang/17/include/unwind.h +332 -0
  192. package/framework/tools/x64/lib/clang/17/include/vadefs.h +51 -0
  193. package/framework/tools/x64/lib/clang/17/include/vaesintrin.h +85 -0
  194. package/framework/tools/x64/lib/clang/17/include/varargs.h +12 -0
  195. package/framework/tools/x64/lib/clang/17/include/vecintrin.h +11127 -0
  196. package/framework/tools/x64/lib/clang/17/include/velintrin.h +71 -0
  197. package/framework/tools/x64/lib/clang/17/include/velintrin_approx.h +120 -0
  198. package/framework/tools/x64/lib/clang/17/include/velintrin_gen.h +1257 -0
  199. package/framework/tools/x64/lib/clang/17/include/vpclmulqdqintrin.h +30 -0
  200. package/framework/tools/x64/lib/clang/17/include/waitpkgintrin.h +42 -0
  201. package/framework/tools/x64/lib/clang/17/include/wasm_simd128.h +1997 -0
  202. package/framework/tools/x64/lib/clang/17/include/wbnoinvdintrin.h +24 -0
  203. package/framework/tools/x64/lib/clang/17/include/wmmintrin.h +23 -0
  204. package/framework/tools/x64/lib/clang/17/include/x86gprintrin.h +65 -0
  205. package/framework/tools/x64/lib/clang/17/include/x86intrin.h +67 -0
  206. package/framework/tools/x64/lib/clang/17/include/xmmintrin.h +3017 -0
  207. package/framework/tools/x64/lib/clang/17/include/xopintrin.h +770 -0
  208. package/framework/tools/x64/lib/clang/17/include/xsavecintrin.h +84 -0
  209. package/framework/tools/x64/lib/clang/17/include/xsaveintrin.h +63 -0
  210. package/framework/tools/x64/lib/clang/17/include/xsaveoptintrin.h +34 -0
  211. package/framework/tools/x64/lib/clang/17/include/xsavesintrin.h +44 -0
  212. package/framework/tools/x64/lib/clang/17/include/xtestintrin.h +27 -0
  213. package/framework/tools/x64/metadata-generator +4 -0
  214. package/framework/tools/x64/ns-bundle +0 -0
  215. package/framework/tools/x64/ns-metadata-filter +0 -0
  216. package/framework/typings/c!EGL.d.ts +431 -0
  217. package/framework/typings/c!GLES.d.ts +5002 -0
  218. package/framework/typings/c!GLib.d.ts +14488 -0
  219. package/framework/typings/c!Gtk.d.ts +17630 -0
  220. package/framework/typings/c!X11.d.ts +7054 -0
  221. package/framework/typings/c!_Builtin_intrinsics.d.ts +106 -0
  222. package/framework/typings/c!_Builtin_stddef_max_align_t.d.ts +6 -0
  223. package/framework/typings/c!cairo.d.ts +1248 -0
  224. package/framework/typings/c!fontconfig.d.ts +819 -0
  225. package/framework/typings/c!freetype.d.ts +1068 -0
  226. package/framework/typings/c!gdk_pixbuf.d.ts +326 -0
  227. package/framework/typings/c!graphene.d.ts +320 -0
  228. package/framework/typings/c!harfbuzz.d.ts +1292 -0
  229. package/framework/typings/c!icu.d.ts +3330 -0
  230. package/framework/typings/c!libc.d.ts +11639 -0
  231. package/framework/typings/c!libxml2.d.ts +7029 -0
  232. package/framework/typings/c!pango.d.ts +2225 -0
  233. package/framework/typings/c!uuid.d.ts +68 -0
  234. package/framework/typings/c!zlib.d.ts +276 -0
  235. package/framework/typings/index.d.ts +10 -0
  236. package/framework/typings/linux-runtime.d.ts +90 -0
  237. package/package.json +9 -4
  238. package/README.md +0 -3
@@ -0,0 +1,524 @@
1
+ /*===--------------- amxintrin.h - AMX intrinsics -*- C/C++ -*---------------===
2
+ *
3
+ * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ * See https://llvm.org/LICENSE.txt for license information.
5
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ *
7
+ *===------------------------------------------------------------------------===
8
+ */
9
+
10
+ #ifndef __IMMINTRIN_H
11
+ #error "Never use <amxintrin.h> directly; include <immintrin.h> instead."
12
+ #endif /* __IMMINTRIN_H */
13
+
14
+ #ifndef __AMXINTRIN_H
15
+ #define __AMXINTRIN_H
16
+ #ifdef __x86_64__
17
+
18
+ /* Define the default attributes for the functions in this file. */
19
+ #define __DEFAULT_FN_ATTRS_TILE \
20
+ __attribute__((__always_inline__, __nodebug__, __target__("amx-tile")))
21
+ #define __DEFAULT_FN_ATTRS_INT8 \
22
+ __attribute__((__always_inline__, __nodebug__, __target__("amx-int8")))
23
+ #define __DEFAULT_FN_ATTRS_BF16 \
24
+ __attribute__((__always_inline__, __nodebug__, __target__("amx-bf16")))
25
+ #define __DEFAULT_FN_ATTRS_FP16 \
26
+ __attribute__((__always_inline__, __nodebug__, __target__("amx-fp16")))
27
+
28
+ /// Load tile configuration from a 64-byte memory location specified by
29
+ /// "mem_addr". The tile configuration includes the tile type palette, the
30
+ /// number of bytes per row, and the number of rows. If the specified
31
+ /// palette_id is zero, that signifies the init state for both the tile
32
+ /// config and the tile data, and the tiles are zeroed. Any invalid
33
+ /// configurations will result in #GP fault.
34
+ ///
35
+ /// \headerfile <immintrin.h>
36
+ ///
37
+ /// This intrinsic corresponds to the <c> LDTILECFG </c> instruction.
38
+ ///
39
+ /// \param __config
40
+ /// A pointer to 512-bits configuration
41
+ static __inline__ void __DEFAULT_FN_ATTRS_TILE
42
+ _tile_loadconfig(const void *__config) {
43
+ __builtin_ia32_tile_loadconfig(__config);
44
+ }
45
+
46
+ /// Stores the current tile configuration to a 64-byte memory location
47
+ /// specified by "mem_addr". The tile configuration includes the tile type
48
+ /// palette, the number of bytes per row, and the number of rows. If tiles
49
+ /// are not configured, all zeroes will be stored to memory.
50
+ ///
51
+ /// \headerfile <immintrin.h>
52
+ ///
53
+ /// This intrinsic corresponds to the <c> STTILECFG </c> instruction.
54
+ ///
55
+ /// \param __config
56
+ /// A pointer to 512-bits configuration
57
+ static __inline__ void __DEFAULT_FN_ATTRS_TILE
58
+ _tile_storeconfig(void *__config) {
59
+ __builtin_ia32_tile_storeconfig(__config);
60
+ }
61
+
62
+ /// Release the tile configuration to return to the init state, which
63
+ /// releases all storage it currently holds.
64
+ ///
65
+ /// \headerfile <immintrin.h>
66
+ ///
67
+ /// This intrinsic corresponds to the <c> TILERELEASE </c> instruction.
68
+ static __inline__ void __DEFAULT_FN_ATTRS_TILE _tile_release(void) {
69
+ __builtin_ia32_tilerelease();
70
+ }
71
+
72
+ /// Load tile rows from memory specifieid by "base" address and "stride" into
73
+ /// destination tile "dst" using the tile configuration previously configured
74
+ /// via "_tile_loadconfig".
75
+ ///
76
+ /// \headerfile <immintrin.h>
77
+ ///
78
+ /// This intrinsic corresponds to the <c> TILELOADD </c> instruction.
79
+ ///
80
+ /// \param dst
81
+ /// A destination tile. Max size is 1024 Bytes.
82
+ /// \param base
83
+ /// A pointer to base address.
84
+ /// \param stride
85
+ /// The stride between the rows' data to be loaded in memory.
86
+ #define _tile_loadd(dst, base, stride) \
87
+ __builtin_ia32_tileloadd64((dst), ((const void *)(base)), \
88
+ (__SIZE_TYPE__)(stride))
89
+
90
+ /// Load tile rows from memory specifieid by "base" address and "stride" into
91
+ /// destination tile "dst" using the tile configuration previously configured
92
+ /// via "_tile_loadconfig". This intrinsic provides a hint to the implementation
93
+ /// that the data will likely not be reused in the near future and the data
94
+ /// caching can be optimized accordingly.
95
+ ///
96
+ /// \headerfile <immintrin.h>
97
+ ///
98
+ /// This intrinsic corresponds to the <c> TILELOADDT1 </c> instruction.
99
+ ///
100
+ /// \param dst
101
+ /// A destination tile. Max size is 1024 Bytes.
102
+ /// \param base
103
+ /// A pointer to base address.
104
+ /// \param stride
105
+ /// The stride between the rows' data to be loaded in memory.
106
+ #define _tile_stream_loadd(dst, base, stride) \
107
+ __builtin_ia32_tileloaddt164((dst), ((const void *)(base)), \
108
+ (__SIZE_TYPE__)(stride))
109
+
110
+ /// Store the tile specified by "src" to memory specifieid by "base" address and
111
+ /// "stride" using the tile configuration previously configured via
112
+ /// "_tile_loadconfig".
113
+ ///
114
+ /// \headerfile <immintrin.h>
115
+ ///
116
+ /// This intrinsic corresponds to the <c> TILESTORED </c> instruction.
117
+ ///
118
+ /// \param dst
119
+ /// A destination tile. Max size is 1024 Bytes.
120
+ /// \param base
121
+ /// A pointer to base address.
122
+ /// \param stride
123
+ /// The stride between the rows' data to be stored in memory.
124
+ #define _tile_stored(dst, base, stride) \
125
+ __builtin_ia32_tilestored64((dst), ((void *)(base)), (__SIZE_TYPE__)(stride))
126
+
127
+ /// Zero the tile specified by "tdest".
128
+ ///
129
+ /// \headerfile <immintrin.h>
130
+ ///
131
+ /// This intrinsic corresponds to the <c> TILEZERO </c> instruction.
132
+ ///
133
+ /// \param tile
134
+ /// The destination tile to be zero. Max size is 1024 Bytes.
135
+ #define _tile_zero(tile) __builtin_ia32_tilezero((tile))
136
+
137
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
138
+ /// Multiply groups of 4 adjacent pairs of signed 8-bit integers in src0 with
139
+ /// corresponding signed 8-bit integers in src1, producing 4 intermediate 32-bit
140
+ /// results. Sum these 4 results with the corresponding 32-bit integer in "dst",
141
+ /// and store the 32-bit result back to tile "dst".
142
+ ///
143
+ /// \headerfile <immintrin.h>
144
+ ///
145
+ /// This intrinsic corresponds to the <c> TDPBSSD </c> instruction.
146
+ ///
147
+ /// \param dst
148
+ /// The destination tile. Max size is 1024 Bytes.
149
+ /// \param src0
150
+ /// The 1st source tile. Max size is 1024 Bytes.
151
+ /// \param src1
152
+ /// The 2nd source tile. Max size is 1024 Bytes.
153
+ #define _tile_dpbssd(dst, src0, src1) \
154
+ __builtin_ia32_tdpbssd((dst), (src0), (src1))
155
+
156
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
157
+ /// Multiply groups of 4 adjacent pairs of signed 8-bit integers in src0 with
158
+ /// corresponding unsigned 8-bit integers in src1, producing 4 intermediate
159
+ /// 32-bit results. Sum these 4 results with the corresponding 32-bit integer
160
+ /// in "dst", and store the 32-bit result back to tile "dst".
161
+ ///
162
+ /// \headerfile <immintrin.h>
163
+ ///
164
+ /// This intrinsic corresponds to the <c> TDPBSUD </c> instruction.
165
+ ///
166
+ /// \param dst
167
+ /// The destination tile. Max size is 1024 Bytes.
168
+ /// \param src0
169
+ /// The 1st source tile. Max size is 1024 Bytes.
170
+ /// \param src1
171
+ /// The 2nd source tile. Max size is 1024 Bytes.
172
+ #define _tile_dpbsud(dst, src0, src1) \
173
+ __builtin_ia32_tdpbsud((dst), (src0), (src1))
174
+
175
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
176
+ /// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in src0 with
177
+ /// corresponding signed 8-bit integers in src1, producing 4 intermediate 32-bit
178
+ /// results. Sum these 4 results with the corresponding 32-bit integer in "dst",
179
+ /// and store the 32-bit result back to tile "dst".
180
+ ///
181
+ /// \headerfile <immintrin.h>
182
+ ///
183
+ /// This intrinsic corresponds to the <c> TDPBUSD </c> instruction.
184
+ ///
185
+ /// \param dst
186
+ /// The destination tile. Max size is 1024 Bytes.
187
+ /// \param src0
188
+ /// The 1st source tile. Max size is 1024 Bytes.
189
+ /// \param src1
190
+ /// The 2nd source tile. Max size is 1024 Bytes.
191
+ #define _tile_dpbusd(dst, src0, src1) \
192
+ __builtin_ia32_tdpbusd((dst), (src0), (src1))
193
+
194
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
195
+ /// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in src0 with
196
+ /// corresponding unsigned 8-bit integers in src1, producing 4 intermediate
197
+ /// 32-bit results. Sum these 4 results with the corresponding 32-bit integer in
198
+ /// "dst", and store the 32-bit result back to tile "dst".
199
+ ///
200
+ /// \headerfile <immintrin.h>
201
+ ///
202
+ /// This intrinsic corresponds to the <c> TDPBUUD </c> instruction.
203
+ ///
204
+ /// \param dst
205
+ /// The destination tile. Max size is 1024 Bytes.
206
+ /// \param src0
207
+ /// The 1st source tile. Max size is 1024 Bytes.
208
+ /// \param src1
209
+ /// The 2nd source tile. Max size is 1024 Bytes.
210
+ #define _tile_dpbuud(dst, src0, src1) \
211
+ __builtin_ia32_tdpbuud((dst), (src0), (src1))
212
+
213
+ /// Compute dot-product of BF16 (16-bit) floating-point pairs in tiles src0 and
214
+ /// src1, accumulating the intermediate single-precision (32-bit) floating-point
215
+ /// elements with elements in "dst", and store the 32-bit result back to tile
216
+ /// "dst".
217
+ ///
218
+ /// \headerfile <immintrin.h>
219
+ ///
220
+ /// This intrinsic corresponds to the <c> TDPBF16PS </c> instruction.
221
+ ///
222
+ /// \param dst
223
+ /// The destination tile. Max size is 1024 Bytes.
224
+ /// \param src0
225
+ /// The 1st source tile. Max size is 1024 Bytes.
226
+ /// \param src1
227
+ /// The 2nd source tile. Max size is 1024 Bytes.
228
+ #define _tile_dpbf16ps(dst, src0, src1) \
229
+ __builtin_ia32_tdpbf16ps((dst), (src0), (src1))
230
+
231
+ /// AMX tile register size can be configured, the maximum size is 16x64=1024
232
+ /// bytes. Since there is no 2D type in llvm IR, we use vector type to
233
+ /// represent 2D tile and the fixed size is maximum amx tile register size.
234
+ typedef int _tile1024i __attribute__((__vector_size__(1024), __aligned__(64)));
235
+
236
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
237
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_INT8
238
+ _tile_loadd_internal(unsigned short m, unsigned short n, const void *base,
239
+ __SIZE_TYPE__ stride) {
240
+ return __builtin_ia32_tileloadd64_internal(m, n, base,
241
+ (__SIZE_TYPE__)(stride));
242
+ }
243
+
244
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
245
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_INT8
246
+ _tile_loaddt1_internal(unsigned short m, unsigned short n, const void *base,
247
+ __SIZE_TYPE__ stride) {
248
+ return __builtin_ia32_tileloaddt164_internal(m, n, base,
249
+ (__SIZE_TYPE__)(stride));
250
+ }
251
+
252
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
253
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_INT8
254
+ _tile_dpbssd_internal(unsigned short m, unsigned short n, unsigned short k,
255
+ _tile1024i dst, _tile1024i src1, _tile1024i src2) {
256
+ return __builtin_ia32_tdpbssd_internal(m, n, k, dst, src1, src2);
257
+ }
258
+
259
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
260
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_INT8
261
+ _tile_dpbsud_internal(unsigned short m, unsigned short n, unsigned short k,
262
+ _tile1024i dst, _tile1024i src1, _tile1024i src2) {
263
+ return __builtin_ia32_tdpbsud_internal(m, n, k, dst, src1, src2);
264
+ }
265
+
266
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
267
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_INT8
268
+ _tile_dpbusd_internal(unsigned short m, unsigned short n, unsigned short k,
269
+ _tile1024i dst, _tile1024i src1, _tile1024i src2) {
270
+ return __builtin_ia32_tdpbusd_internal(m, n, k, dst, src1, src2);
271
+ }
272
+
273
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
274
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_INT8
275
+ _tile_dpbuud_internal(unsigned short m, unsigned short n, unsigned short k,
276
+ _tile1024i dst, _tile1024i src1, _tile1024i src2) {
277
+ return __builtin_ia32_tdpbuud_internal(m, n, k, dst, src1, src2);
278
+ }
279
+
280
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
281
+ static __inline__ void __DEFAULT_FN_ATTRS_INT8
282
+ _tile_stored_internal(unsigned short m, unsigned short n, void *base,
283
+ __SIZE_TYPE__ stride, _tile1024i tile) {
284
+ return __builtin_ia32_tilestored64_internal(m, n, base,
285
+ (__SIZE_TYPE__)(stride), tile);
286
+ }
287
+
288
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
289
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_BF16
290
+ _tile_dpbf16ps_internal(unsigned short m, unsigned short n, unsigned short k,
291
+ _tile1024i dst, _tile1024i src1, _tile1024i src2) {
292
+ return __builtin_ia32_tdpbf16ps_internal(m, n, k, dst, src1, src2);
293
+ }
294
+
295
+ /// This is internal intrinsic. C/C++ user should avoid calling it directly.
296
+ static __inline__ _tile1024i __DEFAULT_FN_ATTRS_FP16
297
+ _tile_dpfp16ps_internal(unsigned short m, unsigned short n, unsigned short k,
298
+ _tile1024i dst, _tile1024i src1, _tile1024i src2) {
299
+ return __builtin_ia32_tdpfp16ps_internal(m, n, k, dst, src1, src2);
300
+ }
301
+
302
+ /// This struct pack the shape and tile data together for user. We suggest
303
+ /// initializing the struct as early as possible, because compiler depends
304
+ /// on the shape information to do configure. The constant value is preferred
305
+ /// for optimization by compiler.
306
+ typedef struct __tile1024i_str {
307
+ const unsigned short row;
308
+ const unsigned short col;
309
+ _tile1024i tile;
310
+ } __tile1024i;
311
+
312
+ /// Load tile rows from memory specifieid by "base" address and "stride" into
313
+ /// destination tile "dst".
314
+ ///
315
+ /// \headerfile <immintrin.h>
316
+ ///
317
+ /// This intrinsic corresponds to the <c> TILELOADD </c> instruction.
318
+ ///
319
+ /// \param dst
320
+ /// A destination tile. Max size is 1024 Bytes.
321
+ /// \param base
322
+ /// A pointer to base address.
323
+ /// \param stride
324
+ /// The stride between the rows' data to be loaded in memory.
325
+ __DEFAULT_FN_ATTRS_TILE
326
+ static __inline__ void __tile_loadd(__tile1024i *dst, const void *base,
327
+ __SIZE_TYPE__ stride) {
328
+ dst->tile = _tile_loadd_internal(dst->row, dst->col, base, stride);
329
+ }
330
+
331
+ /// Load tile rows from memory specifieid by "base" address and "stride" into
332
+ /// destination tile "dst". This intrinsic provides a hint to the implementation
333
+ /// that the data will likely not be reused in the near future and the data
334
+ /// caching can be optimized accordingly.
335
+ ///
336
+ /// \headerfile <immintrin.h>
337
+ ///
338
+ /// This intrinsic corresponds to the <c> TILELOADDT1 </c> instruction.
339
+ ///
340
+ /// \param dst
341
+ /// A destination tile. Max size is 1024 Bytes.
342
+ /// \param base
343
+ /// A pointer to base address.
344
+ /// \param stride
345
+ /// The stride between the rows' data to be loaded in memory.
346
+ __DEFAULT_FN_ATTRS_TILE
347
+ static __inline__ void __tile_stream_loadd(__tile1024i *dst, const void *base,
348
+ __SIZE_TYPE__ stride) {
349
+ dst->tile = _tile_loaddt1_internal(dst->row, dst->col, base, stride);
350
+ }
351
+
352
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
353
+ /// Multiply groups of 4 adjacent pairs of signed 8-bit integers in src0 with
354
+ /// corresponding signed 8-bit integers in src1, producing 4 intermediate 32-bit
355
+ /// results. Sum these 4 results with the corresponding 32-bit integer in "dst",
356
+ /// and store the 32-bit result back to tile "dst".
357
+ ///
358
+ /// \headerfile <immintrin.h>
359
+ ///
360
+ /// This intrinsic corresponds to the <c> TDPBSSD </c> instruction.
361
+ ///
362
+ /// \param dst
363
+ /// The destination tile. Max size is 1024 Bytes.
364
+ /// \param src0
365
+ /// The 1st source tile. Max size is 1024 Bytes.
366
+ /// \param src1
367
+ /// The 2nd source tile. Max size is 1024 Bytes.
368
+ __DEFAULT_FN_ATTRS_INT8
369
+ static __inline__ void __tile_dpbssd(__tile1024i *dst, __tile1024i src0,
370
+ __tile1024i src1) {
371
+ dst->tile = _tile_dpbssd_internal(src0.row, src1.col, src0.col, dst->tile,
372
+ src0.tile, src1.tile);
373
+ }
374
+
375
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
376
+ /// Multiply groups of 4 adjacent pairs of signed 8-bit integers in src0 with
377
+ /// corresponding unsigned 8-bit integers in src1, producing 4 intermediate
378
+ /// 32-bit results. Sum these 4 results with the corresponding 32-bit integer
379
+ /// in "dst", and store the 32-bit result back to tile "dst".
380
+ ///
381
+ /// \headerfile <immintrin.h>
382
+ ///
383
+ /// This intrinsic corresponds to the <c> TDPBSUD </c> instruction.
384
+ ///
385
+ /// \param dst
386
+ /// The destination tile. Max size is 1024 Bytes.
387
+ /// \param src0
388
+ /// The 1st source tile. Max size is 1024 Bytes.
389
+ /// \param src1
390
+ /// The 2nd source tile. Max size is 1024 Bytes.
391
+ __DEFAULT_FN_ATTRS_INT8
392
+ static __inline__ void __tile_dpbsud(__tile1024i *dst, __tile1024i src0,
393
+ __tile1024i src1) {
394
+ dst->tile = _tile_dpbsud_internal(src0.row, src1.col, src0.col, dst->tile,
395
+ src0.tile, src1.tile);
396
+ }
397
+
398
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
399
+ /// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in src0 with
400
+ /// corresponding signed 8-bit integers in src1, producing 4 intermediate 32-bit
401
+ /// results. Sum these 4 results with the corresponding 32-bit integer in "dst",
402
+ /// and store the 32-bit result back to tile "dst".
403
+ ///
404
+ /// \headerfile <immintrin.h>
405
+ ///
406
+ /// This intrinsic corresponds to the <c> TDPBUSD </c> instruction.
407
+ ///
408
+ /// \param dst
409
+ /// The destination tile. Max size is 1024 Bytes.
410
+ /// \param src0
411
+ /// The 1st source tile. Max size is 1024 Bytes.
412
+ /// \param src1
413
+ /// The 2nd source tile. Max size is 1024 Bytes.
414
+ __DEFAULT_FN_ATTRS_INT8
415
+ static __inline__ void __tile_dpbusd(__tile1024i *dst, __tile1024i src0,
416
+ __tile1024i src1) {
417
+ dst->tile = _tile_dpbusd_internal(src0.row, src1.col, src0.col, dst->tile,
418
+ src0.tile, src1.tile);
419
+ }
420
+
421
+ /// Compute dot-product of bytes in tiles with a source/destination accumulator.
422
+ /// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in src0 with
423
+ /// corresponding unsigned 8-bit integers in src1, producing 4 intermediate
424
+ /// 32-bit results. Sum these 4 results with the corresponding 32-bit integer in
425
+ /// "dst", and store the 32-bit result back to tile "dst".
426
+ ///
427
+ /// \headerfile <immintrin.h>
428
+ ///
429
+ /// This intrinsic corresponds to the <c> TDPBUUD </c> instruction.
430
+ ///
431
+ /// \param dst
432
+ /// The destination tile. Max size is 1024 Bytes.
433
+ /// \param src0
434
+ /// The 1st source tile. Max size is 1024 Bytes.
435
+ /// \param src1
436
+ /// The 2nd source tile. Max size is 1024 Bytes.
437
+ __DEFAULT_FN_ATTRS_INT8
438
+ static __inline__ void __tile_dpbuud(__tile1024i *dst, __tile1024i src0,
439
+ __tile1024i src1) {
440
+ dst->tile = _tile_dpbuud_internal(src0.row, src1.col, src0.col, dst->tile,
441
+ src0.tile, src1.tile);
442
+ }
443
+
444
+ /// Store the tile specified by "src" to memory specifieid by "base" address and
445
+ /// "stride".
446
+ ///
447
+ /// \headerfile <immintrin.h>
448
+ ///
449
+ /// This intrinsic corresponds to the <c> TILESTORED </c> instruction.
450
+ ///
451
+ /// \param base
452
+ /// A pointer to base address.
453
+ /// \param stride
454
+ /// The stride between the rows' data to be stored in memory.
455
+ __DEFAULT_FN_ATTRS_TILE
456
+ static __inline__ void __tile_stored(void *base, __SIZE_TYPE__ stride,
457
+ __tile1024i src) {
458
+ _tile_stored_internal(src.row, src.col, base, stride, src.tile);
459
+ }
460
+
461
+ /// Zero the tile specified by "dst".
462
+ ///
463
+ /// \headerfile <immintrin.h>
464
+ ///
465
+ /// This intrinsic corresponds to the <c> TILEZERO </c> instruction.
466
+ ///
467
+ /// \param dst
468
+ /// The destination tile to be zero. Max size is 1024 Bytes.
469
+ __DEFAULT_FN_ATTRS_TILE
470
+ static __inline__ void __tile_zero(__tile1024i *dst) {
471
+ dst->tile = __builtin_ia32_tilezero_internal(dst->row, dst->col);
472
+ }
473
+
474
+ /// Compute dot-product of BF16 (16-bit) floating-point pairs in tiles src0 and
475
+ /// src1, accumulating the intermediate single-precision (32-bit) floating-point
476
+ /// elements with elements in "dst", and store the 32-bit result back to tile
477
+ /// "dst".
478
+ ///
479
+ /// \headerfile <immintrin.h>
480
+ ///
481
+ /// This intrinsic corresponds to the <c> TDPBF16PS </c> instruction.
482
+ ///
483
+ /// \param dst
484
+ /// The destination tile. Max size is 1024 Bytes.
485
+ /// \param src0
486
+ /// The 1st source tile. Max size is 1024 Bytes.
487
+ /// \param src1
488
+ /// The 2nd source tile. Max size is 1024 Bytes.
489
+ __DEFAULT_FN_ATTRS_BF16
490
+ static __inline__ void __tile_dpbf16ps(__tile1024i *dst, __tile1024i src0,
491
+ __tile1024i src1) {
492
+ dst->tile = _tile_dpbf16ps_internal(src0.row, src1.col, src0.col, dst->tile,
493
+ src0.tile, src1.tile);
494
+ }
495
+
496
+ /// Compute dot-product of FP16 (16-bit) floating-point pairs in tiles src0 and
497
+ /// src1, accumulating the intermediate single-precision (32-bit) floating-point
498
+ /// elements with elements in "dst", and store the 32-bit result back to tile
499
+ /// "dst".
500
+ ///
501
+ /// \headerfile <immintrin.h>
502
+ ///
503
+ /// This intrinsic corresponds to the <c> TDPFP16PS </c> instruction.
504
+ ///
505
+ /// \param dst
506
+ /// The destination tile. Max size is 1024 Bytes.
507
+ /// \param src0
508
+ /// The 1st source tile. Max size is 1024 Bytes.
509
+ /// \param src1
510
+ /// The 2nd source tile. Max size is 1024 Bytes.
511
+ __DEFAULT_FN_ATTRS_FP16
512
+ static __inline__ void __tile_dpfp16ps(__tile1024i *dst, __tile1024i src0,
513
+ __tile1024i src1) {
514
+ dst->tile = _tile_dpfp16ps_internal(src0.row, src1.col, src0.col, dst->tile,
515
+ src0.tile, src1.tile);
516
+ }
517
+
518
+ #undef __DEFAULT_FN_ATTRS_TILE
519
+ #undef __DEFAULT_FN_ATTRS_INT8
520
+ #undef __DEFAULT_FN_ATTRS_BF16
521
+ #undef __DEFAULT_FN_ATTRS_FP16
522
+
523
+ #endif /* __x86_64__ */
524
+ #endif /* __AMXINTRIN_H */
@@ -0,0 +1,35 @@
1
+ /*===---- arm64intr.h - ARM64 Windows intrinsics -------------------------------===
2
+ *
3
+ * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ * See https://llvm.org/LICENSE.txt for license information.
5
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ *
7
+ *===-----------------------------------------------------------------------===
8
+ */
9
+
10
+ /* Only include this if we're compiling for the windows platform. */
11
+ #ifndef _MSC_VER
12
+ #include_next <arm64intr.h>
13
+ #else
14
+
15
+ #ifndef __ARM64INTR_H
16
+ #define __ARM64INTR_H
17
+
18
+ typedef enum
19
+ {
20
+ _ARM64_BARRIER_SY = 0xF,
21
+ _ARM64_BARRIER_ST = 0xE,
22
+ _ARM64_BARRIER_LD = 0xD,
23
+ _ARM64_BARRIER_ISH = 0xB,
24
+ _ARM64_BARRIER_ISHST = 0xA,
25
+ _ARM64_BARRIER_ISHLD = 0x9,
26
+ _ARM64_BARRIER_NSH = 0x7,
27
+ _ARM64_BARRIER_NSHST = 0x6,
28
+ _ARM64_BARRIER_NSHLD = 0x5,
29
+ _ARM64_BARRIER_OSH = 0x3,
30
+ _ARM64_BARRIER_OSHST = 0x2,
31
+ _ARM64_BARRIER_OSHLD = 0x1
32
+ } _ARM64INTR_BARRIER_TYPE;
33
+
34
+ #endif /* __ARM64INTR_H */
35
+ #endif /* _MSC_VER */