You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seem we're generating bogus profiles on staging-perf because the code is being compiled with -O0 - and this generates -amazingly- rubbish code; eg. the SIMD Delta behavior is slower than the CPU version, despite being 2x as fast when compiled properly.
This distorts everything we do when it comes to optimization; it would be -really- good to fix that ASAP :-)
It seem we're generating bogus profiles on staging-perf because the code is being compiled with -O0 - and this generates -amazingly- rubbish code; eg. the SIMD Delta behavior is slower than the CPU version, despite being 2x as fast when compiled properly.
This distorts everything we do when it comes to optimization; it would be -really- good to fix that ASAP :-)
proof:
strings /usr/bin/coolforkit | grep arch=x86
GNU C11 7.5.0 -mtune=generic -march=x86-64 -g -g -O2 -std=gnu11 -fgnu89-inline -fmessage-length=0 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -fmerge-all-constants -frounding-math -fstack-protector-strong -fpatchable-function-entry=16,14 -fmath-errno -fno-stack-protector -ftls-model=initial-exec -fPIE
GNU C++14 7.5.0 -mtune=generic -march=x86-64 -g -O0 -std=c++1z
GNU C11 7.5.0 -mavx2 -mtune=generic -march=x86-64 -g -O0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Can we check the product builds too to ensure they are optimized as expected ? =)
@caolanm might be interested too ...
The text was updated successfully, but these errors were encountered: