@cpp-linter/clang-tidy-win32-x64 21.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/{21 → 22}/include/__clang_cuda_device_functions.h +1 -1
- package/lib/clang/{21 → 22}/include/__clang_cuda_runtime_wrapper.h +18 -0
- package/lib/clang/{21 → 22}/include/__clang_hip_libdevice_declares.h +17 -22
- package/lib/clang/{21 → 22}/include/__clang_hip_math.h +2 -2
- package/lib/clang/{21 → 22}/include/__clang_hip_runtime_wrapper.h +3 -0
- package/lib/clang/{21 → 22}/include/__clang_spirv_builtins.h +12 -12
- package/lib/clang/{21/include/float.h → 22/include/__float_float.h} +13 -24
- 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/22/include/amo.h +131 -0
- package/lib/clang/{21 → 22}/include/amxavx512intrin.h +215 -1
- package/lib/clang/{21 → 22}/include/amxintrin.h +0 -2
- package/lib/clang/{21 → 22}/include/arm_acle.h +37 -27
- package/lib/clang/{21 → 22}/include/arm_neon.h +218 -82
- package/lib/clang/{21 → 22}/include/arm_sme.h +8 -8
- package/lib/clang/{21 → 22}/include/arm_sve.h +4162 -3782
- package/lib/clang/{21 → 22}/include/avx10_2_512bf16intrin.h +19 -12
- package/lib/clang/{21 → 22}/include/avx10_2_512convertintrin.h +1 -1
- package/lib/clang/{21 → 22}/include/avx10_2_512niintrin.h +25 -25
- package/lib/clang/{21 → 22}/include/avx10_2_512satcvtdsintrin.h +1 -1
- package/lib/clang/{21 → 22}/include/avx10_2bf16intrin.h +54 -45
- package/lib/clang/{21 → 22}/include/avx10_2convertintrin.h +2 -2
- package/lib/clang/{21 → 22}/include/avx10_2copyintrin.h +1 -1
- package/lib/clang/{21 → 22}/include/avx10_2niintrin.h +2 -2
- package/lib/clang/{21 → 22}/include/avx10_2satcvtdsintrin.h +2 -2
- package/lib/clang/{21 → 22}/include/avx2intrin.h +275 -377
- package/lib/clang/{21 → 22}/include/avx512bf16intrin.h +25 -16
- package/lib/clang/{21 → 22}/include/avx512bitalgintrin.h +19 -30
- package/lib/clang/{21 → 22}/include/avx512bwintrin.h +386 -505
- package/lib/clang/22/include/avx512cdintrin.h +112 -0
- package/lib/clang/{21 → 22}/include/avx512dqintrin.h +132 -161
- package/lib/clang/{21 → 22}/include/avx512fintrin.h +1015 -1424
- package/lib/clang/{21 → 22}/include/avx512fp16intrin.h +112 -110
- package/lib/clang/22/include/avx512ifmaintrin.h +68 -0
- package/lib/clang/22/include/avx512ifmavlintrin.h +138 -0
- package/lib/clang/{21 → 22}/include/avx512vbmi2intrin.h +43 -32
- package/lib/clang/{21 → 22}/include/avx512vbmiintrin.h +19 -27
- package/lib/clang/{21 → 22}/include/avx512vbmivlintrin.h +35 -49
- package/lib/clang/{21 → 22}/include/avx512vlbf16intrin.h +32 -22
- package/lib/clang/{21 → 22}/include/avx512vlbitalgintrin.h +37 -53
- package/lib/clang/{21 → 22}/include/avx512vlbwintrin.h +470 -573
- package/lib/clang/22/include/avx512vlcdintrin.h +202 -0
- package/lib/clang/{21 → 22}/include/avx512vldqintrin.h +110 -127
- package/lib/clang/{21 → 22}/include/avx512vlfp16intrin.h +130 -111
- package/lib/clang/{21 → 22}/include/avx512vlintrin.h +945 -1299
- package/lib/clang/{21 → 22}/include/avx512vlvbmi2intrin.h +78 -63
- package/lib/clang/{21 → 22}/include/avx512vlvnniintrin.h +21 -18
- package/lib/clang/{21 → 22}/include/avx512vlvp2intersectintrin.h +2 -2
- package/lib/clang/{21 → 22}/include/avx512vnniintrin.h +10 -10
- package/lib/clang/{21 → 22}/include/avx512vp2intersectintrin.h +1 -2
- package/lib/clang/{21 → 22}/include/avx512vpopcntdqintrin.h +8 -10
- package/lib/clang/{21 → 22}/include/avx512vpopcntdqvlintrin.h +17 -15
- package/lib/clang/{21 → 22}/include/avxifmaintrin.h +16 -0
- package/lib/clang/{21 → 22}/include/avxintrin.h +165 -241
- package/lib/clang/{21 → 22}/include/avxvnniint16intrin.h +118 -99
- package/lib/clang/{21 → 22}/include/avxvnniint8intrin.h +56 -32
- package/lib/clang/{21 → 22}/include/avxvnniintrin.h +16 -8
- package/lib/clang/{21 → 22}/include/cpuid.h +101 -4
- package/lib/clang/22/include/cuda_wrappers/__utility/declval.h +28 -0
- package/lib/clang/{21 → 22}/include/emmintrin.h +168 -168
- package/lib/clang/{21 → 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/{21 → 22}/include/fmaintrin.h +96 -66
- package/lib/clang/{21 → 22}/include/gfniintrin.h +21 -16
- package/lib/clang/{21 → 22}/include/gpuintrin.h +6 -4
- package/lib/clang/{21 → 22}/include/hexagon_types.h +23 -20
- package/lib/clang/{21 → 22}/include/hlsl/hlsl_alias_intrinsics.h +434 -84
- package/lib/clang/22/include/hlsl/hlsl_basic_types.h +370 -0
- package/lib/clang/{21 → 22}/include/hlsl/hlsl_compat_overloads.h +111 -18
- package/lib/clang/{21 → 22}/include/hlsl/hlsl_intrinsic_helpers.h +51 -5
- package/lib/clang/{21 → 22}/include/hlsl/hlsl_intrinsics.h +269 -1
- package/lib/clang/{21 → 22}/include/hvx_hexagon_protos.h +649 -860
- package/lib/clang/{21 → 22}/include/immintrin.h +0 -12
- package/lib/clang/{21 → 22}/include/intrin.h +4 -0
- package/lib/clang/{21 → 22}/include/lasxintrin.h +113 -0
- package/lib/clang/{21 → 22}/include/llvm_libc_wrappers/assert.h +3 -5
- package/lib/clang/22/include/llvm_libc_wrappers/ctype.h +28 -0
- package/lib/clang/{21 → 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/{21 → 22}/include/llvm_libc_wrappers/time.h +4 -10
- package/lib/clang/{21 → 22}/include/mmintrin.h +188 -257
- package/lib/clang/{21 → 22}/include/module.modulemap +23 -4
- package/lib/clang/{21 → 22}/include/movrs_avx10_2_512intrin.h +2 -2
- package/lib/clang/{21 → 22}/include/movrs_avx10_2intrin.h +4 -4
- package/lib/clang/{21 → 22}/include/opencl-c-base.h +0 -93
- package/lib/clang/{21 → 22}/include/opencl-c.h +62 -16
- package/lib/clang/{21 → 22}/include/pmmintrin.h +12 -24
- package/lib/clang/{21 → 22}/include/ptrauth.h +14 -0
- package/lib/clang/22/include/riscv_mips.h +34 -0
- package/lib/clang/22/include/riscv_nds.h +89 -0
- package/lib/clang/{21 → 22}/include/sifive_vector.h +58 -2
- package/lib/clang/{21 → 22}/include/sm4evexintrin.h +2 -2
- package/lib/clang/{21 → 22}/include/smmintrin.h +77 -59
- package/lib/clang/22/include/spirvintrin.h +194 -0
- package/lib/clang/22/include/stddefer.h +19 -0
- package/lib/clang/{21 → 22}/include/tmmintrin.h +116 -147
- package/lib/clang/{21 → 22}/include/vaesintrin.h +1 -2
- package/lib/clang/{21 → 22}/include/xmmintrin.h +44 -70
- package/lib/clang/{21 → 22}/include/xopintrin.h +20 -10
- package/package.json +6 -6
- package/lib/clang/21/include/__clang_cuda_complex_builtins.h +0 -285
- package/lib/clang/21/include/amxbf16transposeintrin.h +0 -94
- package/lib/clang/21/include/amxcomplextransposeintrin.h +0 -303
- package/lib/clang/21/include/amxfp16transposeintrin.h +0 -94
- package/lib/clang/21/include/amxmovrstransposeintrin.h +0 -200
- package/lib/clang/21/include/amxtf32transposeintrin.h +0 -105
- package/lib/clang/21/include/amxtransposeintrin.h +0 -248
- package/lib/clang/21/include/avx512cdintrin.h +0 -125
- package/lib/clang/21/include/avx512ifmaintrin.h +0 -70
- package/lib/clang/21/include/avx512ifmavlintrin.h +0 -111
- package/lib/clang/21/include/avx512vlcdintrin.h +0 -230
- package/lib/clang/21/include/fma4intrin.h +0 -218
- package/lib/clang/21/include/hlsl/hlsl_basic_types.h +0 -120
- package/lib/clang/21/include/llvm_libc_wrappers/ctype.h +0 -140
- package/lib/clang/21/include/llvm_libc_wrappers/stdio.h +0 -80
- package/lib/clang/21/include/llvm_libc_wrappers/stdlib.h +0 -53
- package/lib/clang/21/include/llvm_libc_wrappers/string.h +0 -96
- /package/lib/clang/{21 → 22}/include/__clang_cuda_builtin_vars.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_cuda_cmath.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_cuda_intrinsics.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_cuda_libdevice_declares.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_cuda_math.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_cuda_math_forward_declares.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_cuda_texture_intrinsics.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_hip_cmath.h +0 -0
- /package/lib/clang/{21 → 22}/include/__clang_hip_stdlib.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stdarg___gnuc_va_list.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stdarg___va_copy.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stdarg_header_macro.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stdarg_va_arg.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stdarg_va_copy.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stdarg_va_list.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_header_macro.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_max_align_t.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_null.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_nullptr_t.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_offsetof.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_ptrdiff_t.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_rsize_t.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_size_t.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_unreachable.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_wchar_t.h +0 -0
- /package/lib/clang/{21 → 22}/include/__stddef_wint_t.h +0 -0
- /package/lib/clang/{21 → 22}/include/__wmmintrin_aes.h +0 -0
- /package/lib/clang/{21 → 22}/include/__wmmintrin_pclmul.h +0 -0
- /package/lib/clang/{21 → 22}/include/adcintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/adxintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/altivec.h +0 -0
- /package/lib/clang/{21 → 22}/include/amdgpuintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ammintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/amxcomplexintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/amxfp16intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/amxfp8intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/amxmovrsintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/amxtf32intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/andes_vector.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm64intr.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm_bf16.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm_cde.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm_cmse.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm_fp16.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm_mve.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm_neon_sve_bridge.h +0 -0
- /package/lib/clang/{21 → 22}/include/arm_vector_types.h +0 -0
- /package/lib/clang/{21 → 22}/include/armintr.h +0 -0
- /package/lib/clang/{21 → 22}/include/avx10_2_512minmaxintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/avx10_2_512satcvtintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/avx10_2minmaxintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/avx10_2satcvtintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/avxneconvertintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/bmi2intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/bmiintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/builtins.h +0 -0
- /package/lib/clang/{21 → 22}/include/cet.h +0 -0
- /package/lib/clang/{21 → 22}/include/cetintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/cldemoteintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/clflushoptintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/clwbintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/clzerointrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/cmpccxaddintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/crc32intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/algorithm +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/bits/basic_string.h +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/bits/basic_string.tcc +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/bits/c++config.h +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/bits/shared_ptr_base.h +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/cmath +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/complex +0 -0
- /package/lib/clang/{21 → 22}/include/cuda_wrappers/new +0 -0
- /package/lib/clang/{21 → 22}/include/enqcmdintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/fxsrintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/hexagon_circ_brev_intrinsics.h +0 -0
- /package/lib/clang/{21 → 22}/include/hexagon_protos.h +0 -0
- /package/lib/clang/{21 → 22}/include/hlsl/hlsl_detail.h +0 -0
- /package/lib/clang/{21 → 22}/include/hlsl/hlsl_spirv.h +0 -0
- /package/lib/clang/{21 → 22}/include/hlsl.h +0 -0
- /package/lib/clang/{21 → 22}/include/hresetintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/htmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/htmxlintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ia32intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/intrin0.h +0 -0
- /package/lib/clang/{21 → 22}/include/inttypes.h +0 -0
- /package/lib/clang/{21 → 22}/include/invpcidintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/iso646.h +0 -0
- /package/lib/clang/{21 → 22}/include/keylockerintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/larchintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/limits.h +0 -0
- /package/lib/clang/{21 → 22}/include/llvm_offload_wrappers/__llvm_offload.h +0 -0
- /package/lib/clang/{21 → 22}/include/llvm_offload_wrappers/__llvm_offload_device.h +0 -0
- /package/lib/clang/{21 → 22}/include/llvm_offload_wrappers/__llvm_offload_host.h +0 -0
- /package/lib/clang/{21 → 22}/include/lsxintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/lwpintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/lzcntintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/mm3dnow.h +0 -0
- /package/lib/clang/{21 → 22}/include/mm_malloc.h +0 -0
- /package/lib/clang/{21 → 22}/include/movdirintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/movrsintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/msa.h +0 -0
- /package/lib/clang/{21 → 22}/include/mwaitxintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/nmmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/nvptxintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/openmp_wrappers/__clang_openmp_device_functions.h +0 -0
- /package/lib/clang/{21 → 22}/include/openmp_wrappers/cmath +0 -0
- /package/lib/clang/{21 → 22}/include/openmp_wrappers/complex +0 -0
- /package/lib/clang/{21 → 22}/include/openmp_wrappers/complex.h +0 -0
- /package/lib/clang/{21 → 22}/include/openmp_wrappers/complex_cmath.h +0 -0
- /package/lib/clang/{21 → 22}/include/openmp_wrappers/math.h +0 -0
- /package/lib/clang/{21 → 22}/include/openmp_wrappers/new +0 -0
- /package/lib/clang/{21 → 22}/include/pconfigintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/pkuintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/popcntintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/bmi2intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/bmiintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/emmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/immintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/mm_malloc.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/mmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/nmmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/pmmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/smmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/tmmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/x86gprintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/x86intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ppc_wrappers/xmmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/prfchiintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/prfchwintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/ptwriteintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/raointintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/rdpruintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/rdseedintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/riscv_bitmanip.h +0 -0
- /package/lib/clang/{21 → 22}/include/riscv_corev_alu.h +0 -0
- /package/lib/clang/{21 → 22}/include/riscv_crypto.h +0 -0
- /package/lib/clang/{21 → 22}/include/riscv_ntlh.h +0 -0
- /package/lib/clang/{21 → 22}/include/riscv_vector.h +0 -0
- /package/lib/clang/{21 → 22}/include/rtmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/s390intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/serializeintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/sgxintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/sha512intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/shaintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/sm3intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/sm4intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdalign.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdarg.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdatomic.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdbool.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdckdint.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdcountof.h +0 -0
- /package/lib/clang/{21 → 22}/include/stddef.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdint.h +0 -0
- /package/lib/clang/{21 → 22}/include/stdnoreturn.h +0 -0
- /package/lib/clang/{21 → 22}/include/tbmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/tgmath.h +0 -0
- /package/lib/clang/{21 → 22}/include/tsxldtrkintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/uintrintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/unwind.h +0 -0
- /package/lib/clang/{21 → 22}/include/usermsrintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/vadefs.h +0 -0
- /package/lib/clang/{21 → 22}/include/varargs.h +0 -0
- /package/lib/clang/{21 → 22}/include/vecintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/velintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/velintrin_approx.h +0 -0
- /package/lib/clang/{21 → 22}/include/velintrin_gen.h +0 -0
- /package/lib/clang/{21 → 22}/include/vpclmulqdqintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/waitpkgintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/wasm_simd128.h +0 -0
- /package/lib/clang/{21 → 22}/include/wbnoinvdintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/wmmintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/x86gprintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/x86intrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/xsavecintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/xsaveintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/xsaveoptintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/xsavesintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/xtestintrin.h +0 -0
- /package/lib/clang/{21 → 22}/include/yvals_core.h +0 -0
- /package/lib/clang/{21 → 22}/include/zos_wrappers/builtins.h +0 -0
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
#include <mmintrin.h>
|
|
18
18
|
|
|
19
|
-
typedef int __v4si __attribute__((__vector_size__(16)));
|
|
20
19
|
typedef float __v4sf __attribute__((__vector_size__(16)));
|
|
21
20
|
typedef float __m128 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
22
21
|
|
|
@@ -24,6 +23,8 @@ typedef float __m128_u __attribute__((__vector_size__(16), __aligned__(1)));
|
|
|
24
23
|
|
|
25
24
|
/* Unsigned types */
|
|
26
25
|
typedef unsigned int __v4su __attribute__((__vector_size__(16)));
|
|
26
|
+
typedef unsigned short __v8hu __attribute__((__vector_size__(16)));
|
|
27
|
+
typedef unsigned char __v16qu __attribute__((__vector_size__(16)));
|
|
27
28
|
|
|
28
29
|
/* This header should only be included in a hosted environment as it depends on
|
|
29
30
|
* a standard library to provide allocation routines. */
|
|
@@ -32,21 +33,12 @@ typedef unsigned int __v4su __attribute__((__vector_size__(16)));
|
|
|
32
33
|
#endif
|
|
33
34
|
|
|
34
35
|
/* Define the default attributes for the functions in this file. */
|
|
35
|
-
#if defined(__EVEX512__) && !defined(__AVX10_1_512__)
|
|
36
|
-
#define __DEFAULT_FN_ATTRS \
|
|
37
|
-
__attribute__((__always_inline__, __nodebug__, __target__("sse,no-evex512"), \
|
|
38
|
-
__min_vector_width__(128)))
|
|
39
|
-
#define __DEFAULT_FN_ATTRS_SSE2 \
|
|
40
|
-
__attribute__((__always_inline__, __nodebug__, \
|
|
41
|
-
__target__("sse2,no-evex512"), __min_vector_width__(128)))
|
|
42
|
-
#else
|
|
43
36
|
#define __DEFAULT_FN_ATTRS \
|
|
44
37
|
__attribute__((__always_inline__, __nodebug__, __target__("sse"), \
|
|
45
38
|
__min_vector_width__(128)))
|
|
46
39
|
#define __DEFAULT_FN_ATTRS_SSE2 \
|
|
47
40
|
__attribute__((__always_inline__, __nodebug__, __target__("sse2"), \
|
|
48
41
|
__min_vector_width__(128)))
|
|
49
|
-
#endif
|
|
50
42
|
|
|
51
43
|
#if defined(__cplusplus) && (__cplusplus >= 201103L)
|
|
52
44
|
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS constexpr
|
|
@@ -239,10 +231,9 @@ _mm_div_ps(__m128 __a, __m128 __b) {
|
|
|
239
231
|
/// used in the calculation.
|
|
240
232
|
/// \returns A 128-bit vector of [4 x float] containing the square root of the
|
|
241
233
|
/// value in the low-order bits of the operand.
|
|
242
|
-
static __inline__ __m128 __DEFAULT_FN_ATTRS
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
return (__m128)__builtin_ia32_sqrtss((__v4sf)__a);
|
|
234
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS _mm_sqrt_ss(__m128 __a) {
|
|
235
|
+
__a[0] = __builtin_elementwise_sqrt(__a[0]);
|
|
236
|
+
return __a;
|
|
246
237
|
}
|
|
247
238
|
|
|
248
239
|
/// Calculates the square roots of the values stored in a 128-bit vector
|
|
@@ -256,10 +247,8 @@ _mm_sqrt_ss(__m128 __a)
|
|
|
256
247
|
/// A 128-bit vector of [4 x float].
|
|
257
248
|
/// \returns A 128-bit vector of [4 x float] containing the square roots of the
|
|
258
249
|
/// values in the operand.
|
|
259
|
-
static __inline__ __m128 __DEFAULT_FN_ATTRS
|
|
260
|
-
|
|
261
|
-
{
|
|
262
|
-
return __builtin_ia32_sqrtps((__v4sf)__a);
|
|
250
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS _mm_sqrt_ps(__m128 __a) {
|
|
251
|
+
return __builtin_elementwise_sqrt(__a);
|
|
263
252
|
}
|
|
264
253
|
|
|
265
254
|
/// Calculates the approximate reciprocal of the value stored in the
|
|
@@ -352,9 +341,7 @@ _mm_rsqrt_ps(__m128 __a)
|
|
|
352
341
|
/// \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the
|
|
353
342
|
/// minimum value between both operands. The upper 96 bits are copied from
|
|
354
343
|
/// the upper 96 bits of the first source operand.
|
|
355
|
-
static __inline__ __m128 __DEFAULT_FN_ATTRS
|
|
356
|
-
_mm_min_ss(__m128 __a, __m128 __b)
|
|
357
|
-
{
|
|
344
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS _mm_min_ss(__m128 __a, __m128 __b) {
|
|
358
345
|
return __builtin_ia32_minss((__v4sf)__a, (__v4sf)__b);
|
|
359
346
|
}
|
|
360
347
|
|
|
@@ -373,9 +360,8 @@ _mm_min_ss(__m128 __a, __m128 __b)
|
|
|
373
360
|
/// A 128-bit vector of [4 x float] containing one of the operands.
|
|
374
361
|
/// \returns A 128-bit vector of [4 x float] containing the minimum values
|
|
375
362
|
/// between both operands.
|
|
376
|
-
static __inline__ __m128
|
|
377
|
-
|
|
378
|
-
{
|
|
363
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_CONSTEXPR _mm_min_ps(__m128 __a,
|
|
364
|
+
__m128 __b) {
|
|
379
365
|
return __builtin_ia32_minps((__v4sf)__a, (__v4sf)__b);
|
|
380
366
|
}
|
|
381
367
|
|
|
@@ -398,9 +384,7 @@ _mm_min_ps(__m128 __a, __m128 __b)
|
|
|
398
384
|
/// \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the
|
|
399
385
|
/// maximum value between both operands. The upper 96 bits are copied from
|
|
400
386
|
/// the upper 96 bits of the first source operand.
|
|
401
|
-
static __inline__ __m128 __DEFAULT_FN_ATTRS
|
|
402
|
-
_mm_max_ss(__m128 __a, __m128 __b)
|
|
403
|
-
{
|
|
387
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS _mm_max_ss(__m128 __a, __m128 __b) {
|
|
404
388
|
return __builtin_ia32_maxss((__v4sf)__a, (__v4sf)__b);
|
|
405
389
|
}
|
|
406
390
|
|
|
@@ -419,9 +403,8 @@ _mm_max_ss(__m128 __a, __m128 __b)
|
|
|
419
403
|
/// A 128-bit vector of [4 x float] containing one of the operands.
|
|
420
404
|
/// \returns A 128-bit vector of [4 x float] containing the maximum values
|
|
421
405
|
/// between both operands.
|
|
422
|
-
static __inline__ __m128
|
|
423
|
-
|
|
424
|
-
{
|
|
406
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_CONSTEXPR _mm_max_ps(__m128 __a,
|
|
407
|
+
__m128 __b) {
|
|
425
408
|
return __builtin_ia32_maxps((__v4sf)__a, (__v4sf)__b);
|
|
426
409
|
}
|
|
427
410
|
|
|
@@ -1688,7 +1671,7 @@ _mm_cvtsi64_ss(__m128 __a, long long __b) {
|
|
|
1688
1671
|
/// \returns A 128-bit vector of [4 x float] whose lower 64 bits contain the
|
|
1689
1672
|
/// converted value of the second operand. The upper 64 bits are copied from
|
|
1690
1673
|
/// the upper 64 bits of the first operand.
|
|
1691
|
-
static __inline__ __m128
|
|
1674
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
1692
1675
|
_mm_cvtpi32_ps(__m128 __a, __m64 __b)
|
|
1693
1676
|
{
|
|
1694
1677
|
return (__m128)__builtin_shufflevector(
|
|
@@ -1714,7 +1697,7 @@ _mm_cvtpi32_ps(__m128 __a, __m64 __b)
|
|
|
1714
1697
|
/// \returns A 128-bit vector of [4 x float] whose lower 64 bits contain the
|
|
1715
1698
|
/// converted value from the second operand. The upper 64 bits are copied
|
|
1716
1699
|
/// from the upper 64 bits of the first operand.
|
|
1717
|
-
static __inline__ __m128
|
|
1700
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
1718
1701
|
_mm_cvt_pi2ps(__m128 __a, __m64 __b)
|
|
1719
1702
|
{
|
|
1720
1703
|
return _mm_cvtpi32_ps(__a, __b);
|
|
@@ -2353,9 +2336,8 @@ void _mm_sfence(void);
|
|
|
2353
2336
|
/// \param __b
|
|
2354
2337
|
/// A 64-bit integer vector containing one of the source operands.
|
|
2355
2338
|
/// \returns A 64-bit integer vector containing the comparison results.
|
|
2356
|
-
static __inline__ __m64
|
|
2357
|
-
_mm_max_pi16(__m64 __a, __m64 __b)
|
|
2358
|
-
{
|
|
2339
|
+
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2340
|
+
_mm_max_pi16(__m64 __a, __m64 __b) {
|
|
2359
2341
|
return (__m64)__builtin_elementwise_max((__v4hi)__a, (__v4hi)__b);
|
|
2360
2342
|
}
|
|
2361
2343
|
|
|
@@ -2372,9 +2354,8 @@ _mm_max_pi16(__m64 __a, __m64 __b)
|
|
|
2372
2354
|
/// \param __b
|
|
2373
2355
|
/// A 64-bit integer vector containing one of the source operands.
|
|
2374
2356
|
/// \returns A 64-bit integer vector containing the comparison results.
|
|
2375
|
-
static __inline__ __m64
|
|
2376
|
-
_mm_max_pu8(__m64 __a, __m64 __b)
|
|
2377
|
-
{
|
|
2357
|
+
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2358
|
+
_mm_max_pu8(__m64 __a, __m64 __b) {
|
|
2378
2359
|
return (__m64)__builtin_elementwise_max((__v8qu)__a, (__v8qu)__b);
|
|
2379
2360
|
}
|
|
2380
2361
|
|
|
@@ -2391,9 +2372,8 @@ _mm_max_pu8(__m64 __a, __m64 __b)
|
|
|
2391
2372
|
/// \param __b
|
|
2392
2373
|
/// A 64-bit integer vector containing one of the source operands.
|
|
2393
2374
|
/// \returns A 64-bit integer vector containing the comparison results.
|
|
2394
|
-
static __inline__ __m64
|
|
2395
|
-
_mm_min_pi16(__m64 __a, __m64 __b)
|
|
2396
|
-
{
|
|
2375
|
+
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2376
|
+
_mm_min_pi16(__m64 __a, __m64 __b) {
|
|
2397
2377
|
return (__m64)__builtin_elementwise_min((__v4hi)__a, (__v4hi)__b);
|
|
2398
2378
|
}
|
|
2399
2379
|
|
|
@@ -2410,9 +2390,8 @@ _mm_min_pi16(__m64 __a, __m64 __b)
|
|
|
2410
2390
|
/// \param __b
|
|
2411
2391
|
/// A 64-bit integer vector containing one of the source operands.
|
|
2412
2392
|
/// \returns A 64-bit integer vector containing the comparison results.
|
|
2413
|
-
static __inline__ __m64
|
|
2414
|
-
_mm_min_pu8(__m64 __a, __m64 __b)
|
|
2415
|
-
{
|
|
2393
|
+
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2394
|
+
_mm_min_pu8(__m64 __a, __m64 __b) {
|
|
2416
2395
|
return (__m64)__builtin_elementwise_min((__v8qu)__a, (__v8qu)__b);
|
|
2417
2396
|
}
|
|
2418
2397
|
|
|
@@ -2428,9 +2407,8 @@ _mm_min_pu8(__m64 __a, __m64 __b)
|
|
|
2428
2407
|
/// A 64-bit integer vector containing the values with bits to be extracted.
|
|
2429
2408
|
/// \returns The most significant bit from each 8-bit element in \a __a,
|
|
2430
2409
|
/// written to bits [7:0].
|
|
2431
|
-
static __inline__ int
|
|
2432
|
-
_mm_movemask_pi8(__m64 __a)
|
|
2433
|
-
{
|
|
2410
|
+
static __inline__ int __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2411
|
+
_mm_movemask_pi8(__m64 __a) {
|
|
2434
2412
|
return __builtin_ia32_pmovmskb128((__v16qi)__zext128(__a));
|
|
2435
2413
|
}
|
|
2436
2414
|
|
|
@@ -2447,11 +2425,11 @@ _mm_movemask_pi8(__m64 __a)
|
|
|
2447
2425
|
/// \param __b
|
|
2448
2426
|
/// A 64-bit integer vector containing one of the source operands.
|
|
2449
2427
|
/// \returns A 64-bit integer vector containing the products of both operands.
|
|
2450
|
-
static __inline__ __m64
|
|
2428
|
+
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2451
2429
|
_mm_mulhi_pu16(__m64 __a, __m64 __b)
|
|
2452
2430
|
{
|
|
2453
|
-
return __trunc64(__builtin_ia32_pmulhuw128((
|
|
2454
|
-
(
|
|
2431
|
+
return __trunc64(__builtin_ia32_pmulhuw128((__v8hu)__zext128(__a),
|
|
2432
|
+
(__v8hu)__zext128(__b)));
|
|
2455
2433
|
}
|
|
2456
2434
|
|
|
2457
2435
|
/// Shuffles the 4 16-bit integers from a 64-bit integer vector to the
|
|
@@ -2530,8 +2508,8 @@ _mm_maskmove_si64(__m64 __d, __m64 __n, char *__p)
|
|
|
2530
2508
|
// If there's a risk of spurious trap due to a 128-bit write, back up the
|
|
2531
2509
|
// pointer by 8 bytes and shift values in registers to match.
|
|
2532
2510
|
__p -= 8;
|
|
2533
|
-
__d128 = __builtin_ia32_pslldqi128_byteshift((
|
|
2534
|
-
__n128 = __builtin_ia32_pslldqi128_byteshift((
|
|
2511
|
+
__d128 = (__m128i)__builtin_ia32_pslldqi128_byteshift((__v16qi)__d128, 8);
|
|
2512
|
+
__n128 = (__m128i)__builtin_ia32_pslldqi128_byteshift((__v16qi)__n128, 8);
|
|
2535
2513
|
}
|
|
2536
2514
|
|
|
2537
2515
|
__builtin_ia32_maskmovdqu((__v16qi)__d128, (__v16qi)__n128, __p);
|
|
@@ -2550,11 +2528,10 @@ _mm_maskmove_si64(__m64 __d, __m64 __n, char *__p)
|
|
|
2550
2528
|
/// \param __b
|
|
2551
2529
|
/// A 64-bit integer vector containing one of the source operands.
|
|
2552
2530
|
/// \returns A 64-bit integer vector containing the averages of both operands.
|
|
2553
|
-
static __inline__ __m64
|
|
2554
|
-
_mm_avg_pu8(__m64 __a, __m64 __b)
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
(__v16qi)__anyext128(__b)));
|
|
2531
|
+
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2532
|
+
_mm_avg_pu8(__m64 __a, __m64 __b) {
|
|
2533
|
+
return __trunc64(__builtin_ia32_pavgb128((__v16qu)__zext128(__a),
|
|
2534
|
+
(__v16qu)__zext128(__b)));
|
|
2558
2535
|
}
|
|
2559
2536
|
|
|
2560
2537
|
/// Computes the rounded averages of the packed unsigned 16-bit integer
|
|
@@ -2570,11 +2547,10 @@ _mm_avg_pu8(__m64 __a, __m64 __b)
|
|
|
2570
2547
|
/// \param __b
|
|
2571
2548
|
/// A 64-bit integer vector containing one of the source operands.
|
|
2572
2549
|
/// \returns A 64-bit integer vector containing the averages of both operands.
|
|
2573
|
-
static __inline__ __m64
|
|
2574
|
-
_mm_avg_pu16(__m64 __a, __m64 __b)
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
(__v8hi)__anyext128(__b)));
|
|
2550
|
+
static __inline__ __m64 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2551
|
+
_mm_avg_pu16(__m64 __a, __m64 __b) {
|
|
2552
|
+
return __trunc64(
|
|
2553
|
+
__builtin_ia32_pavgw128((__v8hu)__zext128(__a), (__v8hu)__zext128(__b)));
|
|
2578
2554
|
}
|
|
2579
2555
|
|
|
2580
2556
|
/// Subtracts the corresponding 8-bit unsigned integer values of the two
|
|
@@ -2873,7 +2849,7 @@ _mm_movelh_ps(__m128 __a, __m128 __b) {
|
|
|
2873
2849
|
/// from the corresponding elements in this operand.
|
|
2874
2850
|
/// \returns A 128-bit vector of [4 x float] containing the copied and converted
|
|
2875
2851
|
/// values from the operand.
|
|
2876
|
-
static __inline__ __m128
|
|
2852
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2877
2853
|
_mm_cvtpi16_ps(__m64 __a)
|
|
2878
2854
|
{
|
|
2879
2855
|
return __builtin_convertvector((__v4hi)__a, __v4sf);
|
|
@@ -2891,7 +2867,7 @@ _mm_cvtpi16_ps(__m64 __a)
|
|
|
2891
2867
|
/// destination are copied from the corresponding elements in this operand.
|
|
2892
2868
|
/// \returns A 128-bit vector of [4 x float] containing the copied and converted
|
|
2893
2869
|
/// values from the operand.
|
|
2894
|
-
static __inline__ __m128
|
|
2870
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2895
2871
|
_mm_cvtpu16_ps(__m64 __a)
|
|
2896
2872
|
{
|
|
2897
2873
|
return __builtin_convertvector((__v4hu)__a, __v4sf);
|
|
@@ -2909,7 +2885,7 @@ _mm_cvtpu16_ps(__m64 __a)
|
|
|
2909
2885
|
/// from the corresponding lower 4 elements in this operand.
|
|
2910
2886
|
/// \returns A 128-bit vector of [4 x float] containing the copied and converted
|
|
2911
2887
|
/// values from the operand.
|
|
2912
|
-
static __inline__ __m128
|
|
2888
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2913
2889
|
_mm_cvtpi8_ps(__m64 __a)
|
|
2914
2890
|
{
|
|
2915
2891
|
return __builtin_convertvector(
|
|
@@ -2930,7 +2906,7 @@ _mm_cvtpi8_ps(__m64 __a)
|
|
|
2930
2906
|
/// operand.
|
|
2931
2907
|
/// \returns A 128-bit vector of [4 x float] containing the copied and converted
|
|
2932
2908
|
/// values from the source operand.
|
|
2933
|
-
static __inline__ __m128
|
|
2909
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2934
2910
|
_mm_cvtpu8_ps(__m64 __a)
|
|
2935
2911
|
{
|
|
2936
2912
|
return __builtin_convertvector(
|
|
@@ -2954,7 +2930,7 @@ _mm_cvtpu8_ps(__m64 __a)
|
|
|
2954
2930
|
/// \returns A 128-bit vector of [4 x float] whose lower 64 bits contain the
|
|
2955
2931
|
/// copied and converted values from the first operand. The upper 64 bits
|
|
2956
2932
|
/// contain the copied and converted values from the second operand.
|
|
2957
|
-
static __inline__ __m128
|
|
2933
|
+
static __inline__ __m128 __DEFAULT_FN_ATTRS_SSE2_CONSTEXPR
|
|
2958
2934
|
_mm_cvtpi32x2_ps(__m64 __a, __m64 __b)
|
|
2959
2935
|
{
|
|
2960
2936
|
return __builtin_convertvector(
|
|
@@ -3029,9 +3005,7 @@ _mm_cvtps_pi8(__m128 __a)
|
|
|
3029
3005
|
/// \returns A 32-bit integer value. Bits [3:0] contain the sign bits from each
|
|
3030
3006
|
/// single-precision floating-point element of the parameter. Bits [31:4] are
|
|
3031
3007
|
/// set to zero.
|
|
3032
|
-
static __inline__ int
|
|
3033
|
-
_mm_movemask_ps(__m128 __a)
|
|
3034
|
-
{
|
|
3008
|
+
static __inline__ int __DEFAULT_FN_ATTRS_CONSTEXPR _mm_movemask_ps(__m128 __a) {
|
|
3035
3009
|
return __builtin_ia32_movmskps((__v4sf)__a);
|
|
3036
3010
|
}
|
|
3037
3011
|
|
|
@@ -20,6 +20,14 @@
|
|
|
20
20
|
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("xop"), __min_vector_width__(128)))
|
|
21
21
|
#define __DEFAULT_FN_ATTRS256 __attribute__((__always_inline__, __nodebug__, __target__("xop"), __min_vector_width__(256)))
|
|
22
22
|
|
|
23
|
+
#if defined(__cplusplus) && (__cplusplus >= 201103L)
|
|
24
|
+
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS constexpr
|
|
25
|
+
#define __DEFAULT_FN_ATTRS256_CONSTEXPR __DEFAULT_FN_ATTRS256 constexpr
|
|
26
|
+
#else
|
|
27
|
+
#define __DEFAULT_FN_ATTRS_CONSTEXPR __DEFAULT_FN_ATTRS
|
|
28
|
+
#define __DEFAULT_FN_ATTRS256_CONSTEXPR __DEFAULT_FN_ATTRS256
|
|
29
|
+
#endif
|
|
30
|
+
|
|
23
31
|
static __inline__ __m128i __DEFAULT_FN_ATTRS
|
|
24
32
|
_mm_maccs_epi16(__m128i __A, __m128i __B, __m128i __C)
|
|
25
33
|
{
|
|
@@ -182,13 +190,13 @@ _mm_hsubq_epi32(__m128i __A)
|
|
|
182
190
|
return (__m128i)__builtin_ia32_vphsubdq((__v4si)__A);
|
|
183
191
|
}
|
|
184
192
|
|
|
185
|
-
static __inline__ __m128i
|
|
193
|
+
static __inline__ __m128i __DEFAULT_FN_ATTRS_CONSTEXPR
|
|
186
194
|
_mm_cmov_si128(__m128i __A, __m128i __B, __m128i __C)
|
|
187
195
|
{
|
|
188
196
|
return (__m128i)(((__v2du)__A & (__v2du)__C) | ((__v2du)__B & ~(__v2du)__C));
|
|
189
197
|
}
|
|
190
198
|
|
|
191
|
-
static __inline__ __m256i
|
|
199
|
+
static __inline__ __m256i __DEFAULT_FN_ATTRS256_CONSTEXPR
|
|
192
200
|
_mm256_cmov_si256(__m256i __A, __m256i __B, __m256i __C)
|
|
193
201
|
{
|
|
194
202
|
return (__m256i)(((__v4du)__A & (__v4du)__C) | ((__v4du)__B & ~(__v4du)__C));
|
|
@@ -200,28 +208,28 @@ _mm_perm_epi8(__m128i __A, __m128i __B, __m128i __C)
|
|
|
200
208
|
return (__m128i)__builtin_ia32_vpperm((__v16qi)__A, (__v16qi)__B, (__v16qi)__C);
|
|
201
209
|
}
|
|
202
210
|
|
|
203
|
-
static __inline__ __m128i
|
|
211
|
+
static __inline__ __m128i __DEFAULT_FN_ATTRS_CONSTEXPR
|
|
204
212
|
_mm_rot_epi8(__m128i __A, __m128i __B)
|
|
205
213
|
{
|
|
206
|
-
return (__m128i)
|
|
214
|
+
return (__m128i)__builtin_elementwise_fshl((__v16qu)__A, (__v16qu)__A, (__v16qu)__B);
|
|
207
215
|
}
|
|
208
216
|
|
|
209
|
-
static __inline__ __m128i
|
|
217
|
+
static __inline__ __m128i __DEFAULT_FN_ATTRS_CONSTEXPR
|
|
210
218
|
_mm_rot_epi16(__m128i __A, __m128i __B)
|
|
211
219
|
{
|
|
212
|
-
return (__m128i)
|
|
220
|
+
return (__m128i)__builtin_elementwise_fshl((__v8hu)__A, (__v8hu)__A, (__v8hu)__B);
|
|
213
221
|
}
|
|
214
222
|
|
|
215
|
-
static __inline__ __m128i
|
|
223
|
+
static __inline__ __m128i __DEFAULT_FN_ATTRS_CONSTEXPR
|
|
216
224
|
_mm_rot_epi32(__m128i __A, __m128i __B)
|
|
217
225
|
{
|
|
218
|
-
return (__m128i)
|
|
226
|
+
return (__m128i)__builtin_elementwise_fshl((__v4su)__A, (__v4su)__A, (__v4su)__B);
|
|
219
227
|
}
|
|
220
228
|
|
|
221
|
-
static __inline__ __m128i
|
|
229
|
+
static __inline__ __m128i __DEFAULT_FN_ATTRS_CONSTEXPR
|
|
222
230
|
_mm_rot_epi64(__m128i __A, __m128i __B)
|
|
223
231
|
{
|
|
224
|
-
return (__m128i)
|
|
232
|
+
return (__m128i)__builtin_elementwise_fshl((__v2du)__A, (__v2du)__A, (__v2du)__B);
|
|
225
233
|
}
|
|
226
234
|
|
|
227
235
|
#define _mm_roti_epi8(A, N) \
|
|
@@ -766,5 +774,7 @@ _mm256_frcz_pd(__m256d __A)
|
|
|
766
774
|
|
|
767
775
|
#undef __DEFAULT_FN_ATTRS
|
|
768
776
|
#undef __DEFAULT_FN_ATTRS256
|
|
777
|
+
#undef __DEFAULT_FN_ATTRS_CONSTEXPR
|
|
778
|
+
#undef __DEFAULT_FN_ATTRS256_CONSTEXPR
|
|
769
779
|
|
|
770
780
|
#endif /* __XOPINTRIN_H */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cpp-linter/clang-tidy-win32-x64",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "The Windows x64 binary for @cpp-linter/clang-tidy (LLVM
|
|
3
|
+
"version": "22.1.8",
|
|
4
|
+
"description": "The Windows x64 binary for @cpp-linter/clang-tidy (LLVM 22.1.8).",
|
|
5
5
|
"license": "Apache-2.0 WITH LLVM-exception",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"lib"
|
|
25
25
|
],
|
|
26
26
|
"staticBinary": {
|
|
27
|
-
"release": "llvm-
|
|
28
|
-
"file": "clang-tidy-
|
|
29
|
-
"url": "https://github.com/cpp-linter/clang-tools-static-binaries/releases/download/llvm-
|
|
30
|
-
"sha512": "
|
|
27
|
+
"release": "llvm-22.1.8-3",
|
|
28
|
+
"file": "clang-tidy-22_windows-amd64.exe",
|
|
29
|
+
"url": "https://github.com/cpp-linter/clang-tools-static-binaries/releases/download/llvm-22.1.8-3/clang-tidy-22_windows-amd64.exe",
|
|
30
|
+
"sha512": "7fad66a22efc37f53cf8783167a799769b6336f6559cf5b0d909337b38adc45d052a3355c85fee30c1e18a00456906755638431779bb7b2425483d07e5cfd9c8"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
/*===-- __clang_cuda_complex_builtins - CUDA impls of runtime complex fns ---===
|
|
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 __CLANG_CUDA_COMPLEX_BUILTINS
|
|
11
|
-
#define __CLANG_CUDA_COMPLEX_BUILTINS
|
|
12
|
-
|
|
13
|
-
// This header defines __muldc3, __mulsc3, __divdc3, and __divsc3. These are
|
|
14
|
-
// libgcc functions that clang assumes are available when compiling c99 complex
|
|
15
|
-
// operations. (These implementations come from libc++, and have been modified
|
|
16
|
-
// to work with CUDA and OpenMP target offloading [in C and C++ mode].)
|
|
17
|
-
|
|
18
|
-
#pragma push_macro("__DEVICE__")
|
|
19
|
-
#if defined(__OPENMP_NVPTX__) || defined(__OPENMP_AMDGCN__)
|
|
20
|
-
#pragma omp declare target
|
|
21
|
-
#define __DEVICE__ __attribute__((noinline, nothrow, cold, weak))
|
|
22
|
-
#else
|
|
23
|
-
#define __DEVICE__ __device__ inline
|
|
24
|
-
#endif
|
|
25
|
-
|
|
26
|
-
// To make the algorithms available for C and C++ in CUDA and OpenMP we select
|
|
27
|
-
// different but equivalent function versions. TODO: For OpenMP we currently
|
|
28
|
-
// select the native builtins as the overload support for templates is lacking.
|
|
29
|
-
#if !defined(__OPENMP_NVPTX__) && !defined(__OPENMP_AMDGCN__)
|
|
30
|
-
#define _ISNANd std::isnan
|
|
31
|
-
#define _ISNANf std::isnan
|
|
32
|
-
#define _ISINFd std::isinf
|
|
33
|
-
#define _ISINFf std::isinf
|
|
34
|
-
#define _ISFINITEd std::isfinite
|
|
35
|
-
#define _ISFINITEf std::isfinite
|
|
36
|
-
#define _COPYSIGNd std::copysign
|
|
37
|
-
#define _COPYSIGNf std::copysign
|
|
38
|
-
#define _SCALBNd std::scalbn
|
|
39
|
-
#define _SCALBNf std::scalbn
|
|
40
|
-
#define _ABSd std::abs
|
|
41
|
-
#define _ABSf std::abs
|
|
42
|
-
#define _LOGBd std::logb
|
|
43
|
-
#define _LOGBf std::logb
|
|
44
|
-
// Rather than pulling in std::max from algorithm everytime, use available ::max.
|
|
45
|
-
#define _fmaxd max
|
|
46
|
-
#define _fmaxf max
|
|
47
|
-
#else
|
|
48
|
-
#ifdef __AMDGCN__
|
|
49
|
-
#define _ISNANd __ocml_isnan_f64
|
|
50
|
-
#define _ISNANf __ocml_isnan_f32
|
|
51
|
-
#define _ISINFd __ocml_isinf_f64
|
|
52
|
-
#define _ISINFf __ocml_isinf_f32
|
|
53
|
-
#define _ISFINITEd __ocml_isfinite_f64
|
|
54
|
-
#define _ISFINITEf __ocml_isfinite_f32
|
|
55
|
-
#define _COPYSIGNd __ocml_copysign_f64
|
|
56
|
-
#define _COPYSIGNf __ocml_copysign_f32
|
|
57
|
-
#define _SCALBNd __ocml_scalbn_f64
|
|
58
|
-
#define _SCALBNf __ocml_scalbn_f32
|
|
59
|
-
#define _ABSd __ocml_fabs_f64
|
|
60
|
-
#define _ABSf __ocml_fabs_f32
|
|
61
|
-
#define _LOGBd __ocml_logb_f64
|
|
62
|
-
#define _LOGBf __ocml_logb_f32
|
|
63
|
-
#define _fmaxd __ocml_fmax_f64
|
|
64
|
-
#define _fmaxf __ocml_fmax_f32
|
|
65
|
-
#else
|
|
66
|
-
#define _ISNANd __nv_isnand
|
|
67
|
-
#define _ISNANf __nv_isnanf
|
|
68
|
-
#define _ISINFd __nv_isinfd
|
|
69
|
-
#define _ISINFf __nv_isinff
|
|
70
|
-
#define _ISFINITEd __nv_isfinited
|
|
71
|
-
#define _ISFINITEf __nv_finitef
|
|
72
|
-
#define _COPYSIGNd __nv_copysign
|
|
73
|
-
#define _COPYSIGNf __nv_copysignf
|
|
74
|
-
#define _SCALBNd __nv_scalbn
|
|
75
|
-
#define _SCALBNf __nv_scalbnf
|
|
76
|
-
#define _ABSd __nv_fabs
|
|
77
|
-
#define _ABSf __nv_fabsf
|
|
78
|
-
#define _LOGBd __nv_logb
|
|
79
|
-
#define _LOGBf __nv_logbf
|
|
80
|
-
#define _fmaxd __nv_fmax
|
|
81
|
-
#define _fmaxf __nv_fmaxf
|
|
82
|
-
#endif
|
|
83
|
-
#endif
|
|
84
|
-
|
|
85
|
-
#if defined(__cplusplus)
|
|
86
|
-
extern "C" {
|
|
87
|
-
#endif
|
|
88
|
-
|
|
89
|
-
__DEVICE__ double _Complex __muldc3(double __a, double __b, double __c,
|
|
90
|
-
double __d) {
|
|
91
|
-
double __ac = __a * __c;
|
|
92
|
-
double __bd = __b * __d;
|
|
93
|
-
double __ad = __a * __d;
|
|
94
|
-
double __bc = __b * __c;
|
|
95
|
-
double _Complex z;
|
|
96
|
-
__real__(z) = __ac - __bd;
|
|
97
|
-
__imag__(z) = __ad + __bc;
|
|
98
|
-
if (_ISNANd(__real__(z)) && _ISNANd(__imag__(z))) {
|
|
99
|
-
int __recalc = 0;
|
|
100
|
-
if (_ISINFd(__a) || _ISINFd(__b)) {
|
|
101
|
-
__a = _COPYSIGNd(_ISINFd(__a) ? 1 : 0, __a);
|
|
102
|
-
__b = _COPYSIGNd(_ISINFd(__b) ? 1 : 0, __b);
|
|
103
|
-
if (_ISNANd(__c))
|
|
104
|
-
__c = _COPYSIGNd(0, __c);
|
|
105
|
-
if (_ISNANd(__d))
|
|
106
|
-
__d = _COPYSIGNd(0, __d);
|
|
107
|
-
__recalc = 1;
|
|
108
|
-
}
|
|
109
|
-
if (_ISINFd(__c) || _ISINFd(__d)) {
|
|
110
|
-
__c = _COPYSIGNd(_ISINFd(__c) ? 1 : 0, __c);
|
|
111
|
-
__d = _COPYSIGNd(_ISINFd(__d) ? 1 : 0, __d);
|
|
112
|
-
if (_ISNANd(__a))
|
|
113
|
-
__a = _COPYSIGNd(0, __a);
|
|
114
|
-
if (_ISNANd(__b))
|
|
115
|
-
__b = _COPYSIGNd(0, __b);
|
|
116
|
-
__recalc = 1;
|
|
117
|
-
}
|
|
118
|
-
if (!__recalc &&
|
|
119
|
-
(_ISINFd(__ac) || _ISINFd(__bd) || _ISINFd(__ad) || _ISINFd(__bc))) {
|
|
120
|
-
if (_ISNANd(__a))
|
|
121
|
-
__a = _COPYSIGNd(0, __a);
|
|
122
|
-
if (_ISNANd(__b))
|
|
123
|
-
__b = _COPYSIGNd(0, __b);
|
|
124
|
-
if (_ISNANd(__c))
|
|
125
|
-
__c = _COPYSIGNd(0, __c);
|
|
126
|
-
if (_ISNANd(__d))
|
|
127
|
-
__d = _COPYSIGNd(0, __d);
|
|
128
|
-
__recalc = 1;
|
|
129
|
-
}
|
|
130
|
-
if (__recalc) {
|
|
131
|
-
// Can't use std::numeric_limits<double>::infinity() -- that doesn't have
|
|
132
|
-
// a device overload (and isn't constexpr before C++11, naturally).
|
|
133
|
-
__real__(z) = __builtin_huge_val() * (__a * __c - __b * __d);
|
|
134
|
-
__imag__(z) = __builtin_huge_val() * (__a * __d + __b * __c);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
return z;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
__DEVICE__ float _Complex __mulsc3(float __a, float __b, float __c, float __d) {
|
|
141
|
-
float __ac = __a * __c;
|
|
142
|
-
float __bd = __b * __d;
|
|
143
|
-
float __ad = __a * __d;
|
|
144
|
-
float __bc = __b * __c;
|
|
145
|
-
float _Complex z;
|
|
146
|
-
__real__(z) = __ac - __bd;
|
|
147
|
-
__imag__(z) = __ad + __bc;
|
|
148
|
-
if (_ISNANf(__real__(z)) && _ISNANf(__imag__(z))) {
|
|
149
|
-
int __recalc = 0;
|
|
150
|
-
if (_ISINFf(__a) || _ISINFf(__b)) {
|
|
151
|
-
__a = _COPYSIGNf(_ISINFf(__a) ? 1 : 0, __a);
|
|
152
|
-
__b = _COPYSIGNf(_ISINFf(__b) ? 1 : 0, __b);
|
|
153
|
-
if (_ISNANf(__c))
|
|
154
|
-
__c = _COPYSIGNf(0, __c);
|
|
155
|
-
if (_ISNANf(__d))
|
|
156
|
-
__d = _COPYSIGNf(0, __d);
|
|
157
|
-
__recalc = 1;
|
|
158
|
-
}
|
|
159
|
-
if (_ISINFf(__c) || _ISINFf(__d)) {
|
|
160
|
-
__c = _COPYSIGNf(_ISINFf(__c) ? 1 : 0, __c);
|
|
161
|
-
__d = _COPYSIGNf(_ISINFf(__d) ? 1 : 0, __d);
|
|
162
|
-
if (_ISNANf(__a))
|
|
163
|
-
__a = _COPYSIGNf(0, __a);
|
|
164
|
-
if (_ISNANf(__b))
|
|
165
|
-
__b = _COPYSIGNf(0, __b);
|
|
166
|
-
__recalc = 1;
|
|
167
|
-
}
|
|
168
|
-
if (!__recalc &&
|
|
169
|
-
(_ISINFf(__ac) || _ISINFf(__bd) || _ISINFf(__ad) || _ISINFf(__bc))) {
|
|
170
|
-
if (_ISNANf(__a))
|
|
171
|
-
__a = _COPYSIGNf(0, __a);
|
|
172
|
-
if (_ISNANf(__b))
|
|
173
|
-
__b = _COPYSIGNf(0, __b);
|
|
174
|
-
if (_ISNANf(__c))
|
|
175
|
-
__c = _COPYSIGNf(0, __c);
|
|
176
|
-
if (_ISNANf(__d))
|
|
177
|
-
__d = _COPYSIGNf(0, __d);
|
|
178
|
-
__recalc = 1;
|
|
179
|
-
}
|
|
180
|
-
if (__recalc) {
|
|
181
|
-
__real__(z) = __builtin_huge_valf() * (__a * __c - __b * __d);
|
|
182
|
-
__imag__(z) = __builtin_huge_valf() * (__a * __d + __b * __c);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
return z;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
__DEVICE__ double _Complex __divdc3(double __a, double __b, double __c,
|
|
189
|
-
double __d) {
|
|
190
|
-
int __ilogbw = 0;
|
|
191
|
-
// Can't use std::max, because that's defined in <algorithm>, and we don't
|
|
192
|
-
// want to pull that in for every compile. The CUDA headers define
|
|
193
|
-
// ::max(float, float) and ::max(double, double), which is sufficient for us.
|
|
194
|
-
double __logbw = _LOGBd(_fmaxd(_ABSd(__c), _ABSd(__d)));
|
|
195
|
-
if (_ISFINITEd(__logbw)) {
|
|
196
|
-
__ilogbw = (int)__logbw;
|
|
197
|
-
__c = _SCALBNd(__c, -__ilogbw);
|
|
198
|
-
__d = _SCALBNd(__d, -__ilogbw);
|
|
199
|
-
}
|
|
200
|
-
double __denom = __c * __c + __d * __d;
|
|
201
|
-
double _Complex z;
|
|
202
|
-
__real__(z) = _SCALBNd((__a * __c + __b * __d) / __denom, -__ilogbw);
|
|
203
|
-
__imag__(z) = _SCALBNd((__b * __c - __a * __d) / __denom, -__ilogbw);
|
|
204
|
-
if (_ISNANd(__real__(z)) && _ISNANd(__imag__(z))) {
|
|
205
|
-
if ((__denom == 0.0) && (!_ISNANd(__a) || !_ISNANd(__b))) {
|
|
206
|
-
__real__(z) = _COPYSIGNd(__builtin_huge_val(), __c) * __a;
|
|
207
|
-
__imag__(z) = _COPYSIGNd(__builtin_huge_val(), __c) * __b;
|
|
208
|
-
} else if ((_ISINFd(__a) || _ISINFd(__b)) && _ISFINITEd(__c) &&
|
|
209
|
-
_ISFINITEd(__d)) {
|
|
210
|
-
__a = _COPYSIGNd(_ISINFd(__a) ? 1.0 : 0.0, __a);
|
|
211
|
-
__b = _COPYSIGNd(_ISINFd(__b) ? 1.0 : 0.0, __b);
|
|
212
|
-
__real__(z) = __builtin_huge_val() * (__a * __c + __b * __d);
|
|
213
|
-
__imag__(z) = __builtin_huge_val() * (__b * __c - __a * __d);
|
|
214
|
-
} else if (_ISINFd(__logbw) && __logbw > 0.0 && _ISFINITEd(__a) &&
|
|
215
|
-
_ISFINITEd(__b)) {
|
|
216
|
-
__c = _COPYSIGNd(_ISINFd(__c) ? 1.0 : 0.0, __c);
|
|
217
|
-
__d = _COPYSIGNd(_ISINFd(__d) ? 1.0 : 0.0, __d);
|
|
218
|
-
__real__(z) = 0.0 * (__a * __c + __b * __d);
|
|
219
|
-
__imag__(z) = 0.0 * (__b * __c - __a * __d);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
return z;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
__DEVICE__ float _Complex __divsc3(float __a, float __b, float __c, float __d) {
|
|
226
|
-
int __ilogbw = 0;
|
|
227
|
-
float __logbw = _LOGBf(_fmaxf(_ABSf(__c), _ABSf(__d)));
|
|
228
|
-
if (_ISFINITEf(__logbw)) {
|
|
229
|
-
__ilogbw = (int)__logbw;
|
|
230
|
-
__c = _SCALBNf(__c, -__ilogbw);
|
|
231
|
-
__d = _SCALBNf(__d, -__ilogbw);
|
|
232
|
-
}
|
|
233
|
-
float __denom = __c * __c + __d * __d;
|
|
234
|
-
float _Complex z;
|
|
235
|
-
__real__(z) = _SCALBNf((__a * __c + __b * __d) / __denom, -__ilogbw);
|
|
236
|
-
__imag__(z) = _SCALBNf((__b * __c - __a * __d) / __denom, -__ilogbw);
|
|
237
|
-
if (_ISNANf(__real__(z)) && _ISNANf(__imag__(z))) {
|
|
238
|
-
if ((__denom == 0) && (!_ISNANf(__a) || !_ISNANf(__b))) {
|
|
239
|
-
__real__(z) = _COPYSIGNf(__builtin_huge_valf(), __c) * __a;
|
|
240
|
-
__imag__(z) = _COPYSIGNf(__builtin_huge_valf(), __c) * __b;
|
|
241
|
-
} else if ((_ISINFf(__a) || _ISINFf(__b)) && _ISFINITEf(__c) &&
|
|
242
|
-
_ISFINITEf(__d)) {
|
|
243
|
-
__a = _COPYSIGNf(_ISINFf(__a) ? 1 : 0, __a);
|
|
244
|
-
__b = _COPYSIGNf(_ISINFf(__b) ? 1 : 0, __b);
|
|
245
|
-
__real__(z) = __builtin_huge_valf() * (__a * __c + __b * __d);
|
|
246
|
-
__imag__(z) = __builtin_huge_valf() * (__b * __c - __a * __d);
|
|
247
|
-
} else if (_ISINFf(__logbw) && __logbw > 0 && _ISFINITEf(__a) &&
|
|
248
|
-
_ISFINITEf(__b)) {
|
|
249
|
-
__c = _COPYSIGNf(_ISINFf(__c) ? 1 : 0, __c);
|
|
250
|
-
__d = _COPYSIGNf(_ISINFf(__d) ? 1 : 0, __d);
|
|
251
|
-
__real__(z) = 0 * (__a * __c + __b * __d);
|
|
252
|
-
__imag__(z) = 0 * (__b * __c - __a * __d);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
return z;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
#if defined(__cplusplus)
|
|
259
|
-
} // extern "C"
|
|
260
|
-
#endif
|
|
261
|
-
|
|
262
|
-
#undef _ISNANd
|
|
263
|
-
#undef _ISNANf
|
|
264
|
-
#undef _ISINFd
|
|
265
|
-
#undef _ISINFf
|
|
266
|
-
#undef _COPYSIGNd
|
|
267
|
-
#undef _COPYSIGNf
|
|
268
|
-
#undef _ISFINITEd
|
|
269
|
-
#undef _ISFINITEf
|
|
270
|
-
#undef _SCALBNd
|
|
271
|
-
#undef _SCALBNf
|
|
272
|
-
#undef _ABSd
|
|
273
|
-
#undef _ABSf
|
|
274
|
-
#undef _LOGBd
|
|
275
|
-
#undef _LOGBf
|
|
276
|
-
#undef _fmaxd
|
|
277
|
-
#undef _fmaxf
|
|
278
|
-
|
|
279
|
-
#if defined(__OPENMP_NVPTX__) || defined(__OPENMP_AMDGCN__)
|
|
280
|
-
#pragma omp end declare target
|
|
281
|
-
#endif
|
|
282
|
-
|
|
283
|
-
#pragma pop_macro("__DEVICE__")
|
|
284
|
-
|
|
285
|
-
#endif // __CLANG_CUDA_COMPLEX_BUILTINS
|