projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5f46c
)
changed default optimization from -O2 to -O3 for ARMV8
author
wernsaar
<wernsaar@googlemail.com>
Sun, 24 Nov 2013 15:19:01 +0000
(16:19 +0100)
committer
wernsaar
<wernsaar@googlemail.com>
Sun, 24 Nov 2013 15:19:01 +0000
(16:19 +0100)
Makefile.system
patch
|
blob
|
history
diff --git
a/Makefile.system
b/Makefile.system
index
aceadf2
..
5545de1
100644
(file)
--- a/
Makefile.system
+++ b/
Makefile.system
@@
-840,11
+840,19
@@
endif
ifndef COMMON_OPT
ifeq ($(ARCH), arm)
COMMON_OPT = -O3
-else
-COMMON_OPT = -O2
endif
endif
+ifndef COMMON_OPT
+ifeq ($(ARCH), arm64)
+COMMON_OPT = -O3
+endif
+endif
+
+ifndef COMMON_OPT
+COMMON_OPT = -O2
+endif
+
override CFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR)
override PFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR) -DPROFILE $(COMMON_PROF)