Last active
February 4, 2025 23:57
-
-
Save r-devulap/436c2dc2fdb0922b38fcae96225cd4fc to your computer and use it in GitHub Desktop.
scalar v/s SSE42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comparing scalar_crc32c to sse42_crc32c (from ./bench) | |
Benchmark Time CPU Time Old Time New CPU Old CPU New | |
------------------------------------------------------------------------------------------------------------------------------------ | |
[scalar_crc32c vs. sse42_crc32c]/64 -0.8147 -0.8148 33 6 33 6 | |
[scalar_crc32c vs. sse42_crc32c]/128 -0.8962 -0.8962 88 9 88 9 | |
[scalar_crc32c vs. sse42_crc32c]/256 -0.9200 -0.9200 211 17 211 17 | |
[scalar_crc32c vs. sse42_crc32c]/512 -0.9389 -0.9389 486 30 486 30 | |
[scalar_crc32c vs. sse42_crc32c]/1024 -0.9452 -0.9452 1037 57 1037 57 | |
[scalar_crc32c vs. sse42_crc32c]/2049 -0.9456 -0.9456 2140 116 2140 116 | |
OVERALL_GEOMEAN -0.8063 -0.8063 0 0 0 0 | |
Comparing sse42_crc32c to avx512_crc32c (from ./bench) | |
Benchmark Time CPU Time Old Time New CPU Old CPU New | |
------------------------------------------------------------------------------------------------------------------------------------ | |
[sse42_crc32c vs. avx512_crc32c]/64 +0.0276 +0.0276 6 6 6 6 | |
[sse42_crc32c vs. avx512_crc32c]/128 -0.0057 -0.0032 9 9 9 9 | |
[sse42_crc32c vs. avx512_crc32c]/256 -0.4314 -0.4316 16 9 16 9 | |
[sse42_crc32c vs. avx512_crc32c]/512 -0.5103 -0.5103 30 15 30 15 | |
[sse42_crc32c vs. avx512_crc32c]/1024 -0.5371 -0.5378 57 26 57 26 | |
[sse42_crc32c vs. avx512_crc32c]/2049 -0.5580 -0.5580 116 51 116 51 | |
OVERALL_GEOMEAN -0.2548 -0.2548 0 0 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment