Skip to content

Commit

Permalink
Merge pull request #51 from ajblane/sse-configuration
Browse files Browse the repository at this point in the history
Revise SSE-specific configurations
  • Loading branch information
jserv committed Aug 1, 2018
2 parents 70c7c88 + c961148 commit 027e7f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SSE_S := $(shell grep -o sse /proc/cpuinfo | head -n 1)
ifeq ("$(BUILD_AVX)","1")
CFLAGS += -mavx -mavx2 -DENABLE_AVX
else
ifeq ($(SSE_S),sse)
ifeq ("$(BUILD_SSE)"_$(SSE_S),"1"_sse)
CFLAGS += -msse2 -DENABLE_SSE
endif
endif
Expand All @@ -52,7 +52,7 @@ TESTS += \
pow_avx \
multi_pow_cpu
else
ifeq ($(SSE_S),sse)
ifeq ("$(BUILD_SSE)"_$(SSE_S),"1"_sse)
TESTS += \
pow_sse \
multi_pow_cpu
Expand Down Expand Up @@ -90,7 +90,7 @@ OBJS = \
ifeq ("$(BUILD_AVX)","1")
OBJS += pow_avx.o
else
ifeq ($(SSE_S),sse)
ifeq ("$(BUILD_SSE)"_$(SSE_S),"1"_sse)
OBJS += pow_sse.o
else
OBJS += pow_c.o
Expand Down

0 comments on commit 027e7f9

Please sign in to comment.