Tirsvad e4be228a5b Add AVX2 prime check with cross-platform Makefile
Trial division by 6k+/-1 using double-precision AVX2 lanes so the quotient is exact for 32-bit n. Makefile builds on Linux and Windows (MinGW gcc).
2026-10-20 00:07:17 +08:00
2026-10-19 17:40:04 +02:00
2026-10-19 17:40:04 +02:00
S
Description
Lists all primes from 0 to 1,000,000 using AVX2 in C and times it, to show CPU speed depends on how it is programmed
Readme AGPL-3.0
68 KiB
Languages
C 81.9%
Makefile 18.1%