Wojciech Muła personal blog
Dividing unsigned 8-bit numbers
Division is quite an expensive operation. For instance, latency of the 32-bit division varies between 10 and 15 cycles on the Cannon Lake CPU, and for Zen4 this range is from 9 to 14 cycles. The latency of 32-bit multiplication is 3 or 4 cycles on both CPU models.
- Points
- 162
- HN comments
- 67
- Submissions
- 1
- Cited by
- 0 commenters
Math & AlgorithmsSoftware Engineering2024
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Dec 21, 2024 | Dividing unsigned 8-bit numbers by mfiguiere | 162 | 67 |