From aa339506db571167a3217fda3eceb699444b005b Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Sat, 1 Aug 2020 19:19:10 +0200 Subject: [PATCH] Small target adjustments --- src/Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Makefile b/src/Makefile index 70df0706..7b00312a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -131,6 +131,14 @@ ifeq ($(ARCH),x86-64-sse3) sse3 = yes endif +ifeq ($(ARCH),x86-64-sse3-popcnt) + arch = x86_64 + prefetch = yes + sse = yes + sse3 = yes + popcnt = yes +endif + ifeq ($(ARCH),x86-64-ssse3) arch = x86_64 prefetch = yes @@ -139,13 +147,14 @@ ifeq ($(ARCH),x86-64-ssse3) ssse3 = yes endif -ifeq ($(ARCH),x86-64-ssse3-popcnt) +ifeq ($(ARCH),x86-64-sse41) arch = x86_64 prefetch = yes popcnt = yes sse = yes sse3 = yes ssse3 = yes + sse41 = yes endif ifeq ($(ARCH),x86-64-modern) @@ -155,15 +164,6 @@ ifeq ($(ARCH),x86-64-modern) sse = yes sse3 = yes ssse3 = yes -endif - -ifeq ($(ARCH),x86-64-sse41) - arch = x86_64 - prefetch = yes - popcnt = yes - sse = yes - sse3 = yes - ssse3 = yes sse41 = yes endif @@ -551,10 +551,10 @@ help: @echo "x86-64-bmi2 > x86 64-bit with bmi2 support" @echo "x86-64-avx2 > x86 64-bit with avx2 support" @echo "x86-64-sse42 > x86 64-bit with sse42 support" + @echo "x86-64-modern > x86 64-bit with sse41 support (x86-64-sse41)" @echo "x86-64-sse41 > x86 64-bit with sse41 support" - @echo "x86-64-modern > x86 64-bit with ssse3 and popcnt support (x86-64-ssse3-popcnt)" - @echo "x86-64-ssse3-popcnt > x86 64-bit with ssse3 and popcnt support" @echo "x86-64-ssse3 > x86 64-bit with ssse3 support" + @echo "x86-64-sse3-popcnt > x86 64-bit with sse3 and popcnt support" @echo "x86-64-sse3 > x86 64-bit with sse3 support" @echo "x86-64 > x86 64-bit generic" @echo "x86-32 > x86 32-bit (also enables SSE)"