Explain AVX2 prime check in the wiki and comment every step in the code

This commit is contained in:
2026-10-20 01:38:19 +08:00
parent ffbfb9d4bf
commit d34d139045
4 changed files with 124 additions and 15 deletions
+11 -10
View File
@@ -1,10 +1,11 @@
# prime-numbers-c
**English**
A small C program that lists every prime number from 0 to 1,000,000 and
reports how long it took.
- [Description](Description): what the program is for
- [Results](Results): measured times on real hardware
- [Build and run](Build-and-Run): `make`, `make run`
# prime-numbers-c
**English**
A small C program that lists every prime number from 0 to 1,000,000 and
reports how long it took.
- [Description](Description): what the program is for
- [How AVX2 works](How-AVX2-Works): the code, step by step
- [Results](Results): measured times on real hardware
- [Build and run](Build-and-Run): `make`, `make run`