@cpp-linter/clang-tidy-win32-x64 13.0.0 → 14.0.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 (175) hide show
  1. package/README.md +2 -2
  2. package/bin/clang-tidy.exe +2 -2
  3. package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_complex_builtins.h +3 -3
  4. package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_intrinsics.h +32 -0
  5. package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_libdevice_declares.h +6 -0
  6. package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_math.h +1 -1
  7. package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_runtime_wrapper.h +62 -7
  8. package/lib/clang/14.0.0/include/__clang_cuda_texture_intrinsics.h +740 -0
  9. package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_hip_runtime_wrapper.h +17 -4
  10. package/lib/clang/{13.0.0 → 14.0.0}/include/__wmmintrin_aes.h +1 -1
  11. package/lib/clang/{13.0.0 → 14.0.0}/include/altivec.h +202 -92
  12. package/lib/clang/{13.0.0 → 14.0.0}/include/ammintrin.h +4 -0
  13. package/lib/clang/{13.0.0 → 14.0.0}/include/amxintrin.h +17 -16
  14. package/lib/clang/{13.0.0 → 14.0.0}/include/arm_acle.h +6 -0
  15. package/lib/clang/{13.0.0 → 14.0.0}/include/arm_neon.h +4467 -4469
  16. package/lib/clang/14.0.0/include/arm_neon_sve_bridge.h +184 -0
  17. package/lib/clang/{13.0.0 → 14.0.0}/include/avx2intrin.h +181 -181
  18. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512bf16intrin.h +3 -3
  19. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512bwintrin.h +71 -71
  20. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512dqintrin.h +365 -365
  21. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512erintrin.h +102 -102
  22. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512fintrin.h +1573 -1569
  23. package/lib/clang/14.0.0/include/avx512fp16intrin.h +3349 -0
  24. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vbmi2intrin.h +48 -48
  25. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlbf16intrin.h +51 -3
  26. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlbwintrin.h +94 -94
  27. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vldqintrin.h +134 -134
  28. package/lib/clang/14.0.0/include/avx512vlfp16intrin.h +2068 -0
  29. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlintrin.h +563 -563
  30. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlvbmi2intrin.h +96 -96
  31. package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlvnniintrin.h +8 -8
  32. package/lib/clang/{13.0.0 → 14.0.0}/include/avxintrin.h +189 -192
  33. package/lib/clang/{13.0.0 → 14.0.0}/include/cetintrin.h +10 -0
  34. package/lib/clang/{13.0.0 → 14.0.0}/include/cpuid.h +2 -1
  35. package/lib/clang/14.0.0/include/crc32intrin.h +100 -0
  36. package/lib/clang/{13.0.0 → 14.0.0}/include/emmintrin.h +21 -17
  37. package/lib/clang/{13.0.0 → 14.0.0}/include/f16cintrin.h +4 -4
  38. package/lib/clang/{13.0.0 → 14.0.0}/include/float.h +15 -6
  39. package/lib/clang/{13.0.0 → 14.0.0}/include/gfniintrin.h +47 -48
  40. package/lib/clang/{13.0.0 → 14.0.0}/include/hexagon_protos.h +0 -11
  41. package/lib/clang/{13.0.0 → 14.0.0}/include/hexagon_types.h +0 -32
  42. package/lib/clang/{13.0.0 → 14.0.0}/include/hvx_hexagon_protos.h +1200 -409
  43. package/lib/clang/{13.0.0 → 14.0.0}/include/ia32intrin.h +6 -6
  44. package/lib/clang/{13.0.0 → 14.0.0}/include/immintrin.h +26 -8
  45. package/lib/clang/{13.0.0 → 14.0.0}/include/intrin.h +24 -16
  46. package/lib/clang/{13.0.0 → 14.0.0}/include/keylockerintrin.h +2 -8
  47. package/lib/clang/{13.0.0 → 14.0.0}/include/limits.h +20 -0
  48. package/lib/clang/{13.0.0 → 14.0.0}/include/mmintrin.h +4 -0
  49. package/lib/clang/{13.0.0 → 14.0.0}/include/nmmintrin.h +4 -0
  50. package/lib/clang/{13.0.0 → 14.0.0}/include/opencl-c-base.h +69 -11
  51. package/lib/clang/{13.0.0 → 14.0.0}/include/opencl-c.h +1699 -459
  52. package/lib/clang/{13.0.0 → 14.0.0}/include/openmp_wrappers/complex +10 -1
  53. package/lib/clang/{13.0.0 → 14.0.0}/include/openmp_wrappers/complex.h +9 -0
  54. package/lib/clang/{13.0.0 → 14.0.0}/include/pmmintrin.h +4 -0
  55. package/lib/clang/{13.0.0 → 14.0.0}/include/ppc_wrappers/emmintrin.h +3 -2
  56. package/lib/clang/{13.0.0 → 14.0.0}/include/ppc_wrappers/mm_malloc.h +2 -2
  57. package/lib/clang/{13.0.0 → 14.0.0}/include/ppc_wrappers/mmintrin.h +3 -2
  58. package/lib/clang/{13.0.0 → 14.0.0}/include/ppc_wrappers/pmmintrin.h +3 -2
  59. package/lib/clang/{13.0.0 → 14.0.0}/include/ppc_wrappers/smmintrin.h +4 -3
  60. package/lib/clang/{13.0.0 → 14.0.0}/include/ppc_wrappers/tmmintrin.h +3 -2
  61. package/lib/clang/{13.0.0 → 14.0.0}/include/ppc_wrappers/xmmintrin.h +3 -2
  62. package/lib/clang/{13.0.0 → 14.0.0}/include/prfchwintrin.h +5 -2
  63. package/lib/clang/14.0.0/include/riscv_vector.h +95423 -0
  64. package/lib/clang/{13.0.0 → 14.0.0}/include/smmintrin.h +80 -159
  65. package/lib/clang/{13.0.0 → 14.0.0}/include/stdatomic.h +14 -1
  66. package/lib/clang/{13.0.0 → 14.0.0}/include/stdint.h +168 -0
  67. package/lib/clang/{13.0.0 → 14.0.0}/include/tmmintrin.h +10 -6
  68. package/lib/clang/{13.0.0 → 14.0.0}/include/unwind.h +2 -1
  69. package/lib/clang/{13.0.0 → 14.0.0}/include/vaesintrin.h +1 -1
  70. package/lib/clang/{13.0.0 → 14.0.0}/include/vpclmulqdqintrin.h +6 -6
  71. package/lib/clang/{13.0.0 → 14.0.0}/include/wasm_simd128.h +167 -24
  72. package/lib/clang/{13.0.0 → 14.0.0}/include/wmmintrin.h +4 -0
  73. package/lib/clang/{13.0.0 → 14.0.0}/include/x86gprintrin.h +12 -0
  74. package/lib/clang/{13.0.0 → 14.0.0}/include/xmmintrin.h +9 -5
  75. package/lib/clang/{13.0.0 → 14.0.0}/include/xopintrin.h +31 -31
  76. package/package.json +6 -6
  77. package/lib/clang/13.0.0/include/riscv_vector.h +0 -123865
  78. /package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_builtin_vars.h +0 -0
  79. /package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_cmath.h +0 -0
  80. /package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_device_functions.h +0 -0
  81. /package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_cuda_math_forward_declares.h +0 -0
  82. /package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_hip_cmath.h +0 -0
  83. /package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_hip_libdevice_declares.h +0 -0
  84. /package/lib/clang/{13.0.0 → 14.0.0}/include/__clang_hip_math.h +0 -0
  85. /package/lib/clang/{13.0.0 → 14.0.0}/include/__stddef_max_align_t.h +0 -0
  86. /package/lib/clang/{13.0.0 → 14.0.0}/include/__wmmintrin_pclmul.h +0 -0
  87. /package/lib/clang/{13.0.0 → 14.0.0}/include/adxintrin.h +0 -0
  88. /package/lib/clang/{13.0.0 → 14.0.0}/include/arm64intr.h +0 -0
  89. /package/lib/clang/{13.0.0 → 14.0.0}/include/arm_bf16.h +0 -0
  90. /package/lib/clang/{13.0.0 → 14.0.0}/include/arm_cde.h +0 -0
  91. /package/lib/clang/{13.0.0 → 14.0.0}/include/arm_cmse.h +0 -0
  92. /package/lib/clang/{13.0.0 → 14.0.0}/include/arm_fp16.h +0 -0
  93. /package/lib/clang/{13.0.0 → 14.0.0}/include/arm_mve.h +0 -0
  94. /package/lib/clang/{13.0.0 → 14.0.0}/include/arm_sve.h +0 -0
  95. /package/lib/clang/{13.0.0 → 14.0.0}/include/armintr.h +0 -0
  96. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512bitalgintrin.h +0 -0
  97. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512cdintrin.h +0 -0
  98. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512ifmaintrin.h +0 -0
  99. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512ifmavlintrin.h +0 -0
  100. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512pfintrin.h +0 -0
  101. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vbmiintrin.h +0 -0
  102. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vbmivlintrin.h +0 -0
  103. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlbitalgintrin.h +0 -0
  104. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlcdintrin.h +0 -0
  105. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vlvp2intersectintrin.h +0 -0
  106. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vnniintrin.h +0 -0
  107. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vp2intersectintrin.h +0 -0
  108. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vpopcntdqintrin.h +0 -0
  109. /package/lib/clang/{13.0.0 → 14.0.0}/include/avx512vpopcntdqvlintrin.h +0 -0
  110. /package/lib/clang/{13.0.0 → 14.0.0}/include/avxvnniintrin.h +0 -0
  111. /package/lib/clang/{13.0.0 → 14.0.0}/include/bmi2intrin.h +0 -0
  112. /package/lib/clang/{13.0.0 → 14.0.0}/include/bmiintrin.h +0 -0
  113. /package/lib/clang/{13.0.0 → 14.0.0}/include/builtins.h +0 -0
  114. /package/lib/clang/{13.0.0 → 14.0.0}/include/cet.h +0 -0
  115. /package/lib/clang/{13.0.0 → 14.0.0}/include/cldemoteintrin.h +0 -0
  116. /package/lib/clang/{13.0.0 → 14.0.0}/include/clflushoptintrin.h +0 -0
  117. /package/lib/clang/{13.0.0 → 14.0.0}/include/clwbintrin.h +0 -0
  118. /package/lib/clang/{13.0.0 → 14.0.0}/include/clzerointrin.h +0 -0
  119. /package/lib/clang/{13.0.0 → 14.0.0}/include/cuda_wrappers/algorithm +0 -0
  120. /package/lib/clang/{13.0.0 → 14.0.0}/include/cuda_wrappers/complex +0 -0
  121. /package/lib/clang/{13.0.0 → 14.0.0}/include/cuda_wrappers/new +0 -0
  122. /package/lib/clang/{13.0.0 → 14.0.0}/include/enqcmdintrin.h +0 -0
  123. /package/lib/clang/{13.0.0 → 14.0.0}/include/fma4intrin.h +0 -0
  124. /package/lib/clang/{13.0.0 → 14.0.0}/include/fmaintrin.h +0 -0
  125. /package/lib/clang/{13.0.0 → 14.0.0}/include/fxsrintrin.h +0 -0
  126. /package/lib/clang/{13.0.0 → 14.0.0}/include/hexagon_circ_brev_intrinsics.h +0 -0
  127. /package/lib/clang/{13.0.0 → 14.0.0}/include/hresetintrin.h +0 -0
  128. /package/lib/clang/{13.0.0 → 14.0.0}/include/htmintrin.h +0 -0
  129. /package/lib/clang/{13.0.0 → 14.0.0}/include/htmxlintrin.h +0 -0
  130. /package/lib/clang/{13.0.0 → 14.0.0}/include/inttypes.h +0 -0
  131. /package/lib/clang/{13.0.0 → 14.0.0}/include/invpcidintrin.h +0 -0
  132. /package/lib/clang/{13.0.0 → 14.0.0}/include/iso646.h +0 -0
  133. /package/lib/clang/{13.0.0 → 14.0.0}/include/lwpintrin.h +0 -0
  134. /package/lib/clang/{13.0.0 → 14.0.0}/include/lzcntintrin.h +0 -0
  135. /package/lib/clang/{13.0.0 → 14.0.0}/include/mm3dnow.h +0 -0
  136. /package/lib/clang/{13.0.0 → 14.0.0}/include/mm_malloc.h +0 -0
  137. /package/lib/clang/{13.0.0 → 14.0.0}/include/module.modulemap +0 -0
  138. /package/lib/clang/{13.0.0 → 14.0.0}/include/movdirintrin.h +0 -0
  139. /package/lib/clang/{13.0.0 → 14.0.0}/include/msa.h +0 -0
  140. /package/lib/clang/{13.0.0 → 14.0.0}/include/mwaitxintrin.h +0 -0
  141. /package/lib/clang/{13.0.0 → 14.0.0}/include/openmp_wrappers/__clang_openmp_device_functions.h +0 -0
  142. /package/lib/clang/{13.0.0 → 14.0.0}/include/openmp_wrappers/cmath +0 -0
  143. /package/lib/clang/{13.0.0 → 14.0.0}/include/openmp_wrappers/complex_cmath.h +0 -0
  144. /package/lib/clang/{13.0.0 → 14.0.0}/include/openmp_wrappers/math.h +0 -0
  145. /package/lib/clang/{13.0.0 → 14.0.0}/include/openmp_wrappers/new +0 -0
  146. /package/lib/clang/{13.0.0 → 14.0.0}/include/pconfigintrin.h +0 -0
  147. /package/lib/clang/{13.0.0 → 14.0.0}/include/pkuintrin.h +0 -0
  148. /package/lib/clang/{13.0.0 → 14.0.0}/include/popcntintrin.h +0 -0
  149. /package/lib/clang/{13.0.0 → 14.0.0}/include/ptwriteintrin.h +0 -0
  150. /package/lib/clang/{13.0.0 → 14.0.0}/include/rdseedintrin.h +0 -0
  151. /package/lib/clang/{13.0.0 → 14.0.0}/include/rtmintrin.h +0 -0
  152. /package/lib/clang/{13.0.0 → 14.0.0}/include/s390intrin.h +0 -0
  153. /package/lib/clang/{13.0.0 → 14.0.0}/include/serializeintrin.h +0 -0
  154. /package/lib/clang/{13.0.0 → 14.0.0}/include/sgxintrin.h +0 -0
  155. /package/lib/clang/{13.0.0 → 14.0.0}/include/shaintrin.h +0 -0
  156. /package/lib/clang/{13.0.0 → 14.0.0}/include/stdalign.h +0 -0
  157. /package/lib/clang/{13.0.0 → 14.0.0}/include/stdarg.h +0 -0
  158. /package/lib/clang/{13.0.0 → 14.0.0}/include/stdbool.h +0 -0
  159. /package/lib/clang/{13.0.0 → 14.0.0}/include/stddef.h +0 -0
  160. /package/lib/clang/{13.0.0 → 14.0.0}/include/stdnoreturn.h +0 -0
  161. /package/lib/clang/{13.0.0 → 14.0.0}/include/tbmintrin.h +0 -0
  162. /package/lib/clang/{13.0.0 → 14.0.0}/include/tgmath.h +0 -0
  163. /package/lib/clang/{13.0.0 → 14.0.0}/include/tsxldtrkintrin.h +0 -0
  164. /package/lib/clang/{13.0.0 → 14.0.0}/include/uintrintrin.h +0 -0
  165. /package/lib/clang/{13.0.0 → 14.0.0}/include/vadefs.h +0 -0
  166. /package/lib/clang/{13.0.0 → 14.0.0}/include/varargs.h +0 -0
  167. /package/lib/clang/{13.0.0 → 14.0.0}/include/vecintrin.h +0 -0
  168. /package/lib/clang/{13.0.0 → 14.0.0}/include/waitpkgintrin.h +0 -0
  169. /package/lib/clang/{13.0.0 → 14.0.0}/include/wbnoinvdintrin.h +0 -0
  170. /package/lib/clang/{13.0.0 → 14.0.0}/include/x86intrin.h +0 -0
  171. /package/lib/clang/{13.0.0 → 14.0.0}/include/xsavecintrin.h +0 -0
  172. /package/lib/clang/{13.0.0 → 14.0.0}/include/xsaveintrin.h +0 -0
  173. /package/lib/clang/{13.0.0 → 14.0.0}/include/xsaveoptintrin.h +0 -0
  174. /package/lib/clang/{13.0.0 → 14.0.0}/include/xsavesintrin.h +0 -0
  175. /package/lib/clang/{13.0.0 → 14.0.0}/include/xtestintrin.h +0 -0
@@ -461,6 +461,18 @@ typedef __UINTMAX_TYPE__ uintmax_t;
461
461
  # define INT64_MAX INT64_C( 9223372036854775807)
462
462
  # define INT64_MIN (-INT64_C( 9223372036854775807)-1)
463
463
  # define UINT64_MAX UINT64_C(18446744073709551615)
464
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
465
+ in C2x mode; switch to the correct values once they've been published. */
466
+ #if __STDC_VERSION__ >= 202000L
467
+ # define UINT64_WIDTH 64
468
+ # define INT64_WIDTH UINT64_WIDTH
469
+
470
+ # define __UINT_LEAST64_WIDTH UINT64_WIDTH
471
+ # define __UINT_LEAST32_WIDTH UINT64_WIDTH
472
+ # define __UINT_LEAST16_WIDTH UINT64_WIDTH
473
+ # define __UINT_LEAST8_MAX UINT64_MAX
474
+ #endif /* __STDC_VERSION__ */
475
+
464
476
  # define __INT_LEAST64_MIN INT64_MIN
465
477
  # define __INT_LEAST64_MAX INT64_MAX
466
478
  # define __UINT_LEAST64_MAX UINT64_MAX
@@ -482,6 +494,15 @@ typedef __UINTMAX_TYPE__ uintmax_t;
482
494
  # define INT_FAST64_MIN __INT_LEAST64_MIN
483
495
  # define INT_FAST64_MAX __INT_LEAST64_MAX
484
496
  # define UINT_FAST64_MAX __UINT_LEAST64_MAX
497
+
498
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
499
+ in C2x mode; switch to the correct values once they've been published. */
500
+ #if __STDC_VERSION__ >= 202000L
501
+ # define UINT_LEAST64_WIDTH __UINT_LEAST64_WIDTH
502
+ # define INT_LEAST64_WIDTH UINT_LEAST64_WIDTH
503
+ # define UINT_FAST64_WIDTH __UINT_LEAST64_WIDTH
504
+ # define INT_FAST64_WIDTH UINT_FAST64_WIDTH
505
+ #endif /* __STDC_VERSION__ */
485
506
  #endif /* __INT_LEAST64_MIN */
486
507
 
487
508
 
@@ -495,6 +516,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
495
516
  # define INT_FAST56_MIN INT56_MIN
496
517
  # define INT_FAST56_MAX INT56_MAX
497
518
  # define UINT_FAST56_MAX UINT56_MAX
519
+
498
520
  # define __INT_LEAST32_MIN INT56_MIN
499
521
  # define __INT_LEAST32_MAX INT56_MAX
500
522
  # define __UINT_LEAST32_MAX UINT56_MAX
@@ -504,6 +526,20 @@ typedef __UINTMAX_TYPE__ uintmax_t;
504
526
  # define __INT_LEAST8_MIN INT56_MIN
505
527
  # define __INT_LEAST8_MAX INT56_MAX
506
528
  # define __UINT_LEAST8_MAX UINT56_MAX
529
+
530
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
531
+ in C2x mode; switch to the correct values once they've been published. */
532
+ #if __STDC_VERSION__ >= 202000L
533
+ # define UINT56_WIDTH 56
534
+ # define INT56_WIDTH UINT56_WIDTH
535
+ # define UINT_LEAST56_WIDTH UINT56_WIDTH
536
+ # define INT_LEAST56_WIDTH UINT_LEAST56_WIDTH
537
+ # define UINT_FAST56_WIDTH UINT56_WIDTH
538
+ # define INT_FAST56_WIDTH UINT_FAST56_WIDTH
539
+ # define __UINT_LEAST32_WIDTH UINT56_WIDTH
540
+ # define __UINT_LEAST16_WIDTH UINT56_WIDTH
541
+ # define __UINT_LEAST8_WIDTH UINT56_WIDTH
542
+ #endif /* __STDC_VERSION__ */
507
543
  #endif /* __INT56_TYPE__ */
508
544
 
509
545
 
@@ -517,6 +553,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
517
553
  # define INT_FAST48_MIN INT48_MIN
518
554
  # define INT_FAST48_MAX INT48_MAX
519
555
  # define UINT_FAST48_MAX UINT48_MAX
556
+
520
557
  # define __INT_LEAST32_MIN INT48_MIN
521
558
  # define __INT_LEAST32_MAX INT48_MAX
522
559
  # define __UINT_LEAST32_MAX UINT48_MAX
@@ -526,6 +563,20 @@ typedef __UINTMAX_TYPE__ uintmax_t;
526
563
  # define __INT_LEAST8_MIN INT48_MIN
527
564
  # define __INT_LEAST8_MAX INT48_MAX
528
565
  # define __UINT_LEAST8_MAX UINT48_MAX
566
+
567
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
568
+ in C2x mode; switch to the correct values once they've been published. */
569
+ #if __STDC_VERSION__ >= 202000L
570
+ #define UINT48_WIDTH 48
571
+ #define INT48_WIDTH UINT48_WIDTH
572
+ #define UINT_LEAST48_WIDTH UINT48_WIDTH
573
+ #define INT_LEAST48_WIDTH UINT_LEAST48_WIDTH
574
+ #define UINT_FAST48_WIDTH UINT48_WIDTH
575
+ #define INT_FAST48_WIDTH UINT_FAST48_WIDTH
576
+ #define __UINT_LEAST32_WIDTH UINT48_WIDTH
577
+ #define __UINT_LEAST16_WIDTH UINT48_WIDTH
578
+ #define __UINT_LEAST8_WIDTH UINT48_WIDTH
579
+ #endif /* __STDC_VERSION__ */
529
580
  #endif /* __INT48_TYPE__ */
530
581
 
531
582
 
@@ -539,6 +590,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
539
590
  # define INT_FAST40_MIN INT40_MIN
540
591
  # define INT_FAST40_MAX INT40_MAX
541
592
  # define UINT_FAST40_MAX UINT40_MAX
593
+
542
594
  # define __INT_LEAST32_MIN INT40_MIN
543
595
  # define __INT_LEAST32_MAX INT40_MAX
544
596
  # define __UINT_LEAST32_MAX UINT40_MAX
@@ -548,6 +600,20 @@ typedef __UINTMAX_TYPE__ uintmax_t;
548
600
  # define __INT_LEAST8_MIN INT40_MIN
549
601
  # define __INT_LEAST8_MAX INT40_MAX
550
602
  # define __UINT_LEAST8_MAX UINT40_MAX
603
+
604
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
605
+ in C2x mode; switch to the correct values once they've been published. */
606
+ #if __STDC_VERSION__ >= 202000L
607
+ # define UINT40_WIDTH 40
608
+ # define INT40_WIDTH UINT40_WIDTH
609
+ # define UINT_LEAST40_WIDTH UINT40_WIDTH
610
+ # define INT_LEAST40_WIDTH UINT_LEAST40_WIDTH
611
+ # define UINT_FAST40_WIDTH UINT40_WIDTH
612
+ # define INT_FAST40_WIDTH UINT_FAST40_WIDTH
613
+ # define __UINT_LEAST32_WIDTH UINT40_WIDTH
614
+ # define __UINT_LEAST16_WIDTH UINT40_WIDTH
615
+ # define __UINT_LEAST8_WIDTH UINT40_WIDTH
616
+ #endif /* __STDC_VERSION__ */
551
617
  #endif /* __INT40_TYPE__ */
552
618
 
553
619
 
@@ -555,6 +621,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
555
621
  # define INT32_MAX INT32_C(2147483647)
556
622
  # define INT32_MIN (-INT32_C(2147483647)-1)
557
623
  # define UINT32_MAX UINT32_C(4294967295)
624
+
558
625
  # define __INT_LEAST32_MIN INT32_MIN
559
626
  # define __INT_LEAST32_MAX INT32_MAX
560
627
  # define __UINT_LEAST32_MAX UINT32_MAX
@@ -564,6 +631,16 @@ typedef __UINTMAX_TYPE__ uintmax_t;
564
631
  # define __INT_LEAST8_MIN INT32_MIN
565
632
  # define __INT_LEAST8_MAX INT32_MAX
566
633
  # define __UINT_LEAST8_MAX UINT32_MAX
634
+
635
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
636
+ in C2x mode; switch to the correct values once they've been published. */
637
+ #if __STDC_VERSION__ >= 202000L
638
+ # define UINT32_WIDTH 32
639
+ # define INT32_WIDTH UINT32_WIDTH
640
+ # define __UINT_LEAST32_WIDTH UINT32_WIDTH
641
+ # define __UINT_LEAST16_WIDTH UINT32_WIDTH
642
+ # define __UINT_LEAST8_WIDTH UINT32_WIDTH
643
+ #endif /* __STDC_VERSION__ */
567
644
  #endif /* __INT32_TYPE__ */
568
645
 
569
646
  #ifdef __INT_LEAST32_MIN
@@ -573,6 +650,15 @@ typedef __UINTMAX_TYPE__ uintmax_t;
573
650
  # define INT_FAST32_MIN __INT_LEAST32_MIN
574
651
  # define INT_FAST32_MAX __INT_LEAST32_MAX
575
652
  # define UINT_FAST32_MAX __UINT_LEAST32_MAX
653
+
654
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
655
+ in C2x mode; switch to the correct values once they've been published. */
656
+ #if __STDC_VERSION__ >= 202000L
657
+ # define UINT_LEAST32_WIDTH __UINT_LEAST32_WIDTH
658
+ # define INT_LEAST32_WIDTH UINT_LEAST32_WIDTH
659
+ # define UINT_FAST32_WIDTH __UINT_LEAST32_WIDTH
660
+ # define INT_FAST32_WIDTH UINT_FAST32_WIDTH
661
+ #endif /* __STDC_VERSION__ */
576
662
  #endif /* __INT_LEAST32_MIN */
577
663
 
578
664
 
@@ -586,12 +672,26 @@ typedef __UINTMAX_TYPE__ uintmax_t;
586
672
  # define INT_FAST24_MIN INT24_MIN
587
673
  # define INT_FAST24_MAX INT24_MAX
588
674
  # define UINT_FAST24_MAX UINT24_MAX
675
+
589
676
  # define __INT_LEAST16_MIN INT24_MIN
590
677
  # define __INT_LEAST16_MAX INT24_MAX
591
678
  # define __UINT_LEAST16_MAX UINT24_MAX
592
679
  # define __INT_LEAST8_MIN INT24_MIN
593
680
  # define __INT_LEAST8_MAX INT24_MAX
594
681
  # define __UINT_LEAST8_MAX UINT24_MAX
682
+
683
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
684
+ in C2x mode; switch to the correct values once they've been published. */
685
+ #if __STDC_VERSION__ >= 202000L
686
+ # define UINT24_WIDTH 24
687
+ # define INT24_WIDTH UINT24_WIDTH
688
+ # define UINT_LEAST24_WIDTH UINT24_WIDTH
689
+ # define INT_LEAST24_WIDTH UINT_LEAST24_WIDTH
690
+ # define UINT_FAST24_WIDTH UINT24_WIDTH
691
+ # define INT_FAST24_WIDTH UINT_FAST24_WIDTH
692
+ # define __UINT_LEAST16_WIDTH UINT24_WIDTH
693
+ # define __UINT_LEAST8_WIDTH UINT24_WIDTH
694
+ #endif /* __STDC_VERSION__ */
595
695
  #endif /* __INT24_TYPE__ */
596
696
 
597
697
 
@@ -599,12 +699,22 @@ typedef __UINTMAX_TYPE__ uintmax_t;
599
699
  #define INT16_MAX INT16_C(32767)
600
700
  #define INT16_MIN (-INT16_C(32767)-1)
601
701
  #define UINT16_MAX UINT16_C(65535)
702
+
602
703
  # define __INT_LEAST16_MIN INT16_MIN
603
704
  # define __INT_LEAST16_MAX INT16_MAX
604
705
  # define __UINT_LEAST16_MAX UINT16_MAX
605
706
  # define __INT_LEAST8_MIN INT16_MIN
606
707
  # define __INT_LEAST8_MAX INT16_MAX
607
708
  # define __UINT_LEAST8_MAX UINT16_MAX
709
+
710
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
711
+ in C2x mode; switch to the correct values once they've been published. */
712
+ #if __STDC_VERSION__ >= 202000L
713
+ # define UINT16_WIDTH 16
714
+ # define INT16_WIDTH UINT16_WIDTH
715
+ # define __UINT_LEAST16_WIDTH UINT16_WIDTH
716
+ # define __UINT_LEAST8_WIDTH UINT16_WIDTH
717
+ #endif /* __STDC_VERSION__ */
608
718
  #endif /* __INT16_TYPE__ */
609
719
 
610
720
  #ifdef __INT_LEAST16_MIN
@@ -614,6 +724,15 @@ typedef __UINTMAX_TYPE__ uintmax_t;
614
724
  # define INT_FAST16_MIN __INT_LEAST16_MIN
615
725
  # define INT_FAST16_MAX __INT_LEAST16_MAX
616
726
  # define UINT_FAST16_MAX __UINT_LEAST16_MAX
727
+
728
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
729
+ in C2x mode; switch to the correct values once they've been published. */
730
+ #if __STDC_VERSION__ >= 202000L
731
+ # define UINT_LEAST16_WIDTH __UINT_LEAST16_WIDTH
732
+ # define INT_LEAST16_WIDTH UINT_LEAST16_WIDTH
733
+ # define UINT_FAST16_WIDTH __UINT_LEAST16_WIDTH
734
+ # define INT_FAST16_WIDTH UINT_FAST16_WIDTH
735
+ #endif /* __STDC_VERSION__ */
617
736
  #endif /* __INT_LEAST16_MIN */
618
737
 
619
738
 
@@ -621,9 +740,18 @@ typedef __UINTMAX_TYPE__ uintmax_t;
621
740
  # define INT8_MAX INT8_C(127)
622
741
  # define INT8_MIN (-INT8_C(127)-1)
623
742
  # define UINT8_MAX UINT8_C(255)
743
+
624
744
  # define __INT_LEAST8_MIN INT8_MIN
625
745
  # define __INT_LEAST8_MAX INT8_MAX
626
746
  # define __UINT_LEAST8_MAX UINT8_MAX
747
+
748
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
749
+ in C2x mode; switch to the correct values once they've been published. */
750
+ #if __STDC_VERSION__ >= 202000L
751
+ # define UINT8_WIDTH 8
752
+ # define INT8_WIDTH UINT8_WIDTH
753
+ # define __UINT_LEAST8_WIDTH UINT8_WIDTH
754
+ #endif /* __STDC_VERSION__ */
627
755
  #endif /* __INT8_TYPE__ */
628
756
 
629
757
  #ifdef __INT_LEAST8_MIN
@@ -633,6 +761,15 @@ typedef __UINTMAX_TYPE__ uintmax_t;
633
761
  # define INT_FAST8_MIN __INT_LEAST8_MIN
634
762
  # define INT_FAST8_MAX __INT_LEAST8_MAX
635
763
  # define UINT_FAST8_MAX __UINT_LEAST8_MAX
764
+
765
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
766
+ in C2x mode; switch to the correct values once they've been published. */
767
+ #if __STDC_VERSION__ >= 202000L
768
+ # define UINT_LEAST8_WIDTH __UINT_LEAST8_WIDTH
769
+ # define INT_LEAST8_WIDTH UINT_LEAST8_WIDTH
770
+ # define UINT_FAST8_WIDTH __UINT_LEAST8_WIDTH
771
+ # define INT_FAST8_WIDTH UINT_FAST8_WIDTH
772
+ #endif /* __STDC_VERSION__ */
636
773
  #endif /* __INT_LEAST8_MIN */
637
774
 
638
775
  /* Some utility macros */
@@ -652,6 +789,16 @@ typedef __UINTMAX_TYPE__ uintmax_t;
652
789
  #define PTRDIFF_MAX __PTRDIFF_MAX__
653
790
  #define SIZE_MAX __SIZE_MAX__
654
791
 
792
+ /* C2x 7.20.2.4 Width of integer types capable of holding object pointers. */
793
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
794
+ in C2x mode; switch to the correct values once they've been published. */
795
+ #if __STDC_VERSION__ >= 202000L
796
+ /* NB: The C standard requires that these be the same value, but the compiler
797
+ exposes separate internal width macros. */
798
+ #define INTPTR_WIDTH __INTPTR_WIDTH__
799
+ #define UINTPTR_WIDTH __UINTPTR_WIDTH__
800
+ #endif
801
+
655
802
  /* ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
656
803
  * is enabled. */
657
804
  #if defined(__STDC_WANT_LIB_EXT1__) && __STDC_WANT_LIB_EXT1__ >= 1
@@ -663,6 +810,16 @@ typedef __UINTMAX_TYPE__ uintmax_t;
663
810
  #define INTMAX_MAX __INTMAX_MAX__
664
811
  #define UINTMAX_MAX __UINTMAX_MAX__
665
812
 
813
+ /* C2x 7.20.2.5 Width of greatest-width integer types. */
814
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
815
+ in C2x mode; switch to the correct values once they've been published. */
816
+ #if __STDC_VERSION__ >= 202000L
817
+ /* NB: The C standard requires that these be the same value, but the compiler
818
+ exposes separate internal width macros. */
819
+ #define INTMAX_WIDTH __INTMAX_WIDTH__
820
+ #define UINTMAX_WIDTH __UINTMAX_WIDTH__
821
+ #endif
822
+
666
823
  /* C99 7.18.3 Limits of other integer types. */
667
824
  #define SIG_ATOMIC_MIN __INTN_MIN(__SIG_ATOMIC_WIDTH__)
668
825
  #define SIG_ATOMIC_MAX __INTN_MAX(__SIG_ATOMIC_WIDTH__)
@@ -689,5 +846,16 @@ typedef __UINTMAX_TYPE__ uintmax_t;
689
846
  #define INTMAX_C(v) __int_c(v, __INTMAX_C_SUFFIX__)
690
847
  #define UINTMAX_C(v) __int_c(v, __UINTMAX_C_SUFFIX__)
691
848
 
849
+ /* C2x 7.20.3.x Width of other integer types. */
850
+ /* FIXME: This is using the placeholder dates Clang produces for these macros
851
+ in C2x mode; switch to the correct values once they've been published. */
852
+ #if __STDC_VERSION__ >= 202000L
853
+ #define PTRDIFF_WIDTH __PTRDIFF_WIDTH__
854
+ #define SIG_ATOMIC_WIDTH __SIG_ATOMIC_WIDTH__
855
+ #define SIZE_WIDTH __SIZE_WIDTH__
856
+ #define WCHAR_WIDTH __WCHAR_WIDTH__
857
+ #define WINT_WIDTH __WINT_WIDTH__
858
+ #endif
859
+
692
860
  #endif /* __STDC_HOSTED__ */
693
861
  #endif /* __CLANG_STDINT_H */
@@ -10,6 +10,10 @@
10
10
  #ifndef __TMMINTRIN_H
11
11
  #define __TMMINTRIN_H
12
12
 
13
+ #if !defined(__i386__) && !defined(__x86_64__)
14
+ #error "This header is only meant to be used on x86 and x64 architecture"
15
+ #endif
16
+
13
17
  #include <pmmintrin.h>
14
18
 
15
19
  /* Define the default attributes for the functions in this file. */
@@ -49,7 +53,7 @@ _mm_abs_pi8(__m64 __a)
49
53
  static __inline__ __m128i __DEFAULT_FN_ATTRS
50
54
  _mm_abs_epi8(__m128i __a)
51
55
  {
52
- return (__m128i)__builtin_ia32_pabsb128((__v16qi)__a);
56
+ return (__m128i)__builtin_elementwise_abs((__v16qs)__a);
53
57
  }
54
58
 
55
59
  /// Computes the absolute value of each of the packed 16-bit signed
@@ -85,7 +89,7 @@ _mm_abs_pi16(__m64 __a)
85
89
  static __inline__ __m128i __DEFAULT_FN_ATTRS
86
90
  _mm_abs_epi16(__m128i __a)
87
91
  {
88
- return (__m128i)__builtin_ia32_pabsw128((__v8hi)__a);
92
+ return (__m128i)__builtin_elementwise_abs((__v8hi)__a);
89
93
  }
90
94
 
91
95
  /// Computes the absolute value of each of the packed 32-bit signed
@@ -121,7 +125,7 @@ _mm_abs_pi32(__m64 __a)
121
125
  static __inline__ __m128i __DEFAULT_FN_ATTRS
122
126
  _mm_abs_epi32(__m128i __a)
123
127
  {
124
- return (__m128i)__builtin_ia32_pabsd128((__v4si)__a);
128
+ return (__m128i)__builtin_elementwise_abs((__v4si)__a);
125
129
  }
126
130
 
127
131
  /// Concatenates the two 128-bit integer vector operands, and
@@ -145,8 +149,8 @@ _mm_abs_epi32(__m128i __a)
145
149
  /// \returns A 128-bit integer vector containing the concatenated right-shifted
146
150
  /// value.
147
151
  #define _mm_alignr_epi8(a, b, n) \
148
- (__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
149
- (__v16qi)(__m128i)(b), (n))
152
+ ((__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
153
+ (__v16qi)(__m128i)(b), (n)))
150
154
 
151
155
  /// Concatenates the two 64-bit integer vector operands, and right-shifts
152
156
  /// the result by the number of bytes specified in the immediate operand.
@@ -168,7 +172,7 @@ _mm_abs_epi32(__m128i __a)
168
172
  /// \returns A 64-bit integer vector containing the concatenated right-shifted
169
173
  /// value.
170
174
  #define _mm_alignr_pi8(a, b, n) \
171
- (__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n))
175
+ ((__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n)))
172
176
 
173
177
  /// Horizontally adds the adjacent pairs of values contained in 2 packed
174
178
  /// 128-bit vectors of [8 x i16].
@@ -172,7 +172,8 @@ typedef enum {
172
172
  _UVRSC_CORE = 0, /* integer register */
173
173
  _UVRSC_VFP = 1, /* vfp */
174
174
  _UVRSC_WMMXD = 3, /* Intel WMMX data register */
175
- _UVRSC_WMMXC = 4 /* Intel WMMX control register */
175
+ _UVRSC_WMMXC = 4, /* Intel WMMX control register */
176
+ _UVRSC_PSEUDO = 5 /* Special purpose pseudo register */
176
177
  } _Unwind_VRS_RegClass;
177
178
 
178
179
  typedef enum {
@@ -82,4 +82,4 @@ static __inline__ __m512i __DEFAULT_FN_ATTRS_F
82
82
  #undef __DEFAULT_FN_ATTRS
83
83
  #undef __DEFAULT_FN_ATTRS_F
84
84
 
85
- #endif
85
+ #endif // __VAESINTRIN_H
@@ -15,15 +15,15 @@
15
15
  #define __VPCLMULQDQINTRIN_H
16
16
 
17
17
  #define _mm256_clmulepi64_epi128(A, B, I) \
18
- (__m256i)__builtin_ia32_pclmulqdq256((__v4di)(__m256i)(A), \
19
- (__v4di)(__m256i)(B), \
20
- (char)(I))
18
+ ((__m256i)__builtin_ia32_pclmulqdq256((__v4di)(__m256i)(A), \
19
+ (__v4di)(__m256i)(B), \
20
+ (char)(I)))
21
21
 
22
22
  #ifdef __AVX512FINTRIN_H
23
23
  #define _mm512_clmulepi64_epi128(A, B, I) \
24
- (__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
25
- (__v8di)(__m512i)(B), \
26
- (char)(I))
24
+ ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
25
+ (__v8di)(__m512i)(B), \
26
+ (char)(I)))
27
27
  #endif // __AVX512FINTRIN_H
28
28
 
29
29
  #endif /* __VPCLMULQDQINTRIN_H */