6 ms·
Did you try GCC with -O3 and -ffast-math? It seems like ICC has its analogue to ffast-math enabled by default: http://scicomp.stackexchange.com/questions/20815/
by inlineint 10y ago
Did you try GCC with -O3 and -ffast-math? It seems like ICC has its analogue to ffast-math enabled by default: http://scicomp.stackexchange.com/questions/20815/performance-of-icc-main-cpp-g-ffast-math-main-cpp http://scicomp.stackexchange.com/questions/20815/performance...
- conistonwater 10y agoGood point. GCC has a whole bunch of options here: https://gcc.gnu.org/wiki/FloatingPointMath https://gcc.gnu.org/wiki/FloatingPointMath, and icc's default setting is some, possibly unknown, combination of them.