Download raw

Created: 2023-12-19 03:40:10.302489 UTC

Size: 3992

Preview (limited to 512 bytes)

"/*\n * The original code was developed by Samuel Neves, and has been\n * only lightly modified.\n *\n * Used with permission.\n */\n#pragma GCC target(\"sse2\")\n\n#include <emmintrin.h>\n#include \"siphash.h\"\n\n#define _mm_roti_epi64(x, c) ((16 == (c)) ? _mm_shufflelo_epi16((x), _MM_SHUFFLE(2,1,0,3)) : _mm_xor_si128(_mm_slli_epi64((x), (c)), _mm_srli_epi64((x), 64-(c))))\n\nu64 hashable_siphash24_sse2(u64 ik0, u64 ik1, const u8 *m, size_t n)\n{\n\t__m128i v0, v1, v2, v3;\n\t__m128i k0, k1;\n\t__m128i mi, mask, len;\n\tsize_t i, k"

Casa is a service provided by the Haskell Foundation │ Originally developed by FP Complete