* bootstrap.conf: Depend on crc-x86_64 rather than crc.
* gnulib: Update to latest.
* src/cksum.c (crc32b_sum_stream): Add --debug info.
* NEWS: Mention the performance improvement.
cksum -a now supports the "crc32b" option, which calculates the CRC
of the input as defined by ITU V.42, as used by gzip for example.
+ For performance pclmul instructions are used where supported.
ls now supports the --sort=name option,
to explicitly select the default operation of sorting by file name.
config-h
configmake
copy-file-range
- crc
+ crc-x86_64
crypto/md5
crypto/sha1
crypto/sha256
-Subproject commit 1f36fee699926dbd04d4b97ca19fad29a847c3ae
+Subproject commit da6b90f1fd041c013b9685ec4256e16d75b83f5d
pclmul_supported (void)
{
bool pclmul_enabled = false;
-# if USE_PCLMUL_CRC32
+# if USE_PCLMUL_CRC32 || GL_CRC_X86_64_PCLMUL
pclmul_enabled = (0 < __builtin_cpu_supports ("pclmul")
&& 0 < __builtin_cpu_supports ("avx"));
if (!stream || !resstream || !reslen)
return -1;
+# if GL_CRC_X86_64_PCLMUL
+ if (cksum_debug)
+ (void) pclmul_supported ();
+# endif
+
while ((bytes_read = fread (buf, 1, BUFLEN, stream)) > 0)
{
if (len + bytes_read < len)