@cpp-linter/clang-tidy-win32-x64 20.1.0 → 22.1.8
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.
- package/README.md +2 -2
- package/bin/clang-tidy.exe +2 -2
- package/lib/clang/22/include/__clang_cuda_complex_builtins.h +229 -0
- package/lib/clang/{20 → 22}/include/__clang_cuda_device_functions.h +1 -1
- package/lib/clang/{20 → 22}/include/__clang_cuda_intrinsics.h +295 -8
- package/lib/clang/{20 → 22}/include/__clang_cuda_runtime_wrapper.h +19 -0
- package/lib/clang/{20 → 22}/include/__clang_cuda_texture_intrinsics.h +437 -2
- package/lib/clang/{20 → 22}/include/__clang_hip_cmath.h +9 -8
- package/lib/clang/{20 → 22}/include/__clang_hip_libdevice_declares.h +29 -42
- package/lib/clang/{20 → 22}/include/__clang_hip_math.h +107 -31
- package/lib/clang/{20 → 22}/include/__clang_hip_runtime_wrapper.h +6 -0
- package/lib/clang/22/include/__clang_spirv_builtins.h +217 -0
- package/lib/clang/{20/include/float.h → 22/include/__float_float.h} +14 -34
- package/lib/clang/22/include/__float_header_macro.h +12 -0
- package/lib/clang/22/include/__float_infinity_nan.h +20 -0
- package/lib/clang/{20 → 22}/include/__stdarg_va_arg.h +2 -2
- package/lib/clang/{20 → 22}/include/altivec.h +82 -79
- package/lib/clang/{20 → 22}/include/amdgpuintrin.h +23 -26
- package/lib/clang/22/include/amo.h +131 -0
- package/lib/clang/{20 → 22}/include/amxavx512intrin.h +216 -2
- package/lib/clang/{20 → 22}/include/amxcomplexintrin.h +4 -6
- package/lib/clang/{20 → 22}/include/amxintrin.h +0 -2
- package/lib/clang/22/include/andes_vector.h +16 -0
- package/lib/clang/{20 → 22}/include/arm_acle.h +48 -68
- package/lib/clang/{20 → 22}/include/arm_fp16.h +89 -89
- package/lib/clang/{20 → 22}/include/arm_neon.h +22413 -19759
- package/lib/clang/{20 → 22}/include/arm_sme.h +702 -8
- package/lib/clang/{20 → 22}/include/arm_sve.h +6346 -5626
- package/lib/clang/{20 → 22}/include/avx10_2_512bf16intrin.h +19 -12
- package/lib/clang/{20 → 22}/include/avx10_2_512convertintrin.h +25 -23
- package/lib/clang/{20 → 22}/include/avx10_2_512niintrin.h +31 -31
- package/lib/clang/{20 → 22}/include/avx10_2_512satcvtdsintrin.h +29 -25
- package/lib/clang/{20 → 22}/include/avx10_2_512satcvtintrin.h +84 -84
- package/lib/clang/{20 → 22}/include/avx10_2bf16intrin.h +54 -45
- package/lib/clang/22/include/avx10_2convertintrin.h +3257 -0
- package/lib/clang/{20 → 22}/include/avx10_2copyintrin.h +1 -1
- package/lib/clang/{20 → 22}/include/avx10_2minmaxintrin.h +18 -63
- package/lib/clang/22/include/avx10_2niintrin.h +409 -0
- package/lib/clang/22/include/avx10_2satcvtdsintrin.h +376 -0
- package/lib/clang/22/include/avx10_2satcvtintrin.h +312 -0
- package/lib/clang/{20 → 22}/include/avx2intrin.h +275 -377
- package/lib/clang/{20 → 22}/include/avx512bf16intrin.h +25 -16
- package/lib/clang/{20 → 22}/include/avx512bitalgintrin.h +19 -30
- package/lib/clang/{20 → 22}/include/avx512bwintrin.h +386 -505
- package/lib/clang/22/include/avx512cdintrin.h +112 -0
- package/lib/clang/{20 → 22}/include/avx512dqintrin.h +132 -161
- package/lib/clang/{20 → 22}/include/avx512fintrin.h +1015 -1424
- package/lib/clang/{20 → 22}/include/avx512fp16intrin.h +114 -111
- package/lib/clang/22/include/avx512ifmaintrin.h +68 -0
- package/lib/clang/22/include/avx512ifmavlintrin.h +138 -0
- package/lib/clang/{20 → 22}/include/avx512vbmi2intrin.h +43 -32
- package/lib/clang/{20 → 22}/include/avx512vbmiintrin.h +19 -27
- package/lib/clang/{20 → 22}/include/avx512vbmivlintrin.h +35 -49
- package/lib/clang/{20 → 22}/include/avx512vlbf16intrin.h +32 -22
- package/lib/clang/{20 → 22}/include/avx512vlbitalgintrin.h +37 -53
- package/lib/clang/{20 → 22}/include/avx512vlbwintrin.h +470 -573
- package/lib/clang/22/include/avx512vlcdintrin.h +202 -0
- package/lib/clang/{20 → 22}/include/avx512vldqintrin.h +110 -127
- package/lib/clang/{20 → 22}/include/avx512vlfp16intrin.h +130 -111
- package/lib/clang/{20 → 22}/include/avx512vlintrin.h +945 -1299
- package/lib/clang/{20 → 22}/include/avx512vlvbmi2intrin.h +78 -63
- package/lib/clang/{20 → 22}/include/avx512vlvnniintrin.h +21 -18
- package/lib/clang/{20 → 22}/include/avx512vlvp2intersectintrin.h +2 -2
- package/lib/clang/{20 → 22}/include/avx512vnniintrin.h +10 -10
- package/lib/clang/{20 → 22}/include/avx512vp2intersectintrin.h +1 -2
- package/lib/clang/{20 → 22}/include/avx512vpopcntdqintrin.h +8 -10
- package/lib/clang/{20 → 22}/include/avx512vpopcntdqvlintrin.h +17 -15
- package/lib/clang/{20 → 22}/include/avxifmaintrin.h +16 -0
- package/lib/clang/{20 → 22}/include/avxintrin.h +165 -241
- package/lib/clang/{20 → 22}/include/avxvnniint16intrin.h +118 -99
- package/lib/clang/{20 → 22}/include/avxvnniint8intrin.h +56 -32
- package/lib/clang/{20 → 22}/include/avxvnniintrin.h +16 -8
- package/lib/clang/{20 → 22}/include/bmiintrin.h +0 -4
- package/lib/clang/{20 → 22}/include/cpuid.h +125 -26
- package/lib/clang/22/include/cuda_wrappers/__utility/declval.h +28 -0
- package/lib/clang/22/include/cuda_wrappers/bits/c++config.h +61 -0
- package/lib/clang/{20 → 22}/include/cuda_wrappers/cmath +0 -50
- package/lib/clang/{20 → 22}/include/emmintrin.h +168 -168
- package/lib/clang/{20 → 22}/include/f16cintrin.h +23 -9
- package/lib/clang/22/include/float.h +48 -0
- package/lib/clang/22/include/fma4intrin.h +220 -0
- package/lib/clang/{20 → 22}/include/fmaintrin.h +96 -66
- package/lib/clang/{20 → 22}/include/gfniintrin.h +21 -16
- package/lib/clang/{20 → 22}/include/gpuintrin.h +117 -11
- package/lib/clang/{20 → 22}/include/hexagon_types.h +23 -20
- package/lib/clang/{20/include/hlsl/hlsl_intrinsics.h → 22/include/hlsl/hlsl_alias_intrinsics.h} +643 -296
- package/lib/clang/22/include/hlsl/hlsl_basic_types.h +370 -0
- package/lib/clang/22/include/hlsl/hlsl_compat_overloads.h +520 -0
- package/lib/clang/22/include/hlsl/hlsl_detail.h +54 -0
- package/lib/clang/22/include/hlsl/hlsl_intrinsic_helpers.h +190 -0
- package/lib/clang/22/include/hlsl/hlsl_intrinsics.h +794 -0
- package/lib/clang/22/include/hlsl/hlsl_spirv.h +28 -0
- package/lib/clang/{20 → 22}/include/hlsl.h +12 -0
- package/lib/clang/{20 → 22}/include/hvx_hexagon_protos.h +649 -860
- package/lib/clang/{20 → 22}/include/immintrin.h +0 -236
- package/lib/clang/{20 → 22}/include/intrin.h +25 -4
- package/lib/clang/{20 → 22}/include/keylockerintrin.h +0 -9
- package/lib/clang/{20 → 22}/include/lasxintrin.h +113 -0
- package/lib/clang/{20 → 22}/include/llvm_libc_wrappers/assert.h +3 -5
- package/lib/clang/22/include/llvm_libc_wrappers/ctype.h +28 -0
- package/lib/clang/{20 → 22}/include/llvm_libc_wrappers/inttypes.h +3 -5
- package/lib/clang/22/include/llvm_libc_wrappers/stdio.h +52 -0
- package/lib/clang/22/include/llvm_libc_wrappers/stdlib.h +32 -0
- package/lib/clang/22/include/llvm_libc_wrappers/string.h +28 -0
- package/lib/clang/{20 → 22}/include/llvm_libc_wrappers/time.h +4 -10
- package/lib/clang/{20 → 22}/include/lzcntintrin.h +6 -4
- package/lib/clang/{20 → 22}/include/mmintrin.h +188 -257
- package/lib/clang/{20 → 22}/include/module.modulemap +36 -4
- package/lib/clang/{20 → 22}/include/movrs_avx10_2_512intrin.h +2 -2
- package/lib/clang/{20 → 22}/include/movrs_avx10_2intrin.h +4 -4
- package/lib/clang/{20 → 22}/include/movrsintrin.h +1 -1
- package/lib/clang/{20 → 22}/include/nvptxintrin.h +48 -31
- package/lib/clang/{20 → 22}/include/opencl-c-base.h +18 -93
- package/lib/clang/{20 → 22}/include/opencl-c.h +360 -55
- package/lib/clang/{20 → 22}/include/pmmintrin.h +12 -24
- package/lib/clang/{20 → 22}/include/prfchwintrin.h +10 -13
- package/lib/clang/{20 → 22}/include/ptrauth.h +73 -2
- package/lib/clang/{20 → 22}/include/riscv_corev_alu.h +4 -4
- package/lib/clang/22/include/riscv_mips.h +34 -0
- package/lib/clang/22/include/riscv_nds.h +89 -0
- package/lib/clang/{20 → 22}/include/riscv_vector.h +0 -4
- package/lib/clang/{20 → 22}/include/shaintrin.h +3 -2
- package/lib/clang/{20 → 22}/include/sifive_vector.h +58 -2
- package/lib/clang/{20 → 22}/include/sm4evexintrin.h +2 -2
- package/lib/clang/{20 → 22}/include/smmintrin.h +77 -59
- package/lib/clang/22/include/spirvintrin.h +194 -0
- package/lib/clang/22/include/stdcountof.h +15 -0
- package/lib/clang/22/include/stddefer.h +19 -0
- package/lib/clang/{20 → 22}/include/stdint.h +18 -129
- package/lib/clang/{20 → 22}/include/tmmintrin.h +116 -147
- package/lib/clang/{20 → 22}/include/vaesintrin.h +1 -2
- package/lib/clang/{20 → 22}/include/vecintrin.h +5 -0
- package/lib/clang/{20 → 22}/include/x86gprintrin.h +0 -14
- package/lib/clang/{20 → 22}/include/x86intrin.h +0 -18
- package/lib/clang/{20 → 22}/include/xmmintrin.h +47 -72
- package/lib/clang/{20 → 22}/include/xopintrin.h +20 -10
- package/package.json +6 -6
- package/lib/clang/20/include/__clang_cuda_complex_builtins.h +0 -285
- package/lib/clang/20/include/amxbf16transposeintrin.h +0 -94
- package/lib/clang/20/include/amxcomplextransposeintrin.h +0 -303
- package/lib/clang/20/include/amxfp16transposeintrin.h +0 -94
- package/lib/clang/20/include/amxmovrstransposeintrin.h +0 -200
- package/lib/clang/20/include/amxtf32transposeintrin.h +0 -105
- package/lib/clang/20/include/amxtransposeintrin.h +0 -248
- package/lib/clang/20/include/avx10_2convertintrin.h +0 -589
- package/lib/clang/20/include/avx10_2niintrin.h +0 -2075
- package/lib/clang/20/include/avx10_2satcvtdsintrin.h +0 -496
- package/lib/clang/20/include/avx10_2satcvtintrin.h +0 -444
- package/lib/clang/20/include/avx512cdintrin.h +0 -125
- package/lib/clang/20/include/avx512ifmaintrin.h +0 -70
- package/lib/clang/20/include/avx512ifmavlintrin.h +0 -111
- package/lib/clang/20/include/avx512vlcdintrin.h +0 -230
- package/lib/clang/20/include/fma4intrin.h +0 -218
- package/lib/clang/20/include/hlsl/hlsl_basic_types.h +0 -120
- package/lib/clang/20/include/hlsl/hlsl_detail.h +0 -84
- package/lib/clang/20/include/llvm_libc_wrappers/ctype.h +0 -140
- package/lib/clang/20/include/llvm_libc_wrappers/stdio.h +0 -80
- package/lib/clang/20/include/llvm_libc_wrappers/stdlib.h +0 -53
- package/lib/clang/20/include/llvm_libc_wrappers/string.h +0 -96
- /package/lib/clang/{20 → 22}/include/__clang_cuda_builtin_vars.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_cmath.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_libdevice_declares.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_math.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_cuda_math_forward_declares.h +0 -0
- /package/lib/clang/{20 → 22}/include/__clang_hip_stdlib.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg___gnuc_va_list.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg___va_copy.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg_header_macro.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg_va_copy.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stdarg_va_list.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_header_macro.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_max_align_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_null.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_nullptr_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_offsetof.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_ptrdiff_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_rsize_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_size_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_unreachable.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_wchar_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__stddef_wint_t.h +0 -0
- /package/lib/clang/{20 → 22}/include/__wmmintrin_aes.h +0 -0
- /package/lib/clang/{20 → 22}/include/__wmmintrin_pclmul.h +0 -0
- /package/lib/clang/{20 → 22}/include/adcintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/adxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ammintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxfp16intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxfp8intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxmovrsintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/amxtf32intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm64intr.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_bf16.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_cde.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_cmse.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_mve.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_neon_sve_bridge.h +0 -0
- /package/lib/clang/{20 → 22}/include/arm_vector_types.h +0 -0
- /package/lib/clang/{20 → 22}/include/armintr.h +0 -0
- /package/lib/clang/{20 → 22}/include/avx10_2_512minmaxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/avxneconvertintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/bmi2intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/builtins.h +0 -0
- /package/lib/clang/{20 → 22}/include/cet.h +0 -0
- /package/lib/clang/{20 → 22}/include/cetintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/cldemoteintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/clflushoptintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/clwbintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/clzerointrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/cmpccxaddintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/crc32intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/algorithm +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/bits/basic_string.h +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/bits/basic_string.tcc +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/bits/shared_ptr_base.h +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/complex +0 -0
- /package/lib/clang/{20 → 22}/include/cuda_wrappers/new +0 -0
- /package/lib/clang/{20 → 22}/include/enqcmdintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/fxsrintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/hexagon_circ_brev_intrinsics.h +0 -0
- /package/lib/clang/{20 → 22}/include/hexagon_protos.h +0 -0
- /package/lib/clang/{20 → 22}/include/hresetintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/htmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/htmxlintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ia32intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/intrin0.h +0 -0
- /package/lib/clang/{20 → 22}/include/inttypes.h +0 -0
- /package/lib/clang/{20 → 22}/include/invpcidintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/iso646.h +0 -0
- /package/lib/clang/{20 → 22}/include/larchintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/limits.h +0 -0
- /package/lib/clang/{20 → 22}/include/llvm_offload_wrappers/__llvm_offload.h +0 -0
- /package/lib/clang/{20 → 22}/include/llvm_offload_wrappers/__llvm_offload_device.h +0 -0
- /package/lib/clang/{20 → 22}/include/llvm_offload_wrappers/__llvm_offload_host.h +0 -0
- /package/lib/clang/{20 → 22}/include/lsxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/lwpintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/mm3dnow.h +0 -0
- /package/lib/clang/{20 → 22}/include/mm_malloc.h +0 -0
- /package/lib/clang/{20 → 22}/include/movdirintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/msa.h +0 -0
- /package/lib/clang/{20 → 22}/include/mwaitxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/nmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/__clang_openmp_device_functions.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/cmath +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/complex +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/complex.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/complex_cmath.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/math.h +0 -0
- /package/lib/clang/{20 → 22}/include/openmp_wrappers/new +0 -0
- /package/lib/clang/{20 → 22}/include/pconfigintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/pkuintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/popcntintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/bmi2intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/bmiintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/emmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/immintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/mm_malloc.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/mmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/nmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/pmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/smmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/tmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/x86gprintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/x86intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ppc_wrappers/xmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/prfchiintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/ptwriteintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/raointintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/rdpruintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/rdseedintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/riscv_bitmanip.h +0 -0
- /package/lib/clang/{20 → 22}/include/riscv_crypto.h +0 -0
- /package/lib/clang/{20 → 22}/include/riscv_ntlh.h +0 -0
- /package/lib/clang/{20 → 22}/include/rtmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/s390intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/serializeintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sgxintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sha512intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sm3intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/sm4intrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdalign.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdarg.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdatomic.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdbool.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdckdint.h +0 -0
- /package/lib/clang/{20 → 22}/include/stddef.h +0 -0
- /package/lib/clang/{20 → 22}/include/stdnoreturn.h +0 -0
- /package/lib/clang/{20 → 22}/include/tbmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/tgmath.h +0 -0
- /package/lib/clang/{20 → 22}/include/tsxldtrkintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/uintrintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/unwind.h +0 -0
- /package/lib/clang/{20 → 22}/include/usermsrintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/vadefs.h +0 -0
- /package/lib/clang/{20 → 22}/include/varargs.h +0 -0
- /package/lib/clang/{20 → 22}/include/velintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/velintrin_approx.h +0 -0
- /package/lib/clang/{20 → 22}/include/velintrin_gen.h +0 -0
- /package/lib/clang/{20 → 22}/include/vpclmulqdqintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/waitpkgintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/wasm_simd128.h +0 -0
- /package/lib/clang/{20 → 22}/include/wbnoinvdintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/wmmintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsavecintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsaveintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsaveoptintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xsavesintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/xtestintrin.h +0 -0
- /package/lib/clang/{20 → 22}/include/yvals_core.h +0 -0
- /package/lib/clang/{20 → 22}/include/zos_wrappers/builtins.h +0 -0
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
#ifndef __AVXVNNIINT8INTRIN_H
|
|
15
15
|
#define __AVXVNNIINT8INTRIN_H
|
|
16
16
|
|
|
17
|
+
// clang-format off
|
|
17
18
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
18
19
|
/// corresponding signed 8-bit integers in \a __B, producing 4 intermediate
|
|
19
20
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -44,10 +45,12 @@
|
|
|
44
45
|
/// ENDFOR
|
|
45
46
|
/// dst[MAX:128] := 0
|
|
46
47
|
/// \endcode
|
|
48
|
+
// clang-format on
|
|
47
49
|
#define _mm_dpbssd_epi32(__W, __A, __B) \
|
|
48
|
-
((__m128i)__builtin_ia32_vpdpbssd128((__v4si)(__W), (
|
|
49
|
-
(
|
|
50
|
+
((__m128i)__builtin_ia32_vpdpbssd128((__v4si)(__W), (__v16qi)(__A), \
|
|
51
|
+
(__v16qi)(__B)))
|
|
50
52
|
|
|
53
|
+
// clang-format off
|
|
51
54
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
52
55
|
/// corresponding signed 8-bit integers in \a __B, producing 4 intermediate
|
|
53
56
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -78,10 +81,12 @@
|
|
|
78
81
|
/// ENDFOR
|
|
79
82
|
/// dst[MAX:256] := 0
|
|
80
83
|
/// \endcode
|
|
84
|
+
// clang-format on
|
|
81
85
|
#define _mm256_dpbssd_epi32(__W, __A, __B) \
|
|
82
|
-
((__m256i)__builtin_ia32_vpdpbssd256((__v8si)(__W), (
|
|
83
|
-
(
|
|
86
|
+
((__m256i)__builtin_ia32_vpdpbssd256((__v8si)(__W), (__v32qi)(__A), \
|
|
87
|
+
(__v32qi)(__B)))
|
|
84
88
|
|
|
89
|
+
// clang-format off
|
|
85
90
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
86
91
|
/// corresponding signed 8-bit integers in \a __B, producing 4 intermediate
|
|
87
92
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -94,7 +99,7 @@
|
|
|
94
99
|
/// _mm_dpbssds_epi32( __m128i __W, __m128i __A, __m128i __B);
|
|
95
100
|
/// \endcode
|
|
96
101
|
///
|
|
97
|
-
/// This intrinsic corresponds to the \c
|
|
102
|
+
/// This intrinsic corresponds to the \c VPDPBSSDS instruction.
|
|
98
103
|
///
|
|
99
104
|
/// \param __A
|
|
100
105
|
/// A 128-bit vector of [16 x char].
|
|
@@ -113,10 +118,12 @@
|
|
|
113
118
|
/// ENDFOR
|
|
114
119
|
/// dst[MAX:128] := 0
|
|
115
120
|
/// \endcode
|
|
121
|
+
// clang-format on
|
|
116
122
|
#define _mm_dpbssds_epi32(__W, __A, __B) \
|
|
117
|
-
((__m128i)__builtin_ia32_vpdpbssds128((__v4si)(__W), (
|
|
118
|
-
(
|
|
123
|
+
((__m128i)__builtin_ia32_vpdpbssds128((__v4si)(__W), (__v16qi)(__A), \
|
|
124
|
+
(__v16qi)(__B)))
|
|
119
125
|
|
|
126
|
+
// clang-format off
|
|
120
127
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
121
128
|
/// corresponding signed 8-bit integers in \a __B, producing 4 intermediate
|
|
122
129
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -129,7 +136,7 @@
|
|
|
129
136
|
/// _mm256_dpbssds_epi32(__m256i __W, __m256i __A, __m256i __B);
|
|
130
137
|
/// \endcode
|
|
131
138
|
///
|
|
132
|
-
/// This intrinsic corresponds to the \c
|
|
139
|
+
/// This intrinsic corresponds to the \c VPDPBSSDS instruction.
|
|
133
140
|
///
|
|
134
141
|
/// \param __A
|
|
135
142
|
/// A 256-bit vector of [32 x char].
|
|
@@ -148,10 +155,12 @@
|
|
|
148
155
|
/// ENDFOR
|
|
149
156
|
/// dst[MAX:256] := 0
|
|
150
157
|
/// \endcode
|
|
158
|
+
// clang-format on
|
|
151
159
|
#define _mm256_dpbssds_epi32(__W, __A, __B) \
|
|
152
|
-
((__m256i)__builtin_ia32_vpdpbssds256((__v8si)(__W), (
|
|
153
|
-
(
|
|
160
|
+
((__m256i)__builtin_ia32_vpdpbssds256((__v8si)(__W), (__v32qi)(__A), \
|
|
161
|
+
(__v32qi)(__B)))
|
|
154
162
|
|
|
163
|
+
// clang-format off
|
|
155
164
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
156
165
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
157
166
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -163,7 +172,7 @@
|
|
|
163
172
|
/// _mm_dpbsud_epi32(__m128i __W, __m128i __A, __m128i __B);
|
|
164
173
|
/// \endcode
|
|
165
174
|
///
|
|
166
|
-
/// This intrinsic corresponds to the \c
|
|
175
|
+
/// This intrinsic corresponds to the \c VPDPBSUD instruction.
|
|
167
176
|
///
|
|
168
177
|
/// \param __A
|
|
169
178
|
/// A 128-bit vector of [16 x char].
|
|
@@ -182,10 +191,12 @@
|
|
|
182
191
|
/// ENDFOR
|
|
183
192
|
/// dst[MAX:128] := 0
|
|
184
193
|
/// \endcode
|
|
194
|
+
// clang-format on
|
|
185
195
|
#define _mm_dpbsud_epi32(__W, __A, __B) \
|
|
186
|
-
((__m128i)__builtin_ia32_vpdpbsud128((__v4si)(__W), (
|
|
187
|
-
(
|
|
196
|
+
((__m128i)__builtin_ia32_vpdpbsud128((__v4si)(__W), (__v16qi)(__A), \
|
|
197
|
+
(__v16qu)(__B)))
|
|
188
198
|
|
|
199
|
+
// clang-format off
|
|
189
200
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
190
201
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
191
202
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -197,7 +208,7 @@
|
|
|
197
208
|
/// _mm256_dpbsud_epi32(__m256i __W, __m256i __A, __m256i __B);
|
|
198
209
|
/// \endcode
|
|
199
210
|
///
|
|
200
|
-
/// This intrinsic corresponds to the \c
|
|
211
|
+
/// This intrinsic corresponds to the \c VPDPBSUD instruction.
|
|
201
212
|
///
|
|
202
213
|
/// \param __A
|
|
203
214
|
/// A 256-bit vector of [32 x char].
|
|
@@ -216,10 +227,12 @@
|
|
|
216
227
|
/// ENDFOR
|
|
217
228
|
/// dst[MAX:256] := 0
|
|
218
229
|
/// \endcode
|
|
230
|
+
// clang-format on
|
|
219
231
|
#define _mm256_dpbsud_epi32(__W, __A, __B) \
|
|
220
|
-
((__m256i)__builtin_ia32_vpdpbsud256((__v8si)(__W), (
|
|
221
|
-
(
|
|
232
|
+
((__m256i)__builtin_ia32_vpdpbsud256((__v8si)(__W), (__v32qi)(__A), \
|
|
233
|
+
(__v32qu)(__B)))
|
|
222
234
|
|
|
235
|
+
// clang-format off
|
|
223
236
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
224
237
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
225
238
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -232,7 +245,7 @@
|
|
|
232
245
|
/// _mm_dpbsuds_epi32( __m128i __W, __m128i __A, __m128i __B);
|
|
233
246
|
/// \endcode
|
|
234
247
|
///
|
|
235
|
-
/// This intrinsic corresponds to the \c
|
|
248
|
+
/// This intrinsic corresponds to the \c VPDPBSUDS instruction.
|
|
236
249
|
///
|
|
237
250
|
/// \param __A
|
|
238
251
|
/// A 128-bit vector of [16 x char].
|
|
@@ -251,10 +264,12 @@
|
|
|
251
264
|
/// ENDFOR
|
|
252
265
|
/// dst[MAX:128] := 0
|
|
253
266
|
/// \endcode
|
|
267
|
+
// clang-format on
|
|
254
268
|
#define _mm_dpbsuds_epi32(__W, __A, __B) \
|
|
255
|
-
((__m128i)__builtin_ia32_vpdpbsuds128((__v4si)(__W), (
|
|
256
|
-
(
|
|
269
|
+
((__m128i)__builtin_ia32_vpdpbsuds128((__v4si)(__W), (__v16qi)(__A), \
|
|
270
|
+
(__v16qu)(__B)))
|
|
257
271
|
|
|
272
|
+
// clang-format off
|
|
258
273
|
/// Multiply groups of 4 adjacent pairs of signed 8-bit integers in \a __A with
|
|
259
274
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
260
275
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -267,7 +282,7 @@
|
|
|
267
282
|
/// _mm256_dpbsuds_epi32(__m256i __W, __m256i __A, __m256i __B);
|
|
268
283
|
/// \endcode
|
|
269
284
|
///
|
|
270
|
-
/// This intrinsic corresponds to the \c
|
|
285
|
+
/// This intrinsic corresponds to the \c VPDPBSUDS instruction.
|
|
271
286
|
///
|
|
272
287
|
/// \param __A
|
|
273
288
|
/// A 256-bit vector of [32 x char].
|
|
@@ -286,10 +301,12 @@
|
|
|
286
301
|
/// ENDFOR
|
|
287
302
|
/// dst[MAX:256] := 0
|
|
288
303
|
/// \endcode
|
|
304
|
+
// clang-format on
|
|
289
305
|
#define _mm256_dpbsuds_epi32(__W, __A, __B) \
|
|
290
|
-
((__m256i)__builtin_ia32_vpdpbsuds256((__v8si)(__W), (
|
|
291
|
-
(
|
|
306
|
+
((__m256i)__builtin_ia32_vpdpbsuds256((__v8si)(__W), (__v32qi)(__A), \
|
|
307
|
+
(__v32qu)(__B)))
|
|
292
308
|
|
|
309
|
+
// clang-format off
|
|
293
310
|
/// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in \a __A with
|
|
294
311
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
295
312
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -301,7 +318,7 @@
|
|
|
301
318
|
/// _mm_dpbuud_epi32(__m128i __W, __m128i __A, __m128i __B);
|
|
302
319
|
/// \endcode
|
|
303
320
|
///
|
|
304
|
-
/// This intrinsic corresponds to the \c
|
|
321
|
+
/// This intrinsic corresponds to the \c VPDPBUUD instruction.
|
|
305
322
|
///
|
|
306
323
|
/// \param __A
|
|
307
324
|
/// A 128-bit vector of [16 x unsigned char].
|
|
@@ -320,10 +337,12 @@
|
|
|
320
337
|
/// ENDFOR
|
|
321
338
|
/// dst[MAX:128] := 0
|
|
322
339
|
/// \endcode
|
|
340
|
+
// clang-format on
|
|
323
341
|
#define _mm_dpbuud_epi32(__W, __A, __B) \
|
|
324
|
-
((__m128i)__builtin_ia32_vpdpbuud128((__v4si)(__W), (
|
|
325
|
-
(
|
|
342
|
+
((__m128i)__builtin_ia32_vpdpbuud128((__v4si)(__W), (__v16qu)(__A), \
|
|
343
|
+
(__v16qu)(__B)))
|
|
326
344
|
|
|
345
|
+
// clang-format off
|
|
327
346
|
/// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in \a __A with
|
|
328
347
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
329
348
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -335,7 +354,7 @@
|
|
|
335
354
|
/// _mm256_dpbuud_epi32(__m256i __W, __m256i __A, __m256i __B);
|
|
336
355
|
/// \endcode
|
|
337
356
|
///
|
|
338
|
-
/// This intrinsic corresponds to the \c
|
|
357
|
+
/// This intrinsic corresponds to the \c VPDPBUUD instruction.
|
|
339
358
|
///
|
|
340
359
|
/// \param __A
|
|
341
360
|
/// A 256-bit vector of [32 x unsigned char].
|
|
@@ -354,10 +373,12 @@
|
|
|
354
373
|
/// ENDFOR
|
|
355
374
|
/// dst[MAX:256] := 0
|
|
356
375
|
/// \endcode
|
|
376
|
+
// clang-format on
|
|
357
377
|
#define _mm256_dpbuud_epi32(__W, __A, __B) \
|
|
358
|
-
((__m256i)__builtin_ia32_vpdpbuud256((__v8si)(__W), (
|
|
359
|
-
(
|
|
378
|
+
((__m256i)__builtin_ia32_vpdpbuud256((__v8si)(__W), (__v32qu)(__A), \
|
|
379
|
+
(__v32qu)(__B)))
|
|
360
380
|
|
|
381
|
+
// clang-format off
|
|
361
382
|
/// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in \a __A with
|
|
362
383
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
363
384
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
@@ -389,10 +410,12 @@
|
|
|
389
410
|
/// ENDFOR
|
|
390
411
|
/// dst[MAX:128] := 0
|
|
391
412
|
/// \endcode
|
|
413
|
+
// clang-format on
|
|
392
414
|
#define _mm_dpbuuds_epi32(__W, __A, __B) \
|
|
393
|
-
((__m128i)__builtin_ia32_vpdpbuuds128((__v4si)(__W), (
|
|
394
|
-
(
|
|
415
|
+
((__m128i)__builtin_ia32_vpdpbuuds128((__v4si)(__W), (__v16qu)(__A), \
|
|
416
|
+
(__v16qu)(__B)))
|
|
395
417
|
|
|
418
|
+
// clang-format off
|
|
396
419
|
/// corresponding unsigned 8-bit integers in \a __B, producing 4 intermediate
|
|
397
420
|
/// signed 16-bit results. Sum these 4 results with the corresponding
|
|
398
421
|
/// 32-bit integer in \a __W with signed saturation, and store the packed
|
|
@@ -423,8 +446,9 @@
|
|
|
423
446
|
/// ENDFOR
|
|
424
447
|
/// dst[MAX:256] := 0
|
|
425
448
|
/// \endcode
|
|
449
|
+
// clang-format on
|
|
426
450
|
#define _mm256_dpbuuds_epi32(__W, __A, __B) \
|
|
427
|
-
((__m256i)__builtin_ia32_vpdpbuuds256((__v8si)(__W), (
|
|
428
|
-
(
|
|
451
|
+
((__m256i)__builtin_ia32_vpdpbuuds256((__v8si)(__W), (__v32qu)(__A), \
|
|
452
|
+
(__v32qu)(__B)))
|
|
429
453
|
|
|
430
454
|
#endif // __AVXVNNIINT8INTRIN_H
|
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
static __inline__ __m256i __DEFAULT_FN_ATTRS256
|
|
64
64
|
_mm256_dpbusd_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
65
65
|
{
|
|
66
|
-
return (__m256i)__builtin_ia32_vpdpbusd256((__v8si)__S, (
|
|
66
|
+
return (__m256i)__builtin_ia32_vpdpbusd256((__v8si)__S, (__v32qu)__A,
|
|
67
|
+
(__v32qi)__B);
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
/// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in \a __A with
|
|
@@ -86,7 +87,8 @@ _mm256_dpbusd_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
|
86
87
|
static __inline__ __m256i __DEFAULT_FN_ATTRS256
|
|
87
88
|
_mm256_dpbusds_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
88
89
|
{
|
|
89
|
-
return (__m256i)__builtin_ia32_vpdpbusds256((__v8si)__S, (
|
|
90
|
+
return (__m256i)__builtin_ia32_vpdpbusds256((__v8si)__S, (__v32qu)__A,
|
|
91
|
+
(__v32qi)__B);
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
/// Multiply groups of 2 adjacent pairs of signed 16-bit integers in \a __A with
|
|
@@ -107,7 +109,8 @@ _mm256_dpbusds_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
|
107
109
|
static __inline__ __m256i __DEFAULT_FN_ATTRS256
|
|
108
110
|
_mm256_dpwssd_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
109
111
|
{
|
|
110
|
-
return (__m256i)__builtin_ia32_vpdpwssd256((__v8si)__S, (
|
|
112
|
+
return (__m256i)__builtin_ia32_vpdpwssd256((__v8si)__S, (__v16hi)__A,
|
|
113
|
+
(__v16hi)__B);
|
|
111
114
|
}
|
|
112
115
|
|
|
113
116
|
/// Multiply groups of 2 adjacent pairs of signed 16-bit integers in \a __A with
|
|
@@ -128,7 +131,8 @@ _mm256_dpwssd_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
|
128
131
|
static __inline__ __m256i __DEFAULT_FN_ATTRS256
|
|
129
132
|
_mm256_dpwssds_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
130
133
|
{
|
|
131
|
-
return (__m256i)__builtin_ia32_vpdpwssds256((__v8si)__S, (
|
|
134
|
+
return (__m256i)__builtin_ia32_vpdpwssds256((__v8si)__S, (__v16hi)__A,
|
|
135
|
+
(__v16hi)__B);
|
|
132
136
|
}
|
|
133
137
|
|
|
134
138
|
/// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in \a __A with
|
|
@@ -151,7 +155,8 @@ _mm256_dpwssds_avx_epi32(__m256i __S, __m256i __A, __m256i __B)
|
|
|
151
155
|
static __inline__ __m128i __DEFAULT_FN_ATTRS128
|
|
152
156
|
_mm_dpbusd_avx_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|
153
157
|
{
|
|
154
|
-
return (__m128i)__builtin_ia32_vpdpbusd128((__v4si)__S, (
|
|
158
|
+
return (__m128i)__builtin_ia32_vpdpbusd128((__v4si)__S, (__v16qu)__A,
|
|
159
|
+
(__v16qi)__B);
|
|
155
160
|
}
|
|
156
161
|
|
|
157
162
|
/// Multiply groups of 4 adjacent pairs of unsigned 8-bit integers in \a __A with
|
|
@@ -174,7 +179,8 @@ _mm_dpbusd_avx_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|
|
174
179
|
static __inline__ __m128i __DEFAULT_FN_ATTRS128
|
|
175
180
|
_mm_dpbusds_avx_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|
176
181
|
{
|
|
177
|
-
return (__m128i)__builtin_ia32_vpdpbusds128((__v4si)__S, (
|
|
182
|
+
return (__m128i)__builtin_ia32_vpdpbusds128((__v4si)__S, (__v16qu)__A,
|
|
183
|
+
(__v16qi)__B);
|
|
178
184
|
}
|
|
179
185
|
|
|
180
186
|
/// Multiply groups of 2 adjacent pairs of signed 16-bit integers in \a __A with
|
|
@@ -195,7 +201,8 @@ _mm_dpbusds_avx_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|
|
195
201
|
static __inline__ __m128i __DEFAULT_FN_ATTRS128
|
|
196
202
|
_mm_dpwssd_avx_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|
197
203
|
{
|
|
198
|
-
return (__m128i)__builtin_ia32_vpdpwssd128((__v4si)__S, (
|
|
204
|
+
return (__m128i)__builtin_ia32_vpdpwssd128((__v4si)__S, (__v8hi)__A,
|
|
205
|
+
(__v8hi)__B);
|
|
199
206
|
}
|
|
200
207
|
|
|
201
208
|
/// Multiply groups of 2 adjacent pairs of signed 16-bit integers in \a __A with
|
|
@@ -216,7 +223,8 @@ _mm_dpwssd_avx_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|
|
216
223
|
static __inline__ __m128i __DEFAULT_FN_ATTRS128
|
|
217
224
|
_mm_dpwssds_avx_epi32(__m128i __S, __m128i __A, __m128i __B)
|
|
218
225
|
{
|
|
219
|
-
return (__m128i)__builtin_ia32_vpdpwssds128((__v4si)__S, (
|
|
226
|
+
return (__m128i)__builtin_ia32_vpdpwssds128((__v4si)__S, (__v8hi)__A,
|
|
227
|
+
(__v8hi)__B);
|
|
220
228
|
}
|
|
221
229
|
|
|
222
230
|
#undef __DEFAULT_FN_ATTRS128
|
|
@@ -161,8 +161,6 @@ _mm_tzcnt_64(unsigned long long __X) {
|
|
|
161
161
|
|
|
162
162
|
#undef __RELAXED_FN_ATTRS
|
|
163
163
|
|
|
164
|
-
#if !defined(__SCE__) || __has_feature(modules) || defined(__BMI__)
|
|
165
|
-
|
|
166
164
|
/* Define the default attributes for the functions in this file. */
|
|
167
165
|
#if defined(__cplusplus) && (__cplusplus >= 201103L)
|
|
168
166
|
#define __DEFAULT_FN_ATTRS \
|
|
@@ -603,6 +601,4 @@ __blsr_u64(unsigned long long __X) {
|
|
|
603
601
|
|
|
604
602
|
#undef __DEFAULT_FN_ATTRS
|
|
605
603
|
|
|
606
|
-
#endif /* !defined(__SCE__) || __has_feature(modules) || defined(__BMI__) */
|
|
607
|
-
|
|
608
604
|
#endif /* __BMIINTRIN_H */
|
|
@@ -253,10 +253,6 @@
|
|
|
253
253
|
#define bit_RDPRU 0x00000010
|
|
254
254
|
#define bit_WBNOINVD 0x00000200
|
|
255
255
|
|
|
256
|
-
/* Features in %ebx for leaf 0x24 */
|
|
257
|
-
#define bit_AVX10_256 0x00020000
|
|
258
|
-
#define bit_AVX10_512 0x00040000
|
|
259
|
-
|
|
260
256
|
#ifdef __i386__
|
|
261
257
|
#define __cpuid(__leaf, __eax, __ebx, __ecx, __edx) \
|
|
262
258
|
__asm("cpuid" : "=a"(__eax), "=b" (__ebx), "=c"(__ecx), "=d"(__edx) \
|
|
@@ -267,21 +263,39 @@
|
|
|
267
263
|
: "0"(__leaf), "2"(__count))
|
|
268
264
|
#else
|
|
269
265
|
/* x86-64 uses %rbx as the base register, so preserve it. */
|
|
270
|
-
#define __cpuid(__leaf, __eax, __ebx, __ecx, __edx)
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
: "=a"(__eax), "=r"
|
|
266
|
+
#define __cpuid(__leaf, __eax, __ebx, __ecx, __edx) \
|
|
267
|
+
__asm(" xchg{q|} {%%|}rbx,%q1\n" \
|
|
268
|
+
" cpuid\n" \
|
|
269
|
+
" xchg{q|} {%%|}rbx,%q1" \
|
|
270
|
+
: "=a"(__eax), "=r"(__ebx), "=c"(__ecx), "=d"(__edx) \
|
|
275
271
|
: "0"(__leaf))
|
|
276
272
|
|
|
277
|
-
#define __cpuid_count(__leaf, __count, __eax, __ebx, __ecx, __edx)
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
: "=a"(__eax), "=r"
|
|
273
|
+
#define __cpuid_count(__leaf, __count, __eax, __ebx, __ecx, __edx) \
|
|
274
|
+
__asm(" xchg{q|} {%%|}rbx,%q1\n" \
|
|
275
|
+
" cpuid\n" \
|
|
276
|
+
" xchg{q|} {%%|}rbx,%q1" \
|
|
277
|
+
: "=a"(__eax), "=r"(__ebx), "=c"(__ecx), "=d"(__edx) \
|
|
282
278
|
: "0"(__leaf), "2"(__count))
|
|
283
279
|
#endif
|
|
284
280
|
|
|
281
|
+
/// Queries the processor to determine the highest supported \c CPUID leaf.
|
|
282
|
+
/// This intrinsic is only available on x86 and x64.
|
|
283
|
+
///
|
|
284
|
+
/// \headerfile <cpuid.h>
|
|
285
|
+
///
|
|
286
|
+
/// This intrinsic corresponds to the <c> CPUID </c> instruction.
|
|
287
|
+
///
|
|
288
|
+
/// \param __leaf
|
|
289
|
+
/// \a __leaf can be either 0x0 or 0x8000000. If \a __leaf == 0x0, the
|
|
290
|
+
/// highest supported value for basic \c CPUID information is returned.
|
|
291
|
+
/// If \a __leaf == 0x8000000, the highest supported value for extended
|
|
292
|
+
/// \c CPUID information is returned.
|
|
293
|
+
/// \param __sig
|
|
294
|
+
/// If the \a __sig pointer is non-null, the first four bytes of the
|
|
295
|
+
/// signature (as found in the \c EBX register) are returned in the
|
|
296
|
+
/// location pointed to by \a __sig.
|
|
297
|
+
/// \returns Returns 0 if \c CPUID is supported; otherwise returns the value
|
|
298
|
+
/// that \c CPUID returns in the \c EAX register.
|
|
285
299
|
static __inline unsigned int __get_cpuid_max (unsigned int __leaf,
|
|
286
300
|
unsigned int *__sig)
|
|
287
301
|
{
|
|
@@ -289,20 +303,22 @@ static __inline unsigned int __get_cpuid_max (unsigned int __leaf,
|
|
|
289
303
|
#ifdef __i386__
|
|
290
304
|
int __cpuid_supported;
|
|
291
305
|
|
|
292
|
-
__asm("
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
306
|
+
__asm(" pushf{l|d}\n"
|
|
307
|
+
" pop{l|} {%%|}eax\n"
|
|
308
|
+
" mov{l|} {%%eax,%%ecx|ecx,eax}\n"
|
|
309
|
+
" xor{l|} {$0x00200000,%%eax|eax,0x00200000}\n"
|
|
310
|
+
" push{l|} {%%|}eax\n"
|
|
311
|
+
" popf{l|d}\n"
|
|
312
|
+
" pushf{l|d}\n"
|
|
313
|
+
" pop{l|} {%%|}eax\n"
|
|
314
|
+
" mov{l|} {$0,%0|%0,0}\n"
|
|
315
|
+
" cmp{l|} {%%eax,%%ecx|ecx,eax}\n"
|
|
302
316
|
" je 1f\n"
|
|
303
|
-
"
|
|
317
|
+
" mov{l|} {$1,%0|%0,1}\n"
|
|
304
318
|
"1:"
|
|
305
|
-
|
|
319
|
+
: "=r"(__cpuid_supported)
|
|
320
|
+
:
|
|
321
|
+
: "eax", "ecx");
|
|
306
322
|
if (!__cpuid_supported)
|
|
307
323
|
return 0;
|
|
308
324
|
#endif
|
|
@@ -313,6 +329,32 @@ static __inline unsigned int __get_cpuid_max (unsigned int __leaf,
|
|
|
313
329
|
return __eax;
|
|
314
330
|
}
|
|
315
331
|
|
|
332
|
+
/// For the requested \c CPUID leaf, queries the processor for information
|
|
333
|
+
/// about the CPU type and CPU features (such as processor vendor, supported
|
|
334
|
+
/// instruction sets, CPU capabilities, cache sizes, CPU model and family, and
|
|
335
|
+
/// other hardware details). This intrinsic is only available on x86 and x64.
|
|
336
|
+
///
|
|
337
|
+
/// \headerfile <cpuid.h>
|
|
338
|
+
///
|
|
339
|
+
/// This intrinsic corresponds to the <c> CPUID </c> instruction.
|
|
340
|
+
///
|
|
341
|
+
/// \param __leaf
|
|
342
|
+
/// An unsigned integer that identifies the level (also called "leaf") at
|
|
343
|
+
/// which the \c CPUID instruction will be executed.
|
|
344
|
+
/// \param __eax
|
|
345
|
+
/// A pointer to an integer that corresponds to the \c EAX register where
|
|
346
|
+
/// \c CPUID stores output results.
|
|
347
|
+
/// \param __ebx
|
|
348
|
+
/// A pointer to an integer that corresponds to the \c EBX register where
|
|
349
|
+
/// \c CPUID stores output results.
|
|
350
|
+
/// \param __ecx
|
|
351
|
+
/// A pointer to an integer that corresponds to the \c ECX register where
|
|
352
|
+
/// \c CPUID stores output results.
|
|
353
|
+
/// \param __edx
|
|
354
|
+
/// A pointer to an integer that corresponds to the \c EDX register where
|
|
355
|
+
/// \c CPUID stores output results.
|
|
356
|
+
/// \returns Returns 1 if the requested \c CPUID leaf is supported; otherwise
|
|
357
|
+
/// returns 0.
|
|
316
358
|
static __inline int __get_cpuid (unsigned int __leaf, unsigned int *__eax,
|
|
317
359
|
unsigned int *__ebx, unsigned int *__ecx,
|
|
318
360
|
unsigned int *__edx)
|
|
@@ -326,6 +368,36 @@ static __inline int __get_cpuid (unsigned int __leaf, unsigned int *__eax,
|
|
|
326
368
|
return 1;
|
|
327
369
|
}
|
|
328
370
|
|
|
371
|
+
/// For the requested \c CPUID leaf and subleaf, queries the processor for
|
|
372
|
+
/// information about the CPU type and CPU features (such as processor vendor,
|
|
373
|
+
/// supported instruction sets, CPU capabilities, cache sizes, CPU model and
|
|
374
|
+
/// family, and other hardware details). This intrinsic is only available on
|
|
375
|
+
/// x86 and x64.
|
|
376
|
+
///
|
|
377
|
+
/// \headerfile <cpuid.h>
|
|
378
|
+
///
|
|
379
|
+
/// This intrinsic corresponds to the <c> CPUID </c> instruction.
|
|
380
|
+
///
|
|
381
|
+
/// \param __leaf
|
|
382
|
+
/// An unsigned integer that identifies the level (also called "leaf") at
|
|
383
|
+
/// which the \c CPUID instruction will be executed.
|
|
384
|
+
/// \param __subleaf
|
|
385
|
+
/// An unsigned integer that identifies the sublevel (also called
|
|
386
|
+
/// "subleaf") at which the \c CPUID instruction will be executed.
|
|
387
|
+
/// \param __eax
|
|
388
|
+
/// A pointer to an integer that corresponds to the \c EAX register where
|
|
389
|
+
/// \c CPUID stores output results.
|
|
390
|
+
/// \param __ebx
|
|
391
|
+
/// A pointer to an integer that corresponds to the \c EBX register where
|
|
392
|
+
/// \c CPUID stores output results.
|
|
393
|
+
/// \param __ecx
|
|
394
|
+
/// A pointer to an integer that corresponds to the \c ECX register where
|
|
395
|
+
/// \c CPUID stores output results.
|
|
396
|
+
/// \param __edx
|
|
397
|
+
/// A pointer to an integer that corresponds to the \c EDX register where
|
|
398
|
+
/// \c CPUID stores output results.
|
|
399
|
+
/// \returns Returns 1 if the requested \c CPUID leaf is supported; otherwise
|
|
400
|
+
/// returns 0.
|
|
329
401
|
static __inline int __get_cpuid_count (unsigned int __leaf,
|
|
330
402
|
unsigned int __subleaf,
|
|
331
403
|
unsigned int *__eax, unsigned int *__ebx,
|
|
@@ -343,10 +415,37 @@ static __inline int __get_cpuid_count (unsigned int __leaf,
|
|
|
343
415
|
// In some configurations, __cpuidex is defined as a builtin (primarily
|
|
344
416
|
// -fms-extensions) which will conflict with the __cpuidex definition below.
|
|
345
417
|
#if !(__has_builtin(__cpuidex))
|
|
418
|
+
// In some cases, offloading will set the host as the aux triple and define the
|
|
419
|
+
// builtin. Given __has_builtin does not detect builtins on aux triples, we need
|
|
420
|
+
// to explicitly check for some offloading cases.
|
|
421
|
+
#if !defined(__NVPTX__) && !defined(__AMDGPU__) && !defined(__SPIRV__)
|
|
422
|
+
/// Executes the \c CPUID instruction with the specified leaf and subleaf
|
|
423
|
+
/// values, and returns the results from the CPU's registers. This intrinsic
|
|
424
|
+
/// is only available on x86 and x64.
|
|
425
|
+
///
|
|
426
|
+
/// \headerfile <cpuid.h>
|
|
427
|
+
///
|
|
428
|
+
/// This intrinsic corresponds to the <c> CPUID </c> instruction.
|
|
429
|
+
///
|
|
430
|
+
/// \param __cpu_info
|
|
431
|
+
/// An output array of four integers:
|
|
432
|
+
/// <ul>
|
|
433
|
+
/// <li>\a __cpuInfo[0] receives the value of the \c EAX register.</li>
|
|
434
|
+
/// <li>\a __cpuInfo[1] receives the value of the \c EBX register.</li>
|
|
435
|
+
/// <li>\a __cpuInfo[2] receives the value of the \c ECX register.</li>
|
|
436
|
+
/// <li>\a __cpuInfo[3] receives the value of the \c EDX register.</li>
|
|
437
|
+
/// </ul>
|
|
438
|
+
/// \param __leaf
|
|
439
|
+
/// An unsigned integer that identifies the level (also called the "leaf")
|
|
440
|
+
/// at which the \c CPUID instruction will be executed.
|
|
441
|
+
/// \param __subleaf
|
|
442
|
+
/// An unsigned integer that identifies the sublevel (also called the
|
|
443
|
+
/// "subleaf") at which the \c CPUID instruction will be executed.
|
|
346
444
|
static __inline void __cpuidex(int __cpu_info[4], int __leaf, int __subleaf) {
|
|
347
445
|
__cpuid_count(__leaf, __subleaf, __cpu_info[0], __cpu_info[1], __cpu_info[2],
|
|
348
446
|
__cpu_info[3]);
|
|
349
447
|
}
|
|
350
448
|
#endif
|
|
449
|
+
#endif
|
|
351
450
|
|
|
352
451
|
#endif /* __CPUID_H */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#ifndef __CUDA_WRAPPERS_UTILITY_DECLVAL_H__
|
|
2
|
+
#define __CUDA_WRAPPERS_UTILITY_DECLVAL_H__
|
|
3
|
+
|
|
4
|
+
#include_next <__utility/declval.h>
|
|
5
|
+
|
|
6
|
+
// The stuff below is the exact copy of the <__utility/declval.h>,
|
|
7
|
+
// but with __device__ attribute applied to the functions, so it works on a GPU.
|
|
8
|
+
|
|
9
|
+
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
10
|
+
|
|
11
|
+
// Suppress deprecation notice for volatile-qualified return type resulting
|
|
12
|
+
// from volatile-qualified types _Tp.
|
|
13
|
+
_LIBCPP_SUPPRESS_DEPRECATED_PUSH
|
|
14
|
+
template <class _Tp> __attribute__((device)) _Tp &&__declval(int);
|
|
15
|
+
template <class _Tp> __attribute__((device)) _Tp __declval(long);
|
|
16
|
+
_LIBCPP_SUPPRESS_DEPRECATED_POP
|
|
17
|
+
|
|
18
|
+
template <class _Tp>
|
|
19
|
+
__attribute__((device)) _LIBCPP_HIDE_FROM_ABI decltype(std::__declval<_Tp>(0))
|
|
20
|
+
declval() _NOEXCEPT {
|
|
21
|
+
static_assert(!__is_same(_Tp, _Tp),
|
|
22
|
+
"std::declval can only be used in an unevaluated context. "
|
|
23
|
+
"It's likely that your current usage is trying to extract a "
|
|
24
|
+
"value from the function.");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
_LIBCPP_END_NAMESPACE_STD
|
|
28
|
+
#endif // __CUDA_WRAPPERS_UTILITY_DECLVAL_H__
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// libstdc++ uses the non-constexpr function std::__glibcxx_assert_fail()
|
|
2
|
+
// to trigger compilation errors when the __glibcxx_assert(cond) macro
|
|
3
|
+
// is used in a constexpr context.
|
|
4
|
+
// Compilation fails when using code from the libstdc++ (such as std::array) on
|
|
5
|
+
// device code, since these assertions invoke a non-constexpr host function from
|
|
6
|
+
// device code.
|
|
7
|
+
//
|
|
8
|
+
// To work around this issue, we declare our own device version of the function
|
|
9
|
+
|
|
10
|
+
#ifndef __CLANG_CUDA_WRAPPERS_BITS_CPP_CONFIG
|
|
11
|
+
#define __CLANG_CUDA_WRAPPERS_BITS_CPP_CONFIG
|
|
12
|
+
|
|
13
|
+
#include_next <bits/c++config.h>
|
|
14
|
+
|
|
15
|
+
#ifdef _LIBCPP_BEGIN_NAMESPACE_STD
|
|
16
|
+
_LIBCPP_BEGIN_NAMESPACE_STD
|
|
17
|
+
#else
|
|
18
|
+
namespace std {
|
|
19
|
+
#ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|
20
|
+
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
#pragma push_macro("CUDA_NOEXCEPT")
|
|
24
|
+
#if __cplusplus >= 201103L
|
|
25
|
+
#define CUDA_NOEXCEPT noexcept
|
|
26
|
+
#else
|
|
27
|
+
#define CUDA_NOEXCEPT
|
|
28
|
+
#endif
|
|
29
|
+
|
|
30
|
+
__attribute__((device, noreturn)) inline void
|
|
31
|
+
__glibcxx_assert_fail(const char *file, int line, const char *function,
|
|
32
|
+
const char *condition) CUDA_NOEXCEPT {
|
|
33
|
+
#ifdef _GLIBCXX_VERBOSE_ASSERT
|
|
34
|
+
if (file && function && condition)
|
|
35
|
+
__builtin_printf("%s:%d: %s: Assertion '%s' failed.\n", file, line,
|
|
36
|
+
function, condition);
|
|
37
|
+
else if (function)
|
|
38
|
+
__builtin_printf("%s: Undefined behavior detected.\n", function);
|
|
39
|
+
#endif
|
|
40
|
+
__builtin_abort();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#endif
|
|
44
|
+
__attribute__((device, noreturn, __always_inline__,
|
|
45
|
+
__visibility__("default"))) inline void
|
|
46
|
+
__glibcxx_assert_fail() CUDA_NOEXCEPT {
|
|
47
|
+
__builtin_abort();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
#pragma pop_macro("CUDA_NOEXCEPT")
|
|
51
|
+
|
|
52
|
+
#ifdef _LIBCPP_END_NAMESPACE_STD
|
|
53
|
+
_LIBCPP_END_NAMESPACE_STD
|
|
54
|
+
#else
|
|
55
|
+
#ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
|
56
|
+
_GLIBCXX_END_NAMESPACE_VERSION
|
|
57
|
+
#endif
|
|
58
|
+
} // namespace std
|
|
59
|
+
#endif
|
|
60
|
+
|
|
61
|
+
#endif
|