File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
91
91
#include <unistd.h>
92
92
#endif
93
93
94
+ #if (( defined(__GNUC__ ) && __GNUC__ > 6 && defined(__AVX2__ )) || (defined(__clang__ ) && __clang_major__ >= 6 ))
95
+ #else
96
+ #define NO_AVX512
97
+ #endif
94
98
/* #define FORCE_P2 */
95
99
/* #define FORCE_KATMAI */
96
100
/* #define FORCE_COPPERMINE */
@@ -327,6 +331,20 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
327
331
#endif
328
332
329
333
#ifdef FORCE_SKYLAKEX
334
+ #ifdef NO_AVX512
335
+ #define FORCE
336
+ #define FORCE_INTEL
337
+ #define ARCHITECTURE "X86"
338
+ #define SUBARCHITECTURE "HASWELL"
339
+ #define ARCHCONFIG "-DHASWELL " \
340
+ "-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=64 " \
341
+ "-DL2_SIZE=262144 -DL2_LINESIZE=64 " \
342
+ "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 " \
343
+ "-DHAVE_CMOV -DHAVE_MMX -DHAVE_SSE -DHAVE_SSE2 -DHAVE_SSE3 -DHAVE_SSSE3 -DHAVE_SSE4_1 -DHAVE_SSE4_2 -DHAVE_AVX " \
344
+ "-DFMA3"
345
+ #define LIBNAME "haswell"
346
+ #define CORENAME "HASWELL"
347
+ #else
330
348
#define FORCE
331
349
#define FORCE_INTEL
332
350
#define ARCHITECTURE "X86"
@@ -340,6 +358,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
340
358
#define LIBNAME "skylakex"
341
359
#define CORENAME "SKYLAKEX"
342
360
#endif
361
+ #endif
343
362
344
363
#ifdef FORCE_ATOM
345
364
#define FORCE
You can’t perform that action at this time.
0 commit comments