zlacker
[parent]
[thread]
3 comments
1. lifthr+(OP)
[view]
[source]
2024-01-24 02:53:29
You don't necessarily need `-ffast-math` if you are willing to tweak your code a bit, since you can just introduce accumulators by yourself. Such optimizer-friendly code is not hard to write if you know basic principles.
replies(1):
>>mratsi+Pm
◧
2. mratsi+Pm
[view]
[source]
2024-01-24 07:02:26
>>lifthr+(OP)
That's what I'm saying though. Either youbdo the accumulators yourself, or you need a compiler escape hatch.
replies(1):
>>lifthr+1q
◧◩
3. lifthr+1q
[view]
[source]
[discussion]
2024-01-24 07:39:04
>>mratsi+Pm
I mean, you don't need SIMD to put accumulators.
replies(1):
>>mratsi+CG3
◧◩◪
4. mratsi+CG3
[view]
[source]
[discussion]
2024-01-25 07:45:44
>>lifthr+1q
The compiler escape hatch is -ffast-math
[go to top]