Blogs / Personal blogs

Neil Henning

neilhenning.dev

This is where Neil Henning writes up things of interest.

Popular posts
1
Total points
166
HN comments
113
Rank
#14,732 personal

Visit neilhenning.dev → RSS feedOn Hacker News Jun 2024 – Jun 2024

Software Engineering 1Programming Languages 1

1

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…