Hi,
First off, this is my first GNU contribution so I have *no idea* what I'm doing, feedback is appreciated.
The code:
(yes, I am aware you don't take contributions via github. I have an open ticket with GNU to get my SSH access fixed so I can have non-anonymous access to the repository on Savannah).
Considerations:
- robustness/appropriateness: both the zlib and Linux kernel CRC32 implementations use this slice-by-4 and slice-by-8 algorithm for the performance improvements
- free software/patents: the Intel paper is from 2008; zlib had an independently-discovered version of slice-by-4 from 2002 so it seems unlikely there should be any patents encumbering this. the software is my own design and I am happy for it to be transferred to GNU and licensed accordingly
Requests for help:
- how do I get someone to review my code and then get it added to the codebase? is this done via Savannah, or the mailing list, do we email around PATCH files etc?
- I assume we'll want to gate this functionality based on CPU ability (32-bit arithmetic is presumably fine but 64-bit makes no sense unless running on a system with a native 64-bit bus). What is the convention here for enforcing this at compile-time? I couldn't find the right flag to test for and I'm assuming there's a correct answer that someone knows off the top of their head
Thanks for your time,
Sam