Skip to content

Commit

Permalink
Need defines for Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
josiahcarlson authored and rurban committed May 5, 2024
1 parent b4f7ecb commit 9f7a979
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crccombine.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@


/* mask types */
#if defined(__i386__) || defined(__X86_64__)
typedef unsigned long long v2uq __attribute__ ((vector_size (16)));

uint64_t gf2_matrix_times_vec2(uint64_t *mat, uint64_t vec);
#else
uint64_t gf2_matrix_times_switch(uint64_t *mat, uint64_t vec);
#endif
void init_combine_cache(uint64_t poly, uint8_t dim);
uint64_t crc64_combine(uint64_t crc1, uint64_t crc2, uintmax_t len2, uint64_t poly, uint8_t dim);

0 comments on commit 9f7a979

Please sign in to comment.