IcBench: Integer Compression codecs

This commit is contained in:
x
2018-03-02 17:11:31 +01:00
parent d1930d66a3
commit 1bc5696c85

35
plugins.cc Normal file → Executable file
View File

@ -47,22 +47,16 @@
#endif #endif
#endif #endif
#ifdef NCODEC #ifdef CODEC1
#define CODEC0 0
#else
#define CODEC0 1
#endif
#ifdef NCODEC1
#define CODEC1 0
#else
#define CODEC1 1 #define CODEC1 1
#else
#define CODEC1 0
#endif #endif
#ifdef NCODEC2 #ifdef CODEC2
#define CODEC2 0
#else
#define CODEC2 1 #define CODEC2 1
#else
#define CODEC2 0
#endif #endif
#ifdef LZTURBO #ifdef LZTURBO
@ -71,11 +65,6 @@
#define C_LZTURBO 0 #define C_LZTURBO 0
#endif #endif
#ifdef NTRANSFORM
#define TRANSFORM 0
#else
#define TRANSFORM 1
#endif
#ifdef BLOSC #ifdef BLOSC
#define C_C_BLOSC CODEC2 #define C_C_BLOSC CODEC2
#else #else
@ -125,21 +114,21 @@ enum {
TB_BPN256V, TB_BPN256V,
TB_EF128V, TB_EF128V,
TB_EF256V, TB_EF256V,
#define C_BITSHUFFLE CODEC1 #define C_BITSHUFFLE CODEC2
P_BITSHUFFLE, P_BITSHUFFLE,
P_BS_LZ, P_BS_LZ,
P_BS_LZ4, P_BS_LZ4,
P_BS_ZLIB, P_BS_ZLIB,
P_BS_SHUFFLE, P_BS_SHUFFLE,
#define C_FASTPFOR CODEC1 #define C_FASTPFOR CODEC2
FP_VBYTE, FP_VBYTE,
FP_FASTPFOR, FP_FASTPFOR,
FP_SIMDFASTPFOR,
FP_SIMDOPTPFOR,
FP_OPTPFOR, FP_OPTPFOR,
FP_SIMPLE8BRLE, FP_SIMPLE8BRLE,
FP_SIMDPACK, FP_SIMDPACK,
FP_GROUPSIMPLE, FP_GROUPSIMPLE,
FP_SIMDFASTPFOR,
FP_SIMDOPTPFOR,
#define C_LIBFOR CODEC1 #define C_LIBFOR CODEC1
LF_FOR, LF_FOR,
LF_FORX, LF_FORX,
@ -163,7 +152,7 @@ enum {
#else #else
#define C_MASKEDVBYTE 0 #define C_MASKEDVBYTE 0
#endif #endif
#define C_POLYCOM CODEC1 #define C_POLYCOM CODEC2
PC_OPTPFD, // compression too slow and limited to 28 bits. crashs on some lists PC_OPTPFD, // compression too slow and limited to 28 bits. crashs on some lists
PC_VBYTE, PC_VBYTE,
PC_RICE, // incl. only as demo, crash on some lists PC_RICE, // incl. only as demo, crash on some lists
@ -180,7 +169,7 @@ enum {
SC_SIMDPACK256, SC_SIMDPACK256,
SC_FOR, SC_FOR,
SC_FORDA, SC_FORDA,
#define C_SIMPLE8B CODEC1 //crash on integers w. size 32 bits ! #define C_SIMPLE8B CODEC2 //crash on integers w. size 32 bits !
AM_SIMPLE8B, AM_SIMPLE8B,
#define C_STREAMVBYTE CODEC1 #define C_STREAMVBYTE CODEC1
P_STREAMVBYTE, P_STREAMVBYTE,