msvc and icc are both paid compilers. No nothing free versions anymore.ZirconiumX wrote:Jose, ICC is free for non-commercial use - do a bit of digging and you should get a free license key for unlimited use - providing you don't make ANY money out of your executables.velmarin wrote:You can download a free evaluation of Intel Compiler 30 days,
Download Visual Studio 90-day trial, albeit installed in a virtual machine and perform their own tests.
There would have to compare two compilers.
Nothing like making yourself.
MSVC is also free - I can't remember the name of the stripped down version though.
GCC is free for all uses - big plus for Don.
Matthew:out
Diep has lots of chessknowledge so we can prove that massive amount of branches are unavoidable.
if( generic pattern ) {
.. other patterns..
]
else {
SKIP
}
A single branch can skip simply quite some code and function calls. Skipping is always faster.
So being clever with branches gets really important for a compiler when having massive code. I didn't checkout how GCC 4.7.0 totally messes up there, i had posted publicly examples of 4.5 there.
They had slowed down 4.0 - 4.5 series deliberately in order to be a lot slower on AMD and lose just a little on intel cpu's (p4 and later), yet objectively all those examples showed slow code.
I am 100% convinced a lot of such choices of GCC that objectively produce slower code, they are still inside compiler, as it hardly speeded up at AMD processors meanwhile got really a lot faster on intel cpu's.
Yet you do need some chessknowledge of course to hit those cases
