![]() ![]() On both compilers, I enforce inlining to happen.Īlso, it was offered to me as an explanation that the x86 has very few registers, and G++ was not good at allocating them. My project is perhaps somewhat a-typical because it is not C, but C++ and requires the compiler to do a lot of inlining. Just compiling with default optimizations G++ was 60% slower than Visual C++. That was after many hours of searching for G++ optimization options that actually helped. After a lot of tuning, the G++ version was still about 10-15% slower on the same hardware (the same physical machine, dual booted as linux). įor me, Visual C++ was significantly faster. My experience is compiling my C++ JPEG-LS image compression project. MinGW vs Visual Studio 2008 output code quality
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |