M
Martin Brown
Guest
One of my codes has been ported to GCC and whilst it is well behaved and
fully optimised in tests on other people\'s Linux systems I have a minor
problem when compiling it x64 on my own Windows 11 box under MinGW.
It all compiles fine and code generation for my own code is properly
optimised AVX2 or SSE, but the calls to numerical system library
functions are all using legacy x87 instructions and full 80 bit
arithmetic. This makes it way off the pace for benchmark speed.
It seems that MinGW comes with default numerical libraries that are
maximally compatible with ancient hardware but also glacially slow
I need to force it to link in the fast 64bit AVX2 or SSE numerical
libraries but I cannot figure out how to do that or recompile the
libraries from their source code with the right compiler options.
Has anyone encountered the same problem and been able to sort it?
Thanks for any enlightenment.
--
Martin Brown
fully optimised in tests on other people\'s Linux systems I have a minor
problem when compiling it x64 on my own Windows 11 box under MinGW.
It all compiles fine and code generation for my own code is properly
optimised AVX2 or SSE, but the calls to numerical system library
functions are all using legacy x87 instructions and full 80 bit
arithmetic. This makes it way off the pace for benchmark speed.
It seems that MinGW comes with default numerical libraries that are
maximally compatible with ancient hardware but also glacially slow
I need to force it to link in the fast 64bit AVX2 or SSE numerical
libraries but I cannot figure out how to do that or recompile the
libraries from their source code with the right compiler options.
Has anyone encountered the same problem and been able to sort it?
Thanks for any enlightenment.
--
Martin Brown