I need to calculate crc32 on a large number of files, as well as huge files (several GB). I tried several algos found on the Internet, for example Damieng or this one , and it works, but it is slow (more than 1 min). I found this test on various crc32 algorithms and found that sse 4.2 has a hardware accelerated crc32 method.
I did not find sample C # code to use crc32 SSE code.
1 - Is it possible?
2 - How to determine if the current processor supports SSE4.2? (to switch the crc32 method)
(please attach sample code if possible)
source share