Neil Henning personal blog
Own Constant Folder in C/C++
I was talking with someone today that really really wanted the sqrtps to be used in some code they were writing. And because of a quirk with clang (still there as of clang 18.1.0), if you happened to use -ffast-math clang would butcher the use of the intrinsic. So for the code: __m128 test(const __m128 vec) { return…
- Points
- 166
- HN comments
- 113
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2024
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jun 22, 2024 | Own Constant Folder in C/C++ by todsacerdoti | 166 | 113 |