@cpp-linter/clang-tidy-darwin-x64 17.0.6 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/clang-tidy +2 -2
- package/lib/clang/{17 → 19}/include/__clang_cuda_device_functions.h +2 -2
- package/lib/clang/{17 → 19}/include/__clang_cuda_intrinsics.h +1 -3
- package/lib/clang/{17 → 19}/include/__clang_cuda_libdevice_declares.h +2 -2
- package/lib/clang/{17 → 19}/include/__clang_cuda_math.h +2 -2
- package/lib/clang/{17 → 19}/include/__clang_cuda_runtime_wrapper.h +2 -2
- package/lib/clang/{17 → 19}/include/__clang_hip_math.h +192 -171
- package/lib/clang/{17 → 19}/include/__clang_hip_runtime_wrapper.h +34 -26
- package/lib/clang/19/include/__stdarg___gnuc_va_list.h +13 -0
- package/lib/clang/19/include/__stdarg___va_copy.h +12 -0
- package/lib/clang/19/include/__stdarg_header_macro.h +12 -0
- package/lib/clang/19/include/__stdarg_va_arg.h +22 -0
- package/lib/clang/19/include/__stdarg_va_copy.h +12 -0
- package/lib/clang/19/include/__stdarg_va_list.h +13 -0
- package/lib/clang/19/include/__stddef_header_macro.h +12 -0
- package/lib/clang/{17 → 19}/include/__stddef_max_align_t.h +1 -1
- package/lib/clang/19/include/__stddef_null.h +29 -0
- package/lib/clang/19/include/__stddef_nullptr_t.h +29 -0
- package/lib/clang/19/include/__stddef_offsetof.h +17 -0
- package/lib/clang/19/include/__stddef_ptrdiff_t.h +20 -0
- package/lib/clang/19/include/__stddef_rsize_t.h +20 -0
- package/lib/clang/19/include/__stddef_size_t.h +20 -0
- package/lib/clang/19/include/__stddef_unreachable.h +21 -0
- package/lib/clang/19/include/__stddef_wchar_t.h +28 -0
- package/lib/clang/19/include/__stddef_wint_t.h +15 -0
- package/lib/clang/{17/include/adxintrin.h → 19/include/adcintrin.h} +27 -94
- package/lib/clang/19/include/adxintrin.h +102 -0
- package/lib/clang/{17 → 19}/include/altivec.h +31 -12
- package/lib/clang/{17 → 19}/include/ammintrin.h +4 -4
- package/lib/clang/{17 → 19}/include/arm_acle.h +138 -32
- package/lib/clang/{17 → 19}/include/arm_fp16.h +1 -1
- package/lib/clang/{17 → 19}/include/arm_neon.h +43361 -43608
- package/lib/clang/19/include/arm_sme.h +2819 -0
- package/lib/clang/{17 → 19}/include/arm_sve.h +30202 -23615
- package/lib/clang/19/include/arm_vector_types.h +345 -0
- package/lib/clang/{17 → 19}/include/avx2intrin.h +24 -3
- package/lib/clang/{17 → 19}/include/avx512bf16intrin.h +3 -2
- package/lib/clang/{17 → 19}/include/avx512bitalgintrin.h +4 -1
- package/lib/clang/{17 → 19}/include/avx512bwintrin.h +28 -38
- package/lib/clang/{17 → 19}/include/avx512cdintrin.h +3 -1
- package/lib/clang/{17 → 19}/include/avx512dqintrin.h +4 -2
- package/lib/clang/{17 → 19}/include/avx512fintrin.h +7 -3
- package/lib/clang/{17 → 19}/include/avx512fp16intrin.h +44 -42
- package/lib/clang/{17 → 19}/include/avx512ifmaintrin.h +3 -1
- package/lib/clang/{17 → 19}/include/avx512ifmavlintrin.h +8 -2
- package/lib/clang/{17 → 19}/include/avx512vbmi2intrin.h +1 -1
- package/lib/clang/{17 → 19}/include/avx512vbmiintrin.h +3 -2
- package/lib/clang/{17 → 19}/include/avx512vbmivlintrin.h +8 -3
- package/lib/clang/{17 → 19}/include/avx512vlbf16intrin.h +8 -6
- package/lib/clang/{17 → 19}/include/avx512vlbitalgintrin.h +8 -2
- package/lib/clang/{17 → 19}/include/avx512vlbwintrin.h +8 -2
- package/lib/clang/{17 → 19}/include/avx512vlcdintrin.h +8 -3
- package/lib/clang/{17 → 19}/include/avx512vldqintrin.h +8 -2
- package/lib/clang/{17 → 19}/include/avx512vlfp16intrin.h +2 -2
- package/lib/clang/{17 → 19}/include/avx512vlintrin.h +8 -2
- package/lib/clang/{17 → 19}/include/avx512vlvbmi2intrin.h +8 -2
- package/lib/clang/{17 → 19}/include/avx512vlvnniintrin.h +8 -2
- package/lib/clang/{17 → 19}/include/avx512vlvp2intersectintrin.h +6 -4
- package/lib/clang/{17 → 19}/include/avx512vnniintrin.h +3 -2
- package/lib/clang/{17 → 19}/include/avx512vp2intersectintrin.h +3 -2
- package/lib/clang/{17 → 19}/include/avx512vpopcntdqintrin.h +3 -1
- package/lib/clang/{17 → 19}/include/avx512vpopcntdqvlintrin.h +6 -2
- package/lib/clang/{17 → 19}/include/avxintrin.h +67 -49
- package/lib/clang/{17 → 19}/include/bmiintrin.h +233 -50
- package/lib/clang/{17 → 19}/include/builtins.h +3 -0
- package/lib/clang/{17 → 19}/include/cpuid.h +23 -3
- package/lib/clang/{17 → 19}/include/cuda_wrappers/algorithm +1 -1
- package/lib/clang/{17 → 19}/include/emmintrin.h +311 -180
- package/lib/clang/{17 → 19}/include/float.h +28 -0
- package/lib/clang/{17 → 19}/include/fmaintrin.h +32 -16
- package/lib/clang/{17 → 19}/include/gfniintrin.h +23 -6
- package/lib/clang/{17 → 19}/include/hlsl/hlsl_basic_types.h +10 -3
- package/lib/clang/19/include/hlsl/hlsl_intrinsics.h +1697 -0
- package/lib/clang/19/include/ia32intrin.h +863 -0
- package/lib/clang/{17 → 19}/include/immintrin.h +149 -160
- package/lib/clang/{17 → 19}/include/intrin.h +61 -221
- package/lib/clang/19/include/intrin0.h +247 -0
- package/lib/clang/{17 → 19}/include/inttypes.h +4 -0
- package/lib/clang/{17 → 19}/include/iso646.h +4 -0
- package/lib/clang/{17 → 19}/include/keylockerintrin.h +5 -8
- package/lib/clang/{17 → 19}/include/larchintrin.h +13 -1
- package/lib/clang/19/include/lasxintrin.h +3884 -0
- package/lib/clang/{17 → 19}/include/limits.h +7 -4
- package/lib/clang/{17/include/llvm_libc_wrappers/stdio.h → 19/include/llvm_libc_wrappers/assert.h} +7 -7
- package/lib/clang/{17 → 19}/include/llvm_libc_wrappers/ctype.h +17 -0
- package/lib/clang/19/include/llvm_libc_wrappers/stdio.h +80 -0
- package/lib/clang/{17 → 19}/include/llvm_libc_wrappers/stdlib.h +4 -1
- package/lib/clang/19/include/llvm_libc_wrappers/string.h +96 -0
- package/lib/clang/{17/include/llvm_libc_wrappers/string.h → 19/include/llvm_libc_wrappers/time.h} +9 -12
- package/lib/clang/19/include/lsxintrin.h +3750 -0
- package/lib/clang/19/include/mm3dnow.h +22 -0
- package/lib/clang/{17 → 19}/include/mmintrin.h +83 -89
- package/lib/clang/19/include/module.modulemap +330 -0
- package/lib/clang/{17 → 19}/include/opencl-c-base.h +9 -0
- package/lib/clang/{17 → 19}/include/opencl-c.h +15 -0
- package/lib/clang/{17 → 19}/include/openmp_wrappers/cmath +1 -1
- package/lib/clang/{17 → 19}/include/pmmintrin.h +3 -2
- package/lib/clang/19/include/ppc_wrappers/nmmintrin.h +26 -0
- package/lib/clang/{17 → 19}/include/ppc_wrappers/smmintrin.h +35 -15
- package/lib/clang/{17 → 19}/include/prfchwintrin.h +10 -8
- package/lib/clang/19/include/ptrauth.h +330 -0
- package/lib/clang/19/include/riscv_bitmanip.h +195 -0
- package/lib/clang/19/include/riscv_crypto.h +170 -0
- package/lib/clang/{17 → 19}/include/riscv_ntlh.h +3 -5
- package/lib/clang/{17 → 19}/include/riscv_vector.h +31 -4
- package/lib/clang/19/include/sifive_vector.h +118 -0
- package/lib/clang/{17 → 19}/include/smmintrin.h +15 -15
- package/lib/clang/{17 → 19}/include/stdalign.h +6 -3
- package/lib/clang/19/include/stdarg.h +75 -0
- package/lib/clang/{17 → 19}/include/stdatomic.h +14 -6
- package/lib/clang/{17 → 19}/include/stdbool.h +5 -0
- package/lib/clang/19/include/stdckdint.h +42 -0
- package/lib/clang/19/include/stddef.h +139 -0
- package/lib/clang/{17 → 19}/include/stdint.h +24 -48
- package/lib/clang/{17 → 19}/include/stdnoreturn.h +8 -2
- package/lib/clang/{17 → 19}/include/tmmintrin.h +27 -18
- package/lib/clang/19/include/usermsrintrin.h +51 -0
- package/lib/clang/{17 → 19}/include/vaesintrin.h +4 -2
- package/lib/clang/{17 → 19}/include/varargs.h +5 -1
- package/lib/clang/{17 → 19}/include/vecintrin.h +217 -199
- package/lib/clang/{17 → 19}/include/x86gprintrin.h +10 -12
- package/lib/clang/19/include/x86intrin.h +53 -0
- package/lib/clang/{17 → 19}/include/xmmintrin.h +294 -104
- package/lib/clang/19/include/yvals_core.h +25 -0
- package/lib/clang/19/include/zos_wrappers/builtins.h +18 -0
- package/package.json +6 -6
- package/lib/clang/17/include/arm_sme_draft_spec_subject_to_change.h +0 -642
- package/lib/clang/17/include/avx512erintrin.h +0 -271
- package/lib/clang/17/include/avx512pfintrin.h +0 -97
- package/lib/clang/17/include/hlsl/hlsl_intrinsics.h +0 -480
- package/lib/clang/17/include/ia32intrin.h +0 -441
- package/lib/clang/17/include/mm3dnow.h +0 -157
- package/lib/clang/17/include/module.modulemap +0 -164
- package/lib/clang/17/include/sifive_vector.h +0 -16
- package/lib/clang/17/include/stdarg.h +0 -51
- package/lib/clang/17/include/stddef.h +0 -133
- package/lib/clang/17/include/x86intrin.h +0 -67
- /package/lib/clang/{17 → 19}/include/__clang_cuda_builtin_vars.h +0 -0
- /package/lib/clang/{17 → 19}/include/__clang_cuda_cmath.h +0 -0
- /package/lib/clang/{17 → 19}/include/__clang_cuda_complex_builtins.h +0 -0
- /package/lib/clang/{17 → 19}/include/__clang_cuda_math_forward_declares.h +0 -0
- /package/lib/clang/{17 → 19}/include/__clang_cuda_texture_intrinsics.h +0 -0
- /package/lib/clang/{17 → 19}/include/__clang_hip_cmath.h +0 -0
- /package/lib/clang/{17 → 19}/include/__clang_hip_libdevice_declares.h +0 -0
- /package/lib/clang/{17 → 19}/include/__clang_hip_stdlib.h +0 -0
- /package/lib/clang/{17 → 19}/include/__wmmintrin_aes.h +0 -0
- /package/lib/clang/{17 → 19}/include/__wmmintrin_pclmul.h +0 -0
- /package/lib/clang/{17 → 19}/include/amxcomplexintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/amxfp16intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/amxintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/arm64intr.h +0 -0
- /package/lib/clang/{17 → 19}/include/arm_bf16.h +0 -0
- /package/lib/clang/{17 → 19}/include/arm_cde.h +0 -0
- /package/lib/clang/{17 → 19}/include/arm_cmse.h +0 -0
- /package/lib/clang/{17 → 19}/include/arm_mve.h +0 -0
- /package/lib/clang/{17 → 19}/include/arm_neon_sve_bridge.h +0 -0
- /package/lib/clang/{17 → 19}/include/armintr.h +0 -0
- /package/lib/clang/{17 → 19}/include/avxifmaintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/avxneconvertintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/avxvnniint16intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/avxvnniint8intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/avxvnniintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/bmi2intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/cet.h +0 -0
- /package/lib/clang/{17 → 19}/include/cetintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/cldemoteintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/clflushoptintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/clwbintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/clzerointrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/cmpccxaddintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/crc32intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/cuda_wrappers/bits/basic_string.h +0 -0
- /package/lib/clang/{17 → 19}/include/cuda_wrappers/bits/basic_string.tcc +0 -0
- /package/lib/clang/{17 → 19}/include/cuda_wrappers/bits/shared_ptr_base.h +0 -0
- /package/lib/clang/{17 → 19}/include/cuda_wrappers/cmath +0 -0
- /package/lib/clang/{17 → 19}/include/cuda_wrappers/complex +0 -0
- /package/lib/clang/{17 → 19}/include/cuda_wrappers/new +0 -0
- /package/lib/clang/{17 → 19}/include/enqcmdintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/f16cintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/fma4intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/fxsrintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/hexagon_circ_brev_intrinsics.h +0 -0
- /package/lib/clang/{17 → 19}/include/hexagon_protos.h +0 -0
- /package/lib/clang/{17 → 19}/include/hexagon_types.h +0 -0
- /package/lib/clang/{17 → 19}/include/hlsl.h +0 -0
- /package/lib/clang/{17 → 19}/include/hresetintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/htmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/htmxlintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/hvx_hexagon_protos.h +0 -0
- /package/lib/clang/{17 → 19}/include/invpcidintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/llvm_libc_wrappers/inttypes.h +0 -0
- /package/lib/clang/{17 → 19}/include/lwpintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/lzcntintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/mm_malloc.h +0 -0
- /package/lib/clang/{17 → 19}/include/movdirintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/msa.h +0 -0
- /package/lib/clang/{17 → 19}/include/mwaitxintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/nmmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/openmp_wrappers/__clang_openmp_device_functions.h +0 -0
- /package/lib/clang/{17 → 19}/include/openmp_wrappers/complex +0 -0
- /package/lib/clang/{17 → 19}/include/openmp_wrappers/complex.h +0 -0
- /package/lib/clang/{17 → 19}/include/openmp_wrappers/complex_cmath.h +0 -0
- /package/lib/clang/{17 → 19}/include/openmp_wrappers/math.h +0 -0
- /package/lib/clang/{17 → 19}/include/openmp_wrappers/new +0 -0
- /package/lib/clang/{17 → 19}/include/pconfigintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/pkuintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/popcntintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/bmi2intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/bmiintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/emmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/immintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/mm_malloc.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/mmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/pmmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/tmmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/x86gprintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/x86intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ppc_wrappers/xmmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/prfchiintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/ptwriteintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/raointintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/rdpruintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/rdseedintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/rtmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/s390intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/serializeintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/sgxintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/sha512intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/shaintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/sm3intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/sm4intrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/tbmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/tgmath.h +0 -0
- /package/lib/clang/{17 → 19}/include/tsxldtrkintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/uintrintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/unwind.h +0 -0
- /package/lib/clang/{17 → 19}/include/vadefs.h +0 -0
- /package/lib/clang/{17 → 19}/include/velintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/velintrin_approx.h +0 -0
- /package/lib/clang/{17 → 19}/include/velintrin_gen.h +0 -0
- /package/lib/clang/{17 → 19}/include/vpclmulqdqintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/waitpkgintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/wasm_simd128.h +0 -0
- /package/lib/clang/{17 → 19}/include/wbnoinvdintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/wmmintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/xopintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/xsavecintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/xsaveintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/xsaveoptintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/xsavesintrin.h +0 -0
- /package/lib/clang/{17 → 19}/include/xtestintrin.h +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*===---- mm3dnow.h - 3DNow! intrinsics ------------------------------------===
|
|
2
|
+
*
|
|
3
|
+
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
4
|
+
* See https://llvm.org/LICENSE.txt for license information.
|
|
5
|
+
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
6
|
+
*
|
|
7
|
+
*===-----------------------------------------------------------------------===
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
// 3dNow intrinsics are no longer supported.
|
|
11
|
+
|
|
12
|
+
#ifndef _MM3DNOW_H_INCLUDED
|
|
13
|
+
#define _MM3DNOW_H_INCLUDED
|
|
14
|
+
|
|
15
|
+
#ifndef _CLANG_DISABLE_CRT_DEPRECATION_WARNINGS
|
|
16
|
+
#warning "The <mm3dnow.h> header is deprecated, and 3dNow! intrinsics are unsupported. For other intrinsics, include <x86intrin.h>, instead."
|
|
17
|
+
#endif
|
|
18
|
+
|
|
19
|
+
#include <mmintrin.h>
|
|
20
|
+
#include <prfchwintrin.h>
|
|
21
|
+
|
|
22
|
+
#endif
|
|
@@ -22,7 +22,9 @@ typedef short __v4hi __attribute__((__vector_size__(8)));
|
|
|
22
22
|
typedef char __v8qi __attribute__((__vector_size__(8)));
|
|
23
23
|
|
|
24
24
|
/* Define the default attributes for the functions in this file. */
|
|
25
|
-
#define __DEFAULT_FN_ATTRS
|
|
25
|
+
#define __DEFAULT_FN_ATTRS \
|
|
26
|
+
__attribute__((__always_inline__, __nodebug__, __target__("mmx,no-evex512"), \
|
|
27
|
+
__min_vector_width__(64)))
|
|
26
28
|
|
|
27
29
|
/// Clears the MMX state by setting the state of the x87 stack registers
|
|
28
30
|
/// to empty.
|
|
@@ -31,10 +33,10 @@ typedef char __v8qi __attribute__((__vector_size__(8)));
|
|
|
31
33
|
///
|
|
32
34
|
/// This intrinsic corresponds to the <c> EMMS </c> instruction.
|
|
33
35
|
///
|
|
34
|
-
static __inline__ void
|
|
35
|
-
|
|
36
|
-
{
|
|
37
|
-
|
|
36
|
+
static __inline__ void __attribute__((__always_inline__, __nodebug__,
|
|
37
|
+
__target__("mmx,no-evex512")))
|
|
38
|
+
_mm_empty(void) {
|
|
39
|
+
__builtin_ia32_emms();
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
/// Constructs a 64-bit integer vector, setting the lower 32 bits to the
|
|
@@ -103,28 +105,23 @@ _mm_cvtm64_si64(__m64 __m)
|
|
|
103
105
|
return (long long)__m;
|
|
104
106
|
}
|
|
105
107
|
|
|
106
|
-
/// Converts 16-bit signed integers from both 64-bit integer
|
|
107
|
-
/// parameters of [4 x i16] into 8-bit signed integer values, and
|
|
108
|
-
/// a 64-bit integer vector of [8 x i8] as the result.
|
|
109
|
-
///
|
|
110
|
-
/// are saturated to
|
|
108
|
+
/// Converts, with saturation, 16-bit signed integers from both 64-bit integer
|
|
109
|
+
/// vector parameters of [4 x i16] into 8-bit signed integer values, and
|
|
110
|
+
/// constructs a 64-bit integer vector of [8 x i8] as the result.
|
|
111
|
+
///
|
|
112
|
+
/// Positive values greater than 0x7F are saturated to 0x7F. Negative values
|
|
113
|
+
/// less than 0x80 are saturated to 0x80.
|
|
111
114
|
///
|
|
112
115
|
/// \headerfile <x86intrin.h>
|
|
113
116
|
///
|
|
114
117
|
/// This intrinsic corresponds to the <c> PACKSSWB </c> instruction.
|
|
115
118
|
///
|
|
116
119
|
/// \param __m1
|
|
117
|
-
/// A 64-bit integer vector of [4 x i16].
|
|
118
|
-
///
|
|
119
|
-
/// saturation. Positive values greater than 0x7F are saturated to 0x7F.
|
|
120
|
-
/// Negative values less than 0x80 are saturated to 0x80. The converted
|
|
121
|
-
/// [4 x i8] values are written to the lower 32 bits of the result.
|
|
120
|
+
/// A 64-bit integer vector of [4 x i16]. The converted [4 x i8] values are
|
|
121
|
+
/// written to the lower 32 bits of the result.
|
|
122
122
|
/// \param __m2
|
|
123
|
-
/// A 64-bit integer vector of [4 x i16].
|
|
124
|
-
///
|
|
125
|
-
/// saturation. Positive values greater than 0x7F are saturated to 0x7F.
|
|
126
|
-
/// Negative values less than 0x80 are saturated to 0x80. The converted
|
|
127
|
-
/// [4 x i8] values are written to the upper 32 bits of the result.
|
|
123
|
+
/// A 64-bit integer vector of [4 x i16]. The converted [4 x i8] values are
|
|
124
|
+
/// written to the upper 32 bits of the result.
|
|
128
125
|
/// \returns A 64-bit integer vector of [8 x i8] containing the converted
|
|
129
126
|
/// values.
|
|
130
127
|
static __inline__ __m64 __DEFAULT_FN_ATTRS
|
|
@@ -133,28 +130,23 @@ _mm_packs_pi16(__m64 __m1, __m64 __m2)
|
|
|
133
130
|
return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
|
|
134
131
|
}
|
|
135
132
|
|
|
136
|
-
/// Converts 32-bit signed integers from both 64-bit integer
|
|
137
|
-
/// parameters of [2 x i32] into 16-bit signed integer values, and
|
|
138
|
-
/// a 64-bit integer vector of [4 x i16] as the result.
|
|
139
|
-
///
|
|
140
|
-
///
|
|
133
|
+
/// Converts, with saturation, 32-bit signed integers from both 64-bit integer
|
|
134
|
+
/// vector parameters of [2 x i32] into 16-bit signed integer values, and
|
|
135
|
+
/// constructs a 64-bit integer vector of [4 x i16] as the result.
|
|
136
|
+
///
|
|
137
|
+
/// Positive values greater than 0x7FFF are saturated to 0x7FFF. Negative
|
|
138
|
+
/// values less than 0x8000 are saturated to 0x8000.
|
|
141
139
|
///
|
|
142
140
|
/// \headerfile <x86intrin.h>
|
|
143
141
|
///
|
|
144
142
|
/// This intrinsic corresponds to the <c> PACKSSDW </c> instruction.
|
|
145
143
|
///
|
|
146
144
|
/// \param __m1
|
|
147
|
-
/// A 64-bit integer vector of [2 x i32].
|
|
148
|
-
///
|
|
149
|
-
/// saturation. Positive values greater than 0x7FFF are saturated to 0x7FFF.
|
|
150
|
-
/// Negative values less than 0x8000 are saturated to 0x8000. The converted
|
|
151
|
-
/// [2 x i16] values are written to the lower 32 bits of the result.
|
|
145
|
+
/// A 64-bit integer vector of [2 x i32]. The converted [2 x i16] values are
|
|
146
|
+
/// written to the lower 32 bits of the result.
|
|
152
147
|
/// \param __m2
|
|
153
|
-
/// A 64-bit integer vector of [2 x i32].
|
|
154
|
-
///
|
|
155
|
-
/// saturation. Positive values greater than 0x7FFF are saturated to 0x7FFF.
|
|
156
|
-
/// Negative values less than 0x8000 are saturated to 0x8000. The converted
|
|
157
|
-
/// [2 x i16] values are written to the upper 32 bits of the result.
|
|
148
|
+
/// A 64-bit integer vector of [2 x i32]. The converted [2 x i16] values are
|
|
149
|
+
/// written to the upper 32 bits of the result.
|
|
158
150
|
/// \returns A 64-bit integer vector of [4 x i16] containing the converted
|
|
159
151
|
/// values.
|
|
160
152
|
static __inline__ __m64 __DEFAULT_FN_ATTRS
|
|
@@ -163,28 +155,23 @@ _mm_packs_pi32(__m64 __m1, __m64 __m2)
|
|
|
163
155
|
return (__m64)__builtin_ia32_packssdw((__v2si)__m1, (__v2si)__m2);
|
|
164
156
|
}
|
|
165
157
|
|
|
166
|
-
/// Converts 16-bit signed integers from both 64-bit integer
|
|
167
|
-
/// parameters of [4 x i16] into 8-bit unsigned integer values, and
|
|
168
|
-
/// constructs a 64-bit integer vector of [8 x i8] as the result.
|
|
169
|
-
///
|
|
170
|
-
/// to 0
|
|
158
|
+
/// Converts, with saturation, 16-bit signed integers from both 64-bit integer
|
|
159
|
+
/// vector parameters of [4 x i16] into 8-bit unsigned integer values, and
|
|
160
|
+
/// constructs a 64-bit integer vector of [8 x i8] as the result.
|
|
161
|
+
///
|
|
162
|
+
/// Values greater than 0xFF are saturated to 0xFF. Values less than 0 are
|
|
163
|
+
/// saturated to 0.
|
|
171
164
|
///
|
|
172
165
|
/// \headerfile <x86intrin.h>
|
|
173
166
|
///
|
|
174
167
|
/// This intrinsic corresponds to the <c> PACKUSWB </c> instruction.
|
|
175
168
|
///
|
|
176
169
|
/// \param __m1
|
|
177
|
-
/// A 64-bit integer vector of [4 x i16].
|
|
178
|
-
///
|
|
179
|
-
/// saturation. Values greater than 0xFF are saturated to 0xFF. Values less
|
|
180
|
-
/// than 0 are saturated to 0. The converted [4 x i8] values are written to
|
|
181
|
-
/// the lower 32 bits of the result.
|
|
170
|
+
/// A 64-bit integer vector of [4 x i16]. The converted [4 x i8] values are
|
|
171
|
+
/// written to the lower 32 bits of the result.
|
|
182
172
|
/// \param __m2
|
|
183
|
-
/// A 64-bit integer vector of [4 x i16].
|
|
184
|
-
///
|
|
185
|
-
/// saturation. Values greater than 0xFF are saturated to 0xFF. Values less
|
|
186
|
-
/// than 0 are saturated to 0. The converted [4 x i8] values are written to
|
|
187
|
-
/// the upper 32 bits of the result.
|
|
173
|
+
/// A 64-bit integer vector of [4 x i16]. The converted [4 x i8] values are
|
|
174
|
+
/// written to the upper 32 bits of the result.
|
|
188
175
|
/// \returns A 64-bit integer vector of [8 x i8] containing the converted
|
|
189
176
|
/// values.
|
|
190
177
|
static __inline__ __m64 __DEFAULT_FN_ATTRS
|
|
@@ -398,11 +385,13 @@ _mm_add_pi32(__m64 __m1, __m64 __m2)
|
|
|
398
385
|
return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
|
|
399
386
|
}
|
|
400
387
|
|
|
401
|
-
/// Adds each 8-bit signed integer element of the first
|
|
402
|
-
/// vector of [8 x i8] to the corresponding 8-bit signed
|
|
403
|
-
/// the second 64-bit integer vector of [8 x i8].
|
|
404
|
-
///
|
|
405
|
-
///
|
|
388
|
+
/// Adds, with saturation, each 8-bit signed integer element of the first
|
|
389
|
+
/// 64-bit integer vector of [8 x i8] to the corresponding 8-bit signed
|
|
390
|
+
/// integer element of the second 64-bit integer vector of [8 x i8].
|
|
391
|
+
///
|
|
392
|
+
/// Positive sums greater than 0x7F are saturated to 0x7F. Negative sums
|
|
393
|
+
/// less than 0x80 are saturated to 0x80. The results are packed into a
|
|
394
|
+
/// 64-bit integer vector of [8 x i8].
|
|
406
395
|
///
|
|
407
396
|
/// \headerfile <x86intrin.h>
|
|
408
397
|
///
|
|
@@ -420,12 +409,13 @@ _mm_adds_pi8(__m64 __m1, __m64 __m2)
|
|
|
420
409
|
return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
|
|
421
410
|
}
|
|
422
411
|
|
|
423
|
-
/// Adds each 16-bit signed integer element of the first
|
|
424
|
-
/// vector of [4 x i16] to the corresponding 16-bit signed
|
|
425
|
-
/// the second 64-bit integer vector of [4 x i16].
|
|
426
|
-
///
|
|
427
|
-
///
|
|
428
|
-
///
|
|
412
|
+
/// Adds, with saturation, each 16-bit signed integer element of the first
|
|
413
|
+
/// 64-bit integer vector of [4 x i16] to the corresponding 16-bit signed
|
|
414
|
+
/// integer element of the second 64-bit integer vector of [4 x i16].
|
|
415
|
+
///
|
|
416
|
+
/// Positive sums greater than 0x7FFF are saturated to 0x7FFF. Negative sums
|
|
417
|
+
/// less than 0x8000 are saturated to 0x8000. The results are packed into a
|
|
418
|
+
/// 64-bit integer vector of [4 x i16].
|
|
429
419
|
///
|
|
430
420
|
/// \headerfile <x86intrin.h>
|
|
431
421
|
///
|
|
@@ -443,11 +433,12 @@ _mm_adds_pi16(__m64 __m1, __m64 __m2)
|
|
|
443
433
|
return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2);
|
|
444
434
|
}
|
|
445
435
|
|
|
446
|
-
/// Adds each 8-bit unsigned integer element of the first
|
|
447
|
-
/// vector of [8 x i8] to the corresponding 8-bit unsigned
|
|
448
|
-
/// the second 64-bit integer vector of [8 x i8].
|
|
449
|
-
///
|
|
450
|
-
///
|
|
436
|
+
/// Adds, with saturation, each 8-bit unsigned integer element of the first
|
|
437
|
+
/// 64-bit integer vector of [8 x i8] to the corresponding 8-bit unsigned
|
|
438
|
+
/// integer element of the second 64-bit integer vector of [8 x i8].
|
|
439
|
+
///
|
|
440
|
+
/// Sums greater than 0xFF are saturated to 0xFF. The results are packed
|
|
441
|
+
/// into a 64-bit integer vector of [8 x i8].
|
|
451
442
|
///
|
|
452
443
|
/// \headerfile <x86intrin.h>
|
|
453
444
|
///
|
|
@@ -465,11 +456,12 @@ _mm_adds_pu8(__m64 __m1, __m64 __m2)
|
|
|
465
456
|
return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2);
|
|
466
457
|
}
|
|
467
458
|
|
|
468
|
-
/// Adds each 16-bit unsigned integer element of the first
|
|
469
|
-
/// vector of [4 x i16] to the corresponding 16-bit unsigned
|
|
470
|
-
/// of the second 64-bit integer vector of [4 x i16].
|
|
471
|
-
///
|
|
472
|
-
///
|
|
459
|
+
/// Adds, with saturation, each 16-bit unsigned integer element of the first
|
|
460
|
+
/// 64-bit integer vector of [4 x i16] to the corresponding 16-bit unsigned
|
|
461
|
+
/// integer element of the second 64-bit integer vector of [4 x i16].
|
|
462
|
+
///
|
|
463
|
+
/// Sums greater than 0xFFFF are saturated to 0xFFFF. The results are packed
|
|
464
|
+
/// into a 64-bit integer vector of [4 x i16].
|
|
473
465
|
///
|
|
474
466
|
/// \headerfile <x86intrin.h>
|
|
475
467
|
///
|
|
@@ -550,12 +542,13 @@ _mm_sub_pi32(__m64 __m1, __m64 __m2)
|
|
|
550
542
|
return (__m64)__builtin_ia32_psubd((__v2si)__m1, (__v2si)__m2);
|
|
551
543
|
}
|
|
552
544
|
|
|
553
|
-
/// Subtracts each 8-bit signed integer element of the second
|
|
554
|
-
/// integer vector of [8 x i8] from the corresponding 8-bit signed
|
|
555
|
-
/// element of the first 64-bit integer vector of [8 x i8].
|
|
556
|
-
///
|
|
557
|
-
///
|
|
558
|
-
///
|
|
545
|
+
/// Subtracts, with saturation, each 8-bit signed integer element of the second
|
|
546
|
+
/// 64-bit integer vector of [8 x i8] from the corresponding 8-bit signed
|
|
547
|
+
/// integer element of the first 64-bit integer vector of [8 x i8].
|
|
548
|
+
///
|
|
549
|
+
/// Positive results greater than 0x7F are saturated to 0x7F. Negative
|
|
550
|
+
/// results less than 0x80 are saturated to 0x80. The results are packed
|
|
551
|
+
/// into a 64-bit integer vector of [8 x i8].
|
|
559
552
|
///
|
|
560
553
|
/// \headerfile <x86intrin.h>
|
|
561
554
|
///
|
|
@@ -573,12 +566,13 @@ _mm_subs_pi8(__m64 __m1, __m64 __m2)
|
|
|
573
566
|
return (__m64)__builtin_ia32_psubsb((__v8qi)__m1, (__v8qi)__m2);
|
|
574
567
|
}
|
|
575
568
|
|
|
576
|
-
/// Subtracts each 16-bit signed integer element of the
|
|
577
|
-
/// integer vector of [4 x i16] from the corresponding 16-bit
|
|
578
|
-
/// element of the first 64-bit integer vector of [4 x i16].
|
|
579
|
-
///
|
|
580
|
-
///
|
|
581
|
-
///
|
|
569
|
+
/// Subtracts, with saturation, each 16-bit signed integer element of the
|
|
570
|
+
/// second 64-bit integer vector of [4 x i16] from the corresponding 16-bit
|
|
571
|
+
/// signed integer element of the first 64-bit integer vector of [4 x i16].
|
|
572
|
+
///
|
|
573
|
+
/// Positive results greater than 0x7FFF are saturated to 0x7FFF. Negative
|
|
574
|
+
/// results less than 0x8000 are saturated to 0x8000. The results are packed
|
|
575
|
+
/// into a 64-bit integer vector of [4 x i16].
|
|
582
576
|
///
|
|
583
577
|
/// \headerfile <x86intrin.h>
|
|
584
578
|
///
|
|
@@ -1147,7 +1141,7 @@ _mm_xor_si64(__m64 __m1, __m64 __m2)
|
|
|
1147
1141
|
/// [8 x i8] to determine if the element of the first vector is equal to the
|
|
1148
1142
|
/// corresponding element of the second vector.
|
|
1149
1143
|
///
|
|
1150
|
-
///
|
|
1144
|
+
/// Each comparison returns 0 for false, 0xFF for true.
|
|
1151
1145
|
///
|
|
1152
1146
|
/// \headerfile <x86intrin.h>
|
|
1153
1147
|
///
|
|
@@ -1169,7 +1163,7 @@ _mm_cmpeq_pi8(__m64 __m1, __m64 __m2)
|
|
|
1169
1163
|
/// [4 x i16] to determine if the element of the first vector is equal to the
|
|
1170
1164
|
/// corresponding element of the second vector.
|
|
1171
1165
|
///
|
|
1172
|
-
///
|
|
1166
|
+
/// Each comparison returns 0 for false, 0xFFFF for true.
|
|
1173
1167
|
///
|
|
1174
1168
|
/// \headerfile <x86intrin.h>
|
|
1175
1169
|
///
|
|
@@ -1191,7 +1185,7 @@ _mm_cmpeq_pi16(__m64 __m1, __m64 __m2)
|
|
|
1191
1185
|
/// [2 x i32] to determine if the element of the first vector is equal to the
|
|
1192
1186
|
/// corresponding element of the second vector.
|
|
1193
1187
|
///
|
|
1194
|
-
///
|
|
1188
|
+
/// Each comparison returns 0 for false, 0xFFFFFFFF for true.
|
|
1195
1189
|
///
|
|
1196
1190
|
/// \headerfile <x86intrin.h>
|
|
1197
1191
|
///
|
|
@@ -1213,7 +1207,7 @@ _mm_cmpeq_pi32(__m64 __m1, __m64 __m2)
|
|
|
1213
1207
|
/// [8 x i8] to determine if the element of the first vector is greater than
|
|
1214
1208
|
/// the corresponding element of the second vector.
|
|
1215
1209
|
///
|
|
1216
|
-
///
|
|
1210
|
+
/// Each comparison returns 0 for false, 0xFF for true.
|
|
1217
1211
|
///
|
|
1218
1212
|
/// \headerfile <x86intrin.h>
|
|
1219
1213
|
///
|
|
@@ -1235,7 +1229,7 @@ _mm_cmpgt_pi8(__m64 __m1, __m64 __m2)
|
|
|
1235
1229
|
/// [4 x i16] to determine if the element of the first vector is greater than
|
|
1236
1230
|
/// the corresponding element of the second vector.
|
|
1237
1231
|
///
|
|
1238
|
-
///
|
|
1232
|
+
/// Each comparison returns 0 for false, 0xFFFF for true.
|
|
1239
1233
|
///
|
|
1240
1234
|
/// \headerfile <x86intrin.h>
|
|
1241
1235
|
///
|
|
@@ -1257,7 +1251,7 @@ _mm_cmpgt_pi16(__m64 __m1, __m64 __m2)
|
|
|
1257
1251
|
/// [2 x i32] to determine if the element of the first vector is greater than
|
|
1258
1252
|
/// the corresponding element of the second vector.
|
|
1259
1253
|
///
|
|
1260
|
-
///
|
|
1254
|
+
/// Each comparison returns 0 for false, 0xFFFFFFFF for true.
|
|
1261
1255
|
///
|
|
1262
1256
|
/// \headerfile <x86intrin.h>
|
|
1263
1257
|
///
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
/*===---- module.modulemap - intrinsics module map -------------------------===
|
|
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
|
+
module _Builtin_intrinsics [system] [extern_c] {
|
|
11
|
+
explicit module altivec {
|
|
12
|
+
requires altivec
|
|
13
|
+
header "altivec.h"
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
explicit module arm {
|
|
17
|
+
requires arm
|
|
18
|
+
|
|
19
|
+
explicit module acle {
|
|
20
|
+
header "arm_acle.h"
|
|
21
|
+
export *
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
explicit module neon {
|
|
25
|
+
requires neon
|
|
26
|
+
header "arm_neon.h"
|
|
27
|
+
header "arm_fp16.h"
|
|
28
|
+
export *
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
explicit module sve {
|
|
32
|
+
requires sve
|
|
33
|
+
header "arm_sve.h"
|
|
34
|
+
export *
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
explicit module intel {
|
|
39
|
+
requires x86
|
|
40
|
+
export *
|
|
41
|
+
|
|
42
|
+
header "immintrin.h"
|
|
43
|
+
textual header "f16cintrin.h"
|
|
44
|
+
textual header "avxintrin.h"
|
|
45
|
+
textual header "avx2intrin.h"
|
|
46
|
+
textual header "avx512fintrin.h"
|
|
47
|
+
textual header "fmaintrin.h"
|
|
48
|
+
|
|
49
|
+
header "x86intrin.h"
|
|
50
|
+
textual header "bmiintrin.h"
|
|
51
|
+
textual header "bmi2intrin.h"
|
|
52
|
+
textual header "lzcntintrin.h"
|
|
53
|
+
textual header "xopintrin.h"
|
|
54
|
+
textual header "fma4intrin.h"
|
|
55
|
+
textual header "mwaitxintrin.h"
|
|
56
|
+
textual header "clzerointrin.h"
|
|
57
|
+
textual header "wbnoinvdintrin.h"
|
|
58
|
+
textual header "cldemoteintrin.h"
|
|
59
|
+
textual header "waitpkgintrin.h"
|
|
60
|
+
textual header "movdirintrin.h"
|
|
61
|
+
textual header "pconfigintrin.h"
|
|
62
|
+
textual header "sgxintrin.h"
|
|
63
|
+
textual header "ptwriteintrin.h"
|
|
64
|
+
textual header "invpcidintrin.h"
|
|
65
|
+
|
|
66
|
+
textual header "__wmmintrin_aes.h"
|
|
67
|
+
textual header "__wmmintrin_pclmul.h"
|
|
68
|
+
|
|
69
|
+
explicit module mm_malloc {
|
|
70
|
+
requires !freestanding
|
|
71
|
+
header "mm_malloc.h"
|
|
72
|
+
export * // note: for <stdlib.h> dependency
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
explicit module cpuid {
|
|
76
|
+
requires gnuinlineasm
|
|
77
|
+
header "cpuid.h"
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
explicit module mmx {
|
|
81
|
+
header "mmintrin.h"
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
explicit module sse {
|
|
85
|
+
export mm_malloc
|
|
86
|
+
export mmx
|
|
87
|
+
export sse2 // note: for hackish <emmintrin.h> dependency
|
|
88
|
+
header "xmmintrin.h"
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
explicit module sse2 {
|
|
92
|
+
export sse
|
|
93
|
+
header "emmintrin.h"
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
explicit module sse3 {
|
|
97
|
+
export sse2
|
|
98
|
+
header "pmmintrin.h"
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
explicit module ssse3 {
|
|
102
|
+
export sse3
|
|
103
|
+
header "tmmintrin.h"
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
explicit module sse4_1 {
|
|
107
|
+
export ssse3
|
|
108
|
+
header "smmintrin.h"
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
explicit module sse4_2 {
|
|
112
|
+
export sse4_1
|
|
113
|
+
header "nmmintrin.h"
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
explicit module sse4a {
|
|
117
|
+
export sse3
|
|
118
|
+
header "ammintrin.h"
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
explicit module popcnt {
|
|
122
|
+
header "popcntintrin.h"
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
explicit module mm3dnow {
|
|
126
|
+
header "mm3dnow.h"
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
explicit module aes_pclmul {
|
|
130
|
+
header "wmmintrin.h"
|
|
131
|
+
export aes
|
|
132
|
+
export pclmul
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
explicit module systemz {
|
|
137
|
+
requires systemz
|
|
138
|
+
export *
|
|
139
|
+
|
|
140
|
+
header "s390intrin.h"
|
|
141
|
+
|
|
142
|
+
explicit module htm {
|
|
143
|
+
requires htm
|
|
144
|
+
header "htmintrin.h"
|
|
145
|
+
header "htmxlintrin.h"
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
explicit module zvector {
|
|
149
|
+
requires zvector, vx
|
|
150
|
+
header "vecintrin.h"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// Start -fbuiltin-headers-in-system-modules affected modules
|
|
156
|
+
|
|
157
|
+
// The following modules all ignore their headers when
|
|
158
|
+
// -fbuiltin-headers-in-system-modules is passed, and many of
|
|
159
|
+
// those headers join system modules when present.
|
|
160
|
+
|
|
161
|
+
// e.g. if -fbuiltin-headers-in-system-modules is passed, then
|
|
162
|
+
// float.h will not be in the _Builtin_float module (that module
|
|
163
|
+
// will be empty). If there is a system module that declares
|
|
164
|
+
// `header "float.h"`, then the builtin float.h will join
|
|
165
|
+
// that module. The system float.h (if present) will be treated
|
|
166
|
+
// as a textual header in the sytem module.
|
|
167
|
+
module _Builtin_float [system] {
|
|
168
|
+
header "float.h"
|
|
169
|
+
export *
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
module _Builtin_inttypes [system] {
|
|
173
|
+
header "inttypes.h"
|
|
174
|
+
export *
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
module _Builtin_iso646 [system] {
|
|
178
|
+
header "iso646.h"
|
|
179
|
+
export *
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
module _Builtin_limits [system] {
|
|
183
|
+
header "limits.h"
|
|
184
|
+
export *
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
module _Builtin_stdalign [system] {
|
|
188
|
+
header "stdalign.h"
|
|
189
|
+
export *
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
module _Builtin_stdarg [system] {
|
|
193
|
+
textual header "stdarg.h"
|
|
194
|
+
|
|
195
|
+
explicit module __gnuc_va_list {
|
|
196
|
+
header "__stdarg___gnuc_va_list.h"
|
|
197
|
+
export *
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
explicit module __va_copy {
|
|
201
|
+
header "__stdarg___va_copy.h"
|
|
202
|
+
export *
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
explicit module header_macro {
|
|
206
|
+
header "__stdarg_header_macro.h"
|
|
207
|
+
export *
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
explicit module va_arg {
|
|
211
|
+
header "__stdarg_va_arg.h"
|
|
212
|
+
export *
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
explicit module va_copy {
|
|
216
|
+
header "__stdarg_va_copy.h"
|
|
217
|
+
export *
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
explicit module va_list {
|
|
221
|
+
header "__stdarg_va_list.h"
|
|
222
|
+
export *
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
module _Builtin_stdatomic [system] {
|
|
227
|
+
header "stdatomic.h"
|
|
228
|
+
export *
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
module _Builtin_stdbool [system] {
|
|
232
|
+
header "stdbool.h"
|
|
233
|
+
export *
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
module _Builtin_stddef [system] {
|
|
237
|
+
textual header "stddef.h"
|
|
238
|
+
|
|
239
|
+
explicit module header_macro {
|
|
240
|
+
header "__stddef_header_macro.h"
|
|
241
|
+
export *
|
|
242
|
+
}
|
|
243
|
+
// __stddef_max_align_t.h is always in this module, even if
|
|
244
|
+
// -fbuiltin-headers-in-system-modules is passed.
|
|
245
|
+
explicit module max_align_t {
|
|
246
|
+
header "__stddef_max_align_t.h"
|
|
247
|
+
export *
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
explicit module null {
|
|
251
|
+
header "__stddef_null.h"
|
|
252
|
+
export *
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
explicit module nullptr_t {
|
|
256
|
+
header "__stddef_nullptr_t.h"
|
|
257
|
+
export *
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
explicit module offsetof {
|
|
261
|
+
header "__stddef_offsetof.h"
|
|
262
|
+
export *
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
explicit module ptrdiff_t {
|
|
266
|
+
header "__stddef_ptrdiff_t.h"
|
|
267
|
+
export *
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
explicit module rsize_t {
|
|
271
|
+
header "__stddef_rsize_t.h"
|
|
272
|
+
export *
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
explicit module size_t {
|
|
276
|
+
header "__stddef_size_t.h"
|
|
277
|
+
export *
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
explicit module unreachable {
|
|
281
|
+
header "__stddef_unreachable.h"
|
|
282
|
+
export *
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
explicit module wchar_t {
|
|
286
|
+
header "__stddef_wchar_t.h"
|
|
287
|
+
export *
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// wint_t is provided by <wchar.h> and not <stddef.h>. It's here
|
|
292
|
+
// for compatibility, but must be explicitly requested. Therefore
|
|
293
|
+
// __stddef_wint_t.h is not part of _Builtin_stddef. It is always in
|
|
294
|
+
// this module even if -fbuiltin-headers-in-system-modules is passed.
|
|
295
|
+
module _Builtin_stddef_wint_t [system] {
|
|
296
|
+
header "__stddef_wint_t.h"
|
|
297
|
+
export *
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
module _Builtin_stdint [system] {
|
|
301
|
+
header "stdint.h"
|
|
302
|
+
export *
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
module _Builtin_stdnoreturn [system] {
|
|
306
|
+
header "stdnoreturn.h"
|
|
307
|
+
export *
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
module _Builtin_tgmath [system] {
|
|
311
|
+
header "tgmath.h"
|
|
312
|
+
export *
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
module _Builtin_unwind [system] {
|
|
316
|
+
header "unwind.h"
|
|
317
|
+
export *
|
|
318
|
+
}
|
|
319
|
+
// End -fbuiltin-headers-in-system-modules affected modules
|
|
320
|
+
|
|
321
|
+
module opencl_c {
|
|
322
|
+
requires opencl
|
|
323
|
+
header "opencl-c.h"
|
|
324
|
+
header "opencl-c-base.h"
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
module ptrauth {
|
|
328
|
+
header "ptrauth.h"
|
|
329
|
+
export *
|
|
330
|
+
}
|