Skip to content
Permalink
Browse files

style

  • Loading branch information...
faragon committed Apr 14, 2019
1 parent af48e73 commit 078b337aff3a09b41a51aec946382123bba7e3ef
Showing with 18 additions and 16 deletions.
  1. +2 −2 make_test.sh
  2. +16 −14 test/histogram.h
@@ -95,7 +95,8 @@ TEST_FLAGS[11]="CPP11=1"
TEST_FLAGS[12]="C99=0"
TEST_FLAGS[13]="C99=1"
TEST_FLAGS[14]="${TEST_FLAGS[0]} ADD_FLAGS=-DS_DISABLE_SM_STRING_OPTIMIZATION"
TEST_FLAGS[15]="${TEST_FLAGS[0]} ADD_FLAGS=-DS_CRC32_SLC=0 ADD_FLAGS2=-DS_DISABLE_SEARCH_GUARANTEE"
TEST_FLAGS[15]="${TEST_FLAGS[0]} ADD_FLAGS=-DS_CRC32_SLC=0 \
ADD_FLAGS2=-DS_DISABLE_SEARCH_GUARANTEE"
TEST_FLAGS[16]="${TEST_FLAGS[0]} ADD_FLAGS=-DS_CRC32_SLC=1"
TEST_FLAGS[17]="${TEST_FLAGS[0]} ADD_FLAGS=-DS_CRC32_SLC=4"
TEST_FLAGS[18]="${TEST_FLAGS[0]} ADD_FLAGS=-DS_CRC32_SLC=8"
@@ -283,7 +284,6 @@ fi

$MAKE clean


if (($TMUX & 32)) ; then
echo "Autoconf build:"
for j in ./bootstrap.sh ./configure "make -j $NPROCS" \
@@ -186,22 +186,23 @@ int main(int argc, const char **argv)
break;
case 5 << 4 | HM_Map:
CNTLOOP(i, l, csize, buf, rep_cnt, S_M64, 5,
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffLL, k64, kp64,
sm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffLL, k64,
kp64, sm_inc_ii, int64_t);
break;
case 6 << 4 | HM_Map:
CNTLOOP(i, l, csize, buf, rep_cnt, S_M64, 6,
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffLL, k64, kp64,
sm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffLL, k64,
kp64, sm_inc_ii, int64_t);
break;
case 7 << 4 | HM_Map:
CNTLOOP(i, l, csize, buf, rep_cnt, S_M64, 7,
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffffLL, k64, kp64,
sm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffffLL, k64,
kp64, sm_inc_ii, int64_t);
break;
case 8 << 4 | HM_Map:
CNTLOOP(i, l, csize, buf, rep_cnt, S_M64, 8,
(int64_t)S_LD_LE_U64(buf + i), k64, kp64, sm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i), k64, kp64, sm_inc_ii,
int64_t);
break;
#if !defined(__cplusplus) || defined(S_HISTOGRAM_CPP_HM)
case 1 << 4 | HM_HashMap:
@@ -223,22 +224,23 @@ int main(int argc, const char **argv)
break;
case 5 << 4 | HM_HashMap:
CNTLOOP(i, l, csize, buf, rep_cnt, S_HM64, 5,
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffLL, k64, kp64,
shm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffLL, k64,
kp64, shm_inc_ii, int64_t);
break;
case 6 << 4 | HM_HashMap:
CNTLOOP(i, l, csize, buf, rep_cnt, S_HM64, 6,
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffLL, k64, kp64,
shm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffLL, k64,
kp64, shm_inc_ii, int64_t);
break;
case 7 << 4 | HM_HashMap:
CNTLOOP(i, l, csize, buf, rep_cnt, S_HM64, 7,
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffffLL, k64, kp64,
shm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i) & 0xffffffffffffffLL, k64,
kp64, shm_inc_ii, int64_t);
break;
case 8 << 4 | HM_HashMap:
CNTLOOP(i, l, csize, buf, rep_cnt, S_HM64, 8,
(int64_t)S_LD_LE_U64(buf + i), k64, kp64, shm_inc_ii, int64_t);
(int64_t)S_LD_LE_U64(buf + i), k64, kp64, shm_inc_ii,
int64_t);
break;
#endif
default:

0 comments on commit 078b337

Please sign in to comment.
You can’t perform that action at this time.