summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Franzmann2020-07-19 12:01:39 +0200
committerFlorian Franzmann2020-07-19 12:01:39 +0200
commitcafe209341a33cd39675e4b54163bad84e04f77b (patch)
tree40d63e7a4e88773d52b712122b19c4b48a91259a
parent6f6759d2c252af5b0574e720f2d47357ef7b4e73 (diff)
Add archspec for ivybridge
-rwxr-xr-x64/x86_64/intel/em64t/ivybridge14
1 files changed, 14 insertions, 0 deletions
diff --git a/64/x86_64/intel/em64t/ivybridge b/64/x86_64/intel/em64t/ivybridge
new file mode 100755
index 0000000..4419c2a
--- /dev/null
+++ b/64/x86_64/intel/em64t/ivybridge
@@ -0,0 +1,14 @@
+CPUNAME="Intel Core Ivybridge"
+
+if use_gcc 3.3. || use_gcc 3.4. || use_gcc 4.0. || use_gcc 4.1. || use_gcc 4.2.; then
+ CFLAGS="-march=nocona -fPIC -DPIC"
+elif use_gcc2 ; then
+ CFLAGS="-march=i686"
+else
+ CFLAGS="-march=ivybridge -maes -fPIC -DPIC"
+fi
+
+HOST="x86_64-pc-linux-${HOST_LIBC:-gnu}"
+FAST="-O3"
+SMALL="-Os"
+