Fix latency for pre-SSE processors

This commit is contained in:
Samuel Aubertin 2022-03-25 13:38:33 +01:00
parent 0f0dd946cd
commit daad45152a

View File

@ -12,14 +12,11 @@
#endif #endif
#if defined(__SSE__) && !defined(__SSE2__) #if defined(__SSE__) && !defined(__SSE2__)
#define NOSSE2
#endif
#ifdef NOSSE2
#define NORDTSCP #define NORDTSCP
#define NOMFENCE #define NOMFENCE
#define NOCLFLUSH #define NOCLFLUSH
#endif //NOSSE2 #define LATENCY 18 + 18
#endif
#ifndef NORDTSCP #ifndef NORDTSCP
#define LATENCY 42 + 42 #define LATENCY 42 + 42