2012-01-30 04:52:14 +08:00
|
|
|
module __compiler_builtins [system] {
|
2012-01-30 14:38:25 +08:00
|
|
|
explicit module altivec {
|
|
|
|
requires altivec
|
|
|
|
header "altivec.h"
|
|
|
|
}
|
|
|
|
|
2012-01-30 04:52:14 +08:00
|
|
|
explicit module float_constants {
|
|
|
|
header "float.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module iso646 {
|
|
|
|
header "iso646.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module limits {
|
|
|
|
header "limits.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module stdalign {
|
|
|
|
header "stdalign.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module stdarg {
|
|
|
|
header "stdarg.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module stdbool {
|
|
|
|
header "stdbool.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module stddef {
|
|
|
|
header "stddef.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module stdint {
|
|
|
|
header "stdint.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module tgmath {
|
|
|
|
header "tgmath.h"
|
|
|
|
}
|
|
|
|
|
2012-01-30 14:38:25 +08:00
|
|
|
explicit module intel {
|
|
|
|
requires x86
|
|
|
|
|
|
|
|
header "immintrin.h"
|
|
|
|
header "x86intrin.h"
|
|
|
|
|
|
|
|
explicit module cpuid {
|
|
|
|
header "cpuid.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module mmx {
|
|
|
|
requires mmx
|
|
|
|
header "mmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module sse {
|
|
|
|
requires sse
|
|
|
|
export mmx
|
|
|
|
header "xmmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module sse2 {
|
|
|
|
requires sse2
|
|
|
|
export sse
|
|
|
|
header "emmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module sse3 {
|
|
|
|
requires sse3
|
|
|
|
export sse2
|
|
|
|
header "pmmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module ssse3 {
|
|
|
|
requires ssse3
|
|
|
|
export sse3
|
|
|
|
header "tmmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module sse4_1 {
|
|
|
|
requires sse41
|
|
|
|
export ssse3
|
|
|
|
header "smmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module sse4_2 {
|
|
|
|
requires sse42
|
|
|
|
export sse4_1
|
|
|
|
header "nmmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module avx {
|
|
|
|
requires avx
|
|
|
|
export sse4_2
|
|
|
|
header "avxintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module avx2 {
|
|
|
|
requires avx2
|
|
|
|
export acx
|
|
|
|
header "avx2intrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module bmi {
|
|
|
|
requires bmi
|
|
|
|
header "bmiintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module bmi2 {
|
|
|
|
requires bmi2
|
|
|
|
header "bmi2intrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module fma4 {
|
|
|
|
requires fma4
|
|
|
|
export sse3
|
|
|
|
header "fma4intrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module lzcnt {
|
|
|
|
requires lzcnt
|
|
|
|
header "lzcntintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module popcnt {
|
|
|
|
requires popcnt
|
|
|
|
header "popcntintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module mm3dnow {
|
|
|
|
requires mm3dnow
|
|
|
|
header "mm3dnow.h"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// FIXME: mm_malloc.h
|
|
|
|
// FIXME: unwind.h
|
|
|
|
|
|
|
|
explicit module varargs {
|
|
|
|
requires unavailable
|
|
|
|
header "varargs.h"
|
|
|
|
}
|
2012-01-30 04:52:14 +08:00
|
|
|
}
|