From daad45152a37d17cd032525ba5e606922ecbfff2 Mon Sep 17 00:00:00 2001 From: Samuel Aubertin Date: Fri, 25 Mar 2022 13:38:33 +0100 Subject: [PATCH] Fix latency for pre-SSE processors --- octopus.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/octopus.h b/octopus.h index f4dd7f3..a76e830 100644 --- a/octopus.h +++ b/octopus.h @@ -12,14 +12,11 @@ #endif #if defined(__SSE__) && !defined(__SSE2__) - #define NOSSE2 -#endif - -#ifdef NOSSE2 #define NORDTSCP #define NOMFENCE #define NOCLFLUSH -#endif //NOSSE2 + #define LATENCY 18 + 18 +#endif #ifndef NORDTSCP #define LATENCY 42 + 42