Browse Source

Add -mavx2 to TARGET=HASWELL builds

to leverage improvements from PR#1921
tags/v0.3.5
Martin Kroeker GitHub 6 years ago
parent
commit
43c2b0eb55
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      Makefile.x86_64

+ 11
- 0
Makefile.x86_64 View File

@@ -25,6 +25,17 @@ endif
endif
endif

ifeq ($(CORE), HASWELL)
ifndef DYNAMIC_ARCH
ifndef NO_AVX2
CCOMMON_OPT += -mavx2
FCOMMON_OPT += -mavx2
endif
endif
endif



ifeq ($(OSNAME), Interix)
ARFLAGS = -m x64
endif


Loading…
Cancel
Save