]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cksum: port to Oracle Developer Studio 12.6
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Jan 2025 03:44:01 +0000 (19:44 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Jan 2025 03:44:24 +0000 (19:44 -0800)
commitb8524614765be11d36daa2bef73f9e8f035cb8ff
treefefc2f31f9b8ec6017121774b060ae2b3ad13dd3
parentbf44993fb9889b793e6046d19671685502b8b165
cksum: port to Oracle Developer Studio 12.6

* src/cksum.c (cksum_fp_t): New typedef.
(pclmul_supported, avx2_supported, avx512_supported)
(vmull_supported): Return this new type instead of bool.
All callers changed.  That way, callers do not need to
refer to functions like cksum_avx512 that might not
exist on this platform.  Although GCC optimizes such
references away, the C standard does not require this
optimization.
src/cksum.c