@cpp-linter/clang-tidy-linux-arm64 18.1.5 → 20.1.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 (282) hide show
  1. package/README.md +2 -2
  2. package/bin/clang-tidy +2 -2
  3. package/lib/clang/{18 → 20}/include/__clang_cuda_device_functions.h +14 -0
  4. package/lib/clang/{18 → 20}/include/__clang_cuda_intrinsics.h +1 -3
  5. package/lib/clang/{18 → 20}/include/__clang_cuda_math.h +5 -0
  6. package/lib/clang/{18 → 20}/include/__clang_hip_cmath.h +6 -1
  7. package/lib/clang/{18 → 20}/include/__clang_hip_math.h +5 -0
  8. package/lib/clang/20/include/__stdarg_header_macro.h +12 -0
  9. package/lib/clang/20/include/__stddef_header_macro.h +12 -0
  10. package/lib/clang/{18 → 20}/include/adcintrin.h +5 -0
  11. package/lib/clang/{18 → 20}/include/adxintrin.h +5 -0
  12. package/lib/clang/{18 → 20}/include/altivec.h +8 -8
  13. package/lib/clang/20/include/amdgpuintrin.h +194 -0
  14. package/lib/clang/20/include/amxavx512intrin.h +382 -0
  15. package/lib/clang/20/include/amxbf16transposeintrin.h +94 -0
  16. package/lib/clang/20/include/amxcomplextransposeintrin.h +303 -0
  17. package/lib/clang/{18 → 20}/include/amxfp16intrin.h +35 -0
  18. package/lib/clang/20/include/amxfp16transposeintrin.h +94 -0
  19. package/lib/clang/20/include/amxfp8intrin.h +230 -0
  20. package/lib/clang/{18 → 20}/include/amxintrin.h +5 -35
  21. package/lib/clang/20/include/amxmovrsintrin.h +48 -0
  22. package/lib/clang/20/include/amxmovrstransposeintrin.h +200 -0
  23. package/lib/clang/20/include/amxtf32intrin.h +108 -0
  24. package/lib/clang/20/include/amxtf32transposeintrin.h +105 -0
  25. package/lib/clang/20/include/amxtransposeintrin.h +248 -0
  26. package/lib/clang/{18 → 20}/include/arm_acle.h +49 -26
  27. package/lib/clang/{18 → 20}/include/arm_fp16.h +1 -1
  28. package/lib/clang/{18 → 20}/include/arm_neon.h +45631 -43745
  29. package/lib/clang/{18 → 20}/include/arm_sme.h +641 -6
  30. package/lib/clang/{18 → 20}/include/arm_sve.h +28311 -27738
  31. package/lib/clang/{18 → 20}/include/arm_vector_types.h +92 -5
  32. package/lib/clang/20/include/avx10_2_512bf16intrin.h +561 -0
  33. package/lib/clang/20/include/avx10_2_512convertintrin.h +320 -0
  34. package/lib/clang/20/include/avx10_2_512minmaxintrin.h +127 -0
  35. package/lib/clang/20/include/avx10_2_512niintrin.h +314 -0
  36. package/lib/clang/20/include/avx10_2_512satcvtdsintrin.h +303 -0
  37. package/lib/clang/20/include/avx10_2_512satcvtintrin.h +301 -0
  38. package/lib/clang/20/include/avx10_2bf16intrin.h +1085 -0
  39. package/lib/clang/20/include/avx10_2convertintrin.h +589 -0
  40. package/lib/clang/20/include/avx10_2copyintrin.h +66 -0
  41. package/lib/clang/20/include/avx10_2minmaxintrin.h +277 -0
  42. package/lib/clang/20/include/avx10_2niintrin.h +2075 -0
  43. package/lib/clang/20/include/avx10_2satcvtdsintrin.h +496 -0
  44. package/lib/clang/20/include/avx10_2satcvtintrin.h +444 -0
  45. package/lib/clang/{18 → 20}/include/avx2intrin.h +9 -0
  46. package/lib/clang/{18 → 20}/include/avx512bitalgintrin.h +2 -2
  47. package/lib/clang/{18 → 20}/include/avx512fintrin.h +22 -14
  48. package/lib/clang/{18 → 20}/include/avx512fp16intrin.h +38 -38
  49. package/lib/clang/{18 → 20}/include/avx512vlbitalgintrin.h +4 -4
  50. package/lib/clang/{18 → 20}/include/avx512vpopcntdqintrin.h +12 -4
  51. package/lib/clang/{18 → 20}/include/avx512vpopcntdqvlintrin.h +16 -8
  52. package/lib/clang/{18 → 20}/include/avxintrin.h +88 -60
  53. package/lib/clang/{18 → 20}/include/avxvnniint16intrin.h +36 -77
  54. package/lib/clang/{18 → 20}/include/avxvnniint8intrin.h +36 -77
  55. package/lib/clang/{18 → 20}/include/bmi2intrin.h +15 -17
  56. package/lib/clang/{18 → 20}/include/bmiintrin.h +33 -41
  57. package/lib/clang/{18 → 20}/include/builtins.h +3 -0
  58. package/lib/clang/{18 → 20}/include/cmpccxaddintrin.h +1 -1
  59. package/lib/clang/{18 → 20}/include/cpuid.h +35 -14
  60. package/lib/clang/{18 → 20}/include/cuda_wrappers/algorithm +1 -1
  61. package/lib/clang/{18 → 20}/include/cuda_wrappers/cmath +4 -0
  62. package/lib/clang/{18 → 20}/include/cuda_wrappers/new +2 -0
  63. package/lib/clang/{18 → 20}/include/emmintrin.h +442 -277
  64. package/lib/clang/{18 → 20}/include/float.h +28 -0
  65. package/lib/clang/{18 → 20}/include/fmaintrin.h +32 -16
  66. package/lib/clang/{18 → 20}/include/gfniintrin.h +32 -10
  67. package/lib/clang/20/include/gpuintrin.h +224 -0
  68. package/lib/clang/{18 → 20}/include/hexagon_types.h +8 -4
  69. package/lib/clang/{18 → 20}/include/hlsl/hlsl_basic_types.h +57 -4
  70. package/lib/clang/20/include/hlsl/hlsl_detail.h +84 -0
  71. package/lib/clang/20/include/hlsl/hlsl_intrinsics.h +2814 -0
  72. package/lib/clang/{18 → 20}/include/hlsl.h +11 -0
  73. package/lib/clang/{18 → 20}/include/hvx_hexagon_protos.h +427 -0
  74. package/lib/clang/{18 → 20}/include/ia32intrin.h +36 -36
  75. package/lib/clang/{18 → 20}/include/immintrin.h +171 -161
  76. package/lib/clang/{18 → 20}/include/intrin.h +62 -228
  77. package/lib/clang/20/include/intrin0.h +256 -0
  78. package/lib/clang/{18 → 20}/include/inttypes.h +4 -0
  79. package/lib/clang/{18 → 20}/include/iso646.h +4 -0
  80. package/lib/clang/{18 → 20}/include/keylockerintrin.h +5 -8
  81. package/lib/clang/{18 → 20}/include/larchintrin.h +22 -8
  82. package/lib/clang/{18 → 20}/include/lasxintrin.h +27 -25
  83. package/lib/clang/{18 → 20}/include/limits.h +12 -4
  84. package/lib/clang/{18 → 20}/include/llvm_libc_wrappers/assert.h +1 -1
  85. package/lib/clang/{18 → 20}/include/llvm_libc_wrappers/ctype.h +38 -0
  86. package/lib/clang/{18 → 20}/include/llvm_libc_wrappers/stdlib.h +8 -0
  87. package/lib/clang/20/include/llvm_offload_wrappers/__llvm_offload.h +31 -0
  88. package/lib/clang/20/include/llvm_offload_wrappers/__llvm_offload_device.h +10 -0
  89. package/lib/clang/20/include/llvm_offload_wrappers/__llvm_offload_host.h +15 -0
  90. package/lib/clang/{18 → 20}/include/lsxintrin.h +27 -25
  91. package/lib/clang/{18 → 20}/include/lzcntintrin.h +10 -7
  92. package/lib/clang/20/include/mm3dnow.h +22 -0
  93. package/lib/clang/{18 → 20}/include/mmintrin.h +285 -239
  94. package/lib/clang/{18 → 20}/include/module.modulemap +16 -5
  95. package/lib/clang/20/include/movrs_avx10_2_512intrin.h +98 -0
  96. package/lib/clang/20/include/movrs_avx10_2intrin.h +174 -0
  97. package/lib/clang/20/include/movrsintrin.h +59 -0
  98. package/lib/clang/20/include/nvptxintrin.h +202 -0
  99. package/lib/clang/{18 → 20}/include/opencl-c-base.h +8 -0
  100. package/lib/clang/{18 → 20}/include/opencl-c.h +15 -0
  101. package/lib/clang/{18 → 20}/include/openmp_wrappers/__clang_openmp_device_functions.h +4 -5
  102. package/lib/clang/{18 → 20}/include/openmp_wrappers/complex_cmath.h +7 -2
  103. package/lib/clang/{18 → 20}/include/pmmintrin.h +16 -3
  104. package/lib/clang/{18 → 20}/include/popcntintrin.h +7 -7
  105. package/lib/clang/{18 → 20}/include/prfchwintrin.h +10 -8
  106. package/lib/clang/20/include/ptrauth.h +336 -0
  107. package/lib/clang/20/include/riscv_corev_alu.h +128 -0
  108. package/lib/clang/{18 → 20}/include/riscv_vector.h +0 -5
  109. package/lib/clang/20/include/sifive_vector.h +118 -0
  110. package/lib/clang/20/include/sm4evexintrin.h +32 -0
  111. package/lib/clang/{18 → 20}/include/smmintrin.h +18 -12
  112. package/lib/clang/{18 → 20}/include/stdarg.h +15 -19
  113. package/lib/clang/{18 → 20}/include/stdatomic.h +11 -1
  114. package/lib/clang/{18 → 20}/include/stdbool.h +5 -0
  115. package/lib/clang/{18 → 20}/include/stddef.h +38 -22
  116. package/lib/clang/{18 → 20}/include/stdint.h +5 -0
  117. package/lib/clang/{18 → 20}/include/stdnoreturn.h +6 -0
  118. package/lib/clang/{18 → 20}/include/tbmintrin.h +25 -37
  119. package/lib/clang/{18 → 20}/include/tmmintrin.h +84 -54
  120. package/lib/clang/{18 → 20}/include/varargs.h +5 -1
  121. package/lib/clang/{18 → 20}/include/vecintrin.h +1778 -60
  122. package/lib/clang/{18 → 20}/include/wasm_simd128.h +167 -21
  123. package/lib/clang/{18 → 20}/include/x86gprintrin.h +7 -14
  124. package/lib/clang/20/include/x86intrin.h +53 -0
  125. package/lib/clang/{18 → 20}/include/xmmintrin.h +455 -276
  126. package/lib/clang/20/include/yvals_core.h +25 -0
  127. package/lib/clang/20/include/zos_wrappers/builtins.h +18 -0
  128. package/package.json +6 -6
  129. package/lib/clang/18/include/avx512erintrin.h +0 -271
  130. package/lib/clang/18/include/avx512pfintrin.h +0 -92
  131. package/lib/clang/18/include/hlsl/hlsl_intrinsics.h +0 -624
  132. package/lib/clang/18/include/mm3dnow.h +0 -157
  133. package/lib/clang/18/include/sifive_vector.h +0 -16
  134. package/lib/clang/18/include/x86intrin.h +0 -67
  135. /package/lib/clang/{18 → 20}/include/__clang_cuda_builtin_vars.h +0 -0
  136. /package/lib/clang/{18 → 20}/include/__clang_cuda_cmath.h +0 -0
  137. /package/lib/clang/{18 → 20}/include/__clang_cuda_complex_builtins.h +0 -0
  138. /package/lib/clang/{18 → 20}/include/__clang_cuda_libdevice_declares.h +0 -0
  139. /package/lib/clang/{18 → 20}/include/__clang_cuda_math_forward_declares.h +0 -0
  140. /package/lib/clang/{18 → 20}/include/__clang_cuda_runtime_wrapper.h +0 -0
  141. /package/lib/clang/{18 → 20}/include/__clang_cuda_texture_intrinsics.h +0 -0
  142. /package/lib/clang/{18 → 20}/include/__clang_hip_libdevice_declares.h +0 -0
  143. /package/lib/clang/{18 → 20}/include/__clang_hip_runtime_wrapper.h +0 -0
  144. /package/lib/clang/{18 → 20}/include/__clang_hip_stdlib.h +0 -0
  145. /package/lib/clang/{18 → 20}/include/__stdarg___gnuc_va_list.h +0 -0
  146. /package/lib/clang/{18 → 20}/include/__stdarg___va_copy.h +0 -0
  147. /package/lib/clang/{18 → 20}/include/__stdarg_va_arg.h +0 -0
  148. /package/lib/clang/{18 → 20}/include/__stdarg_va_copy.h +0 -0
  149. /package/lib/clang/{18 → 20}/include/__stdarg_va_list.h +0 -0
  150. /package/lib/clang/{18 → 20}/include/__stddef_max_align_t.h +0 -0
  151. /package/lib/clang/{18 → 20}/include/__stddef_null.h +0 -0
  152. /package/lib/clang/{18 → 20}/include/__stddef_nullptr_t.h +0 -0
  153. /package/lib/clang/{18 → 20}/include/__stddef_offsetof.h +0 -0
  154. /package/lib/clang/{18 → 20}/include/__stddef_ptrdiff_t.h +0 -0
  155. /package/lib/clang/{18 → 20}/include/__stddef_rsize_t.h +0 -0
  156. /package/lib/clang/{18 → 20}/include/__stddef_size_t.h +0 -0
  157. /package/lib/clang/{18 → 20}/include/__stddef_unreachable.h +0 -0
  158. /package/lib/clang/{18 → 20}/include/__stddef_wchar_t.h +0 -0
  159. /package/lib/clang/{18 → 20}/include/__stddef_wint_t.h +0 -0
  160. /package/lib/clang/{18 → 20}/include/__wmmintrin_aes.h +0 -0
  161. /package/lib/clang/{18 → 20}/include/__wmmintrin_pclmul.h +0 -0
  162. /package/lib/clang/{18 → 20}/include/ammintrin.h +0 -0
  163. /package/lib/clang/{18 → 20}/include/amxcomplexintrin.h +0 -0
  164. /package/lib/clang/{18 → 20}/include/arm64intr.h +0 -0
  165. /package/lib/clang/{18 → 20}/include/arm_bf16.h +0 -0
  166. /package/lib/clang/{18 → 20}/include/arm_cde.h +0 -0
  167. /package/lib/clang/{18 → 20}/include/arm_cmse.h +0 -0
  168. /package/lib/clang/{18 → 20}/include/arm_mve.h +0 -0
  169. /package/lib/clang/{18 → 20}/include/arm_neon_sve_bridge.h +0 -0
  170. /package/lib/clang/{18 → 20}/include/armintr.h +0 -0
  171. /package/lib/clang/{18 → 20}/include/avx512bf16intrin.h +0 -0
  172. /package/lib/clang/{18 → 20}/include/avx512bwintrin.h +0 -0
  173. /package/lib/clang/{18 → 20}/include/avx512cdintrin.h +0 -0
  174. /package/lib/clang/{18 → 20}/include/avx512dqintrin.h +0 -0
  175. /package/lib/clang/{18 → 20}/include/avx512ifmaintrin.h +0 -0
  176. /package/lib/clang/{18 → 20}/include/avx512ifmavlintrin.h +0 -0
  177. /package/lib/clang/{18 → 20}/include/avx512vbmi2intrin.h +0 -0
  178. /package/lib/clang/{18 → 20}/include/avx512vbmiintrin.h +0 -0
  179. /package/lib/clang/{18 → 20}/include/avx512vbmivlintrin.h +0 -0
  180. /package/lib/clang/{18 → 20}/include/avx512vlbf16intrin.h +0 -0
  181. /package/lib/clang/{18 → 20}/include/avx512vlbwintrin.h +0 -0
  182. /package/lib/clang/{18 → 20}/include/avx512vlcdintrin.h +0 -0
  183. /package/lib/clang/{18 → 20}/include/avx512vldqintrin.h +0 -0
  184. /package/lib/clang/{18 → 20}/include/avx512vlfp16intrin.h +0 -0
  185. /package/lib/clang/{18 → 20}/include/avx512vlintrin.h +0 -0
  186. /package/lib/clang/{18 → 20}/include/avx512vlvbmi2intrin.h +0 -0
  187. /package/lib/clang/{18 → 20}/include/avx512vlvnniintrin.h +0 -0
  188. /package/lib/clang/{18 → 20}/include/avx512vlvp2intersectintrin.h +0 -0
  189. /package/lib/clang/{18 → 20}/include/avx512vnniintrin.h +0 -0
  190. /package/lib/clang/{18 → 20}/include/avx512vp2intersectintrin.h +0 -0
  191. /package/lib/clang/{18 → 20}/include/avxifmaintrin.h +0 -0
  192. /package/lib/clang/{18 → 20}/include/avxneconvertintrin.h +0 -0
  193. /package/lib/clang/{18 → 20}/include/avxvnniintrin.h +0 -0
  194. /package/lib/clang/{18 → 20}/include/cet.h +0 -0
  195. /package/lib/clang/{18 → 20}/include/cetintrin.h +0 -0
  196. /package/lib/clang/{18 → 20}/include/cldemoteintrin.h +0 -0
  197. /package/lib/clang/{18 → 20}/include/clflushoptintrin.h +0 -0
  198. /package/lib/clang/{18 → 20}/include/clwbintrin.h +0 -0
  199. /package/lib/clang/{18 → 20}/include/clzerointrin.h +0 -0
  200. /package/lib/clang/{18 → 20}/include/crc32intrin.h +0 -0
  201. /package/lib/clang/{18 → 20}/include/cuda_wrappers/bits/basic_string.h +0 -0
  202. /package/lib/clang/{18 → 20}/include/cuda_wrappers/bits/basic_string.tcc +0 -0
  203. /package/lib/clang/{18 → 20}/include/cuda_wrappers/bits/shared_ptr_base.h +0 -0
  204. /package/lib/clang/{18 → 20}/include/cuda_wrappers/complex +0 -0
  205. /package/lib/clang/{18 → 20}/include/enqcmdintrin.h +0 -0
  206. /package/lib/clang/{18 → 20}/include/f16cintrin.h +0 -0
  207. /package/lib/clang/{18 → 20}/include/fma4intrin.h +0 -0
  208. /package/lib/clang/{18 → 20}/include/fxsrintrin.h +0 -0
  209. /package/lib/clang/{18 → 20}/include/hexagon_circ_brev_intrinsics.h +0 -0
  210. /package/lib/clang/{18 → 20}/include/hexagon_protos.h +0 -0
  211. /package/lib/clang/{18 → 20}/include/hresetintrin.h +0 -0
  212. /package/lib/clang/{18 → 20}/include/htmintrin.h +0 -0
  213. /package/lib/clang/{18 → 20}/include/htmxlintrin.h +0 -0
  214. /package/lib/clang/{18 → 20}/include/invpcidintrin.h +0 -0
  215. /package/lib/clang/{18 → 20}/include/llvm_libc_wrappers/inttypes.h +0 -0
  216. /package/lib/clang/{18 → 20}/include/llvm_libc_wrappers/stdio.h +0 -0
  217. /package/lib/clang/{18 → 20}/include/llvm_libc_wrappers/string.h +0 -0
  218. /package/lib/clang/{18 → 20}/include/llvm_libc_wrappers/time.h +0 -0
  219. /package/lib/clang/{18 → 20}/include/lwpintrin.h +0 -0
  220. /package/lib/clang/{18 → 20}/include/mm_malloc.h +0 -0
  221. /package/lib/clang/{18 → 20}/include/movdirintrin.h +0 -0
  222. /package/lib/clang/{18 → 20}/include/msa.h +0 -0
  223. /package/lib/clang/{18 → 20}/include/mwaitxintrin.h +0 -0
  224. /package/lib/clang/{18 → 20}/include/nmmintrin.h +0 -0
  225. /package/lib/clang/{18 → 20}/include/openmp_wrappers/cmath +0 -0
  226. /package/lib/clang/{18 → 20}/include/openmp_wrappers/complex +0 -0
  227. /package/lib/clang/{18 → 20}/include/openmp_wrappers/complex.h +0 -0
  228. /package/lib/clang/{18 → 20}/include/openmp_wrappers/math.h +0 -0
  229. /package/lib/clang/{18 → 20}/include/openmp_wrappers/new +0 -0
  230. /package/lib/clang/{18 → 20}/include/pconfigintrin.h +0 -0
  231. /package/lib/clang/{18 → 20}/include/pkuintrin.h +0 -0
  232. /package/lib/clang/{18 → 20}/include/ppc_wrappers/bmi2intrin.h +0 -0
  233. /package/lib/clang/{18 → 20}/include/ppc_wrappers/bmiintrin.h +0 -0
  234. /package/lib/clang/{18 → 20}/include/ppc_wrappers/emmintrin.h +0 -0
  235. /package/lib/clang/{18 → 20}/include/ppc_wrappers/immintrin.h +0 -0
  236. /package/lib/clang/{18 → 20}/include/ppc_wrappers/mm_malloc.h +0 -0
  237. /package/lib/clang/{18 → 20}/include/ppc_wrappers/mmintrin.h +0 -0
  238. /package/lib/clang/{18 → 20}/include/ppc_wrappers/nmmintrin.h +0 -0
  239. /package/lib/clang/{18 → 20}/include/ppc_wrappers/pmmintrin.h +0 -0
  240. /package/lib/clang/{18 → 20}/include/ppc_wrappers/smmintrin.h +0 -0
  241. /package/lib/clang/{18 → 20}/include/ppc_wrappers/tmmintrin.h +0 -0
  242. /package/lib/clang/{18 → 20}/include/ppc_wrappers/x86gprintrin.h +0 -0
  243. /package/lib/clang/{18 → 20}/include/ppc_wrappers/x86intrin.h +0 -0
  244. /package/lib/clang/{18 → 20}/include/ppc_wrappers/xmmintrin.h +0 -0
  245. /package/lib/clang/{18 → 20}/include/prfchiintrin.h +0 -0
  246. /package/lib/clang/{18 → 20}/include/ptwriteintrin.h +0 -0
  247. /package/lib/clang/{18 → 20}/include/raointintrin.h +0 -0
  248. /package/lib/clang/{18 → 20}/include/rdpruintrin.h +0 -0
  249. /package/lib/clang/{18 → 20}/include/rdseedintrin.h +0 -0
  250. /package/lib/clang/{18 → 20}/include/riscv_bitmanip.h +0 -0
  251. /package/lib/clang/{18 → 20}/include/riscv_crypto.h +0 -0
  252. /package/lib/clang/{18 → 20}/include/riscv_ntlh.h +0 -0
  253. /package/lib/clang/{18 → 20}/include/rtmintrin.h +0 -0
  254. /package/lib/clang/{18 → 20}/include/s390intrin.h +0 -0
  255. /package/lib/clang/{18 → 20}/include/serializeintrin.h +0 -0
  256. /package/lib/clang/{18 → 20}/include/sgxintrin.h +0 -0
  257. /package/lib/clang/{18 → 20}/include/sha512intrin.h +0 -0
  258. /package/lib/clang/{18 → 20}/include/shaintrin.h +0 -0
  259. /package/lib/clang/{18 → 20}/include/sm3intrin.h +0 -0
  260. /package/lib/clang/{18 → 20}/include/sm4intrin.h +0 -0
  261. /package/lib/clang/{18 → 20}/include/stdalign.h +0 -0
  262. /package/lib/clang/{18 → 20}/include/stdckdint.h +0 -0
  263. /package/lib/clang/{18 → 20}/include/tgmath.h +0 -0
  264. /package/lib/clang/{18 → 20}/include/tsxldtrkintrin.h +0 -0
  265. /package/lib/clang/{18 → 20}/include/uintrintrin.h +0 -0
  266. /package/lib/clang/{18 → 20}/include/unwind.h +0 -0
  267. /package/lib/clang/{18 → 20}/include/usermsrintrin.h +0 -0
  268. /package/lib/clang/{18 → 20}/include/vadefs.h +0 -0
  269. /package/lib/clang/{18 → 20}/include/vaesintrin.h +0 -0
  270. /package/lib/clang/{18 → 20}/include/velintrin.h +0 -0
  271. /package/lib/clang/{18 → 20}/include/velintrin_approx.h +0 -0
  272. /package/lib/clang/{18 → 20}/include/velintrin_gen.h +0 -0
  273. /package/lib/clang/{18 → 20}/include/vpclmulqdqintrin.h +0 -0
  274. /package/lib/clang/{18 → 20}/include/waitpkgintrin.h +0 -0
  275. /package/lib/clang/{18 → 20}/include/wbnoinvdintrin.h +0 -0
  276. /package/lib/clang/{18 → 20}/include/wmmintrin.h +0 -0
  277. /package/lib/clang/{18 → 20}/include/xopintrin.h +0 -0
  278. /package/lib/clang/{18 → 20}/include/xsavecintrin.h +0 -0
  279. /package/lib/clang/{18 → 20}/include/xsaveintrin.h +0 -0
  280. /package/lib/clang/{18 → 20}/include/xsaveoptintrin.h +0 -0
  281. /package/lib/clang/{18 → 20}/include/xsavesintrin.h +0 -0
  282. /package/lib/clang/{18 → 20}/include/xtestintrin.h +0 -0
@@ -17,9 +17,21 @@
17
17
  #include <emmintrin.h>
18
18
 
19
19
  /* Define the default attributes for the functions in this file. */
20
+ #if defined(__EVEX512__) && !defined(__AVX10_1_512__)
20
21
  #define __DEFAULT_FN_ATTRS \
21
22
  __attribute__((__always_inline__, __nodebug__, \
22
23
  __target__("sse3,no-evex512"), __min_vector_width__(128)))
24
+ #else
25
+ #define __DEFAULT_FN_ATTRS \
26
+ __attribute__((__always_inline__, __nodebug__, __target__("sse3"), \
27
+ __min_vector_width__(128)))
28
+ #endif
29
+
30
+ #if defined(__cplusplus) && (__cplusplus >= 201103L)
31
+ #define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS constexpr
32
+ #else
33
+ #define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS
34
+ #endif
23
35
 
24
36
  /// Loads data from an unaligned memory location to elements in a 128-bit
25
37
  /// vector.
@@ -122,7 +134,7 @@ _mm_hsub_ps(__m128 __a, __m128 __b)
122
134
  /// destination.
123
135
  /// \returns A 128-bit vector of [4 x float] containing the moved and duplicated
124
136
  /// values.
125
- static __inline__ __m128 __DEFAULT_FN_ATTRS
137
+ static __inline__ __m128 __DEFAULT_FN_ATTRS_CONSTEXPR
126
138
  _mm_movehdup_ps(__m128 __a)
127
139
  {
128
140
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__a, 1, 1, 3, 3);
@@ -143,7 +155,7 @@ _mm_movehdup_ps(__m128 __a)
143
155
  /// destination.
144
156
  /// \returns A 128-bit vector of [4 x float] containing the moved and duplicated
145
157
  /// values.
146
- static __inline__ __m128 __DEFAULT_FN_ATTRS
158
+ static __inline__ __m128 __DEFAULT_FN_ATTRS_CONSTEXPR
147
159
  _mm_moveldup_ps(__m128 __a)
148
160
  {
149
161
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__a, 0, 0, 2, 2);
@@ -244,7 +256,7 @@ _mm_hsub_pd(__m128d __a, __m128d __b)
244
256
  /// [127:64] and [63:0] of the destination.
245
257
  /// \returns A 128-bit vector of [2 x double] containing the moved and
246
258
  /// duplicated values.
247
- static __inline__ __m128d __DEFAULT_FN_ATTRS
259
+ static __inline__ __m128d __DEFAULT_FN_ATTRS_CONSTEXPR
248
260
  _mm_movedup_pd(__m128d __a)
249
261
  {
250
262
  return __builtin_shufflevector((__v2df)__a, (__v2df)__a, 0, 0);
@@ -297,5 +309,6 @@ _mm_mwait(unsigned __extensions, unsigned __hints)
297
309
  }
298
310
 
299
311
  #undef __DEFAULT_FN_ATTRS
312
+ #undef __DEFAULT_FN_ATTRS_CONSTEXPR
300
313
 
301
314
  #endif /* __PMMINTRIN_H */
@@ -11,12 +11,13 @@
11
11
  #define __POPCNTINTRIN_H
12
12
 
13
13
  /* Define the default attributes for the functions in this file. */
14
- #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("popcnt")))
15
-
16
14
  #if defined(__cplusplus) && (__cplusplus >= 201103L)
17
- #define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS constexpr
15
+ #define __DEFAULT_FN_ATTRS \
16
+ __attribute__((__always_inline__, __nodebug__, \
17
+ __target__("popcnt"))) constexpr
18
18
  #else
19
- #define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS
19
+ #define __DEFAULT_FN_ATTRS \
20
+ __attribute__((__always_inline__, __nodebug__, __target__("popcnt")))
20
21
  #endif
21
22
 
22
23
  /// Counts the number of bits in the source operand having a value of 1.
@@ -29,7 +30,7 @@
29
30
  /// An unsigned 32-bit integer operand.
30
31
  /// \returns A 32-bit integer containing the number of bits with value 1 in the
31
32
  /// source operand.
32
- static __inline__ int __DEFAULT_FN_ATTRS_CONSTEXPR
33
+ static __inline__ int __DEFAULT_FN_ATTRS
33
34
  _mm_popcnt_u32(unsigned int __A)
34
35
  {
35
36
  return __builtin_popcount(__A);
@@ -46,7 +47,7 @@ _mm_popcnt_u32(unsigned int __A)
46
47
  /// An unsigned 64-bit integer operand.
47
48
  /// \returns A 64-bit integer containing the number of bits with value 1 in the
48
49
  /// source operand.
49
- static __inline__ long long __DEFAULT_FN_ATTRS_CONSTEXPR
50
+ static __inline__ long long __DEFAULT_FN_ATTRS
50
51
  _mm_popcnt_u64(unsigned long long __A)
51
52
  {
52
53
  return __builtin_popcountll(__A);
@@ -54,6 +55,5 @@ _mm_popcnt_u64(unsigned long long __A)
54
55
  #endif /* __x86_64__ */
55
56
 
56
57
  #undef __DEFAULT_FN_ATTRS
57
- #undef __DEFAULT_FN_ATTRS_CONSTEXPR
58
58
 
59
59
  #endif /* __POPCNTINTRIN_H */
@@ -8,16 +8,17 @@
8
8
  */
9
9
 
10
10
  #if !defined(__X86INTRIN_H) && !defined(_MM3DNOW_H_INCLUDED)
11
- #error "Never use <prfchwintrin.h> directly; include <x86intrin.h> or <mm3dnow.h> instead."
11
+ #error "Never use <prfchwintrin.h> directly; include <x86intrin.h> instead."
12
12
  #endif
13
13
 
14
14
  #ifndef __PRFCHWINTRIN_H
15
15
  #define __PRFCHWINTRIN_H
16
16
 
17
17
  /// Loads a memory sequence containing the specified memory address into
18
- /// all data cache levels. The cache-coherency state is set to exclusive.
19
- /// Data can be read from and written to the cache line without additional
20
- /// delay.
18
+ /// all data cache levels.
19
+ ///
20
+ /// The cache-coherency state is set to exclusive. Data can be read from
21
+ /// and written to the cache line without additional delay.
21
22
  ///
22
23
  /// \headerfile <x86intrin.h>
23
24
  ///
@@ -32,10 +33,11 @@ _m_prefetch(void *__P)
32
33
  }
33
34
 
34
35
  /// Loads a memory sequence containing the specified memory address into
35
- /// the L1 data cache and sets the cache-coherency to modified. This
36
- /// provides a hint to the processor that the cache line will be modified.
37
- /// It is intended for use when the cache line will be written to shortly
38
- /// after the prefetch is performed.
36
+ /// the L1 data cache and sets the cache-coherency state to modified.
37
+ ///
38
+ /// This provides a hint to the processor that the cache line will be
39
+ /// modified. It is intended for use when the cache line will be written to
40
+ /// shortly after the prefetch is performed.
39
41
  ///
40
42
  /// Note that the effect of this intrinsic is dependent on the processor
41
43
  /// implementation.
@@ -0,0 +1,336 @@
1
+ /*===---- ptrauth.h - Pointer authentication -------------------------------===
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 __PTRAUTH_H
11
+ #define __PTRAUTH_H
12
+
13
+ typedef enum {
14
+ ptrauth_key_asia = 0,
15
+ ptrauth_key_asib = 1,
16
+ ptrauth_key_asda = 2,
17
+ ptrauth_key_asdb = 3,
18
+
19
+ /* A process-independent key which can be used to sign code pointers. */
20
+ ptrauth_key_process_independent_code = ptrauth_key_asia,
21
+
22
+ /* A process-specific key which can be used to sign code pointers. */
23
+ ptrauth_key_process_dependent_code = ptrauth_key_asib,
24
+
25
+ /* A process-independent key which can be used to sign data pointers. */
26
+ ptrauth_key_process_independent_data = ptrauth_key_asda,
27
+
28
+ /* A process-specific key which can be used to sign data pointers. */
29
+ ptrauth_key_process_dependent_data = ptrauth_key_asdb,
30
+
31
+ /* The key used to sign return addresses on the stack.
32
+ The extra data is based on the storage address of the return address.
33
+ On AArch64, that is always the storage address of the return address + 8
34
+ (or, in other words, the value of the stack pointer on function entry) */
35
+ ptrauth_key_return_address = ptrauth_key_process_dependent_code,
36
+
37
+ /* The key used to sign C function pointers.
38
+ The extra data is always 0. */
39
+ ptrauth_key_function_pointer = ptrauth_key_process_independent_code,
40
+
41
+ /* The key used to sign C++ v-table pointers.
42
+ The extra data is always 0. */
43
+ ptrauth_key_cxx_vtable_pointer = ptrauth_key_process_independent_data,
44
+
45
+ /* The key used to sign pointers in ELF .init_array/.fini_array. */
46
+ ptrauth_key_init_fini_pointer = ptrauth_key_process_independent_code,
47
+
48
+ /* Other pointers signed under the ABI use private ABI rules. */
49
+
50
+ } ptrauth_key;
51
+
52
+ /* An integer type of the appropriate size for a discriminator argument. */
53
+ typedef __UINTPTR_TYPE__ ptrauth_extra_data_t;
54
+
55
+ /* An integer type of the appropriate size for a generic signature. */
56
+ typedef __UINTPTR_TYPE__ ptrauth_generic_signature_t;
57
+
58
+ /* A signed pointer value embeds the original pointer together with
59
+ a signature that attests to the validity of that pointer. Because
60
+ this signature must use only "spare" bits of the pointer, a
61
+ signature's validity is probabilistic in practice: it is unlikely
62
+ but still plausible that an invalidly-derived signature will
63
+ somehow equal the correct signature and therefore successfully
64
+ authenticate. Nonetheless, this scheme provides a strong degree
65
+ of protection against certain kinds of attacks. */
66
+
67
+ /* Authenticating a pointer that was not signed with the given key
68
+ and extra-data value will (likely) fail by trapping. */
69
+
70
+ /* The null function pointer is always the all-zero bit pattern.
71
+ Signing an all-zero bit pattern will embed a (likely) non-zero
72
+ signature in the result, and so the result will not seem to be
73
+ a null function pointer. Authenticating this value will yield
74
+ a null function pointer back. However, authenticating an
75
+ all-zero bit pattern will probably fail, because the
76
+ authentication will expect a (likely) non-zero signature to
77
+ embedded in the value.
78
+
79
+ Because of this, if a pointer may validly be null, you should
80
+ check for null before attempting to authenticate it with one
81
+ of these intrinsics. This is not necessary when using the
82
+ __ptrauth qualifier; the compiler will perform this check
83
+ automatically. */
84
+
85
+ #if __has_feature(ptrauth_intrinsics)
86
+
87
+ /* Strip the signature from a value without authenticating it.
88
+
89
+ If the value is a function pointer, the result will not be a
90
+ legal function pointer because of the missing signature, and
91
+ attempting to call it will result in an authentication failure.
92
+
93
+ The value must be an expression of pointer type.
94
+ The key must be a constant expression of type ptrauth_key.
95
+ The result will have the same type as the original value. */
96
+ #define ptrauth_strip(__value, __key) __builtin_ptrauth_strip(__value, __key)
97
+
98
+ /* Blend a constant discriminator into the given pointer-like value
99
+ to form a new discriminator. Not all bits of the inputs are
100
+ guaranteed to contribute to the result.
101
+
102
+ On arm64e, the integer must fall within the range of a uint16_t;
103
+ other bits may be ignored.
104
+
105
+ For the purposes of ptrauth_sign_constant, the result of calling
106
+ this function is considered a constant expression if the arguments
107
+ are constant. Some restrictions may be imposed on the pointer.
108
+
109
+ The first argument must be an expression of pointer type.
110
+ The second argument must be an expression of integer type.
111
+ The result will have type uintptr_t. */
112
+ #define ptrauth_blend_discriminator(__pointer, __integer) \
113
+ __builtin_ptrauth_blend_discriminator(__pointer, __integer)
114
+
115
+ /* Return a signed pointer for a constant address in a manner which guarantees
116
+ a non-attackable sequence.
117
+
118
+ The value must be a constant expression of pointer type which evaluates to
119
+ a non-null pointer.
120
+ The key must be a constant expression of type ptrauth_key.
121
+ The extra data must be a constant expression of pointer or integer type;
122
+ if an integer, it will be coerced to ptrauth_extra_data_t.
123
+ The result will have the same type as the original value.
124
+
125
+ This can be used in constant expressions. */
126
+ #define ptrauth_sign_constant(__value, __key, __data) \
127
+ __builtin_ptrauth_sign_constant(__value, __key, __data)
128
+
129
+ /* Add a signature to the given pointer value using a specific key,
130
+ using the given extra data as a salt to the signing process.
131
+
132
+ This operation does not authenticate the original value and is
133
+ therefore potentially insecure if an attacker could possibly
134
+ control that value.
135
+
136
+ The value must be an expression of pointer type.
137
+ The key must be a constant expression of type ptrauth_key.
138
+ The extra data must be an expression of pointer or integer type;
139
+ if an integer, it will be coerced to ptrauth_extra_data_t.
140
+ The result will have the same type as the original value. */
141
+ #define ptrauth_sign_unauthenticated(__value, __key, __data) \
142
+ __builtin_ptrauth_sign_unauthenticated(__value, __key, __data)
143
+
144
+ /* Authenticate a pointer using one scheme and resign it using another.
145
+
146
+ If the result is subsequently authenticated using the new scheme, that
147
+ authentication is guaranteed to fail if and only if the initial
148
+ authentication failed.
149
+
150
+ The value must be an expression of pointer type.
151
+ The key must be a constant expression of type ptrauth_key.
152
+ The extra data must be an expression of pointer or integer type;
153
+ if an integer, it will be coerced to ptrauth_extra_data_t.
154
+ The result will have the same type as the original value.
155
+
156
+ This operation is guaranteed to not leave the intermediate value
157
+ available for attack before it is re-signed.
158
+
159
+ Do not pass a null pointer to this function. A null pointer
160
+ will not successfully authenticate.
161
+
162
+ This operation traps if the authentication fails. */
163
+ #define ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \
164
+ __new_data) \
165
+ __builtin_ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \
166
+ __new_data)
167
+
168
+ /* Authenticate a pointer using one scheme and resign it as a C
169
+ function pointer.
170
+
171
+ If the result is subsequently authenticated using the new scheme, that
172
+ authentication is guaranteed to fail if and only if the initial
173
+ authentication failed.
174
+
175
+ The value must be an expression of function pointer type.
176
+ The key must be a constant expression of type ptrauth_key.
177
+ The extra data must be an expression of pointer or integer type;
178
+ if an integer, it will be coerced to ptrauth_extra_data_t.
179
+ The result will have the same type as the original value.
180
+
181
+ This operation is guaranteed to not leave the intermediate value
182
+ available for attack before it is re-signed. Additionally, if this
183
+ expression is used syntactically as the function expression in a
184
+ call, only a single authentication will be performed. */
185
+ #define ptrauth_auth_function(__value, __old_key, __old_data) \
186
+ ptrauth_auth_and_resign(__value, __old_key, __old_data, \
187
+ ptrauth_key_function_pointer, 0)
188
+
189
+ /* Authenticate a data pointer.
190
+
191
+ The value must be an expression of non-function pointer type.
192
+ The key must be a constant expression of type ptrauth_key.
193
+ The extra data must be an expression of pointer or integer type;
194
+ if an integer, it will be coerced to ptrauth_extra_data_t.
195
+ The result will have the same type as the original value.
196
+
197
+ This operation traps if the authentication fails. */
198
+ #define ptrauth_auth_data(__value, __old_key, __old_data) \
199
+ __builtin_ptrauth_auth(__value, __old_key, __old_data)
200
+
201
+ /* Compute a constant discriminator from the given string.
202
+
203
+ The argument must be a string literal of char character type. The result
204
+ has type ptrauth_extra_data_t.
205
+
206
+ The result value is never zero and always within range for both the
207
+ __ptrauth qualifier and ptrauth_blend_discriminator.
208
+
209
+ This can be used in constant expressions.
210
+ */
211
+ #define ptrauth_string_discriminator(__string) \
212
+ __builtin_ptrauth_string_discriminator(__string)
213
+
214
+ /* Compute a constant discriminator from the given type.
215
+
216
+ The result can be used as the second argument to
217
+ ptrauth_blend_discriminator or the third argument to the
218
+ __ptrauth qualifier. It has type size_t.
219
+
220
+ If the type is a C++ member function pointer type, the result is
221
+ the discriminator used to signed member function pointers of that
222
+ type. If the type is a function, function pointer, or function
223
+ reference type, the result is the discriminator used to sign
224
+ functions of that type. It is ill-formed to use this macro with any
225
+ other type.
226
+
227
+ A call to this function is an integer constant expression. */
228
+ #define ptrauth_type_discriminator(__type) \
229
+ __builtin_ptrauth_type_discriminator(__type)
230
+
231
+ /* Compute a signature for the given pair of pointer-sized values.
232
+ The order of the arguments is significant.
233
+
234
+ Like a pointer signature, the resulting signature depends on
235
+ private key data and therefore should not be reliably reproducible
236
+ by attackers. That means that this can be used to validate the
237
+ integrity of arbitrary data by storing a signature for that data
238
+ alongside it, then checking that the signature is still valid later.
239
+ Data which exceeds two pointers in size can be signed by either
240
+ computing a tree of generic signatures or just signing an ordinary
241
+ cryptographic hash of the data.
242
+
243
+ The result has type ptrauth_generic_signature_t. However, it may
244
+ not have as many bits of entropy as that type's width would suggest;
245
+ some implementations are known to compute a compressed signature as
246
+ if the arguments were a pointer and a discriminator.
247
+
248
+ The arguments must be either pointers or integers; if integers, they
249
+ will be coerce to uintptr_t. */
250
+ #define ptrauth_sign_generic_data(__value, __data) \
251
+ __builtin_ptrauth_sign_generic_data(__value, __data)
252
+
253
+ /* C++ vtable pointer signing class attribute */
254
+ #define ptrauth_cxx_vtable_pointer(key, address_discrimination, \
255
+ extra_discrimination...) \
256
+ [[clang::ptrauth_vtable_pointer(key, address_discrimination, \
257
+ extra_discrimination)]]
258
+
259
+ /* The value is ptrauth_string_discriminator("init_fini") */
260
+ #define __ptrauth_init_fini_discriminator 0xd9d4
261
+
262
+ #else
263
+
264
+ #define ptrauth_strip(__value, __key) \
265
+ ({ \
266
+ (void)__key; \
267
+ __value; \
268
+ })
269
+
270
+ #define ptrauth_blend_discriminator(__pointer, __integer) \
271
+ ({ \
272
+ (void)__pointer; \
273
+ (void)__integer; \
274
+ ((ptrauth_extra_data_t)0); \
275
+ })
276
+
277
+ #define ptrauth_sign_constant(__value, __key, __data) \
278
+ ({ \
279
+ (void)__key; \
280
+ (void)__data; \
281
+ __value; \
282
+ })
283
+
284
+ #define ptrauth_sign_unauthenticated(__value, __key, __data) \
285
+ ({ \
286
+ (void)__key; \
287
+ (void)__data; \
288
+ __value; \
289
+ })
290
+
291
+ #define ptrauth_auth_and_resign(__value, __old_key, __old_data, __new_key, \
292
+ __new_data) \
293
+ ({ \
294
+ (void)__old_key; \
295
+ (void)__old_data; \
296
+ (void)__new_key; \
297
+ (void)__new_data; \
298
+ __value; \
299
+ })
300
+
301
+ #define ptrauth_auth_function(__value, __old_key, __old_data) \
302
+ ({ \
303
+ (void)__old_key; \
304
+ (void)__old_data; \
305
+ __value; \
306
+ })
307
+
308
+ #define ptrauth_auth_data(__value, __old_key, __old_data) \
309
+ ({ \
310
+ (void)__old_key; \
311
+ (void)__old_data; \
312
+ __value; \
313
+ })
314
+
315
+ #define ptrauth_string_discriminator(__string) \
316
+ ({ \
317
+ (void)__string; \
318
+ ((ptrauth_extra_data_t)0); \
319
+ })
320
+
321
+ #define ptrauth_type_discriminator(__type) ((ptrauth_extra_data_t)0)
322
+
323
+ #define ptrauth_sign_generic_data(__value, __data) \
324
+ ({ \
325
+ (void)__value; \
326
+ (void)__data; \
327
+ ((ptrauth_generic_signature_t)0); \
328
+ })
329
+
330
+
331
+ #define ptrauth_cxx_vtable_pointer(key, address_discrimination, \
332
+ extra_discrimination...)
333
+
334
+ #endif /* __has_feature(ptrauth_intrinsics) */
335
+
336
+ #endif /* __PTRAUTH_H */
@@ -0,0 +1,128 @@
1
+ /*===---- riscv_corev_alu.h - CORE-V ALU 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
+ #ifndef __RISCV_COREV_ALU_H
11
+ #define __RISCV_COREV_ALU_H
12
+
13
+ #include <stdint.h>
14
+
15
+ #if defined(__cplusplus)
16
+ extern "C" {
17
+ #endif
18
+
19
+ #if defined(__riscv_xcvalu)
20
+
21
+ #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__))
22
+
23
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_abs(long a) {
24
+ return __builtin_abs(a);
25
+ }
26
+
27
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_slet(long a, long b) {
28
+ return __builtin_riscv_cv_alu_slet(a, b);
29
+ }
30
+
31
+ static __inline__ long __DEFAULT_FN_ATTRS
32
+ __riscv_cv_alu_sletu(unsigned long a, unsigned long b) {
33
+ return __builtin_riscv_cv_alu_sletu(a, b);
34
+ }
35
+
36
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_min(long a, long b) {
37
+ return __builtin_elementwise_min(a, b);
38
+ }
39
+
40
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
41
+ __riscv_cv_alu_minu(unsigned long a, unsigned long b) {
42
+ return __builtin_elementwise_min(a, b);
43
+ }
44
+
45
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_max(long a, long b) {
46
+ return __builtin_elementwise_max(a, b);
47
+ }
48
+
49
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
50
+ __riscv_cv_alu_maxu(unsigned long a, unsigned long b) {
51
+ return __builtin_elementwise_max(a, b);
52
+ }
53
+
54
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_exths(int16_t a) {
55
+ return __builtin_riscv_cv_alu_exths(a);
56
+ }
57
+
58
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
59
+ __riscv_cv_alu_exthz(uint16_t a) {
60
+ return __builtin_riscv_cv_alu_exthz(a);
61
+ }
62
+
63
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_extbs(int8_t a) {
64
+ return __builtin_riscv_cv_alu_extbs(a);
65
+ }
66
+
67
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
68
+ __riscv_cv_alu_extbz(uint8_t a) {
69
+ return __builtin_riscv_cv_alu_extbz(a);
70
+ }
71
+
72
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_clip(long a,
73
+ unsigned long b) {
74
+ return __builtin_riscv_cv_alu_clip(a, b);
75
+ }
76
+
77
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
78
+ __riscv_cv_alu_clipu(unsigned long a, unsigned long b) {
79
+ return __builtin_riscv_cv_alu_clipu(a, b);
80
+ }
81
+
82
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_addN(long a, long b,
83
+ uint8_t shft) {
84
+ return __builtin_riscv_cv_alu_addN(a, b, shft);
85
+ }
86
+
87
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
88
+ __riscv_cv_alu_adduN(unsigned long a, unsigned long b, uint8_t shft) {
89
+ return __builtin_riscv_cv_alu_adduN(a, b, shft);
90
+ }
91
+
92
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_addRN(long a, long b,
93
+ uint8_t shft) {
94
+ return __builtin_riscv_cv_alu_addRN(a, b, shft);
95
+ }
96
+
97
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
98
+ __riscv_cv_alu_adduRN(unsigned long a, unsigned long b, uint8_t shft) {
99
+ return __builtin_riscv_cv_alu_adduRN(a, b, shft);
100
+ }
101
+
102
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_subN(long a, long b,
103
+ uint8_t shft) {
104
+ return __builtin_riscv_cv_alu_subN(a, b, shft);
105
+ }
106
+
107
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
108
+ __riscv_cv_alu_subuN(unsigned long a, unsigned long b, uint8_t shft) {
109
+ return __builtin_riscv_cv_alu_subuN(a, b, shft);
110
+ }
111
+
112
+ static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_subRN(long a, long b,
113
+ uint8_t shft) {
114
+ return __builtin_riscv_cv_alu_subRN(a, b, shft);
115
+ }
116
+
117
+ static __inline__ unsigned long __DEFAULT_FN_ATTRS
118
+ __riscv_cv_alu_subuRN(unsigned long a, unsigned long b, uint8_t shft) {
119
+ return __builtin_riscv_cv_alu_subuRN(a, b, shft);
120
+ }
121
+
122
+ #endif // defined(__riscv_xcvalu)
123
+
124
+ #if defined(__cplusplus)
125
+ }
126
+ #endif
127
+
128
+ #endif // define __RISCV_COREV_ALU_H
@@ -14,10 +14,6 @@
14
14
  #include <stdint.h>
15
15
  #include <stddef.h>
16
16
 
17
- #ifndef __riscv_vector
18
- #error "Vector intrinsics require the vector extension."
19
- #endif
20
-
21
17
  #ifdef __cplusplus
22
18
  extern "C" {
23
19
  #endif
@@ -423,7 +419,6 @@ typedef __rvv_bfloat16m2x4_t vbfloat16m2x4_t;
423
419
  typedef __rvv_bfloat16m4_t vbfloat16m4_t;
424
420
  typedef __rvv_bfloat16m4x2_t vbfloat16m4x2_t;
425
421
  typedef __rvv_bfloat16m8_t vbfloat16m8_t;
426
- #define __riscv_v_intrinsic_overloading 1
427
422
 
428
423
  #ifdef __cplusplus
429
424
  }