summaryrefslogtreecommitdiff
path: root/cpuid.h
diff options
context:
space:
mode:
authorZhang Xianyi <traits.zhang@gmail.com>2013-08-13 00:54:59 +0800
committerZhang Xianyi <traits.zhang@gmail.com>2013-08-13 00:54:59 +0800
commit26383708442569894c5fd3f14cdf1689f3300568 (patch)
tree1873f7040e78d621ca28f3f9f3099936fc995b5a /cpuid.h
parentc0b1e41becb6ff3e673e661056d8e203a5c1a01d (diff)
downloadopenblas-26383708442569894c5fd3f14cdf1689f3300568.tar.gz
openblas-26383708442569894c5fd3f14cdf1689f3300568.tar.bz2
openblas-26383708442569894c5fd3f14cdf1689f3300568.zip
Init code base for Intel Haswell.
Diffstat (limited to 'cpuid.h')
-rw-r--r--cpuid.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpuid.h b/cpuid.h
index 2cbbd4539..cb4404cb0 100644
--- a/cpuid.h
+++ b/cpuid.h
@@ -107,7 +107,7 @@
#define CORE_BOBCAT 21
#define CORE_BULLDOZER 22
#define CORE_PILEDRIVER 23
-#define CORE_HASWELL CORE_SANDYBRIDGE
+#define CORE_HASWELL 24
#define HAVE_SSE (1 << 0)
#define HAVE_SSE2 (1 << 1)
@@ -200,7 +200,6 @@ typedef struct {
#define CPUTYPE_BOBCAT 45
#define CPUTYPE_BULLDOZER 46
#define CPUTYPE_PILEDRIVER 47
-// this define is because BLAS doesn't have haswell specific optimizations yet
-#define CPUTYPE_HASWELL CPUTYPE_SANDYBRIDGE
+#define CPUTYPE_HASWELL 48
#endif