File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ ifeq ($(COMP),gcc)
5353 CFLAGS += -m64 -march=x86-64-v3 -DUSE_GAS_X64 -DPOPCOUNT
5454 endif
5555 ifeq ($(ARCH),x86-64-v4)
56- # use -mprefer-vector-width=256 instead of -mno-evex512 for gcc-13 and earlier
57- CFLAGS += -m64 -march=x86-64-v4 -mno-evex512 -DUSE_GAS_X64 -DPOPCOUNT
56+ CFLAGS += -m64 -march=x86-64-v4 -mprefer-vector-width=256 -DUSE_GAS_X64 -DPOPCOUNT
5857 endif
5958 ifeq ($(ARCH),x86-64-v2)
6059 CFLAGS += -m64 -mpopcnt -mtune=generic -DUSE_GAS_X64 -DPOPCOUNT
@@ -178,8 +177,7 @@ ifeq ($(COMP),clang)
178177 CFLAGS += -m64 -march=x86-64-v3 -DUSE_GAS_X64 -DPOPCOUNT
179178 endif
180179 ifeq ($(ARCH),x86-64-v4)
181- # use -mprefer-vector-width=256 instead of -mno-evex512 for clang-17 and earlier
182- CFLAGS += -m64 -march=x86-64-v4 -mno-evex512 -DUSE_GAS_X64 -DPOPCOUNT
180+ CFLAGS += -m64 -march=x86-64-v4 -mprefer-vector-width=256 -DUSE_GAS_X64 -DPOPCOUNT
183181 endif
184182 ifeq ($(ARCH),x86-64-v2)
185183 CFLAGS += -m64 -mpopcnt -DUSE_GAS_X64 -DPOPCOUNT
You can’t perform that action at this time.
0 commit comments