mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Makefile: Add a special set of default optimization options when building for the Haswell-specific x86_64h architecture designation.
git-svn-id: https://svn.eduke32.com/eduke32@5776 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b1b7f13a41
commit
619f3a7a8a
1 changed files with 7 additions and 2 deletions
|
@ -390,8 +390,13 @@ endif
|
|||
|
||||
ifndef OPTOPT
|
||||
ifeq ($(findstring x86_64, $(IMPLICIT_ARCH)),x86_64)
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
OPTOPT=-march=core2 -mmmx -msse -msse2 -msse3 -mssse3
|
||||
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
|
||||
# -mcrc32 -mmovbe
|
||||
else
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
OPTOPT=-march=core2 -mmmx -msse -msse2 -msse3 -mssse3
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(findstring i386, $(IMPLICIT_ARCH)),i386)
|
||||
|
|
Loading…
Reference in a new issue