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
shib11mo ago
Control of these flags isn't exposed at the moment. FP_CONTRACT is enabled by default
Alex Droste
Alex DrosteOP11mo 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
ModularBot11mo ago
Congrats @Alex Droste, you just advanced to level 1!
Alex Droste
Alex DrosteOP11mo 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