Ptroc created HADOOP-19655:
------------------------------

             Summary: 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
             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: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to