From 8c8dbeda1508bb1bd5356a6b4894096efb8ccc8e Mon Sep 17 00:00:00 2001 From: x Date: Mon, 15 Jul 2019 10:32:54 +0200 Subject: [PATCH] TurboPFor: Elias fano encode/decode --- eliasfano.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/eliasfano.c b/eliasfano.c index e4947fa..84a7c72 100644 --- a/eliasfano.c +++ b/eliasfano.c @@ -1,5 +1,5 @@ /** - Copyright (C) powturbo 2013-2018 + Copyright (C) powturbo 2013-2019 GPL v2 License This program is free software; you can redistribute it and/or modify @@ -25,9 +25,6 @@ // eliasfano.c - "Integer Compression" Elias Fano #ifndef USIZE #include - #ifdef __SSE2__ -#include - #endif #pragma warning( disable : 4005) #pragma warning( disable : 4090) #pragma warning( disable : 4068) @@ -95,7 +92,7 @@ #undef EFANODEC //---------------------- - #if defined(__SSE2__) && defined(USE_SSE) + #if (defined(__SSE2__) || defined(__ARM_NEON)) && defined(USE_SSE) #define VSIZE 128 #define BITPACK bitpack128v