Branch: Tag:

2018-02-01

2018-02-01 16:04:43 by Stephen R. van den Berg <srb@cuci.nl>

reorder: Optimise alignment check, force alignment for __int128, update prototype.

On amd64 gcc 7.2 accesses to __int128 are assumed to be 16-byte aligned.

219:   p_wchar1 *MEMCHR1(p_wchar1 *p, p_wchar2 c, ptrdiff_t e) ATTRIBUTE((pure));   p_wchar2 *MEMCHR2(p_wchar2 *p, p_wchar2 c, ptrdiff_t e) ATTRIBUTE((pure));    - PMOD_EXPORT void reorder(const char *memory, INT32 nitems, INT32 size, const INT32 *order); + void reorder(char *memory, INT32 nitems, INT32 size, const INT32 *order);      size_t hashmem_siphash24( const void *s, size_t len );   #if (defined(__i386__) || defined(__amd64__)) && defined(__GNUC__)