mavx only for windows by default, let them eat march native.
This commit is contained in:
parent
981d5ba866
commit
b9f06a7670
1 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -99,9 +99,9 @@ endif
|
||||||
# feel free to update the Makefile for your architecture and send a pull request or issue
|
# feel free to update the Makefile for your architecture and send a pull request or issue
|
||||||
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
|
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
|
||||||
# Use all CPU extensions that are available:
|
# Use all CPU extensions that are available:
|
||||||
CFLAGS += -mavx
|
|
||||||
# old library NEEDS mf16c to work. so we must build with it. new one doesnt
|
# old library NEEDS mf16c to work. so we must build with it. new one doesnt
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
|
CFLAGS += -mavx
|
||||||
BONUSCFLAGS1 += -mf16c
|
BONUSCFLAGS1 += -mf16c
|
||||||
BONUSCFLAGS2 += -mavx2 -msse3 -mfma
|
BONUSCFLAGS2 += -mavx2 -msse3 -mfma
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue