1 /*===---- module.modulemap - intrinsics module map -------------------------===
3 * Permission is hereby granted, free of charge, to any person obtaining a copy
4 * of this software and associated documentation files (the "Software"), to deal
5 * in the Software without restriction, including without limitation the rights
6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 * copies of the Software, and to permit persons to whom the Software is
8 * furnished to do so, subject to the following conditions:
10 * The above copyright notice and this permission notice shall be included in
11 * all copies or substantial portions of the Software.
13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 *===-----------------------------------------------------------------------===
24 module _Builtin_intrinsics [system] [extern_c] {
25 explicit module altivec {
33 explicit module acle {
38 explicit module neon {
45 explicit module intel {
50 textual header "f16cintrin.h"
51 textual header "avxintrin.h"
52 textual header "avx2intrin.h"
53 textual header "avx512fintrin.h"
54 textual header "avx512erintrin.h"
55 textual header "fmaintrin.h"
58 textual header "bmiintrin.h"
59 textual header "bmi2intrin.h"
60 textual header "lzcntintrin.h"
61 textual header "xopintrin.h"
62 textual header "fma4intrin.h"
63 textual header "mwaitxintrin.h"
64 textual header "clzerointrin.h"
66 explicit module mm_malloc {
67 requires !freestanding
69 export * // note: for <stdlib.h> dependency
72 explicit module cpuid {
84 export sse2 // note: for hackish <emmintrin.h> dependency
88 explicit module sse2 {
93 explicit module sse3 {
98 explicit module ssse3 {
103 explicit module sse4_1 {
108 explicit module sse4_2 {
113 explicit module sse4a {
118 explicit module popcnt {
119 header "popcntintrin.h"
122 explicit module mm3dnow {
126 explicit module aes_pclmul {
132 explicit module aes {
133 header "__wmmintrin_aes.h"
136 explicit module pclmul {
137 header "__wmmintrin_pclmul.h"
141 explicit module systemz {
145 header "s390intrin.h"
147 explicit module htm {
150 header "htmxlintrin.h"
153 explicit module zvector {
160 module _Builtin_stddef_max_align_t [system] [extern_c] {
161 header "__stddef_max_align_t.h"