aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-31 14:15:26 +0000
committerlloyd <[email protected]>2012-08-31 14:15:26 +0000
commitb72900c62a5c27e588a5512e65ced402bb508871 (patch)
tree5200f1315642d5d4ca73530e03a658682f6bf2c9 /src
parente78969e9ef08de5b0f2d472e180d25ddfe8041f1 (diff)
Add a --chost option to configure that takes a GNU style triplet.
Add a couple aliases so the GNU canonical names are understood by us. Add an Ivy Bridge entry, match it up with the new GCC -march flag
Diffstat (limited to 'src')
-rw-r--r--src/build-data/arch/x86_64.txt5
-rw-r--r--src/build-data/cc/gcc.txt1
-rw-r--r--src/build-data/os/darwin.txt1
-rw-r--r--src/build-data/os/linux.txt4
4 files changed, 9 insertions, 2 deletions
diff --git a/src/build-data/arch/x86_64.txt b/src/build-data/arch/x86_64.txt
index 922daa104..8d74a193e 100644
--- a/src/build-data/arch/x86_64.txt
+++ b/src/build-data/arch/x86_64.txt
@@ -19,6 +19,7 @@ core2
nehalem
westmere
sandybridge
+ivybridge
</submodels>
<submodel_aliases>
@@ -38,6 +39,6 @@ corei7cpu860 -> nehalem
<isa_extn>
sse2:all
-ssse3:core2,nehalem,westmere,atom,sandybridge
-aes-ni:westmere,sandybridge
+ssse3:core2,nehalem,westmere,atom,sandybridge,ivybridge
+aes-ni:westmere,sandybridge,ivybridge
</isa_extn>
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 33b0cbfe6..cb142dba6 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -53,6 +53,7 @@ westmere -> "-march=corei7 -maes -momit-leaf-frame-pointer"
#westmere -> "-march=core2 -msse4.1 -msse4.2 -maes -momit-leaf-frame-pointer"
sandybridge -> "-march=corei7-avx -momit-leaf-frame-pointer"
+ivybridge -> "-march=core-avx-i -momit-leaf-frame-pointer"
atom32 -> "-march=atom -momit-leaf-frame-pointer"
ppc601 -> "-mpowerpc -mcpu=601"
diff --git a/src/build-data/os/darwin.txt b/src/build-data/os/darwin.txt
index b63abf32c..0a075eed6 100644
--- a/src/build-data/os/darwin.txt
+++ b/src/build-data/os/darwin.txt
@@ -13,5 +13,6 @@ gettimeofday
</target_features>
<aliases>
+macos
macosx
</aliases>
diff --git a/src/build-data/os/linux.txt b/src/build-data/os/linux.txt
index 4c0965764..394f7673d 100644
--- a/src/build-data/os/linux.txt
+++ b/src/build-data/os/linux.txt
@@ -7,3 +7,7 @@ posix_mlock
gmtime_r
dlopen
</target_features>
+
+<aliases>
+linux-gnu
+</aliases>