summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Franzmann2020-07-19 14:04:55 +0200
committerFlorian Franzmann2020-07-19 17:51:38 +0200
commita7f57d4a033a82c2eed68bad1597cb1473dbf48f (patch)
tree9febb1f9184b3daf576e70d31a01179379ec83bd
parentcafe209341a33cd39675e4b54163bad84e04f77b (diff)
Add archspec for sandybridgeHEADmaster
-rwxr-xr-x64/x86_64/intel/em64t/sandybridge14
1 files changed, 14 insertions, 0 deletions
diff --git a/64/x86_64/intel/em64t/sandybridge b/64/x86_64/intel/em64t/sandybridge
new file mode 100755
index 0000000..e8d47e5
--- /dev/null
+++ b/64/x86_64/intel/em64t/sandybridge
@@ -0,0 +1,14 @@
+CPUNAME="Intel Core Sandybridge"
+
+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=sandybridge -fPIC -DPIC"
+fi
+
+HOST="x86_64-pc-linux-${HOST_LIBC:-gnu}"
+FAST="-O3"
+SMALL="-Os"
+