2012-02-01 05:57:50 +08:00
|
|
|
module _Builtin_intrinsics [system] {
|
|
|
|
explicit module altivec {
|
|
|
|
requires altivec
|
|
|
|
header "altivec.h"
|
|
|
|
}
|
|
|
|
|
2013-05-20 22:07:18 +08:00
|
|
|
explicit module arm {
|
|
|
|
requires arm
|
|
|
|
|
|
|
|
explicit module neon {
|
|
|
|
requires neon
|
|
|
|
header "arm_neon.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-01-30 14:38:25 +08:00
|
|
|
explicit module intel {
|
|
|
|
requires x86
|
2012-02-03 02:42:48 +08:00
|
|
|
export *
|
2012-01-30 14:38:25 +08:00
|
|
|
|
|
|
|
header "immintrin.h"
|
|
|
|
header "x86intrin.h"
|
|
|
|
|
2012-02-03 02:42:48 +08:00
|
|
|
explicit module mm_malloc {
|
|
|
|
header "mm_malloc.h"
|
|
|
|
export * // note: for <stdlib.h> dependency
|
|
|
|
}
|
|
|
|
|
2012-01-30 14:38:25 +08:00
|
|
|
explicit module cpuid {
|
2013-04-04 10:55:24 +08:00
|
|
|
requires x86
|
2012-01-30 14:38:25 +08:00
|
|
|
header "cpuid.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module mmx {
|
|
|
|
requires mmx
|
|
|
|
header "mmintrin.h"
|
|
|
|
}
|
|
|
|
|
2012-11-06 04:11:10 +08:00
|
|
|
explicit module f16c {
|
|
|
|
requires f16c
|
|
|
|
header "f16cintrin.h"
|
|
|
|
}
|
|
|
|
|
2012-01-30 14:38:25 +08:00
|
|
|
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"
|
|
|
|
}
|
|
|
|
|
2012-11-06 04:11:10 +08:00
|
|
|
explicit module sse4a {
|
|
|
|
requires sse4a
|
|
|
|
export sse3
|
2012-11-06 04:41:30 +08:00
|
|
|
header "ammintrin.h"
|
2012-11-06 04:11:10 +08:00
|
|
|
}
|
|
|
|
|
2012-01-30 14:38:25 +08:00
|
|
|
explicit module avx {
|
|
|
|
requires avx
|
|
|
|
export sse4_2
|
|
|
|
header "avxintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module avx2 {
|
|
|
|
requires avx2
|
2012-01-31 02:49:05 +08:00
|
|
|
export avx
|
2012-01-30 14:38:25 +08:00
|
|
|
header "avx2intrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module bmi {
|
|
|
|
requires bmi
|
|
|
|
header "bmiintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module bmi2 {
|
|
|
|
requires bmi2
|
|
|
|
header "bmi2intrin.h"
|
|
|
|
}
|
|
|
|
|
2012-11-06 04:11:10 +08:00
|
|
|
explicit module fma {
|
|
|
|
requires fma
|
|
|
|
header "fmaintrin.h"
|
|
|
|
}
|
|
|
|
|
2012-01-30 14:38:25 +08:00
|
|
|
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"
|
|
|
|
}
|
2012-11-06 04:11:10 +08:00
|
|
|
|
|
|
|
explicit module xop {
|
|
|
|
requires xop
|
|
|
|
export fma4
|
|
|
|
header "xopintrin.h"
|
|
|
|
}
|
2012-11-06 07:30:26 +08:00
|
|
|
|
|
|
|
explicit module aes_pclmul {
|
|
|
|
requires aes, pclmul
|
|
|
|
header "wmmintrin.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module aes {
|
|
|
|
requires aes
|
|
|
|
header "__wmmintrin_aes.h"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module pclmul {
|
|
|
|
requires pclmul
|
|
|
|
header "__wmmintrin_pclmul.h"
|
|
|
|
}
|
2012-01-30 14:38:25 +08:00
|
|
|
}
|
2012-01-30 04:52:14 +08:00
|
|
|
}
|