aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/arch
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-06 13:45:18 +0000
committerlloyd <[email protected]>2009-11-06 13:45:18 +0000
commitf3c92264410c709e2a3ebf88ea3a67badf298c1c (patch)
tree08052c5615015cee4bfd14783ae48f3f694188d5 /src/build-data/arch
parent56c3c044215f36fe00c9a8a2e06a84f969996cb7 (diff)
Generate SIMD macro flags for build.h from data in build-data/arch for
SSE2, SSSE3, NEON, and AltiVec. Add entries for Intel Atom, POWER6 and POWER7, and the Cortex A8 and A9.
Diffstat (limited to 'src/build-data/arch')
-rw-r--r--src/build-data/arch/amd64.txt5
-rw-r--r--src/build-data/arch/arm.txt6
-rw-r--r--src/build-data/arch/ia32.txt6
-rw-r--r--src/build-data/arch/ppc.txt4
-rw-r--r--src/build-data/arch/ppc64.txt6
5 files changed, 27 insertions, 0 deletions
diff --git a/src/build-data/arch/amd64.txt b/src/build-data/arch/amd64.txt
index 96da0e3a9..f4012c150 100644
--- a/src/build-data/arch/amd64.txt
+++ b/src/build-data/arch/amd64.txt
@@ -23,3 +23,8 @@ amdopteron -> opteron
athlon64 -> opteron
k8 -> opteron
</submodel_aliases>
+
+<simd>
+sse2:all
+ssse3:core2
+</simd>
diff --git a/src/build-data/arch/arm.txt b/src/build-data/arch/arm.txt
index 5f05d4cad..7f8799ad6 100644
--- a/src/build-data/arch/arm.txt
+++ b/src/build-data/arch/arm.txt
@@ -11,6 +11,8 @@ strongarm
strongarm110
strongarm1100
xscale
+cortex-a8
+cortex-a9
</submodels>
<submodel_aliases>
@@ -19,3 +21,7 @@ sa1100 -> strongarm1100
strongarm1110 -> strongarm1100
armv5tel -> xscale
</submodel_aliases>
+
+<simd>
+neon:cortex-a8,cortex-a9
+</simd>
diff --git a/src/build-data/arch/ia32.txt b/src/build-data/arch/ia32.txt
index 0fe665e68..62a7070e5 100644
--- a/src/build-data/arch/ia32.txt
+++ b/src/build-data/arch/ia32.txt
@@ -22,6 +22,7 @@ pentium-m
prescott
k6
athlon
+atom
</submodels>
<submodel_aliases>
@@ -56,3 +57,8 @@ intelcput2500 -> prescott
intelcput2600 -> prescott
intelcput2700 -> prescott
</submodel_aliases>
+
+<simd>
+sse2:pentium4,prescott,pentium-m,atom
+ssse3:atom
+</simd>
diff --git a/src/build-data/arch/ppc.txt b/src/build-data/arch/ppc.txt
index 254643fdd..5e96be3c3 100644
--- a/src/build-data/arch/ppc.txt
+++ b/src/build-data/arch/ppc.txt
@@ -21,3 +21,7 @@ ppc750
ppc7400
ppc7450
</submodels>
+
+<simd>
+altivec:ppc7400,ppc7450
+</simd>
diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt
index f044ba98d..9602012ed 100644
--- a/src/build-data/arch/ppc64.txt
+++ b/src/build-data/arch/ppc64.txt
@@ -16,9 +16,15 @@ ppc970
power3
power4
power5
+power6
+power7
cellppu
</submodels>
<submodel_aliases>
cellbroadbandengine -> cellppu
</submodel_aliases>
+
+<simd>
+altivec:cellppu,ppc970,power6,power7
+</simd>