[
https://issues.apache.org/jira/browse/HADOOP-19655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18043702#comment-18043702
]
ASF GitHub Bot commented on HADOOP-19655:
-----------------------------------------
github-actions[bot] closed pull request #7896: HADOOP-19655: Add a RISC-V Zbc
(CLMUL) hardware-accelerated path for CRC32/CRC32C in hadoop-common native.
URL: https://github.com/apache/hadoop/pull/7896
> Add RISC-V Zbc (CLMUL) hardware-accelerated CRC32/CRC32C implementation
> -----------------------------------------------------------------------
>
> Key: HADOOP-19655
> URL: https://issues.apache.org/jira/browse/HADOOP-19655
> Project: Hadoop Common
> Issue Type: Improvement
> Components: hadoop-common, performance
> Affects Versions: 3.5.0
> Reporter: Ptroc
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> This patch introduces hardware-accelerated CRC32 and CRC32C algorithms for
> RISC-V platforms supporting the Zbc extension (CLMUL instructions) in
> bulk_crc32_riscv.c.
> Key changes:
> * Implements optimized CRC32 and CRC32C routines using CLMUL instructions
> for zlib and Castagnoli polynomials.
> * Automatically switches to hardware acceleration when Zbc is available,
> otherwise falls back to generic table-based software implementation.
> * Maintains compatibility with platforms lacking Zbc support.
> This optimization improves CRC performance on RISC-V CPUs with Zbc extension.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]