Hello Andrés, I'm also surprised by these performance differences. It may be caused by the fact that GCC may optimize more than Visual Studio and that 64-bit code may generally be faster than the 32-bit code, because sometimes 32-bit may not have SSE2. And sometimes there are also issues with ASM not being available due to some obscure reasons.
Could you please give more details? Which version of Visual Studio are you using? Which platform (=hardware) are you on? Is the Linux platform the same as the Windows platform? Which algorithms are you testing? Why do you use 32-bit for VS but 64-bit for GCC? BR JPM Am 07.11.2015 um 18:57 schrieb Andrés Garagiola: > Hello all, > > I'm currently compiling the CryptoPP library to two target environments. > > 1) Linux 64 using GCC compiler > 2) Win 32 using Microsoft Visual Studio > > I found that the Linux 64 version is 6 times faster that the Win 32 > version. Is it right? Do you know any specific parameter to improve > the performance of the win 32 binary. I'm using a RELEASE target and > setting Visual Studio optimization parameters as OX (-O3). > > I tried using MinGW too, I built a version of CryptoPP > using http://mxe.cc/ but the performance is very similar to Visual > Studio. Probably it is right but surprise to me this difference. > > Thanks > Regards > > > -- > -- > You received this message because you are subscribed to the "Crypto++ > Users" Google Group. > To unsubscribe, send an email to > [email protected]. > More information about Crypto++ and this group is available at > http://www.cryptopp.com. > --- > You received this message because you are subscribed to the Google > Groups "Crypto++ Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
