← Back to context Comment by mshockwave 15 hours ago which flags did you use and which compiler version? 5 comments mshockwave Reply QuadmasterXLII 15 hours ago clang 19, -O3 -ffast-math -march=native mshockwave 15 hours ago can confirm fast math makes the biggest difference QuadmasterXLII 13 hours ago I feel like I’m kinda being the bad aunt by encouraging -ffast-math. It can definitely break some things (i.e. https://pspdfkit.com/blog/2021/understanding-fast-math/ ) but I use it habitually and I’m fine so clearly it’s safe. 1 reply → mkristiansen 14 hours ago Fast Math basically means "who cares about standards just add in whatever order you want" :)
QuadmasterXLII 15 hours ago clang 19, -O3 -ffast-math -march=native mshockwave 15 hours ago can confirm fast math makes the biggest difference QuadmasterXLII 13 hours ago I feel like I’m kinda being the bad aunt by encouraging -ffast-math. It can definitely break some things (i.e. https://pspdfkit.com/blog/2021/understanding-fast-math/ ) but I use it habitually and I’m fine so clearly it’s safe. 1 reply → mkristiansen 14 hours ago Fast Math basically means "who cares about standards just add in whatever order you want" :)
mshockwave 15 hours ago can confirm fast math makes the biggest difference QuadmasterXLII 13 hours ago I feel like I’m kinda being the bad aunt by encouraging -ffast-math. It can definitely break some things (i.e. https://pspdfkit.com/blog/2021/understanding-fast-math/ ) but I use it habitually and I’m fine so clearly it’s safe. 1 reply → mkristiansen 14 hours ago Fast Math basically means "who cares about standards just add in whatever order you want" :)
QuadmasterXLII 13 hours ago I feel like I’m kinda being the bad aunt by encouraging -ffast-math. It can definitely break some things (i.e. https://pspdfkit.com/blog/2021/understanding-fast-math/ ) but I use it habitually and I’m fine so clearly it’s safe. 1 reply →
mkristiansen 14 hours ago Fast Math basically means "who cares about standards just add in whatever order you want" :)
clang 19, -O3 -ffast-math -march=native
can confirm fast math makes the biggest difference
I feel like I’m kinda being the bad aunt by encouraging -ffast-math. It can definitely break some things (i.e. https://pspdfkit.com/blog/2021/understanding-fast-math/ ) but I use it habitually and I’m fine so clearly it’s safe.
1 reply →
Fast Math basically means "who cares about standards just add in whatever order you want" :)