summaryrefslogtreecommitdiff
path: root/Makefile.system
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2020-04-19 06:50:51 +0200
committerGitHub <noreply@github.com>2020-04-19 06:50:51 +0200
commitb0b02a080d06f41d4132c75876c073fade5feb8b (patch)
tree9223fa9d33d12171ae5ca7a3729349f6c154fa35 /Makefile.system
parenta1fc98dc57f896450c3a807814ad36f541eb112f (diff)
downloadopenblas-b0b02a080d06f41d4132c75876c073fade5feb8b.tar.gz
openblas-b0b02a080d06f41d4132c75876c073fade5feb8b.tar.bz2
openblas-b0b02a080d06f41d4132c75876c073fade5feb8b.zip
Add compiler options for MIPS32 24K/1004K
Diffstat (limited to 'Makefile.system')
-rw-r--r--Makefile.system9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.system b/Makefile.system
index 2998c0e6a..51bd1c4bd 100644
--- a/Makefile.system
+++ b/Makefile.system
@@ -690,7 +690,12 @@ CCOMMON_OPT += -march=mips64
FCOMMON_OPT += -march=mips64
endif
-ifeq ($(CORE), 1004K)
+ifeq ($(CORE), MIPS24K)
+CCOMMON_OPT += -mips32r2 -mtune=24kc $(MSA_FLAGS)
+FCOMMON_OPT += -mips32r2 -mtune=24kc $(MSA_FLAGS)
+endif
+
+ifeq ($(CORE), MIPS1004K)
CCOMMON_OPT += -mips32r2 $(MSA_FLAGS)
FCOMMON_OPT += -mips32r2 $(MSA_FLAGS)
endif
@@ -1390,6 +1395,8 @@ export FUNCTION_PROFILE
export TARGET_CORE
export NO_AVX512
+export SHGEMM_UNROLL_M
+export SHGEMM_UNROLL_N
export SGEMM_UNROLL_M
export SGEMM_UNROLL_N
export DGEMM_UNROLL_M