Does Mojo support fast-math flags?

Does Mojo allow for enabling flags from the fast-math group? https://llvm.org/docs/LangRef.html#fast-math-flags
4 Replies
shib
shib9mo ago
Control of these flags isn't exposed at the moment. FP_CONTRACT is enabled by default
Alex Droste
Alex Droste9mo ago
Thanks for clarifying! Is there more work planned on that end, enabling more flags by default in Mojo or allowing users to explicitly set those flags?
ModularBot
ModularBot9mo ago
Congrats @Alex Droste, you just advanced to level 1!
Alex Droste
Alex Droste9mo ago
E.g. -fno-signed-zeros brings a 20% speedup in our DSP kernel as of now.
Want results from more Discord servers?
Add your server