aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/arch')
-rw-r--r--src/build-data/arch/alpha.txt1
-rw-r--r--src/build-data/arch/amd64.txt25
-rw-r--r--src/build-data/arch/arm.txt8
-rw-r--r--src/build-data/arch/hitachi-sh.txt2
-rw-r--r--src/build-data/arch/hppa.txt2
-rw-r--r--src/build-data/arch/ia32.txt8
-rw-r--r--src/build-data/arch/ia64.txt13
-rw-r--r--src/build-data/arch/m68k.txt2
-rw-r--r--src/build-data/arch/mips32.txt2
-rw-r--r--src/build-data/arch/mips64.txt2
-rw-r--r--src/build-data/arch/ppc.txt6
-rw-r--r--src/build-data/arch/ppc64.txt8
-rw-r--r--src/build-data/arch/s390.txt2
-rw-r--r--src/build-data/arch/s390x.txt2
-rw-r--r--src/build-data/arch/sparc32.txt4
-rw-r--r--src/build-data/arch/sparc64.txt12
16 files changed, 51 insertions, 48 deletions
diff --git a/src/build-data/arch/alpha.txt b/src/build-data/arch/alpha.txt
index b1d939ed1..2bf72edef 100644
--- a/src/build-data/arch/alpha.txt
+++ b/src/build-data/arch/alpha.txt
@@ -1,4 +1,3 @@
-default_submodel alpha-ev4
endian little
<aliases>
diff --git a/src/build-data/arch/amd64.txt b/src/build-data/arch/amd64.txt
index 96da0e3a9..58d1d3fa6 100644
--- a/src/build-data/arch/amd64.txt
+++ b/src/build-data/arch/amd64.txt
@@ -1,17 +1,20 @@
-default_submodel opteron
-
endian little
unaligned ok
<aliases>
x86-64
x86_64 # for RPM
+em64t
+x64
</aliases>
<submodels>
-opteron
-em64t
+k8
+k10
+nocona
core2
+nehalem
+westmere
</submodels>
<submodel_aliases>
@@ -19,7 +22,15 @@ core2duo -> core2
intelcore2 -> core2
intelcore2duo -> core2
-amdopteron -> opteron
-athlon64 -> opteron
-k8 -> opteron
+sledgehammer -> k8
+opteron -> k8
+amdopteron -> k8
+athlon64 -> k8
+barcelona -> k10
</submodel_aliases>
+
+<isa_extn>
+sse2:all
+ssse3:core2,nehalem,westmere
+aes_ni:westmere
+</isa_extn>
diff --git a/src/build-data/arch/arm.txt b/src/build-data/arch/arm.txt
index 5f05d4cad..77f15b1d9 100644
--- a/src/build-data/arch/arm.txt
+++ b/src/build-data/arch/arm.txt
@@ -1,5 +1,3 @@
-default_submodel arm2
-
<submodels>
arm2
arm3
@@ -11,6 +9,8 @@ strongarm
strongarm110
strongarm1100
xscale
+cortex-a8
+cortex-a9
</submodels>
<submodel_aliases>
@@ -19,3 +19,7 @@ sa1100 -> strongarm1100
strongarm1110 -> strongarm1100
armv5tel -> xscale
</submodel_aliases>
+
+<isa_extn>
+neon:cortex-a8,cortex-a9
+</isa_extn>
diff --git a/src/build-data/arch/hitachi-sh.txt b/src/build-data/arch/hitachi-sh.txt
index 85a741f59..bab84b48f 100644
--- a/src/build-data/arch/hitachi-sh.txt
+++ b/src/build-data/arch/hitachi-sh.txt
@@ -1,5 +1,3 @@
-default_submodel hitachi-sh1
-
<submodels>
hitachi-sh1
hitachi-sh2
diff --git a/src/build-data/arch/hppa.txt b/src/build-data/arch/hppa.txt
index 67bca263d..0f7d90c68 100644
--- a/src/build-data/arch/hppa.txt
+++ b/src/build-data/arch/hppa.txt
@@ -1,5 +1,3 @@
-default_submodel hppa1.0
-
<aliases>
hp-pa
parisc
diff --git a/src/build-data/arch/ia32.txt b/src/build-data/arch/ia32.txt
index 0fe665e68..40066851d 100644
--- a/src/build-data/arch/ia32.txt
+++ b/src/build-data/arch/ia32.txt
@@ -1,5 +1,3 @@
-default_submodel i386
-
endian little
unaligned ok
@@ -22,6 +20,7 @@ pentium-m
prescott
k6
athlon
+atom
</submodels>
<submodel_aliases>
@@ -56,3 +55,8 @@ intelcput2500 -> prescott
intelcput2600 -> prescott
intelcput2700 -> prescott
</submodel_aliases>
+
+<isa_extn>
+sse2:pentium4,prescott,pentium-m,atom
+ssse3:atom
+</isa_extn>
diff --git a/src/build-data/arch/ia64.txt b/src/build-data/arch/ia64.txt
index 65309f0ff..55967d5ab 100644
--- a/src/build-data/arch/ia64.txt
+++ b/src/build-data/arch/ia64.txt
@@ -1,13 +1,14 @@
-# This is safe: only affects tuning, not ISA
-default_submodel itanium2
-
<aliases>
-merced
itanium
+itanic
</aliases>
<submodels>
-itanium1
-itanium2
+merced
mckinley
+montvale
</submodels>
+
+<submodel_aliases>
+itanium2 -> mckinley
+</submodel_aliases>
diff --git a/src/build-data/arch/m68k.txt b/src/build-data/arch/m68k.txt
index 3a8b5e8b3..691c45b92 100644
--- a/src/build-data/arch/m68k.txt
+++ b/src/build-data/arch/m68k.txt
@@ -1,5 +1,3 @@
-default_submodel 68020
-
endian big
# Except for Coldfire
diff --git a/src/build-data/arch/mips32.txt b/src/build-data/arch/mips32.txt
index ec9d4b5bf..b69abdacb 100644
--- a/src/build-data/arch/mips32.txt
+++ b/src/build-data/arch/mips32.txt
@@ -1,5 +1,3 @@
-default_submodel r3000
-
<aliases>
mips
mipsel # For Debian
diff --git a/src/build-data/arch/mips64.txt b/src/build-data/arch/mips64.txt
index 666ba7e18..a2fd5849b 100644
--- a/src/build-data/arch/mips64.txt
+++ b/src/build-data/arch/mips64.txt
@@ -1,5 +1,3 @@
-default_submodel r4400
-
<submodels>
r4000
r4100
diff --git a/src/build-data/arch/ppc.txt b/src/build-data/arch/ppc.txt
index 254643fdd..811eb53e7 100644
--- a/src/build-data/arch/ppc.txt
+++ b/src/build-data/arch/ppc.txt
@@ -1,8 +1,6 @@
endian big
unaligned ok
-default_submodel ppc604
-
<aliases>
powerpc
</aliases>
@@ -21,3 +19,7 @@ ppc750
ppc7400
ppc7450
</submodels>
+
+<isa_extn>
+altivec:ppc7400,ppc7450
+</isa_extn>
diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt
index f044ba98d..b99aa9b8b 100644
--- a/src/build-data/arch/ppc64.txt
+++ b/src/build-data/arch/ppc64.txt
@@ -1,7 +1,5 @@
endian big
-default_submodel power4
-
<aliases>
powerpc64
</aliases>
@@ -16,9 +14,15 @@ ppc970
power3
power4
power5
+power6
+power7
cellppu
</submodels>
<submodel_aliases>
cellbroadbandengine -> cellppu
</submodel_aliases>
+
+<isa_extn>
+altivec:cellppu,ppc970,power6,power7
+</isa_extn>
diff --git a/src/build-data/arch/s390.txt b/src/build-data/arch/s390.txt
index 8024a4315..6e9f99f12 100644
--- a/src/build-data/arch/s390.txt
+++ b/src/build-data/arch/s390.txt
@@ -1,5 +1,3 @@
-default_submodel s390
-
endian big
unaligned ok
diff --git a/src/build-data/arch/s390x.txt b/src/build-data/arch/s390x.txt
index 00daab8b4..6f4271607 100644
--- a/src/build-data/arch/s390x.txt
+++ b/src/build-data/arch/s390x.txt
@@ -1,5 +1,3 @@
-default_submodel s390x
-
endian big
unaligned ok
diff --git a/src/build-data/arch/sparc32.txt b/src/build-data/arch/sparc32.txt
index 57b19c519..ae75a2a4b 100644
--- a/src/build-data/arch/sparc32.txt
+++ b/src/build-data/arch/sparc32.txt
@@ -1,7 +1,3 @@
-# V7 doesn't have integer multiply, so it will be bitterly slow for some things
-# (especially BigInt). Also, it's fairly rare nowadays, so we default to V8.
-default_submodel sparc32-v8
-
endian big
<aliases>
diff --git a/src/build-data/arch/sparc64.txt b/src/build-data/arch/sparc64.txt
index e308055fa..a1ed16549 100644
--- a/src/build-data/arch/sparc64.txt
+++ b/src/build-data/arch/sparc64.txt
@@ -1,13 +1,9 @@
-default_submodel sparc64-ultra
-
<submodels>
-sparc64-ultra
-sparc64-ultra2
-sparc64-ultra3
+ultrasparc
+ultrasparc3
</submodels>
<submodel_aliases>
-ultrasparc -> sparc64-ultra
-ultrasparc2 -> sparc64-ultra2
-ultrasparc3 -> sparc64-ultra3
+# Functionally the same for optimization purposes
+ultrasparc2 -> ultrasparc
</submodel_aliases>