OSDN Git Service

CPU flag CPU_TYPE_X64_AVX now means AVX+AVX2 support is available, instead of just...
authorLoRd_MuldeR <mulder2@gmx.de>
Sun, 9 Oct 2022 12:07:42 +0000 (14:07 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Sun, 9 Oct 2022 12:07:42 +0000 (14:07 +0200)
commit4091581bb80de5b2313cac13ac604e302337ab7f
tree7059d5d4c45dadcb91c2b4d853dcbd72f81f593b
parent6301e57a134e3b93375284d168218b5c88b00561
CPU flag CPU_TYPE_X64_AVX now means AVX+AVX2 support is available, instead of just AVX support.
This allows us to have AVX+AVX2-optimized binaries from now on.
Also, there are few CPUs that support AVX but not AVX2. Pretty much all modern CPUs support AVX+AVX2.
The few CPUs that support only AVX (but not AVX2) will fall back to SSE2. So what?
res/Tools.mac-x64-avx.qrc [deleted file]
res/Tools.mac-x64-avx2.qrc [new file with mode: 0644]
res/_ALL.qrc
res/tools/mac.x64-avx.exe [deleted file]
res/tools/mac.x64-avx2.exe [new file with mode: 0644]
src/Config.h
src/Thread_Initialization.cpp
src/Tools.h