From 576f3992c3da1f97cc5228b26bc821331c8294e1 Mon Sep 17 00:00:00 2001 From: x Date: Sat, 6 Jan 2018 21:22:48 +0100 Subject: [PATCH] TurboPFor: Bit Unpacking --- bitunpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitunpack.c b/bitunpack.c index d231a0d..ca270fb 100644 --- a/bitunpack.c +++ b/bitunpack.c @@ -89,7 +89,7 @@ typedef unsigned char *(*BITUNPACK_D64)(const unsigned char *__restrict in, unsi #define BITNUNPACK(in, n, out, csize, usize) {\ unsigned char *ip = in;\ - for(op = out,out+=n; op < out;) { unsigned oplen = out - op,b; if(oplen > csize) oplen = csize; PREFETCH(in+512,0);\ + for(op = out,out+=n; op < out;) { unsigned oplen = out - op,b; if(oplen > csize) oplen = csize; PREFETCH(in+512);\ b = *ip++; ip = TEMPLATE2(bitunpacka, usize)[b](ip, oplen, op);\ op += oplen;\ } \