2 ms·
Hi, author of article here. I tested -ffast-math on clang and it won't reorder the additions to omit the conversion here. I'm actually VERY wary of -ffast-mat
by jtlim 11y ago
Hi, author of article here.
I tested -ffast-math on clang and it won't reorder the additions to omit the conversion here.
I'm actually VERY wary of -ffast-math due to a bad experience some years ago where it just totally messed up my calculations and I couldn't avoid it messing up my calculations.
Even a 1ulp change (not accounting for the round down) in the final floating point comparison changed my compression results; so I'm not entirely confident about using -ffast-math without a huge test corpus -- but turning it on does improve the run time.