Daniel Lemire personal blog
Optimizing compilers reload vector constants needlessly
Modern processors have powerful vector instructions which allow you to load several values at once, and operate (in one instruction) on all these values. Similarly, they allow you to have vector constants. Thus if you wanted to add some integer (say 10001) to all integers in a large array, you might first load a…
- Points
- 151
- HN comments
- 95
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringSystems & Performance2022
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Dec 6, 2022 | Optimizing compilers reload vector constants needlessly by ibobev | 151 | 95 |