[PR #1] [MERGED] Implement Fletcher-16 using SIMD instructions #1

Closed
opened 2026-01-30 21:20:53 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aaru-dps/Aaru.Checksums.Native/pull/1
Author: @JosJuice
Created: 9/24/2023
Status: Merged
Merged: 9/24/2023
Merged by: @claunia

Base: develHead: fletcher-16-simd


📝 Commits (6)

  • 490be8d Fix Fletcher-16 for small lengths
  • 0c0c8bb Add Fletcher-16 tests for small lengths
  • cdc18e5 Expand Fletcher-16 NMAX
  • f3e6e69 Implement Fletcher-16 using SSSE3 instructions
  • 50be998 Implement Fletcher-16 using ARM NEON instructions
  • 64a6a6f Implement Fletcher-16 using AVX2 instructions

📊 Changes

8 files changed (+1086 additions, -32 deletions)

View changed files

📝 CMakeLists.txt (+1 -1)
📝 fletcher16.c (+34 -28)
📝 fletcher16.h (+16 -2)
fletcher16_avx2.c (+189 -0)
fletcher16_neon.c (+204 -0)
fletcher16_ssse3.c (+161 -0)
📝 fletcher32.h (+1 -1)
📝 tests/fletcher16.cpp (+480 -0)

📄 Description

I've tested the SSSE3 and AVX2 implementations, but not the NEON implementation.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aaru-dps/Aaru.Checksums.Native/pull/1 **Author:** [@JosJuice](https://github.com/JosJuice) **Created:** 9/24/2023 **Status:** ✅ Merged **Merged:** 9/24/2023 **Merged by:** [@claunia](https://github.com/claunia) **Base:** `devel` ← **Head:** `fletcher-16-simd` --- ### 📝 Commits (6) - [`490be8d`](https://github.com/aaru-dps/Aaru.Checksums.Native/commit/490be8d3d2cd76346aa22a12a5dc046a54edb27f) Fix Fletcher-16 for small lengths - [`0c0c8bb`](https://github.com/aaru-dps/Aaru.Checksums.Native/commit/0c0c8bbcf0a3cc2f21655fddba7ef418b633cb9a) Add Fletcher-16 tests for small lengths - [`cdc18e5`](https://github.com/aaru-dps/Aaru.Checksums.Native/commit/cdc18e52936285cc8c0e05be826882b04b4e262c) Expand Fletcher-16 NMAX - [`f3e6e69`](https://github.com/aaru-dps/Aaru.Checksums.Native/commit/f3e6e69c13886fd1f99efd73b2de9982bc927641) Implement Fletcher-16 using SSSE3 instructions - [`50be998`](https://github.com/aaru-dps/Aaru.Checksums.Native/commit/50be998adfa194c281dfb777eb5bb86b77b54b9c) Implement Fletcher-16 using ARM NEON instructions - [`64a6a6f`](https://github.com/aaru-dps/Aaru.Checksums.Native/commit/64a6a6f3a26efff6b82ed4c3407038cc593b7917) Implement Fletcher-16 using AVX2 instructions ### 📊 Changes **8 files changed** (+1086 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -1) 📝 `fletcher16.c` (+34 -28) 📝 `fletcher16.h` (+16 -2) ➕ `fletcher16_avx2.c` (+189 -0) ➕ `fletcher16_neon.c` (+204 -0) ➕ `fletcher16_ssse3.c` (+161 -0) 📝 `fletcher32.h` (+1 -1) 📝 `tests/fletcher16.cpp` (+480 -0) </details> ### 📄 Description I've tested the SSSE3 and AVX2 implementations, but not the NEON implementation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-30 21:20:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru.Checksums.Native#1