Recommend a C compiler that can optimize for local machine?
I'm dipping my toe in to coding for the first time since '83.
I'm not writing any; yet.
I'm trying to "revive" an old open source program I found.
It's not very big or complicated. The source code is 6.3KB
It performs one overall function with a couple of minor switches and variables that can be set to three different combinations.
It works fine, but slowly, as is.
I have four cores, hyperthreaded to eight. The program currently only runs on one thread.
I figure it will runs much faster if I can tell it to run on all eight threads.
That is currently beyond my skill level.
I'd like to find a compiler that will poll my machine and optimize the binary output to run on all eight threads.
Any links on how to's would be appreciated as well.