Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Richard Gobeille
EDuke32
Commits
d0e90663
Commit
d0e90663
authored
May 28, 2022
by
Richard Gobeille
Browse files
Makefile: bump -march from nocona to core2 for x86_64
parent
c8524f3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Common.mak
View file @
d0e90663
...
...
@@ -544,15 +544,12 @@ COMPILERFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
ifndef
OPTOPT
ifeq
($(findstring x86_64, $(IMPLICIT_ARCH)),x86_64)
ifeq
($(findstring x86_64h, $(IMPLICIT_ARCH)),x86_64h)
OPTOPT
:=
-march
=
haswell
-mmmx
-msse
-msse2
-msse3
-mssse3
-msse4
.1
-msse4
.2
-mpopcnt
-mpclmul
-mavx
-mrdrnd
-mf16c
-mfsgsbase
-mavx2
-maes
-mfma
-mbmi
-mbmi2
OPTOPT
:=
-march
=
haswell
-msse4
.1
-msse4
.2
-mpopcnt
-mpclmul
-mavx
-mrdrnd
-mf16c
-mfsgsbase
-mavx2
-maes
-mfma
-mbmi
-mbmi2
# -mcrc32 -mmovbe
else
ifeq
($(PLATFORM),DARWIN)
OPTOPT
:=
-march
=
core2
-mmmx
-msse
-msse2
-msse3
-mssse3
else
OPTOPT
:=
-march
=
nocona
endif
OPTOPT
:=
-march
=
core2
endif
OPTOPT
+=
-mmmx
-msse
-msse2
-msse3
-mssse3
-mfpmath
=
sse
endif
ifeq
($(findstring i386, $(IMPLICIT_ARCH)),i386)
ifeq
($(PLATFORM),DARWIN)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment