summaryrefslogtreecommitdiff
path: root/getarch.c
diff options
context:
space:
mode:
authorwernsaar <wernsaar@googlemail.com>2013-12-01 18:09:12 +0100
committerwernsaar <wernsaar@googlemail.com>2013-12-01 18:09:12 +0100
commitb3254eecafe8a0dd69db158a8451fb8200e0c48b (patch)
treede40d4071e6bbed35156f0a80eca24446adfec84 /getarch.c
parentd910404f000765c0e7e107a24a660666b6a01afe (diff)
parent2594728eb788b897a1f0bb6ca73519f8535cbd4b (diff)
downloadopenblas-b3254eecafe8a0dd69db158a8451fb8200e0c48b.tar.gz
openblas-b3254eecafe8a0dd69db158a8451fb8200e0c48b.tar.bz2
openblas-b3254eecafe8a0dd69db158a8451fb8200e0c48b.zip
Merge remote branch 'origin/haswell' into develop
Diffstat (limited to 'getarch.c')
-rw-r--r--getarch.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/getarch.c b/getarch.c
index c502f4a22..6e1938434 100644
--- a/getarch.c
+++ b/getarch.c
@@ -298,6 +298,21 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define CORENAME "SANDYBRIDGE"
#endif
+#ifdef FORCE_HASWELL
+#define FORCE
+#define FORCE_INTEL
+#define ARCHITECTURE "X86"
+#define SUBARCHITECTURE "HASWELL"
+#define ARCHCONFIG "-DHASWELL " \
+ "-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=64 " \
+ "-DL2_SIZE=262144 -DL2_LINESIZE=64 " \
+ "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 " \
+ "-DHAVE_CMOV -DHAVE_MMX -DHAVE_SSE -DHAVE_SSE2 -DHAVE_SSE3 -DHAVE_SSSE3 -DHAVE_SSE4_1 -DHAVE_SSE4_2 -DHAVE_AVX " \
+ "-DFMA3"
+#define LIBNAME "haswell"
+#define CORENAME "HASWELL"
+#endif
+
#ifdef FORCE_ATOM
#define FORCE
#define FORCE_INTEL